/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /*    --primary-color: #2563eb;*/
    /*    --primary-dark: #1e40af;*/

    --text-t: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);

    --primary-color: #6634a8;
    --primary-dark: #46286e;
    --secondary-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #b9b9b9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-search-box: 5px 2px 18px 0px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --wpp: #21c063;
    --grey: #9E9E9E;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 7px;
}

.row {
    flex-direction: row;
}

/* ===========================
   Header & Navigation
   =========================== */
/* Header */
.header {
    --header-height: 72px;
    width: 100%;
    background-color: #ffffff;
    background-color: var(--cor-menu, #ffffff) !important;
    background-image: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 1 !important;
}

.header .container,
.header .navbar {
    background-color: var(--cor-menu, #ffffff) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible;
}

body {
    padding-top: var(--header-height, 72px);
}

/* Container */
.header .container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 72px;
    flex-wrap: nowrap;
    padding: 0;
}

.navbar>div:first-child {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logoPrincipal {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu-desktop {
    display: flex;
}

.nav-menu-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .header .nav-menu.nav-menu-mobile {
        display: none !important;
        position: fixed;
        top: var(--header-height, 72px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 2rem 2rem;
        margin: 0;
        gap: 0;
        background: var(--cor-menu, #ffffff);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        z-index: 1200;
        list-style: none;
        max-height: calc(100vh - var(--header-height, 72px));
        overflow-y: auto;
    }

    .header .nav-menu.nav-menu-mobile.active {
        display: flex !important;
    }

    .header .nav-menu.nav-menu-mobile li {
        margin: 0;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .header .nav-menu.nav-menu-mobile li:last-child {
        border-bottom: none;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.a2 {
    padding-top: 8px;
}

.nav-menu a .dropdown:hover {
    color: var(--primary-color);
}

.dropdown:hover {
    color: var(--white);
}

/* Estilos do Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: #f1f1f1;
    height: 40px;
}

/* Adiciona seta para indicar dropdown */
.dropdown .dropbtn::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.5rem;
    transition: transform 0.3s;
    color: #f1f1f1;
}

.dropdown.active .dropbtn::after {
    transform: rotate(180deg);
    color: #f1f1f1;
}

/* Conteúdo do dropdown (escondido por padrão) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
}

/* Links dentro do dropdown */
.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

/* Hover nos links do dropdown */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

/* Mostra o dropdown no hover */
.dropdown.active .dropdown-content {
    /*    display: block;*/
    animation: fadeIn 0.3s;
}

/* Animação suave */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cor-links, var(--text-dark));
    cursor: pointer;
}

/* ===========================
   Hero Section
   =========================== 
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero.auto-height {
    height: auto;
    min-height: 400px;
}
   */

/* ===========================
   Buttons
   =========================== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===========================
   Search Section
   =========================== */
search-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.search-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-search-box);
    border: 2px;
}

.search-box h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

/* Grid responsivo do formulário */
.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
    align-items: end;
}

/* Grupos de filtros */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Inputs e selects */
.filter-group input,
.filter-group select,
.form-control {
    width: 100%;
    padding: 0.60rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.filter-group input:focus,
.filter-group select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.filter-group input::placeholder {
    color: #999;
    font-size: 0.9rem;
}

/* Range de anos (dois inputs lado a lado) */
.input-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-range input {
    flex: 1;
}

.input-range #uf {
    width: 110px;
}

.range-separator {
    color: var(--text-dark);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Botão de busca */
.filter-button {
    justify-content: flex-end;
}

.btn-search {
    width: 100%;
    padding: 0.75rem 2rem;
    background: var(--primary-color, #007bff);
    color: var(--white, #fff);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-search:hover {
    background: var(--primary-dark, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-search i {
    font-size: 1rem;
}

.btn-clear {
    width: 100%;
    padding: 0.75rem 2rem;
    background: var(--grey, #007bff);
    color: var(--white, #fff);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-clear:hover {
    background: #424242;
    /*    background: var(--primary-dark, #0056b3);*/
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-clear:active {
    transform: translateY(0);
}

.btn-clear i {
    font-size: 1rem;
}


@media (min-width: 769px) and (max-width: 1024px) {
    .filters-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .filters-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .filter-button {
        grid-column: span 1;
    }
}

/* ===========================
   Vehicles Section
   =========================== */
.vehicles-section {
    padding: 1.5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-t);
}

.section-title-secondary {
    font-size: 3.9rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-t);
}

.vehicle-count {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vehicle-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    /* cria contexto */
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vehicle-image {
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    object-position: center 25%;
}

.vehicle-info {
    padding-left: 1rem;
    /* padding: 1.5rem; */
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.vehicle-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.vehicle-brand {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.vehicle-year {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
}


.vehicle-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.8rem;
    text-overflow: ellipsis;
}

.spec-item i {
    color: var(--primary-color);
    margin-left: 7px;
    margin-right: 3px;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
}

.contact-btn {
    background: var(--wpp, #25d366) !important;
    color: #ffffff !important;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.contact-btn i,
.contact-btn:hover,
.contact-btn:hover i,
.contact-btn:focus,
.contact-btn:visited {
    color: #ffffff !important;
}

.contact-btn:hover {
    background: #1dab58 !important;
    transform: scale(1.05);
}

.loading {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 1rem;
    padding: 0.5rem 0;
}

.pagination .page-nav,
.pagination .page-num,
.pagination .page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: none;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    border-radius: 6px;
    box-sizing: border-box;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.pagination .page-nav {
    font-size: 1.25rem;
    font-weight: 400;
    min-width: 2rem;
    cursor: pointer;
}

.pagination .page-num {
    cursor: pointer;
}

.pagination .page-nav:hover,
.pagination .page-num:not(.active):hover {
    background: rgba(0, 0, 0, 0.06);
    opacity: 1;
}

.pagination .page-num.active {
    background: #1a1a1a;
    color: #ffffff;
    cursor: default;
    pointer-events: none;
}

.pagination .page-ellipsis {
    min-width: auto;
    padding: 0 0.15rem;
    letter-spacing: 1px;
    user-select: none;
    cursor: default;
}

.teste {
    font-size: medium;
    font-weight: 200;
    text-align: justify;
}

.teste2 {
    font-size: medium;
    font-weight: 200;
    text-align: justify;
    /*	max-width: 600px;*/
    /*	margin-left: auto;*/
    /*	margin-right: auto;*/
}

.teste3 {
    font-size: medium;
    font-weight: 200;
    text-align: left;
    /*	max-width: 600px;*/
    /*	margin-left: auto;*/
    /*	margin-right: auto;*/
}

.strong {
    font-size: medium;
    font-weight: 700;
}

/* ===========================
   About Section
   =========================== */
.about-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
    z-index: 0;
}

.page-content-wrap {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.contact-info a,
.contact-vendedor-wa,
.contact-vendedor-wa span {
    color: #000 !important;
    text-decoration: none;
}

.contact-info a:hover,
.contact-vendedor-wa:hover,
.contact-vendedor-wa:hover span {
    color: #000 !important;
    opacity: 0.75;
    text-decoration: none;
}

.contact-vendedor-nome {
    font-weight: 600;
    color: #000;
    font-size: 1rem;
}

.contact-vendedor-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.contact-vendedor-wa i {
    font-size: 1.25rem;
    color: var(--wpp);
}

.contact-map {
    margin-top: 1.5rem;
}

.contact-map-embed {
    margin-top: 0;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #000 !important;
    text-decoration: none;
    font-weight: 500;
}

.contact-map-link:hover {
    color: #000 !important;
    opacity: 0.75;
}

.contact-vendedor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-vendedor:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-vendedores {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3,
.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #000;
}

.contact-item p,
.contact-item p span {
    color: #333;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.venda-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    margin-top: 0.5rem;
}

.form-wpp input,
.form-wpp textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    transition: border-color 0.3s;
}

.form-wpp input:focus,
.form-wpp textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: #1f2937;
    background-color: var(--cor-rodape, #1f2937);
    color: #ffffff;
    color: var(--cor-texto-rodape, #ffffff);
    padding: 0;
    position: relative;
    z-index: 2;
    width: 100%;
    box-shadow: none !important;
    overflow: hidden;
    isolation: isolate;
}

.footer-main {
    padding: 48px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 10px;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.footer-list li i {
    width: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.footer-contact-list li,
.footer-social-list li {
    display: flex;
    align-items: flex-start;
}

.footer-contato-grupo>div {
    margin-bottom: 8px;
}

.footer-contato-nome {
    font-weight: 600;
}

.footer-contato-nome.mb-1 {
    margin-bottom: 6px;
}

.footer-enderecos-list {
    margin-top: 16px;
}

.tenant-contato-item {
    font-size: 0.9375rem;
}

.footer-list a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-list a:hover {
    opacity: 0.85;
}

.footer-menu-list a {
    display: inline-block;
}

.footer-extra {
    margin-top: 32px;
}

.footer-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-tags-list li {
    margin-bottom: 0;
}

.footer-hours {
    background: var(--secondary-color, #f59e0b);
    padding: 14px 24px;
    text-align: center;
}

.footer-hours p {
    margin: 0;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.5;
}

.footer-credits {
    background: #000;
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credits p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
}

.footer-credits p+p {
    margin-top: 6px;
}

.footer-wowcorp {
    color: #fff;
    text-decoration: none;
}

.footer-wowcorp strong {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.footer-wowcorp:hover {
    opacity: 0.85;
}

.footer-legal {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col-atendimento {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-main {
        padding: 36px 16px 24px;
    }

    .footer-hours p {
        font-size: 0.75rem;
    }
}

/* Legacy footer classes kept for compatibility */
.footer-content {
    display: none;
}

.footer-bottom {
    display: none;
}

.social-links {
    display: none;
}

/* ===========================
   Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-vehicle-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-vehicle-content {
    padding: 2rem;
}

.modal-vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-vehicle-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-vehicle-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.modal-spec {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-spec i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.modal-spec-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.modal-spec-info span {
    color: var(--text-light);
}

.modal-description {
    margin: 1.5rem 0;
}

.modal-description h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal-description p {
    color: var(--text-light);
    line-height: 1.8;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions button {
    flex: 1;
    padding: 15px;
    font-size: 1.1rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .header {
        background: var(--cor-menu, #fff) !important;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1201;
    }

    .nav-menu-desktop {
        display: none !important;
    }

    /* IMPORTANTE: use !important para sobrescrever */
    .nav-menu.active {
        display: flex !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-vehicle-image {
        height: 250px;
    }

    .modal-vehicle-header {
        flex-direction: column;
        align-items: start;
    }

    .modal-actions {
        flex-direction: column;
    }

    .hero-sobre {
        height: auto !important;
        min-height: 400px;
        overflow: visible !important;
        padding: 8rem 2rem 4rem;
    }

    .hero-sobre::before {
        display: none;
    }

    .hero-sobre .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-sobre .teste,
    .hero-sobre .teste2 {
        font-size: 0.95rem;
        text-align: justify;
        padding: 0 0.5rem;
    }

    .filters-form {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .search-box {
        padding: 1.5rem;
    }

    .input-range {
        flex-direction: row;
        align-items: stretch;
    }

    .input-range #uf {
        flex-direction: row;
        align-items: stretch;
        width: 110px;
    }

    .range-separator {
        text-align: center;
        padding: 0.25rem 0;
        margin-top: 6px;
        margin-top: 6px;
    }


    .hero-subtitle-secondary {
        font-size: 1rem !important;
        margin-bottom: 0px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
    }

    .section-title-secondary {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
        color: var(--text-t);
    }

    .contact-item {
        display: flex;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-sobre {
        padding: 5rem 1rem 2rem;
    }

    .hero-sobre .section-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .hero-sobre .teste,
    .hero-sobre .teste2 {
        font-size: 0.9rem;
        text-align: justify;
    }

    /* Reduz espaçamento entre seções em mobile */
    .hero-sobre br {
        display: none;
    }

    .hero-sobre p {
        margin-bottom: 1.5rem;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .vehicle-price {
        font-size: 1.5rem;
    }

    .modal-vehicle-title {
        font-size: 1.5rem;
    }

    .modal-vehicle-price {
        font-size: 2rem;
    }

    .detail-container {
        max-width: 1290px;
        margin: 0 auto;
        padding: 2rem;
    }

    .hero-subtitle-form-bottom {
        font-size: 0.65rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.q {
    display: none;
    /* Oculto por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Conteúdo do modal */
.q-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

/* Botão de fechar */
.cl {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cl:hover,
.cl:focus {
    color: #000;
}

.btn-wpp,
.btn-wpp i {
    color: #ffffff !important;
    background-color: var(--wpp);
}

.valor-antigo {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-size: 0.7rem;
}

.valor-novo {
    color: #27ae60;
    font-weight: bold;
    font-size: 1rem;
}

.img-wrapper {
    aspect-ratio: 4 / 3;
    border-radius: 12px 12px 0 0;
    background-repeat: no-repeat;
    background-position: center;

}

/* CASO "EM PREPARAÇÃO" */
/*.img-wrapper.preparacao {
    background-size: contain;   /* 🔥 não corta 
   background-color: #f1f1f1;    /* fundo uniforme 
  	object-fit: cover
} */

.img-wrapper.preparacao {
    background-size: 29em;
    background-color: #f1f1f1;
    aspect-ratio: 7 / 6;
}

.img-wrapper.preparacao img {
    background-size: 25em;
    background-color: #f1f1f1;
}

/* CASO FOTO REAL */
.img-wrapper.foto {
    background-size: cover;
    /* preenche tudo */
}

.tag-oferta {
    position: absolute;
    top: 18px;
    right: -40px;
    background: #cc1d23;
    color: #fff;
    padding: 6px 48px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
}

.tag-oferta {
    transition: transform 0.2s ease;
}

.vehicle-card:hover .tag-oferta {
    transform: rotate(45deg) scale(1.05);
}

.vehicle-location i {
    margin-right: 4px;
    font-size: 0.9rem;
    color: #999;
}

.vehicle-location {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}

.vehicle-location-card {
    color: #000;
}

.vehicle-location-card .company-name,
.vehicle-location-card .company-city,
.vehicle-location-card .company-city span,
.vehicle-location-card a {
    color: #000 !important;
}

.vehicle-location-card .company-city i {
    color: #666 !important;
}

.company-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vehicle-map-thumb {
    flex-shrink: 0;
    display: block;
    width: 96px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.advertiser-map-embed-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: #f5f5f5;
}

.advertiser-map-embed {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.vehicle-map-embed {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.vehicle-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
    font-size: 1.1rem;
}

.company-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.company-city {
    font-size: 0.75rem;
    font-weight: 400;
    color: #777;
}

.texto-cinza {
    font-size: 0.75rem;
    font-weight: 400;
    color: #777;
}

.hero-sobre {
    height: auto !important;
    min-height: 400px;
    overflow: visible !important;
    padding: 8rem 2rem 4rem;
}

.container-sobre {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

/* Ajusta espaçamento dos textos na página sobre */
.hero-sobre .teste,
.hero-sobre .teste2,
.hero-sobre .teste3 {
    max-width: 100%;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/*// teste*/

/* ===========================
   Navbar - Garantir que fique acima
   =========================== */
.navbar {
    position: relative;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    margin-top: 0;
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    /*    opacity: 0.5;*/
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle-secondary {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle-form {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.form-bottom {
    justify-items: center;
}

.hero-subtitle-form-bottom {
    font-size: 0.65rem;
    margin-left: auto;
    margin-right: auto;
}

.hero.auto-height {
    height: auto;
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ===========================
   Banner Carousel
   =========================== */

.carousel-slides {
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}


.banner-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

section#home.hero {
    width: 100%;
    overflow: hidden;
    transition: height 0.3s ease;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Controles do Carrossel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.9);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-control {
        padding: 0.5rem;
    }

    .carousel-control svg {
        width: 20px;
        height: 20px;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

/**/
.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin-top: 80px;
    flex-direction: column;
}

.error-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    position: relative;
}

.car-illustration {
    font-size: 120px;
    color: var(--primary-color);
    animation: shake 2s ease-in-out infinite;
}

.error-code {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.error-message {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary-custom {
    background: var(--primary-color);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.suggestions {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: var(--shadow);
}

.suggestions h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 20px;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.suggestions li {
    padding: 12px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestions li:last-child {
    border-bottom: none;
}

.suggestions li i {
    color: var(--primary-color);
    font-size: 18px;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px) rotate(-5deg);
    }

    75% {
        transform: translateX(10px) rotate(5deg);
    }
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-message {
        font-size: 16px;
    }

    .car-illustration {
        font-size: 80px;
    }

    .error-actions {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .error-container {
        padding: 20px 15px;
        margin-top: 60px;
    }

    .suggestions {
        padding: 20px;
    }
}

/* Grupos de filtros */
.grid-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grid-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Inputs e selects */
.grid-group input,
.grid-group select,
.form-control {
    width: 100%;
    padding: 0.60rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.grid-group input:focus,
.grid-group select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.grid-group input::placeholder {
    color: #999;
    font-size: 0.9rem;
}


.modal-overlay {
    display: none;
    inset: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
    justify-items: center;
}

/* quando ativo */
.modal-overlay.show {
    display: flex;
}

.modal-dialog {
    /* background: #fff; */
    max-width: 500px;
    width: 100%;
    /* border-radius: 4px; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); */
}

.modal-content {
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 10px 16px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.modal-footer {
    border-top: 1px solid #ddd;
    border-bottom: none;
    text-align: right;
    padding: 10px 16px;
}

.modal-body {
    padding: 16px;
}

.modal-title {
    font-size: 1.1rem;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
}

.btn-modal {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
}

.btn-contato {
    width: 100%;
    color: white;
}

#btnWhatsApp {
    background-color: var(--wpp) !important;
    color: #ffffff !important;
}

#btnWhatsApp i {
    color: #ffffff !important;
}

#btnWhatsApp:hover {
    background-color: #1dab58;
}

#btnContato {
    background-color: var(--grey);
}

#btnContato:hover {
    background-color: #818181;
}

/* Portal loading overlay */
.portal-loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
}

.portal-loading-overlay.active {
    display: flex;
}

.portal-loading-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    min-width: 260px;
    max-width: 90vw;
}

.portal-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary-color, #6634a8);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: portal-spin 0.8s linear infinite;
}

.portal-loading-content p {
    margin: 0;
    color: #374151;
    font-weight: 500;
}

@keyframes portal-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Botão flutuante WhatsApp — logo oficial */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-float-icon {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
}

.whatsapp-float-pulse {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #25d366;
    z-index: 1;
    animation: whatsapp-pulse 2s ease-out infinite;
    pointer-events: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    transform: translateY(-3px) scale(1.07);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
    outline: none;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }

    70% {
        transform: scale(1.65);
        opacity: 0;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        right: 0.9rem;
        bottom: 0.9rem;
        width: 56px;
        height: 56px;
    }
}


/* ===========================================================
   HOME — Seções novas: Destaques / Lojas Parceiras / Bancos
   Depende das variáveis já definidas em styles.css
   (--primary-color, --primary-dark, --text-dark, --text-light,
    --bg-light, --white, --border-color, --shadow, --shadow-lg)
   Basta linkar este arquivo DEPOIS do styles.css principal.
   =========================================================== */

/* --- Cabeçalho de seção, com "Ver mais" alinhado à direita --- */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-items: center;
}

.section-title-carousel {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

/* --- Seções --- */
.destaques-section,
.lojas-section {
    padding: 3rem 0;
}

.lojas-section {
    background: var(--bg-light);
}

.bancos-section {
    padding: 3rem 0 3.5rem;
    background: var(--white);
}

.bancos-section .container {
    margin-bottom: 1.75rem;
}

.bancos-section .section-title-carousel {
    text-align: center;
    width: 100%;
}

/* ===========================================================
   Estrutura genérica de carrossel (setas + trilho com scroll-snap)
   Usada em "Destaques" e "Lojas Parceiras"
   =========================================================== */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem;
    flex: 1;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge legado */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
}

.carousel-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
        /* em telas menores o usuário rola com o dedo */
    }
}

/* --- Cards de veículos dentro do carrossel (reaproveita .vehicle-card) --- */
.carousel-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.carousel-item .vehicle-card {
    height: 100%;
}

/* Card final "Ver mais +" — alternativa opcional ao botão do cabeçalho.
   Não está em uso no home.html por padrão; fica pronto caso queiram trocar. */
.ver-mais-card {
    flex: 0 0 200px;
}

.ver-mais-card-link {
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    background: var(--bg-light);
    transition: all 0.25s ease;
}

.ver-mais-card-link:hover {
    border-color: var(--primary-color);
    background: var(--white);
    transform: translateY(-5px);
}

.ver-mais-icon {
    font-size: 1.6rem;
}

/* ===========================================================
   Cards de lojas parceiras
   =========================================================== */
.loja-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.25s ease;
    width: 300px;
}

.loja-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.loja-logo-wrap {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.loja-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loja-nome {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.loja-cidade {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.loja-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    background: var(--cor-botoes);
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.25s ease;
}

.loja-btn:hover {
    transform: translateY(-2px);
}

.loja-parceira-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
	margin: 0 1rem 1rem;
}

.loja-parceira-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

 .loja-parceira-specs {
    font-size: small;
 }

 .loja-parceira-no-wrap {
    width: 220px;
    margin: 0 1rem 1rem;
 }

/* ===========================================================
   Carrossel infinito de bancos parceiros (logo marquee, 100% CSS)
   =========================================================== */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex: 0 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-item img {
    height: 44px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

    /* a 2ª cópia da lista assume o lugar da 1ª, sem "salto" */
}

/* Respeita quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* ===========================================================
   Responsivo
   =========================================================== */
@media (max-width: 768px) {
    .marquee-track {
        animation-duration: 18s;
    }

    .marquee-item {
        padding: 0 1.5rem;
    }

    .marquee-item img {
        height: 34px;
        max-width: 100px;
    }

    .carousel-item {
        flex: 0 0 240px;
    }

    .loja-card {
        flex: 0 0 180px;
    }
}

@media (max-width: 480px) {
    .section-title-carousel {
        font-size: 1.4rem;
    }

    .carousel-item {
        flex: 0 0 210px;
    }
}

.more-card-item {
    display: flex;
    align-items: stretch;
    min-height: 100%;
}

.more-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 390px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
	
}
/*
linear-gradient(135deg, rgba(12, 31, 58, 0.96), rgba(13, 93, 105, 0.92)),
        url('/imagens/carro_em_preparacao.jpeg') center / cover;
*/
.more-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    transform: scale(1);
    transition: transform 0.3s ease, border-color 0.3s ease;

	border-color: rgb(255 255 255);
}

.more-card-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, transparent 0 30%, rgba(0, 0, 0, 0.22) 100%);
}

.more-card-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.more-card-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin-bottom: 7px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, background 0.25s ease;
}

.more-card-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.more-card-subtitle {
    max-width: 210px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.more-card:hover,
.more-card:focus-visible {
    outline: none;
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.more-card:hover::before,
.more-card:focus-visible::before {
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.18);
}

.more-card:hover .more-card-icon,
.more-card:focus-visible .more-card-icon {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 576px) {
    .more-card {
        min-height: 330px;
    }
}

.gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-container {
    position: relative;
}

.gallery-slides {
    display: flex;
    overflow: hidden;
}

.gallery-slide {
    min-width: 100%;
    display: none;
}

.gallery-slide.active {
    display: block;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    padding: 12px 8px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.gallery-control:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-control.prev {
    left: 10px;
}

.gallery-control.next {
    right: 10px;
}

.gallery-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-indicators .indicator.active {
    background: #fff;
    transform: scale(1.2);
}

.lojas-section {
    padding: 48px 0;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;

}

.section-title-carousel {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* ---------- Wrapper + setas ---------- */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-arrow {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    background: #fff;
    color: #333;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
    background: #f2f2f2;
    transform: scale(1.05);
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* ---------- Card da loja ---------- */
.loja-card {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.loja-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.loja-logo-wrap {
    width: 150px;
    height: 150px;
    margin-bottom: 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    display: grid;
    place-items: center;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.loja-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loja-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
}

.loja-nome {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
}

.loja-cidade {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #777;
}

/* ---------- Botão "Ver estoque" ---------- */
/* .loja-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #0d5d69;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.loja-btn:hover {
    background: #0a4a53;
    transform: translateY(-2px);
    color: #fff;
} */

.loja-cidade {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #777;
}

.loja-contato {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 576px) {
    .loja-card {
        width: 300px;
        padding: 20px 12px;
    }

    .loja-logo-wrap {
        width: 150px;
        height: 150px;
    }
}