/* ===========================
   HERO GLASS CLOUD PREMIUM
=========================== */

.blog-hero {
    position: relative;
    height: 32vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
}

.blog-hero-title {
    position: relative;
    z-index: 2;
    font-family: "Evo2", Arial, sans-serif;
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 900;
    color: #e8f8ff;
    text-shadow:
        0 0 12px rgba(102,204,255,0.85),
        0 0 28px rgba(102,204,255,0.55);
    animation: fadeUp 0.9s ease forwards;
}

.blog-hero-subtitle {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: rgba(255,255,255,0.85);
    text-shadow: 0 0 10px rgba(102,204,255,0.45);
    animation: fadeUp 1.3s ease forwards;
}

/* ===========================
   WRAPPER
=========================== */

.blog-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ===========================
   PESQUISA PREMIUM
=========================== */

.barra-pesquisa {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.search-box {
    width: 100%;
    max-width: 350px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 18px 10px 45px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-box input:focus {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.25);
    outline: none;
}

.search-box::before {
    content: "🔍";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.8;
    pointer-events: none;
}

/* ===========================
   CATEGORIAS PREMIUM
=========================== */

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.blog-categories .cat {
    padding: 10px 22px;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    cursor: pointer;
    transition: 0.25s ease;
    backdrop-filter: blur(6px);
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-categories .cat:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 0 12px rgba(255,255,255,0.25);
}

.blog-categories .cat.active {
    background: rgba(255,255,255,0.30);
    border-color: rgba(255,255,255,0.55);
    box-shadow: 0 0 14px rgba(255,255,255,0.35);
}

/* ===========================
   LISTA HORIZONTAL PREMIUM
=========================== */

.blog-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 60px; /* mais espaço antes da paginação */
}

/* ===========================
   CARTÃO HORIZONTAL
=========================== */

.blog-card-horizontal {
    display: flex;
    gap: 22px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 20px rgba(0,0,0,0.22);
    transition: 0.35s ease;
    cursor: pointer;

    opacity: 0;
    transform: translateY(25px) scale(0.98);
}

.blog-card-horizontal.visible {
    animation: cardReveal 0.7s ease forwards;
}

@keyframes cardReveal {
    0% { opacity: 0; transform: translateY(25px) scale(0.98); }
    60% { opacity: 1; transform: translateY(0) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* HOVER PREMIUM */
.blog-card-horizontal:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 0 25px rgba(102,204,255,0.35),
        0 0 45px rgba(102,204,255,0.25);
}

/* IMAGEM HORIZONTAL */
.blog-thumb-horizontal {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    transition: 0.4s ease;
}

.blog-card-horizontal:hover .blog-thumb-horizontal {
    transform: scale(1.06);
}

/* CONTEÚDO */
.blog-card-horizontal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TÍTULO GLASS CLOUD */
.blog-card-horizontal-content h2 {
    margin-bottom: 8px;
    font-family: "Evo2", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #e8f8ff;
    text-shadow:
        0 0 8px rgba(102,204,255,0.55),
        0 0 16px rgba(102,204,255,0.35);
}

/* META COM GLOW */
.blog-card-horizontal-content .meta {
    font-size: 0.9rem;
    color: rgba(180,220,255,0.85);
    margin-bottom: 10px;
    text-shadow: 0 0 6px rgba(102,204,255,0.35);
}

/* TEXTO */
.blog-card-horizontal-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
}

/* READ MORE */
.blog-readmore {
    color: #aee6ff;
    font-weight: bold;
    text-decoration: underline;
    transition: 0.3s;
}

.blog-readmore:hover {
    opacity: 0.7;
    text-shadow: 0 0 8px rgba(102,204,255,0.55);
}

/* ===========================
   PAGINAÇÃO GLASS CLOUD ULTRA PREMIUM
=========================== */

.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 70px;
    padding: 30px 0;
}

/* BOTÕES BASE */
.paginacao a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;

    padding: 0 18px;
    border-radius: 50px;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);

    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;

    transition: 0.25s ease;
    box-shadow: 0 0 14px rgba(0,0,0,0.25);
}

/* NÚMEROS EM BOLHAS */
.pag-num {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* ATIVO */
.pag-num.active {
    background: rgba(102,204,255,0.35);
    border-color: rgba(102,204,255,0.65);
    box-shadow:
        0 0 18px rgba(102,204,255,0.55),
        0 0 28px rgba(102,204,255,0.35);
}

/* HOVER */
.paginacao a:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
    box-shadow:
        0 0 22px rgba(255,255,255,0.35),
        0 0 32px rgba(102,204,255,0.25);
}

/* SETAS SVG */
.pag-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    opacity: 0.9;
    transition: 0.25s ease;
}

.pag-btn:hover svg {
    opacity: 1;
    transform: translateX(2px);
}

/* ===========================
   ANIMAÇÕES BASE
=========================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
