/* Variáveis Globais (Cores Premium: Azul, Branco, Preto) */
:root {
    --color-primary: #0056b3; /* Azul Premium */
    --color-primary-dark: #003d82;
    --color-primary-light: #3385ff;
    --color-secondary: #0a0a0a; /* Preto Profundo */
    --color-light: #ffffff; /* Branco */
    --color-text: #333333;
    --color-text-light: #e0e0e0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-height: 100px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary-light) rgba(255, 255, 255, 0.08);
}

html::-webkit-scrollbar {
    width: 14px;
}

html::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(0, 61, 130, 0.92) 0%, rgba(10, 10, 10, 0.96) 100%);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 999px;
    border: 3px solid rgba(6, 16, 34, 0.9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5aa3ff 0%, var(--color-primary-dark) 100%);
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal no mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Navegação
   ========================================================================== */
.main-header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95); /* Fundo claro para contrastar com azul */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 80px; /* Reduz a altura levemente ao rolar */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-header.scrolled .logo img {
    height: 55px; /* Logo diminui junto com o header no scroll */
    /* Filtro ajustado exatamente para o azul principal (--color-primary: #0056b3) a partir do branco */
    filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(3500%) hue-rotate(200deg) brightness(90%) contrast(100%);
}

@media (max-width: 991px) {
    .main-header.scrolled .main-nav {
        top: 80px;
        height: calc(100svh - 80px);
    }
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navegação Mobile First (Oculta por padrão) */
.main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100svh - var(--header-height));
    /* Efeito glassmorphism (fundo desfocado translúcido) premium ao invés do preto sólido */
    background: rgba(0, 30, 80, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav.active {
    left: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    color: var(--color-light);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-header.scrolled .nav-list a {
    color: var(--color-primary); /* Fica azul quando descer o scroll */
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.main-header.scrolled .nav-list a::after {
    background-color: var(--color-primary-light); /* A linha embaixo fica azul claro no hover quando rolado */
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-primary-light);
}

.main-header.scrolled .nav-list a:hover,
.main-header.scrolled .nav-list a.active {
    color: var(--color-primary-light); /* Fica azul claro no hover quando descer o scroll */
}

/* Redes Sociais Desktop e Mobile */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-bottom: 40px;
}

.social-links a {
    color: var(--color-light);
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header.scrolled .social-links a {
    color: var(--color-primary);
    border-color: rgba(0, 86, 179, 0.2);
    background-color: transparent;
}

.social-links a:hover {
    color: var(--color-light);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}

.main-header.scrolled .social-links a:hover {
    color: #fff; /* Ícone branco no hover para dar contraste */
    background-color: var(--color-primary-light); /* Fundo azul claro no hover */
    border-color: var(--color-primary-light);
    box-shadow: 0 5px 15px rgba(51, 133, 255, 0.3);
}

/* Botão Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 7px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--color-light);
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
    transform-origin: 1px;
}

.main-header.scrolled .mobile-menu-toggle span {
    background: var(--color-primary); /* Hamburguer azul quando rolado */
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Fundo com Texto)
   ========================================================================== */
.hero {
    height: 100svh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(100%, 720px);
    /* Atua apenas na lateral esquerda para nao criar faixa escura no topo e na base */
    background: linear-gradient(90deg, rgba(8, 12, 22, 0.72) 0%, rgba(8, 12, 22, 0.46) 34%, rgba(8, 12, 22, 0.14) 68%, rgba(8, 12, 22, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-text {
    max-width: 90%;
    color: var(--color-light);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
    padding: 15px;
    border-left: 4px solid var(--color-primary);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 0 8px 8px 0;
}

.hero-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text h1 span {
    color: var(--color-primary-light);
}

.hero-text p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
    font-weight: 300;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 2px solid var(--color-primary);
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-light);
    color: var(--color-light);
    border-color: var(--color-primary-light);
    box-shadow: 0 10px 24px rgba(51, 133, 255, 0.45);
    transform: translateY(-2px) scale(1.02);
    outline: none;
}

/* ==========================================================================
   Seção de Programação
   ========================================================================== */
.schedule-section {
    padding: 60px 0 80px; /* Reduzido padding superior para ficar mais próximo do vídeo */
    background-color: #f4f6f9;
    position: relative;
    overflow: hidden;
}

/* Fundo mais atrativo (efeito geométrico suave) */
.schedule-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.03) 0%, transparent 70%);
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.schedule-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.04) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.schedule-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Container mais largo especificamente para a seção de programação */
.container.schedule-layout {
    max-width: 100%;
    padding: 0 20px; /* Margem padrão unificada */
}

.schedule-left {
    width: 100%;
    overflow: hidden; /* Previne overflow de filhos vazando */
    padding-bottom: 40px; /* Garante espaço inferior na div da esquerda para não cortar a sombra e cards */
}

@media (min-width: 992px) {
    .schedule-layout {
        grid-template-columns: 60% 40%; /* Proporção exata 60/40 como solicitado */
        gap: 40px;
        align-items: start;
    }
    .container.schedule-layout {
        padding: 0 4%; /* Margem de 4% nas laterais nas telas grandes */
    }
}

@media (min-width: 1400px) {
    .container.schedule-layout {
        padding: 0 5%;
        gap: 60px;
    }
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    font-family: var(--font-main);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.section-header h2 i {
    color: var(--color-primary);
    font-size: 1.4rem;
    background: rgba(0, 86, 179, 0.1);
    padding: 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-header p {
    color: #777;
    font-size: 0.95rem;
    font-family: var(--font-main);
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-left: 2px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    color: var(--color-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.program-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 25px; /* Adicionado espaço para a sombra e evitar corte e scroll indesejado */
}

.program-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 25px; /* Adicionado mais espaço inferior para sombra/hover */
    
    /* Make it bleed to edges on mobile but keep internal padding */
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    
    /* Esconde scrollbar no Firefox e IE */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (max-width: 576px) {
    .program-carousel {
        scroll-padding-left: 20px;
        padding-bottom: 35px; /* Aumenta o padding inferior no mobile para a sombra e borda do card respirar */
    }
    .news-carousel {
        scroll-padding-left: 20px;
    }
}

/* Esconde scrollbar no Chrome, Safari e Edge */
.program-carousel::-webkit-scrollbar {
    display: none;
}

.program-card {
    background: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: none;
    display: flex;
    flex-direction: column;
    
    /* Mostrar 3 itens por vez com um gap de 20px (calculado) nas telas bem grandes */
    flex: 0 0 calc(33.333% - 13.33px);
    scroll-snap-align: start;
}

@media (max-width: 1399px) {
    .program-card {
        flex: 0 0 calc(50% - 10px); /* 2 itens */
    }
}

@media (min-width: 992px) {
    .program-carousel {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .news-carousel {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}
/* ==========================================================================
   Seção de Contatos (Premium Edge-to-Edge)
   ========================================================================== */
.contact-section {
    padding: 0;
    background-color: #fdfdfd;
    position: relative;
    width: 100%;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    min-height: auto; /* Deixa a altura se adaptar ao conteúdo e fica mais compacto */
}

/* Lado Esquerdo - Formulário */
.contact-left {
    flex: 1;
    min-width: 50%;
    padding: 60px 20px; /* Padding unificado e alinhado */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.contact-header {
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.contact-header h2 i {
    color: var(--color-primary);
    background: rgba(0, 86, 179, 0.1);
    padding: 10px;
    border-radius: 10px;
    font-size: 1.4rem;
}

.contact-header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

/* Formulário Moderno Minimalista */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0 5px 0; /* Padding super compacto */
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    font-size: 1rem;
    color: var(--color-secondary);
    font-family: var(--font-main);
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
    box-shadow: none;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 0.95rem;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Efeito de Label flutuante */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* Esconder o placeholder nativo para usar o label como placeholder animado */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px; /* Textarea bem menor */
}

/* Erro visual de validação */
.form-group input.invalid,
.form-group textarea.invalid {
    border-bottom-color: #dc3545;
}

/* Botão Premium */
.btn-submit-premium {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px; /* Botão menor e mais elegante */
    background: var(--color-secondary); /* Preto/Escuro */
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 5px;
    align-self: flex-start;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-primary); /* Azul expande no hover */
    transition: all 0.4s ease;
    z-index: 0;
}

.btn-submit-premium span,
.btn-submit-premium i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-submit-premium:hover {
    box-shadow: 0 15px 25px rgba(0, 86, 179, 0.3);
    transform: translateY(-2px);
}

.btn-submit-premium:hover::before {
    width: 100%;
}

.btn-submit-premium:hover i {
    transform: translateX(5px);
}

/* Lado Direito - Info e Mapa */
.contact-right {
    flex: 1;
    min-width: 50%;
    /* Correção do caminho da imagem de fundo absoluto */
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('../../fundo.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-info-premium {
    padding: 60px 20px; /* Reduzido para compactar e alinhado */
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.contact-info-premium h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-premium h3 i {
    color: var(--color-primary-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.info-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.map-premium {
    height: 250px; /* Reduzido para ficar mais compacto */
    width: 100%;
    z-index: 2;
}



.info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.info-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.map-premium {
    height: 200px;
    width: 100%;
    z-index: 2;
}

/* Responsivo Contato Premium */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .contact-left {
        padding: 60px 8%;
    }
    .contact-info-premium {
        padding: 60px 8%;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }
    .contact-left, .contact-right {
        min-width: 100%;
        padding: 40px 20px; /* Padding unificado padrão container */
    }
    .contact-info-premium {
        padding: 30px 20px;
    }
    .btn-submit-premium {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .program-card {
        flex: 0 0 calc(100% - 40px); /* Ocupa 100% menos o padding */
        margin-bottom: 20px; /* Garante que a sombra/card não seja cortada embaixo */
    }
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 86, 179, 0.08);
}

.program-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9; /* Proporção de tela de TV */
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Imagem ocupando 100% da área sem distorcer */
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-info {
    padding: 16px 20px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 6px;
    font-family: var(--font-main);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.program-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    font-family: var(--font-main);
    font-weight: 400;
}

/* Container de TV ao Vivo e Widgets */
.live-video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #000;
    margin-bottom: 25px; /* Espaço para os widgets abaixo */
    margin-top: 20px; /* Descola um pouco do título */
}

/* ==========================================================================
   Widgets em Tempo Real
   ========================================================================== */
.realtime-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 20px;
}

.widget-card {
    position: relative;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 200px; /* Reduzido de 250px para 200px */
    max-width: 320px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    overflow: hidden;
    color: #fff;
    background-size: cover;
    background-position: center;
}

/* Background com imagens/padrões */
.weather-card {
    /* Background de céu/nuvens (Imagem sutil + overlay escuro) */
    background: linear-gradient(to right, rgba(0, 50, 100, 0.85), rgba(0, 50, 100, 0.7)),
                url('https://images.unsplash.com/photo-1534088568595-a066f410cbda?w=400&q=80') center/cover no-repeat;
}

.dollar-card {
    /* Background de mercado financeiro/bolsa (Imagem sutil + overlay verde escuro) */
    background: linear-gradient(to right, rgba(10, 60, 30, 0.85), rgba(10, 60, 30, 0.7)),
                url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=400&q=80') center/cover no-repeat;
}

.time-card {
    /* Background tecnológico/abstrato (Imagem sutil + overlay roxo/azul) */
    background: linear-gradient(to right, rgba(40, 10, 80, 0.85), rgba(40, 10, 80, 0.7)),
                url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?w=400&q=80') center/cover no-repeat;
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Efeito de background nas divs (gradiente decorativo) */
.widget-bg {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.dollar-card .widget-bg {
    right: auto;
    left: -20%;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.35) 0%, transparent 70%);
}

.weather-card .widget-bg {
    background: radial-gradient(circle, rgba(255, 165, 0, 0.3) 0%, transparent 70%);
}

.time-card .widget-bg {
    right: -10%;
    left: auto;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.35) 0%, transparent 70%);
}

.widget-icon, .widget-info {
    position: relative;
    z-index: 1;
}

.widget-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.weather-icon-container {
    background: rgba(255, 255, 255, 0.2);
    color: #ffca28; /* Amarelo quente */
    backdrop-filter: blur(4px);
}

.dollar-icon-container {
    background: rgba(255, 255, 255, 0.2);
    color: #69f0ae; /* Verde neon suave */
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Seção de Notícias Integradas
   ========================================================================== */
.news-section {
    padding: 80px 0;
    background-color: var(--color-light); /* Fundo branco para destacar */
}

.news-container {
    max-width: 1400px; /* Bem largo */
}

.news-carousel-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 40px; /* Garante que o container pai não corte o filho que tem sombra */
}

.news-loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
}

.news-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 50px; /* Muito mais espaço inferior para evitar qualquer corte na sombra ou nos cards */
    margin-bottom: -20px; /* Compensa o padding visualmente sem cortar o container pai */
    padding-top: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    /* Make it bleed to edges on mobile but keep internal padding */
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 320px; /* Largura fixa boa para leitura */
    scroll-snap-align: start;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

@media (max-width: 576px) {
    .news-card {
        flex: 0 0 calc(100% - 40px); /* 100% menos o padding */
    }
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 86, 179, 0.12);
}

.news-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.news-info {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 8px;
    line-height: 1.2;
    font-family: var(--font-main);
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt p {
    margin: 0;
}

.news-read-more {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(0, 86, 179, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.news-card:hover .news-read-more {
    background: var(--color-primary);
    color: #fff;
    padding-left: 20px;
    padding-right: 15px;
}

/* ==========================================================================
   Seção de Parceiros (Marquee Infinito Moderno)
   ========================================================================== */
.partners-section {
    padding: 60px 0;
    /* Fundo Azul com Gradiente e Padrão de Pontilhado Premium */
    background: linear-gradient(135deg, var(--color-primary) 0%, #003d82 100%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px; /* Tamanho do gradiente e espaçamento dos pontinhos */
    color: var(--color-light);
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 1; /* Garante empilhamento correto da seção */
}

/* Efeito de brilho decorativo no fundo (Glow) */
.partners-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%; /* Trocado de 60vw para 60% para não quebrar limite */
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(51, 133, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: rotate(-15deg);
    z-index: 0;
}

.partners-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Garante que fique acima do brilho de fundo e seja clicável corretamente */
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.partners-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.partners-header h2 i {
    color: var(--color-primary-light);
}

.partners-header p {
    font-size: 1rem;
    opacity: 0.8;
}

/* O wrapper cria o efeito de Blur (fade) nas bordas esquerda e direita */
.partners-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    pointer-events: none; /* Isso faz com que o container invisível não intercepte o mouse em outras partes do site */
}

.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%; /* Substituído vw por % para evitar bugs de transbordamento */
    min-width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-primary) 0%, transparent 100%);
}

.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-primary) 0%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
    align-items: center;
    pointer-events: auto; /* Devolve a interatividade (hover) só para a faixa de logos */
}

/* Pausa a animação ao passar o mouse */
.partners-track:hover {
    animation-play-state: paused;
}

/* O Cartão do parceiro agora é apenas a imagem "limpa" */
.partner-logo {
    height: 60px; /* Tamanho fixo e elegante */
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.6); /* Transforma tudo em logo branca semi-transparente */
    transition: var(--transition);
    cursor: pointer;
}

.partner-logo:hover {
    filter: brightness(0) invert(1) opacity(1); /* Fica totalmente branco brilhante no hover */
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px)); 
    }
}

/* Responsivo Marquee */
@media (max-width: 768px) {
    .partners-section {
        padding: 40px 0;
    }
    .partner-logo {
        height: 40px;
    }
}



.time-icon-container {
    background: rgba(255, 255, 255, 0.2);
    color: #e040fb; /* Roxo neon suave */
    backdrop-filter: blur(4px);
}

.widget-info {
    display: flex;
    flex-direction: column;
}

.widget-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.widget-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    font-family: var(--font-main);
}

@media (max-width: 991px) {
    .realtime-widgets {
        max-width: 100%;
    }
    .widget-card {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .realtime-widgets {
        flex-direction: column;
        gap: 15px;
        padding-right: 0; /* Correção para o padding right */
        padding-bottom: 20px; /* Garante que a sombra/card não corte na base */
        width: 100%; /* Força a ocupar exatamente 100% da caixa do container pai */
    }
    .widget-card {
        flex: 0 0 auto;
        max-width: 100%;
        width: calc(100% - 40px); /* Ocupa 100% menos as margens laterais */
        margin: 0 auto; /* Centraliza */
        padding: 20px;
    }
}

.live-player {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #e50914;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(229, 9, 20, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
    }
}

/* ==========================================================================
   Página Quem Somos
   ========================================================================== */

/* Hero Section (Quem Somos) */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Aumentado para mostrar mais da foto */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Removido parallax para evitar bugs em algumas telas */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinhado à esquerda como na home */
    padding-top: var(--header-height);
    margin-top: -80px; /* Faz a foto subir até o topo absoluto por baixo do header */
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente mais limpo que preserva a foto e escurece apenas onde tem texto */
    background: linear-gradient(to right, rgba(0, 30, 80, 0.9) 0%, rgba(0, 30, 80, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px; /* Limita a largura do texto para não cobrir a logo da foto */
    margin: 0;
    padding-left: 5%;
}

.about-hero .hero-text.full-width {
    text-align: left; /* Alinhamento elegante à esquerda */
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-light);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.about-hero h1 span {
    color: var(--color-primary-light);
}

.about-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Conteúdo da História */
.about-content-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Fundo cinza bem claro e moderno */
    position: relative;
}

/* Container centralizado para quem-somos.php, evitando quebra da formatação */
.about-content-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout mais compacto e moderno (Bento Grid ou Cards Menores) */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 0;
    align-items: stretch;
    position: relative;
    overflow: clip;
    padding-bottom: 24px;
}

.about-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px; /* Linha de destaque lateral em vez de topo */
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-5px); /* Movimento mais sutil */
    box-shadow: 0 12px 30px rgba(0, 48, 135, 0.08);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 48, 135, 0.05);
    border-radius: 12px; /* Ícone com borda quadrada arredondada */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0; /* Alinhado à esquerda */
    color: var(--color-primary);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon {
    background: var(--color-primary);
    color: var(--color-light);
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.3rem; /* Fonte um pouco mais refinada */
    color: #1a202c; /* Cor de texto chumbo escuro, não preto puro */
    margin-bottom: 12px;
    font-weight: 700;
}

.about-card p {
    color: #4a5568; /* Cinza médio para leitura agradável */
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1; /* Faz o texto preencher o card uniformemente */
}

/* Frase de Destaque Refinada */
.about-quote-container {
    max-width: 1000px;
    margin: 36px auto 0 auto;
    clear: both;
    position: relative;
    z-index: 1;
}

.about-quote {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #2d3748;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.about-quote::after {
    content: '\f10d'; /* Ícone de aspas FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 8rem;
    color: rgba(0, 48, 135, 0.03); /* Marca d'água super suave */
    top: -10px;
    right: 10px;
    pointer-events: none;
}

.about-quote blockquote {
    position: relative;
    z-index: 2;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.about-quote blockquote i {
    font-size: 1rem;
    vertical-align: super;
    color: var(--color-primary);
    margin: 0 10px;
}

/* Responsividade específica para a página Quem Somos */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .main-header,
    .main-header.scrolled {
        height: var(--header-height);
        background: rgba(0, 30, 80, 0.82);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    }

    .header-container {
        min-height: var(--header-height);
        padding: 0 16px;
    }

    .logo img,
    .main-header.scrolled .logo img {
        height: 48px;
        filter: none;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px 6px;
    }

    .mobile-menu-toggle span,
    .main-header.scrolled .mobile-menu-toggle span {
        width: 28px;
        background: var(--color-light);
    }

    .main-nav {
        top: var(--header-height);
        height: calc(100svh - var(--header-height));
        padding-top: 32px;
    }

    .main-header.scrolled .main-nav {
        top: var(--header-height);
        height: calc(100svh - var(--header-height));
    }

    .about-hero {
        min-height: 520px;
        margin-top: 0;
        padding-top: calc(var(--header-height) + 52px);
        padding-bottom: 28px;
        align-items: flex-end;
        background-position: 64% center;
    }

    .about-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 30, 80, 0.28) 0%, rgba(0, 30, 80, 0.48) 24%, rgba(0, 20, 52, 0.82) 100%);
    }

    .about-hero .hero-content {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-hero .hero-text.full-width {
        max-width: 320px;
        padding: 22px 18px;
        border-radius: 18px;
        background: rgba(6, 18, 40, 0.42);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    }
    
    .about-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        line-height: 0.95;
        margin-bottom: 14px;
    }

    .about-hero p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .about-content-section {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 0;
    }

    .about-card {
        padding: 25px 20px;
    }

    .about-quote-container {
        margin-top: 40px;
    }
    
    .about-quote blockquote {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Classes Utilitárias
   ========================================================================== */
.d-none {
    display: none !important;
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    
    .d-lg-flex {
        display: flex !important;
    }
}

/* ==========================================================================
   Media Queries (Desktop)
   ========================================================================== */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none; /* Oculta o toggle no desktop */
    }

    .main-nav {
        position: static;
        top: auto;
        left: auto;
        height: auto;
        width: auto;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: row;
        padding-top: 0;
        overflow-y: visible;
        border-top: none;
    }

    .main-header.scrolled .main-nav {
        top: auto;
        left: auto;
        height: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 25px;
    }

    .nav-list a {
        font-size: 0.85rem;
        padding: 5px 0;
    }

    .social-links {
        display: flex;
        margin-top: 0;
        padding-bottom: 0;
        gap: 15px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        background-color: transparent;
        border-color: transparent;
    }

    .hero-text {
        max-width: 500px;
        padding: 30px;
        background: transparent;
        backdrop-filter: none;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
        letter-spacing: 1px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-overlay {
        width: min(52vw, 760px);
        background: linear-gradient(90deg, rgba(8, 12, 22, 0.62) 0%, rgba(8, 12, 22, 0.34) 38%, rgba(8, 12, 22, 0.1) 72%, rgba(8, 12, 22, 0) 100%);
    }
}

@media (max-width: 767px) {
    .hero {
        height: 100svh;
        min-height: 100svh;
    }

    .hero-video {
        object-position: 62% center;
    }

    .hero-overlay {
        width: 100%;
        background: linear-gradient(90deg, rgba(8, 12, 22, 0.72) 0%, rgba(8, 12, 22, 0.5) 32%, rgba(8, 12, 22, 0.2) 56%, rgba(8, 12, 22, 0.05) 76%, rgba(8, 12, 22, 0) 100%);
    }
}

/* Telas Extra Grandes */
@media (min-width: 1400px) {
    .hero-text h1 {
        font-size: 5rem;
    }
}

/* ==========================================================================
   Footer Moderno Premium
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary-dark);
    color: #ffffff; /* Força cor branca em todo o texto */
    font-family: var(--font-main);
    padding: 40px 0 0 0; /* Mais compacto (era 70px) */
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary), #002244);
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Mais compacto (era 50px) */
    margin-bottom: 30px; /* Mais compacto (era 50px) */
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--font-main);
    letter-spacing: -0.5px;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px; /* Mais compacto (era 25px) */
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
    font-family: var(--font-main);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ffffff; /* Linha abaixo do título agora é branca */
    border-radius: 2px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: #ffffff;
    color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    color: #ffffff;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 0.7;
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact li i {
    color: #ffffff;
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0; /* Mais compacto (era 25px) */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: #ffffff;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsivo Footer */
@media (max-width: 768px) {
    .footer-grid {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Botão Voltar ao Topo Moderno
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.back-to-top:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-5px) !important; /* Force over GSAP base translation on hover */
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.5);
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    /* Adicionamos um brilho leve para garantir visibilidade no fundo escuro, caso a logo seja escura */
    filter: drop-shadow(0 2px 4px rgba(255,255,255,0.1));
}
