@charset "UTF-8";

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

/* tudo */

* {
    font-family: inter;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    position: relative;
}

body {
    max-width: 1920px;
    margin: 0 auto;
}

:root {
    --hero-px: clamp(30.8125px, calc(11.151478vw - 16.581281px), 144px);
    --hero-gap: clamp(30px, calc(4.926108vw + 9.064039px), 80px);
    --hero-title: clamp(35px, calc(2.857143vw + 22.857143px), 64px);
    --hero-button-y: clamp(20px, calc(0.985222vw + 15.812808px), 30px);
    --hero-button-x: clamp(0px, calc(-3.940887vw + 56.748768px), 40px);
    --hero-button-radius: clamp(20px, calc(0.985222vw + 15.812808px), 30px);
    --hero-button-font: clamp(16px, calc(0.394089vw + 14.325123px), 20px);
    --hero-copy-width: clamp(360px, calc(-0.985222vw + 374.187192px), 370px);
    --prop-gap: clamp(30px, calc(3.940887vw + 13.251232px), 70px);
    --prop-title: clamp(28px, calc(1.970443vw + 19.625616px), 48px);
    --prop-title-width: clamp(367px, calc(27.192118vw + 251.433498px), 643px);
    --prop-text: clamp(19px, calc(0.8867vw + 15.231527px), 28px);
    --prop-text-width: clamp(367px, calc(72.216749vw + 60.078818px), 1100px);
}

/* header */

header {
    width: 85vw;
    margin: 0 auto;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 10vh;
    padding: 60px 0;
}

.img-logo-header {
    width: clamp(70px, 22vw, 112px);
    height: auto;
}

.ul-nav-header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(86vw, 390px);
    height: 100dvh;
    list-style: none;
    padding: 104px 24px 150px;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 247, 0.96));
    border-radius: 28px 0 0 28px;
    box-shadow: -22px 0 55px rgba(18, 38, 59, 0.2);
    transform: translateX(112%);
    transition: transform 0.34s ease, box-shadow 0.34s ease;
}

.ul-nav-header.active {
    transform: translateX(0);
}

.ul-nav-header li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 5px;
    padding: 0;
    margin-bottom: 12px;
}

.ul-nav-header li:last-child {
    border-bottom: 0;
}

.ul-nav-header a {
    color: #12263B;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.ul-nav-header a:hover {
    color: #297CF6;
}

.div-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 5px;
    cursor: pointer;
}

.ul-nav-header > li > a,
.div-dropdown-header {
    min-height: 54px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(18, 38, 59, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(18, 38, 59, 0.07);
}

.ul-nav-header > li > a {
    display: flex;
    align-items: center;
}

.ul-nav-header > li > a:hover,
.div-dropdown-header:hover {
    background: #fff;
    transform: translateX(-3px);
}

.div-dropdown-header::after {
    content: "";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background-color: rgba(41, 124, 246, 0.1);
    background-image:
        linear-gradient(#297CF6, #297CF6),
        linear-gradient(#297CF6, #297CF6);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 2px, 2px 12px;
    border-radius: 999px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.li-dropdown-header:has(.ul-dropdown-header.show) .div-dropdown-header::after {
    transform: rotate(45deg);
    background-color: rgba(41, 124, 246, 0.16);
}

.ul-nav-header li img {
    cursor: pointer;
}

.ul-dropdown-header {
    position: static;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    list-style: none;
    background: rgba(18, 38, 59, 0.04);
    border-radius:  16px;
    transition: max-height 0.4s ease-in-out, margin 0.3s ease, padding 0.3s ease;
}

.ul-dropdown-header.show {
    width: 100%;
    max-height: 300px;
    margin-top: -10px;
    padding: 18px 0 8px;
    visibility: visible;
}

.ul-dropdown-header li {
    border-bottom: 0;
}

.ul-dropdown-header li a {
    display: block;
    padding: 10px 18px 10px 28px;
    color: #505050;
    font-size: 15px;
    text-align: left;
    white-space: nowrap;
}

.a-cliente-header {
    display: none;
}

body.menu-open .a-cliente-header {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(calc(86vw - 48px), 342px);
    min-height: 56px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background: #1873FB;
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(41, 124, 246, 0.28);
}

body.menu-open .whatsapp-floating,
.whatsapp-floating.is-hidden-by-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.button-menu-header {
    position: relative;
    z-index: 1002;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgba(18, 38, 59, 0.1);
    border-radius: 13px;
    box-shadow: 0 9px 24px rgba(18, 38, 59, 0.12);
    transform: translateY(-2px);
}

.button-menu-header span {
    position: absolute;
    width: 19px;
    height: 2px;
    background: #12263B;
    border-radius: 999px;
    transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.28s ease;
}

.button-menu-header .span-superior-menu-header {
    transform: translateY(-6px);
}

.button-menu-header .span-inferior-menu-header {
    transform: translateY(6px);
}

.button-menu-header.active span {
    background: #297CF6;
}

.button-menu-header.active .span-superior-menu-header {
    transform: rotate(45deg);
}

.button-menu-header.active .span-meio-menu-header {
    opacity: 0;
}

.button-menu-header.active .span-inferior-menu-header {
    transform: rotate(-45deg);
}

@media (min-width: 1024px) {
    header {
        width: 80vw;
        max-width: 1536px;
    }

    header nav {
        height: auto;
        padding: 5vh 0;
    }

    .img-logo-header {
        width: clamp(95px, 9.22vw, 176px);
        height: clamp(36px, 3.51vw, 67px);
        object-fit: contain;
    }

    body.menu-open {
        overflow: auto;
    }

    body.menu-open::before {
        display: none;
    }

    .ul-nav-header {
        position: relative;
        top: auto;
        right: auto;
        z-index: auto;
        flex-direction: row;
        align-items: center;
        width: auto;
        height: auto;
        gap: 3vw;
        padding: 0;
        font-size: clamp(12px, 0.9vw, 16px);
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }

    .ul-nav-header li {
        flex-direction: row;
        align-items: center;
        width: auto;
        gap: 5px;
        padding: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .div-dropdown-header {
        justify-content: center;
        width: auto;
        gap: 8px;
    }

    .ul-nav-header > li > a,
    .div-dropdown-header {
        min-height: auto;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ul-nav-header > li > a {
        display: inline;
    }

    .ul-nav-header > li > a:hover,
    .div-dropdown-header:hover {
        background: transparent;
        transform: none;
    }

    .div-dropdown-header::after {
        content: "";
        display: block;
        width: 7px;
        height: 7px;
        margin-top: -3px;
        background: transparent;
        border-right: 2px solid #297CF6;
        border-bottom: 2px solid #297CF6;
        border-radius: 0;
        transform: rotate(45deg);
        transition: transform 0.25s ease, margin-top 0.25s ease;
    }

    .li-dropdown-header:has(.ul-dropdown-header.show) .div-dropdown-header::after {
        margin-top: 3px;
        background: transparent;
        transform: rotate(225deg);
    }

    .ul-dropdown-header {
        position: absolute;
        top: 200%;
        max-height: none;
        padding: 10px 0;
        overflow: visible;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        background: #fff;
        border-radius: 8px;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .ul-dropdown-header li a {
        padding: 10px 40px;
        color: #12263B;
        font-size: inherit;
        text-align: center;
    }

    .ul-dropdown-header.show {
        width: auto;
        margin-top: 0;
        padding: 10px 0;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        box-shadow: rgba(0, 0, 0, 0.2) 0 5px 30px;
    }

    .button-menu-header {
        display: none;
    }

    .a-cliente-header {
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(113px, 11.05vw, 211px);
        height: clamp(24px, 2.2vw, 42px);
        cursor: pointer;
        color: #fff;
        font-weight: 600;
        font-size: clamp(12px, 1.02vw, 20px);
        text-decoration: none;
        background: #1873FB;
        border-radius: clamp(6px, 0.59vw, 12px);
    }
}

/* hero */

.section-hero {
    display: flex;
    flex-direction: column;
    padding: 7.5vh var(--hero-px);
    background: #1873FB;
}

.div-conteiner-hero {
    display: flex;
    flex-direction: column;
    gap: var(--hero-gap);
}

.section-hero h1 {
    color: #fff;
    font-weight: 500;
    font-size: var(--hero-title);
    text-align: center;
}

.img-hero-mobile {
    max-width: 100%;
    height: auto;
}

.img-hero-desktop {
    display: none;
}

.section-hero a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #E50E1C;
    padding: var(--hero-button-y) var(--hero-button-x);
    border-radius: var(--hero-button-radius);
    font-size: var(--hero-button-font);
    text-decoration: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .section-hero {
        align-items: center;
    }

    .div-conteiner-hero {
        align-items: center;
        width: min(100%, 680px);
        margin: 0 auto;
    }

    .section-hero h1 {
        max-width: 620px;
        text-wrap: balance;
    }

    .img-hero-mobile {
        width: min(70vw, 520px);
    }

    .section-hero a {
        width: min(100%, 420px);
    }
}

@media (min-width: 1025px) {
    .section-hero {
        flex-direction: row;
        justify-content: space-between;
        padding: 7.5vh var(--hero-px);
        height: 672px;
    }

    .div-conteiner-hero {
        align-self: center;
        width: var(--hero-copy-width);
        gap: var(--hero-gap);
    }

    .section-hero h1 {
        text-align: left;
    }

    .img-hero-mobile {
        display: none;
    }

    .img-hero-desktop {
        display: block;
        height: 712px;
    }

}

/* proposito */

.section-proposito {
    display: flex;
    flex-direction: column;
    padding: 7.5vh var(--hero-px);
    gap: var(--prop-gap);
    text-align: center;
}

.section-proposito h2 {
    font-size: var(--prop-title);
    color: #505050;
    font-weight: 500;
}

.section-proposito p {
    font-size: var(--prop-text);
    color: #444242;
    font-weight: 300;
    text-wrap: pretty;
}

.span-destaque-p-proposito {
    font-weight: 500;
    font-style: italic;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .section-proposito {
        align-items: center;
    }

    .section-proposito h2,
    .section-proposito p {
        max-width: 760px;
    }
}

@media (min-width: 1025px) {

    .section-proposito {
        flex-direction: column;
        padding: 20vh var(--hero-px) 10vh; 
        text-align: left;
    }

    .section-proposito h2 {
        width: var(--prop-title-width);
    }

    .section-proposito p {
        width: var(--prop-text-width);
        max-width: 100%;
    }

    .section-proposito .quebra-linha {
        display: block;
    }
}

/* footer */

footer {

    display: flex;
    flex-direction: column;
    align-items: center;
    background: #12263B;
    padding: clamp(42px, 5vh, 72px) 7.25vw 0;
    gap: clamp(32px, 9.41vw, 52px);
}

footer h2 {
    color: #fff;
    font-size: clamp(18px, 4.71vw, 24px);
    font-weight: 700;
}

footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2.35vw, 14px);
}

footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    gap: clamp(2px, 0.94vw, 6px);
}

.social-footer {
    flex-direction: row;
    gap: clamp(14px, 3.53vw, 22px);
}

footer li {
    color: #fff;
    font-size: clamp(12px, 3.06vw, 15px);
    font-weight: 300;
}

.desc-footer {
    display: none;
}

.copy-desktop {
    display: none;
}

.copy-mobile {
    color: #fff;
    font-size: clamp(11px, 2.82vw, 14px);
    font-weight: 100;
    text-align: center;
    text-wrap: balance;
}

@media (min-width: 1024px) {
    footer {
        flex-direction: row;
        padding: clamp(144px, 14.06vw, 270px) max(15vw, calc((100vw - 1344px) / 2)) clamp(86px, 8.42vw, 162px);
        align-items: flex-start;
        justify-content: space-between;
    }

    .coluna-logo-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: clamp(262px, 25.62vw, 492px);
        gap: clamp(38px, 3.66vw, 70px);
    }

    .copy-desktop {
        display: block;
        color: #fff;
        font-size: clamp(12px, 1.1vw, 21px);
        font-weight: 200;
        line-height: 1.45;
    }

    .desc-footer {
        display: block;
        color: #fff;
        font-size: clamp(12px, 1.1vw, 21px);
        font-weight: 200;
        line-height: 1.45;
    }

    .copy-mobile {
        display: none;
    }

    footer h2 {
        font-size: clamp(19px, 1.83vw, 35px);
        margin-bottom: clamp(15px, 1.46vw, 28px);
    }

    footer div {
        align-items: flex-start;
    }

    footer ul {
        align-items: flex-start;
    }

    footer li {
        font-size: clamp(12px, 1.1vw, 21px);
    }

    .g2i-itens-footer {
        min-width: clamp(120px, 11.71vw, 225px);
        gap: clamp(38px, 3.66vw, 70px);
    }

    .div-social-footer {
        align-items: center;
    }

    .social-footer {
        flex-direction: column;
        align-items: center;
        gap: clamp(15px, 1.46vw, 28px);
    }

    .social-footer img {
        height: auto;
        width: clamp(15px, 1.46vw, 28px);
    }
}
