
:root {
    --navy: #101b2d;
    --navy-light: #1c2c43;
    --yellow: #ffc629;
    --background: #f5f6f8;
    --text: #182334;
    --muted: #687487;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    min-height: 76px;
    padding: 15px 7%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    color: var(--navy);
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 17px;
}

.yellow {
    color: var(--yellow);
}

.header nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #d8deea;
}

.header nav a:hover {
    color: var(--yellow);
}

.header-button,
.seller-button {
    background: var(--yellow);
    color: var(--navy);
    padding: 14px 20px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 14px;
}

.hero {
    background: linear-gradient(115deg, #101b2d, #253b56);
    color: white;
    padding: 85px 8%;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
    gap: 55px;
    min-height: 520px;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    display: block;
    color: #c28e0a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero .eyebrow {
    color: var(--yellow);
}

.hero h1 {
    font-size: clamp(35px, 4.5vw, 58px);
    line-height: 1.12;
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-content > p {
    color: #d0d8e4;
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 32px;
}

.search-box {
    background: white;
    border-radius: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 10px;
}

.search-field {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.search-field label {
    font-size: 11px;
    font-weight: bold;
    color: var(--navy);
}

.search-field input,
.search-field select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 13px;
    color: #455166;
    background: white;
    min-width: 0;
}

.search-box button {
    border: none;
    background: var(--yellow);
    color: var(--navy);
    font-weight: bold;
    padding: 0 20px;
    border-radius: 7px;
    cursor: pointer;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    color: #d0d8e4;
    font-size: 12px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 340px;
    min-height: 350px;
    padding: 32px;
    border: 1px solid #627187;
    border-radius: 16px;
    background: linear-gradient(145deg, #344963, #152337);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 25px 50px #0004;
}

.visual-label,
.visual-bottom {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--yellow);
    font-weight: bold;
}

.visual-icon {
    font-size: 95px;
    margin: 25px 0;
}

.visual-card h2 {
    font-size: 24px;
    line-height: 1.3;
}

.visual-card p {
    color: #c7d1df;
    font-size: 13px;
    margin-top: 12px;
}

.visual-line {
    height: 3px;
    width: 65px;
    background: var(--yellow);
    margin: 25px auto;
}

.section {
    padding: 75px 8%;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.section-heading h2,
.how-section > h2 {
    font-size: 30px;
    color: var(--navy);
}

.section-description {
    color: var(--muted);
    font-size: 13px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-card {
    padding: 25px;
    background: white;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: .2s;
}

.category-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #14223812;
}

.category-card > span {
    font-size: 32px;
}

.category-card strong {
    font-size: 16px;
    color: var(--navy);
}

.category-card small {
    color: var(--muted);
    font-size: 12px;
}

.listings {
    background: white;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.listing-card {
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: .2s;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px #14223812;
}

.product-image {
    height: 190px;
    display: grid;
    place-items: center;
    position: relative;
    font-size: 65px;
    background: #e9edf3;
}

.gearbox-image {
    background: #e5e9ee;
}

.light-image {
    background: #f0eee8;
}

.cabin-image {
    background: #e6edf0;
}

.demo-label {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 9px;
    font-weight: bold;
    padding: 6px 8px;
    border-radius: 4px;
    color: var(--navy);
    background: var(--yellow);
}

.listing-info {
    padding: 20px;
}

.product-category {
    font-size: 10px;
    color: #a47b16;
    font-weight: bold;
    letter-spacing: 1px;
}

.listing-info h3 {
    margin: 10px 0;
    font-size: 17px;
}

.listing-info p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 16px;
}

.listing-info > strong {
    display: block;
    font-size: 15px;
    margin-bottom: 15px;
}

.contact-button {
    border: none;
    width: 100%;
    padding: 12px;
    background: var(--navy);
    color: white;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.empty-message {
    text-align: center;
    padding: 35px;
    color: var(--muted);
}

.seller-section {
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.seller-section .eyebrow {
    color: #6c500a;
}

.seller-section h2 {
    max-width: 620px;
    font-size: 34px;
    color: var(--navy);
    margin-bottom: 15px;
}

.seller-section p {
    max-width: 620px;
    line-height: 1.7;
    color: #39404a;
}

.seller-button {
    background: var(--navy);
    color: white;
    white-space: nowrap;
}

.how-section {
    text-align: center;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.how-grid > div {
    background: white;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    padding: 28px;
}

.how-grid > div > span {
    font-size: 30px;
    color: #c28e0a;
    font-weight: 900;
}

.how-grid h3 {
    margin: 15px 0 10px;
    color: var(--navy);
}

.how-grid p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.footer {
    background: var(--navy);
    padding: 45px 8%;
    color: white;
}

.footer p {
    margin: 20px 0;
    color: #c0cada;
    font-size: 13px;
}

.footer small {
    color: #8795a9;
    font-size: 11px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 14px 5%;
    }

    .logo {
        font-size: 14px;
    }

    .header-button {
        font-size: 11px;
        padding: 12px;
    }

    .hero {
        padding: 55px 6%;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .search-box button {
        min-height: 48px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 10px;
    }

    .section {
        padding: 55px 6%;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        padding: 17px;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .seller-section {
        flex-direction: column;
        align-items: start;
    }

    .seller-section h2 {
        font-size: 27px;
    }

    .seller-button {
        white-space: normal;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }
}

.header-actions { display: flex; align-items: center; gap: 18px; color: #fff; font-size: 13px; }
.header-actions a { color: inherit; text-decoration: none; }
.header-actions a:hover { color: var(--yellow); }
.listings-home { background: #fff; }
.seller-section { background: var(--yellow); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.seller-section h2 { color: var(--navy); font-size: 32px; margin: 8px 0 12px; }
.seller-section p { color: #39404a; line-height: 1.7; max-width: 650px; }
.seller-section .eyebrow { color: #6c500a; }
.seller-section .seller-button { background: var(--navy); color: #fff; white-space: nowrap; }
.footer { background: var(--navy); color: #fff; padding: 42px 8%; }
.footer p { color: #c0cada; margin: 18px 0; font-size: 13px; }
.footer small { color: #8795a9; font-size: 11px; }
@media(max-width: 850px) { .hero { grid-template-columns: 1fr; } .hero-visual { display: none; } .header nav { display: none; } }
@media(max-width: 600px) { .header { padding: 14px 5%; } .header-actions { gap: 10px; font-size: 12px; } .seller-section { flex-direction: column; align-items: flex-start; } .seller-section h2 { font-size: 26px; } .seller-section .seller-button { white-space: normal; } }


/* ===== Melhorias visuais ===== */
.header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px #0003; }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.header-actions a:not(.header-button):hover { color: var(--yellow); }
.header-button:hover, .seller-button:hover { filter: brightness(.94); }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, #ffc62926, transparent 45%); pointer-events: none; }
.hero > * { position: relative; }
.search-box { box-shadow: 0 18px 40px #0005; }
.search-box button { font-size: 15px; transition: filter .15s; }
.search-box button:hover { filter: brightness(.94); }
.search-box input:focus { outline: none; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step { background: #fff; border: 1px solid #e7eaf0; border-radius: 12px; padding: 28px; }
.how-step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-weight: 900; margin-bottom: 16px; }
.how-step h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.listings-home { background: #fff; }
@media (max-width: 860px) {
    .header { padding: 12px 5%; min-height: 64px; }
    .header nav { display: none; }
    .hero { grid-template-columns: 1fr; padding: 48px 6%; min-height: 0; gap: 0; }
    .hero-visual { display: none; }
    .search-box { grid-template-columns: 1fr; }
    .search-box button { padding: 14px; }
    .section { padding: 48px 6%; }
    .section-heading { flex-direction: column; align-items: flex-start; }
    .category-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: 1fr; }
    .seller-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 520px) {
    .category-grid { grid-template-columns: 1fr; }
    .header-actions { gap: 10px; font-size: 13px; }
    .header-button { padding: 10px 14px; }
    .logo { font-size: 15px; }
    .hero-benefits { gap: 8px 16px; }
}
