/* FOLHA DE ESTILOS DA TIME LINE */

:root {
    --bg-light: #eef2f7;
    --accent: #2c5cc5;
    --text-dark: #1f2937;
    --transition: 0.6s ease;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #e5e7eb; /* fundo neutro */
}

body::-webkit-scrollbar {
    display: none;
    overflow: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.page-title {
    text-align: center;
    padding: 15px;
}

.page-title h1 {
    color: #11398e;
}

/* Card principal */
.timeline-card {
    background: var(--card-bg);
    transition: background var(--transition);
    height: 100vh;
    padding: 10px 20px;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #11398e;
}

.company-slogan {
    color: #555;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding: 1.0rem;
}

/* Card horizontal do logo */
.logo-card {
    background: var(--accent);
    border-radius: 14px;
    height: 110px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    transition: background var(--transition);
}

.logo-card img {
    max-height: 70%;
    max-width: 80%;
}

.logo-container {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-height: 100%;
    transition: var(--transition);
}

.year-highlight {
    font-size: 35px;
    font-weight: bold;
    color: var(--accent);
    text-align: center;
}

.year-tagline {
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
}

.year-activity {
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.year-description {
    max-width: 800px;
    margin: 10px auto 30px;
    line-height: 1.5;
    text-align: center;
}

/* Linha do tempo */
.timeline-bar {
    position: relative;
    margin-top: 40px;
    height: 90px;
}

/* Barra base */
.timeline-bar::before {
    content: '';
    position: absolute;
    top: 40px;
    height: 4px;
    background: #d1d5db;
    left: var(--bar-start);
    width: var(--bar-width);
}

/* Progresso */
.timeline-progress {
    position: absolute;
    top: 40px;
    height: 4px;
    background: var(--accent);
    transition: width var(--transition);
    left: var(--bar-start);
    width: var(--progress-width);
}

/* Pontos + traços verticais */
.timeline-points {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-points span {
    font-size: 14px;
    cursor: pointer;
    color: var(--text-dark);
}

.point {
    position: relative;
    text-align: center;
    width: 14%;
}

.point span {
    font-size: 18px;
}

/* Traço vertical abaixo do ano */
.point::after {
    content: '';
    display: block;
    width: 2px;
    height: 10px;
    background: #9ca3af;
    margin: 6px auto 0;
}

/* Diamante indicador */
.diamond {
    position: absolute;
    top: 40px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: left var(--transition), background var(--transition);
}

/* Responsivo */
@media (max-width: 600px) {
    .year-highlight {
        font-size: 36px;
    }

    .year-description {
        font-size: 14px;
    }
}
