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

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

/* Fundo da Estátua com efeito escuro elegante */
.fundo-estatua {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Substitua pelo caminho da imagem da estátua */
    background-image: url('./img/PR\ CICO.PNG');
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.75);
    background-blend-mode: darken;
    z-index: -1;
}

.container {
    text-align: center;
    padding: 60px 20px;
    max-width: 1000px;
    width: 100%;
}

/* Logo e Textos */
.logo-header {
    margin-bottom: 15px;
}

.logo-img {
    max-width: 350px;
    max-height: 150px;
    /* Logo em tons claros para contrastar com o fundo escuro */
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.subtitulo {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Grade de Cards */
.grade-marcas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Estilo dos Cards (Glassmorphism) */
.card-marca {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icone-marca {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
    z-index: 2;
}

.texto-marca {
    font-size: 0.85rem;
    color: #aaaaaa;
    font-weight: 400;
    z-index: 2;
    transition: color 0.3s;
}

/* Seta que aparece no hover */
.seta {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

/* Animações de entrada */
@keyframes subir {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animar {
    animation: subir 0.8s ease forwards;
    opacity: 0;
}

.animar:nth-child(1) { animation-delay: 0.2s; }
.animar:nth-child(2) { animation-delay: 0.4s; }
.animar:nth-child(3) { animation-delay: 0.6s; }
.animar:nth-child(4) { animation-delay: 0.8s; }
.animar:nth-child(5) { animation-delay: 1.0s; }

/* Hover dos Cards */
.card-marca:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.card-marca:hover .texto-marca {
    color: #fff;
}

.card-marca:hover .seta {
    opacity: 1;
    transform: translateX(0);
}

/* Cores específicas de cada marca no hover */

/* Fiat (Vermelho) */
.marca-fiat:hover { box-shadow: 0 15px 30px rgba(213, 43, 30, 0.3); border-color: #d52b1e; background: rgba(213, 43, 30, 0.8); }

/* Citroën (Azul) */
.marca-citroen:hover { box-shadow: 0 15px 30px rgba(0, 44, 95, 0.4); border-color: #00468c; background: rgba(0, 68, 140, 0.8); }

/* Peugeot (Preto/Cinza) */
.marca-peugeot:hover { box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2); border-color: #ffffff; background: rgba(20, 20, 20, 0.9); }

/* Posto BR (Verde/Amarelo) */
.marca-br:hover { box-shadow: 0 15px 30px rgba(255, 199, 0, 0.3); border-color: #ffc700; background: linear-gradient(135deg, rgba(0, 151, 57, 0.9), rgba(255, 199, 0, 0.9)); }

/* Responsividade para celulares/tablets */
@media (max-width: 900px) {
    .grade-marcas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .grade-marcas {
        grid-template-columns: 1fr;
    }
    .card-marca {
        height: 180px;
    }
    .logo-img {
        max-width: 250px;
    }
}