/* ===== GLOBAL SETTINGS ===== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,700;1,300&family=Montserrat:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #3485D7;
    --green: #00BE8A;
    --light-blue: #EAF2FB;
    --dark-blue: #003281;
    --white: #FFFFFF;
    --black: #242424;
    --grey: #3F3F3F;
    /* this attribute turns 1rem into 10px */
    font-size: 62.5%;
    --width: 76.8rem;
    --basico: #42a5f56b;
    --padrao: #81c784bf;
    --premium: #f062925e;
    --opcional: #ffda1380;
    --basicoPuro: #42a5f5;
    --padraoPuro: #81c784;
    --premiumPuro: #f06292;
    --opcionalPuro: #ffda13;
}

body {
    min-width: 100vw;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--grey);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin-bottom: 1.6rem;
    color: var(--black);
}

h1 {
    font-size: 3.6rem;
}

h2,
cite {
    font-size: 2.4rem;
}

p,
cite {
    line-height: 1.4;
}

@media (max-width: 500px) {
    h1 {
        font-size: 2.4rem;
    }
    h2,
    cite {
        font-size: 1.8rem;
    }
    h3,
    p {
        font-size: 1.6rem;
    }
}

button {
    display: flex;
    font: 1.6rem "Lato", sans-serif;
    font-weight: 700;
    align-items: center;
    text-transform: uppercase;
    padding: 1.6rem;
    gap: .8rem;
    border: none;
    border-radius: 1rem;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    background: var(--blue);
}

.bg-green {
    background: var(--green);
}

img {
    max-width: 100%;
}

.image {
    border-radius: 1rem;
}

iframe {
    border-radius: 1rem;
}

.white-color {
    color: var(--white);
}


/* Video Wrapper */

.video-wrapper {
    position: relative;
    /* Preserves 16:9 ratio */
    padding-bottom: 56.25%;
}

.centralizado iframe {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Hero Background */

.hero-background {
    position: absolute;
    width: 100vw;
    height: 50rem;
    top: 0;
    background-color: var(--blue);
    z-index: -1;
}

@media (max-width: 500px) {
    .hero-background {
        height: 40rem;
    }
}


/* ===== POSITION ====== */

main {
    display: grid;
    grid-template-columns: calc(50vw - calc(var(--width) / 2)) repeat(3, 1fr) calc(50vw - calc(var(--width) / 2));
}

section {
    display: grid;
    place-items: center;
    grid-column: 1 / -1;
}

.section-wrapper {
    grid-column: 2 / -2;
    max-width: var(--width);
}

@media (max-width: 768px) {
    .section-wrapper {
        grid-column: 1 /-1;
        padding: 0 8vw;
    }
}

footer {
    grid-column: 1 / -1;
}


/* Videos */

#videos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#videos article {
    margin-bottom: 4rem;
}

#videos .video-wrapper {
    margin-bottom: 8rem;
}

#videos button {
    justify-self: center;
}

@media(max-width: 500px) {
    #videos article {
        margin-bottom: 2rem;
    }
    #videos .video-wrapper {
        margin-bottom: 4rem;
    }
}


/* Attributes */

#attributes {
    padding: 8rem 16rem;
    grid-column: 1 / -1;
    background: var(--light-blue);
    text-align: left;
    gap: 4rem;
}

#attributes .box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

#attributes article {
    max-width: 50%;
}

#attributes figure {
    max-width: 40%;
}

#attributes .cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 768px) {
    #attributes {
        padding: 4rem 4vw;
    }
    #attributes .box {
        flex-direction: column;
    }
    #attributes .box.reverse {
        flex-direction: column-reverse;
    }
    #attributes article,
    #attributes figure {
        max-width: 90%;
        text-align: center;
    }
    #attributes .cta {
        flex-direction: column;
        gap: 1.6rem
    }
    #attributes .cta button {
        width: 100%;
        justify-content: center;
    }
}


/* Testimonials */

#testimonials {
    background: var(--blue);
    color: var(--white);
}

@media (max-width: 768px) {
    #testimonials .section-wrapper {
        max-width: 90vw;
    }
}

#testimonials h1,
#testimonials h2,
#testimonials h3 {
    color: var(--white);
}

.swiper {
    margin-top: 4rem;
    max-width: var(--width);
}

.swiper-slide {
    cursor: default;
}

.swiper-slide h2 {
    margin-bottom: 2.4rem;
}

.swiper-slide h3 {
    margin-top: 2.4rem;
}

.swiper-pagination {
    position: relative !important;
}

.swiper-pagination-bullet-active {
    background: var(--white) !important;
}

.swiper-pagination-bullet {
    background: var(--white) !important;
}


/* FAQ */

#faq {
    grid-column: 1 / -1;
    background: var(--dark-blue);
    color: var(--white);
    text-align: left;
}

#faq h1 {
    color: var(--white);
    margin-bottom: 4rem;
    text-align: center;
}

#faq button {
    text-align: left;
}

#faq .question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.6rem 0;
    border-radius: 0;
    border-bottom: 0.5px solid var(--white);
    background: none;
    opacity: .5;
    text-transform: none;
    transition: opacity 0.2s;
}

#faq .question:hover {
    opacity: 1;
}

#faq .question h3 {
    font-weight: 400;
    margin-bottom: 0;
    color: var(--white);
}

#faq .question img {
    transition: all 0.2s ease-in-out;
}

#faq .answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    line-height: 1.4;
    transition: all 0.2s ease-in-out;
}

#faq .question.active {
    opacity: 1;
}

#faq .question.active img {
    transform: rotate(180deg);
}

#faq .answer.active {
    max-height: 100rem;
    padding: 1.6rem 0;
    border-bottom: 0.5px solid var(--white);
}


/* Footer */

footer {
    padding: 2.4rem 0;
    background: var(--black);
    color: var(--white);
}

/* Módulos */
#modulos {
    display: block;
}

.centralizado {
    width: 50%;
    margin: auto;
}

@media screen and (max-width: 500px) {
    .centralizado {
        width: 80%;
    }
}

.modulo-plano {
    padding: 1em;
}

.modulos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card {
    border-radius: 1rem;
    background: #ffffff;
    padding: 1.25rem;
    border: 0 none;
    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    margin: 1em;
    box-sizing: content-box;
    width: 18em;
    min-height: 10em;
    cursor: pointer;
    display: flex;
    flex-flow: column;
}

.card>div{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card>*:last-child{
    display: flex;
    align-items: end;
}
.card>div:last-child{
    justify-content: center;
}

.card:hover {
    background-color: #f9f5f5;
}

.basico .card:hover {
    -webkit-box-shadow: 10px 10px 10px 0px var(--basicoPuro);
    -moz-box-shadow: 10px 10px 10px 0px var(--basicoPuro);
    box-shadow: 10px 10px 10px 0px var(--basicoPuro);
}

.padrao .card:hover {
    -webkit-box-shadow: 10px 10px 10px 0px var(--padraoPuro);
    -moz-box-shadow: 10px 10px 10px 0px var(--padraoPuro);
    box-shadow: 10px 10px 10px 0px var(--padraoPuro);
}

.opcional .card:hover {
    -webkit-box-shadow: 10px 10px 10px 0px var(--opcionalPuro);
    -moz-box-shadow: 10px 10px 10px 0px var(--opcionalPuro);
    box-shadow: 10px 10px 10px 0px var(--opcionalPuro);
}

.ver-video {
    color: #fff;
    background-color: var(--blue);
    padding: 0.5em 1em;
    border-radius: 6px;
    display: inline-block;
}

.card iframe {
    display: none;
}

@media screen and (max-width: 500px) {
    .card {
        width: 100%;
    }
}

.nome-modulo {
    display: block;
    font-weight: bold;
    text-align: left;
    margin-bottom: 1em;
    font-size: 125%;
}

.valor {
    margin-top: 1em;
    display: block;
    text-align: left;
    font-size: 110%;
}

.valor small {
    font-size: 0.8em;
}

.basico {
    background-color: var(--basico);
}

.padrao {
    background-color: var(--padrao);
}

.premium {
    background-color: var(--premium);
}

.opcional {
    background-color: var(--opcional);
}

.separador {
    height: 2em;
}

.separador-basico {
    margin-top: 2em;
    background-image: linear-gradient(180deg, #fff 0%, var(--basico) 100%);
}

.separador-padrao {
    background-image: linear-gradient(180deg, var(--basico) 0%, var(--padrao) 100%);
}

.separador-opcional {
    background-image: linear-gradient(180deg, var(--padrao) 0%, var(--opcional) 100%);
}

.separador-premium {
    background-image: linear-gradient(180deg, var(--opcional) 0%, var(--premium) 100%);
}

.separador-testimonials {
    background-image: linear-gradient(180deg, var(--premium) 0%, var(--blue) 100%);
}

.logo {
    padding: 2em;
    text-align: right;
}

@media screen and (max-width: 500px) {
    .logo {
        text-align: center;
    }
}

.logo img {
    max-height: 3em;
}

.s-whatsapp {
    color: #fff !important;
    width: 100px;
    text-align: left;
    margin-left: 8px;
    margin-top: 9px;
    line-height: 15px;
    background: #01A859;
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    border-radius: 3.125rem;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    width: auto;
    text-decoration: none;
}

.s-whatsapp img {
    width: 30px;
    margin-right: 8px;
}

.s-whatsapp small {
    font-size: 85%;
}

.valor-minimo {
    text-align: left;
    display: block;
    font-size: 110%;
}

.valor-minimo::after {
    content: ")";
}

.valor-minimo::before {
    content: "(";
}

.modulo-plano h2 {
    border-bottom: 1px solid var(--black);
    display: inline-block;
    padding: 0 1em;
    font-size: 200%;
}

.modulo-plano article p {
    font-size: 120%;
}

.link-wpp {
    color: var(--white);
    text-decoration: none;
    background: #01A859;
    border-radius: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    width: max-content;
    margin: auto;
    max-width: 100%;
}

.link-wpp img {
    width: 30px;
    margin-right: 8px;
}

#player-component {
    position: fixed;
    height: 100%;
    top: 0;
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background: #dcdcdc90;
}

.hidde {
    display: none !important;
}

.close {
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    height: 30px;
    box-sizing: content-box;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
}

.close:hover {
    background: var(--blue);
    color: var(--white);
}

.close svg {
    height: 30px;
    margin-right: 5px;
}

.close:hover svg {
    filter: invert(1);
}