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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
}

.nav-logo img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    color: #667eea;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #667eea;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header/Banner */
.banner {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-placeholder {
    padding: 40px;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.banner-placeholder h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.banner-placeholder p {
    font-size: 1.3em;
    opacity: 0.9;
}

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

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

/* Filtros de Categoria */
.categorias-filtro {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
}

.categoria-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.categoria-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.categoria-btn.active {
    background: #667eea;
    color: white;
}

/* Grid de Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.produto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.produto-imagem {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.5s ease;
}

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

.imagem-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
    font-size: 0.9em;
}

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.produto-descricao {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
    min-height: 40px;
}

.produto-preco {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.btn-comprar {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-comprar:hover {
    background: #20BA5A;
}

.sem-produtos {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2em;
    grid-column: 1 / -1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-modal:hover {
    color: #000;
}

.modal-produto-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-produto-imagem {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.modal-produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-produto-info h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #333;
}

.produto-preco-grande {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
}

.produto-descricao-completa {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.btn-comprar-modal {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section p,
.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #5568d3;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.9em;
}

/* Páginas de Conteúdo */
.page-content {
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

/* Sobre */
.sobre-container {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.sobre-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: white;
}

.sobre-header p {
    font-size: 1.3em;
    opacity: 0.95;
}

.sobre-content {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.9;
    color: #444;
    font-size: 1.1em;
}

.sobre-content h2 {
    color: #667eea;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2em;
}

.sobre-content h2:first-child {
    margin-top: 0;
}

.sobre-content p {
    margin-bottom: 25px;
}

.sobre-content ul,
.sobre-content ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.sobre-content li {
    margin-bottom: 10px;
}

.sobre-highlight {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin: 30px 0;
}

.sobre-highlight p {
    margin: 0;
    font-size: 1.15em;
    font-style: italic;
    color: #555;
}

/* Depoimentos */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.depoimento-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.depoimento-imagem-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.depoimento-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.depoimento-card-content {
    padding: 30px;
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.depoimento-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.depoimento-info h3 {
    margin: 0;
    color: #333;
}

.depoimento-cidade {
    color: #999;
    font-size: 0.9em;
    margin: 5px 0 0 0;
}

.depoimento-estrelas {
    color: #FFD700;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.depoimento-texto {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.depoimento-produto {
    color: #667eea;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 10px;
}

/* Contato */
.contato-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.contato-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contato-item h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.contato-item p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.contato-item .btn-comprar {
    width: auto;
    padding: 12px 30px;
    margin: 0 auto;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 8px;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 15px 0;
    }

    .nav-link.active::after {
        display: none;
    }

    .banner {
        height: 200px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }
    }


    .banner-placeholder h1 {
        font-size: 2em;
    }

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

    .section-title {
        font-size: 2em;
    }

    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }

    .modal-produto-content {
        flex-direction: column;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .contato-info {
        grid-template-columns: 1fr;
    }

    .sobre-container {
        padding: 20px;
    }

    .sobre-content {
        padding: 30px 20px;
    }

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

    .categorias-filtro {
        gap: 10px;
    }

    .categoria-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

   
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .banner-placeholder h1 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .categorias-filtro {
        gap: 8px;
    }
    
    .categoria-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

/* Melhorias de Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Container Queries para melhor responsividade */
.produtos-grid {
    container-type: inline-size;
    container-name: produtos;
}

@container produtos (max-width: 768px) {
    .produto-card {
        width: 100%;
    }
}

