:root {
    --primary: #FFD700; /* Amarelo ouro */
    --primary-dark: #FFAA00;
    --black: #000000;
    --black-light: #121212;
    --gray: #1E1E1E;
    --gray-light: #2D2D2D;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --red-price: #FF4D4D; /* Vermelho para preços */
    --green-price: #4CAF50; /* Verde para preços */
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra Superior */
.info-bar {
    background-color: var(--primary);
    color: var(--black);
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Header */
.header {
    background-color: var(--black-light);
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-img {
    height: 90px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

/* Barra de Pesquisa */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 45px;
    border-radius: 50px;
    border: none;
    background-color: var(--gray);
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary);
}

/* Carrinho */
.cart {
    position: relative;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--black);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Banner Principal */
.banner {
    padding: 100px 0 50px;
    background: var(--black);
}

.banner-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: block;
}

/* SOBREPOSIÇÃO DE TEXTO NO SEGUNDO BANNER */
.banner-content-custom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0,0,0,0.22);
    z-index: 2;
    pointer-events: none;
}

.banner-overlay-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 2px 14px #000c;
    pointer-events: auto;
}

.banner-overlay-content .banner-desc {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 22px;
    pointer-events: auto;
}

.btn-banner {
    display: inline-block;
    background: var(--primary);
    color: var(--black);
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    border-radius: 28px;
    padding: 14px 38px;
    text-decoration: none;
    margin-top: 6px;
    transition: background 0.2s;
    box-shadow: 0 3px 18px #0009;
    pointer-events: auto;
}

.btn-banner:hover {
    background: var(--primary-dark);
    color: var(--white);
}

@media (max-width: 700px) {
    .banner-overlay-content h1 { font-size: 1.3rem;}
    .banner-overlay-content .banner-desc { font-size: 1rem; }
    .btn-banner { font-size: 1rem; padding: 11px 22px;}
}

/* ==== EFEITO PREMIUM NO BANNER DE BAIXO ==== */
.banner-hover-zoom {
    perspective: 800px;
    transition: filter 0.3s;
}

.banner-hover-zoom .banner-img {
    transition: 
        transform 0.55s cubic-bezier(.19,1,.22,1),
        box-shadow 0.42s cubic-bezier(.19,1,.22,1),
        filter 0.3s;
    will-change: transform, box-shadow;
}

.banner-hover-zoom.is-hover .banner-img {
    transform: scale(1.09) rotateY(var(--x,0deg)) rotateX(var(--y,0deg));
    box-shadow: 0 18px 40px 0 rgba(255,215,0,0.14), 0 8px 30px rgba(0,0,0,0.22);
    filter: brightness(1.08) saturate(1.07);
}

@media (max-width: 700px) {
    .banner-hover-zoom .banner-img {
        border-radius: 12px;
    }
    .banner-hover-zoom.is-hover .banner-img {
        transform: scale(1.03) !important;
        box-shadow: 0 6px 20px 0 rgba(255,215,0,0.07), 0 3px 10px rgba(0,0,0,0.10);
    }
}

/* Seção Produtos */
.products {
    padding: 50px 0;
    background: var(--black-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.section-title span {
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-items: center;
}

.product-card {
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.1);
    width: 100%;
    max-width: 280px;
}

.product-card:hover {
    transform: translateY(-13px) scale(1.03);
    box-shadow: 0 0 28px 8px rgba(255,215,0,0.25), 0 10px 30px rgba(0,0,0,0.22);
    border-color: var(--primary);
}

.product-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    padding: 15px;
    text-align: center;
    background: var(--gray-light);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 10px;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 215, 0, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.product-img {
    max-height: 180px;
    width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.floating {
    animation: floating 3s infinite ease-in-out;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.rating {
    color: var(--primary);
    margin: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.rating span {
    color: rgba(255,255,255,0.7);
    margin-left: 5px;
    font-size: 12px;
}

.rating i {
    margin-right: 2px;
}

.price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
}

.price .old-price.red-price {
    color: var(--red-price);
    text-decoration: line-through;
}

.price .current-price.green-price {
    color: var(--green-price);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.btn-product {
    width: 100%;
    background: var(--gray-light);
    color: var(--primary);
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
}

/* Corrige o botão/link do produto 1.200 ROBUX */
a.btn-product {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-product:hover {
    background: var(--primary);
    color: var(--black);
}

.cart-pulse {
    animation: cartPulse 0.6s;
}

@keyframes cartPulse {
    0% { box-shadow: 0 0 0 0 var(--primary); }
    60% { box-shadow: 0 0 12px 6px var(--primary); }
    100% { box-shadow: 0 0 0 0 var(--primary); }
}

.btn-added {
    background: var(--primary) !important;
    color: var(--black) !important;
    letter-spacing: 1.5px;
    transition: background 0.2s, color 0.2s;
}

/* FAQ - Perguntas Frequentes */
.faq-section {
    background: var(--black-light);
    padding: 50px 0 60px;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #222;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--primary);
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 0 18px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.18s;
    text-transform: uppercase;
}

.faq-question:hover { color: var(--primary-dark); }

.faq-icon {
    margin-left: 18px;
    transition: transform 0.28s;
    font-size: 1.2rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(.44,1.86,.49,.67);
    color: #e6e6e6;
    padding-left: 0;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    max-height: 350px;
    margin-bottom: 18px;
    padding-top: 10px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

@media (max-width: 700px) {
    .faq-title { font-size: 1.35rem; }
    .faq-list { max-width: 98vw; }
    .faq-question { font-size: 1.01rem; }
}

/* SEÇÃO "POR QUE COMPRAR CONOSCO?" */
.benefits-section {
    padding: 60px 0;
    background: var(--black);
    position: relative;
}

.benefits-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.benefits-carousel {
    display: flex;
    gap: 20px;
    padding: 20px 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.benefits-carousel::-webkit-scrollbar {
    display: none;
}

.benefit-card {
    scroll-snap-align: center;
    flex: 0 0 75vw;
    max-width: 300px;
    background: var(--gray);
    border-radius: 12px;
    padding: 28px 20px 22px 20px;
    border: 1px solid rgba(255,215,0,0.1);
    transition: transform 0.35s cubic-bezier(.19,1,.22,1), box-shadow 0.38s cubic-bezier(.19,1,.22,1);
    margin-right: 18px;
    text-align: center;
    will-change: transform, box-shadow;
}

.benefit-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.benefit-title {
    font-size: 1.22rem;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.benefit-description {
    color: rgba(255,255,255,0.82);
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 992px) {
    .benefits-carousel {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 26px;
        padding: 0;
        overflow-x: visible;
    }
    .benefit-card {
        flex: unset;
        max-width: unset;
        margin-right: 0;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .benefits-carousel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        gap: 20px;
        padding: 0 10px;
    }
    .benefit-card {
        width: auto;
    }
}

.after-benefits {
    background: var(--black-light);
    padding: 38px 0 20px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.after-benefits-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.after-benefits-item {
    border-bottom: 1px solid #222;
}

.after-benefits-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--primary);
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.18s;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.after-benefits-question:hover { color: var(--primary-dark); }

.after-benefits-icon {
    margin-left: 18px;
    transition: transform 0.28s;
    font-size: 1.2rem;
}

.after-benefits-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(.44,1.86,.49,.67);
    color: #e6e6e6;
    padding-left: 0;
    font-size: 1.05rem;
}

.after-benefits-item.active .after-benefits-answer {
    max-height: 350px;
    margin-bottom: 18px;
    padding-top: 10px;
}

.after-benefits-item.active .after-benefits-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.after-benefits-link, .after-benefits-email {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 6px;
    word-break: break-all;
    display: block;
    text-decoration: none;
    transition: color .2s;
}

.after-benefits-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Modal de Termos e Condições */
.terms-modal {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-content {
    background: #191919;
    color: #fff;
    padding: 36px 28px;
    border-radius: 12px;
    max-width: 94vw;
    width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 50px #000a;
}

.terms-content h3 {
    color: var(--primary);
    margin-bottom: 18px;
    text-align: center;
}

.terms-content ol {
    margin: 0 0 14px 18px;
    padding: 0;
}

.terms-content li {
    margin-bottom: 14px;
}

.terms-content b {
    color: var(--primary);
}

@media (max-width:600px) {
    .terms-content {
        padding: 18px 8px;
        width: 96vw;
    }
}

@media (max-width: 700px) {
    .after-benefits-content {
        max-width: 98vw;
    }
    .after-benefits-question { font-size: 1.01rem; }
}

/* Rodapé */
.footer {
    background: var(--black);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    max-width: 300px;
}

.footer-info p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

/* Modal de Produto */
.product-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: transparent;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: #222;
    color: var(--white);
    border-radius: 16px;
    max-width: 520px;
    width: 95vw;
    box-shadow: 0 10px 40px #000c;
    padding: 32px 20px 24px 20px;
    max-height: 95vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
}

.modal-header .sold-count {
    background: var(--primary);
    color: var(--black);
    padding: 3px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.modal-header .product-title {
    color: var(--primary);
    font-size: 1.65rem;
    margin: 8px 0 6px 0;
}

.delivery-info {
    color: var(--green-price);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-header .rating {
    margin: 7px 0;
}

.modal-header .reviews {
    color: #ccc;
    font-size: 1rem;
}

.modal-body .price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

.modal-body .price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.stock-alert {
    font-size: 1rem;
    color: var(--red-price);
    font-weight: 600;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 22px 0;
}

.quantity-btn {
    background: var(--primary);
    color: var(--black);
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-btn:hover {
    background: var(--primary-dark);
}

.quantity-input {
    width: 48px;
    text-align: center;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 7px 0;
    background: var(--gray);
    color: var(--white);
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.action-buttons .btn {
    flex: 1;
}

.payment-methods {
    margin: 18px 0 8px 0;
}

.payment-methods h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.payment-methods .methods {
    display: flex;
    gap: 12px;
    margin-bottom: 5px;
}

.payment-methods img {
    height: 26px;
    background: #fff;
    border-radius: 6px;
    padding: 2px 6px;
}

.payment-info {
    color: #ccc;
    font-size: 0.95rem;
}

.product-description {
    margin-top: 20px;
}

.product-description h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.product-description ol {
    margin: 10px 0 10px 22px;
}

.product-description strong {
    color: var(--primary);
}

.video-container {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .product-card {
        max-width: 100%;
        margin: 0 auto 20px;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .info-bar {
        font-size: 12px;
    }
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .modal-content {
        padding: 14px 4px;
        border-radius: 10px;
    }
}
/* Card escurecido quando esgotado */
.card-esgotado {
  position: relative;
  filter: grayscale(100%) brightness(0.4);
  pointer-events: none;
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

/* Selo ESGOTADO */
.selo-esgotado {
  position: absolute;
  top: 10px;
  left: -40px;
  background-color: #ff0033;
  color: white;
  padding: 5px 50px;
  font-size: 14px;
  font-weight: bold;
  transform: rotate(-45deg);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  z-index: 5;
  text-shadow: 1px 1px 3px black;
}

/* Botão desativado */
.esgotado-btn {
  background: linear-gradient(to right, #555, #333);
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: bold;
  opacity: 0.8;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}
