/* ============================================
   PÁGINA DE MANUTENÇÃO — CRCES
   Paleta: Azul Marinho + Dourado (identidade CRC)
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(160deg, #0a2347 0%, #0f2f5f 30%, #14417f 60%, #0a2347 100%);
    background-attachment: fixed;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Overlay com padrão sutil */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(215, 152, 47, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(215, 152, 47, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   WRAPPER
   ============================================ */

.wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

/* ============================================
   CARD PRINCIPAL
   ============================================ */

.card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--crc-radius, 20px);
    padding: 48px 40px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 30px rgba(10, 35, 71, 0.15),
        0 20px 60px rgba(10, 35, 71, 0.25);
    text-align: center;
    animation: cardEntrance 0.7s ease-out;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LOGO CRCES
   ============================================ */

.logo-crces {
    max-width: 260px;
    width: 80%;
    height: auto;
    margin-bottom: 24px;
}

/* ============================================
   ÍCONE DE MANUTENÇÃO (ENGRENAGEM SVG)
   ============================================ */

.maintenance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: #f3f7ff;
    border-radius: 50%;
    margin-bottom: 28px;
    color: #0f2f5f;
    animation: pulse 2.5s ease-in-out infinite;
}

.maintenance-icon svg {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(15, 47, 95, 0.25);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(15, 47, 95, 0);
    }
}

/* ============================================
   TÍTULO
   ============================================ */

h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0a2347;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

/* ============================================
   DESCRIÇÃO
   ============================================ */

.description {
    font-size: 16px;
    font-weight: 400;
    color: #5b6470;
    line-height: 1.7;
    margin: 0 0 28px 0;
}

/* ============================================
   BARRA DE PROGRESSO DECORATIVA
   ============================================ */

.progress-bar {
    width: 100%;
    max-width: 320px;
    height: 4px;
    background: #dbe4f4;
    border-radius: 99px;
    margin: 0 auto 32px auto;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, #0f2f5f, #d7982f, #b67c1e);
    border-radius: 99px;
    animation: progressSlide 3s ease-in-out infinite;
}

@keyframes progressSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(385%); }
}

/* ============================================
   BOTÃO SERVIÇOS ONLINE
   ============================================ */

.btn-servicos-online {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0f2f5f, #0a2347);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    margin-bottom: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 35, 71, 0.25);
}

.btn-servicos-online:hover {
    background: linear-gradient(135deg, #d7982f, #b67c1e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 152, 47, 0.35);
    color: #fff;
}

.btn-servicos-online svg {
    flex-shrink: 0;
}

/* ============================================
   CARDS DE CONTATO
   ============================================ */

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f3f7ff;
    border: 1px solid #dbe4f4;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    transition: all 0.25s ease;
}

.contact-item:hover {
    background: #e8eff9;
    border-color: #0f2f5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 35, 71, 0.12);
}

.contact-item svg {
    color: #d7982f;
    flex-shrink: 0;
}

/* ============================================
   FOOTER — CRÉDITO ARCO
   ============================================ */

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: #5b6470;
    padding-top: 24px;
    border-top: 1px solid #dbe4f4;
}

.footer-credit span {
    white-space: nowrap;
}

.logo-arco {
    height: 22px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.25s ease;
}

.logo-arco:hover {
    opacity: 1;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 480px) {
    .card {
        padding: 36px 22px;
        border-radius: 16px;
    }

    h1 {
        font-size: 23px;
    }

    .description {
        font-size: 14px;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 10px 16px;
    }

    .logo-crces {
        max-width: 200px;
    }

    .maintenance-icon {
        width: 72px;
        height: 72px;
    }

    .maintenance-icon svg {
        width: 48px;
        height: 48px;
    }
}