/* =====================================================
   sobrenos.css – Página Sobre Nós / Rodoviária
   ===================================================== */

/* Cabeçalho de Vídeo */
.video-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.video-hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.video-hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.video-hero-desc {
    font-size: 1.05rem;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Conteúdo Principal */
.about-section {
    background-color: var(--white);
    padding: 80px 20px;
}

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

.about-intro {
    margin-bottom: 60px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Layout de Duas Colunas: Linha do tempo + Ouvidoria */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: flex-start;
}

/* Linha do Tempo (Timeline) */
.timeline {
    position: relative;
    padding-left: 30px;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 2px;
    background-color: #e8e8e8;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: -30px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 4px rgba(237, 50, 55, 0.15);
    z-index: 5;
}

.timeline-label {
    margin-bottom: 8px;
}

.timeline-label h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
}

.timeline-label p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.timeline-panel {
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ouvidoria Sidebar */
.ouvidoria-box {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.ouvidoria-box h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.ouvidoria-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.ouvidoria-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.ouvidoria-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Galeria de Fotos */
.gallery-section {
    background-color: #f5f5f5;
    padding: 80px 20px;
}

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

.gallery-header {
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eaeaea;
    background-color: var(--white);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .video-hero {
        height: 280px;
    }

    .video-hero-title {
        font-size: 2rem;
    }

    .about-title {
        font-size: 1.8rem;
    }
}
