@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

/* =====================================
RESET
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Fjalla One", sans-serif;
    background: #ffffff;
    color: #1e293b;
    overflow: hidden;
}

/* =====================================
VARIÁVEIS
===================================== */

:root {

    --blue-1: #0a3a66;
    --blue-2: #1e5a96;
    --blue-3: #2d7fbd;
    --blue-4: #3a9fd6;

    --yellow: #f6c544;

    --text: #1f2937;

    --max-width: 1000px;
}

/* =====================================
SLIDER
===================================== */

.article-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* =====================================
PÁGINAS
===================================== */

.article-page {

    position: absolute;

    inset: 0;

    overflow-y: auto;

    background: #ffffff;

    opacity: 0;
    visibility: hidden;

    transform: translateX(100px);

    transition: .6s;
}

.article-page.active {

    opacity: 1;

    visibility: visible;

    transform: translateX(0);
}


/* =====================================
HERO
===================================== */

.hero-header {
    position: relative;
    min-height: 100vh;
    padding:
        clamp(5rem, 12vw, 10rem) clamp(2rem, 8vw, 8rem);
    background:
        linear-gradient(135deg,
            #0a3a66 0%,
            #1e5a96 25%,
            #2d7fbd 50%,
            #3a9fd6 75%,
            #2b6fa8 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* GRID */

.hero-header::after {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(0deg,
            transparent 24%,
            rgba(255, 255, 255, .08) 25%,
            rgba(255, 255, 255, .08) 26%,
            transparent 27%,
            transparent 74%,
            rgba(255, 255, 255, .08) 75%,
            rgba(255, 255, 255, .08) 76%,
            transparent 77%),

        linear-gradient(90deg,
            transparent 24%,
            rgba(255, 255, 255, .08) 25%,
            rgba(255, 255, 255, .08) 26%,
            transparent 27%,
            transparent 74%,
            rgba(255, 255, 255, .08) 75%,
            rgba(255, 255, 255, .08) 76%,
            transparent 77%);

    background-size: 50px 50px;

    animation: gridMove 14s linear infinite;

    opacity: .7;
}

@keyframes gridMove {

    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 50px);
    }
}

.hero-content {

    position: relative;
    z-index: 5;
    max-width: 1400px;
}

.article-tag {

    display: inline-flex;

    padding: 12px 22px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .12);

    backdrop-filter: blur(15px);

    color: white;

    font-size: .9rem;

    font-weight: 700;

    letter-spacing: 1px;

    border:
        1px solid rgba(255, 255, 255, .2);
}

.hero-content h1 {

    font-family: "Fjalla One", sans-serif;

    color: white;

    font-weight: 800;

    font-size:
        clamp(3.5rem, 8vw, 7rem);
    line-height: 1.1;
    margin-top: 25px;
    max-width: 1400px;
}

/* =====================================
META
===================================== */

.meta {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 40px;
}

.meta span {

    background:
        rgba(255, 255, 255, .12);

    color: white;

    padding: 12px 20px;

    border-radius: 999px;

    backdrop-filter: blur(15px);

    border:
        1px solid rgba(255, 255, 255, .15);

    font-weight: 600;
}

/* ==========================
BOTÕES DE CONTATO
========================== */

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}



/* =====================================
IMAGEM HERO
===================================== */

.hero-image-section {

    max-width: 1400px;

    margin: auto;

    padding:
        60px 40px;
}

.hero-image-section img {
    width: 100%;
    border-radius: 32px;
    display: block;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, .15);
}

/* =====================================
CONTEÚDO
===================================== */

.article-content {
    max-width: var(--max-width);
    margin: auto;
    padding: 80px 30px 140px;
}

/* =====================================
H2
===================================== */

.article-content h2, h3 {
    font-family: "Fjalla One", sans-serif;
    font-size:
        clamp(2.4rem,
            4vw,
            4rem);

    line-height: 1.1;
    margin-bottom: 40px;
    color: #0f172a;
}



/* =====================================
P
===================================== */

.article-content p {
    font-family: "Fjalla One", sans-serif;
    font-size: 1.15rem;

    line-height: 2;

    margin-bottom: 24px;

    color: #334155;

    text-align: justify;
}

/* =====================================
UL
===================================== */

.article-content ul {
    margin:
        20px 0 35px 30px;
}

.article-content li {
    margin-bottom: 14px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* =====================================
IMAGENS INTERNAS
===================================== */

.article-content img {

    width: 100%;

    display: block;

    margin:
        40px 0 50px;

    border-radius: 24px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .12);
}

/* =====================================
CTA
===================================== */

.cta-box {
    margin-top: 70px;
    padding: 50px;
    border-radius: 30px;
    border:
        1px solid rgb(190, 186, 186);
}

.cta-box h3 {

    margin-top: 0;

    font-size: 2rem;

    font-family: "Fjalla One", sans-serif;
}

.cta-box p {

    margin-top: 15px;
}

.btn-contato-artigo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: black;
    border: 1px solid rgb(56, 55, 55);
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: .6s;
}

.btn-contato-artigo:hover {
    background: #fdfdfd;
    color: rgb(46, 45, 45);
}

/* =====================================
HOME
===================================== */

.home-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
    background:
        rgba(255, 255, 255, 0);

    backdrop-filter: blur(20px);
    border:
        1px solid rgb(0, 0, 0);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, .15);
    transition: .4s;
    z-index: 9999;
}

.whatsapp-btn {
    position: fixed;
    top: 110px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
    background: rgb(13, 143, 22);
    border: 1px solid #ffffff79;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    transition: .4s;
    z-index: 9999;
}

.whatsapp-btn:hover {
    transform: translateY(-6px) scale(1.05);
    background: #25d366;
    color: #ffffff;
}

.home-btn:hover {
    transform:
        translateY(-6px) scale(1.05);
    background:
        rgb(0, 0, 0);

    color: #ffffff;
}



/* =====================================
CONTADOR
===================================== */

.page-counter {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgb(0, 0, 0);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    z-index: 999;
}

/* =====================================
SETAS
===================================== */

.article-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding-bottom: 100px;
}

.article-nav button {
    width: 50px;
    height: 50px;
    border-radius: 24px;
    background: #527aff;
    backdrop-filter: blur(20px);
    border: 1px solid rgb(0, 0, 0);
    color: rgb(0, 0, 0);
    font-size: 1rem;
    animation: float 3s ease-in-out infinite;
    transition: .4s;
    cursor: pointer;
}

.article-nav button:hover {
    transform: translateY(-4px) scale(1.1);
}

.article-nav button:disabled {

    opacity: .35;

    cursor: not-allowed;

    transform: none;
}

/* ==========================
BOTÃO VOLTAR AO TOPO
========================== */

.topPage {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background: #ffffff;

    border: 1px solid #000;

    color: #000;
    text-decoration: none;

    transition: .3s;
}

.topPage:hover {
    transform: translateY(-4px);
}

/* =====================================
RESPONSIVO
===================================== */

@media(max-width:768px) {

    .hero-header {
        padding:
            80px 20px 60px;
    }

    .hero-image-section {
        padding:
            30px 16px;
    }

    .article-content {
        padding:
            40px 24px 120px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .article-content>* {
        width: 100%;
        max-width: 600px;
    }

    .hero-content h1 {

        font-size:
            clamp(2.2rem,
                12vw,
                5rem);
    }

    .article-content h2 {
        margin-top: 50px;
    }

    .article-content p {
        font-size: 1.05rem;
    }

    .article-nav {

        right: 20px;
        padding-bottom: 150px !important;
    }

    .article-nav button {
        width: 58px;
        height: 58px;
        font-size: 1.3rem;
    }

    .home-btn {
        top: 10px !important;
        left: 20px;
    }

    .whatsapp-btn {
        top: 10px !important;
        left: 92px;
    }

}

/* TELAS PEQUENAS */
@media(max-width:480px) {

    .hero-header {
        padding:
            60px 16px 50px;
    }

    .hero-image-section {
        padding:
            20px 12px;
    }

    .article-content {
        padding:
            30px 16px 100px;
    }

    .article-content>* {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size:
            clamp(1.8rem,
                10vw,
                3rem);
        margin-top: 20px;
    }

    .article-tag {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .meta {
        gap: 8px;
        margin-top: 20px;
    }

    .meta span {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .article-content h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-top: 35px;
        margin-bottom: 25px;
    }

    .article-content h3 {
        margin-top: 30px;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    .article-content p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .article-content ul {
        margin: 15px 0 25px 24px;
    }

    .article-content li {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .article-content img {
        margin: 30px 0 35px;
        border-radius: 16px;
    }

    .cta-box {
        padding: 30px 20px;
        margin-top: 50px;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .home-btn {
        width: 50px;
        height: 50px;
        top: 60px;
        left: 20px;
        font-size: 1.2rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        top: 60px;
        left: 82px;
        font-size: 1.2rem;
    }

    .page-counter {
        top: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .article-nav button {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

}