/*
Theme Name: NAEP 2025
Theme URI: https://naep.org.br
Author: Mario & ChatGPT
Description: Tema personalizado para o NAEP, usando Bootstrap 5, jQuery, Slick Slider e Lightbox, com integração ACF.
Version: 1.0
License: GPL-2.0-or-later
Text Domain: naep-2025
*/

:root {
    --naep-primary: #0A3A4A;
    --naep-primary-light: #157AA6;
    --naep-bg-light: #F7F9FA;
    --naep-text-main: #848484;
    --naep-text-muted: #4A4A4A;
    --naep-radius-lg: 18px;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--naep-text-main);
    background: radial-gradient(circle at top left, rgba(21, 122, 166, 0.08), transparent 55%), radial-gradient(circle at bottom right, rgba(255, 184, 0, 0.08), transparent 55%), #F4F6FA;
    background-color: var(--naep-bg-light);
    font-weight: 300;
}

    .btn-primary, .naep-btn {
        display: inline-block;
        padding: 0.55rem 1.7rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #7c3aed, #ec4899);
        color: #ffffff;
        border: none;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
        transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    }

    .btn-primary:hover, naep-btn:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
        border: none;
        box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45);
    }

.naep-btn-outline {
    display: inline-block;
    padding: 0.55rem 1.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
    background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, darkblue, darkorchid) border-box;
    border-radius: 50em;
    background-clip: padding-box, border-box;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, #7c3aed, #ec4899);
    transition: 0.2s ease;

}




/* NAVBAR */

.naep-nav {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.naep-nav .naep-logo img {
    max-height: 54px;
}

.naep-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    box-shadow: 0 22px 40px rgba(3, 20, 29, 0.16);
}

.naep-menu.open {
    display: flex;
}

.naep-menu li a {
    text-decoration: none;
    color: var(--naep-text-main);
    font-weight: 500;
    padding: 4px 0;
}

.naep-menu li.current-menu-item > a,
.naep-menu li a:hover {
    color: var(--naep-primary-light);
}

/* Mobile menu button */

.naep-menu-btn {
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.naep-menu-btn span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: var(--naep-primary);
    transition: transform .2s ease, opacity .2s ease;
}

.naep-menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.naep-menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.naep-menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 992px) {
    .naep-menu {
        position: static;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        box-shadow: none;
        padding: 0;
    }

    .naep-menu-btn {
        display: none;
    }
}

/* HERO */

.naep-hero {
    padding: 64px 0 40px;
    background: radial-gradient(circle at top left, rgba(21, 122, 166, 0.12), transparent 55%),
                linear-gradient(180deg, #ffffff 0%, #F7F9FA 100%);
}

.naep-hero-eyebrow {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: .12em;
    color: var(--naep-primary-light);
}

.naep-hero-title {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--naep-primary);
}

.naep-hero-text {
    font-size: 1rem;
    color: var(--naep-text-muted);
    max-width: 520px;
}

/* SECTION CARDS */

.naep-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--naep-primary);
}

.naep-section-subtitle {
    color: var(--naep-text-muted);
    font-size: .95rem;
}

.naep-card {
    border-radius: var(--naep-radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(3, 20, 29, 0.06);
    padding: 20px 20px 18px;
    height: 100%;
}

.naep-card h3,
.naep-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.naep-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--naep-primary-light);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(21, 122, 166, 0.06);
}

/* FOOTER */

.naep-footer {
    background: #041820;
    color: #D7E0E4;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.naep-footer a {
    color: #D7E0E4;
    text-decoration: none;
}

.naep-footer a:hover {
    text-decoration: underline;
}

.naep-footer-logo img {
    max-height: 46px;
}

.naep-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 24px;
    padding-top: 16px;
    font-size: 0.8rem;
}

/* UTILITÁRIOS */

.badge-naep {
    border-radius: 999px;
    background: rgba(10, 58, 74, 0.05);
    color: var(--naep-primary);
    padding: 4px 10px;
    font-size: 0.75rem;
}

.naep-metric {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.naep-metric-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
}

/* BLOG / PÁGINAS */

.entry-title {
    color: var(--naep-primary);
}
.entry-content {
    color: var(--naep-text-main);
}

.entry-content a {
    color: var(--naep-primary-light);
}
.entry-content a:hover {
    text-decoration: underline;
}
