:root {
    --amarelo: #ffcc00;
    --laranja: #ff7a00;
    --rosa: #ff2fa6;
    --ciano: #00d4ff;
    --roxo: #7c3cff;
    --grafite: #11131a;
    --grafite-2: #1b1f2a;
    --branco: #ffffff;
    --cinza: #f4f4f7;
    --texto: #222;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--texto);
    background:
        radial-gradient(circle at top left, rgba(255,47,166,.14), transparent 32%),
        radial-gradient(circle at top right, rgba(0,212,255,.14), transparent 30%),
        #f6f6f9;
}

a { text-decoration: none; }

img { max-width: 100%; }

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 19, 26, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    min-height: 82px;
}

.site-navbar .container {
    min-height: 82px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.brand-logo-img {
    display: block;
    width: auto;
    height: 58px;
    max-width: 230px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.28));
}

.navbar .nav-link {
    color: rgba(255,255,255,.82);
    font-weight: 650;
    font-size: .95rem;
}

.navbar .nav-link:hover { color: var(--amarelo); }

.btn-neon {
    border: 0;
    color: #111;
    font-weight: 850;
    border-radius: 999px;
    padding: .75rem 1.2rem;
    background: linear-gradient(135deg, var(--amarelo), var(--rosa));
    box-shadow: 0 12px 30px rgba(255,47,166,.24);
}

.btn-outline-light-soft {
    color: #fff;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 999px;
    padding: .7rem 1rem;
    font-weight: 750;
    background: rgba(17,19,26,.16);
}

.btn-outline-light-soft:hover {
    color: #111;
    background: #fff;
}

.hero-main {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    color: #fff;
    background: linear-gradient(135deg, #ffcc00 0%, #ff8c00 38%, #ff2fa6 100%);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(9,10,18,.88) 0%, rgba(9,10,18,.64) 37%, rgba(9,10,18,.16) 72%, rgba(9,10,18,.05) 100%),
        linear-gradient(180deg, rgba(0,0,0,.15), rgba(17,19,26,.85));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .32;
    background-image:
        radial-gradient(rgba(255,255,255,.18) 2px, transparent 2px),
        linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.16) 42% 43%, transparent 43%);
    background-size: 24px 24px, 100% 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 115px 0 135px;
}

.hero-kicker,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    color: #111;
    background: rgba(255,255,255,.92);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .08em;
}

.section-label {
    background: linear-gradient(135deg, rgba(255,204,0,.95), rgba(255,47,166,.92));
    color: #111;
    margin-bottom: .85rem;
}

.hero-title {
    margin-top: 1.1rem;
    font-size: clamp(2.55rem, 6vw, 5.7rem);
    line-height: .92;
    font-weight: 950;
    letter-spacing: -0.07em;
    text-shadow: 0 16px 40px rgba(0,0,0,.32);
}

.hero-title span {
    color: var(--amarelo);
    -webkit-text-stroke: 1px rgba(255,255,255,.35);
}

.hero-subtitle {
    max-width: 680px;
    margin-top: 1.2rem;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-weight: 650;
    color: rgba(255,255,255,.94);
    text-shadow: 0 6px 20px rgba(0,0,0,.32);
}

.hero-float-card {
    margin-left: auto;
    width: min(420px, 100%);
    padding: 1.4rem;
    border-radius: 28px;
    background: rgba(17,19,26,.60);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(12px);
    display: flex;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.hero-float-card i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--amarelo), var(--rosa));
    color: #111;
    font-size: 1.8rem;
}

.hero-float-card span {
    font-weight: 900;
    font-size: 1.1rem;
}

.category-strip {
    margin-top: -54px;
    position: relative;
    z-index: 10;
}

.category-box {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(17,19,26,.08);
    box-shadow: 0 20px 60px rgba(17,19,26,.16);
    border-radius: 28px;
    padding: 1rem;
    backdrop-filter: blur(12px);
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: .35rem;
    padding: .7rem .95rem;
    border-radius: 999px;
    color: #111;
    background: #fff;
    font-weight: 850;
    border: 1px solid rgba(17,19,26,.08);
    transition: .2s ease;
}

.cat-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(17,19,26,.12);
    color: #111;
}

.section-pad { padding: 78px 0; }

.section-dark {
    background: #11131a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 10%, rgba(255,47,166,.18), transparent 25%),
        radial-gradient(circle at 90% 20%, rgba(0,212,255,.18), transparent 25%);
}

.section-content { position: relative; z-index: 2; }

.section-title {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    margin-bottom: .6rem;
}

.section-desc {
    color: #666;
    max-width: 760px;
    font-size: 1.05rem;
}

.section-dark .section-desc { color: rgba(255,255,255,.72); }

.portal-card,
.news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17,19,26,.08);
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(17,19,26,.08);
    transition: .22s ease;
}

.portal-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 65px rgba(17,19,26,.14);
}

.portal-card-img,
.news-img {
    display: block;
    height: 235px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amarelo), var(--rosa), var(--ciano));
}

.portal-card-img img,
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .28s ease;
}

.portal-card:hover img,
.news-card:hover img { transform: scale(1.04); }

.portal-card-body,
.news-body { padding: 1.45rem; }

.portal-card-body span {
    color: var(--rosa);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.portal-card-body h3,
.news-body h3 {
    margin: .35rem 0 .65rem;
    color: #11131a;
    font-size: 1.32rem;
    font-weight: 930;
    line-height: 1.08;
}

.portal-card-body p,
.news-body p { color: #5d6270; line-height: 1.55; }

.mini-link { color: var(--rosa); font-weight: 900; }

.headline-news,
.empty-news-showcase {
    overflow: hidden;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(17,19,26,.08);
    box-shadow: 0 24px 70px rgba(17,19,26,.11);
}

.headline-img {
    height: 100%;
    min-height: 430px;
    display: block;
    background: linear-gradient(135deg, var(--amarelo), var(--rosa));
}

.headline-img img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.headline-content { padding: clamp(2rem, 4vw, 3rem); }

.headline-content h2 {
    margin: 1rem 0;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.headline-content h2 a,
.news-body h3 a { color: #11131a; }

.headline-content h2 a:hover,
.news-body h3 a:hover { color: var(--rosa); }

.badge-cat {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .35rem .7rem;
    color: #111;
    background: var(--amarelo);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.news-meta {
    color: #777;
    font-size: .88rem;
    font-weight: 650;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.empty-news-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.empty-news-showcase img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.empty-news-showcase div { padding: clamp(2rem, 4vw, 3rem); }

.visual-category {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 50px rgba(17,19,26,.14);
}

.visual-category img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
}

.visual-category:hover img { transform: scale(1.06); }

.visual-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,19,26,.06), rgba(17,19,26,.85));
}

.visual-category-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.4rem;
}

.visual-category-content i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #111;
    background: linear-gradient(135deg, var(--amarelo), var(--rosa));
    margin-bottom: .8rem;
}

.visual-category-content h3 {
    font-weight: 950;
    font-size: 1.45rem;
    margin-bottom: .3rem;
}

.visual-category-content p {
    color: rgba(255,255,255,.82);
    margin: 0;
    font-size: .92rem;
}

.social-feature {
    border-radius: 34px;
    padding: clamp(1rem, 3vw, 2rem);
    background: #fff;
    box-shadow: 0 24px 70px rgba(17,19,26,.10);
    border: 1px solid rgba(17,19,26,.08);
    overflow: hidden;
}

.social-feature img {
    width: 100%;
    border-radius: 26px;
    display: block;
}

.image-feature-card {
    position: relative;
    min-height: 460px;
    border-radius: 34px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

.image-feature-card.small-feature { min-height: 390px; }

.image-feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.80));
}

.image-feature-text {
    position: absolute;
    z-index: 2;
    inset: auto 0 0 0;
    padding: clamp(1.5rem, 3vw, 2.4rem);
}

.image-feature-text h2,
.ani-feature-card h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: .95;
}

.image-feature-text p,
.ani-feature-card p { color: rgba(255,255,255,.82); font-weight: 600; }

.ani-feature-card {
    min-height: 460px;
    border-radius: 34px;
    padding: 2rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(0,212,255,.28), transparent 36%),
        linear-gradient(135deg, #151827, #2b1632 55%, #11131a);
    box-shadow: 0 26px 70px rgba(0,0,0,.22);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.ani-feature-card img {
    position: absolute;
    right: -8%;
    top: 3%;
    width: 65%;
    max-height: 76%;
    object-fit: contain;
    filter: drop-shadow(0 22px 22px rgba(0,0,0,.35));
}

.ani-feature-card div { position: relative; z-index: 2; max-width: 82%; }

.footer {
    background: #0b0d12;
    color: rgba(255,255,255,.72);
    padding: 45px 0;
}

.footer h6 { color: #fff; font-weight: 900; }
.footer p { margin-bottom: .35rem; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--amarelo); }

@media (max-width: 991px) {
    .hero-main { min-height: auto; }
    .hero-content { padding: 80px 0 118px; }
    .hero-shade { background: linear-gradient(180deg, rgba(9,10,18,.82), rgba(9,10,18,.58), rgba(17,19,26,.88)); }
    .category-strip { margin-top: -40px; }
    .empty-news-showcase { grid-template-columns: 1fr; }
    .empty-news-showcase img { height: 260px; }
    .headline-img,
    .headline-img img { min-height: 300px; }
    .ani-feature-card img { opacity: .38; right: -18%; width: 86%; }
}

@media (max-width: 575px) {
    .hero-content { padding: 62px 0 105px; }
    .section-pad { padding: 58px 0; }
    .portal-card-img, .news-img { height: 200px; }
    .visual-category { min-height: 300px; }
    .image-feature-card,
    .ani-feature-card { min-height: 390px; }
}

/* Ajustes v4 - hero mais limpo, notícias sem painéis duplicados e destaque da ANI */
.hero-main {
    min-height: 590px;
}

.hero-bg-img {
    object-position: center center;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(9,10,18,.82) 0%, rgba(9,10,18,.50) 34%, rgba(9,10,18,.12) 70%, rgba(9,10,18,.04) 100%),
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(17,19,26,.72));
}

.hero-content {
    padding: 245px 0 82px;
}

.hero-content .col-lg-6:first-child {
    max-width: 560px;
}

.hero-content .col-lg-6:first-child > .hero-kicker,
.hero-content .col-lg-6:first-child > .hero-title,
.hero-content .col-lg-6:first-child > .hero-subtitle,
.hero-content .col-lg-6:first-child > .d-flex {
    position: relative;
    z-index: 4;
}

.hero-content .col-lg-6:first-child::before {
    content: "";
    position: absolute;
    inset: 220px auto 56px 0;
    width: min(590px, 92vw);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(9,10,18,.68), rgba(9,10,18,.34));
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 70px rgba(0,0,0,.20);
    z-index: 0;
}

.hero-title {
    max-width: 520px;
    font-size: clamp(2.15rem, 4.8vw, 4.55rem);
    line-height: .96;
    letter-spacing: -0.055em;
}

.hero-subtitle {
    max-width: 520px;
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.55;
}

.explore-section {
    padding-top: 64px;
}

.empty-news-inline {
    display: grid;
    grid-template-columns: minmax(240px, 420px) 1fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.empty-news-inline img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 22px;
}

.empty-news-inline h3 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    font-weight: 950;
    line-height: 1;
    margin: .5rem 0 .8rem;
}

.empty-news-inline p {
    color: rgba(255,255,255,.72);
    margin: 0;
}

.ani-singularidade-highlight {
    background:
        radial-gradient(circle at top left, rgba(255,47,166,.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0,212,255,.18), transparent 34%),
        #f6f6f9;
}

.ani-spotlight {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 38px;
    background:
        linear-gradient(135deg, #121421 0%, #251739 55%, #11131a 100%);
    color: #fff;
    box-shadow: 0 30px 85px rgba(17,19,26,.20);
    border: 1px solid rgba(255,255,255,.10);
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
}

.ani-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,204,0,.25), transparent 26%),
        radial-gradient(circle at 40% 78%, rgba(255,47,166,.20), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(0,212,255,.22), transparent 28%);
    pointer-events: none;
}

.ani-spotlight-image,
.ani-spotlight-content {
    position: relative;
    z-index: 2;
}

.ani-spotlight-image {
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem 1rem 0;
}

.ani-spotlight-image img {
    max-height: 450px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(0,0,0,.40));
}

.ani-spotlight-content {
    padding: clamp(2rem, 5vw, 4.2rem);
}

.ani-spotlight-content .section-desc {
    color: rgba(255,255,255,.76);
    font-weight: 600;
}

.btn-outline-dark-soft {
    color: #fff;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 999px;
    padding: .7rem 1rem;
    font-weight: 750;
    background: rgba(255,255,255,.08);
}

.btn-outline-dark-soft:hover {
    color: #111;
    background: #fff;
}

.event-wide {
    min-height: 430px;
}

@media (max-width: 991px) {
    .hero-content {
        padding: 190px 0 95px;
    }

    .hero-content .col-lg-6:first-child::before {
        inset: 165px 12px 56px 12px;
        width: auto;
    }

    .hero-title,
    .hero-subtitle,
    .hero-kicker,
    .hero-content .d-flex {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .ani-spotlight {
        grid-template-columns: 1fr;
    }

    .ani-spotlight-image {
        min-height: 320px;
        order: 2;
        opacity: .95;
    }

    .ani-spotlight-image img {
        max-height: 350px;
    }

    .empty-news-inline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .hero-content {
        padding: 155px 0 82px;
    }

    .hero-content .col-lg-6:first-child::before {
        inset: 132px 8px 42px 8px;
        border-radius: 24px;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3.35rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .ani-spotlight {
        border-radius: 28px;
    }

    .ani-spotlight-content {
        padding: 1.5rem;
    }
}


/* Ajustes v5 - alinhamento do texto no hero principal */
.hero-content {
    padding: 190px 0 76px;
}

.hero-content .col-lg-6:first-child {
    position: relative;
    max-width: 620px;
    padding: clamp(1.45rem, 3vw, 2.45rem);
}

.hero-content .col-lg-6:first-child::before {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.hero-content .col-lg-6:first-child > .hero-kicker,
.hero-content .col-lg-6:first-child > .hero-title,
.hero-content .col-lg-6:first-child > .hero-subtitle,
.hero-content .col-lg-6:first-child > .d-flex {
    margin-left: 0;
    margin-right: 0;
}

.hero-title {
    margin-top: 1.15rem;
    margin-bottom: 0;
    max-width: 540px;
    font-size: clamp(2.05rem, 4.6vw, 4.25rem);
    line-height: .98;
}

.hero-subtitle {
    max-width: 530px;
    margin-top: 1.05rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .hero-content {
        padding: 155px 12px 82px;
    }

    .hero-content .col-lg-6:first-child {
        max-width: 600px;
        padding: 1.55rem;
        margin-left: 0;
    }

    .hero-content .col-lg-6:first-child::before {
        inset: 0;
        width: 100%;
    }

    .hero-title,
    .hero-subtitle,
    .hero-kicker,
    .hero-content .d-flex {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 575px) {
    .hero-content {
        padding: 130px 12px 72px;
    }

    .hero-content .col-lg-6:first-child {
        padding: 1.25rem;
    }

    .hero-content .col-lg-6:first-child::before {
        inset: 0;
        border-radius: 24px;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 3.1rem);
        letter-spacing: -0.05em;
    }

    .hero-subtitle {
        font-size: .98rem;
    }

    .hero-content .d-flex {
        gap: .7rem !important;
    }

    .hero-content .btn {
        padding: .65rem .85rem;
        font-size: .92rem;
    }
}


@media (max-width: 680px) {
    .brand-logo-img {
        height: 46px;
        max-width: 180px;
    }

    .site-navbar,
    .site-navbar .container {
        min-height: 68px;
    }
}
