/*GERAL*/

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "opensans", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--background);
}

h1 {
    font-family: "allerta", sans-serif;
    font-size: 3rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

main {
    position: relative;
}

footer {
    background-color: var(--secondary);
    color: var(--text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
}

.responsive-wrapper {
    max-width: 70%;
    /*
    max-width: 75rem;
    */
    width: 100%;
    margin: 0 auto;
}

.herosection,
.benefitssection,
.testemonialsection,
.featuressection,
.servicessection,
.faqsection,
.footersection,
.contactsection {
    padding-top: 7.875rem;
    padding-bottom: 4rem;
}

/*HEADER*/

.header-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 99;
    background: rgba(227, 227, 227, 0.3);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    max-height: 7.875rem;
    height: 100%;
    transition: 0.4s;
    display: flex;
    align-items: center;
    backdrop-filter: blur(1rem);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.main-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-menuli {
    font-family: "roboto", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.125rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    display: inline-block;
}

.main-menu li>a {
    text-decoration: none;
    padding: 1rem;
    border-radius: 1.5rem;
    color: var(--text);
}

.main-menu li>a:hover {
    text-decoration: none;
    color: var(--text);
    background-color: #e3e3e3;
    transition-duration: 250ms;
}

.main-menu li>a:active {
    text-decoration: none;
    color: var(--text);
}

.main-menu li>a:visited {
    text-decoration: none;
    color: var(--text);
}

.navcta {
    text-align: center;
    padding: 0.5rem 2rem;
    color: var(--text);
    text-decoration: none;
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.navcta:hover {
    transition-duration: 500ms;
    box-shadow: 4px 9px 12px 3px rgba(0, 0, 0, 0.35);
    margin-bottom: 4px;
    color: var(--text);
}

.navcta:active {
    text-decoration: none;
    color: var(--text);
}

.navcta:visited {
    text-decoration: none;
    color: var(--text);
}

.nav-logo {
    display: inline;
    float: left;
    width: 100%;
    max-width: 14.095rem;
    min-width: 4rem;
}

.nav-logo>svg {
    max-width: 100%;
    max-height: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    width: 4rem;
    height: auto;
    fill: var(--primary);
    transition: ease-in 300ms;
    opacity: 0.8;
}

.mobile-menu:hover {
    opacity: 1;
}

.mobile-menu-nav {
    position: absolute;
    top: 7.8rem;
    flex-direction: column;
    align-items: end;
    width: 100%;
    list-style: none;
    padding: 1rem;
    background-color: var(--background);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-size: 1.3rem;
    font-family: "roboto", sans-serif;
}

.mobile-menu-nav a,
.mobile-menu-nav a:visited,
.mobile-menu-nav a:active .mobile-menu:hover {
    display: block;
    text-decoration: none;
    color: var(--text);
    width: 100%;
    padding: 0.6rem;
    transition: ease-out 200ms;
}

.mobile-menu-nav a:hover {
    color: var(--background);
}

.mobile-menu-nav li {
    width: 100%;
    cursor: pointer;
    text-align: right;
}

.mobile-menu-nav li:hover {
    background-color: var(--primary);
    color: var(--background);
}

/*HERO SECTION*/

.herosection {
    background: linear-gradient(298deg,
            #5b92a4 -0.5%,
            rgba(255, 255, 255, 0) 103.2%);
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    width: 100%;
}

.container-hero {
    display: block;
    position: relative;
    height: calc(100vh - 9rem);
    height: calc(100dvh - 9rem);
    width: 100%;
}

.container-hero>svg {
    position: absolute;
    bottom: -2rem;
    left: 20%;
    width: 18%;
    z-index: 1;
}

.hero-flex {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.h1-hero {
    font-family: "allerta", sans-serif;
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--primary);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.h2-hero {
    color: var(--text);
    font-family: "opensans", sans-serif;
    font-size: clamp(1rem, 3vw, 1.875rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hero-images {
    position: relative;
    display: block;
    float: right;
    height: 100%;
    width: 65%;
}

.hero-images>svg {
    padding: 1rem;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-images>svg:first-child {
    top: 40%;
    z-index: 2;
    animation: float-icons 6s ease-in-out infinite;
}

.hero-images>svg:last-child {
    top: 54%;
    z-index: 3;
}

.hero-header {
    display: block;
    float: left;
    position: relative;
    height: auto;
    width: 35%;
    z-index: 4;
}

.hero-header ul {
    list-style-image: url("../img/check.svg");
    list-style-position: inside;
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--text);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.cta-hero-container {
    z-index: 6;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 24rem;

}

.cta1-hero {
    color: var(--text);
    background-color: var(--accent);
}

.cta2-hero {
    color: var(--background);
    background-color: var(--primary);
}

.cta1-hero,
.cta2-hero {
    border-radius: 0.9375rem;
    padding: 1rem;
    text-decoration: none;
}

.cta1-hero:hover,
.cta2-hero:hover {
    transition-duration: 200ms;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.35);
}

@keyframes float-icons {
    0% {
        top: 40%;
    }

    50% {
        top: 43%;
    }

    100% {
        top: 40%;
    }
}

/* PROBLEMS AND SOLUTION */

.problemsolutionsection {
    background: linear-gradient(185deg,
            #6297a8 30.42%,
            rgba(253, 254, 254, 0.88) 104.13%);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.problemsolutionsection {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.problemsolutionsection>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.problemsolution-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    height: 100%;
    width: 25%;
}

.problemsolution-left svg {
    height: 100%;
    max-height: 10rem;
    width: auto;
}

.problemsolution-left svg:first-child {
    overflow: hidden;
    transform: translate(0px);
    animation: float 6s ease-in-out infinite;
}

.problemsolution-right {
    padding: 2rem 2.5625rem;
    border-radius: 0.9375rem;
    width: 70%;
    background: rgba(242, 242, 242, 0.8);
}

.problemsolution-right p {
    font-family: "roboto", sans-serif;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    color: var(--text);
    padding-bottom: 0.8rem;
    padding-top: 0.8rem;
}

.problemsolution-right p:first-child {
    font-family: "roboto", sans-serif;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.8rem;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}

/*BENIFITS*/

.benefitssection>div>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.benefitssection>div>div>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    flex: 1 1 0;
    text-align: center;
    font-family: "roboto-condensed", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--text);
}

.benefitssection>div>div>div>svg {
    height: 100%;
    max-height: 8rem;
    width: auto;
}

.benefitssection h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
}

/*TESTEMONIALS*/

.testemonialsection {
    background-color: var(--secondary);
}

.testemonialcard {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: 0.9375rem;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: var(--background);
    color: var(--text);
}

.testemonialcard>div:nth-child(2) {
    width: 100%;
}

.testemonialcard:nth-child(odd) {
    flex-direction: row-reverse;
}

.testemonialcard:nth-child(odd)>div>p:nth-child(2),
.testemonialcard:nth-child(odd)>div>p:nth-child(3) {
    text-align: right;
}

.img_testemonial1,
.img_testemonial2,
.img_testemonial3,
.img_testemonial4 {
    max-width: 11.375rem;
    max-height: 11.3125rem;
    flex-shrink: 0;
    border-radius: 50%;
    width: 100%;
    height: 500px;
    border-radius: 6.25rem;
    border: 8px solid #19283e;
    box-shadow: 0px 4px 7px 4px rgba(0, 0, 0, 0.25);
}

.img_testemonial1 {
    background-image: url("../img/testemunhos/anaalmeida.png");
}

.img_testemonial2 {
    background-image: url("../img/testemunhos/brunofaro.png");
}

.img_testemonial3 {
    background-image: url("../img/testemunhos/mariapinto.png");
}

.img_testemonial4 {
    background-image: url("../img/testemunhos/anasantos.png");
}

.testemonialcard>div>p {
    font-style: normal;
    line-height: normal;
    font-weight: 500;
    font-size: 1rem;
    font-family: "roboto", sans-serif;
}

.testemonialcard>div>p:nth-child(1) {
    font-family: "marckscript", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 1rem;
}

.testemonialcard div>p:nth-child(2) {
    font-family: "roboto-condensed", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

/*FEATURES*/

.featuressection {
    background-color: var(--primary);
}

.featuressection>div>h1 {
    color: var(--background);
}

.featuressection>div>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: first baseline;
    gap: 3rem;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 0.9375rem;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.featuressection>div>div>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
    flex: 1 1 0;
}

.featuressection h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
}

/*SERVICES*/

.services-table {
    font-family: "roboto-condensed", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--text);
    width: 100%;
    max-width: 70%;
    height: auto;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.services-table th,
.services-table td {
    border: 1px solid var(--text);
    padding: 0.5rem;
    text-align: center;
    vertical-align: center;
}

.services-table th {
    background-color: var(--primary);
    color: var(--background);
}

.services-table tr:nth-child(odd) {
    background-color: var(--secondary);
}

.services-table tr:nth-child(even) {
    background-color: var(--accent);
}

.services-table td {
    text-align: center;
    font: 0.8rem;
}

.services-table td:first-child {
    text-align: left;
    font-size: 0.9rem;
}

.services-table th:nth-child(3) {
    background-color: var(--accent);
    color: var(--primary);
}

.services-table td:nth-child(3) {
    background-color: var(--primary);
    color: var(--accent);
}

/*FAQs*/

.faqsection {
    background: linear-gradient(298deg,
            #5b92a4 -0.5%,
            rgba(255, 255, 255, 0) 103.2%);
}

.faqs-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lefaq {
    width: 100%;
    height: auto;
}

.lefaq:last-child {
    margin-bottom: 1rem;
}

.faq-question {
    color: var(--text);
    background-color: var(--accent);
    width: 100%;
    cursor: pointer;
    padding: 1rem;
    border: 1px solid var(--text);
}

.faq-question:hover {
    box-shadow: 2px 2px 1px 0px var(--text);
}

.faq-body {
    color: var(--background);
    background-color: var(--text);
    padding: 1rem 2rem 1rem 2rem;
    border-radius: 0px 0px 25px 25px;
}

.faq-body ul {
    list-style-position: inside;
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.faq-body p {
    line-height: 1.5rem;
    padding-bottom: 1rem;
}

/*CONTACTS*/

.contactsection h1 {
    font-family: "marckscript", sans-serif;
    text-align: center;
}

.contactsection>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contactsection>div>a {
    font-size: 1.4rem;
    text-decoration: none;
    text-align: center;
    font-family: "marckscript", sans-serif;
    color: var(--background);
    background-color: var(--primary);
    padding: 1rem;
    border-radius: 0.9375rem;
    margin-bottom: 3rem;
}

.contactsection>div>a:hover {
    color: var(--primary);
    background-color: var(--accent);
    transition-duration: 200ms;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.35);
}

.contactsection>div>a:active {
    color: var(--background);
    background-color: var(--primary);
    text-decoration: none;
}

.contactsection>div>a:visited {
    color: var(--background);
    background-color: var(--primary);
    text-decoration: none;
}

/*FOOTER*/

.footersection {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footersection h1 {
    font-size: 1.2rem;
    padding-bottom: 1.5rem;
}

.footersection ul {
    list-style: none;
}

.footersection>div {
    padding: 0, 2rem;
}

.footersection div:first-child {
    max-width: 44%;
}

.footersection div:first-child svg {
    box-shadow: 4px 4px 0px #80adc9;
    background-color: var(--primary);
    padding: 0.3rem;
    border-radius: 0.8rem;
}

.footersection div:nth-child(2) a:link,
.footersection div:nth-child(2) a:visited,
.footersection div:nth-child(2) a:hover,
.footersection div:nth-child(2) a:active {
    text-decoration: none;
    color: var(--primary);
    cursor: pointer;
}

.footersection div:nth-child(2) a:hover {
    text-decoration: underline;
}

.footersection div:nth-child(3) ul {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

.footersection div:nth-child(3) ul li svg {
    fill: var(--primary);
    max-width: 2.6rem;
    width: 100%;
    height: auto;
}

.footersection div:nth-child(3) li>a>svg:hover {
    border-radius: 25%;
    transition-duration: 250ms;
}

.footersection div:nth-child(3) li:nth-child(1)>a>svg:hover {
    fill: #0866ff;
    background-color: #fff;
}

.footersection div:nth-child(3) li:nth-child(2)>a>svg:hover {
    fill: rgba(255, 255, 255, 0.7);
    background: radial-gradient(circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285aeb 90%);
}

.footersection div:nth-child(3) ul li a:link,
.footersection div:nth-child(3) ul li a:visited,
.footersection div:nth-child(3) ul li a:hover,
.footersection div:nth-child(3) ul li a:active {
    text-decoration: none;
    color: var(--primary);
    cursor: pointer;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    background-color: var(--primary);
    color: var(--background);
    padding: 1rem;
}

/* MEDIA QUERIES */

/*VERTICAL*/

@media (max-height: 1200px) {}

@media (max-height: 992px) {}

@media (max-height: 768px) {

    .hero-header ul {
        display: none;
    }

    .container-hero>svg {
        display: none;
    }

}

@media (max-height: 576px) {

    .herosection,
    .benefitssection,
    .testemonialsection,
    .featuressection,
    .servicessection,
    .faqsection,
    .footersection,
    .contactsection {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .header-outer {
        max-height: 5rem;
    }

    .mobile-menu-nav {
        top: 5rem;
    }

    .nav-logo {
        max-width: 9rem;
    }

    .h1-hero {
        font-size: 1.8rem;
    }

    .h2-hero {
        font-size: 1.1rem;
    }

}

/*HORIZONTAL*/

@media (max-width: 1200px) {
    .responsive-wrapper {
        max-width: 100%;
        padding: 2rem;
    }

    .services-table {
        max-width: calc(100% - 4rem);

    }
}

@media (max-width: 992px) {}

@media (max-width: 880px) {

    .main-menu,
    .navcta {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .container-hero>svg {
        left: 24%;
        width: 15%;
    }
}

@media (max-width: 768px) {
    .problemsolution-left {
        display: none;
    }

    .problemsolution-right {
        width: 100%;
    }

    .benefitssection>div>div {
        flex-direction: column;
    }

    .testemonialcard,
    .testemonialcard:nth-child(odd) {
        flex-direction: column;
    }

    .testemonialcard>div>p:nth-child(2),
    .testemonialcard>div>p:nth-child(3) {
        text-align: right;
    }

    .featuressection>div>div {
        flex-direction: column;
    }

    .featuressection h2 {
        font-size: 1rem;
    }

    .featuressection p {
        font-size: 0.9rem;
    }

    .lefaq {
        font-size: 0.9rem;
    }

    .footersection {
        flex-direction: column-reverse;
    }

    .footersection div:first-child {
        max-width: 100%;
    }

    .footersection div:nth-child(2) {
        display: none;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .services-table {
        max-width: 98%;
    }
}

@media (max-width: 576px) {
    .hero-flex {
        flex-direction: column;
    }

    .container-hero>svg {
        display: none;
    }

    .hero-images {
        display: block;
        width: 100%;
        height: calc(100dvh - 50%);
    }

    .hero-header {
        width: 100%;
    }

    .lefaq {
        font-size: 0.74rem;
    }

    footer {
        font-size: 0.95rem;
    }

    .problemsolution-right p:first-child {
        font-size: 1.2rem;
    }

    .problemsolutionsection p {
        font-size: 0.9rem;
    }

    .services-table {
        font-size: 0.8rem;
    }
}

@media (max-width: 460px) {

    h1 {
        font-size: 2.2rem;
    }

    .cta-hero-container {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        height: 10rem;
    }

}

@media (max-width: 414px) {}

@media (max-width: 384px) {}

@media (max-width: 360px) {
    h1 {
        font-size: 1.8rem;
    }
}