/* Fonte personalizada */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(90deg, #d40000, #8b0000);
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

section {
    background-color: #ffffff;
    margin: 20px auto;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
}

h2 {
    color: #d40000;
    border-bottom: 3px solid #d40000;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 12px;
    margin-bottom: 8px;
    background-color: #ffeded;
    border-left: 5px solid #d40000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

li:hover {
    background-color: #ffe5e5;
    transform: translateX(5px);
}

.pilotos-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.piloto {
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease;
}

.piloto img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #d40000;
    transition: transform 0.3s ease;
}

.piloto:hover img {
    transform: scale(1.1);
}

.piloto p {
    margin-top: 8px;
    font-weight: 600;
}

#info-piloto {
    display: none;
    background-color: #ffeded;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #d40000;
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#info-piloto.show {
    display: block;
    opacity: 1;
}

@media (max-width: 600px) {
    header {
        font-size: 1.5rem;
    }
    .pilotos-container {
        flex-direction: column;
        align-items: center;
    }
}