/* =========================================================
   PÁGINA DE COLEÇÃO — pagina.php
   Arquivo: style-pagina.css (exclusivo desta página)
   ========================================================= */

/* ---------- Hero da página ---------- */
.pagina-hero {
    position: relative;
    width: 100%;
    height: 62vh;
    min-height: 380px;
    max-height: 620px;
    overflow: hidden;
    margin-top: 70px; /* abaixo do menu fixo */
    border-radius: 0 0 24px 24px;
}

.pagina-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pagina-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.7) saturate(1.05);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.pagina-hero:hover .pagina-hero-bg img {
    transform: scale(1.1);
}

.pagina-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(22, 24, 37, 0.35) 0%,
            rgba(22, 24, 37, 0.15) 35%,
            rgba(22, 24, 37, 0.75) 75%,
            rgba(22, 24, 37, 1) 100%),
        linear-gradient(90deg,
            rgba(22, 24, 37, 0.8) 0%,
            rgba(22, 24, 37, 0) 55%);
    pointer-events: none;
}

.pagina-hero-content {
    position: absolute;
    bottom: 48px;
    left: 48px;
    right: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
}

.pagina-hero-badge {
    display: inline-block;
    width: fit-content;
    padding: 6px 14px;
    background: rgba(229, 9, 20, 0.9);
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.75em;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(229, 9, 20, 0.35);
}

.pagina-hero-title {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 3.2em;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.pagina-hero-meta {
    color: #c9cad4;
    font-family: Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 600;
}

/* ---------- Conteúdo abaixo do hero ---------- */
.pagina-content {
    width: 100%;
    padding: 40px 48px 60px;
    position: relative;
    z-index: 3;
}

/* Empty state */
.empty-state {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: #9a9caa;
    font-family: Arial, sans-serif;
    font-size: 1em;
    background: rgba(14, 11, 20, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */
@media (max-width: 1099px) {
    .pagina-hero {
        height: 52vh;
        min-height: 320px;
    }
    .pagina-hero-content { left: 32px; right: 32px; bottom: 36px; }
    .pagina-hero-title   { font-size: 2.4em; }
    .pagina-content      { padding: 32px 28px 50px; }
}

@media (max-width: 767px) {
    .pagina-hero {
        height: 46vh;
        min-height: 280px;
        margin-top: 56px;
        border-radius: 0 0 16px 16px;
    }
    .pagina-hero-content {
        left: 20px;
        right: 20px;
        bottom: 24px;
        gap: 10px;
    }
    .pagina-hero-title { font-size: 1.9em; }
    .pagina-hero-badge { font-size: 0.68em; padding: 5px 10px; }
    .pagina-hero-meta  { font-size: 0.85em; }
    .pagina-content    { padding: 24px 18px 40px; }
}

@media (max-width: 480px) {
    .pagina-hero       { height: 42vh; min-height: 240px; }
    .pagina-hero-title { font-size: 1.6em; }
    .pagina-content    { padding: 20px 12px 32px; }
}