﻿/* ===== ESTILOS PARA PÁGINAS INTERNAS ===== */

/* Page Header - Breadcrumb e Título */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem 0 1.5rem 0;
    margin-top: 0;
    padding-top: 160px;
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 0;
        padding: 80px 0 1.25rem 0;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #999;
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
}

.breadcrumb a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #666;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.75rem;
        letter-spacing: 0.5px;
    }
}

/* Page Content */
.page-content {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Content Wrapper - Layout com Sidebar */
.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar - Filtros */
.sidebar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    background: #f5f5f5;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Section */
.filter-section {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.25rem;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.filter-header h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.filter-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.filter-section.collapsed .filter-toggle {
    transform: rotate(180deg);
}

.filter-content {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.filter-section.collapsed .filter-content {
    display: none;
}

/* Filter Options */
.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    padding-left: 0.25rem;
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #ffd700;
}

.filter-option label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-option label:hover {
    color: #1a1a1a;
}

.filter-count {
    font-size: 0.85rem;
    color: #999;
}

.show-more {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.show-more:hover {
    color: #1a1a1a;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: block;
    padding: 0.5rem 0;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.category-list a:hover {
    color: #1a1a1a;
    padding-left: 0.25rem;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.products-count {
    font-size: 1rem;
    color: #666;
}

.products-count strong {
    color: #1a1a1a;
    font-weight: 700;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.products-sort label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.products-sort select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.products-sort select:hover {
    border-color: #ffd700;
}

.products-sort select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Products Grid */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-code {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.product-btn {
    width: 100%;
    padding: 0.75rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-btn:hover {
    background: #ffd700;
    color: #1a1a1a;
}

.product-btn svg {
    width: 16px;
    height: 16px;
}

/* About Content - Página Quem Somos */
.about-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .page-content {
        padding: 2rem 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sidebar {
        position: static;
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .products-sort {
        width: 100%;
    }

    .products-sort select {
        flex: 1;
    }

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

    .product-card {
        padding: 1rem;
    }

    .product-image {
        height: 150px;
    }

    .product-name {
        font-size: 0.85rem;
        min-height: 2.5rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .product-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

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

    .about-text {
        padding: 1.5rem 1rem;
    }

    .sidebar {
        padding: 0;
    }
}


/* Páginas de Conteúdo */
.page-content {
    padding: 6rem 2rem 4rem;
    min-height: 60vh;
    background: #f8f8f8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #FFC700;
}

.breadcrumb span {
    color: #999;
}

.page-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
}

.content-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.content-box .intro {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.content-box h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-box p {
    color: #555;
    margin-bottom: 1.5rem;
}

.content-box ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.content-box ul li {
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Página Fale Conosco */
.fale-conosco-page {
    background: #fff;
}

.fale-conosco-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.fale-conosco-page .subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #FFD700;
    color: #1a1a1a;
}

.btn-primary:hover {
    background: #FFC700;
}

.btn-secondary {
    background: #e0e0e0;
    color: #666;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-section h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item strong {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
}

.info-item p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-container {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .page-content {
        padding: 5rem 1rem 3rem;
    }

    .page-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    .content-box .intro {
        font-size: 1rem;
    }

    .content-box h2 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.75rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .fale-conosco-page .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

