/* ===== BRASIL AUTO CAR - PREMIUM DESIGN SYSTEM v2 ===== */

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(18, 18, 26, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --accent: #ff8c00;
    --accent-light: #ffab40;
    --accent-dark: #e67e00;
    --accent-glow: rgba(255, 140, 0, 0.15);
    --success: #10b981;
    --danger: #ef4444;
    --text-primary: #f0f0f5;
    --text-secondary: #8b8b9e;
    --text-muted: #5a5a6e;
    --font-primary: 'Space Grotesk', -apple-system, sans-serif;
    --font-secondary: 'Inter', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(255, 140, 0, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: var(--font-secondary);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.3));
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    font-size: 0.9rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: var(--accent);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: rgba(255, 140, 0, 0.2);
    border-color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-media-controls: none;
}

.hero-bg video::-webkit-media-controls {
    display: none !important;
}

.hero-bg video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.hero-fallback-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active { opacity: 1; }

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.7) 0%,
        rgba(10, 10, 15, 0.5) 40%,
        rgba(10, 10, 15, 0.8) 80%,
        rgba(10, 10, 15, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 24px 40px;
    margin-bottom: 48px;
    backdrop-filter: blur(10px);
}

.stat-card {
    text-align: center;
    padding: 0 32px;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border-glass);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.about-logo-img {
    height: 56px;
    width: auto;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.3));
}

.about-logo-row h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-tagline {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 140, 0, 0.15);
    transform: translateX(4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-card h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.about-media {
    position: sticky;
    top: 100px;
}

.video-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    color: var(--text-muted);
    gap: 12px;
}

.video-fallback i { font-size: 2.5rem; color: var(--accent); }

.video-caption {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.video-caption i { color: var(--accent); }

/* ===== VEHICLES ===== */
.vehicles {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(255, 140, 0, 0.02), transparent);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 6px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-tab {
    padding: 8px 18px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    font-size: 0.85rem;
    white-space: nowrap;
    font-family: var(--font-secondary);
}

.filter-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
    background: var(--accent);
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(255, 140, 0, 0.3);
}

.vehicle-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 80px 0;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-glass);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-state p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Vehicle Card */
.vehicle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 140, 0, 0.2),
        0 0 80px rgba(255, 140, 0, 0.08),
        inset 0 0 0 1px rgba(255, 140, 0, 0.1);
}

.vehicle-card:hover .vehicle-info h3 {
    color: var(--accent);
}

.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0d0d12;
}

.vehicle-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0) 0%, rgba(255, 140, 0, 0) 100%);
    transition: all 0.4s var(--ease);
    pointer-events: none;
    z-index: 1;
}

.vehicle-card:hover .vehicle-image::after {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, rgba(255, 140, 0, 0.02) 100%);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #0d0d12;
    transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.vehicle-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}

.vehicle-photos-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vehicle-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-info h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s var(--ease);
}

.vehicle-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 3px 10px;
    border-radius: 50px;
}

.spec-chip i { color: var(--accent); font-size: 0.65rem; }

.vehicle-description-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}

.description-toggle {
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 12px;
    display: inline-block;
}

.description-toggle:hover { text-decoration: underline; }

.vehicle-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.price-value {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.price-disclaimer {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 16px;
}

.btn-whatsapp {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #25d366, #20b358);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s var(--ease);
    font-family: var(--font-secondary);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ===== VEHICLE MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s var(--ease);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    animation: slideUp 0.4s var(--ease);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.modal-header {
    padding: 24px 24px 16px;
}

.modal-header h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-sold-badge {
    display: inline-block;
    background: var(--danger);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 8px;
}

.modal-gallery {
    padding: 0 24px;
}

.modal-main-image {
    width: 100%;
    height: 380px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: #0d0d12;
    margin-bottom: 12px;
}

.modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    margin-bottom: 24px;
}

.modal-thumb {
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

.modal-thumb:hover,
.modal-thumb.active {
    border-color: var(--accent);
    opacity: 1;
}

.modal-details {
    padding: 24px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.modal-spec {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.modal-spec-label {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}

.modal-spec-value {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-price-box {
    background: var(--accent-glow);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.modal-price {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
}

.modal-price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 6px;
}

.modal-description {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.modal-description h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.modal-description-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.modal-cta {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25d366, #20b358);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s var(--ease);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-secondary);
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.contact-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateY(-4px);
}

.contact-card.highlight {
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.03);
}

.contact-card.highlight:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.1);
}

.contact-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-icon-wrap.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.contact-card h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.contact-badge {
    font-size: 0.68rem;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    margin-top: 12px;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-glass);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
    border-radius: var(--radius-sm);
}

.footer-logo span {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #fff;
    border-color: transparent;
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: transparent;
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 6px 0;
}

.footer-section ul li i {
    color: var(--accent);
    width: 16px;
    font-size: 0.8rem;
}

.footer-section .schedule li {
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-glass);
}

.footer-section .schedule li.closed span:last-child {
    color: var(--danger);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 4px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: waPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-media { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { min-height: 100svh; }

    .hero-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        /* Impede o video de ficar enorme no mobile */
        max-height: 100svh;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease);
        z-index: 998;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 14px 32px;
    }

    .nav-actions { display: none; }
    .nav-toggle { display: flex; z-index: 999; }

    .hero-content { padding: 120px 20px 60px; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

    .hero-stats {
        flex-direction: column;
        padding: 24px;
        gap: 0;
    }

    .stat-card { padding: 12px 0; }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .stat-number { font-size: 2rem; }

    .vehicles-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

    .contact-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-section .schedule li { padding: 8px 16px; }

    .about, .vehicles, .contact { padding: 80px 0; }

    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

    .filter-tabs { overflow-x: auto; padding: 4px; }
    .filter-tab { padding: 6px 14px; font-size: 0.8rem; }

    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .vehicle-image { height: 180px; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; }
    #particleCanvas { display: none; }
}
