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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #1e1e2a;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== PALETA DE CORES EXTRAÍDA DA LOGO ========== */
:root {
    --primary: #E67E22;      /* Laranja - 30% (destaque, pickup, pickups) */
    --primary-dark: #D35400; /* Laranja mais escuro para hover */
    --secondary: #1A2C3E;    /* Azul escuro - 20% (fundo da placa) */
    --secondary-light: #2C3E50;
    --accent: #F1C40F;       /* Amarelo - 15% (texto "Baratão das") */
    --accent-dark: #E67E22;
    --metal: #95A5A6;        /* Cinza/Prata - 15% (faixas decorativas) */
    --dark: #2C3E50;         /* Preto - 10% (detalhes) */
    --light: #ECF0F1;        /* Branco/Reflexos - 10% */
    --gray-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --success: #25D366;
}

/* Header */
header {
    background-color: var(--secondary);
    color: #fff;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    border-bottom: 3px solid var(--primary);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.logo-text h1 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    color: var(--light);
}

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

.logo-text p {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--primary);
}

.btn-whats-nav {
    background: linear-gradient(135deg, var(--success), #20b859);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    color: #fff !important;
    font-weight: bold;
    transition: all 0.3s;
    border-left: 2px solid var(--accent);
}

.btn-whats-nav:hover {
    background: linear-gradient(135deg, #20b859, var(--success));
    transform: scale(1.02);
    color: #fff !important;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Carrossel */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    z-index: 2;
    max-width: 550px;
}

.slide-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    font-weight: 800;
}

.slide-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
}

/* Serviços */
.services {
    padding: 5rem 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary);
}

.service-card i {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Vitrine de Produtos */
.products {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #1a2c3e 0%, #2c3e50 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 1.5rem;
    background: #fff;
    transition: all 0.3s ease;
}

.product-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.product-card:hover .product-info h3::after {
    width: 60px;
}

.product-features {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-features {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features ul li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features ul li:last-child {
    border-bottom: none;
}

.product-features ul li::before {
    content: "🔧";
    font-size: 0.8rem;
    color: var(--primary);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

/* About */
.about {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 800;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-text ul {
    list-style: none;
}

.about-text ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.about-text ul li i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 3px solid var(--primary);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Location */
.location {
    padding: 5rem 0;
    background-color: #fff;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-card {
    background: var(--gray-bg);
    padding: 1.8rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.info-card:hover {
    transform: translateX(5px);
    border-left-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.info-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.info-card h3 {
    margin-bottom: 0.8rem;
    color: var(--secondary);
    font-weight: 700;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--success), #20b859);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #20b859, var(--success));
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.location-map iframe {
    border-radius: 20px;
    width: 100%;
    height: 320px;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-logo h3 {
    font-size: 1.4rem;
}

.footer-logo h3 span {
    color: var(--primary);
}

.footer-logo p {
    font-size: 0.85rem;
    color: #aaa;
}

.footer-contact {
    margin: 0.3rem 0;
}

.footer-contact p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
}

.footer-contact i {
    margin-right: 0.6rem;
    color: var(--primary);
}

.footer-copy {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--secondary);
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        gap: 1.2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    nav ul.show {
        display: flex;
    }

    .mobile-menu-icon {
        display: block;
    }

    .about-content, .location-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-image {
        height: 180px;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        bottom: 15%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.6rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 42px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}