/* ==========================================================================
   BOARD DETALHES — Estilos Específicos e Layout em Grid
   ========================================================================== */

/* --- SISTEMA DE GRID SEGURO --- */
.container, .row, [class^="col-"] {
    box-sizing: border-box;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class^="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    
    /* Controladores de Espaço e Ordem para alternância de fotos */
    .order-md-0 { order: 0; }
    .order-md-1 { order: 1; }
    .vit-pl-custom { padding-left: 3rem !important; }
    .vit-pr-custom { padding-right: 3rem !important; }
}

/* Utilitários Gerais */
.align-items-center { align-items: center; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }
.d-inline-flex { display: inline-flex; align-items: center; }

/* --- CABEÇALHO DO BOARD --- */
.vit-board-hero-img {
    width: 100%;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.vit-img-placeholder {
    width: 100%;
    height: 350px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Badges e Links do Topo */
.vit-year-badge {
    color: #666;
    font-weight: 800;
}

.vit-brand-link {
    color: #666;
    font-weight: 800;
    border-bottom: 2px solid #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vit-brand-link:hover {
    color: var(--vit-accent, #cc5500);
    border-color: var(--vit-accent, #cc5500);
}

.vit-star-align {
    display: inline-flex;
    align-items: center;
}

.vit-rating-num {
    color: #666;
    font-size: 1.1rem;
    margin-left: 8px;
    font-weight: 800;
}

/* --- BOTÃO COMPARTILHAR --- */
.board-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-share-board {
    background: #fdfdfd;
    border: 1px solid #ddd;
    color: #444;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto; /* Joga para a direita */
}

.btn-share-board:hover {
    background: var(--vit-accent, #cc5500);
    color: #fff;
    border-color: var(--vit-accent, #cc5500);
}

/* --- LISTA DE PERFORMANCE (Ícones Customizados) --- */
.vit-perf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vit-perf-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--vit-text, #444);
    background: #fdfdfd;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.vit-perf-list li img {
    width: 24px;
    height: auto;
    margin-right: 15px;
}

.vit-perf-list li strong {
    color: var(--vit-title, #111);
    margin-right: 5px;
}

.vit-perf-alert {
    background: #fff3cd !important;
    border-color: #ffeeba !important;
    font-size: 0.95rem !important;
}

/* --- FICHA TÉCNICA (Specs Grid Substituta) --- */
.spec-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.badge-rating-text {
    color: #ddd;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    font-weight: bold;
}

/* --- BOTÃO DE VOLTAR --- */
.vit-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--vit-accent, #cc5500);
    color: var(--vit-title, #111);
    font-weight: bold;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.vit-btn-outline i { margin-right: 0.5rem; }

.vit-btn-outline:hover {
    background-color: var(--vit-accent, #cc5500);
    color: #fff;
    text-decoration: none;
}

/* --- REDUÇÃO DE ESPAÇAMENTO NOS TEXTOS (CORRIGIDO) --- */
.modern-text {
    line-height: 1.6 !important; 
}

.modern-text p {
    margin-bottom: 0.5rem !important; 
}

/* --- VÍDEO DEMONSTRATIVO --- */
.videoWrapper-modern {
    position: relative;
    width: 100%;
    max-width: 900px; /* Impede que o vídeo fique gigantesco em telas muito largas */
    margin: 0 auto; /* Centraliza o vídeo na tela */
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background-color: #000; /* Fundo escuro enquanto o vídeo carrega */
    aspect-ratio: 16 / 9; /* Garante a proporção perfeita do YouTube em qualquer tela */
}

.videoWrapper-modern iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Sobrescreve animações pesadas do esk8: sem painéis amarelos / full-screen */

.site__loader,
.overlay__loader {
    display: none !important;
}

/* Menu mobile / overlay / hamburger: ver novo/css/header.css */
/* ==========================================================================
   ESTILOS DO RODAPÉ (footer.css) — ATUALIZADO (Fonte Lema e Sticky Footer)
   ========================================================================== */

/* 1. Importação da fonte original (Garante o funcionamento em todas as páginas) */
@font-face {
    font-family: 'Lema';
    src: url('/fonts/lema.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 2. Resets Críticos: Elimina frestas e contornos brancos do navegador */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Mecanismo Sticky Footer: Força o footer a ficar colado embaixo */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Faz o bloco de conteúdo principal crescer e empurrar o footer para o final da tela */
.site-main {
    flex: 1 0 auto;
}

/* Garante que o footer não encolha e permaneça vedado contra frestas */
.site__footer.footer {
    flex-shrink: 0;
    padding: 1.2rem 0 !important; 
    background: #000000 !important;
    border-top: 1px solid #1a1a1a; 
    margin: 0 !important;
    box-shadow: none !important;
}

/* Container Flexbox para organizar as 3 colunas */
.vit-footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================== COLUNA ESQUERDA ================== */
.site__footer.footer .footer__left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site__footer.footer .footer__logo {
    display: flex;
    align-items: center;
    width: auto;
    max-width: 140px;
    margin: 0;
    line-height: 0;
}

.site__footer.footer .footer__logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================== COLUNA CENTRAL ================== */
.site__footer.footer .footer__center {
    flex: 1;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 6px; 
}

/* ATUALIZADO: Agora aplicando a fonte Lema corretamente */
.site__footer.footer .footer__center .lema {
    font-family: 'Lema', cursive, sans-serif;
    font-size: 1.4rem; /* Aumentado ligeiramente pois fontes cursivas costumam ser menores */
    color: #ffe20a; 
    text-transform: none; /* Removido o lowercase para manter o desenho original da fonte */
    letter-spacing: 1px;
    font-weight: normal;
    margin: 0;
    line-height: 1;
}

.site__footer.footer .footer__address strong {
    font-size: 0.75rem;
    color: hsla(0,0%,100%,.5);
    font-weight: normal;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
}

/* ================== COLUNA DIREITA ================== */
.site__footer.footer .footer__right {
    flex: 1;
    display: flex;
    align-items: center; 
    justify-content: flex-end;
}

.site__footer.footer .footer__socials {
    display: flex;
    align-items: center;
    gap: 20px; 
}

.site__footer.footer .footer__socials a {
    color: #fff;
    font-size: 1.6rem; 
    transition: all 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site__footer.footer .footer__socials a:hover {
    color: #CC5500; 
    opacity: 1;
    transform: translateY(-3px);
}

/* ================== RESPONSIVIDADE (MOBILE) ================== */
@media (max-width: 768px) {
    .vit-footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .site__footer.footer .footer__left,
    .site__footer.footer .footer__center,
    .site__footer.footer .footer__right {
        flex: unset;
        width: 100%;
        justify-content: center;
    }
}