/* ============================================
   DASHBOARD – ESTILOS EXCLUSIVOS
   ============================================ */

/* ----- HERO (padrão) ----- */
#hero {
    position: relative;
    min-height: 36vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 50px;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(186,2,37,0.92) 0%, rgba(186,2,37,0.75) 40%, rgba(10,10,10,0.80) 100%);
}

#hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 24px 50px;
}

.hero-content {
    max-width: 700px;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-inter);
    font-size: 0.7rem;
    font-weight: 600;
    color: #D1964F;
    background: rgba(209,150,79,0.2);
    border: 1px solid rgba(209,150,79,0.45);
    margin-bottom: 12px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D1964F;
}

#hero h1 {
    font-family: var(--font-inter);
    font-size: 3.0rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 8px;
}

#hero p {
    font-family: var(--font-lato);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ----- DASHBOARD SECTION ----- */
#dashboard-section {
    padding: 40px 0 64px;
    background: #FFFFFF;
}

.dashboard-header {
    margin-bottom: 32px;
}

.external-tag {
    font-family: var(--font-inter);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6A6A6A;
    display: block;
    margin-bottom: 4px;
}

.dashboard-subtitle {
    font-family: var(--font-lato);
    font-size: 0.9rem;
    color: #4A4A4A;
    margin: 0 0 4px 0;
}

.all-online {
    font-family: var(--font-inter);
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
    display: inline-block;
}

.all-online::before {
    content: '✓ ';
}

/* ----- DASHBOARD GRID (2x2) ----- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ----- DASHBOARD CARD ----- */
.dashboard-card {
    background: #FDFAF7;
    border: 1px solid #F0EAE4;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--card-color, #E5DDD5);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--card-color, #BA0225);
}

.dashboard-name {
    font-family: var(--font-inter);
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.dashboard-status {
    font-family: var(--font-inter);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

.dashboard-status.live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
    margin-right: 4px;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.dashboard-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    background: #F5F0EB;
    overflow: hidden;
}

.dashboard-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #FFFFFF;
}

.dashboard-card-footer {
    padding: 14px 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #FFFFFF;
}

.dashboard-description {
    font-family: var(--font-lato);
    font-size: 0.8rem;
    color: #6A6A6A;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.dashboard-link {
    font-family: var(--font-inter);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--card-color, #BA0225);
    text-decoration: none;
    transition: opacity 0.2s ease;
    align-self: flex-start;
}

.dashboard-link:hover {
    opacity: 0.7;
}

.no-results {
    font-family: var(--font-lato);
    font-size: 1rem;
    color: #4A4A4A;
    text-align: center;
    padding: 40px 0;
    grid-column: 1 / -1;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #hero {
        min-height: 40vh;
        padding-top: 40px;
    }

    #hero .container {
        padding: 24px 16px 40px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 4px 12px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-iframe-wrapper {
        height: 280px;
    }

    .dashboard-card-header {
        padding: 12px 16px;
    }

    .dashboard-name {
        font-size: 0.9rem;
    }

    .dashboard-card-footer {
        padding: 12px 16px 14px;
    }

    .dashboard-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    #dashboard-section {
        padding: 24px 0 40px;
    }

    .dashboard-iframe-wrapper {
        height: 220px;
    }

    .external-tag {
        font-size: 0.6rem;
    }

    .all-online {
        font-size: 0.7rem;
    }
}