:root {
    --primary: #FF5A00;
    --primary-hover: #E04D00;
    --secondary: #2C3035;
    --dark: #121416;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-800: #1F2937;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(255, 90, 0, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 35px;
    width: 35px;
    object-fit: cover;
    border-radius: 6px;
}

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

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background-color: var(--gray-100);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1);
}

.btn-search {
    position: absolute;
    right: 5px;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-search:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 500;
}

.nav-links a:not(.btn-cart):hover {
    color: var(--primary);
}

.btn-cart {
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cart span {
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.btn-cart:hover {
    background: var(--gray-200);
}

/* HERO SECTION */
.hero {
    /* Ajuste fino conforme solicitado: aumentando um pouco mais a altura */
    height: 85vh;
    width: 100%;
    color: var(--white);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.bg-static {
    /* Use contain to ensure the entire image is visible, or cover to fill the space without distortion */
    background: url('imagens/fundo.jpg?v=2') center/cover no-repeat;
}

/* Oscurecer um pouco a imagem para dar leitura no texto, focado no lado direito */
.bg-static::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 3;
    padding-bottom: 80px; /* Move the content upwards inside the centered flex container */
}

.text-right {
    justify-content: flex-end; /* Move o conteúdo para a direita */
}

.hero-text {
    flex: 1;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    width: 100%;
}

.hero-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-actions .btn {
    padding: 12px 20px;
    font-size: 1rem;
}

.hero-actions .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}



/* SECTION HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
}

.section-header h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.view-all {
    font-weight: 600;
    color: var(--primary);
}

.view-all:hover {
    text-decoration: underline;
}

/* FEATURED PRODUCTS */
.featured-products {
    padding: 80px 5%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-image {
    height: 200px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--gray-100);
    padding: 20px;
}

/* EVOLUTION WHEELS */
.stone-wheel {
    background-image: url('https://cdn-icons-png.flaticon.com/512/5725/5725299.png'); /* Placeholder stone wheel */
    background-size: 60%;
}
.wood-wheel {
    background-image: url('https://cdn-icons-png.flaticon.com/512/3050/3050181.png'); /* Placeholder wood wagon wheel */
    background-size: 60%;
}
.iron-wheel {
    background-image: url('https://cdn-icons-png.flaticon.com/512/5021/5021021.png'); /* Placeholder iron wheel */
    background-size: 60%;
}
.alloy-wheel {
    background-image: url('https://cdn-icons-png.flaticon.com/512/4603/4603681.png'); /* Placeholder alloy wheel */
    background-size: 60%;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.condition {
    background: var(--gray-800);
}

.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.card-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.new-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.old-price {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.btn-add {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add:hover {
    background: var(--primary);
    color: white;
}

/* CARDS EFFECTS */
.bg-gray {
    background-color: var(--gray-200);
}

/* INFO SECTION */
.bg-dark {
    background-color: var(--dark);
    color: white;
}

.benefits {
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item .hand-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1); /* Invert black icons to white for the dark background */
}

/* HAND ICONS */
.hand-ok {
    background-image: url('https://cdn-icons-png.flaticon.com/512/10002/10002302.png'); /* Placeholder ok hand */
}
.hand-shake {
    background-image: url('https://cdn-icons-png.flaticon.com/512/3114/3114897.png'); /* Placeholder handshake */
}
.hand-peace {
    background-image: url('https://cdn-icons-png.flaticon.com/512/7504/7504546.png'); /* Placeholder peace sign */
}
.hand-thumbs {
    background-image: url('https://cdn-icons-png.flaticon.com/512/10002/10002342.png'); /* Placeholder thumbs up */
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.benefit-item p {
    color: #A0AAB2;
    font-size: 0.95rem;
}

/* FOOTER */
footer {
    background-color: #0A0B0C;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-content .brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-content .brand span {
    color: var(--primary);
}

.footer-content .brand p {
    color: #8A949E;
    max-width: 300px;
}

.footer-content h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-content .links a {
    display: block;
    color: #8A949E;
    margin-bottom: 10px;
}

.footer-content .links a:hover {
    color: var(--primary);
}

.contact p {
    color: #8A949E;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #6A747E;
    font-size: 0.9rem;
}

/* RESPONSIVE */
/* Tablet e Monitores Menores */
@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        justify-content: center;
        text-align: center;
    }
    
    .text-right {
        justify-content: center; /* Remove o alinhamento exclusivo para direita no mobile */
    }

    .hero-text {
        max-width: 90%; /* Margem de segurança lateral de 10% (5% de cada lado) */
        margin: 0 auto;
        padding: 25px 20px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column; /* Botões empilhados para não cortar texto nos botões */
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    
    .engine-display {
        width: 100%;
        max-width: 400px;
    }
    
    .glass-card {
        left: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 60vh;
        padding: 40px 0;
    }

    .nav-container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        min-width: 100%;
        margin-top: 15px;
    }

    .hero-text {
        padding: 20px 15px; /* Mais compacto em celulares */
        width: 100%;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr; /* 1 coluna em celulares */
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* FLOATING WIDGETS (Bot e WhatsApp) */
.floating-widgets {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.whatsapp-float {
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.bot-janela-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.bot-janela-toggle:hover {
    background: #e04e00;
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--dark);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chatbot-body {
    padding: 20px;
    min-height: 200px;
    background: var(--gray-100);
    font-size: 0.95rem;
    color: var(--text-color);
}

.chatbot-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: white;
    border-top: 1px solid var(--gray-200);
}

.chatbot-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
}

.chatbot-footer button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content .brand {
        margin: 0 auto;
    }
    
    .chatbot-window {
        width: 90%;
        right: 5%;
        bottom: 80px;
    }
}

/* ====== BANNER DE COOKIES (LGPD) ====== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    border-left: 5px solid var(--primary);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
}

.btn-cookie-accept:hover {
    background: #e65100;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 15px;
    }
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
}


/* Toast para compartilhamento */
.share-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--dark, #2c3e50); color: white; padding: 12px 24px; border-radius: 50px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 99999; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.share-toast.active { transform: translateX(-50%) translateY(0); opacity: 1; }
.share-toast .toast-icon { font-size: 1.2rem; }
