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

:root {
    --primary: #c41e3a;
    --secondary: #a01830;
    --accent: #e85d04;
    --highlight: #e85d04;
    --green: #4caf50;
    --yellow: #ffc107;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --border: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--highlight);
}

.btn-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-whatsapp {
    background: #25d366;
    color: white;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--accent) 50%, var(--primary) 100%);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(-15deg);
}

.hero::after {
    content: "";
    position: absolute;
    top: 100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--green) 0%, var(--yellow) 100%);
    opacity: 0.08;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.highlight {
    color: var(--highlight);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Section Styles */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--highlight);
    margin-bottom: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

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

/* Sobre Section */
.sobre {
    padding: 100px 0;
    background: var(--bg);
}

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

.sobre-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.sobre-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.sobre-lista {
    list-style: none;
    margin-top: 25px;
}

.sobre-lista li {
    padding: 8px 0;
    color: var(--text);
    font-weight: 500;
}

.sobre-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.image-placeholder p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Catálogo Section */
.catalogo {
    padding: 100px 0;
    background: var(--bg-alt);
}

.filtros {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtro {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

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

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.produto-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
    position: relative;
    border: 1px solid var(--border);
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.produto-badge {
    display: inline-block;
    background: var(--highlight);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.produto-image {
    font-size: 3.5rem;
    text-align: center;
    padding: 20px 0;
}

.produto-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.produto-dim {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.produto-preco {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.preco {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.qtd {
    font-size: 0.85rem;
    color: var(--text-light);
}

.produto-min {
    font-size: 0.8rem;
    color: var(--text-light);
}

.catalogo-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 16px;
}

.catalogo-cta p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 20px;
}

/* Diferenciais */
.diferenciais {
    padding: 100px 0;
    background: var(--bg);
}

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

.diferencial-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--bg-alt);
    transition: all 0.3s;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.diferencial-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.diferencial-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Contato */
.contato {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.contato-info h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contato-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contato-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contato-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contato-icon {
    font-size: 1.5rem;
}

.contato-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 3px;
}

.contato-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contato-cta {
    display: flex;
    align-items: center;
}

.cta-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.cta-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.cta-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-brand .logo-text {
    color: white;
    font-size: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.85rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Catálogo Page */
.catalogo-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.catalogo-hero h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.catalogo-page {
    padding-top: 60px;
}

.catalogo-grid .produto-card .produto-image {
    font-size: 0;
    padding: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.catalogo-grid .produto-card .produto-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.catalogo-grid .produto-card .produto-image.sem-foto {
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
    position: relative;
}

.catalogo-grid .produto-card .produto-image.sem-foto::after {
    content: "Foto em breve";
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.nav-active {
    color: var(--highlight) !important;
    font-weight: 600 !important;
}

/* Carrossel */
.carrossel {
    position: relative;
}

.carrossel-inner {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
}

.carrossel-slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
}

.carrossel-slide.ativo {
    display: block;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: var(--text);
    font-size: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s;
}

.carrossel-btn:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carrossel-prev {
    left: 8px;
}

.carrossel-next {
    right: 8px;
}

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

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

.dot.ativo {
    background: white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.lightbox.ativo {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-fechar {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.lightbox-fechar:hover {
    color: var(--highlight);
}

#lightbox-legenda {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    font-size: 1rem;
}

.catalogo-grid .produto-card .produto-image img {
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2001;
}

.lightbox-nav.visivel {
    display: flex;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav-prev {
    left: 20px;
}

.lightbox-nav-next {
    right: 20px;
}

.lightbox img {
    cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }

    .btn-header {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .btn-header svg {
        width: 16px;
        height: 16px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stat {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
}
