/* ==========================================================================
   Plataforma GeoIncluir — Design System Studio Dark (Slate & Emerald)
   LABGEO / GEFORTE — Universidade Estadual do Ceará (UECE)
   Coordenação: Prof. Dr. Stanley Braz de Oliveira (2026)
   ========================================================================== */

:root {
    /* Paleta Cromática Studio Dark */
    --bg-main: #021b14;
    --bg-surface: #04241b;
    --surface-card: rgba(6, 45, 34, 0.72);
    --surface-card-hover: rgba(8, 56, 42, 0.82);
    --surface-input: #021811;
    --surface-input-hover: #032218;

    /* Acentos Esmeralda e Ciano */
    --accent-emerald: #10b981;
    --accent-emerald-light: #34d399;
    --accent-emerald-dark: #059669;
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #67e8f9;
    --accent-gold: #f59e0b;
    --accent-danger: #ef4444;
    --accent-danger-bg: rgba(239, 68, 68, 0.12);

    /* Bordas e Efeitos de Brilho Translúcido */
    --border-emerald: rgba(16, 185, 129, 0.22);
    --border-emerald-glow: rgba(16, 185, 129, 0.45);
    --border-emerald-focus: #10b981;

    /* Hierarquia Tipográfica e Textos */
    --text-pure: #ffffff;
    --text-mint: #e2fbe8;
    --text-mint-muted: #9dd0b8;
    --text-emerald-light: #6ee7b7;

    /* Tipografia e Escalas */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --font-scale: 100%;

    /* Raios e Transições Suaves */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition-smooth: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Geral e Box-Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-scale);
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-mint);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contêiner Central Alinhado */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 60px;
    flex: 1 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Hero Panorâmico com Vídeo em Loop e Vinheta Translúcida
   ========================================================================== */
.app-hero {
    position: relative;
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 20px auto 28px;
    border: 1px solid var(--border-emerald-glow);
    display: flex;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    z-index: 1;
    opacity: 0.82;
    filter: brightness(0.92) contrast(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(2, 27, 20, 0.42) 0%, rgba(2, 27, 20, 0.88) 100%);
    z-index: 2;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 44px 48px;
    max-width: 860px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-pure);
    line-height: 1.1;
    margin-bottom: 14px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-mint);
    line-height: 1.6;
    margin-bottom: 18px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.hero-subtitle strong {
    color: var(--accent-emerald-light);
}

.hero-meta {
    font-size: 0.88rem;
    color: var(--text-mint-muted);
    background: rgba(2, 27, 20, 0.75);
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-emerald);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-meta strong {
    color: var(--text-pure);
}

.hero-meta em {
    color: var(--text-emerald-light);
    font-style: normal;
}

/* ==========================================================================
   Rodapé Institucional Permanente e Diagramação das 3 Logomarcas
   ========================================================================== */
.footer-institucional {
    width: 100%;
    margin-top: 48px;
    padding: 32px 28px;
    background: rgba(3, 24, 17, 0.92);
    border: 1px solid var(--border-emerald);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: justify;
    position: relative;
    z-index: 5;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.16);
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px 16px;
    background: rgba(2, 27, 20, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.logo-box:hover {
    border-color: var(--border-emerald-glow);
    background: rgba(4, 36, 27, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.logo-box img {
    max-height: 52px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    display: block;
}

.footer-texto {
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-mint-muted);
}

.footer-texto strong {
    color: var(--text-pure);
}

/* ==========================================================================
   Ajustes Responsivos para Dispositivos Móveis
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-content {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px 40px;
    }
    .app-hero {
        margin: 14px auto 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.98rem;
    }
    .hero-content {
        padding: 24px 20px;
    }
    .footer-institucional {
        padding: 24px 18px;
    }
    .footer-logos {
        gap: 16px;
    }
    .logo-box {
        min-height: 50px;
        padding: 6px 12px;
    }
    .logo-box img {
        max-height: 44px;
        max-width: 110px;
    }
}