* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cabecalho { 
    width: 100%;
    height: 88px;
    background-color: #d40000;

    display: flex;
    align-items: center;

    padding: 0 40px;
}

.endereco {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icone-localizacao {
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    animation: girarIcone 1.5s ease-in-out infinite;
}

@keyframes girarIcone {
    0%, 100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

.logo-cabecalho {
    height: 78px;
    width: auto;
    animation: arrancadaLogo 4s ease-in-out infinite;
}

.logo-animacao {
    position: absolute;
    left: 50%;
    top: 0;
    height: 78px;
    display: flex;
    align-items: center;
    transform: translateX(-50%);
}

@keyframes arrancadaLogo {
    0%, 75%, 100% {
        transform: translateX(0);
    }

    78% {
        transform: translateX(10px) rotate(1deg);
    }

    81% {
        transform: translateX(-3px) rotate(-0.5deg);
    }

    84% {
        transform: translateX(2px) rotate(0deg);
    }
}

.whatsapp {
    margin-left: auto;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.facebook {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-left: 20px;
}

.instagram {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-left: 20px;
}

.menu {
    width: 100%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    background-color: white;
}

.menu a {
    color: #222;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.menu a:hover {
    color: #d40000;
}

.banner img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 50%;
    display: block;
    
}

.catalogo {
    width: 1080px;
    max-width: 95%;
    margin: 35px auto 50px;
    padding: 35px 20px 10px;
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
}

.catalogo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.linha-catalogo {
    width: 500px;
    max-width: 90%;
    height: 3px;
    background-color: #d40000;
    margin: 12px auto 0;
    border-radius: 5px;
    animation: linhaAparecer 2s ease-in-out infinite;
}

@keyframes linhaAparecer {
    0%, 100% {
        transform: scaleX(0.85);
    }

    50% {
        transform: scaleX(1);
    }
}
.cards-motos {
    display: grid;
    grid-template-columns: repeat(4, 228px);
    gap: 24px;
    max-width: 1000px;
    margin: 30px auto 50px;
    justify-content: center;
}
.area-catalogo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 30px auto 50px;
}

.area-catalogo .cards-motos {
    margin: 0;
}


.card-moto {
    background-color: white;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    width: 228px;
}

.foto-moto {
    width: 100%;
    height: 135px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.foto-moto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.foto-moto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.informacoes-moto {
    text-align: center;
    padding: 10px 14px 14px;
}


.marca-moto {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #555;
}

.nome-moto {
    margin-top: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #d40000;
}

.ano-moto {
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #555;
}

.preco-moto {
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #444;
}

.botao-detalhes {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 11px;
    background-color: #d40000;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
}
.catalogo {
    width: 1080px;
    max-width: 95%;
    margin: 35px auto 50px;
    padding: 35px 20px 10px;
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;

}
.modal-empresa {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);

    align-items: center;
    justify-content: center;
}

.conteudo-empresa {
    position: relative;
    width: 600px;
    max-width: 90%;
    padding: 35px 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.conteudo-empresa h2 {
    color: #d40000;
    font-size: 28px;
    margin: 0;
}

.linha-empresa {
    width: 100%;
    height: 3px;
    background-color: #d40000;
    margin: 12px 0 25px;
}

.conteudo-empresa p {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.fechar-empresa {
    position: absolute;
    top: 12px;
    right: 18px;
    border: none;
    background: none;
    color: #555;
    font-size: 30px;
    cursor: pointer;
}

.fechar-empresa:hover {
    color: #d40000;
}

.info-empresa {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
}

.info-empresa strong {
    color: #d40000;
}

.info-empresa span {
    color: #555;
    font-size: 14px;
}.modal-contato {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
}

.conteudo-contato {
    position: relative;
    width: 900px;
    max-width: 90%;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.fechar-contato {
    position: absolute;
    top: 10px;
    right: 18px;
    border: none;
    background: none;
    font-size: 30px;
    color: #555;
    cursor: pointer;
}

.fechar-contato:hover {
    color: #d40000;
}

.formulario-contato h2 {
    color: #d40000;
    font-size: 26px;
    margin-bottom: 25px;
}

.formulario-contato input,
.formulario-contato textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 13px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
}

.formulario-contato textarea {
    height: 130px;
    resize: none;
}

.formulario-contato input:focus,
.formulario-contato textarea:focus {
    border-color: #d40000;
}

.botao-enviar {
    border: none;
    background-color: #d40000;
    color: white;
    padding: 13px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.botao-enviar:hover {
    background-color: #b80000;
}

.informacoes-contato {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 55px;
}

.item-contato {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.item-contato strong {
    color: #d40000;
    font-size: 20px;
}

.item-contato a {
    color: #333;
    text-decoration: none;
}

.item-contato a:hover {
    color: #d40000;
}
/* RODAPÉ */

.rodape {
    width: 100%;
    background-color: #f5f5f5;
    margin-top: 50px;
}

.mapa-rodape {
    width: 100%;
    height: 300px;
}

.mapa-rodape iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.rodape-conteudo {
    text-align: center;
    padding: 35px 40px 45px;
}

.logo-rodape {
    width: 110px;
    height: auto;
    margin-bottom: 20px;
}

.redes-rodape {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
}

.redes-rodape a {
    color: #d40000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.redes-rodape a:hover {
    text-decoration: underline;
}

.informacoes-rodape {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.informacoes-rodape div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.informacoes-rodape strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #222;
}

.informacoes-rodape span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
/* =========================
   PÁGINA DE ESTOQUE
========================= */

.estoque {
    width: 1100px;
    max-width: 95%;
    margin: 40px auto 60px;
    font-family: 'Montserrat', sans-serif;
}

.estoque h1 {
    font-size: 30px;
    color: #222;
    margin: 0;
}

.linha-estoque {
    width: 100%;
    height: 3px;
    background-color: #d40000;
    margin: 12px 0 30px;
}

.area-estoque {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 35px;
    align-items: start;
}

/* FILTROS */

.filtros {
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 22px;
}

.contador-motos {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.contador-motos strong {
    font-size: 24px;
    color: #222;
}

.contador-motos span {
    font-size: 13px;
    color: #777;
}

.limpar-filtros {
    color: #d40000;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 25px;
}

.filtro-bloco {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    margin-top: 20px;
}

.filtro-bloco h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.campo-busca {
    display: flex;
    gap: 5px;
}

.campo-busca input {
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid #ddd;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.campo-busca button {
    border: none;
    background-color: #d40000;
    color: white;
    padding: 0 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.filtro-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

.filtro-item span {
    font-size: 18px;
    color: #777;
}

/* ÁREA DAS MOTOS */

.lista-estoque {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.moto-estoque {
    width: 100%;
    min-height: 190px;
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 230px 1fr 190px;
    gap: 25px;
    align-items: center;
    padding: 18px;
}

.foto-estoque {
    width: 230px;
    height: 150px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.foto-estoque img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.marca-estoque {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
}

.modelo-estoque {
    margin-top: 5px;
    font-size: 22px;
    font-weight: 700;
    color: #d40000;
}

.detalhes-estoque {
    display: flex;
    gap: 18px;
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

.preco-estoque {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.preco-estoque span {
    font-size: 11px;
    color: #777;
}

.preco-estoque strong {
    margin-top: 4px;
    font-size: 21px;
    color: #333;
}

.preco-estoque a {
    margin-top: 15px;
    padding: 10px 14px;
    background-color: #d40000;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}
.opcoes-filtro {
    display: none;
    padding: 5px 0 10px;
}

.opcao-ano {
    padding: 8px 5px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.opcao-ano:hover {
    color: #d40000;
}
/* =========================
   RESPONSIVO - CELULAR
   ========================= */

@media (max-width: 768px) {

    /* =========================
       CABEÇALHO
       ========================= */

    .cabecalho {
        height: auto;
        min-height: 100px;
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .logo-animacao {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 65px;
        justify-content: center;
    }

    .logo-cabecalho {
        height: 60px;
    }

    .endereco {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        line-height: 1.3;
    }

    .whatsapp,
    .facebook,
    .instagram {
        display: none;
    }


    /* =========================
       MENU
       ========================= */

    .menu {
    width: 100%;
    height: 50px;
    padding: 0 5px;
    gap: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu a {
    flex: 1;
    width: 25%;
    text-align: center;
    font-size: 11px;
    white-space: nowrap;
}


    /* =========================
       BANNER
       ========================= */

    .banner img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }


    /* =========================
       CARDS DAS MOTOS
       ========================= */

    .foto-moto {
        height: 160px;
    }

    .foto-moto img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .cards-motos {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .card-moto {
        width: 228px;
        max-width: 100%;
        margin: 0 auto;
    }


    /* =========================
       RODAPÉ
       ========================= */

    .rodape-conteudo {
        width: 100%;
    }

    .redes-rodape {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 25px;
        flex-wrap: wrap;
    }

    .informacoes-rodape {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
        margin-top: 30px;
    }

    .informacoes-rodape > div {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .informacoes-rodape strong {
        display: block;
        margin-bottom: 8px;
    }

    .informacoes-rodape span {
        display: block;
        line-height: 1.6;
    }

    footer {
        width: 100%;
        padding: 30px 15px;
        text-align: center;
    }

    footer iframe {
        width: 100%;
        max-width: 100%;
        height: 220px;
        display: block;
        margin: 20px auto 0;
    }

    footer img {
        max-width: 100%;
        height: auto;
    }

    footer p,
    footer a {
        font-size: 13px;
        line-height: 1.6;
    }


    /* =========================
       ESTOQUE - CABEÇALHO MOBILE
       ========================= */

    body.pagina-estoque .cabecalho {
        height: auto !important;
        min-height: 105px;
        padding: 8px 10px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    body.pagina-estoque .logo-animacao {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 65px;
        justify-content: center;
        transform: none;
    }

    body.pagina-estoque .logo-cabecalho {
        height: 58px;
    }

    body.pagina-estoque .endereco {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 11px;
        line-height: 1.3;
    }

    body.pagina-estoque .whatsapp,
    body.pagina-estoque .facebook,
    body.pagina-estoque .instagram {
        display: none !important;
    }


    /* =========================
       ESTOQUE - CONTEÚDO MOBILE
       ========================= */

    body.pagina-estoque .estoque {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
    }

    body.pagina-estoque .area-estoque {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    body.pagina-estoque .filtros {
        width: 100%;
    }

    body.pagina-estoque .lista-estoque {
        width: 100%;
    }

    body.pagina-estoque .moto-estoque {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 12px;
        align-items: stretch;
    }

    body.pagina-estoque .foto-estoque {
        width: 100%;
        height: 200px;
    }

    body.pagina-estoque .dados-estoque {
        width: 100%;
        text-align: center;
    }

    body.pagina-estoque .detalhes-estoque {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    body.pagina-estoque .preco-estoque {
        width: 100%;
        align-items: center;
    }
        /* =========================
       CONTATO - CELULAR
       ========================= */

    .modal-contato {
        padding: 10px;
        overflow-y: auto;
    }

    .conteudo-contato {
        width: 100%;
        max-width: 100%;
        padding: 25px 18px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .fechar-contato {
        top: 5px;
        right: 10px;
        font-size: 26px;
    }

    .formulario-contato h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .formulario-contato input,
    .formulario-contato textarea {
        width: 100%;
        padding: 11px;
        font-size: 13px;
    }

    .formulario-contato textarea {
        height: 110px;
    }

    .botao-enviar {
        width: 100%;
        padding: 12px;
    }

    .informacoes-contato {
        gap: 18px;
        padding-top: 5px;
    }

    .item-contato {
        gap: 10px;
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .item-contato strong {
        font-size: 18px;
        flex-shrink: 0;
    }
        /* =========================
       EMPRESA - CELULAR
       ========================= */

    .modal-empresa {
        padding: 10px;
        overflow-y: auto;
    }

    .conteudo-empresa {
        width: calc(100% - 20px);
        max-width: 100%;
        padding: 25px 18px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .conteudo-empresa h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .linha-empresa {
        margin: 10px 0 20px;
    }

    .conteudo-empresa p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .fechar-empresa {
        top: 5px;
        right: 10px;
        font-size: 26px;
    }

    .info-empresa {
        margin-top: 20px;
        padding-top: 15px;
    }

    .info-empresa span {
        font-size: 13px;
        line-height: 1.5;
    }

}