* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(120,219,255,0.1) 0%, transparent 50%);
            color: #2d3748;
            line-height: 1.6;
            overflow-x: hidden;
        }
        

/* Ajuste na Grid para ela esperar o banner terminar */
.grid-artigos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
    clear: both; /* Garante que não haja sobreposição de elementos flutuantes */
}

/* Layout do Topo */
.header-artigos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Garante que no celular um fique embaixo do outro */
    gap: 20px;
}

.logo-area h1 {
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
}

/* Título de resultados (Abaixo do Header) */
.page-info {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0px;
    padding-top: 130px;
}

.titulo-resultados {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #94a3b8;
}

.card-noticia-v3 {
    background: #f2f4fe; /* Fundo escuro elegante */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.card-noticia-v3:hover {
    transform: translateY(-5px);
}

/* 1. Estilo do Título (Topo) */
.card-header {
    padding: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.card-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

/* 2. Container da Imagem e Categoria Azul */
.card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem deformar */
}

.categoria-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3b82f6; /* AZUL */
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 3. Corpo do Card (Resumo e Botão) */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body p {
    color: #000;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}




.btn-ler-completo {
    margin-top: auto; /* Empurra o botão para o fim do card */
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-ler-completo:hover {
    background: var(--primary);
    color: #000;
}

.tagline {
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Área de Busca */
.search-area {
    flex: 1;
    max-width: 500px;
}

.search-container {
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px 0 0 8px;
    border: 2px solid var(--primary);
    background: #1e293b;
    color: white;
    outline: none;
}

/* Botão Pesquisar - Contraste Total */
.search-button {
    background: var(--primary);
    color: #000000 !important; /* Texto Preto para ler no fundo amarelo */
    border: 2px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 0 25px;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: 0.3s;
}

.search-button:hover {
    background: #ffffff;
    border-color: #ffffff;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .header-artigos {
        flex-direction: column;
        text-align: center;
    }
    .search-area {
        width: 100%;
    }
}


        header {
    padding-top: 40px;
    padding-bottom: 60px;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(20px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .logo {
            font-family: 'Poppins', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        nav a {
            color: #4a5568;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        nav a:hover {
            color: #667eea;
        }
        
        .main-wrapper {
            margin-top: 90px;
        }
        
        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;     /* ← MUDANÇA: start em vez de center */
           max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        
        .projects-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: fit-content;
}

/* Container do formulário */
.search-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 0; /* Colado para parecer uma barra única */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Campo de entrada */
.search-input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 30px 0 0 30px; /* Redondo na esquerda */
    border: 2px solid var(--primary);
    background: #1e293b; /* Fundo escuro para destacar o texto branco */
    color: white;
    font-size: 1rem;
    outline: none;
}

/* Botão Pesquisar - CORRIGIDO PARA LEITURA */
.search-button {
    background: var(--primary); /* Sua cor amarela/neon */
    color: #000000 !important; /* TEXTO PRETO PARA MÁXIMO CONTRASTE */
    border: 2px solid var(--primary);
    border-radius: 0 30px 30px 0; /* Redondo na direita */
    padding: 0 30px;
    font-weight: 800;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.search-button:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000 !important;
}



/* ALTURA FIXA IGUAL PARA TODOS */
.project-card {
    background: rgba(255,255,255,0.9);
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
    min-height: 120px;       /* Só altura mínima */
}


.project-title {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    flex-shrink: 0;         /* ← Não encolhe */
}

.project-content {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    flex: 1;                /* ← Ocupa espaço restante */
    min-height: 0;          /* ← Permite encolher */
}

.project-desc {
    color: #4a5568;
    font-size: 0.9rem !important;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}



.content-right {
            text-align: left;
        }
        
        .hero h1 {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.5rem, 3vw, 3rem);
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        
        .hero p {
            font-size: 1.25rem;
            color: #4a5568;
            margin-bottom: 2rem;
            max-width: 500px;
        }
        
        .cta-button {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(102,126,234,0.3);
            text-decoration: none;
            display: inline-block;
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(102,126,234,0.4);
        }
        
        section {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto 2rem;
        }
        
        h2 {
            font-family: 'Poppins', sans-serif;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }
        
        .features2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }
        
        .feature-card {
            background: rgba(255,255,255,0.9);
            padding: 2.5rem 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 1px solid rgba(102,126,234,0.1);
        }

        .feature-card2 {
            background: rgba(255,255,255,0.9);
            padding: 1.5rem 1rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 1px solid rgba(102,126,234,0.1);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(102,126,234,0.2);
        }
        
        .feature-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
        }
        
        .feature-card h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.4rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 1rem;
        }
        
        footer {
            background: rgba(45,55,72,0.9);
            color: white;
            text-align: center;
            padding: 3rem 2rem;
        }
        
        @media (max-width: 768px) {
            .hero {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
                padding: 2rem;
            }
            
            .content-right {
                text-align: center;
            }
            
            nav ul {
                display: none;
            }
            
            .main-wrapper {
                margin-top: 80px;
            }
        }

        .logo-t20 {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-t20:hover svg {
  filter: drop-shadow(0 5px 15px rgba(79, 70, 229, 0.4));
}

nav .logo {
  margin: 0;
  font-size: 0; /* Remove texto antigo */
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    height: 50px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
    transition: all 0.3s ease;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.logo:hover .logo-text {
    color: #667eea;
}

.sobre-section {
    padding: 6rem 2rem;
    background: rgba(255,255,255,0.92);
    margin: 4rem auto;
    border-radius: 24px;
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: black;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 400;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.sobre-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.missao-visao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.missao-item {
    text-align: center;
}

.missao-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.missao-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.sobre-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(102,126,234,0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.depoimentos {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.depoimentos h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.depoimento {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.depoimento p {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.depoimento-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .sobre-grid,
    .depoimentos-grid,
    .missao-visao,
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sobre-section {
        margin: 2rem 1rem;
        padding: 3rem 1.5rem;
    }
}

.solucoes-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin: 4rem auto;
    border-radius: 24px;
    max-width: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}


.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
}

.solucoes-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid #e2e7ff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.solucoes-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.solucoes-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(102,126,234,0.15);
}

.solucoes-card.ia { border-top-color: #667eea; }
.solucoes-card.gamificacao { border-top-color: #10b981; }
.solucoes-card.analytics { border-top-color: #f59e0b; }

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.solucoes-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.solucoes-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.25rem 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #059669;
}

.btn-demo {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.3);
}

.cta-final {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    margin-top: 2rem;
}

.cta-final h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .solucoes-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solucoes-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
}
.contato-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f8fafc 100%);
    margin: 4rem auto;
    border-radius: 24px;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.contato-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}


.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-form h3,
.contato-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group.full {
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16,185,129,0.4);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.contato-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contato-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contato-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-item strong {
    display: block;
    color: #1f2937;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contato-item p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.contato-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: inline-block;
}

.contato-link:hover {
    text-decoration: underline;
}

.redes-sociais {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.redes-sociais h4 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.social-link.linkedin { background: #0077b5; }
.social-link.youtube { background: #ff0000; }
.social-link.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-link.facebook { background: #1877f2; }

@media (max-width: 768px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .contato-item {
        padding: 1.25rem;
    }
}


.project-header {
    display: flex;           /* FLEXBOX - chave do layout lado a lado */
    align-items: flex-start; /* Alinha no topo */
    gap: 1rem;              /* Espaço entre imagem e texto */
}

.project-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;         /* Impede que imagem encolha */
}


.project-text {
    flex: 1;                /* Pega todo espaço restante */
}


.project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem !important;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.project-content {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.project-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 0.15rem;
}


.project-topo-img {
    width: 168px;
    height: 168px;
    text-align: center;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 0.15rem;
}


.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102,126,234,0.2);
}

@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .project-desc {
        margin-top: 0.75rem;
    }
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;              /* ← Empurra botões para baixo */
    flex-shrink: 0;
}

.btn-project {
    flex: 1;                       /* ← Divide espaço igualmente */
    padding: 0.4rem 0.6rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}



.btn-project:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
    color: white;
}

.btn-project.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.inline-btn {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.4rem;
    font-size: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.inline-btn.youtube {
    background: rgba(255,0,0,0.1);
    color: #ff0000;
}

.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 620px;
    text-align: left;
    padding-top: 40px; /* ← ESPAÇO para o badge */
}

.new-badge {
    top: 40px;              /* ← NO TOPO EXATO */
    left: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0 0 25px 25px; /* ← ARREDONDADO só embaixo */
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
    animation: pulse 2s infinite;
    z-index: 10;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.new-badge span {
    position: relative;
}


.new-badge img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.new-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 6px 0;
    border-color: transparent #10b981 transparent transparent;
}

/* Animação pulsante */
@keyframes pulse {
    0% { 
        box-shadow: 0 4px 15px rgba(16,185,129,0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(16,185,129,0.6);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(16,185,129,0.4);
        transform: scale(1);
    }
}

/* Container de Notícias */
.noticias-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px; /* Ajuste conforme o local onde vai colocar */
}

/* Card Individual */
.card-noticia {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #e63946; /* Cor de destaque (vermelho T20) */
    transition: transform 0.2s ease;
    text-decoration: none;
    display: block;
}

.card-noticia:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-noticia .data {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.card-noticia h3 {
    margin: 8px 0;
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.card-noticia .categoria-label {
    background: #f1f1f1;
    color: #555;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Cria o layout de duas colunas */
.layout-principal {
    display: grid;
    grid-template-columns: 1fr 300px; /* Esquerda flexível, Direita fixa em 300px */
    gap: 30px;
    align-items: start;
}

/* Ajuste para telas de celular (coloca um embaixo do outro no mobile) */
@media (max-width: 900px) {
    .layout-principal {
        grid-template-columns: 1fr;
    }
}

/* Estilo da Sidebar */
.sidebar-noticias {
    background: rgba(30, 41, 59, 0.4); /* Glassmorphism sutil */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-titulo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* Estilo dos Mini Cards na lateral */
.mini-card-noticia {
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.2s;
}

.mini-card-noticia:last-child { border-bottom: none; }

.mini-card-noticia:hover h3 { color: rgba(155, 153, 237, 0.81);  x: var(--primary); }

.mini-card-noticia h3 {
    font-size: 0.95rem;
    color: #f8fafc;
    margin: 5px 0 0 0;
    line-height: 1.4;
    padding-left: 10px;
}

.mini-data {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: bold;
}

/* Botão que fica "colado" na lateral esquerda */
.news-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left bottom;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}

/* O Painel Escondido */
.drawer {
    position: fixed;
    left: -350px; /* Escondido fora da tela */
    top: 0;
    width: 320px;
    height: 100%;
    background: #111827;
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 25px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
}

.drawer.open {
    left: 0; /* Desliza para dentro */
}

/* Header do Painel */
.drawer-header {
    padding: 20px;
    background: var(--card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
}

.drawer-header h3 { margin: 0; color: var(--primary); font-family: 'Oswald', sans-serif; }

.close-btn { 
    background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; 
}

/* Itens de Notícia */
.drawer-content { padding: 15px; overflow-y: auto; }

.drawer-item {
    display: block;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.drawer-item:hover { background: rgba(255,255,255,0.05); }

.drawer-item h4 { color: #fff; margin: 5px 0 0 0; font-size: 0.95rem; }
.drawer-item small { color: var(--primary); font-weight: bold; }

/* Overlay (Fundo que escurece o site) */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 1000;
}

.overlay.active { display: block; }

.news-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    /* Removemos a rotação complexa e usamos um formato de aba direto */
    transform: translateY(-50%); 
    background: var(--primary);
    color: #000;
    border: none;
    /* Arredonda apenas os cantos da direita para parecer uma aba saindo da borda */
    border-radius: 0 8px 8px 0; 
    padding: 15px 10px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    z-index: 2000; /* Aumentamos para garantir que fique sobre tudo */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    
    /* Escreve o texto na vertical de forma mais simples */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-toggle:hover {
    background: #fff; /* Brilha ao passar o mouse */
    padding-left: 15px; /* Efeito de "puxar" levemente */
    transition: 0.2s;
}

