/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #e4002b;
    --red-dark: #bd0024;
    --text: #181818;
    --muted: #7f7f7f;
    --line: #dedede;
    --soft: #f5f5f5;
    --card: #ffffff;

    --shadow:
        0 18px 45px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        Arial,
        sans-serif;

    color: var(--text);
    background: #ffffff;
}

button,
select {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: #ffffff;
    position: relative;
    z-index: 20;
    border-bottom:
        1px solid #eeeeee;
}

.header-inner {
    min-height: 108px;
    max-width: 1500px;
    margin: 0 auto;
    padding:
        0 42px;

    display: grid;
    grid-template-columns:
        1fr auto 1fr;

    align-items: center;
}

.menu-button {
    width: 70px;
    border: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;

    cursor: pointer;
    color: #333333;
}

.menu-button span {
    display: block;
    width: 42px;
    height: 2px;
    background: #222222;
}

.menu-button small {
    font-size: 12px;
    margin-top: 1px;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand img {
    width: 175px;
    max-height: 62px;
    object-fit: contain;
}

.client-button {
    justify-self: end;

    border:
        1px solid #dddddd;

    background: #ffffff;
    color: var(--red);

    border-radius: 8px;

    padding:
        15px 22px;

    font-weight: 700;

    display: flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;
}

.user-icon {
    width: 28px;
    height: 28px;

    border:
        2px solid var(--red);

    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 16px;
}

.main-nav {
    min-height: 58px;

    border-top:
        1px solid #f0f0f0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 48px;

    background: #ffffff;
}

.main-nav a {
    color: #333333;
    font-size: 15px;
    font-weight: 500;

    transition:
        color 0.2s ease;
}

.main-nav a:hover {
    color: var(--red);
}


/* =========================================
   HERO / BANNER
========================================= */

.hero {
    min-height: 535px;

    position: relative;
    overflow: hidden;

    display: grid;
    place-items: center;
}

.hero-image {
    position: absolute;
    inset: 0;

    /* IMAGEM NOVA DO BANNER */
    background-image:
        url("../img/capa100.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.22) 55%,
            rgba(0, 0, 0, 0.35)),
        linear-gradient(0deg,
            rgba(0, 0, 0, 0.35),
            transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 1200px;

    padding:
        70px 25px 140px;

    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size:
        clamp(42px, 5vw, 68px);

    line-height: 1;
    font-weight: 800;

    letter-spacing: -2.5px;

    margin-bottom: 28px;
}

.hero p {
    max-width: 1050px;
    margin: 0 auto;

    font-size:
        clamp(18px, 2vw, 26px);

    line-height: 1.45;
    font-weight: 400;
}


/* =========================================
   FILTROS
========================================= */

.filter-wrap {
    position: relative;
    z-index: 5;

    max-width: 1420px;

    margin:
        -74px auto 0;

    padding:
        0 20px;
}

.filter-bar {
    min-height: 110px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.16);

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    overflow: hidden;
}

.filter-item {
    position: relative;

    padding:
        26px 35px 24px 76px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right:
        1px solid var(--line);
}

.filter-item:last-child {
    border-right: 0;
}

.filter-icon {
    position: absolute;

    left: 32px;
    top: 50%;

    transform:
        translateY(-55%);

    color: var(--red);

    font-size: 25px;
    font-weight: 500;
}

.filter-item label {
    font-size: 13px;
    color: #999999;
    margin-bottom: 5px;
}

.filter-item select {
    appearance: none;

    border: 0;
    outline: 0;

    background: transparent;

    color: #555555;

    font-size: 16px;

    cursor: pointer;

    width: 100%;

    padding:
        0 22px 0 0;

    background-image:
        linear-gradient(45deg,
            transparent 50%,
            #999999 50%),
        linear-gradient(135deg,
            #999999 50%,
            transparent 50%);

    background-position:
        calc(100% - 8px) 50%,
        calc(100% - 3px) 50%;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat:
        no-repeat;
}


/* =========================================
   CATÁLOGO
========================================= */

.catalog {
    max-width: 1420px;

    margin: 0 auto;

    padding:
        76px 20px 95px;
}

.catalog-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}

.eyebrow {
    color: var(--red);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;
}

.catalog h2 {
    margin-top: 8px;

    font-size: 34px;

    letter-spacing: -1.3px;
}

.result-count {
    color: #888888;

    font-size: 14px;

    padding-bottom: 5px;
}


/* =========================================
   ABAS DE CATEGORIA
========================================= */

.category-tabs {
    display: flex;

    gap: 10px;

    margin-bottom: 30px;

    flex-wrap: wrap;
}

.category-tab {
    border:
        1px solid #dddddd;

    background: #ffffff;

    color: #666666;

    border-radius: 30px;

    padding:
        10px 18px;

    cursor: pointer;

    font-size: 13px;

    font-weight: 600;

    transition:
        0.2s ease;
}

.category-tab:hover,
.category-tab.active {
    background: var(--red);

    border-color: var(--red);

    color: #ffffff;
}


/* =========================================
   GRID DOS CARDS
========================================= */

.cards-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 400px));

    justify-content: space-between;

    gap: 28px;
}


/* =========================================
   CARD DA MOTO
========================================= */

.moto-card {
    background: var(--card);

    border:
        1.5px solid var(--red);

    border-radius: 7px;

    min-width: 0;

    position: relative;

    padding:
        22px 22px 25px;

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.06),
        0 20px 45px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.moto-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.08),
        0 25px 55px rgba(0, 0, 0, 0.14);
}


/* =========================================
   SELO LANÇAMENTO
========================================= */

.launch-badge {
    position: absolute;

    top: -1px;
    left: 18px;

    transform:
        translateY(-50%);

    background: var(--red);

    color: #ffffff;

    border-radius: 4px;

    padding:
        7px 11px;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================
   TOPO DO CARD
========================================= */

.card-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-top: 4px;
}

.card-category {
    color: #999999;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-weight: 700;
}

.zoom-button {
    width: 34px;

    height: 34px;

    border: 0;

    background: transparent;

    color: var(--red);

    font-size: 24px;

    cursor: pointer;
}


/* =========================================
   NOME DA MOTO
========================================= */

.moto-name {
    text-align: center;

    font-size: 22px;

    margin-top: 8px;

    min-height: 52px;

    display: grid;

    place-items: center;
}


/* =========================================
   IMAGEM DA MOTO
========================================= */

.moto-image-box {
    height: 220px;

    margin:
        6px 0 8px;

    display: grid;

    place-items: center;

    overflow: hidden;
}

.moto-image-box img {
    width: 92%;

    height: 100%;

    object-fit: contain;

    transition:
        transform 0.3s ease;
}

.moto-card:hover .moto-image-box img {
    transform:
        scale(1.04);
}


/* =========================================
   PREÇO
========================================= */

.installment-label {
    text-align: center;

    color: #666666;

    font-size: 13px;

    margin-top: 8px;
}

.installment-price {
    text-align: center;

    color: var(--red);

    font-size: 31px;

    line-height: 1.1;

    font-weight: 800;

    margin-top: 6px;
}

.installment-price small {
    font-size: 18px;
}

.insurance {
    text-align: center;

    color: #888888;

    font-size: 12px;

    margin-top: 9px;
}


/* =========================================
   BOTÃO SIMULAR
========================================= */

.simulate-button {
    width: 100%;

    border: 0;

    background: var(--red);

    color: #ffffff;

    padding:
        14px 18px;

    margin-top: 24px;

    border-radius: 2px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.simulate-button:hover {
    background:
        var(--red-dark);

    transform:
        translateY(-1px);
}


/* =========================================
   SEM RESULTADOS
========================================= */

.empty-state {
    display: none;

    text-align: center;

    padding:
        70px 20px;

    color: #777777;
}

.empty-state strong,
.empty-state span {
    display: block;
}

.empty-state span {
    margin-top: 8px;
}


/* =========================================
   CONTATO
========================================= */

.contact {
    background: #171717;

    color: #ffffff;

    padding:
        78px 20px;
}

.contact-inner {
    max-width: 1180px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.eyebrow.light {
    color: #ff4b66;
}

.contact h2 {
    margin-top: 10px;

    font-size: 34px;
}

.contact p {
    margin-top: 10px;

    color: #aaaaaa;
}

.contact-button {
    flex: 0 0 auto;

    background: var(--red);

    color: #ffffff;

    padding:
        17px 24px;

    border-radius: 4px;

    font-size: 12px;

    font-weight: 800;

    display: inline-flex;

    align-items: center;

    gap: 22px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.contact-button:hover {
    background:
        var(--red-dark);

    transform:
        translateY(-2px);
}

.contact-button span {
    font-size: 20px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #0e0e0e;

    color: #ffffff;

    padding:
        32px 20px;
}

.footer-inner {
    max-width: 1180px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-inner div {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.footer-inner strong {
    color: #ffffff;
}

.footer-inner span {
    color: #777777;

    font-size: 11px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .header-inner {
        padding:
            0 25px;
    }

    .main-nav {
        gap: 25px;
    }

    .cards-grid {
        grid-template-columns:
            repeat(2, minmax(0, 400px));

        justify-content: center;
    }

    .filter-bar {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .filter-item:nth-child(2) {
        border-right: 0;
    }

    .filter-item:nth-child(-n+2) {
        border-bottom:
            1px solid var(--line);
    }
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 700px) {

    .header-inner {
        min-height: 80px;

        grid-template-columns:
            70px 1fr 70px;

        padding:
            0 15px;
    }

    .brand img {
        width: 145px;
    }

    .client-button {
        width: 44px;

        height: 44px;

        padding: 0;

        justify-content: center;

        font-size: 0;
    }

    .main-nav {
        display: none;

        flex-direction: column;

        gap: 18px;

        padding:
            22px;
    }

    .main-nav.open {
        display: flex;
    }

    .hero {
        min-height: 570px;
    }

    .hero-content {
        padding:
            55px 22px 135px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 17px;
    }

    .filter-wrap {
        margin-top: -58px;

        padding:
            0 12px;
    }

    .filter-bar {
        grid-template-columns:
            1fr;
    }

    .filter-item {
        min-height: 83px;

        border-right: 0 !important;

        border-bottom:
            1px solid var(--line);
    }

    .filter-item:last-child {
        border-bottom: 0;
    }

    .catalog {
        padding:
            55px 14px 70px;
    }

    .catalog-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .cards-grid {
        grid-template-columns:
            1fr;

        justify-content: center;
    }

    .moto-card {
        max-width: 400px;

        margin: 0 auto;

        width: 100%;
    }

    .contact-inner,
    .footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .contact-button {
        width: 100%;

        justify-content: center;
    }
}