/* ============================================
   CAPITAL MOTORS BAURU — Design System
   Dark & Gold Premium Theme
   ============================================ */

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

/* === CSS Custom Properties === */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-glass: rgba(17, 17, 17, 0.75);
    --bg-glass-light: rgba(30, 30, 30, 0.6);

    --gold: #c9a84c;
    --gold-light: #e4c76b;
    --gold-dark: #8a6d2b;
    --gold-gradient: linear-gradient(135deg, #c9a84c, #e4c76b, #c9a84c);
    --gold-gradient-hover: linear-gradient(135deg, #e4c76b, #f0d87e, #e4c76b);
    --gold-glow: 0 0 20px rgba(201, 168, 76, 0.3);

    --text-primary: #f0f0f0;
    --text-secondary: #999999;
    --text-muted: #666666;
    --white: #ffffff;
    --black: #000000;

    --danger: #e74c3c;
    --success: #27ae60;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --gap: 24px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ============================================
   ANIMATED BACKGROUND — Global Living Dark
   ============================================ */

/* Canvas particles layer */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

/* Primary orb — top right gold */
body::before {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(201, 168, 76, 0.07) 0%,
        rgba(201, 168, 76, 0.03) 40%,
        transparent 70%);
    filter: blur(100px);
    top: -300px;
    right: -250px;
    z-index: 0;
    pointer-events: none;
    animation: orbFloat1 20s ease-in-out infinite;
}

/* Secondary orb — bottom left amber */
body::after {
    content: '';
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(180, 130, 30, 0.05) 0%,
        rgba(201, 168, 76, 0.02) 45%,
        transparent 70%);
    filter: blur(110px);
    bottom: -200px;
    left: -200px;
    z-index: 0;
    pointer-events: none;
    animation: orbFloat2 26s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20%  { transform: translate(-100px, 80px) scale(1.15); }
    40%  { transform: translate(-60px, 160px) scale(0.92); }
    60%  { transform: translate(80px, 100px) scale(1.08); }
    80%  { transform: translate(40px, -40px) scale(1.12); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(120px, -100px) scale(1.2); }
    50%  { transform: translate(60px, -160px) scale(0.88); }
    75%  { transform: translate(-40px, -60px) scale(1.1); }
}

/* Extra floating orbs via CSS only (no pseudo-elements used — injected via JS wrapper) */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
}
.bg-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle at center, rgba(201,168,76,0.04) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation: orbCenter 30s ease-in-out infinite;
}
.bg-orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle at center, rgba(255,200,80,0.03) 0%, transparent 70%);
    top: 10%; left: 20%;
    animation: orbFloat2 18s ease-in-out infinite reverse;
}
.bg-orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle at center, rgba(180,120,20,0.03) 0%, transparent 70%);
    bottom: 10%; right: 10%;
    animation: orbFloat1 24s ease-in-out infinite 4s;
}

@keyframes orbCenter {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    33%  { transform: translate(-50%, -80px) scale(1.1); }
    66%  { transform: translate(-50%, 60px) scale(0.92); }
}


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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.gold-text {
    color: var(--gold);
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    margin-bottom: 20px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: center;
}

/* === Container === */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* === Section === */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

/* Ambient glow on alternating sections */
.section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: sectionGlow 8s ease-in-out infinite;
}

@keyframes sectionGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* === Gold Divider === */
.gold-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    z-index: 1001;
}

.navbar-logo svg {
    width: 40px;
    height: 40px;
}

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

.logo-img-footer {
    height: 40px;
    width: auto;
    display: block;
}

.navbar-logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-logo .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
}

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

.nav-link {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gold-gradient);
    color: var(--black);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 12px;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--gold-gradient-hover);
    box-shadow: var(--gold-glow);
    transform: translateY(-1px);
    color: var(--black);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Animated aurora behind hero content */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 40% 50% at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 100%),
        radial-gradient(ellipse 30% 40% at 80% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 100%);
    animation: auroraShift 12s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% { opacity: 0.5; transform: translateX(-30px); }
    50% { opacity: 1; transform: translateX(30px); }
    100% { opacity: 0.7; transform: translateX(-15px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 40px;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: none;
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
    color: var(--black);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   FEATURED VEHICLES (Home)
   ============================================ */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

/* === Vehicle Card === */
.vehicle-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(201, 168, 76, 0.08);
}

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

.vehicle-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform var(--transition-slow);
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.04);
}

.vehicle-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold-gradient);
    color: var(--black);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgeGlow 2.5s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(201, 168, 76, 0.3); }
    50% { box-shadow: 0 0 18px rgba(201, 168, 76, 0.6), 0 0 30px rgba(201, 168, 76, 0.15); }
}

.vehicle-card-body {
    padding: 24px;
}

.vehicle-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

.vehicle-card-body .vehicle-year {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.vehicle-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.vehicle-spec svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
}

.vehicle-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
}

.vehicle-card-footer .btn {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Ambient moving light behind feature cards */
.feature-card::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 30% 30%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
    animation: cardAmbient 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes cardAmbient {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 15px); }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-banner h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.cta-banner p {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.cta-banner .btn {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-links a {
    display: block;
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.social-link:hover svg {
    stroke: var(--black);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   PAGE BANNER (subpages)
   ============================================ */
.page-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner .hero-bg {
    position: absolute;
    inset: 0;
}

.page-banner .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner-content h1 {
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ============================================
   INVENTORY PAGE
   ============================================ */
.inventory-section {
    padding: 60px 0 100px;
}

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

.inventory-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.inventory-count strong {
    color: var(--gold);
}

.inventory-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    min-width: 140px;
}

.filter-select:focus {
    border-color: var(--gold);
}

.filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

/* ============================================
   VEHICLE MODAL + GALLERY
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(201, 168, 76, 0.15);
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--gold);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

.modal-close:hover svg {
    stroke: var(--black);
}

/* Gallery Container */
.modal-gallery {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Gallery Main */
.modal-gallery-main {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #0a0a0a;
}

.modal-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: opacity 0.15s ease;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 5;
}

.gallery-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.gallery-arrow:hover svg {
    stroke: var(--black);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* Gallery Thumbnails */
.modal-gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    overflow-x: auto;
    min-height: 68px;
    align-items: center;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
}

.modal-gallery-thumbs img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.modal-gallery-thumbs img:hover {
    opacity: 0.8;
}

.modal-gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--gold);
}

/* Modal Body */
.modal-body {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.modal-body h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.modal-year {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

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

.modal-spec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-spec-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.modal-spec-item .value {
    font-weight: 600;
    color: var(--white);
}

.modal-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

/* ============================================
   MODAL MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal {
        max-width: 100%;
        max-height: 92vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-gallery {
        flex-shrink: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        overflow: hidden;
    }

    .modal-gallery-main {
        height: 220px;
        border-radius: 0;
    }

    .modal-gallery-thumbs {
        min-height: 60px;
    }

    .modal-gallery-thumbs img {
        width: 52px;
        height: 38px;
    }

    /* Body scrolls independently */
    .modal-body {
        padding: 16px;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .modal-body h2 {
        font-size: 1.15rem;
    }

    .modal-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .modal-spec-item {
        padding: 10px 12px;
    }

    .modal-price {
        font-size: 1.4rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }

    .gallery-arrow {
        width: 32px;
        height: 32px;
    }

    .gallery-arrow svg {
        width: 16px;
        height: 16px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   FULLSCREEN LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 3000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active { display: flex; }

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background 0.2s;
}
.lightbox-close:hover { background: var(--gold); }
.lightbox-close svg { width: 20px; height: 20px; stroke: white; }
.lightbox-close:hover svg { stroke: black; }

.lightbox-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    box-sizing: border-box;
}
.lightbox-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.lightbox-arrow:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-arrow svg { width: 22px; height: 22px; stroke: white; }
.lightbox-arrow:hover svg { stroke: black; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 1px;
    backdrop-filter: blur(6px);
}

.lightbox-dots {
    position: absolute;
    bottom: 58px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 80%;
}
.lightbox-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
}
.lightbox-dot.active { background: var(--gold); width: 18px; border-radius: 3px; }

/* Expand cursor on gallery image */
.modal-gallery-main { cursor: zoom-in; }

@media (max-width: 640px) {
    .lightbox-img-wrap { padding: 56px 8px; }
    .lightbox-arrow { width: 36px; height: 36px; }
    .lightbox-dots { bottom: 52px; }
}

/* ============================================
   PHOTO COUNT BADGE
   ============================================ */
.photo-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

/* ============================================
   SEARCH INPUT
   ============================================ */
.search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--gold);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    pointer-events: none;
}

/* ============================================
   COMPARE CHECKBOX (inside card)
   ============================================ */
.compare-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    user-select: none;
}

.compare-check:hover {
    color: var(--gold);
}

.compare-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    position: relative;
}

.compare-check input[type="checkbox"]:checked {
    background: var(--gold);
    border-color: var(--gold);
}

.compare-check input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
}

.compare-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   COMPARE BAR (fixed bottom)
   ============================================ */
.compare-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 1500;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 12px 0;
    transition: bottom var(--transition-base);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.compare-bar.active {
    bottom: 0;
}

.compare-bar-content {
    max-width: var(--container-width);
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.compare-bar-items {
    display: flex;
    gap: 12px;
    flex: 1;
    overflow-x: auto;
}

.compare-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
    white-space: nowrap;
    font-size: 0.85rem;
}

.compare-bar-item img {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
}

.compare-bar-remove {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 0 4px;
    transition: color var(--transition-fast);
}

.compare-bar-remove:hover {
    color: var(--danger);
}

.compare-bar .btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   COMPARE TABLE (modal)
   ============================================ */
.compare-table-wrapper {
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

.compare-table th {
    font-weight: 600;
    color: var(--white);
    font-size: 0.85rem;
}

.compare-table td:first-child {
    text-align: left;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.compare-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.03);
}

.compare-img {
    width: 100%;
    max-width: 150px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, rgba(201, 168, 76, 0.06) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Stats */
.stats-section {
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.value-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
}

.value-card .feature-icon {
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.88rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-body);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--danger);
}

.form-group.error .form-error {
    display: block;
}

.form-success {
    display: none;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: var(--success);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 16px;
}

.form-success.show {
    display: block;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 32px;
}

.contact-info-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--gold);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
}

.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.88rem;
}

.contact-info-text a {
    color: var(--gold);
}

.contact-info-text a:hover {
    text-decoration: underline;
}

/* Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hours-item .day {
    font-weight: 500;
    color: var(--text-primary);
}

/* Map */
.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    filter: grayscale(0.8) contrast(1.1) brightness(0.7);
    transition: filter var(--transition-base);
}

.contact-map:hover iframe {
    filter: grayscale(0.3) contrast(1) brightness(0.9);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    cursor: pointer;
    animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0.12), 0 0 0 28px rgba(37, 211, 102, 0.04); }
}

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

/* WhatsApp Tooltip */
.whatsapp-float::before {
    content: 'Fale conosco';
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-float:hover::before {
    opacity: 1;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

/* ============================================
   WHATSAPP CTA SECTION (Contact page)
   ============================================ */
.whatsapp-cta-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.06), rgba(37, 211, 102, 0.02));
    border: 1px solid rgba(37, 211, 102, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.whatsapp-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.04) 0%, transparent 60%);
    animation: rotateSlow 25s linear infinite;
}

.whatsapp-cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #20bd5a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    animation: waCtaPulse 2.5s ease-in-out infinite;
}

@keyframes waCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 0 30px rgba(37, 211, 102, 0.15); }
}

.whatsapp-cta-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.whatsapp-cta-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.whatsapp-cta-card .cta-subtitle {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}

.whatsapp-mega-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #25d366, #20bd5a);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    overflow: hidden;
}

.whatsapp-mega-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3s ease-in-out infinite;
}

.whatsapp-mega-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
    color: white;
}

.whatsapp-mega-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    flex-shrink: 0;
}

.whatsapp-cta-footer {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Hero floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero-particle:nth-child(2) { left: 25%; animation-delay: 1.2s; animation-duration: 5s; }
.hero-particle:nth-child(3) { left: 40%; animation-delay: 0.6s; animation-duration: 8s; }
.hero-particle:nth-child(4) { left: 55%; animation-delay: 2s; animation-duration: 6s; }
.hero-particle:nth-child(5) { left: 70%; animation-delay: 0.3s; animation-duration: 7.5s; }
.hero-particle:nth-child(6) { left: 85%; animation-delay: 1.5s; animation-duration: 5.5s; }
.hero-particle:nth-child(7) { left: 15%; animation-delay: 2.5s; animation-duration: 6.5s; }
.hero-particle:nth-child(8) { left: 65%; animation-delay: 0.8s; animation-duration: 8.5s; }

@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .featured-grid,
    .features-grid,
    .values-grid,
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-banner {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 4px;
        transition: right var(--transition-base);
        border-left: 1px solid rgba(201, 168, 76, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        display: block;
    }

    .featured-grid,
    .features-grid,
    .values-grid,
    .inventory-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item {
        padding: 30px 10px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-banner {
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .modal-specs {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        flex-direction: column;
    }

    .inventory-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .inventory-filters {
        width: 100%;
    }

    .filter-select {
        flex: 1;
        min-width: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .cta-banner {
        padding: 40px 20px;
    }

    .contact-form {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-desc {
        font-size: 0.88rem;
        margin-bottom: 30px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .vehicle-card-image {
        height: 200px;
    }

    .vehicle-card-body {
        padding: 18px;
    }

    .vehicle-card-body h3 {
        font-size: 1.05rem;
    }

    .vehicle-specs {
        gap: 10px;
        flex-wrap: wrap;
    }

    .vehicle-spec {
        font-size: 0.75rem;
    }

    .vehicle-price {
        font-size: 1.1rem;
    }

    .vehicle-card-footer .btn {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .inventory-filters {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .cta-banner {
        padding: 32px 16px;
    }

    .cta-banner h2 {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .value-card {
        padding: 28px 20px;
    }

    .contact-info-card {
        padding: 24px;
    }

    .whatsapp-cta-card {
        padding: 32px 20px;
    }

    .whatsapp-mega-btn {
        padding: 16px 36px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .page-banner {
        height: 250px;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-brand p {
        font-size: 0.82rem;
    }

    .footer h4 {
        font-size: 0.9rem;
    }

    .toast {
        max-width: 90vw;
        font-size: 0.8rem;
        padding: 10px 16px;
        bottom: 80px;
    }

    .modal {
        width: 95vw;
        max-height: 90vh;
        padding: 20px;
    }

    .modal-gallery {
        height: 220px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-float::before {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Safe area insets for iPhone */
    .navbar {
        padding-top: max(20px, env(safe-area-inset-top));
    }

    .footer-bottom {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px));
    }
}

/* ============================================
   PAGE TRANSITION (fade-in)
   ============================================ */
body {
    animation: pageFadeIn 0.5s ease-out;
}

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

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-secondary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 168, 76, 0.2);
    font-size: 0.85rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ============================================
   DARK MODE MAP
   ============================================ */
.contact-map iframe {
    filter: invert(0.92) hue-rotate(180deg) saturate(0.3) brightness(0.8);
    border-radius: var(--radius-md);
}

/* ============================================
   ENHANCED SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    animation: bounce 2s ease-in-out infinite, fadeInScroll 1s ease-out 0.5s both;
}

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

.scroll-indicator span {
    letter-spacing: 3px;
    font-weight: 500;
}

/* ============================================
   INVENTORY GRID — 2 COLUNAS
   ============================================ */
.inventory-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 768px) {
    .inventory-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   FORM INPUT FOCUS / VALIDATION
   ============================================ */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
    outline: none;
}

.contact-form input:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) {
    border-color: rgba(37, 211, 102, 0.4);
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.contact-form .btn-submit:active {
    transform: translateY(0);
}

/* ============================================
   PHOTO COUNT BADGE Z-INDEX (above vignette)
   ============================================ */
.photo-count {
    z-index: 2;
}

.vehicle-badge {
    z-index: 2;
}
