@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700;800;900&display=swap');


/* =========================================================
   BASE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Lato", Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #171717;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}


a {
    text-decoration: none;
}


button,
input {
    font: inherit;
}


.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}



/* =========================================================
   TOPO
   ========================================================= */

.topo {
    background: #212226;
    border-bottom: 1px solid #303136;
}


.topo-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.logo {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.4px;
}


.topo nav {
    display: flex;
    align-items: center;
}


.topo nav a {
    color: #CFF250;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s;
}


.topo nav a:hover {
    color: #ffffff;
}



/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 72px 0 70px;
    background: #ffffff;
}


.hero h1 {
    max-width: 900px;
    margin: 0 auto 18px;

    text-align: center;

    color: #171717;

    font-size: clamp(35px, 5vw, 52px);
    line-height: 1.14;

    font-weight: 600;
    letter-spacing: -1.4px;
}


.subtitulo {
    max-width: 760px;
    margin: 0 auto 42px;

    text-align: center;

    color: #555555;

    font-size: 18px;
    line-height: 1.7;
}



/* =========================================================
   CALCULADORA
   ========================================================= */

.calculadora {
    max-width: 850px;
    margin: 0 auto;

    padding: 36px;

    background: #ffffff;

    border: 1px solid #e5e7ea;
    border-radius: 20px;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.07),
        0 2px 7px rgba(0, 0, 0, 0.025);
}


.campos-datas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


.campo {
    display: flex;
    flex-direction: column;
    gap: 9px;
}


.campo label {
    color: #202124;

    font-size: 15px;
    font-weight: 700;
}


.campo input[type="date"] {
    width: 100%;
    min-height: 57px;

    padding: 0 16px;

    border: 1px solid #d7dce2;
    border-radius: 10px;

    outline: none;

    background: #f8f9fa;
    color: #171717;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}


.campo input[type="date"]:hover {
    border-color: #b9bec5;
    background: #ffffff;
}


.campo input[type="date"]:focus {
    border-color: #b6d82f;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(207, 242, 80, 0.20);
}



/* =========================================================
   OPÇÕES
   ========================================================= */

.opcoes {
    margin-top: 25px;

    display: flex;
    flex-wrap: wrap;

    gap: 18px 32px;
}


.opcoes label {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #444444;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
    user-select: none;
}


.opcoes input[type="checkbox"] {
    width: 18px;
    height: 18px;

    accent-color: #b7dc2f;

    cursor: pointer;
}



/* =========================================================
   BOTÃO
   ========================================================= */

.btn-calcular {
    width: 100%;
    min-height: 59px;

    margin-top: 29px;
    padding: 0 20px;

    border: 2px solid #CFF250;
    border-radius: 10px;

    background: #CFF250;
    color: #171717;

    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}


.btn-calcular:hover {
    background: #c2e845;
    border-color: #c2e845;

    box-shadow:
        0 8px 22px rgba(143, 171, 39, 0.16);
}


.btn-calcular:active {
    transform: translateY(1px);
}



/* =========================================================
   ERRO
   ========================================================= */

.mensagem-erro {
    display: none;

    margin-top: 20px;
    padding: 14px 16px;

    border: 1px solid #efb8b8;
    border-radius: 9px;

    background: #fff3f3;
    color: #a52c2c;

    font-size: 14px;
    font-weight: 600;
}



/* =========================================================
   RESULTADO
   ========================================================= */

.resultado {
    display: none;

    margin-top: 30px;
    padding: 31px;

    border: 1px solid #e1e4e8;
    border-radius: 16px;

    background: #f8f9fa;

    text-align: center;
}


.resultado.ativo {
    display: block;
}


.resultado-titulo {
    margin-bottom: 10px;

    color: #686868;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.6px;
}


.resultado-principal {
    display: flex;
    justify-content: center;
    align-items: baseline;

    gap: 10px;

    margin-bottom: 27px;
}


.resultado-principal strong {
    color: #9fc200;

    font-size: clamp(52px, 8vw, 76px);
    line-height: 1;

    font-weight: 800;
    letter-spacing: -2px;
}


.resultado-principal span {
    color: #171717;

    font-size: 22px;
    font-weight: 700;
}


.resultado-detalhes {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}


.resultado-item {
    min-width: 0;

    padding: 18px 8px;

    border: 1px solid #e3e5e8;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.035);
}


.resultado-item span {
    display: block;

    color: #171717;

    font-size: 21px;
    font-weight: 800;

    overflow-wrap: anywhere;
}


.resultado-item small {
    display: block;

    margin-top: 4px;

    color: #666666;

    font-size: 12px;
    line-height: 1.4;
}



/* =========================================================
   PUBLICIDADE BR4
   ========================================================= */

.publicidade-br4 {
    padding: 52px 0;

    background: #f7f8fa;

    border-top: 1px solid #f0f1f2;
    border-bottom: 1px solid #eeeeee;
}


.br4-card {
    max-width: 1040px;

    min-height: 370px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 45% 55%;

    overflow: hidden;

    border-radius: 20px;

    background: #0f5a94;

    box-shadow:
        0 18px 45px rgba(0, 76, 132, 0.17);
}



/* LADO ESQUERDO */

.br4-card-conteudo {
    position: relative;

    z-index: 2;

    padding: 40px 42px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #0c528c 0%,
            #176ca6 100%
        );

    color: #ffffff;
}


.br4-logo {
    display: block;

    width: 185px;
    max-width: 70%;

    height: auto;

    margin-bottom: 22px;
}


.br4-chamada {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
}


.br4-card h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 29px;
    line-height: 1.25;

    font-weight: 700;
    letter-spacing: -0.4px;
}


.br4-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.94);

    font-size: 15px;
    line-height: 1.65;
}


.br4-btn {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin-top: 22px;
    padding: 0 22px;

    border: 2px solid #ffffff;
    border-radius: 8px;

    background: transparent;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}


.br4-btn:hover {
    background: #ffffff;
    color: #0c528c;

    transform: translateY(-1px);
}



/* LADO DIREITO */

.br4-card-imagem {
    position: relative;

    min-width: 0;
    min-height: 370px;

    overflow: hidden;

    background: #70c4d6;
}


.br4-card-imagem img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    position: absolute;
    inset: 0;
}


.br4-card-imagem::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(15, 90, 148, 0.40) 0%,
            rgba(15, 90, 148, 0.12) 35%,
            rgba(15, 90, 148, 0) 70%
        );
}



/* =========================================================
   CONTEÚDO SEO
   ========================================================= */

.conteudo {
    padding: 72px 0 62px;

    background: #ffffff;
}


.conteudo-container {
    max-width: 850px;
}


.bloco-conteudo {
    padding-bottom: 40px;

    margin-bottom: 40px;

    border-bottom: 1px solid #ededed;
}


.bloco-final {
    margin-bottom: 0;
}


.bloco-conteudo h2 {
    margin-bottom: 15px;

    color: #171717;

    font-size: 29px;
    line-height: 1.3;

    font-weight: 700;
    letter-spacing: -0.4px;
}


.bloco-conteudo p {
    margin-bottom: 16px;

    color: #424242;

    font-size: 16px;
    line-height: 1.85;
}


.bloco-conteudo p:last-child {
    margin-bottom: 0;
}


.bloco-conteudo strong {
    color: #252525;

    font-weight: 700;
}



/* =========================================================
   CARDS DE EXPLICAÇÃO
   ========================================================= */

.cards-explicacao {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-top: 23px;
    margin-bottom: 20px;
}


.card-explicacao {
    padding: 22px;

    border: 1px solid #e5e7e9;
    border-radius: 12px;

    background: #f8f9fa;
}


.card-explicacao h3 {
    margin-bottom: 7px;

    color: #171717;

    font-size: 17px;
    font-weight: 700;
}


.card-explicacao p {
    margin: 0;

    color: #555555;

    font-size: 14px;
    line-height: 1.65;
}


.observacao {
    padding: 14px 17px;

    border-left: 4px solid #CFF250;

    background: #fafbf6;

    border-radius: 0 7px 7px 0;
}



/* =========================================================
   LISTA DE USOS
   ========================================================= */

.lista-usos {
    margin-top: 23px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 11px;
}


.lista-usos div {
    position: relative;

    padding: 13px 15px 13px 39px;

    border: 1px solid #e6e8ea;
    border-radius: 9px;

    background: #fafafa;

    color: #424242;

    font-size: 14px;
}


.lista-usos div::before {
    content: "✓";

    position: absolute;

    left: 15px;
    top: 12px;

    color: #91af00;

    font-weight: 900;
}



/* =========================================================
   FAQ
   ========================================================= */

.faq {
    padding: 65px 0 72px;

    background: #f7f7f7;

    border-top: 1px solid #ededed;
}


.titulo-secao {
    margin-bottom: 26px;
}


.titulo-secao > span {
    display: block;

    margin-bottom: 5px;

    color: #8ca900;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.3px;
}


.titulo-secao h2 {
    margin: 0;

    color: #171717;

    font-size: 30px;
    line-height: 1.25;

    font-weight: 700;
    letter-spacing: -0.4px;
}


.faq-lista {
    border-top: 1px solid #dcdcdc;
}


.faq-item {
    border-bottom: 1px solid #dcdcdc;
}


.faq-item summary {
    position: relative;

    list-style: none;

    padding: 22px 42px 22px 0;

    color: #171717;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;
}


.faq-item summary::-webkit-details-marker {
    display: none;
}


.faq-item summary::after {
    content: "+";

    position: absolute;

    right: 5px;
    top: 50%;

    transform: translateY(-50%);

    color: #8ca900;

    font-size: 24px;
    font-weight: 400;
}


.faq-item[open] summary::after {
    content: "−";
}


.faq-item p {
    max-width: 760px;

    padding: 0 42px 22px 0;

    color: #555555;

    font-size: 15px;
    line-height: 1.75;
}



/* =========================================================
   FERRAMENTAS RELACIONADAS
   ========================================================= */

.ferramentas-relacionadas {
    padding: 55px 0;

    background: #ffffff;
}


.ferramentas-card {
    max-width: 850px;

    margin: 0 auto;

    padding: 32px 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border: 1px solid #e6e7e8;
    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.04);
}


.ferramentas-label {
    display: block;

    margin-bottom: 5px;

    color: #8ca900;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.ferramentas-card h2 {
    margin-bottom: 7px;

    color: #171717;

    font-size: 25px;
    line-height: 1.3;

    font-weight: 700;
}


.ferramentas-card p {
    max-width: 590px;

    margin: 0;

    color: #555555;

    font-size: 15px;
    line-height: 1.7;
}


.btn-ferramentas {
    flex: 0 0 auto;

    min-height: 46px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #CFF250;
    color: #171717;

    font-size: 14px;
    font-weight: 800;

    transition:
        background 0.2s,
        transform 0.2s;
}


.btn-ferramentas:hover {
    background: #c2e845;

    transform: translateY(-1px);
}



/* =========================================================
   RODAPÉ
   ========================================================= */

.rodape {
    padding: 31px 0;

    background: #212226;

    border-top: 1px solid #303136;

    color: #b8b8b8;

    text-align: center;

    font-size: 13px;
}


.rodape p {
    margin: 0;
}



/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(159, 194, 0, 0.45);
    outline-offset: 3px;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .container {
        width: min(100% - 28px, 1120px);
    }


    .topo-container {
        min-height: 70px;
    }


    .logo {
        font-size: 21px;
    }


    .topo nav a {
        font-size: 14px;
    }


    .hero {
        padding: 50px 0 48px;
    }


    .hero h1 {
        font-size: 36px;
    }


    .subtitulo {
        font-size: 16px;
    }


    .calculadora {
        padding: 27px;
    }


    .campos-datas {
        grid-template-columns: 1fr;
    }


    .resultado-detalhes {
        grid-template-columns: repeat(2, 1fr);
    }


    .br4-card {
        grid-template-columns: 1fr;
    }


    .br4-card-conteudo {
        padding: 35px;
    }


    .br4-card-imagem {
        min-height: 300px;
    }


    .br4-card-imagem img {
        position: absolute;
    }


    .br4-card-imagem::after {
        background:
            linear-gradient(
                180deg,
                rgba(15, 90, 148, 0.25),
                rgba(15, 90, 148, 0)
            );
    }


    .cards-explicacao {
        grid-template-columns: 1fr;
    }


    .ferramentas-card {
        flex-direction: column;
        align-items: flex-start;
    }

}



/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }


    .topo-container {
        min-height: 64px;
    }


    .logo {
        font-size: 20px;
    }


    .hero {
        padding: 38px 0 35px;
    }


    .hero h1 {
        font-size: 30px;
        letter-spacing: -0.7px;
    }


    .subtitulo {
        margin-bottom: 30px;

        font-size: 15px;
        line-height: 1.65;
    }


    .calculadora {
        padding: 21px 16px;

        border-radius: 14px;
    }


    .campo input[type="date"] {
        min-height: 54px;

        font-size: 16px;
    }


    .opcoes {
        flex-direction: column;

        gap: 13px;

        margin-top: 21px;
    }


    .btn-calcular {
        min-height: 55px;

        margin-top: 24px;

        font-size: 16px;
    }


    .resultado {
        padding: 24px 13px;
    }


    .resultado-principal strong {
        font-size: 52px;
    }


    .resultado-principal span {
        font-size: 19px;
    }


    .resultado-detalhes {
        gap: 8px;
    }


    .resultado-item {
        padding: 15px 6px;
    }


    .resultado-item span {
        font-size: 18px;
    }


    .resultado-item small {
        font-size: 11px;
    }



    /* BR4 */

    .publicidade-br4 {
        padding: 30px 0;
    }


    .br4-card {
        border-radius: 15px;
    }


    .br4-card-conteudo {
        padding: 27px 21px;
    }


    .br4-logo {
        width: 145px;

        margin-bottom: 17px;
    }


    .br4-chamada {
        font-size: 10px;
    }


    .br4-card h2 {
        font-size: 24px;
    }


    .br4-card p {
        font-size: 14px;
    }


    .br4-btn {
        width: 100%;

        text-align: center;
    }


    .br4-card-imagem {
        min-height: 235px;
    }



    /* CONTEÚDO */

    .conteudo {
        padding: 48px 0 38px;
    }


    .bloco-conteudo {
        padding-bottom: 32px;

        margin-bottom: 32px;
    }


    .bloco-conteudo h2 {
        font-size: 22px;
    }


    .bloco-conteudo p {
        font-size: 15px;
        line-height: 1.8;
    }


    .cards-explicacao {
        margin-top: 18px;
    }


    .lista-usos {
        grid-template-columns: 1fr;
    }



    /* FAQ */

    .faq {
        padding: 42px 0 52px;
    }


    .titulo-secao h2 {
        font-size: 24px;
    }


    .faq-item summary {
        padding: 19px 35px 19px 0;

        font-size: 16px;
    }


    .faq-item p {
        padding-right: 0;

        font-size: 14px;
    }



    /* FERRAMENTAS */

    .ferramentas-relacionadas {
        padding: 35px 0;
    }


    .ferramentas-card {
        padding: 25px 20px;

        border-radius: 13px;
    }


    .ferramentas-card h2 {
        font-size: 22px;
    }


    .btn-ferramentas {
        width: 100%;
    }

}

/* =========================================================
   OUTRAS FERRAMENTAS - CARDS PADRÃO OSEIASPLAY
   ========================================================= */

.ferramentas-relacionadas {
    padding: 55px 0;
    background: #ffffff;
}

.links-internos {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.link-interno-card {
    min-height: 158px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f7f8fa;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    color: #374151;
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.link-interno-card:hover {
    transform: translateY(-3px);
    border-color: #CFF250;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.07);
}

.link-interno-icone {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2ffd2;
    border-radius: 10px;
    font-size: 22px;
}

.link-interno-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.link-interno-card strong {
    display: block;
    margin-bottom: 5px;
    color: #111827;
    font-size: 16px;
}

.link-interno-card p {
    flex: 1;
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.55;
}

.link-interno-card span {
    color: #739600;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .links-internos {
        grid-template-columns: 1fr;
    }

    .link-interno-card {
        min-height: 0;
    }
}

