/* ===========================
   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;
}

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;
}

.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(--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;
    
	/* TODO*/
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    height: 90px;
}

.spec-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.8rem;
}

.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;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-link {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.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 {
    color: var(--cor-links, var(--primary-color));
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.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-vendedor-nome {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-vendedor-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-links, var(--primary-color));
    text-decoration: none;
    font-weight: 500;
}

.contact-vendedor-wa i {
    font-size: 1.25rem;
    color: var(--wpp);
}

.contact-vendedor-wa:hover {
    text-decoration: underline;
}

.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: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    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: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }
	
	.nav-menu-mobile.active {
	    display: flex !important;
	}

	.nav-menu-mobile a {
	    color: var(--primary-color);
	}

	.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;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        /* Altura do header */
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    /* Classe que será adicionada pelo JavaScript */
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Ícone do botão muda quando menu está aberto */
    .mobile-menu-toggle.active i::before {
        content: "\f00d";
        /* Font Awesome 'times' icon */
    }

    .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;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        /* Altura do header */
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    /* Classe que será adicionada pelo JavaScript */
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Ícone do botão muda quando menu está aberto */
    .mobile-menu-toggle.active i::before {
        content: "\f00d";
        /* Font Awesome 'times' icon */
    }
	
	.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;
}

.valor-novo {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.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;
}

.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: white;
    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); }
}