@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #e6e6da;
    color: #333;
    background-repeat: repeat;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 900px;
    margin-bottom: 20px;
}

button {
    background-color: #858486;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 0;
    display: flex;
    width: 100%;
    text-align: left !important;
    max-width: 100%;
    justify-content: left;
    font-family: 'Outfit', Arial;
}

button:hover {
    background-color: #666;
    transform: translateY(-2px);
    transition: transform 0.5s ease;
}

button:active {
    transform: translateY(0);
}
         
button.erro {
    border: 2px solid #e2001a !important;
    background-color: transparent;
    transition: background-color 0.5s ease;
    color: #e2001a;
    font-weight: bold;
}
         
button.votado {
    border: 2px solid #69a062 !important;
    background-color: #fff;
    transition: background-color 0.5s ease;
    color: #69a062;
    font-weight: bold;
}
         
img {
    max-width: 100%;
    display: block;
}

.header {
    background-repeat: repeat;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    flex-direction: column;
}

.logo-header {
    max-height: 120px;
}

.main-content { 
    background-position: bottom;
    background-repeat: repeat-x;
    width: 100%; 
    padding: 0 1rem 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url('https://www.sptrans.com.br/media/16617/fundo_site_paulistar.png');
}

.footer {
    background-color: #828183;
    padding: 2rem 1rem;
    color: white;
    background-image: url('/media/16365/fundo_todos_3.png');
    background-repeat: repeat;
}

.footer-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

a {
    color: white;
}

.footer-logos img{
    max-width: 300px;
}

.logo-footer {
    height: 40px;
    width: auto;
}

*, *:before, *:after {
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

@media (max-width: 950px) {
    .day-number{
        font-size: 16px !important;
    }

    .event span{
        font-size: 12px !important;
    }

    .intro{
        width: 100% !important;        
        padding: 0 !important
    } 
}

.social-icons-png {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.social-icons-png img {
    width: 40px; 
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin: 0 5px
} 

.social-icons-png img:hover {
    transform: scale(1.2);
}

.main-content .link{
    justify-content: center !important;
    margin: 25px 0;
    width: 100%;
    max-width: 650px;
}

@media (max-width: 950px) {
    .container {
        justify-content: center;
    }
}

.conteudo-evento{
    background-color: white;
    line-height: 1.1;
    width: 100%;
}

.conteudo-evento p{
    padding: 15px;
} 
.data-evento{
    padding: 15px 0 0 0 !important;
} 
.descricao-evento{
    font-weight: bold !important;
    display: flex;
    align-items: center;
    padding: 0 !important;
} 
.descricao-evento p{    
    display: block;
    text-align: left;
} 
.descricao-evento>img{    
    display: flex;
    width: 40%;
}

.conteudo-evento {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.5s ease, opacity 0.5s ease;
}

.conteudo-evento.show { 
    height: auto; 
    opacity: 1; 
    width: 100%; 
    padding: 20px; 
    border-radius: 20px; 
    background-color: rgba(232,233,221,0.5); 
    text-align: center; 
    border: 2px solid rgba(255,255,255,0.4); 
    outline: 2px solid rgba(0,0,0,0.05); 
}

.dia {
    width: 31%;
    max-height: 150px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out, background-color 0.3s, color 0.3s;
    color: #4CAF50;
    flex-direction: column;
    padding: 5px 10px 10px;
    background-color: rgba(232,233,221,0.5);
    position: relative;
}

.dia p{
    font-size: 16px;
    text-transform: uppercase;
} 
.dia span{
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
} 
.dia:hover span, .dia.active span{
    color: white !important;
}

.dia:nth-of-type(1) {
    border-color: #0c4694;
    color: #0c4694;
}
.dia:nth-of-type(1):hover, 
.dia:nth-of-type(1).active {
    background-color: #0c4694;
    color: white;
    transform: scale(1.025);
}

.dia:nth-of-type(2) {
    border-color: #007a59;
    color: #007a59;
}
.dia:nth-of-type(2):hover,
.dia:nth-of-type(2).active {
    background-color: #007a59;
    color: white;
    transform: scale(1.025);
}

.dia:nth-of-type(3) {
    border-color: #00a5da;
    color: #00a5da;
}
.dia:nth-of-type(3):hover,
.dia:nth-of-type(3).active {
    background-color: #00a5da;
    color: white;
    transform: scale(1.025);
}

/* Paulistar 4 - Circuito Samba */
.dia:nth-of-type(4) {
    border-color: #005f9a;
    background-color: #005f9a;
    color: white;
}
.dia:nth-of-type(4) span {
    color: white !important;
}
.dia:nth-of-type(4):hover,
.dia:nth-of-type(4).active {
    background-color: rgba(232,233,221,0.5);
    color: #005f9a;
    transform: scale(1.025);
}
.dia:nth-of-type(4):hover span,
.dia:nth-of-type(4).active span {
    color: #777 !important;
}

/* Paulistar 5 - Circuito Conexão ZL */
.dia:nth-of-type(5) {
    border-color: #e6ba29;
    background-color: #e6ba29;
    color: white;
}
.dia:nth-of-type(5) span {
    color: white !important;
}
.dia:nth-of-type(5):hover,
.dia:nth-of-type(5).active {
    background-color: rgba(232,233,221,0.5);
    color: #e6ba29;
    transform: scale(1.025);
}
.dia:nth-of-type(5):hover span,
.dia:nth-of-type(5).active span {
    color: #777 !important;
}

.dia:nth-of-type(6) {
    border-color: #5183b8;
    color: #5183b8;
}
.dia:nth-of-type(6):hover,
.dia:nth-of-type(6).active {
    background-color: #5183b8;
    color: white;
    transform: scale(1.025);
}

.dia:nth-of-type(7) {
    border-color: #c04d4e;
    color: #c04d4e;
}
.dia:nth-of-type(7):hover,
.dia:nth-of-type(7).active {
    background-color: #c04d4e;
    color: white;
    transform: scale(1.025);
}

.dia:nth-of-type(8) {
    border-color: #2e3192;
    color: #2e3192;
}
.dia:nth-of-type(8):hover,
.dia:nth-of-type(8).active {
    background-color: #2e3192;
    color: white;
    transform: scale(1.025);
}

.dia:nth-of-type(9) {
    border-color: #754779;
    color: #754779;
}
.dia:nth-of-type(9):hover,
.dia:nth-of-type(9).active {
    background-color: #754779;
    color: white;
    transform: scale(1.025);
}

.titulo-calendario{
    width:100%;
    display: flex;
    justify-content: center;
}

.titulo-calendario h2{
    width: auto;
    padding: 10px 20px;
    background: #a0bc3a;
    border-radius: 10px;
    color: white;
    font-size: 1.3em;
    margin-bottom:10px;
}

.intro{
    max-width: 650px;
    margin-bottom: 10px;    
} 

.intro p{
    padding: 5px 10px;
    line-height: 1.2;
    text-align: center;
}

.base-logos{
    margin-top: 20px;
}

.logo-sptrans{
    margin-bottom: -3px;    
}

.base-logos .logos > div{
    max-width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    margin: 0 5px;
    align-self: end;
}

.base-logos .logos{    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;    
}

.logo-bilhete-unico{
    padding-right: 20px;
    margin-right: 10px;
    border-right: 1px solid #e2001a;    
}

.justify-content-center{
    display: flex;
    justify-content: center;
    width: 100%;
}
.texto{
    width:40%;
    align-self: flex-start;
}
.texto p{
    margin: 0 0 3px;
    padding: 0;
} 
.texto em{
    font-weight: 500;
    font-style: normal;
} 
.texto ul{
    padding: 0 0 0 20px;
    text-align: left;
    margin: 20px 0 0;
} 
.mapa{
    height: auto;
    width: 80%
} 
.mapa a{
    height: auto;
    display: block;
} 
.mapa img{
    height: auto;
} 
.texto h3{
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 950px) {
    .logo-header {
        max-height: 120px;
    }
    
    .descricao-evento{
        flex-direction: column;
    } 
    .descricao-evento .texto{
        width:100%; 
    } 
    .mapa{
        height: auto;
        margin-top:20px;
    }

    .container {
        width: 100%;
        flex-direction: row;
    } 
    
    .footer-logos {
        justify-content: center;
        gap: 3rem;
    }
}

@media (max-width: 600px) {    
    .container {
        width: 100%;
        flex-direction: column;
    } 
    .dia{
        width: 100%;
    }
}
    
.itinerarios li {
    color: #444;
    border: 2px solid #e2001a;
    padding: 10px 15px;
    border-radius: 5px;
    list-style: none;
    text-decoration: none;
}

.itinerarios li a {
    text-decoration: none;
    color: #e2001a;
    font-weight: bold;
}

.itinerarios li a:before {
    content: "âš ï¸ AtenÃ§Ã£o: ";
    font-weight: 400;
}

.itinerarios li a:after {
    content: " - Saiba mais";
    font-weight: 300;
}

.carregando{    
    display: flex;
    justify-content: center;
    align-items: center;
} 
.carregando svg {       
    display: inline-block; 
    margin-right: 10px;
}

.splash-novo{
    position: absolute;
    left: -3px;
    top: -3px;
    font-size: 0.7rem;
    background-color: #94c11f;
    padding: 4px;
    border-radius: 5px;
    color: white !important; /* Adicionado para garantir que o hover do pai não mude a cor */
}