/**
 * Portal AutoSul Carros - CSS da Home Page
 * Design Moderno com UX/UI Profissional
 * Autor: Dumont Web (https://dumontweb.com.br)
 * TESTE: Auto-deploy funcionando!
 */

/* ========================================
   VARIÁVEIS CSS
   ======================================== */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ========================================
   RESET E BASE
   ======================================== */

.autosul-home-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.autosul-home {
    padding-top: 0 !important;
}

.autosul-home-wrapper * {
    box-sizing: border-box;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   EFEITOS VISUAIS GLOBAIS DA HOME
   ======================================== */

.home-visual-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Raios de luz sutis */
.home-visual-effects .light-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.06) 50%, transparent 70%),
        linear-gradient(90deg, transparent 40%, rgba(59, 130, 246, 0.05) 60%, transparent 80%);
    animation: rotateRays 60s linear infinite;
}

@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Grid sutil de fundo */
.home-visual-effects .subtle-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridSlide 40s linear infinite;
}

@keyframes gridSlide {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Partículas flutuantes globais */
.home-visual-effects .floating-particles-global {
    position: absolute;
    width: 100%;
    height: 100%;
}

.home-visual-effects .particle-global {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.7), rgba(59, 130, 246, 0.2));
    border-radius: 50%;
    filter: blur(2px);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.home-visual-effects .particle-global:nth-child(1) {
    top: 10%;
    left: 15%;
    animation: floatParticleGlobal 18s ease-in-out infinite;
}

.home-visual-effects .particle-global:nth-child(2) {
    top: 30%;
    left: 75%;
    animation: floatParticleGlobal 22s ease-in-out infinite 2s;
}

.home-visual-effects .particle-global:nth-child(3) {
    top: 50%;
    left: 25%;
    animation: floatParticleGlobal 20s ease-in-out infinite 4s;
}

.home-visual-effects .particle-global:nth-child(4) {
    top: 70%;
    left: 85%;
    animation: floatParticleGlobal 24s ease-in-out infinite 6s;
}

.home-visual-effects .particle-global:nth-child(5) {
    top: 20%;
    left: 50%;
    animation: floatParticleGlobal 19s ease-in-out infinite 3s;
}

.home-visual-effects .particle-global:nth-child(6) {
    top: 80%;
    left: 40%;
    animation: floatParticleGlobal 21s ease-in-out infinite 5s;
}

@keyframes floatParticleGlobal {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translate(50px, -80px) scale(1.2);
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
}

/* Raios cruzados */
.home-visual-effects .crossing-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-visual-effects .ray {
    position: absolute;
    width: 2px;
    height: 200%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(59, 130, 246, 0) 20%,
        rgba(59, 130, 246, 0.6) 50%,
        rgba(59, 130, 246, 0) 80%,
        transparent 100%
    );
    filter: blur(1px);
    opacity: 0;
}

/* Raio 1 - Diagonal da esquerda para direita */
.home-visual-effects .ray-1 {
    transform: rotate(45deg);
    transform-origin: top left;
    animation: crossRay1 8s ease-in-out infinite;
}

@keyframes crossRay1 {
    0% {
        left: -10%;
        top: -50%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        left: 50%;
        top: 25%;
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        left: 110%;
        top: 100%;
        opacity: 0;
    }
}

/* Raio 2 - Diagonal da direita para esquerda */
.home-visual-effects .ray-2 {
    transform: rotate(-45deg);
    transform-origin: top right;
    animation: crossRay2 10s ease-in-out infinite 2s;
}

@keyframes crossRay2 {
    0% {
        right: -10%;
        top: -50%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        right: 50%;
        top: 25%;
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        right: 110%;
        top: 100%;
        opacity: 0;
    }
}

/* Raio 3 - Vertical descendo */
.home-visual-effects .ray-3 {
    transform: rotate(0deg);
    animation: crossRay3 12s ease-in-out infinite 4s;
}

@keyframes crossRay3 {
    0% {
        left: 25%;
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        top: 50%;
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        top: 200%;
        opacity: 0;
    }
}

/* Raio 4 - Diagonal invertida */
.home-visual-effects .ray-4 {
    transform: rotate(60deg);
    transform-origin: bottom left;
    animation: crossRay4 9s ease-in-out infinite 6s;
}

@keyframes crossRay4 {
    0% {
        left: -10%;
        bottom: -50%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        left: 60%;
        bottom: 20%;
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
    100% {
        left: 110%;
        bottom: 100%;
        opacity: 0;
    }
}

/* Garantir que o conteúdo fique acima dos efeitos */
.autosul-home-wrapper > section,
.autosul-home-wrapper > div:not(.home-visual-effects) {
    position: relative;
    z-index: 2;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    background-image: 
        linear-gradient(135deg, rgba(124, 58, 237, 0.82) 0%, rgba(109, 40, 217, 0.82) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    overflow: hidden;
}

body.autosul-home .hero-section {
    padding-top: 75px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2025/12/Banner-Mercado-Shops-Promocional-Black-Friday-Carros-Vermelho-e-Preto-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.62;
    mix-blend-mode: normal;
    filter: contrast(1.14) saturate(1.10) brightness(1.02);
    pointer-events: none;
    z-index: 0;
    transform: translateZ(0);
}

/* Layer 1: Light Trails Horizontais (Faróis) */
.hero-section .light-trail-effect {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(56, 189, 248, 0.15) 25%,
        rgba(56, 189, 248, 0.3) 50%,
        rgba(56, 189, 248, 0.15) 75%,
        transparent 100%
    );
    animation: lightTrail 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Layer 2: Neon Glow Spot */
.hero-section .neon-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(16, 185, 129, 0.2) 0%,
        rgba(16, 185, 129, 0.1) 30%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(60px);
    animation: glowPulse 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

/* Layer 3: Grid Tecnológico */
.hero-section .tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Layer 4: Spotlight Esquerdo */
.hero-section .spotlight-left {
    position: absolute;
    top: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.25) 0%,
        rgba(56, 189, 248, 0.1) 40%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(80px);
    animation: spotlightPulse 7s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

/* Layer 5: Light Streak Diagonal */
.hero-section .light-streak {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(56, 189, 248, 0.6) 30%,
        rgba(56, 189, 248, 0.8) 50%,
        rgba(56, 189, 248, 0.6) 70%,
        transparent 100%
    );
    transform: rotate(-5deg);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    animation: streakMove 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Layer 6: Partículas */
.hero-section .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-section .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(56, 189, 248, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
    animation: particleFloat 15s linear infinite;
}

.hero-section .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-section .particle:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 14s; }
.hero-section .particle:nth-child(3) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.hero-section .particle:nth-child(4) { left: 60%; animation-delay: 3s; animation-duration: 13s; }
.hero-section .particle:nth-child(5) { left: 75%; animation-delay: 1.5s; animation-duration: 15s; }
.hero-section .particle:nth-child(6) { left: 90%; animation-delay: 2.5s; animation-duration: 14s; }
.hero-section .particle:nth-child(7) { left: 15%; animation-delay: 4s; animation-duration: 17s; }
.hero-section .particle:nth-child(8) { left: 50%; animation-delay: 0.5s; animation-duration: 12s; }

/* Layer 7: Reflexo Metálico */
.hero-section .metallic-shine {
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 80%;
    height: 200px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(148, 163, 184, 0.1) 30%,
        rgba(148, 163, 184, 0.2) 50%,
        transparent 100%
    );
    filter: blur(40px);
    transform: skewY(-2deg);
    animation: metallicShimmer 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

/* Animações */
@keyframes lightTrail {
    0% { transform: translateX(0) skewX(-20deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(50%) skewX(-20deg); opacity: 0; }
}

@keyframes glowPulse {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(-30px, 20px) scale(1.2); opacity: 0.6; }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

@keyframes spotlightPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes streakMove {
    0%, 100% { transform: rotate(-5deg) translateX(-100%); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: rotate(-5deg) translateX(100%); }
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(100px) scale(1); opacity: 0; }
}

@keyframes metallicShimmer {
    0% { opacity: 0.3; transform: skewY(-2deg) translateX(0); }
    100% { opacity: 0.6; transform: skewY(-2deg) translateX(50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
    animation: pulseGradient 15s ease-in-out infinite;
    z-index: 1;
    z-index: 1;
}

@keyframes pulseGradient {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .hero-section::before {
        background-size: cover;
        background-position: center;
        opacity: 0.68;
    }

    .hero-section {
        min-height: 100vh !important;
        height: 100vh !important;
        align-items: stretch;
        display: flex !important;
        flex-direction: column !important;
    }

    body.autosul-home .hero-section {
        padding-top: 60px;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        padding: 20px 15px 20px !important;
        justify-content: space-between !important;
    }

    .hero-content > .container {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        justify-content: space-between !important;
        align-items: stretch !important;
    }

    .hero-title {
        margin: 40px 0 10px 0 !important;
        font-size: 1.75rem !important;
        line-height: 1.15 !important;
        font-weight: 900 !important;
        align-self: flex-start !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    }

    .hero-subtitle {
        margin: 0 0 auto 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
        align-self: flex-start !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    }

    .hero-search {
        margin: 0 !important;
        padding: 0 !important;
        align-self: stretch !important;
    }
    
    /* Esconde o scroll indicator no mobile */
    .scroll-indicator {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-section::before {
        background-image: url('/wp-content/uploads/2025/12/Banner-Mercado-Shops-Promocional-Black-Friday-Carros-Vermelho-e-Preto-400-x-470-px.webp');
        background-size: cover;
        background-position: center top;
        opacity: 0.65;
    }
    
    body.autosul-home .hero-section {
        padding-top: 55px !important;
    }
    
    .hero-title {
        font-size: 1.3rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 600px) {
    body.autosul-home .hero-section::before {
        background-image: url('/wp-content/uploads/2025/12/Banner-Mercado-Shops-Promocional-Black-Friday-Carros-Vermelho-e-Preto-400-x-470-px.webp') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        opacity: 0.70 !important;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 50px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animações Hero */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Search */
.hero-search {
    max-width: 900px;
    margin: 0 auto;
}

.search-form {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
}

.search-fields {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr auto;
    gap: 15px;
    align-items: center;
}

.search-field {
    position: relative;
}

.icon-search {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
}

/* Aplica padding-left apenas no input de busca (que tem ícone) */
.search-field:has(.icon-search) input {
    padding-left: 50px;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    border: 0 !important;
    outline: none;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.03) saturate(1.05);
}

.btn-search:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn-search:focus-visible {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.35), var(--shadow-lg);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 13px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 80px 0;
    background: var(--bg-white);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    min-width: 0;
}

/* Garante que o layout da home não seja sobrescrito por estilos globais (ex.: dashboard) */
.stats-section .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}

.stats-section .stat-number {
    line-height: 1.05;
    max-width: 100%;
}

.stats-section .stat-label {
    max-width: 100%;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 640px) {
    .stats-section {
        margin-top: 0;
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 28px 18px;
    }

    .stats-section .stat-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .stats-section .stat-number {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .stats-section .stat-label {
        font-size: 14px;
    }
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   SECTIONS
   ======================================== */

.brands-section,
.featured-section,
.how-it-works-section {
    padding: 80px 0;
}

.brands-section {
    background: var(--bg-light);
    text-align: center;
}

.brands-select-wrap {
    display: block;
    max-width: 560px;
    margin: 0 auto 22px;
    text-align: left;
}

.brands-select-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brands-select {
    width: 100%;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
                      linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.brands-select:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.35);
    outline-offset: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 50px 0;
    color: var(--text-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.btn-view-all {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-view-all:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ========================================
   BRANDS GRID
   ======================================== */

.brands-grid {
    display: none;
}

@media (max-width: 768px) {
    .brands-select-wrap {
        max-width: 520px;
        margin: 0 auto 18px;
    }
}

.brand-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    max-width: 160px;
}

.brand-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.brand-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.brand-card:hover .brand-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.brand-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.brand-card h3 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.brand-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* ========================================
   CARS GRID
   ======================================== */

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.car-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.car-image {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    max-width: 100%;
    max-height: 100%;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.no-image span {
    font-size: 60px;
    margin-bottom: 10px;
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-favorite .heart {
    font-size: 20px;
    color: #ef4444;
}

.btn-favorite:hover {
    background: var(--bg-white);
    transform: scale(1.1);
}

.btn-favorite.active .heart {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.car-content {
    padding: 25px;
}

.car-brand {
    display: inline-block;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.car-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.car-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.car-title a:hover {
    color: var(--primary-color);
}

.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 8px;
}

.car-location {
    color: var(--text-gray);
    font-size: 14px;
    margin: 10px 0;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.car-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-details {
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.btn-details:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

.btn-primary-large {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: #ffffff;
}

.cta-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 20px 0;
}

.cta-text p {
    font-size: 18px;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-benefits li {
    font-size: 16px;
    padding: 10px 0;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: block;
    text-align: center;
    padding: 18px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-cta-primary {
    background: #ffffff;
    color: var(--primary-color);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-cta-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works-section {
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 60px;
    margin: 20px 0;
}

.step-card h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   FOOTER CTA
   ======================================== */

.footer-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 30px 0;
    position: relative;
    z-index: 1;
}

.btn-footer-cta {
    display: inline-block;
    background: #ffffff;
    color: #764ba2;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-footer-cta:hover {
    background: #f5f3ff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ========================================
   NO CARS MESSAGE
   ======================================== */

.no-cars-message {
    text-align: center;
    padding: 100px 20px;
    background: var(--bg-light);
    border-radius: 20px;
}

.message-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-cars-message h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}

.no-cars-message p {
    color: var(--text-gray);
    font-size: 18px;
}

/* ========================================
   ANIMATE ON SCROLL
   ======================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 1024px) {
    .search-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 15px;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Otimizar efeitos visuais em mobile */
    .hero-section .light-trail-effect {
        animation-duration: 12s;
        opacity: 0.5;
    }
    
    .hero-section .neon-glow {
        width: 400px;
        height: 400px;
        filter: blur(40px);
    }
    
    .hero-section .spotlight-left {
        width: 300px;
        height: 300px;
        filter: blur(50px);
        opacity: 0.6;
    }
    
    .hero-section .tech-grid {
        background-size: 80px 80px;
        opacity: 0.3;
    }
    
    .hero-section .light-streak {
        display: none;
    }
    
    .hero-section .particle:nth-child(5),
    .hero-section .particle:nth-child(6),
    .hero-section .particle:nth-child(7),
    .hero-section .particle:nth-child(8) {
        display: none;
    }
    
    .hero-section .metallic-shine {
        filter: blur(20px);
        opacity: 0.4;
    }
    
    /* Reduzir intensidade dos efeitos globais em mobile */
    .home-visual-effects .light-rays {
        opacity: 0.5;
        animation-duration: 90s;
    }
    
    .home-visual-effects .subtle-grid {
        opacity: 0.5;
        animation-duration: 60s;
    }
    
    .home-visual-effects .particle-global {
        width: 3px;
        height: 3px;
    }
    
    .home-visual-effects .particle-global:nth-child(4),
    .home-visual-effects .particle-global:nth-child(5),
    .home-visual-effects .particle-global:nth-child(6) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: calc(100svh - 64px);
        align-items: stretch;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        min-height: calc(100svh - 64px);
        padding: 16px 0 12px;
    }

    .hero-content > .container {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .hero-title {
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin: 0 0 18px 0;
    }

    .hero-search {
        margin-top: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .search-field:has(.icon-search) input {
        padding-left: 15px;
    }
    
    .icon-search {
        display: none;
    }
    
    .car-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-details {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   CARDS MODERNOS - DESIGN PADRONIZADO
   ======================================== */

.autosul-carros-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px;
    margin: 0 0 40px 0;
}

.autosul-carro-card-modern { 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    border: 1px solid #e5e7eb;
}

.autosul-carro-card-modern:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
    border-color: #667eea;
}

.card-image-wrapper { 
    position: relative !important; 
    width: 100% !important; 
    height: 450px !important;
    min-height: 450px !important;
    overflow: hidden !important; 
    background: #f5f7fa !important;
}

.card-image { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: contain !important;
    object-position: center center !important;
    background: #f5f7fa !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; 
}

.autosul-carro-card-modern:hover .card-image { 
    transform: scale(1.1);
}

.card-no-image { 
    height: 100%; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    color: #9ca3af; 
    font-size: 1em;
    gap: 12px;
}

.icon-no-image {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.card-year-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-content { 
    padding: 16px 20px; 
    flex: 1; 
    display: flex; 
    flex-direction: column;
    gap: 12px;
}

.card-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.icon-brand {
    width: 18px;
    height: 18px;
}

.card-title { 
    margin: 0;
    font-size: 1.25rem; 
    font-weight: 700;
    line-height: 1.3;
}

.card-title a { 
    color: #111827; 
    text-decoration: none; 
    transition: color 0.3s;
}

.card-title a:hover { 
    color: #667eea;
}

.card-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    border-top: 2px solid #f3f4f6;
    border-bottom: 2px solid #f3f4f6;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
    flex-shrink: 0;
    margin-top: 2px;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.spec-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-value {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 600;
}

.card-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.price-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.price-value {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.card-btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    filter: brightness(1.05);
}

.card-btn-details:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.card-btn-details:hover .btn-icon {
    transform: translateX(4px);
}

/* Responsividade dos Cards Modernos */
@media (max-width: 768px) {
    .autosul-carros-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .card-image-wrapper { 
        height: 380px !important;
        min-height: 380px !important;
        aspect-ratio: 16/9 !important;
    }
    
    .card-image {
        object-fit: contain !important;
        object-position: center center !important;
        background: #f5f7fa;
    }
    
    .card-content {
        padding: 20px;
        gap: 14px;
    }
    
    .card-title {
        font-size: 1.125rem;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
    
    .card-specs {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .card-image-wrapper { 
        height: 350px !important;
        min-height: 350px !important;
        aspect-ratio: 16/9 !important;
    }
    
    .card-image {
        object-fit: contain !important;
        object-position: center center !important;
        background: #f5f7fa;
    }
    
    .card-brand {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .icon-brand {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   CORREÇÕES MOBILE FIRST - CRÍTICAS
   Autor: Dumont Web (https://dumontweb.com.br)
   ======================================== */

/* FORÇA scroll no mobile - OBRIGATÓRIO */
html {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    position: relative !important;
    -webkit-overflow-scrolling: touch !important;
}

body.autosul-home {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
    position: relative !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
}

.autosul-home-wrapper {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
    position: relative !important;
}

/* MOBILE: Remove TUDO que pode travar scroll */
@media (max-width: 768px) {
    /* Remove efeitos visuais globais que usam position: fixed */
    .home-visual-effects {
        display: none !important;
    }
    
    /* Hero com altura mínima para mostrar background */
    .hero-section {
        min-height: 100vh !important;
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
        padding: 70px 0 30px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Background mobile - posição do rosto mais para cima */
    .hero-section::before {
        background-image: url('/wp-content/uploads/2025/12/Banner-Mercado-Shops-Promocional-Black-Friday-Carros-Vermelho-e-Preto-1.webp') !important;
        background-size: cover !important;
        background-position: center top !important;
        opacity: 0.6 !important;
    }
    
    /* Esconde TODOS efeitos pesados no mobile */
    .hero-section .light-trail-effect,
    .hero-section .neon-glow,
    .hero-section .tech-grid,
    .hero-section .spotlight-left,
    .hero-section .light-streak,
    .hero-section .particles,
    .hero-section .metallic-shine,
    .hero-section .hero-overlay,
    .scroll-indicator {
        display: none !important;
    }
    
    /* FILTRO VAI PARA O FINAL - LAYOUT FLEXBOX */
    .hero-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 20px 16px 30px !important;
    }
    
    .hero-content > .container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        height: 100% !important;
    }
    
    .hero-title {
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        margin-bottom: 20px !important;
    }
    
    .hero-search {
        margin-top: auto !important;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 20px !important;
    }
    
    /* Filtro de busca vai para o final do hero */
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        min-height: 85vh !important;
    }
    
    .hero-title {
        margin-top: auto !important;
    }
    
    .hero-search {
        margin-top: 30px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-section::before {
        background-image: url('/wp-content/uploads/2025/12/Banner-Mercado-Shops-Promocional-Black-Friday-Carros-Vermelho-e-Preto-400-x-470-px.webp') !important;
    }
    
    .hero-content {
        padding: 16px !important;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-search {
        margin-top: 20px !important;
    }
    
    .search-fields {
        gap: 10px !important;
    }
    
    .search-field input,
    .search-field select {
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    .btn-search {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}
