/* ============================================================
   GovConect — Coming Soon Page
   © Instituto Pró Futuro 360
   ============================================================ */

:root {
    --color-bg-start: #ffffff;
    --color-bg-end: #f0f6ff;
    --color-text: #0a2240;
    --color-text-soft: #4a5a75;
    --color-text-muted: #8b97ad;
    --color-accent: #0a2240;
    --color-gold: #f5b800;
    --color-green: #1f9d55;
    --color-blue: #2b5cb8;

    --shadow-soft: 0 10px 40px rgba(10, 34, 64, 0.08);
    --shadow-logo: 0 20px 60px rgba(10, 34, 64, 0.12);

    --max-width: 780px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Decorative background — sutil pattern de pontos */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(43, 92, 184, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 184, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   Container & Layout
   ============================================================ */

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--max-width);
    gap: var(--spacing-md);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================================
   Logo
   ============================================================ */

.logo {
    width: 100%;
    max-width: 640px;
    height: auto;
    filter: drop-shadow(var(--shadow-logo));
    user-select: none;
    -webkit-user-drag: none;
    animation: logoFloat 6s ease-in-out infinite;
    margin-bottom: -1rem; /* aproxima a tagline (efeito tipo cartao) */
}

/* ============================================================
   Tagline (estilo cartao: pequena, logo abaixo da logo)
   ============================================================ */

.tagline {
    font-size: clamp(0.75rem, 1.4vw, 0.95rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-soft);
    letter-spacing: 0.02em;
    padding: 0 var(--spacing-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ============================================================
   Contact Email
   ============================================================ */

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: var(--spacing-sm);
    padding: 0.8rem 1.6rem;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(10, 34, 64, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(10, 34, 64, 0.06);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease,
                background 0.25s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: var(--color-gold);
    box-shadow: 0 8px 28px rgba(10, 34, 64, 0.12);
    outline: none;
}

.contact-email:active {
    transform: translateY(0);
}

.contact-icon {
    width: 1.15rem;
    height: 1.15rem;
    fill: var(--color-blue);
    flex-shrink: 0;
    transition: fill 0.25s ease;
}

.contact-email:hover .contact-icon {
    fill: var(--color-gold);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.footer p {
    opacity: 0.85;
}

/* ============================================================
   Animations
   ============================================================ */

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.4);
    }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 640px) {
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .content {
        gap: var(--spacing-sm);
    }

    .logo {
        max-width: 90vw;
        margin-bottom: -0.5rem;
    }

    .tagline {
        padding: 0;
        white-space: normal; /* permite quebra em telas pequenas */
        text-align: center;
    }
}

@media (max-width: 380px) {
    .logo {
        max-width: 92vw;
    }
}

@media (min-width: 1200px) {
    .logo {
        max-width: 720px;
    }
}

/* Reduce motion para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode opcional (se o sistema preferir) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-start: #ffffff;
        --color-bg-end: #f0f6ff;
    }
}
