/**
 * MASTER V33 — NBC GLASS EVOLUTION
 * Combinação do Motor V32 com Design System V33
 */

/* 1. RESET & BASE */
:root {
    --pira-blue: #0b3b8f;
    --pira-blue-dark: #052163;
    --pira-yellow: #ffd200;
    --pira-green: #25d366;
    --pira-glass: rgba(11, 59, 143, 0.85);
}

/* 2. EYEBROW BAR (DESIGN LIMPO) */
.pira-eyebrow {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 500;
}

.pira-eyebrow-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pira-date {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: #64748b;
}

.pira-eyebrow-links {
    display: flex;
    gap: 15px;
    font-weight: 700;
    color: var(--pira-blue);
}

.pira-eyebrow-links a { text-decoration: none; color: inherit; }

/* 3. MAIN HEADER (EFFECT: NBC GLASS) */
.pira-header-main {
    background: var(--pira-glass) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.pira-header-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.pira-logo-v32 { max-width: 220px; }
.pira-logo-v32 img { 
    height: 48px; 
    width: auto; 
    display: block; 
    filter: brightness(0) invert(1); /* Logo Branco */
}

/* 4. SEARCH (INTEGRADA NO DESIGN) */
.pira-search-v32 { flex-grow: 1; max-width: 450px; }
.pira-search-form-v32 {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    display: flex;
    padding: 2px 15px;
    transition: all 0.3s;
}

.pira-search-form-v32:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: var(--pira-yellow);
}

.pira-search-input-v32 { 
    background: transparent; 
    border: none; 
    color: white; 
    padding: 8px 0; 
    width: 100%; 
    outline: none; 
    font-size: 13px; 
    font-weight: 500;
}
.pira-search-input-v32::placeholder { color: rgba(255,255,255,0.7); }
.pira-search-submit-v32 { background: transparent; border: none; color: white; cursor: pointer; font-size: 16px; }

/* 5. ACTIONS */
.pira-actions-v32 { display: flex; gap: 10px; }
.btn-pira { 
    padding: 8px 18px; 
    border-radius: 4px; 
    font-weight: 800; 
    font-size: 11px; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.btn-pira--yellow { background: var(--pira-yellow); color: #000; }
.btn-pira--green { background: var(--pira-green); color: white; }
.btn-pira:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* 6. NAVIGATION (NBC STYLE NAVIGATION) */
.pira-nav-v32 { 
    background: rgba(255,255,255,0.95); 
    border-bottom: 2px solid #f1f5f9; 
    backdrop-filter: blur(5px);
}
.pira-nav-wrap-v32 {
    max-width: 1200px;
    margin: 0 auto;
}
.pira-nav-wrap-v32 ul { 
    list-style: none; margin: 0; padding: 0 20px; 
    display: flex; justify-content: center; gap: 25px; 
}
.pira-nav-wrap-v32 a { 
    display: block; padding: 15px 5px; 
    color: #1e293b; text-decoration: none; 
    font-weight: 800; font-size: 12.5px; 
    text-transform: uppercase; 
    border-bottom: 3px solid transparent; 
    transition: all 0.2s;
}
.pira-nav-wrap-v32 a:hover { color: var(--pira-blue); border-color: var(--pira-yellow); }

/* 7. TRENDING CHIPS */
.pira-trending-chips { background: #f1f5f9; padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
.pira-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.chips-container { display: flex; align-items: center; gap: 15px; }
.chips-label { font-size: 10px; font-weight: 900; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }
.chips-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip-trend { font-size: 11px; font-weight: 700; color: var(--pira-blue); text-decoration: none; padding: 4px 12px; background: white; border-radius: 4px; border: 1px solid #e2e8f0; white-space: nowrap; transition: all 0.2s; }
.chip-trend:hover { background: var(--pira-blue); color: white; border-color: var(--pira-blue); }

/* 8. MOBILE REFINEMENT */
.pira-menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

@media (max-width: 992px) {
    .pira-eyebrow, .pira-search-v32, .pira-nav-v32 { display: none; }
    .pira-menu-toggle { display: block; }
    .pira-header-wrap { padding: 0 15px; }
    .pira-logo-v32 img { height: 35px; }
}
