/* ============================================
   CENTRAL DE GANHOS — Main Stylesheet
   Netflix-Inspired Digital Products Marketplace
   Dark Theme | Red & Black | Mobile-First
   ============================================ */

/* ===================== CSS RESET ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

:root {
    /* Core Colors */
    --color-black: #0a0a0a;
    --color-bg-primary: #0d0d0d;
    --color-bg-secondary: #141414;
    --color-bg-tertiary: #1a1a1a;
    --color-bg-card: #1e1e1e;
    --color-bg-hover: #252525;

    /* Accent Colors */
    --color-red: #E50914;
    --color-red-dark: #b20710;
    --color-red-light: #ff1a25;
    --color-gold: #f5c518;

    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #b3b3b3;
    --color-text-muted: #666666;
    --color-text-highlight: #E50914;

    /* Gradients */
    --gradient-red: linear-gradient(135deg, #E50914 0%, #b20710 100%);
    --gradient-dark: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(135deg, #1a0a0a 0%, #4a1010 30%, #2d0f0f 60%, #0a0a1a 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-red: 0 4px 20px rgba(229,9,20,0.3);
    --shadow-red-hover: 0 6px 30px rgba(229,9,20,0.5);

    /* Borders */
    --border-color: #2a2a2a;
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Bebas Neue', 'Arial Black', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-preloader: 10000;
    --z-header: 1000;
    --z-nav: 999;
    --z-overlay: 900;
    --z-modal: 800;
    --z-toast: 700;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    background: none;
}

input {
    font-family: inherit;
    outline: none;
    border: none;
}

/* ===================== PRELOADER ===================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo svg {
    margin-bottom: 24px;
    animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--color-bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-red);
    border-radius: 4px;
    animation: loading-progress 1.8s ease forwards;
}

@keyframes loading-progress {
    0% { width: 0%; }
    30% { width: 40%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

/* ===================== HEADER / NAVBAR ===================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    padding: 0 24px;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.main-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.logo-icon {
    width: 70px !important;
    height: 70px !important;
    max-width: none !important;
}

.logo-link:hover .logo-icon {
    transform: scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-red);
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
    color: var(--color-text-secondary);
}

.icon-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: var(--z-overlay);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-box {
    width: 90%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 4px 8px 4px 20px;
    transition: border-color var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--color-red);
}

#search-input {
    flex: 1;
    font-size: 1rem;
    color: var(--color-text-primary);
    background: transparent;
    padding: 12px 0;
}

#search-input::placeholder {
    color: var(--color-text-muted);
}

/* ===================== HERO / FEATURED SECTION ===================== */
.hero-cover {
    width: 285px;
    height: 428px;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    border-radius: 14px;

    box-shadow: 0 18px 54px rgba(0,0,0,.60);
    transition: transform .35s ease, box-shadow .35s ease;

    z-index: 2;
}

.hero-cover::before {
    content: "";
    position: absolute;
    inset: -12px;

    border-radius: inherit;

    background: radial-gradient(
        circle,
        rgba(229,9,20,.35) 0%,
        transparent 70%
    );

    filter: blur(25px);

    opacity: 0;
    transition: opacity .35s ease;

    z-index: -1;
}

.hero-cover:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 70px rgba(0,0,0,.65);
}

.hero-cover:hover::before {
    opacity: 1;
}

.hero-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    border-radius: inherit;
    position: relative;
    z-index: 2;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    overflow: hidden;
}

.hero-wrapper {
    width: 100%;
    max-width: 705px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(229,9,20,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(229,9,20,0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(229,9,20,0.08) 0%, transparent 45%);
    animation: hero-pattern-shift 8s ease-in-out infinite alternate;
}

@keyframes hero-pattern-shift {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10,10,10,0.98) 0%,
        rgba(10,10,10,0.85) 30%,
        rgba(10,10,10,0.60) 55%,
        rgba(172, 84, 84, 0.2) 75%,
        rgba(10,10,10,0.40) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 570px;
    padding: 0;
    margin: 0;
}

.hero-badge-container {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge-top {
    background: rgba(229,9,20,0.2);
    color: var(--color-red);
    border: 1px solid rgba(229,9,20,0.3);
}

.hero-badge-new {
    background: rgba(245,197,24,0.15);
    color: var(--color-gold);
    border: 1px solid rgba(245,197,24,0.3);
}

.hero-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 11px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 9px;
    color: var(--color-text-primary);
}

.hero-title .highlight {
    color: var(--color-red);
}

.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--color-text-secondary);
    max-width: 420px;
    line-height: 1.5;
    margin-bottom: 9px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 11px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.77rem;
    color: var(--color-text-secondary);
}

.hero-pricing {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 11px;
}

.old-price {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.current-price-group {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.currency {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.big-amount {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
}

.cents {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.discount-tag {
    background: var(--gradient-red);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta-group {
    display: flex;
    gap: 7px;
    margin-bottom: 11px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    padding: 9px 18px;
    font-size: 0.81rem;
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-red-hover);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-hero-cta .btn-arrow {
    font-size: 1.3rem;
    transition: transform var(--transition-normal);
    margin-left: 4px;
}

.btn-hero-cta:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline {
    background: rgba(255,255,255,0.08);
    color: var(--color-text-primary);
    padding: 14px 29px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.hero-guarantee{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    flex-wrap: nowrap; /* mantém os 3 na mesma linha */
}

.guarantee-item{
    display: flex;
    align-items: center;
    gap: 5px;

    font-size: 0.68rem;
    color: var(--color-text-secondary);

    white-space: nowrap;
}

.guarantee-item svg{
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* Responsividade Mobile */
@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 36px;
        padding: 54px 18px;
    }
    
    .hero-cover {
        width: 100%;
        max-width: 290px;
        height: auto;
        aspect-ratio: 2/3;
        margin-bottom: 8px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 6px;
    }
    
    .hero-badge-container {
        justify-content: center;
        margin-bottom: 14px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-pricing {
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .hero-rating {
        justify-content: center;
        margin-bottom: 14px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        max-width: 285px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-guarantee {
        justify-content: center;
        gap: 22px;
        margin-top: 18px;
    }
}

/* Scroll Indicator - Mobile */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: none !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================== PRODUCTS SECTION ===================== */
.products-section {
    background: var(--color-bg-primary);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: block;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-accent {
    color: var(--color-red);
}

.see-all-link {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
}

.see-all-link:hover {
    color: var(--color-red);
    background: rgba(229,9,20,0.1);
}

/* Product Row */
.product-row {
    position: relative;
    margin-bottom: 48px;
    overflow: visible;
}

.row-header {
    margin-bottom: 16px;
    padding-left: 4px;
}

.row-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Product Carousel */
.product-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

/* Product Card (Netflix style) */
.product-card {
    flex: 0 0 260px;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(229,9,20,0.3);
    z-index: 10;
}

.product-card-image {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.product-card-image .card-gradient {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-normal);
}

.product-card:hover .card-gradient {
    transform: scale(1.1);
}

.card-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 2;
}

.card-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.product-card-info {
    padding: 16px;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-desc {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.product-card-price .old {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    font-weight: 500;
    display: block;
}

.product-card-btn {
    background: var(--gradient-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.product-card-btn:hover {
    box-shadow: var(--shadow-red);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(10,10,10,0.8);
    border: 1px solid var(--border-color);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .carousel-btn {
        display: flex;
    }
}

.carousel-prev {
    left: -8px;
    opacity: 0;
}

.carousel-next {
    right: -8px;
    opacity: 0;
}

.product-row:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(229,9,20,0.8);
    border-color: var(--color-red);
    transform: translateY(-50%) scale(1.1);
}

/* ===================== PROMO SECTION ===================== */
.promo-section {
    background: var(--color-bg-secondary);
    padding: 60px 0;
}

.promo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 768px) {
    .promo-container {
        grid-template-columns: 1.5fr 1fr;
    }
}

.promo-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    padding: 32px;
    transition: transform var(--transition-normal);
}

.promo-card:hover {
    transform: translateY(-4px);
}

.promo-flash {
    background: linear-gradient(135deg, #2d0a0a 0%, #1a0505 100%);
    border: 1px solid rgba(229,9,20,0.2);
}

.promo-flash::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229,9,20,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.promo-newsletter {
    background: linear-gradient(135deg, #0a0a2d 0%, #05051a 100%);
    border: 1px solid rgba(99,102,241,0.2);
}

.promo-fire {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.promo-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.promo-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

/* Countdown Timer */
.promo-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
}

.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    min-width: 52px;
}

.timer-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
}

.timer-block small {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.timer-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* Newsletter Form */
.newsletter-form .input-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input[type="email"]:focus {
    border-color: #6366f1;
    background: rgba(255,255,255,0.12);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
}

/* ===================== TRUST / SOCIAL PROOF SECTION ===================== */
.trust-section {
    background: var(--color-bg-primary);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    overflow: visible;
    color: var(--text-color)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.trust-card:hover {
    border-color: rgba(229,9,20,0.2);
    transform: translateY(-4px);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.trust-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-red);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ===================== FOOTER ===================== */
.main-footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 48px 24px 24px;
    position: relative;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-links-group {
        gap: 48px;
    }
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-red);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-red);
    color: white;
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-red);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    z-index: var(--z-toast);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-red-hover);
}

/* ===================== PRODUCT MODAL ===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    border: 1px solid var(--border-color);
}

.modal-overlay.is-open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(229,9,20,0.8);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-image-area img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (min-width: 600px) {
    .modal-image-area {
        flex: 0 0 280px;
        height: auto;
        min-height: 360px;
        border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
    }
}

.modal-image-area .card-gradient {
    width: 100%;
    height: 100%;
}

.modal-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.modal-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    background: rgba(229,9,20,0.15);
    border-radius: 20px;
    align-self: flex-start;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-item {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item::before {
    content: '✓';
    color: var(--color-red);
    font-weight: 700;
}

.modal-pricing {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.modal-old-price {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.modal-big-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

/* ===================== TOAST NOTIFICATION ===================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-red);
    padding: 14px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    pointer-events: auto;
    animation: toast-in 0.4s ease forwards, toast-out 0.4s ease 3s forwards;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-20px) scale(0.95); }
}

/* ===================== ANIMATIONS (scroll reveal) ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.4s; }

/* ===================== RESPONSIVE — DESKTOP ===================== */
@media (min-width: 768px) {
    /* Header nav visible */
    .main-nav {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    /* Hero content spacing */
    .hero-content {
        padding-top: 40px;
        padding-left: 6vw;
        max-width: 580px;
    }

    .hero-bg-overlay {
        background: linear-gradient(
            to right,
            rgba(10,10,10,0.98) 0%,
            rgba(10,10,10,0.88) 25%,
            rgba(10,10,10,0.55) 45%,
            rgba(10,10,10,0.15) 65%,
            transparent 100%
        );
    }

    /* Hide scroll indicator on desktop */
    .scroll-indicator {
        display: none;
    }

    .products-section {
        padding: 1px 0;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 520px;
        padding-left: 0;
        margin-left: 25px;
    }

    .product-card {
        flex: 0 0 300px;
    }

    .product-card-image {
        height: 180px;
    }
}

@media (min-width: 1200px) {
    .hero-content {
        max-width: 520px;
        padding-left: 0;
        margin-left: 25px;
    }
}

/* ===================== ACCESSIBILITY ===================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(229,9,20,0.3);
    color: white;
}

/* ===================== SCROLLBAR STYLING ===================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* ===================== PRODUCT IMAGE PLACEHOLDERS (CSS gradients) ===================== */
.product-placeholder-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.product-placeholder-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.product-placeholder-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.product-placeholder-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.product-placeholder-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.product-placeholder-6 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.product-placeholder-7 { background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%); }
.product-placeholder-8 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.product-placeholder-9 { background: linear-gradient(135deg, #f5576c 0%, #ff9a76 100%); }
.product-placeholder-10 { background: linear-gradient(135deg, #0c3483 0%, #a2b6df 100%); }
.product-placeholder-11 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.product-placeholder-12 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

/* Product icon overlay on gradient */
.card-gradient::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    opacity: 0.2;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===================== LOADING PLACEHOLDER ANIMATION ===================== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-hover) 50%, var(--color-bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.trust-section {
    background: #0f0f0f;
    padding: 60px 20px;
    color: #fff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
}

.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* ===================== AD BANNER — MOBILE FIXES ===================== */
.ad-banner-section {
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.ad-banner {
    width: 100%;
    max-width: 991px;
    height: auto;
    aspect-ratio: 9/4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.08);
}

.ad-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* ==========================================
   MOBILE - TRUST SECTION
   Não altera a versão Desktop
========================================== */

@media screen and (max-width: 768px) {

    .trust-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-card {
        padding: 14px 10px;
        min-height: auto;
    }

    .trust-icon {
        font-size: 24px;
    }

    .trust-number {
        font-size: 1.5rem;
        margin: 6px 0;
    }

    .trust-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }

}