/* ==========================================================================
   Cimangola — Página "Em Actualização" (Maintenance / Coming Soon)
   Ficheiro: styles.css
   ========================================================================== */

:root {
    --navy-900: #0d2a63;
    --navy-800: #123a86;
    --navy-700: #1a4aa3;
    --blue-600: #1d63d6;
    --blue-400: #5b7fc4;
    --ink: #1f2733;
    --ink-soft: #5a6577;
    --line: #e4e8f0;
    --bg: #f7f9fc;
    --panel: #ffffff;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* ---------- imagem do fundo ---------- */

.background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.background::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.2;
}


/* ---------- decorative factory silhouette ---------- */

.factory-bg {
    position: absolute;
    top: 0;
    right: -60px;
    width: 60%;
    max-width: 900px;
    height: auto;
    opacity: .45;
    z-index: 0;
    pointer-events: none;
}


/* ---------- header ---------- */

.site-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 44px 40px 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: fadeIn .6s ease forwards;
}

.brand-mark {
    flex-shrink: 0;
}

.brand-name {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .03em;
    color: var(--navy-900);
    line-height: 1.1;
}

.brand-sub {
    margin: 2px 0 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--navy-800);
}


/* ---------- main content ---------- */

.content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    padding: 36px 56px 60px;
}

.text-col {
    max-width: 640px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 10px 18px;
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: 0;
    animation: fadeUp .6s ease .05s forwards;
}

.title {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    opacity: 0;
    animation: fadeUp .65s ease .12s forwards;
}

.title-accent {
    display: block;
    width: 64px;
    height: 5px;
    border-radius: 3px;
    background: var(--blue-600);
    margin-bottom: 26px;
    opacity: 0;
    animation: fadeUp .6s ease .2s forwards;
}

.lead {
    margin: 0 0 30px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 480px;
    opacity: 0;
    animation: fadeUp .65s ease .26s forwards;
}

.divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0 0 30px;
    opacity: 0;
    animation: fadeIn .6s ease .3s forwards;
}

.features {
    display: flex;
    gap: 34px;
    margin-bottom: 34px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp .65s ease .34s forwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef2f9;
    color: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

.support-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    padding: 20px 26px;
    max-width: 560px;
    opacity: 0;
    animation: fadeUp .65s ease .42s forwards;
}

.support-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #fff;
    font-weight: 500;
}


/* ---------- illustration ---------- */

.illustration-col {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn .8s ease .3s forwards;
}

.illustration-logo {
    width: 100%;
    max-width: 360px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

.illustration {
    width: 100%;
    max-width: 560px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* ---------- footer ---------- */

.site-footer {
    position: relative;
    z-index: 2;
    background: var(--navy-900);
    padding: 22px 40px;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}

.footer-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    opacity: .92;
    transition: opacity .2s ease;
}

.footer-item:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-2px);
}


/* ---------- animations ---------- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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


/* ---------- accessibility ---------- */

.footer-item:focus-visible,
.footer-social a:focus-visible {
    outline: 2.5px solid #fff;
    outline-offset: 3px;
}


/* ---------- responsive ---------- */

@media (max-width:1080px) {
    .content {
        grid-template-columns: 1fr;
        padding: 24px 40px 50px;
    }
    .illustration-col {
        order: -1;
    }
    .illustration {
        max-width: 420px;
    }
    .text-col {
        max-width: 100%;
    }
    .factory-bg {
        opacity: .28;
    }
}

@media (max-width:640px) {
    .site-header {
        padding: 32px 24px 6px;
    }
    .brand-name {
        font-size: 21px;
    }
    .content {
        padding: 20px 22px 40px;
        gap: 10px;
    }
    .features {
        gap: 20px 24px;
    }
    .support-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }
    .site-footer {
        padding: 20px 22px;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-social {
        order: -1;
    }
    .illustration {
        max-width: 320px;
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}