@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;
    scroll-behavior: smooth;
}

/* header */

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

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

.logo-topo {
    width: clamp(70px, 8vw, 112px);
    height: auto;
}

.menu-topo {
    display: none;
    cursor: pointer;
}

.menu-topo div {
    width: clamp(20px, 2.5vw, 32px);
    height: clamp(1px, 0.2vw, 2px);
    background: #000;
    margin: clamp(5px, 0.8vw, 8px);
}

.itens-topo {
    position: relative;
    display: flex;
    list-style: none;
    font-size: clamp(12px, 1vw, 16px);
    font-weight: 600;
    gap: clamp(10px, 3vw, 20px)
}

.itens-topo li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.itens-topo li img {
    cursor: pointer;
}

.itens-topo a {

    color: #12263B;
    text-decoration: none;
    transition: 0.3s;
}

.itens-topo a:hover {
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: 200%;
    padding: 10px 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    background-color: #fff;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown-menu li a {
    padding: 10px 40px;
    clear: both;
    white-space: nowrap;
}


.dropdown-menu.show {
    box-shadow: rgba(0, 0, 0, 0.2) 0 5px 30px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.div-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.botao-cliente {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: clamp(90px, 10vw, 170px);
    height: clamp(20px, 4vh, 40px);
    color: #fff;
    font-family: inter;
    font-weight: 600;
    font-size: clamp(10px, 1vw, 14px);
    background-color: #DF1E2F;
    border: none;
    text-decoration: none;
    border-radius: 8px;
}

@media (max-width: 1000px) {

    .itens-topo {
        position: absolute;
        top: 10vh;
        right: 0;
        width: 100vw;
        height: 90vh;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        z-index: 999;
    }

    .div-dropdown {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .itens-topo.active {
        transform: translateX(0);
    }

    .itens-topo li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid #E55C5C;
    }

    .itens-topo li:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        position: static;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .dropdown-menu.show {
        width: 100%;
        max-height: 300px;
        box-shadow: none;
    }

    .dropdown-menu li {
        border-bottom: none;
    }

    .dropdown-menu li a {
        text-align: center;
    }

    .menu-topo {
        display: block;
    }

    .botao-cliente {
        display: none;
    }
}


/* artigo */

article {
    display: flex;
    flex-direction: column;
    padding: 5vh 7.25vw;
    gap: 20px;
    background-image: linear-gradient(to bottom, #E2F4FF, #fff 100vh);
    min-height: 100vh;
}

.voltar {
    text-decoration: none;
    color: #3168A1;
    font-weight: 600;   
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.voltar:hover {
    transform: translateX(-5px);
}

#content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

article h1 {
    font-weight: 600;
    font-size: 20px;
    background: linear-gradient(to bottom, #12263B, #3168A1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

article h2 {
    font-weight: 600;
    font-size: 30px;
    background: linear-gradient(to bottom, #12263B, #3168A1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

article h3 {
    font-weight: 600;
    font-size: 25px;
    color: #12263B;
}

article p {
    font-weight: 400;
    font-size: 14px;
    color: #505050;
    line-height: 1.6;
}

.image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

article ul {
    padding-left: 20px;
}

article li {
    font-weight: 400;
    font-size: 14px;
    color: #505050;
    margin-left: 20px;
    line-height: 1.6;
}

article :not(:last-child) {
    margin-bottom: 10px;
}

#content-wrapper {
    position: relative; 
    max-height: 600px; 
    overflow: hidden; 
    transition: max-height 0.7s ease-in-out;
}

#content-wrapper.expanded {
    max-height: 1000vh; 
}

.fade-overlay {
    position: absolute; 
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #F8FDFF 80%);
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

#content-wrapper.expanded .fade-overlay {
    opacity: 0;
}

.toggle-button {
    background: linear-gradient(135deg, #3168A1, #12263B);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    margin: 20px auto;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(49, 104, 161, 0.3);
}

.toggle-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 104, 161, 0.4);
}

.toggle-button i {
    transition: transform 0.3s ease;
}

.toggle-button.expanded i {
    transform: rotate(180deg);
}

.compartilhe {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.compartilhe > div:first-child {
    text-align: center;
}

.moldura {
    display: flex;
    justify-content: center;
    background-color: #E55C5C;
    padding: 15px;
    border-radius: 20px;
    gap: 20px;
}

.moldura img {
    width: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.moldura img:hover {
    transform: scale(1.2);
}

@media (min-width: 768px) {

    article {
        gap: 30px;
        padding: 8vh 10vw;
    }

    article h1 {
        font-size: 24px;
    }

    article h2 {
        font-size: 38px;
    }

    article h3 {
        font-size: 28px;
    }

    article p {
        font-size: 16px;
    }

    article li {
        font-size: 16px;
    }

    .voltar {
        font-size: 18px;
    }

    #content-wrapper {
        max-height: 700px;
    }

    .toggle-button {
        padding: 15px 40px;
        font-size: 18px;
    }

    .moldura {
        padding: 20px 30px;
        gap: 30px;
    }

    .moldura img {
        width: 40px;
    }
}

@media (min-width: 1024px) {

    article {
        width: 65vw;
        margin: 0 auto;
        padding: 10vh 2vw;
        gap: 40px;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 20, 50, 0.1);
    }

    article h1 {
        font-size: 26px;
        text-align: start;
    }

    article h2 {
        font-size: 44px;
        text-align: start;
    }

    article h3 {
        font-size: 32px;
    }

    article p {
        font-size: 18px;
        line-height: 1.7;
    }

    article li {
        font-size: 18px;
        line-height: 1.7;
    }

    .image {
        border-radius: 15px;
        width: 90%; 
        margin: 40px auto;
        display: block;
    }

    .compartilhe {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        margin-top: 60px;
        padding: 20px;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .compartilhe > div:first-child {
        text-align: start;
    }

    .moldura img {
        width: 40px;
        height: 40px;
    }
}


/* footer */

footer {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #12263B;
    padding: 100px 0 100px 0;
}

.div-desc-footer {
    display: flex;
    flex-direction: column;
}

.alinha-desc-footer {
    display: flex;

}

.logo-footer {
    width: 80px;
    height: 40px;
    margin-bottom: 50px;
}

.desc-footer {
    max-width: 266px;
    height: 75px;
    font-weight: 500;
    font-size: 10px;
    color: #fff;
    text-align: justify;
    margin: 0;
    margin-left: 10px;
    line-height: 15px;
}

.selo {
    width: 56px;
}

.copy {
    width: 278px;
    margin-left: 66px;
    font-weight: 500;
    font-size: 12px;
    color: #7d7d7d;
}

footer div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.div-nav-footer {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.nav-footer:not(:first-child) {
    display: flex;
    flex-direction: column;
    width: 10vw;
    align-items: center;
    height: auto;
}

#nav-footer-contatos {
    display: none;
}


.nav-footer h2 {
    margin: 0 0 10px 0;
    font-weight: 800;
    font-size: 16px;
    color: #E55C5C;
}

.nav-footer ul {
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    list-style: none;
    margin-bottom: 30px;
}

.nav-footer a {
    color: #fff;
    text-decoration: none;
}

.nav-footer a:hover {
    text-decoration: underline;
}

.nav-footer ul li {
    margin-bottom: 10px;
}

.nav-footer img {
    transition: 0.2s ease-in-out;
}

.nav-footer img:hover {
    opacity: 0.5;
}

@media (max-width: 1000px) {


    footer {
        position: relative;
        padding-bottom: 10px;
    }

    .logo-footer {
        margin-top: 30px;
    }

    .div-logo-footer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
    }

    .selo {
        width: 50px;
    }

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

    .alinha-desc-footer {
        margin-bottom: 5px;
    }

    .copy {
        margin-left: 50px;
    }

    .desc-footer {
        margin: 0;
    }

    .nav-footer:not(:first-child) {
        display: flex;
        flex-direction: column;
        width: 100vw;
        align-items: center;
        height: auto;
    }

    .nav-footer {
        display: flex;
        flex-direction: column;
        width: 100vw;
        align-items: center;
    }

    .g2i-footer {
        text-align: center;
    }

    .social {
        display: flex;
        gap: 30px;

    }
}
