/* ========================================================
   IDENTIDADE VISUAL NEXA:
   - Azul Marinho Principal: #122E4E
   - Azul Noturno de Fundo:  #0D223B
   - Dourado Nexa:           #C49D60 / #D8B992
   - Champagne Claro:        #FAF7F2 / #FAF5ED
   - Grafite:                #5A6578
   - Branco:                 #FFFFFF
   ======================================================== */

:root {
    --nexa-navy: #122E4E;
    --nexa-navy-deep: #0D223B;
    --nexa-navy-light: #1C436E;
    --nexa-gold: #C49D60;
    --nexa-gold-light: #D8B992;
    --nexa-gold-dark: #A88145;
    --nexa-graphite: #5A6578;
    --nexa-white: #FFFFFF;

    /* Tema Claro (Padrão) */
    --bg-page: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #FAF7F2 50%, #F3EDE2 100%);
    --bg-page-color: #FAF7F2;
    --card-bg: rgba(255, 255, 255, 0.94);
    --card-border: rgba(196, 157, 96, 0.28);
    --card-shadow: 0 20px 50px rgba(18, 46, 78, 0.08), 0 0 1px rgba(18, 46, 78, 0.1);
    --color-title: #122E4E;
    --color-subtitle: #5A6578;
    --badge-bg: #FAF3E8;
    --badge-border: #C49D60;
    --badge-text: #96713D;
    --contact-navy-bg: #122E4E;
    --contact-navy-text: #FFFFFF;
    --btn-primary-bg: linear-gradient(135deg, #D8B992 0%, #C49D60 60%, #B58E55 100%);
    --btn-primary-text: #0D223B;
    --divider-color: rgba(196, 157, 96, 0.22);
}

/* Tema Noturno */
body.construction-page.theme-dark {
    --bg-page: radial-gradient(ellipse 80% 60% at 50% -10%, #1C436E 0%, #122E4E 55%, #0A192A 100%);
    --bg-page-color: #0A192A;
    --card-bg: rgba(18, 46, 78, 0.72);
    --card-border: rgba(196, 157, 96, 0.35);
    --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(196, 157, 96, 0.12);
    --color-title: #FFFFFF;
    --color-subtitle: #D8B992;
    --badge-bg: rgba(196, 157, 96, 0.15);
    --badge-border: #C49D60;
    --badge-text: #E8D1B5;
    --contact-navy-bg: #1C436E;
    --contact-navy-text: #FFFFFF;
    --btn-primary-bg: linear-gradient(135deg, #D8B992 0%, #C49D60 60%, #B58E55 100%);
    --btn-primary-text: #0D223B;
    --divider-color: rgba(196, 157, 96, 0.28);
}

* {
    box-sizing: border-box;
}

body.construction-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--bg-page-color);
    background-image: var(--bg-page);
    color: var(--color-title);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* Alternador de Tema */
.top-theme-bar {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px 0;
    position: relative;
    z-index: 10;
}

.theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--color-title);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(18, 46, 78, 0.06);
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--nexa-gold);
    color: var(--nexa-gold-dark);
}

/* Brilho de fundo sutil */
.ambient-glow {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 420px;
    background: radial-gradient(circle, rgba(196, 157, 96, 0.14) 0%, rgba(18, 46, 78, 0.05) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Centralização do Card */
.page-wrapper {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 36px;
}

.construction-card {
    max-width: 640px;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 44px 36px 32px;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Moldura e Logo */
.logo-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

.logo-frame {
    width: 110px;
    height: 110px;
    background: #FFFFFF;
    border-radius: 26px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nexa-gold);
    box-shadow: 0 10px 28px rgba(18, 46, 78, 0.10), 0 0 25px rgba(196, 157, 96, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-frame:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(18, 46, 78, 0.16), 0 0 35px rgba(196, 157, 96, 0.35);
}

.logo-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Badge de Status */
.status-wrapper {
    margin-bottom: 18px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 9999px;
    color: var(--badge-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(196, 157, 96, 0.12);
}

.pulse-gold {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nexa-gold);
    box-shadow: 0 0 10px var(--nexa-gold);
    animation: pulse-ring-gold 2s infinite ease-in-out;
}

@keyframes pulse-ring-gold {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 14px var(--nexa-gold);
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Tipografia */
.main-title {
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-top: 8px;
    margin-bottom: 14px;
    color: var(--color-title);
    letter-spacing: -0.02em;
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--nexa-gold) 0%, var(--nexa-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.construction-page.theme-dark .text-gold-gradient {
    background: linear-gradient(135deg, #FFFFFF 10%, var(--nexa-gold-light) 60%, var(--nexa-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--color-subtitle);
    max-width: 520px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Micro-tags de Serviços */
.services-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.service-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nexa-navy);
    background: rgba(196, 157, 96, 0.12);
    border: 1px solid rgba(196, 157, 96, 0.35);
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

body.construction-page.theme-dark .service-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(196, 157, 96, 0.3);
    color: var(--nexa-gold-light);
}

/* Linha divisória sutil */
.divider-line {
    width: 100%;
    max-width: 220px;
    height: 1px;
    background: var(--divider-color);
    margin: 0 auto 26px;
}

/* Área de Contato */
.contact-section {
    margin-bottom: 12px;
}

.contact-heading {
    color: var(--color-subtitle);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.btn-contact-gold {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 15px rgba(196, 157, 96, 0.25);
}

.btn-contact-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 157, 96, 0.4);
    color: var(--btn-primary-text);
}

.btn-contact-navy {
    background: var(--contact-navy-bg);
    color: var(--contact-navy-text);
    border: 1px solid var(--nexa-navy);
}

.btn-contact-navy:hover {
    background: var(--nexa-navy-light);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Rodapé */
.footer-text {
    border-top: 1px solid var(--divider-color);
    margin-top: 28px;
    padding-top: 20px;
    color: var(--color-subtitle);
    font-size: 0.82rem;
    opacity: 0.85;
}

/* Mobile */
@media (max-width: 576px) {
    .top-theme-bar {
        padding: 12px 16px 0;
    }

    .construction-card {
        padding: 32px 20px 24px;
        border-radius: 22px;
    }

    .logo-frame {
        width: 95px;
        height: 95px;
        border-radius: 20px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
    }
}
