/* ==========================================================================
   1. TOKENS DE DESIGN & VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
    /* Paleta de Cores de Alta Definição */
    --bg-obsidian: #040806;
    --bg-dark-gray: #0a110d;
    --bg-card: #0e1a14;
    --bg-card-hover: #13241b;
    --border-color: rgba(16, 185, 129, 0.12);
    --border-color-hover: rgba(16, 185, 129, 0.3);
    
    /* Cores de Destaque */
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --emerald-glow: rgba(16, 185, 129, 0.4);
    --emerald-translucent: rgba(16, 185, 129, 0.08);
    
    /* Cores de Alerta & Status */
    --red: #ef4444;
    --red-translucent: rgba(239, 68, 68, 0.08);
    --blue: #3b82f6;
    --blue-translucent: rgba(59, 130, 246, 0.08);
    --purple: #8b5cf6;
    --purple-translucent: rgba(139, 92, 246, 0.08);
    --orange: #f59e0b;
    --orange-translucent: rgba(245, 158, 11, 0.08);
    
    /* Tipografia e Textos */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --text-main: #f3f4f6;
    --text-muted: #8fa196;
    
    /* Efeitos */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   2. RESET & ESTILOS BASE (NÍVEL GLOBAL)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Barra de Rolagem Customizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--emerald);
}

/* ==========================================================================
   3. COMPONENTES E CLASSES REUTILIZÁVEIS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-emerald { color: var(--emerald) !important; }
.text-red { color: var(--red) !important; }

/* Badges Tech */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--emerald-translucent);
    border: 1px solid var(--border-color-hover);
    color: var(--emerald-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.bg-emerald-translucent { background-color: var(--emerald-translucent); border-color: var(--emerald); }
.bg-red-translucent { background-color: var(--red-translucent); border-color: var(--red); }
.bg-blue-translucent { background-color: var(--blue-translucent); border-color: var(--blue); }
.bg-purple-translucent { background-color: var(--purple-translucent); border-color: var(--purple); }
.bg-orange-translucent { background-color: var(--orange-translucent); border-color: var(--orange); }

.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-light);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--emerald-light);
    animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--emerald-light); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Gradientes de Texto */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--emerald-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botões Customizados */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: #000000;
    border: none;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--emerald);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background: transparent;
    color: var(--emerald-light);
    border: 1px solid var(--emerald);
}
.btn-primary-outline:hover {
    background-color: var(--emerald-translucent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Títulos de Seção Comuns */
.section-header {
    margin-bottom: 60px;
}
.section-tagline {
    font-family: var(--font-display);
    color: var(--emerald);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.section-title {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 16px;
}
.section-description {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Divider Genérico */
.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color-hover), transparent);
    margin: 30px 0;
}

/* ==========================================================================
   4. HEADER / NAVEGAÇÃO CORPORATIVA
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(4, 8, 6, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--emerald-light);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--emerald);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   5. LANDING PAGE (INDEX) - SEÇÕES DE CONTEÚDO
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px 0;
    overflow: hidden;
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Video Wrapper */
.video-placeholder-container {
    position: relative;
    width: 100%;
}
.video-preview-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--emerald);
    opacity: 0.15;
    filter: blur(40px);
    border-radius: 16px;
    z-index: -1;
}
.video-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 16px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.video-wrapper:hover {
    border-color: var(--emerald);
    transform: scale(1.02);
}
.play-icon-large {
    font-size: 4rem;
    color: var(--emerald-light);
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}
.video-wrapper:hover .play-icon-large {
    transform: scale(1.15);
    text-shadow: 0 0 20px var(--emerald);
}
.video-caption {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Indicators Section */
.indicators-section {
    padding: 60px 0;
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.indicator-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
}

.indicator-icon {
    font-size: 2.2rem;
    color: var(--emerald-light);
}

.indicator-data h3 {
    font-size: 2.2rem;
    line-height: 1.1;
    font-family: var(--font-display);
    color: #ffffff;
}

.indicator-data p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mvv-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
}

.mvv-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mvv-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.problem-vs-solution {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.comparison-card.problem::before { background-color: var(--red); }
.comparison-card.solution::before { background-color: var(--emerald); }

.comparison-card h4 {
    font-size: 1.3rem;
    margin-top: 16px;
    margin-bottom: 12px;
}

.comparison-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-badge.bg-red { background-color: var(--red-translucent); color: var(--red); border: 1px solid var(--red); }
.card-badge.bg-emerald { background-color: var(--emerald-translucent); color: var(--emerald-light); border: 1px solid var(--emerald); }

/* How It Works (Timeline Flow) */
.how-it-works-section {
    padding: 100px 0;
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.flow-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.flow-timeline::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-translucent), var(--emerald), var(--emerald-translucent));
    z-index: 1;
}

.flow-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.flow-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(16, 185, 129, 0.2);
    margin-bottom: -15px;
}

.flow-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-card);
    border: 2px solid var(--emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--emerald-light);
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
}

.flow-step:hover .flow-icon {
    background-color: var(--emerald);
    color: #000000;
    transform: scale(1.1);
}

.flow-step h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.flow-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0 16px;
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: var(--emerald-light);
    box-shadow: var(--shadow-glow);
}

.sol-icon {
    font-size: 2.2rem;
    color: var(--emerald-light);
    margin-bottom: 24px;
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Smart Station Section */
.smart-station-section {
    padding: 100px 0;
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.smart-station-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.station-hardware-mockup {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(145deg, #112219, #09110d);
    border: 3px solid #1c3529;
    border-radius: 30px;
    padding: 40px 24px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.station-camera-sensor {
    background: #000;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    font-size: 0.75rem;
    color: #fff;
    font-family: var(--font-display);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sensor-active-dot {
    width: 6px;
    height: 6px;
    background-color: var(--red);
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 8px var(--red);
    animation: pulseGlow 1.2s infinite;
}

.station-screen {
    background-color: #070d0a;
    border: 2px solid var(--emerald-glow);
    border-radius: 12px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-text {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--emerald-light);
    letter-spacing: 0.05em;
    animation: pulseGlow 2s infinite;
}

.station-deposit-slot {
    height: 90px;
    background: radial-gradient(circle, #050d08 30%, #15271d 100%);
    border: 2px solid #233f30;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.slot-light {
    width: 100%;
    max-width: 120px;
    height: 4px;
    background-color: var(--emerald-light);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--emerald);
    margin-bottom: 8px;
}

.station-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.station-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.station-features li i {
    font-size: 1.5rem;
    margin-top: 4px;
}

.station-features li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.station-features li div {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Partners & Demo Form */
.partners-section {
    padding: 100px 0;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
    opacity: 0.7;
}

.partner-logo-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.demo-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 24px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.demo-form-container .form-intro {
    text-align: center;
    margin-bottom: 40px;
}

.demo-form-container .form-intro h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.demo-form-container .form-intro p {
    color: var(--text-muted);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.field-instruction {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -4px;
    margin-bottom: 4px;
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-dark-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--emerald);
}

/* ==========================================================================
   6. BLOG / INSIGHTS (NOTICIAS.HTML)
   ========================================================================== */

/* Blog Hero */
.blog-hero-section {
    position: relative;
    padding: 120px 0 80px 0;
    text-align: center;
}
.hero-title-small {
    font-size: 3rem;
    margin-bottom: 16px;
}
.hero-subtitle-small {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Artigo em Destaque */
.featured-news-section {
    padding-bottom: 80px;
}
.featured-card-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 24px;
    overflow: hidden;
}

.featured-card-image {
    position: relative;
}

.news-image-mockup {
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--emerald-light);
}

/* Gradients específicos para cada mockup de notícia */
.tech-gradient-bg { background: linear-gradient(135deg, #091811 0%, #153526 100%); }
.esg-gradient-bg { background: linear-gradient(135deg, #04121d 0%, #0c3350 100%); color: var(--blue) !important; }
.ia-gradient-bg { background: linear-gradient(135deg, #100522 0%, #290f4e 100%); color: var(--purple) !important; }
.iot-gradient-bg { background: linear-gradient(135deg, #051d12 0%, #114e32 100%); }
.rec-gradient-bg { background: linear-gradient(135deg, #1e1302 0%, #4c2e02 100%); color: var(--orange) !important; }
.carbon-gradient-bg { background: linear-gradient(135deg, #061c22 0%, #0f4655 100%); }
.data-gradient-bg { background: linear-gradient(135deg, #0b1c11 0%, #1b4b2e 100%); }

.featured-card-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.category-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.read-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-title {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

.featured-excerpt {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-dark-gray);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--emerald);
}

.author-name {
    font-size: 1rem;
    color: #ffffff;
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Filtros e Busca */
.blog-filter-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-dark-gray);
}

.filter-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

#search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background-color: var(--bg-obsidian);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--emerald-translucent);
    border-color: var(--emerald);
    color: var(--emerald-light);
}

/* Grid de Artigos */
.news-grid-section {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-premium);
}

.news-card-header {
    position: relative;
}

.news-card-header .news-image-mockup {
    height: 220px;
    min-height: 220px;
    font-size: 3.5rem;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
}

.news-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.news-title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more-link {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--emerald-light);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.read-more-link:hover {
    color: #ffffff;
}

/* Paginação */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-page, .btn-pagination-arrow {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-page:hover, .btn-page.active, .btn-pagination-arrow:hover:not(:disabled) {
    background-color: var(--emerald-translucent);
    border-color: var(--emerald);
    color: var(--emerald-light);
}

.btn-pagination-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Newsletter Section */
.newsletter-section {
    padding-bottom: 100px;
}

.newsletter-card {
    background: linear-gradient(145deg, #0e1c14, #050d0a);
    border: 1px solid var(--border-color-hover);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.newsletter-content p {
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-newsletter {
    display: flex;
    gap: 12px;
}

.form-row-newsletter input[type="email"] {
    flex-grow: 1;
    background-color: var(--bg-obsidian);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
}

.newsletter-consent {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   7. COMPLIANCE & GOVERNANÇA (GOVERNANCA.HTML)
   ========================================================================== */

.gov-hero-section {
    position: relative;
    padding: 120px 0 80px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.gov-downloads-section {
    padding-bottom: 80px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.download-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
}

.doc-icon-wrapper {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 20px;
}

.doc-info h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.doc-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--emerald-light);
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-download:hover {
    color: #ffffff;
}

/* Layout Split: Sidebar + Artigos */
.gov-content-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.gov-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.gov-sidebar {
    position: relative;
}

.sticky-nav-box {
    position: sticky;
    top: 100px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.sticky-nav-box h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--emerald-light);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.sticky-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-nav-links .sidebar-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-nav-links .sidebar-link:hover, .sticky-nav-links .sidebar-link.active {
    color: var(--emerald-light);
}

.gov-articles-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.gov-article-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    position: relative;
}

.article-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.gov-article-card h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.gov-article-card p.lead {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
}

.gov-article-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   8. CANAL DE DENÚNCIAS (DENUNCIAS.HTML)
   ========================================================================== */
.whistleblower-hero {
    background: radial-gradient(circle at 50% 20%, rgba(239, 68, 68, 0.04) 0%, transparent 50%);
}

.safety-guidelines-section {
    padding-bottom: 80px;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.guideline-info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.g-icon {
    font-size: 2.2rem;
    color: var(--emerald-light);
    margin-bottom: 20px;
}

.guideline-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.guideline-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.whistleblower-content-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.whistleblower-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.report-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    border-radius: 24px;
    padding: 48px;
}

.report-form-wrapper .form-intro {
    margin-bottom: 32px;
}

.report-form-wrapper .form-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.report-form-wrapper .form-intro p {
    color: var(--text-muted);
}

/* Grupo Seletor de Tipo de Relato */
.radio-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.radio-toggle-label {
    cursor: pointer;
}

.radio-toggle-label input[type="radio"] {
    display: none;
}

.radio-custom-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-dark-gray);
    border-radius: 12px;
    transition: var(--transition-smooth);
    text-align: center;
}

.radio-custom-box i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.radio-custom-box strong {
    font-family: var(--font-display);
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

.radio-custom-box small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.radio-toggle-label input[type="radio"]:checked + .radio-custom-box {
    border-color: var(--emerald);
    background-color: var(--emerald-translucent);
}

.radio-toggle-label input[type="radio"]:checked + .radio-custom-box i {
    color: var(--emerald-light);
}

/* Área de Upload de Arquivos */
.file-upload-dropzone {
    position: relative;
    border: 2px dashed var(--border-color-hover);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background-color: var(--bg-dark-gray);
    transition: var(--transition-smooth);
}

.file-upload-dropzone:hover {
    border-color: var(--emerald);
}

.file-upload-dropzone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.dropzone-visual i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.dropzone-visual span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropzone-visual strong {
    color: var(--emerald-light);
}

/* Protocolo e Retorno de Sucesso */
.protocol-generation-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon-wrapper {
    font-size: 4rem;
    margin-bottom: 24px;
}

.protocol-box {
    background-color: var(--bg-dark-gray);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 450px;
}

.protocol-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.protocol-code-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.protocol-code {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--emerald-light);
    letter-spacing: 0.1em;
}

.btn-copy {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}
.btn-copy:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.warning-alert-box {
    background-color: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
}

.warning-alert-box i {
    font-size: 1.4rem;
    color: var(--red);
}

.warning-alert-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Sidebar do Whistleblower */
.whistleblower-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.consultation-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.consultation-icon {
    font-size: 2.2rem;
    color: var(--emerald-light);
    margin-bottom: 16px;
}

.consultation-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.consultation-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.sidebar-search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consultation-result-box {
    margin-top: 24px;
}

.status-badge-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.status-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-em-analise {
    background-color: var(--orange-translucent);
    color: var(--orange);
    border: 1px solid var(--orange);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-update-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   9. PAINEL DE CONTROLE ESG (DASHBOARD.HTML)
   ========================================================================== */

body.dash-layout {
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
}

.dash-sidebar {
    width: 280px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.sidebar-brand {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-menu {
    list-style: none;
    padding: 24px 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--emerald-translucent);
    color: var(--emerald-light);
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.dash-main {
    margin-left: 280px;
    flex-grow: 1;
    padding: 40px;
    max-width: calc(100% - 280px);
    transition: var(--transition-smooth);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-card);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: 700;
}

/* Grid de Métricas KPI */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.kpi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.kpi-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.kpi-value {
    font-size: 1.8rem;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 8px;
}

.kpi-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-up { color: var(--emerald); }
.trend-down { color: var(--red); }

/* Gráficos e Tabelas */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.chart-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    min-height: 320px;
}

.chart-card-title {
    font-size: 1rem;
    font-family: var(--font-display);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.dash-table-wrapper {
    overflow-x: auto;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dash-table th {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
}

.dash-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Badges para Status de Lotes */
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-certified { background-color: var(--emerald-translucent); color: var(--emerald-light); border: 1px solid var(--emerald); }
.badge-transit { background-color: var(--blue-translucent); color: var(--blue); border: 1px solid var(--blue); }
.badge-processing { background-color: var(--orange-translucent); color: var(--orange); border: 1px solid var(--orange); }

/* Telemetria de Smart Stations */
.map-mockup-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.map-placeholder {
    height: 250px;
    background: radial-gradient(circle, #0e271c 0%, #050d0a 100%);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-dot {
    width: 12px;
    height: 12px;
    background-color: var(--emerald);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseGlow 1.8s infinite;
}

/* ==========================================================================
   10. FOOTER COMPLETO & INSTITUCIONAL
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.social-links a:hover {
    color: var(--emerald-light);
    border-color: var(--emerald);
    background-color: var(--emerald-translucent);
}

.footer-links-column h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-links-column ul li a:hover {
    color: var(--emerald-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-flex p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   11. CONSULTAS DE MÍDIA & RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 1024px) {
    /* Menu Mobile */
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none; /* Requer controle via classe active através de JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-obsidian);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        z-index: 999;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Layouts Split */
    .hero-grid, .about-grid, .gov-layout-grid, .whistleblower-layout-grid, .newsletter-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-card-wrapper {
        grid-template-columns: 1fr;
    }
    .featured-card-content {
        padding: 40px;
    }
    
    .smart-station-grid {
        grid-template-columns: 1fr;
    }
    .station-image-side {
        order: 2;
    }
    .station-text-side {
        order: 1;
    }
    
    /* Dashboard Mobile adjustments */
    .dash-sidebar {
        transform: translateX(-100%);
    }
    .dash-sidebar.active {
        transform: translateX(0);
    }
    .dash-main {
        margin-left: 0;
        max-width: 100%;
        padding: 24px;
    }
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Ajustes Gerais */
    .hero-title {
        font-size: 2.6rem;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .flow-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .flow-timeline::after {
        display: none;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-form-container, .report-form-wrapper, .newsletter-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   15. TELA DE LOGIN (SPLIT-SCREEN PREMIUM) - RECONSTRUÇÃO ISOLADA
   ========================================================================== */

/* Forçar reset absoluto apenas quando estiver na página de login */
body.login-body {
    background-color: var(--bg-obsidian) !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Forçar o container a ocupar a tela inteira */
body.login-body .login-split-container {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    width: 100% !important;
    min-height: 100vh !important;
}

/* --- PAINEL ESQUERDO (IMPACTO VISUAL) --- */
body.login-body .login-left-panel {
    background: linear-gradient(135deg, rgba(4, 8, 6, 0.95) 0%, rgba(10, 17, 13, 0.98) 100%), 
                url('https://images.unsplash.com/photo-1618220179428-22790b461013?q=80&w=1000') no-repeat center center/cover !important;
    padding: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    border-right: 1px solid var(--border-color) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Efeito Glow Verde Esmeralda de fundo */
body.login-body .login-left-panel::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: var(--emerald-glow);
    filter: blur(130px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

body.login-body .login-left-header, 
body.login-body .login-left-middle, 
body.login-body .login-left-footer {
    position: relative !important;
    z-index: 2 !important;
}

body.login-body .login-left-header .logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 1.8rem !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

body.login-body .login-left-middle {
    max-width: 520px !important;
    margin: auto 0 !important;
}

body.login-body .login-left-middle h1 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: -1px !important;
}

body.login-body .login-left-middle p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #8e9f95 !important;
    margin: 0 !important;
}

/* Footer do Painel Esquerdo (Metas ESG) */
body.login-body .login-left-footer {
    border-top: 1px solid rgba(16, 185, 129, 0.15) !important;
    padding-top: 30px !important;
}

body.login-body .login-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

body.login-body .login-meta-item i {
    font-size: 1.4rem !important;
    color: var(--emerald) !important;
    background: var(--emerald-translucent) !important;
    padding: 12px !important;
    border-radius: 10px !important;
    border: 1px solid var(--border-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.login-body .login-meta-text h4 {
    font-family: 'Space Grotesk', sans-serif !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin: 0 0 4px 0 !important;
}

body.login-body .login-meta-text p {
    font-size: 0.88rem !important;
    color: #8e9f95 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}


/* --- PAINEL DIREITO (FORMULÁRIO DE LOGIN) --- */
body.login-body .login-right-panel {
    background-color: var(--bg-obsidian) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 40px !important;
    position: relative !important;
    box-sizing: border-box !important;
}

body.login-body .login-form-wrapper {
    width: 100% !important;
    max-width: 400px !important;
    box-sizing: border-box !important;
}

body.login-body .login-right-header {
    margin-bottom: 32px !important;
}

body.login-body .login-right-header h2 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 2.2rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.5px !important;
}

body.login-body .login-right-header p {
    color: #8e9f95 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

/* Alertas de Erro/Validação */
body.login-body .login-alert {
    background-color: var(--red-translucent) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.login-body .alert-hidden {
    display: none !important;
}

/* Estrutura Interna do Formulário */
body.login-body .login-form .form-group {
    margin-bottom: 22px !important;
}

body.login-body .login-form label {
    display: block !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
}

body.login-body .input-icon-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

/* Ícone de entrada (Left) */
body.login-body .input-icon-wrapper i:not(.toggle-password) {
    position: absolute !important;
    left: 16px !important;
    color: rgba(16, 185, 129, 0.5) !important;
    font-size: 1rem !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

/* Inputs de Texto e Password Resetados */
body.login-body .login-form input[type="text"],
body.login-body .login-form input[type="password"] {
    width: 100% !important;
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 14px 16px 14px 46px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    height: auto !important;
    box-shadow: none !important;
}

body.login-body .login-form input[type="text"]:focus,
body.login-body .login-form input[type="password"]:focus {
    border-color: var(--emerald) !important;
    background-color: var(--bg-card-hover) !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15) !important;
    outline: none !important;
}

/* Ícone de Revelar Senha (Olho) */
body.login-body .toggle-password {
    position: absolute !important;
    right: 16px !important;
    color: #8e9f95 !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    z-index: 10 !important;
    background: none !important;
    border: none !important;
}

body.login-body .toggle-password:hover {
    color: var(--emerald-light) !important;
}

/* Opções de Login (Lembrar & Esqueci Senha) */
body.login-body .login-options {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    font-size: 0.88rem !important;
}

body.login-body .checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #8e9f95 !important;
    cursor: pointer !important;
}

body.login-body .checkbox-container input[type="checkbox"] {
    accent-color: var(--emerald) !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

body.login-body .forgot-password {
    color: var(--emerald) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

body.login-body .forgot-password:hover {
    color: var(--emerald-light) !important;
    text-decoration: underline !important;
}

/* Botão de Submissão */
body.login-body .btn-login-submit {
    width: 100% !important;
    background-color: var(--emerald) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

body.login-body .btn-login-submit:hover {
    background-color: var(--emerald-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25) !important;
}

/* Efeito de Loading (Spinner) */
body.login-body .btn-loader {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.login-body .spinner-hidden {
    display: none !important;
}

/* Rodapé do Painel de Login */
body.login-body .login-right-footer {
    text-align: center !important;
    margin-top: 32px !important;
    font-size: 0.9rem !important;
    color: #8e9f95 !important;
}

body.login-body .login-right-footer a {
    color: var(--emerald) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body.login-body .login-right-footer a:hover {
    text-decoration: underline !important;
    color: var(--emerald-light) !important;
}


/* --- RESPONSIVIDADE ADAPTADA --- */
@media (max-width: 1024px) {
    body.login-body .login-split-container {
        grid-template-columns: 1fr !important;
    }
    
    body.login-body .login-left-panel {
        display: none !important; /* Oculta o painel gráfico no mobile */
    }
    
    body.login-body {
        align-items: center !important;
        justify-content: center !important;
    }
    
    body.login-body .login-right-panel {
        width: 100% !important;
        padding: 40px 24px !important;
    }
}

/* ==========================================================================
   16. ÁREA DE RELAÇÕES COM INVESTIDORES (RI) - PREMIUM
   ========================================================================== */

/* Hero Section de RI */
.investor-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-obsidian) 0%, var(--bg-dark-gray) 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.investor-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--emerald-glow);
    filter: blur(150px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.investor-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.investor-hero .tag-esg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-translucent);
    color: var(--emerald-light);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.investor-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.investor-hero p {
    font-size: 1.2rem;
    color: #8e9f95;
    line-height: 1.6;
}

/* Grid de Indicadores Financeiros / Operacionais */
.investor-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.metric-card-ri {
    background: rgba(14, 26, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card-ri:hover {
    transform: translateY(-8px);
    border-color: var(--emerald);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
    background: var(--bg-card-hover);
}

.metric-card-ri .metric-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.metric-card-ri .metric-val span {
    color: var(--emerald);
    font-size: 1.5rem;
}

.metric-card-ri .metric-label {
    font-size: 0.95rem;
    color: #8e9f95;
    font-weight: 500;
    line-height: 1.4;
}

/* Tese de Investimento (Seção de Destaque) */
.thesis-section {
    padding: 100px 0;
    background-color: var(--bg-obsidian);
}

.thesis-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.thesis-sticky-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 24px;
}

.thesis-sticky-header p {
    color: #8e9f95;
    line-height: 1.6;
    font-size: 1.05rem;
}

.thesis-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thesis-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.thesis-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(5px);
}

.thesis-item i {
    font-size: 1.8rem;
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.08);
    width: 54px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thesis-item-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.thesis-item-content p {
    color: #8e9f95;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hub de Downloads / Central de Resultados */
.ri-downloads {
    padding: 100px 0;
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
}

.downloads-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.downloads-section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.downloads-section-header p {
    color: #8e9f95;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 240px;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--emerald);
    transform: translateY(-5px);
}

.download-card-top h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.download-card-top p {
    color: #8e9f95;
    font-size: 0.9rem;
    line-height: 1.5;
}

.download-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.download-card-footer .file-info {
    font-size: 0.8rem;
    color: var(--emerald);
    font-weight: 600;
    text-transform: uppercase;
}

.download-card-footer .btn-download-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-card:hover .btn-download-link {
    background: var(--emerald);
    color: #ffffff;
}

/* Responsividade de RI */
@media (max-width: 1024px) {
    .investor-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .thesis-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .investor-hero h1 {
        font-size: 2.8rem;
    }
    .investor-metrics-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}