* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.header .version {
    font-size: 1rem;
    opacity: 0.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.feature-card.tarefas .feature-icon { 
    color: #667eea; 
}

.feature-card.admin .feature-icon { 
    color: #e53e3e; 
}

.feature-card.pop .feature-icon { 
    color: #38a169; 
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.feature-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #c6f6d5;
    color: #2f855a;
}

.status-development {
    background: #fef5e7;
    color: #d69e2e;
}

.status-coming {
    background: #e2e8f0;
    color: #4a5568;
}

.quick-actions {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.quick-actions h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    margin-top: 50px;
}

.tech-stack {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tech-stack h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #4a5568;
}

.tech-item i {
    color: #667eea;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Navbar: Backoffice expansível no menu do usuário */
.navbar .dropdown-menu {
    overflow: visible;
}

.navbar-backoffice-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.navbar-backoffice-toggle[aria-expanded="true"] .navbar-backoffice-chevron {
    transform: rotate(180deg);
}

.navbar-backoffice-chevron {
    transition: transform 0.2s ease;
}

.navbar-backoffice-submenu {
    max-height: min(55vh, 24rem);
    overflow-y: auto;
    border-top: 1px solid var(--bs-dropdown-divider-bg, rgba(0, 0, 0, 0.1));
    background: rgba(0, 0, 0, 0.02);
}

.navbar-backoffice-submenu .dropdown-item {
    padding-left: 1.25rem;
    font-size: 0.95rem;
}

/* Brand mark — logotipo branco no header/footer escuro */
.navbar-brand-logo,
.footer-brand-logo {
    display: block;
    width: auto;
    max-width: min(170px, 42vw);
    object-fit: contain;
}

.navbar-brand-logo {
    height: 36px;
}

.footer-brand-logo {
    height: 28px;
}
