@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #1f1f1f;
    line-height: 1.6;
}

img {
    max-height: ;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

header {
    background: #000000;
    position: relative;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ========================= */
/* MENU HAMBURGUER */
/* ========================= */

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:6px;

    width:42px;
    height:42px;

    background:none;
    border:none;
    cursor:pointer;
    z-index:1001;
}

.hamburger span{
    width:30px;
    height:3px;
    background:#fff;
    border-radius:10px;
    transition:.3s;
}

/* Animação */

.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(6px,6px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(7px,-7px);
}


.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px; /* ← era 50px, reduzi para aproximar os dois */
}

.nav-links {
    display: flex;
    flex-direction: row; /* ← links lado a lado horizontalmente */
    align-items: center;
    gap: 6px;
    height: auto; /* ← remove o 48px fixo */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-contact-links {
    display: flex;
    flex-direction: row; /* ← contatos lado a lado */
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-wrap {
    padding: 16px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 8px 0;
}

.brand img {
    height: 150px;
}

.nav-links a,
.nav-contact-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
}

.nav-contact-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-contact-links a:hover {
    color: #f7d56d;
}

.nav-contact-links img {
    width: 18px;
    height: 18px;
}



.search-bar input{
    width: 50%;
    margin-left: 0px;
    margin-bottom: 15px;
    color: #0c1427;
    text-decoration: none;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.search-bar input:focus{
    border: 0px;
    outline: none;
}

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(12, 20, 39, 0.15), rgba(12, 20, 39, 0.15));
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
    padding: 56px 0 24px;
}

.hero-stats {
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
}

.hero-text h1 {
    color: #fff;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 16px;
}

.eyebrow {
    color: #D4A437;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-description {
    color: #eef2ff;
    max-width: 520px;
    margin-bottom: 20px;
}

.hero-banner img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.stats-section {
    background: #0f172a;
    padding: 14px 0;
}

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

.stat-card {
    background: #000000;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #D4A437;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 96px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.stat-icon-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7d56d;
    border-radius: 999px;
    flex: 0 0 auto;
}

.stat-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.stat-card strong {
    display: block;
    color: #f7d56d;
    font-size: 1.5rem;
    line-height: 1.1;
}

.stat-card span:last-child {
    display: block;
    text-align: left;
}

.section {
    padding: 56px 0;
    background: #000000;
}

.section-alt {
    background: #000000;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    color: #ffffff;
}

.section-title-light {
    color: #ffffff;
}

.section-title-gold {
    color: #b8860b;
}

.section-header a {
    color: #b8860b;
    font-weight: 700;
    text-decoration: none;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
}

.car-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.car-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.car-card-body {
    padding: 18px;
}

.car-card-brand {
    color: #b8860b;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f7d56d;
    color: #0c1427;
    text-decoration: none;
    padding: 12px 18px;
    border: 1px solid #f7d56d;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    background: #D4A437;
    border-color: #D4A437;
    box-shadow: 0 8px 18px rgba(212, 164, 55, 0.35);
    transform: translateY(-1px);
}

.button-secondary {
    background: transparent;
    color: #0c1427;
    border: 1px solid #c9ccd6;
    margin-top: 12px;
}

.button-secondary:hover {
    background: #0c1427;
    border-color: #0c1427;
    color: #fff;
    box-shadow: none;
}

.detail-cta {
    width: 100%;
    margin-top: 18px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #0c1427 0%, #1b2540 100%);
    color: #f7d56d;
    border: 1px solid #f7d56d;
    border-radius: 12px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(12, 20, 39, 0.25);
}

.detail-cta img {
    width: 22px;
    height: 22px;
}

.detail-cta:hover {
    background: #f7d56d;
    color: #0c1427;
    border-color: #f7d56d;
    box-shadow: 0 12px 28px rgba(247, 213, 109, 0.45);
    transform: translateY(-2px);
}

.detail-cta:hover img {
    filter: brightness(0) saturate(100%);
}

.sales-list {
    display: grid;
    gap: 12px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.78);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f6f7fb 100%);
    border: 1px solid #f7d56d;
    border-top: 4px solid #f7d56d;
    border-radius: 18px;
    padding: 26px 24px 24px;
    width: min(440px, 100%);
    box-shadow: 0 24px 55px rgba(6, 10, 20, 0.45);
    animation: modalPop 0.22s ease;
}

@keyframes modalPop {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.modal-eyebrow {
    color: #b8860b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.modal-header h3 {
    color: #0c1427;
}

.modal-close {
    border: none;
    background: #f7d56d;
    color: #0c1427;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.modal-close:hover {
    background: #D4A437;
    transform: rotate(90deg);
}

.lead-info {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-left: 3px solid #f7d56d;
    background: rgba(247, 213, 109, 0.12);
    border-radius: 8px;
    color: #0c1427;
    font-weight: 600;
}

.lead-form {
    display: grid;
    gap: 12px;
}

.lead-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f1f1f;
}

.lead-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
}

.lead-form input:focus {
    outline: 2px solid rgba(247, 213, 109, 0.35);
    border-color: #f7d56d;
}

.lead-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.lead-message {
    min-height: 20px;
    font-size: 0.95rem;
}

.lead-message.success {
    color: #166534;
    font-weight: 600;
}

.lead-message.error {
    color: #b91c1c;
    font-weight: 600;
}

.sale-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 16px;
    border-radius: 10px;
}

footer {
    background: #fff;
    color: #000000;
    padding: 36px 0 18px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(209, 208, 208, 0.1);
    padding-top: 14px;
    text-align: center;
}

.card-page {
    padding: 48px 0;
    background: #000000;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb.is-active {
    border-color: #f7d56d;
}

.detail-panel {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
}

.detail-price {
    color: #b8860b;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 8px 0 16px;
}

.detail-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.detail-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #eef1f6;
}

.detail-description h3 {
    margin: 12px 0 6px;
}

.detail-description p {
    color: #333;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;

}

.table th, .table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.about-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.about-card {
    background: #fff;
    padding: 36px;
    border-radius: 0;
    box-shadow: none;
}

.about-card-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-layout {
    display: flex;
    align-items: stretch;
    gap: 22px;
}

.about-text-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-card-image {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.about-topic {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
    align-items: flex-start;
}

.about-topic-reverse {
    grid-template-columns: 1fr 90px;
}

.about-topic-text h3 {
    color: #0c1427;
    margin-bottom: 8px;
}

.about-topic-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

.about-topic-reverse .about-topic-icon {
    justify-content: flex-end;
}

.about-topic-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.about-card h2,
.about-card h3 {
    color: #0c1427;
    margin-bottom: 0;
}

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

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

    header {
        position: relative; /* ← remove o sticky */
    }
     .brand img{
        height: 100px;
    }
    .search-bar input {
        width: 70%;
    }

    .navbar {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        height: auto;  /* ← corrige o height: 48px fixo que causava a sobreposição */
    }

    .nav-contact-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .nav-links a {
        height: auto;
        padding: 6px 16px;
    }

    .nav-contact-links a {
        justify-content: center;
    }
     .hamburger{
        display:flex;
    }

    .nav-menu{

        position:absolute;
        top:100%;
        left:0;

        width:100%;

        background:#000;

        flex-direction:column;

        padding:30px;

        display:none;
    }

    .nav-menu.active{
        display:flex;
    }

    .nav-links,
    .nav-contact-links{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }
    
}

@media (max-width: 480px) {
    

    .search-bar input{
        width: 90%;
    }
    .nav-menu {
        gap: 20px;
    }

    .nav-links, .nav-contact-links {
        gap: 12px;
    }

    .nav-links a, .nav-contact-links a {
        font-size: 0.9rem;
    }
    .brand img{
        height: 80px;
    }
    .car-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
}


