:root {
    --primary: #10B981; 
    --primary-dark: #059669;
    --accent: #34D399; 
    --bg-color: #F8FAFC;
    --surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
}

.hero-text {
    padding-bottom: 24px;
}

.badge {
    background: #DBEAFE;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-image {
    position: relative;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&q=80') center/cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,102,255,0.4) 0%, rgba(0,0,0,0) 100%);
    border-radius: 24px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    z-index: 2;
}

.floating-card i {
    font-size: 2.5rem;
}

.floating-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
}

.floating-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.c1 {
    top: 40px;
    left: -40px;
}

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

.c2 {
    bottom: 40px;
    right: -40px;
}

.c2 i { color: var(--primary); }

/* Cadastro Section */
.cadastro-section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.tabs-container {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #F1F5F9;
}

.tab-btn {
    flex: 1;
    padding: 24px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.tab-btn i {
    font-size: 1.5rem;
}

.tab-btn:hover {
    background: #E2E8F0;
}

.tab-btn.active {
    background: var(--surface);
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tabs-body {
    padding: 40px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.tab-info h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.benefits {
    list-style: none;
}

.benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.benefits i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 2px;
}

.tab-form {
    background: #F8FAFC;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.tab-form h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.tab-form input, .tab-form select {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.tab-form input:focus, .tab-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

/* Footer */
footer {
    background: var(--text-main);
    color: white;
    padding: 60px 0;
    text-align: center;
}

footer .logo {
    color: white;
    justify-content: center;
    margin-bottom: 16px;
}

footer p {
    color: #94A3B8;
}

/* Responsividade */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 40px; }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .floating-card {
        transform: scale(0.8);
    }
    .c1 { left: -10px; }
    .c2 { right: -10px; }
}

.hero-video-container {
    position: relative;
    background: #E2E8F0;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto 30px auto !important;
    aspect-ratio: 16 / 9;
}

.hero-video {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

@media (max-height: 850px) {
    .hero-video-container {
        max-height: 48vh !important;
        width: auto !important;
    }
}

/* Home Page Search & Grid */
.search-section {
    background: var(--surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}
.search-box {
    display: flex;
    gap: 16px;
}
.search-box input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.3s;
}
.search-box input:focus {
    border-color: var(--primary);
}
.search-box button {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
}
.car-info {
    display: none;
    margin-top: 24px;
    padding: 16px;
    background: #F1F5F9;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}
.car-info.active {
    display: flex;
    align-items: center;
    gap: 16px;
}
.parts-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.parts-grid.active {
    display: grid;
}
.part-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.part-img {
    height: 120px;
    background: #F8FAFC;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}
.part-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 8px;
}
.part-brand {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.part-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}
.btn-buy {
    width: 100%;
    padding: 10px;
    background: #F1F5F9;
    color: var(--primary-dark);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-buy:hover {
    background: var(--primary);
    color: white;
}

.nav-btn {
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #F8FAFC;
}
