:root {
    --primary: #cc0000;
    --primary-dark: #a80000;
    --secondary: #222222;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --text-color: #444444;
    --border-color: #dddddd;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.section-title.left {
    text-align: left;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-title.left .divider {
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

/* Warning button for reset */
.btn-warning {
    background-color: #ff9800; /* Amber */
    color: var(--white);
    border: none;
    transition: var(--transition);
}

.btn-warning:hover {
    background-color: #e68900; /* Darker amber */
}


.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

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

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Banner */
.banner {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #1a0000 0%, #cc0000 50%, #8a0000 100%);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.banner-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.category-card.category-active {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.25);
}

.category-card.category-active i,
.category-card.category-active h3 {
    color: #ffffff;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.category-card h3 {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Products */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

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

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center top;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: auto;
    margin-bottom: 15px;
}

/* About */
.about-img-top {
    width: 100%;
    margin-bottom: 35px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    line-height: 0;
}
.about-img-top img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}
.about-content-below {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.about-content-below > p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.85) !important;
}
.mission-values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
    text-align: left;
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mission-values {
    margin-top: 30px;
}

.mv-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mv-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 5px;
}

.mv-item h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(204, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

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

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

.cart-header h3 {
    color: var(--secondary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

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

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

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

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.qty-btn {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

.remove-item {
    color: #ff3333;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    font-size: 0.9rem;
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.cart-overlay.show {
    display: block;
}

.empty-cart-msg {
    text-align: center;
    color: #999;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mission-values-row {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .d-none-mobile {
        display: none;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 20px;
    }

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

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-title .divider {
        margin: 0 auto;
    }

    .about-content p, 
    .about-content .mission-values {
        text-align: center;
    }

    .mv-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .cart-sidebar {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .product-img {
        height: 180px;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a0000 0%, #2d0000 50%, #1a0000 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(204,0,0,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-section .section-title h2 {
    color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(204,0,0,0.3);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 15px 40px rgba(204,0,0,0.2);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.testimonial-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(204,0,0,0.2);
    padding-top: 15px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid rgba(204,0,0,0.5);
}

.testimonial-author-info strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   SECURE PURCHASE CERTIFICATE SECTION
   ============================================ */
.secure-purchase-section {
    padding: 60px 0;
    background: #f8f8f8;
    border-top: 3px solid var(--primary);
}

.secure-purchase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.secure-badge-main {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 8px 30px rgba(204,0,0,0.12);
    max-width: 600px;
    width: 100%;
}

.secure-badge-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(204,0,0,0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(204,0,0,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(204,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(204,0,0,0); }
}

.secure-badge-icon i {
    font-size: 2.5rem;
    color: white;
}

.secure-badge-text h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 6px;
}

.secure-badge-text p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

.secure-badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.mini-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mini-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(204,0,0,0.12);
    transform: translateY(-2px);
}

.mini-badge i {
    font-size: 1.4rem;
    color: var(--primary);
}

.mini-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .secure-badge-main {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .secure-badges-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .mini-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SÃO JOÃO - CUPOM FLUTUANTE NA LATERAL
   ============================================ */
.saojoao-coupon-float {
    position: fixed;
    right: 25px;
    top: 110px;
    width: 170px;
    background: linear-gradient(135deg, #8b0000 0%, #cc0000 100%);
    border: 2px dashed #e9c46a;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(204,0,0,0.35);
    z-index: 8999;
    padding: 15px;
    color: #fff;
    font-family: inherit;
    animation: couponFloat 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
}
@keyframes couponFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.coupon-close-btn {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}
.coupon-close-btn:hover {
    color: #fff;
}
.coupon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.coupon-tag {
    background: #e9c46a;
    color: #8b0000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.coupon-content p {
    font-size: 0.78rem;
    margin-bottom: 10px;
    line-height: 1.3;
    opacity: 0.95;
    font-weight: 600;
}
.coupon-pill {
    background: rgba(255,255,255,0.15);
    border: 1.5px dashed rgba(255,255,255,0.6);
    border-radius: 6px;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    user-select: all;
    font-weight: bold;
    color: #fff8dc;
}
.coupon-pill:hover {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
    transform: scale(1.03);
}
.copy-hint {
    font-size: 0.65rem;
    opacity: 0.7;
    margin-top: 6px;
}

/* ============================================
   SÃO JOÃO - BANDEIRINHAS
   ============================================ */
.saojoao-flags-container {
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    overflow: hidden;
    height: 16px;
    z-index: 1050;
    pointer-events: none;
    background: transparent;
    border-bottom: none;
}
.flags-string {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    height: 100%;
    padding: 0;
    background: linear-gradient(to bottom, #8B6914 0%, #8B6914 15%, transparent 15%);
}
.flags-string span {
    display: inline-block;
    width: 0; height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid var(--fc, #cc0000);
    margin: 0 1px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
    animation: flagWave 2s ease-in-out infinite;
    transform-origin: top center;
}
.flags-string span:nth-child(even)  { animation-delay: 0.3s; }
.flags-string span:nth-child(3n)    { animation-delay: 0.6s; }
.flags-string span:nth-child(4n)    { animation-delay: 0.9s; }
@keyframes flagWave {
    0%, 100% { transform: rotate(-3deg); }
    50%       { transform: rotate(3deg); }
}

/* ============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 25px;
    z-index: 9000;
    display: flex; align-items: center; gap: 10px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 14px 18px;
    font-weight: 700; font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(37,211,102,0.45);
    transition: all 0.35s ease;
    animation: waPulse 2.5s infinite;
    max-width: 64px;
    overflow: hidden;
}
.whatsapp-float:hover {
    max-width: 300px;
    background: #1aab53;
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.whatsapp-float i { font-size: 1.8rem; flex-shrink: 0; }
.whatsapp-float span {
    white-space: nowrap; opacity: 0; max-width: 0;
    overflow: hidden; transition: all 0.35s ease;
}
.whatsapp-float:hover span { opacity: 1; max-width: 250px; }
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================
   BOTÃO ENTRAR NO HEADER
   ============================================ */
.btn-login-header {
    display: flex; align-items: center; gap: 6px;
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 700; font-size: 0.88rem;
    cursor: pointer; transition: var(--transition);
    white-space: nowrap;
}
.btn-login-header:hover { background: var(--primary); color: #fff; }
.btn-login-header i { font-size: 1.1rem; }

/* ============================================
   MODAL LOGIN / CADASTRO
   ============================================ */
.auth-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 8000;
    backdrop-filter: blur(3px);
}
.auth-overlay.show { display: block; }
.auth-modal {
    display: none; position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8100;
    background: #fff; border-radius: 16px;
    width: 95%; max-width: 560px;
    max-height: 90vh; overflow-y: auto;
    padding: 30px 30px 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-modal.show {
    display: block;
    animation: modalIn 0.3s ease forwards;
}
@keyframes modalIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.auth-close {
    position: absolute; top: 15px; right: 18px;
    background: none; border: none;
    font-size: 1.3rem; color: #999; cursor: pointer;
}
.auth-close:hover { color: var(--primary); }
.auth-tabs {
    display: flex; margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}
.auth-tab {
    flex: 1; background: none; border: none;
    padding: 12px; font-size: 1rem; font-weight: 700;
    color: #999; cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: all 0.2s;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-header { text-align: center; margin-bottom: 22px; }
.auth-header h3 { font-size: 1.4rem; color: var(--secondary); margin: 8px 0 4px; }
.auth-header p  { font-size: 0.88rem; color: #777; }
.auth-form-group { margin-bottom: 14px; }
.auth-form-group label {
    display: block; font-size: 0.82rem;
    font-weight: 700; color: var(--secondary); margin-bottom: 5px;
}
.auth-form-group input,
.auth-form-group select {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 0.9rem; outline: none;
    transition: border-color 0.2s; font-family: inherit;
}
.auth-form-group input:focus,
.auth-form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.08);
}
.auth-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 15px; }
.auth-error {
    background: rgba(255,51,51,0.08);
    border: 1px solid rgba(255,51,51,0.25);
    color: #cc0000; border-radius: 8px;
    padding: 10px 14px; font-size: 0.87rem; margin-bottom: 10px;
}
.auth-success {
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.3);
    color: #1a8a3e; border-radius: 8px;
    padding: 10px 14px; font-size: 0.87rem;
    margin-bottom: 10px; text-align: center;
}

@media (max-width: 480px) {
    .auth-fields-grid { grid-template-columns: 1fr; }
    .auth-modal { padding: 22px 15px; }
    .whatsapp-float { bottom: 15px; right: 12px; }
    .saojoao-promo-bar { font-size: 0.8rem; padding: 8px 40px 8px 10px; }
    .saojoao-fire-widget { bottom: 15px; left: 12px; width: 45px; height: 55px; }
    .fire-flames { width: 26px; height: 30px; }
    .red-flame { width: 20px; height: 20px; }
    .orange-flame { width: 16px; height: 16px; }
    .yellow-flame { width: 12px; height: 12px; }
}

/* ============================================
   SÃO JOÃO - CLIMA E FOGUEIRA ADICIONAL
   ============================================ */
/* Fogueira Animada Flutuante */
.saojoao-fire-widget {
    position: fixed;
    bottom: 30px;
    left: 25px;
    width: 60px;
    height: 70px;
    z-index: 9000;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255,100,0,0.4));
}
.fire-flames {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 40px;
}
.flame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0) rotate(-45deg);
    border-radius: 50% 0 50% 50%;
    transform-origin: bottom center;
    animation: riseUp 1.2s infinite ease-in;
}
.red-flame {
    background: linear-gradient(135deg, #cc0000, #ff3d00);
    width: 28px;
    height: 28px;
    animation-duration: 1.4s;
    filter: blur(1.5px);
}
.orange-flame {
    background: linear-gradient(135deg, #ff9100, #ff5722);
    width: 22px;
    height: 22px;
    animation-duration: 1.1s;
    animation-delay: 0.15s;
    filter: blur(1px);
}
.yellow-flame {
    background: linear-gradient(135deg, #ffea00, #ffeb3b);
    width: 16px;
    height: 16px;
    animation-duration: 0.85s;
    animation-delay: 0.3s;
}
.white-flame {
    background: #ffffff;
    width: 10px;
    height: 10px;
    animation-duration: 0.65s;
    animation-delay: 0.45s;
}
@keyframes riseUp {
    0% {
        transform: translateX(-50%) translateY(0) scale(0.3) rotate(-45deg);
        opacity: 1;
    }
    50% {
        transform: translateX(-65%) translateY(-15px) scale(1.1) rotate(-45deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-35%) translateY(-35px) scale(0) rotate(-45deg);
        opacity: 0;
    }
}
.fire-wood {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
}
.log {
    position: absolute;
    background: #5d4037;
    border-radius: 3px;
    height: 6px;
    width: 42px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
}
.log:nth-child(1) {
    transform: rotate(15deg);
    bottom: 3px;
    left: 9px;
}
.log:nth-child(2) {
    transform: rotate(-15deg);
    bottom: 3px;
    right: 9px;
}

/* Faíscas de fogo */
.fire-spark {
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ffa726;
    border-radius: 50%;
    animation: sparkRise 2s infinite ease-out;
}
@keyframes sparkRise {
    0% { transform: translate(-50%, 0) scale(1); opacity: 1; }
    80% { transform: translate(15px, -60px) scale(0.6); opacity: 0.8; }
    100% { transform: translate(-10px, -90px) scale(0); opacity: 0; }
}

/* Efeito de Fogo nos Divisores */
.divider {
    position: relative;
    overflow: visible;
}
.divider::after {
    content: "🔥";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.15rem;
    animation: dividerFlame 1.8s ease-in-out infinite alternate;
}
@keyframes dividerFlame {
    0% { transform: translateX(-50%) scale(0.9) rotate(-3deg); filter: drop-shadow(0 0 2px #ff5722); }
    100% { transform: translateX(-50%) scale(1.2) rotate(3deg); filter: drop-shadow(0 0 6px #ffea00); }
}

/* São João Clima Festivo no Site */
body {
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 248, 240, 0.5) 0%, transparent 90%);
}
.banner {
    background: linear-gradient(135deg, #1b0000 0%, #a80000 45%, #e65100 80%, #3e2723 100%) !important;
}
.banner-content h1 {
    text-shadow: 0 4px 10px rgba(230,81,0,0.6);
}
.section-title h2 {
    color: #5d4037;
}
.category-card {
    background: #fffdfa;
    border: 1px solid #ffd8b3;
}
.category-card:hover {
    border-color: #ff9100;
    box-shadow: 0 10px 25px rgba(255,145,0,0.15);
}
.testimonial-card {
    background: #000000 !important;
    border: 1.5px solid var(--primary);
    color: #ffffff !important;
}
.testimonial-text {
    color: #ffffff !important;
}
.testimonial-author-info strong {
    color: #ffffff !important;
}
.testimonial-author-info span {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Banner de Imagem (Poster) */
.banner {
    margin-top: 80px;
    background: #fff;
    padding: 0;
    position: relative;
    height: auto;
    min-height: auto;
    overflow: hidden;
}
.banner-image-container {
    position: relative;
    width: 100%;
    line-height: 0;
}
.banner-img-main {
    width: 100%;
    height: auto;
    display: block;
}
.banner-button-overlay {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.btn-banner-budget {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid #fff;
    background: #cc0000;
    color: #fff !important;
    font-size: 1.15rem;
    padding: 14px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}
.btn-banner-budget:hover {
    background: #ff2222;
    transform: scale(1.05);
}

/* Mural de Ofertas Horizontal */
.saojoao-offers-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #0d0000 0%, #1c0202 50%, #0d0000 100%) !important;
    border-bottom: 1px solid rgba(233, 196, 106, 0.2);
}
.saojoao-promo-mural-horizontal {
    background: rgba(0, 0, 0, 0.7) !important;
    border: 2px dashed #e9c46a;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.offers-title {
    text-align: center;
    color: #ffffff !important;
    margin-bottom: 25px;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 0 8px rgba(233,196,106,0.5);
}
.promo-mural-list-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.mural-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(233, 196, 106, 0.2) !important;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.mural-item:hover {
    border-color: #e9c46a !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233,196,106,0.15) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}
.mural-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(233, 196, 106, 0.3) !important;
}
.mural-item-details {
    flex: 1;
}
.mural-item-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}
.mural-item-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mural-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
}
.mural-price-new {
    color: #cc0000;
    font-weight: 800;
    font-size: 1.05rem;
}
.mural-discount {
    background: #e63946;
    color: white;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .banner-img-main {
        min-height: auto;
    }
    .btn-banner-budget {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    .banner-button-overlay {
        bottom: 15px;
    }
}

/* ============================================
   SOBRE E CONTATO - TEMA ESCURO (VERMELHO QUASE PRETO)
   ============================================ */
#sobre, #contato {
    background: linear-gradient(135deg, #0d0000 0%, #1c0202 50%, #0d0000 100%) !important;
    color: #ffffff !important;
}

#sobre .section-title h2, 
#contato .section-title h2, 
#sobre .about-content h2, 
#sobre .mission-values h4,
#contato .info-item h4 {
    color: #ffffff !important;
}

#sobre p,
#contato p {
    color: rgba(255, 255, 255, 0.8) !important;
}

#contato .contact-form input,
#contato .contact-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(233, 196, 106, 0.3);
    color: #ffffff;
    border-radius: 8px;
}

#contato .contact-form input::placeholder,
#contato .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#contato .contact-form input:focus,
#contato .contact-form textarea:focus {
    border-color: #e9c46a;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 8px rgba(233, 196, 106, 0.3);
}

#contato .info-item i {
    background: rgba(233, 196, 106, 0.15);
    color: #e9c46a;
}

/* ============================================
   SÃO JOÃO TEMA ESCURO COMPLETO (VERMELHO COM PRETO)
   ============================================ */
/* Fundo Geral e Body */
body, html {
    background-color: #0d0000 !important;
    color: #ffffff !important;
}

/* Seções Principais */
#categorias, #produtos, .bg-light, .section {
    background: linear-gradient(135deg, #0d0000 0%, #1c0202 50%, #0d0000 100%) !important;
    color: #ffffff !important;
}

/* Títulos */
.section-title h2, 
.section-title h2 span,
#categorias h2, 
#produtos h2 {
    color: #ffffff !important;
}

/* Cabeçalho Fixo (Header) */
header {
    background-color: #150000 !important;
    border-bottom: 1px solid rgba(233, 196, 106, 0.25) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}
.logo {
    color: #ffffff !important;
}
.nav-menu a {
    color: #ffffff !important;
}
.nav-menu a:hover {
    color: #e9c46a !important;
}
.nav-menu a::after {
    background-color: #e9c46a !important;
}
.cart-btn, .mobile-menu-btn, .btn-login-header {
    color: #ffffff !important;
}
.cart-btn:hover, .btn-login-header:hover {
    color: #e9c46a !important;
}

/* Cartões de Categorias */
.category-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(233, 196, 106, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}
.category-card h3 {
    color: #ffffff !important;
}
.category-card i {
    color: #e9c46a !important;
}
.category-card:hover {
    border-color: #e9c46a !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-8px) !important;
}
.category-card.category-active {
    background: var(--primary) !important;
    border-color: #e9c46a !important;
}

/* Cartões de Produtos */
.product-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(233, 196, 106, 0.15) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4) !important;
}
.product-title {
    color: #ffffff !important;
}
.product-price {
    color: #e9c46a !important;
}
.product-card:hover {
    border-color: #e9c46a !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Caixa de Busca */
.search-container input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(233, 196, 106, 0.3) !important;
    color: #ffffff !important;
}
.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.search-container input:focus {
    border-color: #e9c46a !important;
    box-shadow: 0 0 8px rgba(233, 196, 106, 0.3) !important;
}
.search-container i {
    color: #e9c46a !important;
}

/* Modal de Autenticação (Login / Cadastro) */
.auth-modal {
    background: #140101 !important;
    border: 2px dashed #e9c46a !important;
    color: #ffffff !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8) !important;
}
.auth-header h3, .auth-form-group label, .auth-tabs .auth-tab {
    color: #ffffff !important;
}
.auth-tabs .auth-tab.active {
    color: #e9c46a !important;
    border-bottom-color: #e9c46a !important;
}
.auth-form-group input, .auth-form-group select {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1.5px solid rgba(233, 196, 106, 0.3) !important;
    color: #ffffff !important;
}
.auth-form-group input:focus, .auth-form-group select:focus {
    border-color: #e9c46a !important;
    box-shadow: 0 0 8px rgba(233, 196, 106, 0.2) !important;
}

/* Carrinho Sidebar */
.cart-sidebar {
    background-color: #140101 !important;
    color: #ffffff !important;
    border-left: 2px dashed #e9c46a !important;
}
.cart-header h3, .cart-total span, #cart-total-price {
    color: #ffffff !important;
}
.cart-item {
    border-bottom: 1px solid rgba(233, 196, 106, 0.15) !important;
}
.cart-item-title {
    color: #ffffff !important;
}
.qty-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(233, 196, 106, 0.3) !important;
}
.qty-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #e9c46a !important;
}
.empty-cart-msg {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================
   MOBILE RESPONSIVENESS AND TEXT WRAPPING CORRECTIONS
   ============================================ */
.btn-banner-budget {
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem !important;
    }
    .logo img {
        height: 40px !important;
        width: 40px !important;
    }
    .btn-banner-budget {
        font-size: 0.9rem !important;
        padding: 8px 16px !important;
    }
    .banner-button-overlay {
        bottom: 15px !important;
    }
    /* Menu Mobile Ajuste Escuro */
    .nav-menu {
        background-color: #140101 !important;
        border-bottom: 2px dashed #e9c46a !important;
        box-shadow: 0 10px 35px rgba(0,0,0,0.8) !important;
    }
    .nav-menu ul li a {
        color: #ffffff !important;
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        transition: color 0.2s !important;
    }
    .nav-menu ul li a:hover {
        color: #e9c46a !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.05rem !important;
    }
    .logo img {
        height: 32px !important;
        width: 32px !important;
    }
    .btn-banner-budget {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
    .banner-button-overlay {
        bottom: 10px !important;
    }
}
