﻿/* ============================================
   Comunicação de Não Ocorrência
   CSS consolidado
   ============================================ */

/* ===========================================
   0. FONTE
   =========================================== */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Public Sans", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100vh;
}

body > form > main {
    flex: 1;
}


/* ===========================================
   1. LAYOUT ESTRUTURAL
   =========================================== */

/* --- Cabeçalho --- */
.cfx-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 76px;
    display: flex;
    align-items: center;
}

.cfx-header .container {
    display: flex;
    justify-content: center;
}

.cfx-header-logo {
    height: 57px;
    display: block;
}

/* --- Conteúdo --- */
#conteudo {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 15px;
}

/* --- Rodapé --- */
.cfx-footer {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px 0;
    background-color: var(--cfx-surface, #ffffff);
}

.cfx-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cfx-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cfx-footer-logo {
    height: 60px;
    opacity: 0.4;
    filter: grayscale(100%);
}

.cfx-footer-divider {
    width: 1px;
    height: 32px;
    background-color: #e2e8f0;
}

.cfx-footer-text {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
}

.cfx-footer-copy {
    text-align: right;
}

.cfx-footer-copy p {
    font-size: 10px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}


/* ===========================================
   2. ELEMENTOS BASE
   =========================================== */

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #004a7a;
    text-decoration: underline;
}

/* ===========================================
   3. COMPONENTES
   =========================================== */

/* --- Página indisponível --- */
.indisponivel-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
}

.indisponivel-icon {
    font-size: 3.5rem;
    color: #005997;
    margin-bottom: 20px;
}

.indisponivel-titulo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.indisponivel-subtitulo {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.indisponivel-info {
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
    border-left: 4px solid #005997;
    border-radius: 0 12px 12px 0;
    padding: 28px 32px;
    text-align: left;
}

.indisponivel-info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #005997;
    font-weight: 600;
    margin-bottom: 12px;
}

.indisponivel-info-item {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 6px;
}

.indisponivel-info-item strong {
    color: #005997;
}

.indisponivel-inicio {
    margin-top: 35px;
    padding: 14px 28px;
    background-color: #005997;
    color: #fff;
    border-radius: 8px;
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 500;
}


/* ===========================================
   4. RESPONSIVO
   =========================================== */

@media (max-width: 576px) {
    /* Header responsivo */
    .cfx-header .container {
        display: flex;
        justify-content: center;
    }

    /* Footer responsivo */
    .cfx-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .cfx-footer-brand {
        justify-content: center;
    }

    .cfx-footer-copy {
        text-align: center;
    }
}


/* ===========================================
   5. UTILITÁRIOS DE PÁGINA
   =========================================== */

/* --- Container estreito (segunda via) --- */
.container-narrow {
    max-width: 550px;
}

/* --- Ícone decorativo grande (hero) --- */
.icon-hero {
    font-size: 2.5rem;
    color: var(--cfx-primary);
}

/* --- Ícone inline (ao lado de texto) --- */
.icon-inline {
    font-size: 1.5rem;
    color: var(--cfx-primary);
    margin-right: 10px;
}

/* --- Ícone pequeno (dentro de listas) --- */
.icon-sm {
    color: var(--cfx-primary);
    margin-right: 6px;
}

/* --- Título auxiliar (h5/h6 em contexto de card) --- */
.heading {
    font-weight: 600;
    color: var(--cfx-text-primary);
}

/* --- Texto secundário/muted --- */
.text-muted-cfx {
    color: var(--cfx-outline);
    font-size: 0.875rem;
}

.text-muted-sm {
    color: var(--cfx-outline);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* --- Lista de exercícios (segunda via) --- */
.exercicio-label {
    font-weight: 600;
    color: var(--cfx-text-primary);
}

.exercicio-detail {
    color: var(--cfx-outline);
}


/* ===========================================
   6. ANIMAÇÕES
   =========================================== */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
