@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --clr-primary: #BF2C3F;
    --clr-secondary: #FFCA04;
    --clr-bg: #FAF4E6;
    --clr-darkgray: #343537;
    --clr-lightgray: #D2D2D2;
    --clr-gray: #EDEDED;
    --margin-section: 80px;
}

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


html,
body {
    margin: 0;
    padding: 0 !important;
    color: var(--clr-darkgray);
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    overflow-x: hidden !important;
}

a {
    color: #000000;
}

p,
h3 {
    margin: 0;
}

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

.top-header {
    padding-block: 1rem;
}

nav {
    background-color: var(--clr-primary);
    padding-block: 45px;
}

.nav__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__links ul {
    display: none;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__links ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav__links img {
    width: 20px;
    height: 20px;
}

/* Botão "hamburguer" */
.nav__toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.nav__toggle-bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    margin: 5px 0;
    transition: transform .25s ease, opacity .25s ease;
}

/* aberto */
.nav__toggle.is-open .nav__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Header */
header {
    background-color: var(--clr-bg);
}

.hero__info {
    width: 100%;
    max-width: 425px;
}

.hero__info h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
}

.hero__info h2 span {
    font-weight: 700;
    color: var(--clr-primary);
}

.hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero__info ul {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.hero__info ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.3;
    max-width: 292px;
    text-align: start;
}

.hero__info ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 19px;
    height: 21px;
    background-image: url('../../assets/icons/li.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.hero__car {
    position: absolute;
    z-index: 1;
    left: 38%;
    transform: translateX(-20%);
}

/* Form */
.hero__form form {
    position: relative;
    z-index: 2;
}

.hero__form {
    min-height: 450px;
    width: 100%;
    max-width: 400px;
    margin-block: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

hr {
    border: none;
    height: 2px;
    background-color: var(--clr-primary);
    margin: 0;
}


form {
    height: auto;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 0 12px 4px rgba(0, 0, 0, 0.25);
    padding: 40px 28px;
    text-align: center;
}

.message-box {
    background: #FFF;
    box-shadow: 0 0 12px 4px rgba(0, 0, 0, 0.25);
    padding: 40px 28px;
    text-align: center;
    border-radius: 20px;
    position: relative;
    z-index: 99;
}

.form-step {
    display: none;
    width: 100%;
    height: 100%;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.form__header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 10px;
}

.form__header h3 {
    font-weight: 400;
    font-size: 20px;
}

.form__header p {
    font-size: 16px;
    line-height: 1.1;
    color: var(--clr-primary);
}

.form__question {
    font-weight: 700;
    margin-top: 10px;
    text-wrap: balance;
    line-height: 1.2;
    margin: 0;
}
input[type="radio"] {
    position: absolute; 
    opacity: 0; 
    width: 0;
    height: 0;
}
.form__radios {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
.radio-button {
    width: 50%;
}
.radio-button-large {
    width: 100%;
}
.radio-button label {
    width: 95%;
    border: 2px solid var(--clr-lightgray);
    border-radius: 6px;
    cursor: pointer;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 0 10px;
    margin: 5px auto;
    transition: all .3s;
}
.radio-button label span {
    font-size: 9px;
    margin-left: 5px;
}
.radio-button label:hover , .radio-button input[type="radio"]:checked + label {
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}
.if-nao {
    display: none;
}
.form_question_inputs input {
    width: 100%;
    border: 2px solid var(--clr-lightgray);
    border-radius: 6px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    padding: 0 10px;
    margin: 5px auto;
}
.form_question_inputs input:focus-visible {
    border: 2px solid var(--clr-primary);
    outline: none;
}
.form_question_inputs input.error {
    margin: 0;
    border: 2px solid var(--clr-primary);
    background-image: url('../../assets/icons/close.svg');
    background-position: 96% center;
    background-size: 20px;
    background-repeat: no-repeat;
    margin: 0;
}
.form_question_inputs input.valid {
    border: 2px solid var(--clr-secondary);
    background-image: url('../../assets/icons/check.svg');
    background-position: 96% center;
    background-size: 20px;
    background-repeat: no-repeat;
    margin: 5px auto;
}
::-webkit-input-placeholder {
  color: var(--clr-lightgray);
}
:-moz-placeholder {
  color: var(--clr-lightgray);
  opacity: 1;
}
::-moz-placeholder {
  color: var(--clr-lightgray);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--clr-lightgray);
}
::-ms-input-placeholder {
  color: var(--clr-lightgray);
}
::placeholder {
  color: var(--clr-lightgray);
}
.form-check {
  margin: 0 0 5px 0;
  padding: 0;
}
#politica-link {
  color: var(--clr-primary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.6s ease;
}
#politica-link:hover {
  color: var(--clr-primary);
  text-decoration: underline;
}
.form-check label {
  margin: 0 0 0 0px;
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  line-height: 1;
  color: #000;
  font-size: 11px;
  font-weight: 300;
}
.form-check input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  position: absolute;
  top: 0px;
  left: 0;
  height: 12px;
  width: 12px;
  background-color: transparent;
  border: 1px solid var(--clr-primary);
  border-radius: 2px;
  padding-right: 2px;
  color: var(--clr-primary);
}
.form-check input[type=checkbox]:checked + .checkmark::after {
  content: "\2713";
  display: block;
  text-align: center;
  line-height: 12px;
  margin-left: 0px;
  margin-top: -1px;
  font-size: 13px;
}
.cta {
    cursor: pointer;
    min-width: 200px;
    padding: 0 20px;
    height: 50px;
    background-color: var(--clr-secondary);
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 auto;
    transition: all .3s;
}
.cta:hover {
    scale: 1.05;
}

label.error {
    width: 100%;
    display: none;
    font-size: 11px;
    color: var(--clr-primary);
}
#termos-error {
    padding: 0;
    margin: 0;    
}

/* Plano section */
.plano {
    margin-top: var(--margin-section);
}

.plano h2 {
    text-align: center;
}

.plano__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.plano__box {
    border-radius: 30px;
    border: 1px solid #D2D2D2;
    background: #FFF;
    padding: 40px 30px;
    max-width: 370px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all .3s;
}

.plano__box:hover {
    box-shadow: 0 0 12px 4px rgba(0, 0, 0, 0.25);
    scale: 1.05;
}

.plano__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.plano__header h3 {
    text-transform: uppercase;
    color: var(--clr-secondary);
    font-size: 20px;
    font-weight: 700;
}

.plano-base h3 {
    font-weight: 700;
    max-width: 50%;
}

.plano__box button {
    width: 78%;
    height: 50px;
}

.plano-base button {
    background-color: var(--clr-primary);
    color: #fff;
}

.plano-abrangente {
    background-color: var(--clr-primary);
    color: #fff;
    min-height: 430px;
    position: relative;
}
.selo {
    background: #fff;
    width: 125px;
    height: 30px;
    border-radius: 50px;
    color: #000;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.2);
}

.plano__box ul {
    list-style: none;
    padding: 0;
}

.plano__box ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    font-size: 16px;
}

.plano__box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 19px;
    height: 21px;
    background-image: url('../../assets/icons/plano-check.svg');
    background-size: contain;
    background-repeat: no-repeat;
}


/* Passos novo seguro */
.passos {
    margin-top: var(--margin-section);
}

.passos__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.passos__box {
    background-color: var(--clr-secondary);
    padding: 50px;
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.passos__box h2 {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    text-wrap: balance;
}

.passo__card {
    min-height: 225px;
    border-radius: 25px;
    background: #FFF;
    max-width: 350px;
    padding: 30px;
}

.passo__card--header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.passo__card--header h3 {
    font-size: 20px;
    color: var(--clr-primary);
    text-transform: uppercase;
    font-weight: 700;
    text-wrap: balance;
}
.passo__card {
    line-height: 1.1;
}

.passos button {
    background-color: var(--clr-primary);
    color: #fff;
    width: 240px;
    height: 50px;
}

/* Duvidas em aderir */
.duvidas {
    margin-top: var(--margin-section);
}

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

.duvidas__text {
    width: 100%;
    max-width: 437px;
}

.duvidas__text h2 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 30px;
}

.duvidas__text p {
    font-size: 20px;
    margin-bottom: 50px;
}

.duvidas button {
    background-color: var(--clr-primary);
    color: #fff;
    width: 240px;
    height: 50px;
}

.duvidas-cta-mobile {
    display: none
}

.duvida__card {
    height: 380px;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: end;
    background-repeat: no-repeat;
    background-size: cover;
}


.duvidas__slider {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
}

.duvida__card span {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 15px;
    margin: 0;
    width: 80%;
}

.slick-slide {
    padding-inline-start: 10px;
}

/* Faqs section */

.faqs {
    margin-top: var(--margin-section);
}

.faqs h3 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.accordion-button {
    font-weight: 600;
    font-size: 18px;
    padding: 25px 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--clr-primary);
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
    background-image: url('../../assets/icons/arrow.svg');
    background-size: 100%;
    height: 10px;
    width: 21px;
    background-position: center bottom;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: inherit;
}


.accordion-body p {
    font-size: 15px;
}

/* Footer */
footer {
    margin-top: var(--margin-section);
}

.mediador-box {
    background-color: var(--clr-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-inline-end: 32px;
    text-wrap: balance;
}

.mediador-box img {
    width: 150px;
    height: 100%;
    object-fit: contain;
}

.mediador-box__info {
    font-size: 12px;
    line-height: 14px;
    text-align: start;
}

footer hr {
    height: 2px;
    background-color: var(--clr-primary);
    margin-block: 50px 30px;
    opacity: 1;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-info p {
    font-size: 16px;
    color: var(--clr-primary);
    font-weight: 700;
}

.footer-info p:last-child {
    text-align: end;
}

.footer-info p span {
    font-weight: 400;
    font-size: 12px;
}

@media(max-width: 1200px) {
    .mediador-box {
        gap: unset;
        padding-inline-end: unset;
        padding-inline: 20px;
    }

    .mediador-box__info {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .nav__wrapper {
        position: relative;
    }

    .hero__form form, .message-box  {
        position: unset;
        z-index: unset;
    }

    /* mostra botão */
    .nav__toggle {
        /* display: inline-block; */
        display: none;
    }

    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--clr-primary);
        overflow: hidden;
        max-height: 0;
        transition: max-height .3s ease;
        z-index: 1;
    }

    .nav__links ul {
        flex-direction: column;
        gap: 0;
        padding: 25px 16px 15px;
    }

    .nav__links ul li a {
        padding: 12px 4px;
        font-size: 14px;
    }

    /* quando aberto */
    .nav__links.is-open {
        max-height: 60vh;
    }

    .hero__car {
        display: none;
    }

    .footer-info p {
        font-size: 15px;
    }
}

@media(max-width: 768px) {
    .custom-container {
        --padding: 1rem;
    }

    .hero__wrapper {
        flex-direction: column;
    }

    .hero__info ul li {
        max-width: 100%;
    }

    .hero__info {
        text-align: center;
        text-wrap: balance;
        margin: 30px 0 5px 0;
    }
    .mobile-list {
        margin: 30px 0 35px 0;
    }
    .mobile-list ul {
        max-width: 90%;
        margin: 0 auto;
    }
    .mobile-list ul li {
        text-wrap: balance;
        font-size: 14px;
    }
    .hero__form {
        margin: 30px 0 10px 0;
        min-height: auto;
    }

    .nav__links ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        text-align: center;
    }

    .nav__links ul li {
        flex: 0 1 auto;
    }

    .passos__box {
        border-radius: 30px;
    }

    .plano h2 {
        text-wrap: balance;
    }

    .plano__wrapper {
        margin-top: 40px;
    }

    .duvida__card span {
        text-wrap: balance;
    }

    .duvidas__text {
        width: 55%;
    }
    .footer-info {
        flex-direction: column;
    }

    .footer-info p {
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
    }

    .footer-info p:last-child {
        text-align: center;
    }

     .mediador-box {
        padding: 20px 0;
        flex-direction: column;
    }
    .mediador-box__info {
        margin-top: 20px;
        padding: 0 30px;
    }
    .accordion-button {
        font-size: 17px;
    }
    .duvidas__text h2 {
        font-size: 26px;
    }

    /* Página de agradecimento */
    .thanks-box {
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .hero__info ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__info ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 300px;
        text-align: center;
        position: static;
        text-align: left;
    }

    .hero__info ul li::before {
        content: "";
        position: static;
        width: 19px;
        height: 21px;
        background-image: url('../../assets/icons/li.svg');
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
    }

    .form__header h3 {
        text-wrap: balance;
    }

    .cta {
        width: 85% !important;
        font-size: 14px;
    }

    .plano__box ul li {
        margin-bottom: 6px;
        font-size: 15px;
    }

    .plano__header h3 {
        font-size: 18px;
    }

    .passos__box {
        padding: 50px 20px;
    }

    .passo__card--header img {
        width: 45px;
        height: 45px;
    }

    .passo__card--header h3 {
        font-size: 16px;
    }

    .passos_box h2 {
        font-size: 25px;
    }

    .duvidas__text h2 {
        font-size: 22px;
        text-wrap: balance;
    }

    .duvidas__text p {
        font-size: 17px;
    }

    .duvidas__wrapper {
        flex-direction: column;
    }

    .duvidas__text {
        width: 100%;
        text-align: center;
    }

    .duvidas__text h2 {
        margin-bottom: 16px;
    }

    .duvidas__text p {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .duvidas-cta-desktop {
        display: none;
    }

    .duvidas-cta-mobile {
        display: block;
        margin-top: 30px;
    }

    .accordion-button {
        font-size: 16px;
        gap: 10px;
    }

    .faqs h3 {
        margin-bottom: 35px;
        font-size: 25px;
    }

    .footer-info {
        flex-direction: column;
    }

    .footer-info p {
        text-align: center;
        text-wrap: balance;
    }
}

@media (max-width: 435px) {
    .radio-button {
        width: 100%;
    }
    .radio-button label {
        font-size: 12px;
        flex-direction: column;
    }
}

@media (max-width: 350px) {
   form {
    padding: 30px;
   } 
   .form__header h3 {
    font-size: 18px;
   }
   .form__header p {
    font-size: 15px;
   }
   .form__header {
    gap: 13px;
   }
}