/* --- ESTILOS GLOBAIS E DE LAYOUT --- */
body {
    background-color: black;
    overflow-x: hidden;
    color: white;
    /* CORRIGIDO: Removidas as propriedades de flexbox que quebravam o layout da página inteira */
}

a.banner-link {
    text-decoration: none;
}

.banner {
    font-size: 50px;
    /* CORRIGIDO: Removida a 'position: absolute' para que o banner siga o fluxo da página */
    background-color: #1e1e1e;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
}

.card-container {
    /* Layout flexível para alinhar os cards */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Espaçamento consistente entre os cards */
    gap: 2rem;
    /* Margem para centralizar e dar espaço dos banners */
    margin: 3rem auto 5rem auto;
    padding: 0 20px;
}

/* --- DESIGN DOS CARDS (O DESIGN FOI MANTIDO) --- */
.card {
    /* CORRIGIDO: Removida a margem individual para o container controlar o espaçamento */
    background-color: #3B3B3B;
    width: 425px;
    height: auto;
    border-radius: 10px;
}

.tituloCard {
    font-family: "Poppins", sans-serif;
    color: white;
    font-size: 8px;
    display: flex;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px;
}

.imagemCard img {
    cursor: pointer;
    max-width: 100%;
    height: auto;
    display: block;
}

.conteudo p {
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 14px;
    padding: 1rem;
    word-break: keep-all;
    margin: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    display: inline;
    color: white;
    padding: 0.5rem;
}

.navegacaoMini {
    color: white;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    position: relative;
}

ul li:hover {
    color: #00ff00;
}

/* O restante do CSS para efeitos de hover, etc., permanece o mesmo */
.navegacaoMini::before {
    color: #00ff00;
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0);
    height: 2px;
    width: 100%;
    background-color: #00ff00;
    transition: transform 0.5s ease-in-out;
}
.navegacaoMini:not(.ativo):hover::before {
    transform: translateX(-50%) scale(1);
}
.navegacaoMini:hover::after,
.navegacaoMini.ativo::after {
    opacity: 1;
}
.navegacaoMini.ativo::before {
    transform: translateX(-50%)
}
.imagemCard {
    position: relative;
    overflow: hidden;
}
.textoEscondido span {
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    opacity: 0;
    font-size: 14px;
    color: #ffffff;
    transition: opacity 0.3s ease-in-out;
}
.textoEscondido {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #00000090;
    padding: 15px;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.imagemCard:hover .textoEscondido span {
    opacity: 1;
}
.imagemCard:hover .textoEscondido {
    opacity: 1;
}