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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f4f7fb;
    color:#111827;
}

/* HERO */

.hero{
    background:linear-gradient(135deg,#07152f,#0f2d63);
    color:white;
    padding-bottom:90px;
}

.navbar{
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:28px 20px;
    position:relative;
    z-index:2;
}

.logo{
    font-size:28px;
    font-weight:800;
}

.menu{
    display:flex;
    gap:24px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:500;
    opacity:0.9;
    transition:0.2s;
}

.menu a:hover{
    opacity:1;
}

.hero-content{
    max-width:900px;
    margin:auto;
    text-align:center;
    padding:60px 20px 0;
}

.badge{
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.2);
    padding:10px 18px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    display:inline-block;
    margin-bottom:24px;
}

.hero-content h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:24px;
    font-weight:800;
}

.hero-content p{
    font-size:20px;
    line-height:1.7;
    opacity:0.9;
    max-width:700px;
    margin:auto;
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    gap:18px;
    justify-content:center;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    padding:16px 28px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    transition:0.2s;
    display:inline-block;
}

.btn-primary{
    background:#22c55e;
    color:white;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,0.2);
    color:white;
}

/* CATEGORIAS */

.categories{
    max-width:1200px;
    margin:-45px auto 50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
    padding:0 20px;
}

.category-card{
    background:white;
    border-radius:18px;
    padding:22px;
    text-align:center;
    font-weight:700;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

/* CONTAINER */

.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.section-title{
    margin-bottom:35px;
}

.section-title h2{
    font-size:38px;
    margin-bottom:10px;
}

.section-title p{
    color:#6b7280;
}

/* GRID */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:28px;
}

/* CARD */

.card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:0.25s;
}

.card:hover{
    transform:translateY(-6px);
}

.thumb{
    height:210px;
    border-radius:24px 24px 0 0;
    overflow:hidden;
    background:#07152f;
}

.thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.card-content{
    padding:26px;
}

.categoria{
    color:#2563eb;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
}

.card h3{
    font-size:28px;
    line-height:1.3;
    margin:14px 0;
}

.card p{
    color:#4b5563;
    line-height:1.7;
}

.read-more{
    margin-top:24px;
    font-weight:700;
    color:#111827;
}

/* FOOTER */

.footer{
    margin-top:100px;
    background:#07152f;
    color:white;
}

.footer-content{
    max-width:1200px;
    margin:auto;
    padding:60px 20px;
    text-align:center;
}

.footer-content h3{
    font-size:32px;
    margin-bottom:20px;
}

.footer-content p{
    opacity:0.8;
    margin-bottom:20px;
}

/* ARTIGO */

.article-header{
    background:#07152f;
    position:relative;
}

.article-banner{
    width:100%;
    height:500px;
    overflow:hidden;
    position:relative;
}

.article-banner::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,rgba(0,0,0,0.35),rgba(0,0,0,0.55));
}

.article-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.article-header .navbar{
    position:absolute;
    top:0;
    left:0;
    right:0;
}

.article-hero{
    background:linear-gradient(135deg,#07152f,#0f2d63);
    color:white;
    padding:60px 20px 100px;
}

.article-hero-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.article-category{
    display:inline-block;
    margin-bottom:22px;
    background:rgba(255,255,255,0.1);
    padding:10px 18px;
    border-radius:999px;
    color:white;
}

.article-hero h1{
    font-size:56px;
    line-height:1.15;
    margin-bottom:24px;
    font-weight:800;
}

.article-summary{
    font-size:21px;
    line-height:1.8;
    opacity:0.92;
}

.article-container{
    max-width:900px;
    margin:-60px auto 0;
    padding:0 20px 40px;
    position:relative;
    z-index:2;
}

.article-content{
    background:white;
    border-radius:28px;
    padding:60px;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

.conteudo{
    font-size:20px;
    line-height:1.9;
    color:#374151;
}

.conteudo h2{
    margin-top:50px;
    margin-bottom:20px;
    color:#111827;
    font-size:34px;
    line-height:1.3;
}

.conteudo h3{
    margin-top:40px;
    margin-bottom:18px;
    color:#111827;
    font-size:28px;
}

.conteudo p{
    margin-bottom:24px;
}

.conteudo ul,
.conteudo ol{
    margin-left:24px;
    margin-bottom:24px;
}

.conteudo li{
    margin-bottom:12px;
}

.conteudo strong{
    color:#111827;
}

.conteudo img{
    max-width:100%;
    border-radius:18px;
    margin:30px 0;
}

.cta-box{
    padding:70px 20px;
}

.cta-content{
    max-width:900px;
    margin:auto;
    background:linear-gradient(135deg,#1d4ed8,#22c55e);
    color:white;
    border-radius:28px;
    padding:60px;
    text-align:center;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

.cta-content h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta-content p{
    font-size:20px;
    opacity:0.95;
    margin-bottom:30px;
}

/* ADMIN */

.topo{
    background:linear-gradient(135deg,#07152f,#0f2d63);
    color:white;
    padding:60px 20px;
    text-align:center;
}

.topo h1{
    font-size:42px;
    margin-bottom:10px;
}

.topo p{
    opacity:0.85;
}

.acoes-admin{
    display:flex;
    gap:16px;
    margin:40px 0;
    flex-wrap:wrap;
}

.btn{
    background:#2563eb;
    color:white;
    padding:12px 20px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    display:inline-block;
    transition:0.2s;
    border:none;
    cursor:pointer;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn.secundario{
    background:#6b7280;
}

.btn.danger{
    background:#dc2626;
}

.btn.small{
    padding:8px 14px;
    font-size:14px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

thead{
    background:#07152f;
    color:white;
}

th,
td{
    padding:18px;
    text-align:left;
    border-bottom:1px solid #e5e7eb;
}

tr:hover{
    background:#f9fafb;
}

/* FORMULÁRIOS */

form{
    background:white;
    padding:40px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

form label{
    display:block;
    margin-bottom:10px;
    margin-top:25px;
    font-weight:700;
}

form input,
form textarea,
form select{
    width:100%;
    padding:16px;
    border-radius:14px;
    border:1px solid #d1d5db;
    font-size:16px;
    font-family:'Inter',sans-serif;
}

form textarea{
    min-height:260px;
    resize:vertical;
}

form button{
    margin-top:30px;
}

/* RESPONSIVO */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-content h1{
        font-size:40px;
    }

    .hero-content p{
        font-size:18px;
    }

    .section-title h2{
        font-size:30px;
    }

    .card h3{
        font-size:22px;
    }

    .article-banner{
        height:280px;
    }

    .article-hero{
        padding:40px 20px 80px;
    }

    .article-hero h1{
        font-size:38px;
    }

    .article-summary{
        font-size:18px;
    }

    .article-content{
        padding:32px;
    }

    .conteudo{
        font-size:18px;
    }

    .conteudo h2{
        font-size:28px;
    }

    .conteudo h3{
        font-size:24px;
    }

    .cta-content{
        padding:40px 25px;
    }

    .cta-content h2{
        font-size:30px;
    }

    .topo h1{
        font-size:32px;
    }

    table{
        display:block;
        overflow-x:auto;
    }

    form{
        padding:25px;
    }

}
