:root {
    --primary-blue: #005B96; 
    --dark-blue: #003d66;
    --accent-blue: #00A8E8;  
    --sand-light: #FDF6E3;   
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --white: #ffffff;
}

body {
    font-family: 'Ruda', sans-serif;
    background-color: #fcfcfc;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Header & Nav --- */
.top-bar {
    background-color: var(--dark-blue);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
    z-index: 1021;
}
.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.3s;
}

.navbar {
    background-color: var(--primary-blue);
    background-image: linear-gradient(rgba(0, 91, 150, 0.85), rgba(0, 91, 150, 0.85)), url('../img/bg-pattern.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0; 
    position: relative;
    overflow: hidden;
    z-index: 1020;
}

/* Elemento de Destaque para a Logo */
.logo-highlight {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 350px; 
    background: var(--dark-blue);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    box-shadow: 10px 0 30px rgba(0,0,0,0.3);
}

.navbar-brand {
    padding: 15px 0;
    margin-right: 50px;
}

/* Efeito Interessante na Logo */
.navbar-brand img {
    height: 80px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.navbar-brand:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 15px rgba(0, 168, 232, 0.8));
}

.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white) !important;
    margin: 0 10px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('../img/01J2Q8TD75TEA3BS06GSDCV1YA.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}
.hero h1 {
    font-weight: 900;
    font-size: 4rem;
    text-transform: uppercase;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.7);
}

/* --- Estatísticas --- */
.stats-section {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0;
}
.stat-item h2 {
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 0;
    color: var(--accent-blue);
}
.stat-item p {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* --- Notícias Layout Novo --- */
.news-card-large {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    background: white;
    height: 100%;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card-large:hover {
    color: inherit;
}
.news-card-large img { height: 350px; width: 100%; object-fit: cover; }
.news-card-large .card-body { padding: 25px; }

.news-item-small {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}
.news-item-small:hover { transform: translateX(5px); color: inherit; }
.news-item-small img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}
.news-item-small h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

/* --- Vídeos Section --- */
.video-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin: 10px;
    transition: 0.3s;
}
.video-box:hover { transform: translateY(-5px); }
.video-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: 0.8;
}
.video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: rgba(0,0,0,0.2);
    transition: 0.3s;
}
.video-box:hover .video-overlay-play { background: rgba(0,0,0,0.4); }
.video-overlay-play i {
    font-size: 3rem;
    color: rgba(255,255,255,0.7);
    transition: 0.3s;
}
.video-box:hover .video-overlay-play i { transform: scale(1.2); color: white; }
.video-title {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 2; /* Fica por cima do ícone de play */
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* --- Parceiros --- */
.partners-section {
    background: #f8f9fa;
    padding: 60px 0;
}
.partner-logo {
    max-height: 60px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: 0.3s;
}
.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Estilos Gerais --- */
.section-title {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.section-title span { color: var(--accent-blue); }
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 5px;
    background: var(--accent-blue);
    bottom: -12px;
    left: 0;
}

/* --- RODAPÉ (FOOTER) --- */
footer { 
    background-color: var(--primary-blue); 
    color: var(--white); 
    padding: 60px 0 20px; 
    background-image: linear-gradient(rgba(0, 91, 150, 0.9), rgba(0, 91, 150, 0.9)), url('../img/bg-pattern.jpg');
    background-size: cover;
    background-position: center;
}
footer h6 {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}
footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}
footer a {
    color: var(--white) !important;
    transition: 0.3s;
    text-decoration: none;
}
footer a:hover {
    color: var(--accent-blue) !important;
}
footer .social-btn {
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    transition: 0.3s;
}
footer .social-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}
footer .border-secondary {
    border-color: rgba(255,255,255,0.1) !important;
}

@media (max-width: 991px) {
    .logo-highlight { width: 100%; clip-path: none; }
    .navbar-brand { margin-right: 0; padding-left: 15px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .navbar-brand img { height: 60px; }
}
