/* ========== PÁGINA DE MANUTENÇÃO ========== */

.maintenance-main {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100%;
}

.maintenance-container {
    max-width: 800px;
    width: 90%;
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.1);
}

/* Ícone principal */
.maintenance-icon-large {
    margin-bottom: 2rem;
    color: #e74c3c;
    opacity: 0.8;
}

.maintenance-icon-large svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Títulos */
.maintenance-container h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.maintenance-container h2 {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
}

/* Mensagem principal */
.maintenance-message {
    margin-bottom: 2.5rem;
}

.maintenance-message p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de informações */
.maintenance-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #e74c3c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.2);
}

.info-card .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #e74c3c;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    color: white;
}

.info-card h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.95rem;
}

.info-card p strong {
    color: #e74c3c;
    font-weight: 600;
}

/* Botões de ação */
.maintenance-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-home,
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 180px;
    justify-content: center;
}

.btn-home {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-home:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.btn-back {
    background: transparent;
    color: #7f8c8d;
    border: 2px solid #bdc3c7;
}

.btn-back:hover {
    background: #ecf0f1;
    color: #2c3e50;
    border-color: #95a5a6;
    transform: translateY(-2px);
}

/* Links úteis */
.helpful-links {
    border-top: 1px solid #ecf0f1;
    padding-top: 2rem;
}

.helpful-links h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.help-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.help-link:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    transform: translateY(-3px);
    border-color: #c0392b;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.help-link span:first-child {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.help-link span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .maintenance-main {
        padding: 1rem 0;
    }
    
    .maintenance-container {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .maintenance-container h1 {
        font-size: 2rem;
    }
    
    .maintenance-container h2 {
        font-size: 1.1rem;
    }
    
    .maintenance-message p {
        font-size: 1rem;
    }
    
    .maintenance-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .maintenance-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-home,
    .btn-back {
        min-width: 200px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .helpful-links h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .maintenance-container {
        padding: 1.5rem 1rem;
    }
    
    .maintenance-container h1 {
        font-size: 1.7rem;
    }
    
    .maintenance-icon-large svg {
        width: 80px;
        height: 80px;
    }
    
    .info-card .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-card .info-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .help-link span:first-child {
        font-size: 1.5rem;
    }
    
    .help-link span:last-child {
        font-size: 0.8rem;
    }
}

/* Animações de entrada */
.maintenance-container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.6s; }

.help-link {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

.help-link:nth-child(1) { animation-delay: 0.8s; }
.help-link:nth-child(2) { animation-delay: 0.9s; }
.help-link:nth-child(3) { animation-delay: 1.0s; }
.help-link:nth-child(4) { animation-delay: 1.1s; }

/* Estados especiais */
.maintenance-container:hover .maintenance-icon-large svg {
    animation-duration: 1s;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .maintenance-icon-large svg,
    .info-card,
    .help-link,
    .maintenance-container {
        animation: none;
    }
    
    .info-card:hover,
    .help-link:hover,
    .btn-home:hover,
    .btn-back:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .maintenance-main {
        background: none;
    }
    
    .maintenance-container {
        box-shadow: none;
        border: 2px solid #e74c3c;
    }
    
    .maintenance-actions,
    .helpful-links {
        display: none;
    }
}