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

html {
    scroll-behavior: smooth;
}

body.home-page {
    background-color: #F3F3F3;
    padding-top: 67px;
    font-family: 'Inter', sans-serif;
}

.home-page header {
    display: flex;
    background-color: #F3F3F3;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.home-page .logo {
    height: 66px;
    margin-left: 60px;
}

.home-page .logo img {
    width: auto;
    height: 58px;
}

.home-page .nav-bar {
    margin-left: auto;
}

.home-page .nav-bar ul {
    display: flex;
    list-style: none;
}

.home-page .nav-bar li {
    display: flex;
    margin-left: 30px;
}

.home-page .nav-bar a {
    color: #062664;
    text-decoration: none;
    font-size: 18px;
}

.home-page .nav-bar a:hover {
    color: #000000;
}

.home-page .menu-hamburguer {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-right: 30px;
}

.home-page .menu-hamburguer span {
    width: 28px;
    height: 3px;
    background: #062664;
    border-radius: 3px;
    transition: 0.3s;
}

/* animação */
.home-page .menu-hamburguer.ativo span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.home-page .menu-hamburguer.ativo span:nth-child(2) {
    opacity: 0;
}

.home-page .menu-hamburguer.ativo span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.home-page .btn-login {
    margin-right: 60px;
    margin-left: 30px;
    width: 149px;
    height: 42px;
    background-color: #F3F3F3;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    align-items: center;
    border: 1px solid #062664;
    text-decoration: none;
    transition: 0.3s ease;
}

.home-page .btn-login:hover {
    background-color: #6687ca;
}

.home-page .btn-login a {
    text-decoration: none;
    font-size: 18px;
    color: #062664;
}

.home-page .btn-login img {
    width: auto;
    height: 70%;
}

/* HERO */
#hero {
    width: 100%;
    min-height: 530px;
    background-image: url('../img/home/hero.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.h-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.h-textos {
    max-width: 650px;
    text-align: center;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.h-textos h4 {
    font-size: 16px;
    font-weight: 200;
}

.h-textos h2 {
    font-size: 40px;
}

.h-textos h3 {
    font-size: 30px;
}

.h-textos p {
    font-size: 20px;
}

.h-btns {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
}

.home-page .btn {
    padding: 14px 28px;
    border-radius: 10px;
    background: #ffffff;
    color: #062664;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 18px;
    display: inline-block;
}

.home-page .btn:hover {
    opacity: 0.8;
}

/*SISTEMA*/
#sistema {
    padding: 60px 0;
}

.s-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.s-conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.s-textos h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 500;
}

.s-textos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.s-textos p {
    line-height: 1.6;
    font-size: 22px;
}

.s-img img {
    width: 544px;
    height: auto;
}

.s-lista ul {
    list-style: none;
    padding: 0;
}

.s-lista ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 22px;
}

.s-lista ul li::before {
    content: "•";
    color: #062664;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: 0;
}

/*FUNCIONALIDADE*/
#funcionalidades {
    padding: 60px 24px;
}

.f-container {
    max-width: 1200px;
    margin: 0 auto;
}

.f-container h2 {
    font-size: 36px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.home-page .card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    transition: 0.2s;
    position: relative;
    z-index: 2;
    border: none;
}

.home-page .card::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 10%;
    width: 10px;
    height: 40%;
    background: #1846A1;
    border-radius: 5px;
    z-index: 0;
}

.home-page .card:hover {
    transform: translateY(-4px);
}

.icon-card {
    background-color: #1846A1;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.icon-card img {
    width: auto;
    height: 35px;
}

/* DEMONSTRAÇÃO */
#demonstracao {
    padding: 60px 0;
    background-color: #1846A1;
    margin-bottom: 80px;
}

.d-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.d-textos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #fff;
}

.d-textos h2 {
    font-size: 36px;
    font-weight: 500;
}

.d-textos ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.d-textos ul li {
    font-size: 24px;
    line-height: 1.4;
    padding-left: 28px;
    position: relative;
}

.d-textos ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    font-size: 20px;
}

.d-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.d-img img {
    width: 100%;
    max-width: 810px;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* CTA */
#cta {
    padding: 60px 20px;
}

.c-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0b2f6b;
    border-radius: 20px;
    padding: 40px 60px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* imagem */
.c-img img {
    width: auto;
    height: 270px;
    display: block;
}

/* bloco direito */
#cta .c-conteudo {
    display: flex;
    flex-direction: column;
}

/* texto */
.c-conteudo h2 {
    color: #fff;
    font-size: 32px;
    line-height: 1.3;
    max-width: 800px;
    margin-bottom: 20px;
}

/* botões */
.c-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c-btns a:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #0b2f6b;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
}

.c-btns a:not(:first-child) {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-btns img {
    width: 25px;
    height: 25px;
}

.c-btns a:hover {
    opacity: 0.8;
}

/* FOOTER */
.home-page footer {
    background-color: #062664;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .h-container {
        width: 80%;
    }

    .h-textos h2 {
        font-size: 34px;
    }

    .h-textos h3 {
        font-size: 26px;
    }

    .s-container {
        flex-direction: column;
        text-align: center;
    }

    .s-img img {
        width: 420px;
    }

    .d-container {
        flex-direction: column;
        text-align: center;
    }

    .c-container {
        flex-direction: column;
        text-align: center;
    }

    .c-img img {
        height: 220px;
    }
}

@media (max-width: 768px) {

    /* mostra hambúrguer */
    .home-page .menu-hamburguer {
        display: flex;
    }

    /* esconde login */
    .home-page .btn-login {
        display: none;
    }

    /* menu fechado */
    .home-page .nav-bar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #F3F3F3;
        display: none;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    /* menu aberto */
    .home-page .nav-bar.ativo {
        display: block;
    }

    .home-page .nav-bar ul {
        flex-direction: column;
        gap: 20px;
    }

    .home-page .nav-bar li {
        margin: 0;
    }

    /* HERO */
    .h-container {
        width: 90%;
    }

    .h-textos h2 {
        font-size: 30px;
    }

    .h-textos h3 {
        font-size: 22px;
    }

    .h-textos p {
        font-size: 18px;
    }

    .h-btns {
        flex-direction: column;
    }

    /* GRID */
    .grid {
        grid-template-columns: 1fr 1fr;
    }

    /* DEMONSTRAÇÃO */
    .d-textos ul li {
        font-size: 20px;
    }
}

@media (max-width: 580px) {
    .home-page .logo img {
        height: 45px;
    }

    .h-textos h2 {
        font-size: 26px;
    }

    .h-textos h3 {
        font-size: 20px;
    }

    .h-textos p {
        font-size: 16px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .s-textos h2,
    .f-container h2,
    .d-textos h2 {
        font-size: 26px;
    }

    .s-textos p,
    .s-lista ul li {
        font-size: 18px;
    }

    .d-textos ul li {
        font-size: 18px;
    }

    .c-conteudo h2 {
        font-size: 22px;
    }

    .c-btns {
        flex-wrap: wrap;
        justify-content: center;
    }
}