/* ============================================
   RESET E CONFIGURAÇÕES GERAIS
   ============================================ */
body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #fff;
    background-image: url('../images/bg-cbxdv.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding-top: 90px; /* espaço para o navbar fixo */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #ffcc00;
    text-decoration: underline;
}
a:hover {
    color: #fff;
}

/* ============================================
   NAVBAR – fixa, transparente, sempre visível
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.55); /* transparência sutil */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: background 0.3s;
}
.site-header:hover {
    background: rgba(0, 0, 0, 0.7); /* um pouco mais opaco ao passar o mouse */
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.site-branding img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Menu */
#site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}
#site-navigation ul li a {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, color 0.3s;
    text-decoration: none;
}
#site-navigation ul li a:hover {
    border-bottom-color: #ffcc00;
    color: #ffcc00;
}

/* ============================================
   SEÇÕES – com transparência sutil
   ============================================ */
.hero-section,
.about-section,
.news-section,
.partners-section {
    background: rgba(0, 0, 0, 0.25); /* transparência suave */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 50px 30px;
    margin: 30px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Títulos das seções */
.section-title,
.about-text h2,
.partners-section h2 {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
    border-left: 6px solid #ffcc00;
    padding-left: 20px;
    margin-bottom: 30px;
}

/* ============================================
   HERO – específico (mais destaque)
   ============================================ */
.hero-section {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    text-align: center;
    padding: 80px 30px 60px;
}
.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0,0,0,0.9);
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9);
    margin-bottom: 15px;
}
.hero-description {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 35px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9);
}
.hero-buttons .btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 5px 10px;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary {
    background: rgba(0, 75, 135, 0.85);
    color: #fff;
    border: 2px solid #ffcc00;
}
.btn-primary:hover {
    background: #002b4f;
    border-color: #fff;
}
.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid #fff;
    backdrop-filter: blur(4px);
}
.btn-secondary:hover {
    background: #fff;
    color: #002b4f;
}

/* ============================================
   SOBRE – grid com destaques
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text p {
    color: #f0f0f0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-item {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 12px;
    border-left: 6px solid #ffcc00;
    text-align: center;
}
.highlight-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffcc00;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.highlight-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ============================================
   NOTÍCIAS – CARDS EM 3 COLUNAS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas fixas */
    gap: 30px;
}
.news-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.news-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #111; /* fallback */
}
.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-content h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    line-height: 1.3;
}
.news-content h3 a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.news-content h3 a:hover {
    text-decoration: underline;
    color: #ffcc00;
}
.news-content p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.read-more {
    font-weight: 600;
    color: #ffcc00;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
}
.read-more:hover {
    text-decoration: underline;
    color: #fff;
}
.news-cta {
    text-align: center;
    margin-top: 35px;
}

/* ============================================
   PARCEIROS
   ============================================ */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    color: #fff;
}

/* ============================================
   RODAPÉ
   ============================================ */
.site-footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #ddd;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 3px solid #ffcc00;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}
@media (max-width: 768px) {
    body { padding-top: 70px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .hero-description { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .site-header .container { flex-direction: column; gap: 10px; }
    #site-navigation ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .site-branding img { max-height: 50px; }
    .news-grid {
        grid-template-columns: 1fr; /* 1 coluna em celulares */
    }
    .hero-section, .about-section, .news-section, .partners-section {
        padding: 30px 20px;
        margin: 20px 0;
    }
}