/* ==========================================================================
   RIDER 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-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .vit-pl-custom { padding-left: 3rem !important; }
}

/* Utilitários Gerais */
.align-items-center { align-items: center; }
.text-center { text-align: center !important; }
.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; }

/* --- TIPOGRAFIA GERAL --- */
.modern-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--vit-title, #111);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.modern-text {
    line-height: 1.6 !important;
    color: var(--vit-text, #444);
    font-size: 1.05rem;
}

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

/* --- CABEÇALHO DO RIDER --- */
.vit-rider-header {
    border-bottom: 1px solid var(--vit-border, #eaeaea);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

/* Imagem Grande Vertical (Proporção Reels/Tiktok 9:16) */
.vit-rider-img-wrap {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    background: #f4f4f4;
}

.vit-rider-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: top center; /* Garante que o rosto não corte se a foto for muito larga */
}

.vit-img-placeholder {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Informações do Texto */
.vit-rider-name {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.vit-rider-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--vit-muted, #666);
}

.vit-rider-badges i {
    color: var(--vit-accent, #cc5500);
    margin-right: 5px;
}

.vit-badge-link {
    color: var(--vit-muted, #666);
    text-decoration: none;
    border-bottom: 1px dotted #999;
    transition: color 0.3s ease, border-color 0.3s ease;
}

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

/* --- BLOCO DE CITAÇÃO (Quote Injetável) --- */
.vit-rider-quote {
    position: relative;
    padding: 1.8rem 2rem;
    background: var(--vit-bg-soft, #f8f9fa);
    border-radius: 0.75rem;
    border-left: 5px solid var(--vit-accent, #cc5500);
    margin: 2.5rem 0;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.04);
}

.vit-quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 2.5rem;
    color: var(--vit-accent, #cc5500);
    opacity: 0.3;
    background: #fff;
    padding: 0 10px;
    border-radius: 5px;
}

.vit-rider-quote p {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--vit-text, #444);
    font-weight: 600;
    margin: 0 !important;
    line-height: 1.6;
}

/* --- TRILHA SONORA --- */
.vit-soundtrack-title {
    display: inline-block;
    position: relative;
}

.vit-soundtrack-player {
    border-radius: var(--vit-radius, 0.8rem);
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
    background: #000;
    height: 180px; /* Altura ideal para exibir os botões do YT ou Spotify sem sobrar espaço preto */
}

/* --- 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;
}