/* =====================================================
RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =====================================================
BODY
===================================================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background-color: #e9efe3;

    background-image:

        linear-gradient(rgba(255, 255, 255, 0.45) 1px,
            transparent 1px),

        linear-gradient(90deg,
            rgba(255, 255, 255, 0.45) 1px,
            transparent 1px),

        radial-gradient(ellipse at 50% -15%,
            rgba(125, 190, 15, 0.38),
            transparent 42%),

        radial-gradient(ellipse at 5% 20%,
            rgba(169, 235, 32, 0.22),
            transparent 30%),

        radial-gradient(ellipse at 95% 30%,
            rgba(140, 205, 20, 0.18),
            transparent 30%),

        radial-gradient(ellipse at 50% 100%,
            rgba(70, 110, 20, 0.10),
            transparent 45%);

    background-size:
        45px 45px,
        45px 45px,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%;

    min-height: 100vh;
}


/* =====================================================
PÁGINA
===================================================== */

.pagina {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}


/* =====================================================
HEADER
===================================================== */

.header {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    padding: 28px 35px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
LOGO
===================================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    text-decoration: none;
    color: #172033;

    opacity: 0;
    transform: translateY(-12px);

    animation: logoEntrada 0.9s cubic-bezier(.22, 1, .36, 1) forwards;
}


/* ÍCONE */

.logo-icone {
    width: 42px;
    height: 42px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #4b6f02;

    color: white;

    font-size: 21px;
    font-weight: 900;

    box-shadow:
        0 8px 18px rgba(75, 111, 2, 0.25);

    position: relative;
    overflow: hidden;

    animation:
        logoIconeEntrada 0.9s cubic-bezier(.22, 1, .36, 1) forwards,
        logoPulso 4s ease-in-out 1.2s infinite;
}


/* BRILHO PASSANDO NO ÍCONE */

.logo-icone::after {
    content: "";

    position: absolute;

    top: -30%;
    left: -90%;

    width: 45%;
    height: 160%;

    background: rgba(255, 255, 255, 0.45);

    transform: rotate(22deg);

    animation: logoBrilho 3.8s ease-in-out 1.4s infinite;
}


/* TEXTO */

.logo-texto {
    display: flex;
    flex-direction: column;

    font-size: 25px;
    font-weight: 900;

    line-height: 1;

    opacity: 0;

    transform: translateX(-8px);

    animation:
        logoTextoEntrada 0.7s ease 0.25s forwards;
}


.logo-texto span {
    color: #5e8a05;
}


.logo-texto small {
    margin-top: 5px;

    font-size: 8px;
    letter-spacing: 2px;

    color: #65705f;
    font-weight: 700;

    opacity: 0;

    animation:
        logoSubtituloEntrada 0.6s ease 0.55s forwards;
}


/* =====================================================
ANIMAÇÕES DA LOGO
===================================================== */

@keyframes logoEntrada {

    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes logoIconeEntrada {

    0% {
        opacity: 0;
        transform: scale(0.65) rotate(-8deg);
    }

    70% {
        transform: scale(1.08) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


@keyframes logoTextoEntrada {

    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes logoSubtituloEntrada {

    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes logoBrilho {

    0%,
    45% {
        left: -90%;
    }

    65% {
        left: 125%;
    }

    100% {
        left: 125%;
    }
}


@keyframes logoPulso {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 18px rgba(75, 111, 2, 0.25);
    }

    50% {
        transform: scale(1.035);
        box-shadow:
            0 10px 25px rgba(75, 111, 2, 0.32);
    }
}


/* =====================================================
HERO
===================================================== */

.hero {
    width: 100%;
    max-width: 1250px;

    min-height: 650px;

    margin: 0 auto;

    padding: 55px 35px 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;
}


/* =====================================================
LADO ESQUERDO
===================================================== */

.hero-conteudo {
    width: 50%;
    max-width: 560px;
}


/* =====================================================
TAG
===================================================== */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 15px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid rgba(75, 111, 2, 0.12);

    color: #53633f;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(50, 80, 30, 0.05);
}


.tag span {
    color: #7daf12;
    font-size: 15px;
}


/* =====================================================
TÍTULO
===================================================== */

.hero h1 {
    margin-top: 25px;
    margin-bottom: 22px;

    font-size: clamp(46px, 5vw, 70px);

    line-height: 1.02;

    letter-spacing: -2.5px;

    color: #172033;
}


/* =====================================================
ANIMAÇÃO DO TÍTULO
===================================================== */

.titulo-linha {
    display: inline-block;

    opacity: 0;

    filter: blur(7px);

    transform: translateY(25px);

    animation:
        tituloEntrada 0.85s cubic-bezier(.22, 1, .36, 1) forwards;
}


.titulo-primeira {
    animation-delay: 0.55s;
}


.titulo-segunda {
    color: #4b6f02;

    animation-delay: 0.85s;
}


@keyframes tituloEntrada {

    0% {
        opacity: 0;
        filter: blur(7px);
        transform: translateY(25px);
    }

    60% {
        opacity: 0.9;
        filter: blur(1px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}


/* =====================================================
DESCRIÇÃO
===================================================== */

.descricao {
    max-width: 510px;

    color: #687386;

    font-size: 18px;

    line-height: 1.65;

    margin-bottom: 30px;
}


/* =====================================================
BOTÃO PRINCIPAL
===================================================== */

.botao-principal {
    width: min(100%, 390px);

    min-height: 58px;

    padding: 0 22px;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    text-decoration: none;

    background: #b5f22b;

    color: #172033;

    font-size: 17px;
    font-weight: 800;

    box-shadow:
        0 12px 28px rgba(107, 150, 15, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.botao-principal strong {
    font-size: 23px;
    line-height: 1;
}


.botao-principal:hover {
    transform: translateY(-3px);

    background: #a9eb20;

    box-shadow:
        0 16px 32px rgba(107, 150, 15, 0.25);
}


/* =====================================================
SEGURANÇA
===================================================== */

.seguranca {
    margin-top: 25px;

    display: flex;
    align-items: center;

    gap: 12px;
}


.seguranca-icone {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5f5d0;

    color: #4b7c08;

    font-size: 15px;
    font-weight: 900;
}


.seguranca-texto {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.seguranca-texto strong {
    color: #34402d;
    font-size: 14px;
}


.seguranca-texto span {
    color: #7a8477;
    font-size: 12px;
}


/* =====================================================
LADO DIREITO
===================================================== */

.hero-visual {
    width: 50%;
    min-height: 500px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


.luz {
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(160, 220, 35, 0.23),
            transparent 68%);

    filter: blur(5px);

    pointer-events: none;
}


/* =====================================================
PAINEL PRINCIPAL
===================================================== */

.painel {
    position: relative;
    z-index: 3;

    width: min(100%, 430px);

    padding: 30px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        0 25px 60px rgba(42, 65, 30, 0.18);

    backdrop-filter: blur(15px);
}


/* =====================================================
HEADER DO PAINEL
===================================================== */

.painel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid #edf0e8;
}


.painel-header>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.painel-header small {
    color: #879080;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.painel-header strong {
    color: #263322;

    font-size: 16px;
}


.icone-grafico {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf8dc;

    color: #628d09;

    font-size: 21px;
    font-weight: bold;
}


/* =====================================================
VALOR
===================================================== */

.valor-principal {
    display: flex;
    flex-direction: column;

    margin: 25px 0 22px;
}


.valor-principal small {
    color: #879080;

    font-size: 13px;
}


.valor-principal strong {
    margin-top: 4px;

    color: #182416;

    font-size: 40px;
    letter-spacing: -1.5px;
}


/* =====================================================
BARRA
===================================================== */

.barra {
    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 10px;

    background: #e8eee0;
}


.barra-preenchida {
    width: 78%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(90deg,
            #719e0b,
            #b5f22b);
}


.barra-info {
    display: flex;
    justify-content: space-between;

    margin-top: 8px;

    color: #899181;

    font-size: 11px;
}


/* =====================================================
LINHA
===================================================== */

.linha {
    width: 100%;
    height: 1px;

    margin: 22px 0;

    background: #edf0e8;
}


/* =====================================================
DADOS
===================================================== */

.dados {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


.dados>div {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.dados small {
    color: #899181;
    font-size: 11px;
}


.dados strong {
    color: #35422f;
    font-size: 13px;
}


.dados .verde {
    color: #579007;
}


/* =====================================================
BOTÃO DO PAINEL
===================================================== */

.botao-painel {
    width: 100%;

    min-height: 50px;

    margin-top: 25px;

    padding: 0 18px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    text-decoration: none;

    background: #4b6f02;

    color: white;

    font-size: 14px;
    font-weight: 800;

    transition: 0.2s ease;
}


.botao-painel strong {
    font-size: 20px;
}


.botao-painel:hover {
    background: #5c8505;
    transform: translateY(-2px);
}


/* =====================================================
CARDS FLUTUANTES
===================================================== */

.notificacao {
    position: absolute;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 16px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.9);

    border-radius: 15px;

    box-shadow:
        0 15px 35px rgba(40, 65, 30, 0.16);

    backdrop-filter: blur(12px);
}


.notificacao-pix {
    left: 0;
    bottom: 75px;

    animation:
        flutuar1 4s ease-in-out infinite;
}


.notificacao-segura {
    right: 0;
    top: 70px;

    animation:
        flutuar2 4.5s ease-in-out infinite;
}


.notificacao-icone,
.escudo {
    width: 37px;
    height: 37px;

    flex-shrink: 0;

    border-radius: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf8dc;

    color: #5e8c08;

    font-size: 17px;
    font-weight: 900;
}


.notificacao-conteudo {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.notificacao-conteudo small {
    color: #899181;

    font-size: 10px;
}


.notificacao-conteudo strong {
    color: #263322;

    font-size: 13px;
}


.check {
    width: 23px;
    height: 23px;

    margin-left: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e2f5d2;

    color: #529006;

    font-size: 11px;
    font-weight: bold;
}


@keyframes flutuar1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


@keyframes flutuar2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(9px);
    }
}


/* =====================================================
NOTIFICAÇÃO DE ATIVIDADE
===================================================== */

.notificacao-atividade {
    position: fixed;

    left: 25px;
    bottom: 25px;

    z-index: 9999;

    width: min(360px, calc(100vw - 40px));

    min-height: 72px;

    padding: 13px 16px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        0 15px 45px rgba(25, 40, 20, 0.22);

    backdrop-filter: blur(14px);

    opacity: 0;

    transform: translateY(25px);

    pointer-events: none;

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}


.notificacao-atividade.mostrar {
    opacity: 1;

    transform: translateY(0);
}


.atividade-icone {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #e7f6d7;

    color: #548508;

    font-weight: 900;

    font-size: 17px;
}


.atividade-texto {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.atividade-texto strong {
    color: #263322;

    font-size: 13px;
}


.atividade-texto span {
    color: #7d8877;

    font-size: 11px;
}


.atividade-texto b {
    color: #4e7d05;

    font-size: 13px;
}


/* NOTIFICAÇÃO RECUSADA */

.notificacao-atividade.recusado .atividade-icone {
    background: #f7e7df;
    color: #b45332;
}


.notificacao-atividade.recusado .atividade-texto b {
    color: #a85030;
}


/* =====================================================
FOOTER
===================================================== */

footer {
    width: 100%;

    margin-top: 30px;

    background:
        linear-gradient(180deg,
            #4b6f02 0%,
            #355200 55%,
            #090422 100%);

    color: white;
}


.footer-conteudo {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 65px 30px 35px;

    text-align: center;
}


.footer-logo {
    display: flex;
    flex-direction: column;

    align-items: center;

    font-size: 30px;
    font-weight: 900;
}


.footer-logo span {
    color: #b5f22b;
}


.footer-logo small {
    margin-top: 6px;

    font-size: 9px;
    letter-spacing: 2px;

    opacity: 0.7;
}


.footer-informacoes {
    display: flex;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px 30px;

    margin-top: 25px;
}


.footer-informacoes p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
}


.footer-linha {
    width: 100%;
    max-width: 800px;

    height: 1px;

    margin: 30px auto 20px;

    background: rgba(255, 255, 255, 0.16);
}


.copyright {
    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
}


/* =====================================================
TABLET
===================================================== */

@media (max-width: 1000px) {

    .hero {
        gap: 45px;

        padding-left: 25px;
        padding-right: 25px;
    }

    .hero-conteudo,
    .hero-visual {
        width: 50%;
    }

    .hero h1 {
        font-size: 50px;
    }

    .painel {
        width: 380px;
    }

    .notificacao-pix {
        left: -10px;
    }

    .notificacao-segura {
        right: -10px;
    }
}


/* =====================================================
CELULAR
===================================================== */

@media (max-width: 760px) {

    .header {
        padding: 22px 20px;
    }


    .hero {
        min-height: auto;

        padding:
            35px 20px 75px;

        flex-direction: column;

        gap: 55px;

        text-align: center;
    }


    .hero-conteudo {
        width: 100%;
        max-width: 560px;

        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .hero h1 {
        font-size: clamp(42px, 12vw, 56px);

        letter-spacing: -2px;
    }


    .descricao {
        font-size: 16px;

        max-width: 430px;
    }


    .botao-principal {
        width: 100%;
        max-width: 390px;
    }


    .seguranca {
        width: 100%;
        max-width: 390px;

        text-align: left;

        justify-content: flex-start;
    }


    .hero-visual {
        width: 100%;

        min-height: 570px;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    .painel {
        width: min(100%, 390px);

        padding: 25px;

        margin: 0 auto;
    }


    .valor-principal strong {
        font-size: 34px;
    }


    .notificacao-pix {
        left: 50%;
        bottom: 30px;

        transform: translateX(-50%);

        animation:
            flutuarMobile1 4s ease-in-out infinite;
    }


    .notificacao-segura {
        right: 50%;
        top: 25px;

        transform: translateX(50%);

        animation:
            flutuarMobile2 4.5s ease-in-out infinite;
    }


    @keyframes flutuarMobile1 {

        0%,
        100% {
            transform:
                translateX(-50%) translateY(0);
        }

        50% {
            transform:
                translateX(-50%) translateY(-8px);
        }
    }


    @keyframes flutuarMobile2 {

        0%,
        100% {
            transform:
                translateX(50%) translateY(0);
        }

        50% {
            transform:
                translateX(50%) translateY(8px);
        }
    }


    .footer-conteudo {
        padding:
            50px 20px 30px;
    }


    .footer-informacoes {
        flex-direction: column;

        gap: 9px;
    }


    .notificacao-atividade {
        left: 50%;

        bottom: 18px;

        transform:
            translate(-50%, 25px);

        width: calc(100vw - 30px);

        max-width: 360px;
    }


    .notificacao-atividade.mostrar {
        transform:
            translate(-50%, 0);
    }
}


/* =====================================================
CELULARES PEQUENOS
===================================================== */

@media (max-width: 390px) {

    .hero {
        padding-left: 15px;
        padding-right: 15px;
    }


    .hero h1 {
        font-size: 40px;
    }


    .painel {
        padding: 22px;
    }


    .valor-principal strong {
        font-size: 31px;
    }


    .notificacao {
        padding: 11px 12px;
    }


    .notificacao-segura {
        max-width: 230px;
    }


    .notificacao-pix {
        max-width: 230px;
    }
}


/* =====================================================
ACESSIBILIDADE
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .logo,
    .logo-icone,
    .logo-texto,
    .logo-texto small,
    .logo-icone::after,
    .titulo-linha {
        animation: none !important;

        opacity: 1;

        transform: none;

        filter: none;
    }
}