:root {
    --primary-color: #ff4757;
    --primary-hover: #ff6b81;
    --bg-color: #f8f9fa;
    /* Soft gray background */
    --card-bg: #ffffff;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --border-color: #e2e8f0;
    --font-family: 'Outfit', sans-serif;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0 20px;
}

.nav-links li a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.logo h1 {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #0A679B, #B90819);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.logo h1 span {
    color: inherit;
}

/* Hero */
.hero {
    position: relative;
    padding: 10rem 0;
    /* Increased padding / size */
    text-align: center;
    background: url('../imagem/hero-bg.png') no-repeat center center/cover;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    color: #ffffff;
    /* Force white text */
}

/* Dark overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 14px rgba(255, 71, 87, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

/* Brands Section */
.brands-section {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.brand-item {
    flex: 1;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    filter: grayscale(1);
    opacity: 0.6;
}

.brand-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.brand-item img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brands-grid {
        gap: 2rem;
    }

    .brand-item img {
        max-width: 100px;
    }
}

/* Products Section */
.products-container {
    padding: 5rem 20px;
    background: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filters input,
.filters select {
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    min-width: 200px;
}

.filters input:focus,
.filters select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Product Card */
.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    /* Ensure whitespace around logo/product */
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.4;
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
}

.whatsapp-button:hover {
    background-color: #1ebc57;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.details-btn {
    background: transparent;
    color: var(--text-muted);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-weight: 500;
    text-align: center;
}

.details-btn:hover {
    background: var(--bg-color);
    color: var(--text-color);
    border-color: #cbd5e1;
}

/* Product Page Styles */
.product-detail-container {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        padding: 4rem;
    }
}

.detail-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
}

.detail-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.detail-brand {
    font-size: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;
}

.main-cta {
    font-size: 1.1rem;
    padding: 16px;
    margin-bottom: 3rem;
    max-width: 300px;
    text-align: center;
}

.detail-description {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.detail-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.detail-description .desc-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
}

/* Info Section */

.info-col h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.info-col .brand-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(to right, #0A679B, #B90819);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-col p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-col ul {
    list-style: none;
    padding: 0;
}

.info-col ul li {
    margin-bottom: 1rem;
}

.info-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.info-col ul li a:hover {
    color: var(--primary-color);
}

.secondary-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid #22c55e;
    color: #22c55e;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: var(--transition);
    font-size: 0.95rem;
    background: #fff;
}

.secondary-whatsapp:hover {
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.info-col .contact-title {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

/* Policy Pages */
.policy-page {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.policy-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.policy-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.alert {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    line-height: 1.6;
}

.alert.note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.alert.warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Header Responsive */
@media (max-width: 768px) {
    .main-header .container {
        padding: 0 1.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 82px;
        /* High enough to clear header */
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: calc(100vh - 82px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        justify-content: center;
        z-index: 99;
        /* Below header (z-index 100) */
        padding: 2rem;
        margin: 0;
        /* Clear horizontal margin */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0.8rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 20px;
    }

    .grid {
        gap: 1.5rem;
    }
}

/* Related Products */
.related-products-section {
    padding-bottom: 5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    margin-top: 2rem;
}

.related-products-section .section-title {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}