* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased; /* Melhora a leitura no Safari/Mac */
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary: #00f2ff;
    --dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--dark);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    scroll-behavior: smooth;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Header */
.main-header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.main-header .container { display: flex; justify-content: space-between; align-items: center; }
/*.logo { font-family: 'Orbitron'; font-weight: 700; font-size: 1.5rem; }
.logo span { color: var(--primary); } */

/* Estilo Unificado para o Logo (Header e Footer) */
.logo, .footer-brand .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

/* Garante que o link e o texto fiquem brancos */
.logo a, 
.footer-brand .logo {
    text-decoration: none;
    color: #ffffff !important; 
    transition: 0.3s;
    display: inline-block;
}

/* Estilo do sobrenome em Ciano */
.logo span, 
.logo a span {
    color: var(--primary);
    margin-left: 5px;
}

/* Efeito de brilho no hover para ambos */
.logo a:hover, 
.footer-brand .logo:hover {
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Substitua pelo seu arquivo (pode ser .jpg, .png ou .gif) */
    background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.8)), 
                url('../img/seu-fundo.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Efeito Parallax (opcional) */
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 100vh;
    padding-top: 80px; /* Espaço para o menu fixo */
}

.hero-content {
    flex: 1;
    text-align: left; /* Texto alinhado à esquerda fica mais elegante com foto ao lado */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    /* Adiciona um brilho sutil atrás da foto (efeito neon) */
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.3));
    animation: float 4s ease-in-out infinite; /* Efeito flutuante */
}

/* Animação para a foto não ficar estática */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .hero-flex { flex-direction: column; text-align: center; height: auto; padding-bottom: 50px; }
    .hero-content { text-align: center; }
}

.glitch { font-family: 'Orbitron'; font-size: 4rem; color: var(--primary); text-shadow: 0 0 10px var(--primary); }

/* Grid de Galeria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s;
}

.gallery-item:hover { transform: translateY(-10px); border-color: var(--primary); }

/* Parceiros */
.partners-bar { background: #0f0f0f; padding: 50px 0; overflow: hidden; }
.partners-track { display: flex; gap: 50px; align-items: center; filter: grayscale(1) invert(1); opacity: 0.6; }
.partners-track img { height: 40px; }

.timeline-section { padding: 100px 0; background: #080808; overflow: hidden; }

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* A linha central neon */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    top: 0; bottom: 0; left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

/* O círculo na linha */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--dark);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after { left: -10px; }

.timeline-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.timeline-content:hover {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--primary);
}

.year {
    font-family: 'Orbitron';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
}

/* Responsividade para celular */
@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left !important; }
    .timeline-item.right { left: 0%; }
    .timeline-item::after { left: 21px !important; }
}

/* Layout do Header */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover { color: var(--primary); }

.btn-login-small {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary);
    padding: 8px 15px;
    border-radius: 5px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

/* Layout do Footer */
.main-footer {
    background: #030303;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p { color: #8a8f9d; margin: 20px 0; line-height: 1.6; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.3s;
}

.footer-links h4, .footer-newsletter h4 {
    margin-bottom: 25px;
    font-family: 'Orbitron';
    font-size: 1.1rem;
    color: #fff;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #8a8f9d; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.mini-form { display: flex; gap: 10px; margin-top: 15px; }
.mini-form input {
    background: #111;
    border: 1px solid #222;
    padding: 10px;
    color: #fff;
    flex: 1;
    border-radius: 4px;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #111;
}

/* Cards de Propostas */
.propostas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.proposta-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.1);
    text-align: center;
    transition: 0.4s;
}

.proposta-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.proposta-card:hover {
    background: rgba(0, 242, 255, 0.05);
    transform: translateY(-10px);
    border-color: var(--primary);
}

/* Container de Vídeo Responsivo */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Estilo da Página de Propostas */
.page-header {
    padding: 150px 0 60px;
    background: linear-gradient(to bottom, #0a0a0a, #050505);
    text-align: center;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.propostas-full-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.proposta-full-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    transition: 0.3s;
}

.proposta-full-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.icon-box i {
    font-size: 4rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.content-box h2 {
    font-family: 'Orbitron';
    margin-bottom: 15px;
    color: #fff;
}

.content-box p {
    line-height: 1.8;
    color: #8a8f9d;
    font-size: 1.2rem;
}

.back-action { margin-top: 50px; text-align: center; }

@media (max-width: 768px) {
    .proposta-full-card { grid-template-columns: 1fr; text-align: center; }
    .icon-box i { font-size: 3rem; }
}

/* --- CORREÇÃO: FOTO SEM CORTES NA HISTÓRIA --- */

.trajetoria-carousel {
    width: 100%;
    /* 1. Definimos a altura reduzida que você deseja */
    height: 350px; /* Ajuste entre 300px e 400px conforme sua preferência */
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    overflow: hidden;
    margin-bottom: 50px;
    
    /* 2. ADICIONAMOS UM FUNDO para preencher onde a foto não couber */
    background-color: #000; /* Ou #0a0a0a para combinar com seu site */
    display: flex;
    justify-content: center;
    align-items: center;
}

.trajetoria-carousel img {
    /* 3. IMPORTANTE: Mudamos de 'cover' para 'contain' */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mostra a foto INTEIRA, sem cortes */
    
    filter: brightness(0.9); /* Um pouco mais claro para ver os detalhes */
    image-rendering: -webkit-optimize-contrast;
    
    /* object-position não é mais necessário com 'contain' */
}

/* --- AJUSTE DA LEGENDA (OPCIONAL) --- */
/* Como a foto pode não ocupar toda a largura, a legenda centralizada fica melhor */
.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    width: 80%;
}

.slide-caption span {
    background: var(--primary);
    color: #000;
    padding: 5px 15px;
    font-weight: bold;
    font-family: 'Orbitron';
}

.slide-caption h3 {
    font-size: 2rem;
    margin-top: 10px;
    text-shadow: 2px 2px 10px #000;
}

@media (max-width: 768px) {
    .trajetoria-carousel {
        height: 250px; /* Altura menor para telas de celular */
    }
}

/* Blocos de Texto */
.historia-texto {
    max-width: 800px;
    margin: 0 auto;
}

.historia-bloco {
    margin-bottom: 60px;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(0, 242, 255, 0.1);
}

.ano-badge {
    color: var(--primary);
    font-family: 'Orbitron';
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.historia-bloco p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #8a8f9d;
}

/* Ajustes para os botões do Swiper ficarem na cor do tema */
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron';
    font-size: 0.9rem;
    border-radius: 4px;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

.type-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 5px;
}

/* Efeito de revelação suave */
.card-reveal {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid de Parceiros Full */
.partners-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 242, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
}

.partner-card:hover {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.partner-logo-box {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(1) brightness(1.5); /* Logos em cinza para harmonia */
    transition: 0.4s;
}

.partner-card:hover .partner-logo-box img {
    filter: grayscale(0) brightness(1); /* Ganha cor no hover */
}

.partner-info h3 {
    font-family: 'Orbitron';
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
}

.partner-status {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Call to Action Final */
.partnership-cta {
    margin-top: 80px;
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 242, 255, 0.05), transparent);
    padding: 60px;
    border-radius: 20px;
    border: 1px dashed rgba(0, 242, 255, 0.3);
}

.partnership-cta h3 { font-family: 'Orbitron'; font-size: 1.8rem; margin-bottom: 10px; }
.partnership-cta p { color: #8a8f9d; margin-bottom: 30px; }

/* Estilo Geral das Widgets */
.widget-row {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-title {
    font-family: 'Orbitron';
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Widget Parceiros - Reset Total de Cores */
.partners-widget {
    background: #080808;
    padding: 60px 0;
}

.partners-track {
    display: flex !important;
    gap: 100px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    animation: none !important;
    width: 100% !important;
    filter: none !important; /* Remove filtros aplicados na track inteira */
    transform: none !important; /* Garante que não haja deslocamento da animação */
}

.partner-logo {
    filter: none !important; /* Remove filtros aplicados na div pai */
    opacity: 1 !important;
    background: none !important;
}

.partner-logo img {
    height: 100px;
    width: auto;
    /* O "none" mata o grayscale, o "invert(0)" mata a inversão de cores */
    filter: grayscale(0) invert(0) brightness(1) !important; 
    opacity: 1 !important;
    transition: transform 0.3s ease;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast; /* Melhora a nitidez */
}

.partner-logo img:hover { 
    transform: scale(3.15); 
}
/* Remove a regra de animação que não será mais usada */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

/* Widget Instagram */
.instagram-widget { background: #050505; }

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.follow-btn {
    padding: 8px 20px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Força o tamanho do card do Instagram */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); /* Trava a largura entre 300 e 350px */
    justify-content: center; /* Centraliza os cards no meio da página */
    gap: 20px;
}

.video-card {
    max-width: 350px; /* Não deixa o card crescer mais que isso */
    margin: 0 auto;
    background: #111;
    border-radius: 12px;
    border: 1px solid #222;
    overflow: hidden;
}

/* Ajuste específico para o iframe do Instagram */
.video-card iframe {
    width: 100% !important;
    min-height: auto !important; /* Remove o min-height de 450px que estava esticando */
    height: 480px !important;    /* Define uma altura fixa para Reels */
}
/* Ajuste para vídeos do YouTube (que são horizontais) */
.video-card .yt-frame {
    height: 200px !important;    /* YouTube continua baixinho */
}

.video-card p {
    padding: 12px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    background: #0a0a0a;
    margin: 0;
    border-top: 1px solid #222;
}

.news-widget { background: #0a0a0a; }

/* Ajuste da Grid de Notícias */
.news-grid {
    display: grid;
    /* Trava os cards em um tamanho menor (máximo 300px) */
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); 
    gap: 20px;
    justify-content: center; /* Centraliza a grid */
}

.news-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

/* Diminuir a altura da imagem da notícia */
.news-thumb {
    position: relative;
    height: 150px; /* Reduzido de 180px para 150px */
}

.news-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.news-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: #000;
    padding: 5px 12px;
    font-family: 'Orbitron';
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
}

/* Ajuste do corpo da notícia para ficar compacto */
.news-body { 
    padding: 15px; /* Reduzido de 20px */
}
.news-body h3 { 
    font-size: 1.1rem; /* Título um pouco menor */
    margin-bottom: 8px; 
    line-height: 1.3;
}
.news-body p { 
    font-size: 0.85rem; 
    line-height: 1.4; 
    margin-bottom: 12px; 
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-all {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
.view-all:hover { color: var(--primary); }

.video-card {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
}

/* Ajusta o iframe para se comportar bem no grid */
.video-card iframe {
    width: 100%;
    border-bottom: 1px solid #222;
}

/* Se for Instagram, o card fica mais alto automaticamente */
.video-card:has(iframe[src*="instagram"]) {
    grid-row: span 2; /* Opcional: faz o vídeo do insta ocupar mais espaço */
}

/* Estilos da Página de Post */
.post-header { 
    margin: 120px auto 40px; /* Aumentado o topo para não cobrir o menu */
    text-align: center; 
    max-width: 900px;
    padding: 0 20px;
}

.post-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Fonte responsiva: não corta em telas menores */
    line-height: 1.2;
    margin: 15px 0;
    color: #fff;
}
.post-category { color: var(--primary); text-transform: uppercase; font-family: 'Orbitron'; font-size: 0.8rem; letter-spacing: 2px; }

.post-main-img { 
    width: 100%; 
    max-width: 900px; /* Centraliza e limita a largura */
    margin: 0 auto 40px;
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid rgba(0, 242, 255, 0.2); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.post-main-img img { 
    width: 100%; 
    height: auto; /* IMPORTANTE: Muda de fixed para auto para não cortar a foto */
    display: block;
    object-fit: contain; /* Garante que a foto apareça inteira */
    background: #000;
}

.post-text { 
    max-width: 800px; 
    margin: 0 auto; 
    line-height: 1.8; 
    color: #ced4da; 
    font-size: 1.15rem; 
    padding: 0 20px;
    text-align: justify;
}
.post-text .lead { font-size: 1.3rem; color: #fff; font-weight: 500; font-family: 'Rajdhani'; }
.post-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 30px 0; }

.post-footer { max-width: 800px; margin: 60px auto 0; display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid #222; }
.share-box { display: flex; align-items: center; gap: 15px; font-size: 1.5rem; }
.share-box a { color: var(--primary); transition: 0.3s; }
.share-box a:hover { transform: scale(1.2); color: #fff; }

/* Estilos para o Arquivo de Notícias */
.archive-grid {
    margin-top: 50px;
    gap: 40px 25px; /* Mais espaço entre as linhas */
}

.empty-state {
    text-align: center;
    padding: 100px 20px;
    grid-column: 1 / -1; /* Ocupa o grid inteiro */
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 30px;
}

/* Garante que o título da página interna tenha destaque */
.inner-page .page-header {
    background: linear-gradient(to bottom, rgba(0, 242, 255, 0.05), transparent);
    padding: 100px 0 50px;
    text-align: center;
}

/* Impede a seleção de qualquer texto na página */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Permite seleção apenas em campos de entrada (para o login e formulários funcionarem) */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.search-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 5px;
    padding: 5px;
}
.search-group input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 5px 10px;
    outline: none;
    font-family: 'Rajdhani';
}
.search-group button {
    background: transparent;
    border: none;
    color: #00f2ff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}
.search-group button:hover { transform: scale(1.1); text-shadow: 0 0 10px #00f2ff; }

/* Para o efeito de vidro (Glassmorphism) */
.glass-card, .main-header {
    -webkit-backdrop-filter: blur(10px); /* Essencial para Safari */
    backdrop-filter: blur(10px);
}

/* Para o bloqueio de seleção que você usa */
body {
    -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE10+ */
    user-select: none;          /* Padrão */
}

/* Para as animações (Keyframes) */
@-webkit-keyframes fadeIn { /* Safari e Chrome antigo */
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Estilo Verde Neon para o Link StarSystem */
.nav-starsystem {
    color: #39ff14 !important; /* Verde Neon */
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 6px 18px;
    border-radius: 4px;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.5);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(57, 255, 20, 0.05);
}

.nav-starsystem i {
    font-size: 1.2rem;
}

/* Efeito ao passar o mouse */
.nav-starsystem:hover {
    background: rgba(57, 255, 20, 0.15);
    border-color: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4), inset 0 0 10px rgba(57, 255, 20, 0.2);
    text-shadow: 0 0 10px #39ff14;
    transform: translateY(-2px);
}

/* Ajuste para o Menu Mobile */
@media (max-width: 992px) {
    .nav-starsystem {
        margin: 10px 0;
        justify-content: center;
        width: 80%;
    }
}

/* --- AJUSTE GLOBAL DE GRIDS PARA CELULAR --- */

@media (max-width: 768px) {
    /* Página de Notícias e Galeria */
    .news-grid, .gallery-grid, .propostas-grid, .partners-full-grid {
        grid-template-columns: 1fr !important; /* Força uma única coluna no celular */
        gap: 20px;
        padding: 0 10px;
    }

    /* Página de Propostas (Cards Horizontais) */
    .proposta-full-card {
        grid-template-columns: 1fr !important; /* Ícone em cima, texto embaixo */
        text-align: center;
        padding: 20px;
    }

    .icon-box {
        margin-bottom: 15px;
    }

    /* Página de História (Timeline) */
    .timeline::after {
        left: 31px; /* Move a linha para a esquerda */
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 70px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }

    .timeline-item.right {
        left: 0 !important;
    }

    .timeline-item::after {
        left: 21px !important; /* Ajusta a bolinha da timeline */
    }

    /* Títulos de Páginas Internas */
    .page-header h1 {
        font-size: 2rem !important;
        padding: 0 15px;
    }
    
    .post-header {
        margin-top: 100px; /* Evita que o menu cubra o título */
    }
}