/*
 * Common Elements CSS - Brasil Startup
 * Estilos reutilizáveis para todos os componentes do site
 */

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--brasil-green);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--innovation-green);
}

.breadcrumb span:not(:last-child) {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FILTERS BAR
   ============================================ */

.filters-bar {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: rgba(0, 168, 107, 0.1);
    border-color: var(--brasil-green);
    color: var(--brasil-green);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--brasil-green) 0%, var(--innovation-green) 100%);
    border-color: var(--brasil-green);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.filter-btn .count {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   SEARCH BOX
   ============================================ */

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brasil-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
}

.search-box button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--brasil-green) 0%, var(--innovation-green) 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
    transform: translateY(-50%) scale(1.05);
}

/* ============================================
   HERO SIMPLE (para páginas internas)
   ============================================ */

.hero-simple {
    min-height: 40vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-simple h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--brasil-green), var(--innovation-green), var(--electric-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-simple p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-simple .hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-simple .stat-item {
    text-align: center;
}

.hero-simple .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brasil-green);
    line-height: 1;
}

.hero-simple .stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination a:hover {
    background: rgba(0, 168, 107, 0.1);
    border-color: var(--brasil-green);
    color: var(--brasil-green);
    transform: translateY(-2px);
}

.pagination .active {
    background: linear-gradient(135deg, var(--brasil-green) 0%, var(--innovation-green) 100%);
    border-color: var(--brasil-green);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.pagination .disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
}

.badge-success {
    background: rgba(0, 168, 107, 0.2);
    color: var(--brasil-green);
    border: 1px solid rgba(0, 168, 107, 0.3);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-danger {
    background: rgba(255, 76, 76, 0.2);
    color: #ff4c4c;
    border: 1px solid rgba(255, 76, 76, 0.3);
}

.badge-info {
    background: rgba(7, 89, 217, 0.2);
    color: var(--brasil-blue);
    border: 1px solid rgba(7, 89, 217, 0.3);
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert i {
    font-size: 1.5rem;
}

.alert-success {
    background: rgba(0, 168, 107, 0.1);
    border: 1px solid rgba(0, 168, 107, 0.3);
    color: var(--brasil-green);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.alert-error {
    background: rgba(255, 76, 76, 0.1);
    border: 1px solid rgba(255, 76, 76, 0.3);
    color: #ff4c4c;
}

.alert-info {
    background: rgba(7, 89, 217, 0.1);
    border: 1px solid rgba(7, 89, 217, 0.3);
    color: var(--brasil-blue);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .breadcrumb {
        padding: 7rem 1.5rem 1.5rem;
        font-size: 0.85rem;
    }

    .filters-bar {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .search-box {
        max-width: 100%;
    }

    .hero-simple h1 {
        font-size: 2rem;
    }

    .hero-simple p {
        font-size: 1rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
