/* ============================================
   VARIÁVEIS GLOBAIS
   ============================================ */
:root {
    /* Cores Principais - Canadá */
    --primary: #0B3C91;
    --primary-dark: #082A6B;
    --primary-light: #1A5BC4;
    --secondary: #D41B2C;
    --secondary-light: #FF3B4A;
    --gold: #FFD700;
    --gold-light: #FFED4A;
    
    /* Neutras */
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0B3C91 0%, #1A5BC4 100%);
    --gradient-secondary: linear-gradient(135deg, #D41B2C 0%, #FF3B4A 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFED4A 100%);
    --gradient-hero: linear-gradient(135deg, rgba(11, 60, 145, 0.92) 0%, rgba(212, 27, 44, 0.85) 100%);
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaçamentos */
    --container-max: 1280px;
    --container-padding: 20px;
    --section-spacing: 80px;
    --card-radius: 20px;
    --border-radius: 16px;
    --button-radius: 50px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
    --shadow-2xl: 0 30px 80px rgba(0, 0, 0, 0.25);
    
    /* Transições */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-small {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    transition: var(--transition-base);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: var(--primary-dark);
}

header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

header nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

header nav a:hover {
    color: var(--primary);
}

header nav a:hover::after {
    width: 100%;
}

.btn-header {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--button-radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(11, 60, 145, 0.3);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 60, 145, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: var(--button-radius);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 br {
    display: block;
}

.hero p {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero p strong {
    color: var(--gold-light);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--button-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(11, 60, 145, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(11, 60, 145, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ============================================
   TRUST BADGES (PROVA SOCIAL)
   ============================================ */
.trust-badges {
    padding: 60px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.trust-header {
    text-align: center;
    margin-bottom: 40px;
}

.trust-header .stars {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.trust-header h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--gray-900);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: var(--transition-base);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    font-size: 1.3rem;
}

/* ============================================
   NÚMEROS
   ============================================ */
.numbers {
    padding: 60px 0;
    background: var(--white);
}

.numbers .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
}

.number-card {
    text-align: center;
    padding: 24px;
}

.number-card h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.number-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

/* ============================================
   SOBRE
   ============================================ */
.about {
    padding: 80px 0;
    background: var(--gray-50);
    text-align: center;
}

.about h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.about p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 12px;
    line-height: 1.7;
}

/* ============================================
   BENEFÍCIOS
   ============================================ */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.benefit {
    text-align: center;
    padding: 24px;
}

.benefit .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.benefit h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.benefit p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   SEARCH
   ============================================ */
.search-section {
    padding: 60px 0 20px;
    background: var(--gray-50);
    text-align: center;
}

.search-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}

#search {
    width: 100%;
    max-width: 560px;
    padding: 16px 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--button-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-base);
    background: var(--white);
}

#search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 60, 145, 0.1);
}

#search::placeholder {
    color: var(--gray-400);
}

/* ============================================
   CATEGORIAS
   ============================================ */
.categories {
    padding: 20px 0 40px;
    background: var(--gray-50);
}

.categories .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category {
    padding: 10px 24px;
    border-radius: var(--button-radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
    cursor: pointer;
}

.category:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(11, 60, 145, 0.25);
}

/* ============================================
   PRODUTOS
   ============================================ */
.featured {
    padding: 60px 0 80px;
    background: var(--white);
}

.featured h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card .product-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: var(--gray-100);
    overflow: hidden;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    border-radius: var(--button-radius);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    background: var(--gradient-secondary);
    box-shadow: 0 2px 10px rgba(212, 27, 44, 0.3);
}

.product-badge.sold {
    background: var(--gray-600);
}

.product-badge.promotion {
    background: var(--gradient-gold);
    color: var(--gray-900);
}

.product-info {
    padding: 20px 24px 24px;
}

.product-info .product-brand {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
}

.product-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.product-info .product-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 16px;
}

.product-price-new {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-price-sale {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price-pix {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.product-price-pix small {
    font-weight: 400;
    font-size: 0.8rem;
}

.product-savings {
    display: inline-block;
    background: #DCFCE7;
    color: #15803D;
    padding: 2px 12px;
    border-radius: var(--button-radius);
    font-size: 0.75rem;
    font-weight: 700;
}

.product-card .btn-whatsapp {
    width: 100%;
    padding: 12px;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.product-card .btn-whatsapp:hover {
    background: #1DA851;
    transform: scale(1.02);
}

/* ============================================
   STEPS (COMO COMPRAR)
   ============================================ */
.steps {
    padding: 80px 0;
    background: var(--gray-50);
}

.steps h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.step h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   PIX SECTION
   ============================================ */
.pix-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.pix-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
    align-items: center;
}

.pix-left h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.pix-left p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 8px;
}

.pix-right {
    text-align: center;
}

.pix-placeholder {
    max-width: 200px;
    margin: 0 auto 12px;
}

.pix-placeholder img {
    width: 100%;
    height: auto;
}

.pix-right small {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   ALERT SECTION
   ============================================ */
.alert-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    text-align: center;
}

.alert-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #92400E;
    margin-bottom: 16px;
}

.alert-section p {
    font-size: 1rem;
    color: #78350F;
    max-width: 600px;
    margin: 0 auto 8px;
    line-height: 1.7;
}

.alert-section .btn-primary {
    margin-top: 24px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition-bounce);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 50px rgba(37, 211, 102, 0.6);
        transform: scale(1.05);
    }
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 50px rgba(37, 211, 102, 0.5);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-column h4 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-column p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-column a {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-400);
    transition: var(--transition-fast);
    padding: 4px 0;
}

.footer-column a:hover {
    color: var(--white);
}

.footer hr {
    border: none;
    border-top: 1px solid var(--gray-700);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--card-radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: var(--shadow-2xl);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.close:hover {
    color: var(--gray-900);
    transform: rotate(90deg);
}

#modalBody {
    padding: 8px 0;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-screen .loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-screen h2 {
    margin-top: 24px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
    .pix-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 32px;
    }
    
    .pix-right {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 50px;
    }
    
    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
    }
    
    header nav.open {
        right: 0;
    }
    
    header nav a {
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .btn-header {
        display: none;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .numbers .container {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        padding: 24px;
        margin: 10px;
    }
    
    .floating-whatsapp {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 84px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .numbers .container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .pix-card {
        padding: 24px;
    }
    
    .hero-content {
        padding: 20px 16px;
    }
    
    .product-card .product-info {
        padding: 16px;
    }
}
/* ============================================
   MODAL - Estilos completos
   ============================================ */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-gallery {
    position: sticky;
    top: 20px;
}

.modal-gallery > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: var(--gray-100);
}

.modal-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.modal-thumbs img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.modal-thumbs img:hover {
    border-color: var(--primary);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-brand {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.modal-info h2 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.modal-status {
    display: inline-block;
    padding: 4px 16px;
    border-radius: var(--button-radius);
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.modal-status.available {
    background: #DCFCE7;
    color: #15803D;
}

.modal-status.sold {
    background: #FEE2E2;
    color: #DC2626;
}

.modal-status.promotion {
    background: #FEF3C7;
    color: #92400E;
}

.modal-pricing {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.modal-price-new {
    font-size: 0.95rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.modal-price-sale {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 4px 0;
}

.modal-price-pix {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.modal-price-pix small {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.modal-savings {
    margin-top: 12px;
    padding: 8px 16px;
    background: #DCFCE7;
    border-radius: var(--border-radius);
    color: #15803D;
    font-weight: 600;
    font-size: 0.95rem;
}

.modal-savings span {
    font-weight: 400;
    font-size: 0.85rem;
}

.modal-description h3,
.modal-features h3 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.modal-description p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.modal-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.modal-features ul li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 6px 12px;
    background: var(--gray-50);
    border-radius: 8px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.modal-actions .btn-secondary {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.modal-actions .btn-secondary:hover {
    background: var(--gray-200);
    transform: none;
}

.modal-actions .btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.modal-meta small {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-50);
    border-radius: var(--card-radius);
    border: 2px dashed var(--gray-200);
}

.empty-state .empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ============================================
   MODAL RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
    .modal-product {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .modal-gallery {
        position: relative;
        top: 0;
    }

    .modal-gallery > img {
        height: 220px;
    }

    .modal-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .modal-thumbs img {
        height: 55px;
    }

    .modal-info h2 {
        font-size: 1.2rem;
    }

    .modal-price-sale {
        font-size: 1.5rem;
    }

    .modal-features ul {
        grid-template-columns: 1fr;
    }

    .modal-meta {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal-gallery > img {
        height: 180px;
    }

    .modal-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .modal-thumbs img {
        height: 45px;
    }

    .modal-pricing {
        padding: 16px;
    }

    .modal-price-sale {
        font-size: 1.3rem;
    }

    .modal-actions .btn-primary,
    .modal-actions .btn-secondary {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

/* ============================================
   CORREÇÕES PARA O MODAL
   ============================================ */
.modal.active {
    display: flex !important;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Esconde scroll no body quando modal aberto */
body.modal-open {
    overflow: hidden;
}
/* ============================================
   BADGE DE DESCONTO - CANTO SUPERIOR DIREITO
   ============================================ */
.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: var(--gray-100);
    overflow: hidden;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* BADGE DE DESCONTO - CANTO SUPERIOR DIREITO */
.discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--button-radius);
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(212, 27, 44, 0.4);
    z-index: 5;
    animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    letter-spacing: 0.5px;
}

/* BADGE DE STATUS (canto superior esquerdo) */
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: var(--button-radius);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    z-index: 5;
    animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.product-badge.sold {
    background: var(--gray-600);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-badge.promotion {
    background: var(--gradient-gold);
    color: var(--gray-900);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* ============================================
   PRODUCT META
   ============================================ */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin: 8px 0 12px;
    padding: 8px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.product-condition {
    color: var(--gray-500);
}

.product-status {
    font-weight: 600;
    padding: 2px 12px;
    border-radius: var(--button-radius);
    font-size: 0.7rem;
}

.product-status.available {
    background: #DCFCE7;
    color: #15803D;
}

.product-status.sold {
    background: #FEE2E2;
    color: #DC2626;
}

.product-status.promotion {
    background: #FEF3C7;
    color: #92400E;
}