/* ==================== RESET & VARIABLES ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --primary-dark: #C44A2C;
    --primary-light: #FFE5DC;
    --accent-color: #F7931E;
    --success-color: #25D366;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E8E8E8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-dark: linear-gradient(135deg, #C44A2C 0%, #FF6B35 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FAFAFA;
}

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

/* ==================== BUTTONS ==================== */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 40px;
    font-size: 18px;
    box-shadow: var(--shadow);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-checkout {
    background: var(--primary-color);
    color: white;
    width: 100%;
    margin-top: 20px;
}

.btn-checkout:hover {
    background: var(--primary-dark);
}

.btn-submit {
    background: var(--success-color);
    color: white;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #1fb855;
}

/* ==================== NAVBAR ==================== */

.navbar {
    background: var(--gradient-dark);
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

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

.navbar-brand h1 {
    font-size: 24px;
    margin-bottom: 4px;
}

.brand-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.admin-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    margin-right: 10px;
    text-decoration: none; /* Adicionado para o link */
    display: inline-block; /* Adicionado para o link */
    text-align: center; /* Adicionado para o link */
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-badge {
    background: var(--accent-color);
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 4px;
}

/* ==================== HERO SECTION ==================== */

.hero {
    background: url('./hero_nabrasa.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 52px;
    margin-bottom: 24px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* ==================== FEATURES SECTION ==================== */

.features-section {
    padding: 60px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 35px;
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== MENU SECTION ==================== */

.menu-section {
    padding: 60px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

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

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.tab-btn:hover {
    border-color: var(--primary-color);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--border-color);
}

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

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}



.product-info {
    padding: 20px;
}

.product-name {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary-light);
    color: var(--primary-dark);
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

.qty-control button:hover {
    background: var(--primary-color);
    color: white;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: white;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== ABOUT SECTION ==================== */

.about-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-light), white);
}

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

.about-text h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* ==================== CONTACT SECTION ==================== */

.contact-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 40px;
}

.contact-item h3 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

/* ==================== CART SIDEBAR ==================== */

.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-light);
    font-weight: 600;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-message {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--primary-light);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.cart-item-info h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 16px;
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 14px;
    margin: 5px 0;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 700;
}

.remove-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.remove-btn:hover {
    background: #b91c1c;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--border-color);
    background: var(--primary-light);
}

.cart-summary {
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.summary-row.total {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
}

/* ==================== MODAL ==================== */

.pix-content {
    max-width: 450px;
    text-align: center;
}

.pix-body {
    padding: 20px;
}

.pix-instruction {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.qr-code-container {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-code-container img {
    display: block;
    width: 200px;
    height: 200px;
}

.pix-instruction-copy {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.copy-paste-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.copy-paste-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
}

.btn-copy-pix {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-copy-pix:hover {
    background: var(--primary-dark);
}

.pix-warning {
    font-size: 12px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.thank-you-message {
    padding: 40px 20px;
    text-align: center;
    background: var(--primary-light);
    border-radius: 0 0 12px 12px;
}

.thank-you-message h3 {
    color: var(--success-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.thank-you-message p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-dark);
}

/* FIM DOS ESTILOS PIX */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}



.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-light);
}

.modal-header h2 {
    color: var(--primary-dark);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.checkout-container {
    padding: 20px;
}

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.order-summary {
    background: var(--primary-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    color: var(--primary-dark);
    font-weight: 600;
}

.order-item-qty {
    color: var(--text-light);
    font-size: 14px;
}

.order-item-price {
    color: var(--accent-color);
    font-weight: 700;
}

.coupon-area {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.coupon-area .form-input {
    flex: 1;
    margin-bottom: 0;
}

.btn-coupon {
    background: var(--primary-dark);
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

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

.order-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 10px 0;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .navbar-menu {
        gap: 15px;
    }

    .nav-link {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    .modal-content {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .navbar-brand h1 {
        font-size: 18px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .products-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ==================== MODAL PIX ==================== */

.pix-content {
    max-width: 450px;
    text-align: center;
}

.pix-body {
    padding: 20px;
}

.pix-instruction {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.qr-code-container {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    display: inline-block;
}

#pix-qr-code {
    width: 250px;
    height: 250px;
    display: block;
}

.pix-instruction-copy {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.copy-paste-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#pix-copy-paste {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #f9f9f9;
    cursor: text;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn-copy-pix {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-copy-pix:hover {
    background-color: var(--primary-dark);
}

.pix-warning {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-top: 15px;
}

/* ==================== REVIEWS SECTION ==================== */

.reviews-section {
    padding: 60px 0;
    background: #f9fafb;
}

.review-form-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.review-form-container h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-selector label {
    font-weight: 600;
    color: var(--text-dark);
}

.video-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-upload label {
    font-weight: 600;
    color: var(--text-dark);
}

.reviews-list {
    display: grid;
    gap: 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-author strong {
    color: var(--primary-dark);
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.review-stars {
    color: #FFC107;
    font-size: 16px;
}

.review-date {
    color: var(--text-light);
    font-size: 14px;
}

.review-comment {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-video {
    margin-top: 15px;
}

.review-video video {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.empty-message {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    padding: 40px 20px;
}
