/* =========================
   RESET GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   VARIÁVEIS CSS - DESIGN SYSTEM CORPORATIVO
========================= */
:root {
    --color-dark: #0d1117;
    --color-navy: #1a2744;
    --color-navy-light: #243654;
    --color-white: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-400: #adb5bd;
    --color-gray-600: #6c757d;
    --color-accent: #3b82f6;
    
    --glass-bg: rgba(13, 17, 23, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(26, 39, 68, 0.05);
}

/* =========================
   BODY
========================= */
html, body {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: white;
    line-height: 1.6;
    background: var(--color-dark);
}

/* =========================
   TIPOGRAFIA
========================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================
   SEÇÕES COM FUNDOS ALTERNADOS
========================= */
.section-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-navy{
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 80px;
}

.section-light {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* =========================
   HERO SECTION
========================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(13, 17, 23, 0.75) 0%,
        rgba(13, 17, 23, 0.6) 50%,
        var(--color-dark) 100%
    );
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    opacity: 0.06;
    pointer-events: none;
}

.hero-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 600;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(18px, 3vw, 28px);
    opacity: 0.9;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 40px;
}

.hero-logo {
    width: 260px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* =========================
   SEÇÕES GERAIS
========================= */
.home-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.intro-text {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* =========================
   BOTÕES CORPORATIVOS
========================= */
.btn-corporate {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid currentColor;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.section-dark .btn-corporate,
.section-navy .btn-corporate {
    color: var(--color-white);
    border-color: var(--color-white);
}

.section-dark .btn-corporate:hover,
.section-navy .btn-corporate:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.section-light .btn-corporate {
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.section-light .btn-corporate:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* =========================
   GLASS CARDS - ESTILO DARK
========================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 12px;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.6;
}

/* =========================
   BENTO GRID - PROJETOS
========================= */
.bento-grid{
    display: grid; 
    grid-template-columns: 1.5fr 1fr; 
    grid-auto-rows: minmax(220px, auto);
    gap: 20px; 
    margin-top: 40px;
}

.bento-card {
    position: relative;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
}

.bento-card.destaque {
    grid-column: 1 / 2;
    grid-row: span 2;
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    transition: all 0.5s ease;
}

.bento-card:hover .bento-bg {
    opacity: 0.7;
    transform: scale(1.05);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-dark) 0%, transparent 60%);
    z-index: 1;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: border-color 0.3s ease;
    z-index: 3;
}

.bento-card:hover::after {
    border-color: var(--color-accent);
}

.bento-content {
    position: relative;
    z-index: 2;
    padding: 40px 28px 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 12px;
}

.bento-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
    overflow: visible;
}

.btn-arrow {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-arrow:hover {
    letter-spacing: 2px;
}

/* =========================
   NEWS GRID
========================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* TABLET */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-card img {
        height: 180px;
    }

    .news-card h3 {
        font-size: 26px;
    }

    .news-card p {
        font-size: 16px;
    }
}

.news-card {
    background: var(--glass-bg-light);
    border: 1px solid rgba(26, 39, 68, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-light .news-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-light .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

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

.news-card-content {
    padding: 24px;
}

.news-card .date {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.news-card:hover h3 {
    color: var(--color-accent);
}

.news-card p {
    font-size: 15px;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
}

/* =========================
   CARDS GRID - PROCESSO SELETIVO
========================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card .status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.card .status-closed {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.card .status-date {
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
}

/* =========================
   IMPACTO SOCIAL - STATS (VERSÃO FINAL COM ANIMAÇÃO)
========================= */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 40px !important;
}

.stat-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    min-height: 100px !important;

    /* RECOLOCANDO A ANIMAÇÃO DE TRANSIÇÃO */
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.stat-icon {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    background: rgba(59, 130, 246, 0.2) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important; 
    transition: transform 0.3s ease !important;
}

.stat-icon svg, .stat-icon img {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    /* Garante que imagens fiquem brancas como os SVGs */
    filter: brightness(0) invert(1) !important; 
}

.stat-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
}

.stat-value {
    font-family: 'Teko', sans-serif !important;
    font-size: 40px !important;
    color: #ffffff !important;
    line-height: 0.8 !important;
    margin: 0 0 5px 0 !important;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* =========================
   FOOTER
========================= */
.footer {
    background-color: var(--color-dark);
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid var(--glass-border);
    color: white !important;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px !important;
    margin-bottom: 20px !important;
    font-family: 'Teko', sans-serif !important;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.social-links a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.social-links a:hover img {
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================
   ANIMAÇÕES AOS
========================= */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-in"] {
    opacity: 0;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card.destaque {
        grid-column: auto;
        grid-row: auto;
        min-height: 350px;
    }

    .bento-card {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .navbar,
    .navbar-cs,
    .navbar-gestao,
    .navbar-noticias,
    .navbar-projetos,
    .navbar-servicos,
    .navbar-sobre {
        display: none;
    }

    .home-section {
        padding: 60px 20px;
    }

    .home-section h2 {
        font-size: 36px;
    }

    .intro-text {
        font-size: 17px;
    }

    .news-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================
   MOBILE HEADER (MANTIDO DO ORIGINAL)
========================= */
#mobile-header-overlay { display: none !important; }
#desktop-original-header { display: grid !important; }
#mobile-spacer { display: none; height: 80px; }

@media screen and (max-width: 950px) {
    #desktop-original-header { display: none !important; }
    
    #mobile-header-overlay { 
        display: flex !important; 
        flex-direction: column; 
        width: 100%;
        position: fixed; 
        top: 0; 
        left: 0; 
        z-index: 9999999;
        background: rgba(13, 17, 23, 0.95) !important; 
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    #mobile-spacer { display: block; }

    .about, .home-section, .card, .bento-card, .glass-card, section {
        margin-left: 15px !important; 
        margin-right: 15px !important;
        width: auto !important; 
        max-width: 100% !important; 
        box-sizing: border-box !important;
    }

    .news-card {
        /* Resetamos as margens laterais fixas que estavam esmagando */
        margin: 0 auto !important; 
        width: 90% !important;   /* Ocupa a largura da tela com respiro */
        max-width: 350px !important; 
        display: block !important;
    }

    /* Faz o bloco de Impacto Social empilhar em vez de ficar lado a lado */
    .impacto-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center !important;
    }

    /* Centraliza o título e o texto do impacto social */
    .impacto-container h2, 
    .impacto-container .intro-text {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ajusta a grid de estatísticas (+60 jovens, etc) */
    .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* Garante que os cards de números não fiquem gigantes */
    .stat-card {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .mob-top { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 15px 25px; 
        height: 70px; 
    }
    
    .mob-logo { 
        display: flex; 
        align-items: center; 
        gap: 8px;
        font-family: 'Teko', sans-serif; 
        font-size: 28px; 
        color: #fff; 
        text-decoration: none; 
        text-transform: uppercase; 
        letter-spacing: 2px; 
    }
    
    .mob-logo img { 
        height: 50px; 
        width: auto; 
    }

    .mob-btn { 
        width: 28px; 
        height: 20px; 
        display: flex; 
        flex-direction: column; 
        justify-content: space-between; 
        background: none; 
        border: none; 
        padding: 0; 
        cursor: pointer; 
    }
    
    .mob-btn span { 
        display: block; 
        width: 100%; 
        height: 2px; 
        background: #fff; 
        border-radius: 2px; 
        transition: 0.3s; 
    }
    
    .mob-links { 
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(15px); 
        -webkit-backdrop-filter: blur(15px);
        width: 100%; 
        max-height: 0; 
        overflow: hidden; 
        transition: max-height 0.4s ease-in-out; 
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .mob-links.open { max-height: 100vh; overflow-y: auto; }
    
    .mob-links a { 
        padding: 18px 0; 
        text-align: center; 
        color: #fff; 
        display: block; 
        font-family: 'Teko', sans-serif; 
        font-size: 22px; 
        text-decoration: none; 
        border-bottom: 1px solid rgba(255,255,255,0.05);
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .mob-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); } 
    .mob-btn.active span:nth-child(2) { opacity: 0; } 
    .mob-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* =========================
   PÁGINA DETALHE DA NOTÍCIA (NOVO DESIGN CORPORATIVO)
========================= */

/* Remove o fundo gradiente antigo e aplica o fundo escuro corporativo */
.news-detail-page {
    background: var(--color-navy);
    min-height: 100vh;
    padding: 0;
}

/* Wrapper principal - Glass Card escuro */
.news-detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 56px 48px; /* 120px no topo para compensar a navbar fixa */

    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100vh;
}

/* Título */
.news-detail-title {
    font-family: 'Teko', sans-serif;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1;
}

/* Data */
.news-detail-date {
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Imagem */
.news-detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    margin: 0 auto 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    background: none;
}

/* Conteúdo do texto */
.news-detail-content {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* Área de botões */
.news-detail-actions {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Botão voltar - estilo outline corporativo */
.news-detail-back {
    display: inline-block;
    padding: 10px 28px;

    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #ffffff;
    text-decoration: none;

    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;

    transition: all 0.3s ease;
}

.news-detail-back:hover {
    background: #ffffff;
    color: #0d1117;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Link externo */
.news-external-link {
    display: inline-block;
    padding: 10px 28px;

    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #3b6cce;
    text-decoration: none;

    background: transparent;
    border: 1.5px solid rgba(59, 108, 206, 0.35);
    border-radius: 4px;

    transition: all 0.3s ease;
}

.news-external-link:hover {
    background: #3b6cce;
    color: #ffffff;
    border-color: #3b6cce;
    transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .news-detail-wrapper {
        padding: 100px 22px 36px; /* 100px no topo para mobile */
        border: none;
    }

    .news-detail-title {
        font-size: 40px;
    }

    .news-detail-content {
        font-size: 18px;
    }

    .news-detail-actions {
        flex-direction: column;
    }

    .news-detail-back,
    .news-external-link {
        text-align: center;
        width: 100%;
    }
}

/* ===== CARROSSEL DE PROJETOS ===== */
.projects-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.projects-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}

.project-slide {
    min-width: calc(50% - 12px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    flex-shrink: 0;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-slide:hover img {
    transform: scale(1.1);
}

.project-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0d1117 10%, rgba(13,17,23,0.6) 50%, transparent);
    opacity: 0.85;
    transition: opacity 0.3s;
}

.project-slide:hover .project-slide-overlay {
    opacity: 0.95;
}

.project-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.project-slide-content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-slide-content p {
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 16px;
}

.project-slide-content a {
    font-family: 'Teko', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3b6fe0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.project-slide:hover .project-slide-content a {
    gap: 14px;
}

/* Hover border */
.project-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: border-color 0.3s;
    z-index: 3;
    pointer-events: none;
}

.project-slide:hover::after {
    border-color: rgba(59,111,224,0.5);
}

.project-tag{
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--color-accent);
    margin-bottom:6px;
    display:block;
    }

/* Setas de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.25);
}

.carousel-btn-prev { left: -56px; }
.carousel-btn-next { right: -56px; }

/* Responsivo */
@media (max-width: 768px) {
    .project-slide {
        min-width: 100%;
        height: 320px;
    }

    .carousel-btn-prev { left: 8px; }
    .carousel-btn-next { right: 8px; }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* =========================
   LOJA / PRODUTOS
========================= */

.loja-container {
    max-width: 1400px; 
    margin: 0 auto;
    width: 100%;
    font-family: "Teko", sans-serif;
    font-size: 50px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    align-items: stretch;
    gap: 28px;
    width: 100%;
}

.product-card {
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    backdrop-filter: blur(10px); 

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);

    border-color: rgba(65,105,225,0.6); 
}

.product-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 14px;
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 26px;
    margin: 10px 0 6px;
}

.product-description {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.product-btn {
    align-self: flex-start;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    border-bottom: 2px solid white;
}

/* =========================
    GRID DE NOTÍCIAS
========================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* TABLET */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-card img {
        height: 180px;
    }

    .news-card h3 {
        font-size: 26px;
    }

    .news-card p {
        font-size: 16px;
    }
}

.breaking-news,
.latest-news {
    background-color: transparent;
}
  
/* =========================
    CARD DE NOTÍCIA
========================= */
.news-card {
    background-color: royalblue;
    color: white;
    border-radius: 8px; /* Bordas menos arredondadas combinam mais com Teko */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
  
.news-card:hover {
    transform: translateY(-8px);
}
  
.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
  
.news-card h3,
.news-card h4 {
    font-family: 'Teko', sans-serif;
    font-size: 32px; /* Títulos maiores */
    margin: 20px 20px 5px;
    font-weight: 500;
    line-height: 1.1;
}
  
.news-card p {
    font-size: 19px; /* Texto legível */
    margin: 0 20px 20px;
    line-height: 1.4;
}
  
.read-more {
    margin: 0 20px 24px;
    text-decoration: none;
    color: royalblue;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    align-self: flex-start;
}
  
.news-card:not(:has(img)) {
    padding-top: 10px;
}

/* ===== PÁGINA DE NOTÍCIAS ===== */

.noticias-container {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}


/* TAG */
.tag {
    display: inline-block;
    background-color: #636ce6;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 6px;
}


/* LISTA */
.lista-noticias {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.card-noticia {
    display: flex;
    gap: 16px;

    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.15);

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    color: white;   
    text-decoration: none;
}

.card-noticia:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}

.card-noticia img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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


.card-noticia h3 {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    margin: 6px 0;
    letter-spacing: 0.5px;
}

.card-noticia p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.4;
}


/* ===== PÁGINA NOTÍCIAS ===== */
.noticias-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* Filtros */
.noticias-filtros {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.noticias-filtros input,
.noticias-filtros select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    color: lavender;
    backdrop-filter: blur(10px);
}

.noticias-filtros input::placeholder {
    color: rgba(255,255,255,0.7);
}

.noticias-filtros button {
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: #00bcd4;
    color: #111;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    cursor: pointer;
}

.noticias-filtros button:hover {
    opacity: 0.9;
}

/* Cards */
.card-noticia {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;   
    text-decoration: none;
}

/* =========================
   HEADER + FILTRO NOTÍCIAS
========================= */

.noticias-header {
    max-width: 900px;
    margin: 40px auto 50px;
    text-align: center;
    margin-top: 120px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

html body section.noticias-header h2 {
    font-size: 30px !important;
    margin-bottom: 8px !important;
}

html body section.noticias-header p {
    font-size: 18px !important;
    line-height: 1.3 !important;
    max-width: 700px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
}

/* FILTRO */
.noticias-filtro {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.noticias-filtro input,
.noticias-filtro select {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    color: lavender;
    font-size: 15px;
    outline: none;
    min-width: 200px;
}

.noticias-filtro input::placeholder {
    color: rgba(255,255,255,0.7);
}

.noticias-filtro select option {
    color: #333;
}

.noticias-filtro button {
    padding: 10px 26px;
    border-radius: 14px;
    border: none;

    background-color: #636ce6;
    color: lavender;

    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    cursor: pointer;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

.noticias-filtro button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .noticias-header h1 {
        font-size: 54px;
    }

    .noticias-filtro {
        gap: 10px;
    }

    .noticias-filtro input,
    .noticias-filtro select {
        width: 100%;
        max-width: 320px;
    }
}

/* =========================
   OUTRAS NOTÍCIAS (CTA)
========================= */
.outras-noticias {
    text-align: center;
}

.outras-noticias-content {
    max-width: 700px;
    margin: 0 auto;
}

.outras-noticias .intro-text {
    font-size: 21px;
    margin-top: 10px;
    line-height: 1.6;
}

/* Link estilizado como destaque */
.link-destaque {
    font-family: 'Teko', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid royalblue;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.link-destaque:hover {
    opacity: 0.7;
    border-color: transparent;
}

.codigo-social-cards {
    padding: 0 60px 30px;
    color: white !important
}


.codigo-social-cards h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.cards-grid {
    margin-top: 30px;
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.12); /* vidro */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: royalblue;
    padding: 26px 26px;
    border-radius: 18px;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 10px;
    line-height: 1.05;
}

.card p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 20px;
}

.card .btn {
    display: inline-block;
    
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #636ce6;
    text-decoration: none;

    padding-bottom: 4px;

    border-bottom: 2px solid rgba(255,255,255,0.8);
    background: none;
    border-radius: 0;

    cursor: pointer;

    transition: opacity 0.2s ease;
}

.card .btn:hover {
    opacity: 0.75;
}

.card .btn:hover {
    opacity: 0.88; 
    transform: translateY(-2px);
}

.card .status {
    font-weight: 600;
    opacity: 0.85;
}

.card,
.card * {
    text-transform: none;
}

.contribuicao {
    margin-bottom: 0;
    font-size: 21px;
}

.card-noticia,
.card-noticia h3,
.card-noticia p,
.card-noticia span {
    color: white;   
    text-decoration: none;
}

.page-content {
    margin-top: 110px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-section{
    padding:100px 40px;
    text-align:center;
}

.mvv-label{
    font-family:'Teko',sans-serif;
    letter-spacing:4px;
    font-size:14px;
    color:#7ba7ff;
}

.mvv-title{
    font-family:'Teko',sans-serif;
    font-size:48px;
    margin-bottom:60px;
}

.about-columns{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.mvv-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 26px 26px;
    border-radius: 18px;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.mvv-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.about-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:20px;
}

.about-title img{
    width:40px;
}

.mvv-card h3{
    color:#ffffff;
}

.mvv-card ul{
    list-style: none;
    padding-left: 0;
}

.mvv-card li{
    position: relative;
    padding-left: 22px;
    margin-bottom: 0.5px;
}

.mvv-card li::before{
    content: "➜";
    position: absolute;
    left: 0;
    color: #7ba7ff;
}

.mvv-card-header {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.mvv-card-header h3 {
    text-align: center !important;
    margin: 0;
}

.contribuicao-columns{
    max-width:800px;
    margin:auto;
    text-align:center;
}

.contribuicao-box{

    background:#0f1b2e;

    color:white;

    border-radius:16px;

    padding:40px;

    box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

.codigo-social-hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    filter: saturate(0.75) brightness(1.2);
}

.codigo-social-hero h1{
    color:white !important;
}

.codigo-social-hero p{
    color:white !important;
}

/* ===== SOBRE O PROJETO ===== */

.intro-block{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-block h2{
    font-family: 'Teko', sans-serif;
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: white;
}

.intro-block p{
    font-size: 20px;
    line-height: 1.8;
    color: white;
    margin-bottom: 20px;
}

.intro-block strong{
    color: white;
    font-weight: 600;
}

@media(max-width:900px){

    .about-columns{
    grid-template-columns:1fr;
    }
    
    }

/* =========================
   Eventos - Home
   ========================= */
   .eventos-home {
    padding: 80px 0; /* espaçamento vertical da seção */
    background-color: #001f3f; /* azul escuro para contraste */
    color: #ffffff; /* texto branco sobre azul escuro */
}

.eventos-home .section-title {
    text-align: center;
    font-size: 56px;
    margin-bottom: 10px;
    color: #ffffff;
}

.eventos-home .eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* espaço entre os cards */
}

.evento-card {
    background-color: #ffffff; /* fundo claro para os cards */
    color: #001f3f; /* texto azul escuro */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.evento-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.evento-content {
    padding: 20px;
    flex: 1; /* garante que o conteúdo ocupe espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.evento-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #001f3f;
}

.evento-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333333;
}

.evento-content .btn {
    align-self: flex-start;
    background-color: #0074d9; /* azul vibrante para botão */
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.evento-content .btn:hover {
    background-color: #005fa3;
}

/* Mensagem caso não tenha eventos */
.eventos-home p {
    text-align: center;
    font-size: 20px;
    color: #ffffff;
}

.evento-card, 
.evento-card h3, 
.evento-card p {
    color: #001f3f !important;
}

/* =========================
   PÁGINA CÓDIGO SOCIAL (FUNDO CLARO)
========================= */

.section-light {
    color: #111; /* texto padrão preto */
}

/* força texto preto na página */
.section-light p,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light li,
.section-light span,
.section-light a {
    color: #111;
}

/* mantém o hero branco */
.section-light .hero h1,
.section-light .hero p {
    color: white;
}

/* garante que o coração continue normal */
.section-light .hero img {
    filter: none;
}

.section-light .card {
    color: #111;
}

.section-light .card {
    background-color: #ffffff;
    color: #111;
}

.section-light .card h3,
.section-light .card p {
    color: #111;
}

footer,
footer p,
footer a,
footer span,
footer li,
footer h1,
footer h2,
footer h3,
footer h4 {
    color: #ffffff;
}

.section-light .mvv-card {
    background-color: #ffffff !important;
    color: #111 !important;
}

.section-light .mvv-card h3,
.section-light .mvv-card p,
.section-light .mvv-card li {
    color: #111 !important;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
    gap: 30px; /* mesmo espaço entre todos */
    max-width: 1000px;
    margin: 0 auto;
}

.mvv-card {
    width: 100%;
}

.codigo-social-img{
    width: 100%;          /* mantém largura da coluna */
    max-width: 320px;     /* mantém tamanho atual */
    height: 220px;        /* aumenta altura visual */
    object-fit: contain;  /* NÃO corta a imagem */
    border-radius: 10px;
  }

  .codigo-social-card{
    height: 320px;              /* controla a altura visual do carrossel */
    display: flex;
    justify-content: center;
    align-items: center;
  
    padding: 10px;
    border-radius: 12px;
  
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
  }

#codigoSocialCarousel .row{
    align-items: center;
  }

#codigoSocialCarousel .row{
    min-height: 420px;
  }
  #codigoSocialCarousel .col-md-4{
    display: flex;
    justify-content: center;
  }

#codigoSocialCarousel .carousel-item{
  height: auto;
}

#codigoSocialCarousel .row{
    align-items: center;
  }

  #codigoSocialCarousel .row{
    min-height: 320px;
  }

  #codigoSocialCarousel .col-md-4{
    display: flex;
    justify-content: center;
  }

  .codigoSocialCarousel-intro {
    max-width: 720px;
    margin: 0 auto 30px auto;
    text-align: center;
  }
  
  .codigoSocialCarousel-intro h2 {
    font-size: 32px;
    margin-bottom: 0.5px;
  }
  
  .codigoSocialCarousel-intro p {
    color: black;
    line-height: 1.6;
  }

  #codigoSocialCarousel{
    margin-bottom: 35px;
  }

.navbar,
.navbar-cs,
.navbar-gestao,
.navbar-noticias,
.navbar-projetos,
.navbar-servicos,
.navbar-sobre {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 40px;
    border-bottom: 1px solid var(--glass-border);
}

.navbar-links,
.navbar-cs-links,
.navbar-gestao-links,
.navbar-noticias-links,
.navbar-projetos-links,
.navbar-servicos-links,
.navbar-sobre-links {
    display: flex;
    gap: 40px;
}

.navbar-links.left,
.navbar-cs.left,
.navbar-gestao.left,
.navbar-noticias.left,
.navbar-projetos.left,
.navbar-servicos.left,
.navbar-sobre.left {
    justify-content: flex-start;
}

.navbar-links.right, 
.navbar-cs.right,
.navbar-gestao.right,
.navbar-noticias.right,
.navbar-projetos.right,
.navbar-servicos.right,
.navbar-sobre.right {
    justify-content: flex-end;
}

.navbar-links a, 
.navbar-cs-links a,
.navbar-gestao-links a,
.navbar-noticias-links a,
.navbar-projetos-links a,
.navbar-servicos-links a,
.navbar-sobre-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Teko', sans-serif !important;
    font-size: 22px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease !important;
}

.navbar-links a::after,
.navbar-cs-links a::after,
.navbar-gestao-links a::after,
.navbar-noticias-links a::after,
.navbar-projetos-links a::after,
.navbar-servicos-links a::after,
.navbar-sobre-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-links a:hover,
.navbar-cs-links a:hover,
.navbar-gestao-links a:hover,
.navbar-noticias-links a:hover,
.navbar-projetos-links a:hover,
.navbar-servicos-links a:hover,
.navbar-sobre-links a:hover {
    color: var(--color-white);
}

.navbar-links a:hover::after,
.navbar-cs-links a:hover::after,
.navbar-gestao-links a:hover::after,
.navbar-noticias-links a:hover::after,
.navbar-projetos-links a:hover::after,
.navbar-servicos-links a:hover::after,
.navbar-sobre-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-center,
.navbar-cs-center,
.navbar-gestao-center,
.navbar-noticias-center,
.navbar-projetos-center,
.navbar-servicos-center,
.navbar-sobre-center {
    text-align: center;
}

.navbar-center .brand,
.navbar-cs-center .brand,
.navbar-gestao-center .brand,
.navbar-noticias-center .brand,
.navbar-projetos-center .brand,
.navbar-servicos-center .brand,
.navbar-sobre-center .brand {
    color: white;
    text-decoration: none;
    font-family: 'Teko', sans-serif !important;
    font-size: 28px !important;
    line-height: 0.9;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
}

.navbar,
.navbar,
.navbar-cs,
.navbar-gestao,
.navbar-noticias,
.navbar-projetos,
.navbar-servicos,
.navbar-sobre,
.navbar a,
.navbar a,
.navbar-cs a,
.navbar-gestao a,
.navbar-noticias a,
.navbar-projetos a,
.navbar-servicos a,
.navbar-sobre a,
.navbar .nav-link,
.navbar-cs .nav-link,
.navbar-gestao .nav-link,
.navbar-noticias .nav-link,
.navbar-projetos .nav-link,
.navbar-servicos .nav-link,
.navbar-sobre .nav-link {
    color: white;
}

.cs-footer {
    background-color: var(--color-dark);
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid var(--glass-border);
    color: white !important;
}

.cs-footer p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    font-family: 'Teko', sans-serif !important;
}

.cs-footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-footer a,
.cs-footer li,
.cs-footer h1,
.cs-footer h2,
.cs-footer h3,
.cs-footer h4 {
    color: ffffff !important;
}

/* =========================
   BENTO GRID - EVENTOS
========================= */

.eventos-home .bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
    margin-top: 40px;
}

/* LINK envolvendo o card */
.bento-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

/* CARD */
.bento-card {
    position: relative;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden;
}

.bento-card.destaque {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* BACKGROUND */
.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    transition: all 0.5s ease;
}

/* HOVER */
.bento-card:hover .bento-bg {
    opacity: 0.7;
    transform: scale(1.05);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-dark) 0%, transparent 60%);
    z-index: 1;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: border-color 0.3s ease;
    z-index: 3;
}

/* Hover mais forte quando for clicável */
.bento-card-link:hover .bento-card::after {
    border-color: var(--color-accent);
}

/* CONTEÚDO */
.bento-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    width: 100%;
}

.bento-content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: var(--color-white);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bento-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Destaque do primeiro card */
.resumo-destaque {
    font-size: 16px;
    opacity: 0.95;
}

/* "botão" visual (sem ser botão real) */
.btn-arrow {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .eventos-home .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .eventos-home .bento-card.destaque {
        grid-column: auto;
        grid-row: auto;
        min-height: 350px;
    }

    .eventos-home .bento-card {
        min-height: 280px;
    }
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    opacity: 0.5; 
    filter: brightness(0.85); 

    transition: all 0.5s ease;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );

    z-index: 1;
}

.bento-content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: #fff;

    font-weight: 600;
    letter-spacing: 0.5px;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.bento-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92); /* antes era mais apagado */

    line-height: 1.6;
}

.bento-card:hover .bento-bg {
    opacity: 0.45;
    transform: scale(1.03); /* menos zoom agressivo */
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* TÍTULO */
.intro-text h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

/* TEXTO */
.intro-text p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    padding-bottom: 26px;
}

/* DESTAQUE */
.intro-text strong {
    color: var(--color-accent);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha */
    }
}

@media (max-width: 600px) {
    .servicos-grid {
        grid-template-columns: 1fr; /* 1 por linha */
    }
}

@media (max-width: 600px) {
    .contato-cta { 
        padding: 40px 20px !important; 
        margin: 20px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
        text-align: center !important;
        width: auto !important;
    }
    
    .contato-cta h2 { 
        font-size: 32px !important; 
    }

    .btn-email { 
        width: 100% !important;
        max-width: 280px !important; 
        font-size: 16px !important;
        justify-content: center !important;
    }
}

.contato-sub {
    margin-top: 30px !important;  
    display: block !important;  
}

/* =========================
   BENTO COM VISUAL DE CARD
========================= */

.bento-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(65,105,225,0.2);
    border-color: rgba(65,105,225,0.35);
}

.bento-bg {
    position: relative;
    height: 175px;
    inset: unset;

    background-size: cover;
    background-position: center;
}

.bento-bg::after {
    display: none; /* remove overlay pesado */
}

.bento-content {
    padding: 22px;
    flex: 1;

    display: flex;
    flex-direction: column;
}

.bento-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.bento-content p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.82;
    flex: 1;
}

.btn-arrow {
    border: 1px solid rgba(65,105,225,0.5);
    color: #8ab4ff;
    padding: 7px 16px;
    border-radius: 8px;

    font-family: 'Teko';
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: 0.2s;
}

.btn-arrow:hover {
    background: rgba(65,105,225,0.2);
    color: #fff;
}

.bento-card.destaque {
    grid-column: span 2;
}

.bento-card.destaque .bento-bg {
    height: 220px;
}