/*
Theme Name: XS Multimarcas Expert
Theme URI: https://xsmultimarcas.com.br
Description: Tema premium e moderno otimizado para alta conversão de leads e carregamento rápido para concessionárias de veículos.
Author: Antigravity AI
Version: 2.0.0
*/

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

:root {
    /* Paleta de Cores Premium */
    --brand-blue: #0052FF;
    --brand-blue-hover: #003ECC;
    --brand-cyan: #00D2FF;
    --brand-dark: #0A0F1D;
    --brand-dark-card: #141B2D;
    --brand-red: #EA0630;
    --brand-red-hover: #C50424;
    --brand-green: #25D366;
    --brand-green-hover: #1EBE57;
    
    /* Neutros */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    /* Outros */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(10, 15, 29, 0.05);
    --shadow-lg: 0 20px 40px rgba(10, 15, 29, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Estrutura Básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--brand-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 1. HEADER PROFISSIONAL E STICKY */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    position: relative;
}

.logo-wrapper img {
    height: 48px;
    width: auto;
    display: block;
}

/* Menu de Navegação */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--brand-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-wa {
    background: var(--brand-green);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-header-wa:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Menu Mobile Hamburguer */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--brand-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* 2. BOTÕES PREMIUM & AÇÕES */
.btn-primary {
    background: var(--brand-blue);
    color: var(--bg-white);
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.2);
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 255, 0.3);
}

.btn-accent {
    background: var(--brand-red);
    color: var(--bg-white);
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(234, 6, 48, 0.2);
}

.btn-accent:hover {
    background: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 6, 48, 0.3);
}

.btn-whatsapp {
    background: var(--brand-green);
    color: var(--bg-white);
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--brand-dark);
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--brand-dark);
    background: rgba(10, 15, 29, 0.02);
    transform: translateY(-2px);
}

/* 3. HERO & CAPTURA RÁPIDA (HOME) */
.hero-section {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #17223b 100%);
    color: white;
    padding: 95px 0 75px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    border-bottom: 4px solid var(--brand-blue);
}

/* Marca d'água do logotipo no fundo */
.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 600px;
    height: 80%;
    transform: translate(-50%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12; /* Aumentado de 6% para 12% para tornar o logotipo mais visível */
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94A3B8;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

/* Grid de Carros */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--brand-blue);
    border-radius: 2px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.cars-grid > * {
    min-width: 0;
}

/* 4. CAR CARDS E INTEGRACAO SWIPER */
.car-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.2);
}

/* Swiper Container em Cards */
.car-card .card-gallery-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.car-card .swiper {
    width: 100%;
    height: 100%;
}

.car-card .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

/* Overlay do Card */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    z-index: 10;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-badge.badge-destaque {
    background: var(--brand-red);
}

.card-badge.visto {
    background: rgba(0, 82, 255, 0.95); /* Azul Premium */
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.3);
}

/* Swiper Navigation Customizada no Card */
.car-card .swiper-button-next,
.car-card .swiper-button-prev {
    color: white !important;
    background: rgba(10, 15, 29, 0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    opacity: 0;
}

.car-card:hover .swiper-button-next,
.car-card:hover .swiper-button-prev {
    opacity: 1;
}

.car-card .swiper-button-next:after,
.car-card .swiper-button-prev:after {
    font-size: 12px !important;
    font-weight: bold;
}

.car-card .swiper-button-next:hover,
.car-card .swiper-button-prev:hover {
    background: var(--brand-blue);
}

.car-card .swiper-pagination-bullet-active {
    background: var(--brand-blue) !important;
}

.car-card .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

/* Detalhes do Card */
.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Grid de Especificacoes Técnicas */
.card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-item i {
    font-size: 0.9rem;
    color: var(--brand-blue);
    width: 16px;
    text-align: center;
}

/* Preço e Botão */
.card-price-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.card-actions .btn-details {
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
}

.card-actions .btn-details:hover {
    border-color: var(--brand-dark);
    background: var(--bg-light);
}

.card-actions .btn-lead {
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    background: var(--brand-blue);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.15);
}

.card-actions .btn-lead:hover {
    background: var(--brand-blue-hover);
    box-shadow: 0 6px 15px rgba(0, 82, 255, 0.25);
    transform: translateY(-1px);
}

/* 5. SINGLE VEICULO (PAGINA DO DETALHE) */
.single-veiculo-container {
    padding: 40px 0 80px 0;
}

.single-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: start;
}

.single-grid > div {
    min-width: 0;
}

/* Galeria Swiper Interna */
.single-gallery-container {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.single-veiculo-container .swiper-main {
    width: 100%;
    height: 480px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.single-veiculo-container .swiper-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-veiculo-container .swiper-button-next,
.single-veiculo-container .swiper-button-prev {
    color: white;
    background: rgba(10, 15, 29, 0.6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
}

.single-veiculo-container .swiper-button-next:after,
.single-veiculo-container .swiper-button-prev:after {
    font-size: 18px !important;
}

/* Ficha Técnica Detalhada */
.details-panel {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.single-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--brand-dark);
}

.single-brand {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.single-price-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, #edf2f7 100%);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 25px;
    border-left: 5px solid var(--brand-blue);
}

.single-price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.single-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
}

.specs-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.spec-detailed-item {
    background: var(--bg-light);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
}

.spec-detailed-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.spec-detailed-value {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 0.95rem;
}

/* Sidebar Lead Card */
.lead-sidebar-card {
    background: var(--brand-dark);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lead-sidebar-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.lead-sidebar-card p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.lead-form-inline .form-group {
    margin-bottom: 15px;
}

.lead-form-inline label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 5px;
}

.lead-form-inline input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.lead-form-inline input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    background: rgba(255, 255, 255, 0.15);
}

.lead-form-inline .btn-submit-lead {
    width: 100%;
    margin-top: 10px;
}

.single-description {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.single-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

/* 6. MODAL DE CAPTURA DE LEADS (MÁQUINA DE LEADS) */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 20, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lead-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lead-modal {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 35px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-modal-overlay.active .lead-modal {
    transform: translateY(0);
}

.lead-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.lead-modal-close:hover {
    background: var(--brand-red);
    color: white;
}

.lead-modal-header {
    margin-bottom: 25px;
}

.lead-modal-header h3 {
    font-size: 1.5rem;
    color: var(--brand-dark);
    margin-bottom: 5px;
}

.lead-modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.lead-modal-vehicle-box {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-vehicle-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.modal-vehicle-price {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 1.15rem;
}

.lead-modal-form .form-group {
    margin-bottom: 18px;
}

.lead-modal-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-modal-form input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.lead-modal-form input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.lead-modal-form .btn-submit {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
}

.form-status-msg {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
}

.form-status-msg.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
    display: block;
}

.form-status-msg.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
    display: block;
}

/* 7. FOOTER MODERNO */
.site-footer {
    background: var(--brand-dark);
    color: white;
    padding: 60px 0 30px 0;
    border-top: 5px solid var(--brand-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--brand-blue);
}

.footer-about img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--brand-blue);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--brand-cyan);
    font-size: 1rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.8rem;
    color: #64748B;
}

/* 8. RESPONSIVIDADE E BOTÕES FIXOS */
.btn-whatsapp-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--brand-green);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    color: white !important;
    font-size: 1.8rem;
}

.btn-whatsapp-floating:hover {
    background: var(--brand-green-hover);
    transform: scale(1.1);
}

.btn-whatsapp-floating::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--brand-green);
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Oculta o botão flutuante apenas nas páginas internas de veículo para evitar conflito com a barra fixa */
.single-veiculo .btn-whatsapp-floating {
    display: none !important;
}

/* Barra Fixa Mobile */
.mobile-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 12px 20px;
    display: none;
    z-index: 90;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.mobile-fixed-cta .btn-accent {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
}

/* Estilos de responsividade */
@media (max-width: 992px) {
    .single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Menu mobile hambúrguer */
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        z-index: 105;
        border-top: 1px solid var(--border-color);
        gap: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-gallery-container .swiper-main {
        height: 300px;
    }
    
    .single-veiculo-container {
        padding-bottom: 120px; /* Para não cobrir a barra fixa */
    }
    
    .mobile-fixed-cta {
        display: block;
    }
}

/* 9. FILTROS DO ESTOQUE */
.btn-filter-toggle {
    display: none;
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-md);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-filter-toggle:hover {
    background: var(--bg-light);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.filter-container {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: end;
}

/* Em telas de desktop (> 1024px), tudo fica alinhado em linha única */
@media (min-width: 1025px) {
    .filter-form {
        grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.2fr 1.5fr;
    }
}

/* Em tablets (769px a 1024px), dividimos em duas colunas com busca inteira */
@media (max-width: 1024px) and (min-width: 769px) {
    .filter-form {
        grid-template-columns: 1fr 1fr;
    }
    .filter-form .search-group {
        grid-column: span 2;
    }
    .filter-form .actions-group {
        grid-column: span 2;
    }
}

/* Em celulares (<= 768px), o botão de toggle aparece e esconde os filtros por padrão */
@media (max-width: 768px) {
    .btn-filter-toggle {
        display: inline-flex;
    }
    
    .filter-container {
        display: none;
        padding: 20px;
        margin-bottom: 30px;
        animation: filterSlideDown 0.3s ease-out forwards;
    }
    
    .filter-container.active {
        display: block !important;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }
}

@keyframes filterSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-dark);
    letter-spacing: 0.5px;
}

.filter-control {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 15px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.filter-control[type="text"] {
    background-image: none;
    background-color: var(--bg-white);
}

.filter-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.btn-filter {
    flex-grow: 1;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--brand-blue);
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.15);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-filter:hover {
    background: var(--brand-blue-hover);
    box-shadow: 0 6px 15px rgba(0, 82, 255, 0.25);
    transform: translateY(-1px);
}

.btn-reset-filter {
    padding: 11px 15px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reset-filter:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background: rgba(234, 6, 48, 0.02);
}

/* 10. SPINNER DE CARREGAMENTO DO SCROLL INFINITO */
.infinite-scroll-loading {
    padding: 30px 0;
}

.infinite-scroll-loading .spinner {
    width: 38px;
    height: 38px;
    border: 4px solid var(--border-color);
    border-top-color: var(--brand-blue);
    border-radius: 50%;
    margin: 0 auto;
    animation: infiniteScrollSpin 0.8s linear infinite;
}

@keyframes infiniteScrollSpin {
    to {
        transform: rotate(360deg);
    }
}

/* 11. COOKIE CONSENT BANNER (LGPD PREPARATION) */
.cookie-consent-banner {
    position: fixed;
    bottom: 25px;
    left: 25px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(10, 15, 29, 0.06);
    color: var(--text-dark);
    z-index: 99999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.cookie-consent-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-consent-content h3 {
    color: var(--brand-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-content h3 i {
    font-size: 1.15rem;
}

.cookie-consent-content p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 18px 0;
}

.cookie-consent-content p a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 82, 255, 0.2);
    transition: var(--transition);
}

.cookie-consent-content p a:hover {
    color: var(--brand-blue-hover);
    border-bottom-color: var(--brand-blue-hover);
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-consent-buttons button {
    flex: 1;
    padding: 10px 18px;
    border-radius: 100px; /* Pill-shaped moderno */
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn-accept {
    background: var(--brand-dark);
    color: #fff;
    border: 1px solid var(--brand-dark);
}

.cookie-btn-accept:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

.cookie-btn-reject:hover {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-dark);
    border-color: var(--text-dark) !important;
    transform: translateY(-1px);
}

/* Transição suave de posicionamento do botão de WhatsApp para evitar pulos */
.btn-whatsapp-floating {
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease, background 0.2s ease !important;
}

/* Ajustes de responsividade e prevenção de colisão com o botão do WhatsApp */
@media (max-width: 768px) {
    body.cookie-banner-open .btn-whatsapp-floating {
        bottom: 200px !important; /* Move o WhatsApp para cima quando o banner de cookies está aberto */
    }
    
    .cookie-consent-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: calc(100% - 30px);
        border-radius: 16px;
        padding: 18px;
    }
}

/* 12. LOGOTIPO DA MARCA NOS CARDS DE VEÍCULOS */
.card-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 6px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-brand-logo img {
    max-height: 24px;
    max-width: 55px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.1) opacity(0.5);
    transition: var(--transition);
}

.car-card:hover .card-brand-logo {
    border-color: rgba(0, 82, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.05);
}

.car-card:hover .card-brand-logo img {
    filter: grayscale(0) contrast(1) opacity(0.95);
}




