body {
    font-family: 'Montserrat', sans-serif;
}

/* Tamanhos de fontes */

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.4rem;
}

/* Cores gerais de textos e backgrounds */

.bg-whatsapp-green {
    background-color: #4cca5a;
}

.bg-twitter-blue {
    background-color: #1da1f2;
}

.bg-facebook-blue {
    background-color: #4267b2;
}

.bg-lilas {
    background-color: #5d62dc;
}

.text-lilas {
    color: #5d62dc;
}

/* Botões */

.btn-default {
    background-color: #fe7614;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-default:hover {
    background-color: #fe7614;
    color: white;
    transition: 0.3s;
}

.btn-radio {
    background-color: white;
    color: #555;
    border: 1px solid #ced4da;
    margin-top: -1.5rem;
}

.btn-radio:hover, input[type=radio]:checked ~ .btn-radio {
    background-color: blue;
    color: white;
}


/* Banner e conteúdos */

#banner {
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
figure {
    margin:0;
}

.bg-subtitle {
    background-color: #5d62dc;
    color: white;
    font-weight: bold;
    max-width: 480px;
}

.splash {
    background-color: #5d62dc;
    width: fit-content;
    border-radius: 15px 0px 15px 0px;
}

hr {
    width: 20%;
    height: 8px;
    border: 0px;
    background-color: #fe7614;
}

/* Toggle do menu topo */
.dropdown-toggle::after {
    display: none;
}
/* Toggle do menu topo */


/* Arrow do Collapse */
#content-4 .btn-link {
    background-image: url(../img/arrow-up.png);
    background-repeat: no-repeat;
    background-position: 97% center;
    background-size: 14px;
    font-size: 1.3rem;
    text-decoration: none;
}

#content-4 .collapsed {
    background-image: url(../img/arrow-down.png) !important;
}
/* Arrow do Collapse */


/* Slick */

/* definir opacidade dos cards não ativos */
#content-3 .slick-slide  {
    opacity: 0.4;
}

/* definir opacidade do card ativo */
#content-3 .slick-current {
    transition: 0.3s;
    opacity: 1;
}

/* definir tamanho dos cards não ativos */
#content-3 .card {
    margin-bottom: 4rem;
    transform: scale(0.9);
}

/* definir tamanho do card não ativo */
#content-3 .slick-current .card {
    transition: 0.3s;
    transform: scale(1.1);
}

/* mudar cor dos 'pontos' */
.slick-dots li.slick-active button:before,
.slick-dots li button:before {
    color: #CC092F !important;
}

.slick-2 .slick-dots li.slick-active button:before, .slick-2 .slick-dots li button:before {
    color: #fff !important;
}

/* Formulário */

    /* Mostra somente um step por vez */

    .form {
        display: none;
    }

    #step_1 {
        display: block
    }

    /* * -- */

.js-loading-msg {
    color: #000;
}

.form-body {
    min-height: 28rem;
    border-radius: 20px;
}

/* Estilizar mensagem de erro do formulário */

.errors {
    background-color: #d02626;
    color: #fff;
    margin-bottom: 5px;
}

.invalid-tooltip {
    position: absolute;
    display: inline-block;
    top: 93%;
    border-bottom: 1px dotted #ccc;
    color: white;
    background-color: #d02626;
}

.invalid-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 10%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #d02626 transparent;
}

/* Modal do formulário */

.js-modal-bg-default,
.js-modal-bg-af {
    background: hsla(0, 0%, 0%, 0.9);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.js-form-modal {
    margin: auto 15px;
    position: absolute;
    z-index: 1001;
    top: 9%;
    bottom: 3%;
    right: 0;
    left: 0;
}

.js-modal-active {
    overflow: hidden;
}

.js-modal-active .js-form-modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.btn-close-modal {
    font-size: 45px;
    margin: 5px 14px;
    color: #fff !important;
    float: right;
    font-weight: 700;
    line-height: 1;
    opacity: .5;
    cursor: pointer;
}

/* Animação do modal do formulário */

.js-scale-up-right {
    -webkit-animation: scale-up-right 0.5s cubic-bezier(0.550, 0.055, 0.675, 0.190) both;
    animation: scale-up-right 0.5s cubic-bezier(0.550, 0.055, 0.675, 0.190) both;
}

@-webkit-keyframes scale-up-right {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

@keyframes scale-up-right {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

/* Animação Step Sucesso */
.form svg {
    width: 80px;
    display: block;
    margin: auto;
}

.path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
}

.circle {
    -webkit-animation: dash .9s ease-in-out;
    animation: dash 0.9s ease-in-out;
}

.check {
    stroke-dashoffset: -100;
    -webkit-animation: dash-check .9s .35s ease-in-out forwards;
    animation: dash-check 0.9s .35s ease-in-out forwards;
    stroke-linecap: round;
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }
    100% {
        stroke-dashoffset: 900;
    }
}

@keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }
    100% {
        stroke-dashoffset: 900;
    }
}

/* FIM Animação Step Sucesso */

/* Animação Step Insucesso */

.line {
    stroke-linecap: round;
    stroke-dashoffset: 1000;
    -webkit-animation: dash .9s .35s ease-in-out forwards;
    animation: dash .9s .35s ease-in-out forwards;
}

.fade-in {
    fill: #dc3545;
    stroke: #dc3545;
    stroke-linecap: round;
	opacity: 1;
	animation: fadeInOpacity 0.5s ease-in 1;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Fim Animação Step Insucesso */

/* Media queries */

@media screen and (min-width:992px) {
    .js-form-modal {
        width: 40%;
        top: 5%;
        bottom: 5%;
        margin: auto;
    }

    .form-title {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.5rem;
    }

}

@media screen and (min-width:1200px) {

    .form-title {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.7rem;
    }

}
