/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1B5E20;
    --secondary-yellow: #FDD835;
    --dark-gray: #263238;
    --light-bg: #F9FAFB;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

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

/* Header */
.header {
    background: rgba(52, 68, 83, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Header ao rolar (scrolled) */
.header.scrolled .header-content {
    padding: 0.5rem 0;
}

.header.scrolled .logo-img {
    height: 40px;
    max-width: 89px;
}

.header.scrolled .nav-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
}

.header.scrolled .whatsapp-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.header-content .nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-green);
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 133px;
    object-fit: contain;
}

/* Logo no Hero */
.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-logo-img {
    max-width: 500px;
    height: auto;
    width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

/* Seção de Marcas */
.brands-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.brand-category {
    margin-bottom: 4rem;
}

.brand-category:last-child {
    margin-bottom: 0;
}

.brand-category h3 {
    color: var(--primary-green);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.brand-item {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    width: 200px;
    flex-shrink: 0;
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.brand-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
}

.brand-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-item:hover .brand-img {
    filter: grayscale(0%);
}

.brand-placeholder {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: center;
}


.brand-link {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.brand-link:hover {
    background: #2e7d32;
    transform: translateY(-1px);
}

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

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-yellow);
    background-color: rgba(253, 216, 53, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Garantir que mobile-whatsapp não apareça no desktop */
@media (min-width: 769px) {
    .mobile-whatsapp {
        display: none !important;
    }
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-green);
}

.whatsapp-btn:hover {
    background: #2e7d32;
    border-color: #2e7d32;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
    padding: 0 0 2rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.7) 0%, rgba(46, 125, 50, 0.7) 100%), 
                url('../imgs/bg-desktop.png') center/cover no-repeat;
    color: white;
    padding: 8rem 0;
    text-align: center;
    margin-bottom: 3rem;
    min-height: 60vh;
    min-height: calc(var(--vh, 1vh) * 60);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.7) 0%, rgba(46, 125, 50, 0.7) 100%), 
                url('../imgs/bg-desktop.png') center/cover no-repeat;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #2e7d32;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Category Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.card-body p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    flex: 1;
}

.card-body .btn {
    margin-top: auto;
    align-self: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    background: var(--light-bg);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    background: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-item.brand {
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary-green);
}

.meta-item.condition {
    background: rgba(253, 216, 53, 0.1);
    color: var(--dark-gray);
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-whatsapp {
    flex: 1;
    background: #25d366;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.btn-details {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-details:hover {
    background: #2e7d32;
    transform: translateY(-1px);
}

/* Filters */
.filters {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border-color: rgba(245, 158, 11, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.95) 0%, rgba(46, 125, 50, 0.95) 100%), 
                url('../imgs/bg-footer.png') center center / cover no-repeat;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-yellow);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 500;
}

.social-link:hover {
    background: var(--secondary-yellow);
    color: var(--primary-green);
}

/* Selo de Site Seguro */
.security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    margin: 1.5rem 0;
    transition: var(--transition);
}

.security-badge:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
}

.security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--success-color);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.security-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.security-title {
    font-weight: 600;
    color: var(--success-color);
    font-size: 0.9rem;
}

.security-subtitle {
    font-size: 0.8rem;
    color: #d1d5db;
}

.contact-info p {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary-yellow);
}

.footer-credits {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-credits a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-credits a:hover {
    color: var(--secondary-yellow);
}

/* Páginas Legais */
body.legal-page-body {
    background: var(--light-bg) !important;
}

body.legal-page-body .container {
    padding: 0 3rem;
}

.legal-page {
    background: var(--white);
    padding: 4rem 6rem !important;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.legal-content {
    line-height: 1.8;
    color: var(--text-color);
}

.legal-content h1 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.legal-content h2 {
    color: var(--primary-green);
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid var(--secondary-yellow);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: var(--dark-gray);
    margin: 1.5rem 0 0.5rem 0;
}

.legal-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--primary-green);
}

.last-updated {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-yellow);
}

.breadcrumb span {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

/* Responsividade para páginas legais */
@media (max-width: 768px) {
    body.legal-page-body .container {
        padding: 0 2rem;
    }
    
    .legal-page {
        padding: 3rem 4rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    body.legal-page-body .container {
        padding: 0 1.5rem;
    }
    
    .legal-page {
        padding: 2rem 3rem;
        margin: 0.5rem 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .header-content .nav {
        flex: none;
        display: none;
        width: 100%;
        order: 3;
    }
    
    .nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--primary-green);
        z-index: 1000;
        padding: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        text-align: center;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem 2rem;
        color: var(--white);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: var(--transition);
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        transform: scale(1.05);
    }
    
    .nav-link.active::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--secondary-yellow);
    }
    
    .mobile-whatsapp {
        display: none !important;
    }
    
    .nav.active .mobile-whatsapp {
        display: block !important;
        margin-top: 2rem;
        padding: 0 2rem;
        width: 100%;
        text-align: center;
    }
    
    .whatsapp-btn-mobile {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        text-decoration: none;
        border-radius: var(--border-radius);
        font-weight: 600;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: var(--transition);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .whatsapp-btn-mobile:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
        border-color: var(--secondary-yellow);
    }
    
    .whatsapp-btn-mobile svg {
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid var(--primary-green);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--secondary-yellow);
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-green);
        margin: 3px 0;
        transition: var(--transition);
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active span {
        background: var(--white);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    
    .header-actions {
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    .logo-img {
        height: 40px;
        width: auto;
        max-width: 89px;
        object-fit: contain;
    }
    
    .hero-logo-img {
        max-width: 400px;
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .brands-grid {
        gap: 1rem;
    }
    
    .brand-item {
        padding: 1.5rem;
        width: calc(50% - 0.5rem);
        max-width: none;
    }
    
    .brand-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    /* Menu mobile para telas muito pequenas */
    @media (max-width: 480px) {
        .nav-link {
            padding: 1.25rem 1.5rem;
            font-size: 1rem;
        }
        
        .mobile-whatsapp {
            padding: 0 1.5rem 2rem;
        }
        
        .whatsapp-btn-mobile {
            padding: 0.875rem 1.5rem;
            font-size: 1rem;
        }
    }
    
    .brand-img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .brand-placeholder {
        width: 100%;
        height: 100%;
        font-size: 0.875rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .footer-credits {
        margin-top: 1.5rem;
    }
    
    .security-badge {
        margin: 1rem 0;
        padding: 0.5rem 0.75rem;
    }
    
    .security-icon {
        width: 28px;
        height: 28px;
    }
    
    .security-title {
        font-size: 0.85rem;
    }
    
    .security-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: 50vh;
        background: linear-gradient(135deg, rgba(27, 94, 32, 0.7) 0%, rgba(46, 125, 50, 0.7) 100%), 
                    url('../imgs/bg-mobile.png') center/cover no-repeat;
    }
    
    .hero-fallback {
        background: linear-gradient(135deg, rgba(27, 94, 32, 0.7) 0%, rgba(46, 125, 50, 0.7) 100%), 
                    url('../imgs/bg-mobile.png') center/cover no-repeat;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-logo-img {
        max-width: 300px;
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .card-body,
    .product-info {
        padding: 1rem;
    }
    
    .filters {
        padding: 1rem;
    }
    
    .whatsapp-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .logo-img {
        height: 35px;
        width: auto;
        max-width: 78px;
        object-fit: contain;
    }
    
    .product-image-container {
        height: 160px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-logo-img {
        max-width: 250px;
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .product-image-container {
        height: 140px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--primary-green);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 1.5rem;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.cookie-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

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

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-settings-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-category-header h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cookie-category-header p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.cookie-details {
    margin-top: 1rem;
    padding-left: 3rem;
}

.cookie-details ul {
    margin: 0;
    padding-left: 1rem;
}

.cookie-details li {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-green);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: var(--primary-green);
    opacity: 0.7;
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--light-bg);
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-settings {
        padding: 1rem;
    }
    
    .cookie-settings-content {
        padding: 1.5rem;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-details {
        padding-left: 0;
    }
}

/* Correções específicas para iOS/Safari */
@supports (-webkit-touch-callout: none) {
    /* iPhone/iPad specific fixes */
    .hero {
        min-height: -webkit-fill-available;
    }
    
    body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .main {
        overflow-x: hidden;
    }
    
    /* Fix para botões de toque */
    .btn, .brand-link, .equipment-card {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }
    
    /* Fix para inputs */
    input, select, textarea {
        font-size: 16px;
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    /* Fix para backdrop-filter */
    .header {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .pagination,
    .cookie-banner,
    .cookie-settings {
        display: none;
    }
    
    .main {
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Banner de Equipamentos */
.equipment-banner-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
}

.equipment-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.equipment-card {
    text-decoration: none;
    color: inherit;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.equipment-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.equipment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.equipment-card:hover .equipment-img {
    transform: scale(1.1);
}

.equipment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
}

.equipment-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.equipment-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.equipment-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.equipment-cta {
    display: inline-block;
    background: var(--secondary-yellow);
    color: var(--primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.equipment-card:hover .equipment-cta {
    background: white;
    transform: scale(1.05);
}

.equipment-card:hover .equipment-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Responsividade do Banner de Equipamentos */
@media (max-width: 968px) {
    .equipment-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .equipment-image {
        height: 250px;
    }
    
    .equipment-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .equipment-banner-section {
        padding: 3rem 0;
    }
    
    .equipment-banner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .equipment-image {
        height: 220px;
    }
    
    .equipment-content {
        padding: 1.5rem;
    }
    
    .equipment-content h3 {
        font-size: 1.25rem;
    }
    
    .equipment-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .equipment-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Seção de Benefícios das Peças Usadas */
.benefits-section {
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23cbd5e0" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23a0aec0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-yellow));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.benefit-svg-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.benefit-card:hover h3 {
    color: var(--secondary-yellow);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 0;
}

/* Responsividade para seção de benefícios */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .benefit-card h3 {
        font-size: 1.25rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .benefits-section {
        padding: 2rem 0;
    }
    
    .benefit-card {
        padding: 1.25rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-svg-icon {
        width: 100%;
        height: 100%;
    }
}
