/* ==========================================================================
   SISTEMA DE DESIGN E ESTILOS - REMOLDA 3D (DARK MODE PREMIUM)
   ========================================================================== */

/* VARIÁVEIS DO SISTEMA */
:root {
    --bg-main: #06070a;
    --bg-card: #0f111a;
    --bg-header: rgba(6, 7, 10, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(6, 182, 212, 0.4);

    /* Cores de Marca (Neon Gradients) */
    --primary: #06b6d4;
    /* Ciano */
    --primary-hover: #0891b2;
    --secondary: #00f2fe;
    /* Ciano Neon */
    --secondary-hover: #00e0eb;
    --accent: #e2e8f0;
    /* Prata/Branco */

    /* Cores de Feedback */
    --success: #10b981;
    --whatsapp-green: #25d366;
    --whatsapp-hover: #20ba5a;

    /* Cores de Texto */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Sombras e Brilhos (Glow Effects) */
    --glow-purple: rgba(6, 182, 212, 0.15);
    --glow-cyan: rgba(0, 242, 254, 0.2);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

/* LINHA DE BRILHO SUPERIOR */
.top-glow-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* ELEMENTOS DE TEXTO COM GRADIENTE */
.logo-accent,
.hero-title span,
.section-title span {
    background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* BOTÕES (BUTTONS) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: 0 10px 20px -10px var(--glow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -8px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-2px);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    color: var(--bg-main);
    box-shadow: 0 10px 20px -10px var(--glow-cyan);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -8px rgba(6, 182, 212, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-hover) 100%);
    color: white;
    box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -8px rgba(37, 211, 102, 0.5);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ÍCONES SVGS GERAIS */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2px;
}

/* CABEÇALHO (HEADER) */
.header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0px;
    z-index: 100;
    transition: var(--transition);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
    transform: translateY(5px);
    transition: var(--transition);
}

.logo-img:hover {
    transform: translateY(5px) scale(1.03);
}


.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

.cart-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.cart-toggle-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-main);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* SEÇÃO HERO */
.hero {
    position: relative;
    padding: 5rem 0 6rem 0;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #22d3ee;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-tag.tag-cyan {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual (Direita) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.hero-floating-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(11, 11, 15, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

/* SEÇÃO DIFERENCIAIS */
.beneficios {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(18, 18, 24, 0.4) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px -10px rgba(6, 182, 212, 0.1);
}

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.purple-glow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    box-shadow: 0 8px 20px -8px var(--glow-purple);
}

.cyan-glow {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    box-shadow: 0 8px 20px -8px var(--glow-cyan);
}

.card-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* SEÇÃO CATÁLOGO DE PRODUTOS */
.catalogo {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px -10px var(--glow-purple);
}

/* Card do Produto */
.product-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image-container {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.product-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-tag-float {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(11, 11, 15, 0.75);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.tag-gradient {
    border-color: var(--primary);
    color: #22d3ee;
}

.product-info {
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.product-category {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.icon-star {
    width: 0.95rem;
    height: 0.95rem;
    color: #eab308;
}

.product-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Configuração das Variantes do Produto */
.product-variants {
    margin-bottom: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.variant-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-variant-text {
    color: var(--text-primary);
    text-transform: none;
    font-weight: 500;
}

/* ──────────────────────────────────────────────
   TABELA DE CORES PREMIUM
────────────────────────────────────────────── */
.color-swatches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.color-swatch-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.7rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.color-swatch-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.color-swatch-btn.active {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.3), 0 4px 12px rgba(6, 182, 212, 0.15);
}

.swatch-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.color-swatch-btn.active .swatch-circle {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), inset 0 1px 3px rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.swatch-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.color-swatch-btn.active .swatch-name {
    color: var(--text-primary);
}

/* ──────────────────────────────────────────────
   BOTÕES DE TAMANHO PREMIUM
────────────────────────────────────────────── */
/* Botões de tamanhos */
.size-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.size-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.size-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.size-btn.active {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.3), 0 4px 12px rgba(6, 182, 212, 0.15);
}

.size-sigla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: var(--transition);
}

.size-btn.active .size-sigla {
    background: var(--primary);
    color: #fff;
}

.size-desc {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.size-btn.active .size-desc {
    color: var(--text-primary);
}

.size-price-add {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(6, 182, 212, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.size-price-add.free {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.size-btn.active .size-price-add {
    background: rgba(6, 182, 212, 0.25);
}

/* Preço + rótulo no rodapé do card */
.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.15rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}


.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.2rem;
    gap: 0.75rem;
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.currency {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

/* Botão de adicionar ao carrinho dentro do card */
.add-to-cart-btn {
    flex-shrink: 0;
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
    border-radius: 12px;
    white-space: nowrap;
}

/* SEÇÃO PERSONALIZADOS STL */
.customizado {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.customizado-glow {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.custom-cta-card {
    background: linear-gradient(135deg, rgba(18, 18, 24, 0.8) 0%, rgba(13, 13, 19, 0.9) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 28px;
    padding: 4rem;
    text-align: center;
    position: relative;
}

.custom-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.custom-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.custom-cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* SEÇÃO FAQ */
.faq {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.05);
}

.faq-question {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-secondary);
    transition: transform 0.3s ease;
}

/* Linha horizontal */
.faq-icon::before {
    width: 12px;
    height: 2px;
}

/* Linha vertical */
.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-icon::before {
    transform: rotate(90deg);
    background-color: var(--primary);
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    line-height: 1.6;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* FOOTER (RODAPÉ) */
.footer {
    background-color: #08080c;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: inline-flex;
    margin-bottom: 1.2rem;
}

.footer-brand .logo-img {
    height: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.whatsapp-link {
    color: var(--whatsapp-green) !important;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   INTERAÇÃO DO CARRINHO DE COMPRAS (SIDEBAR E OVERLAY)
   ========================================================================== */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background-color: #0f0f15;
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 951;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Espaço Scrollable dos Itens */
.cart-items-container {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Mensagem de Carrinho Vazio */
.cart-empty-message {
    text-align: center;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.icon-empty {
    width: 60px;
    height: 60px;
    color: var(--text-muted);
}

.cart-empty-message p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Estilização dos itens injetados */
.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 1.2rem;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

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

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.cart-item-variants {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Controles de Quantidade */
.qty-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 26px;
    height: 26px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 700;
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.remove-item-btn:hover {
    color: var(--accent);
    background: rgba(236, 72, 153, 0.05);
}

/* Rodapé do Carrinho com Checkout */
.cart-checkout-footer {
    padding: 2rem;
    background-color: #0b0b0f;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cart-total-value {
    color: var(--secondary);
    font-size: 1.3rem;
}

/* Formulário Interno do Carrinho */
.cart-checkout-form {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: white;
    font-family: inherit;
    font-size: 0.85rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.15);
}

.form-group select option {
    background-color: #0f0f15;
    color: white;
}

.btn-checkout {
    font-size: 1rem;
    padding: 0.9rem;
    margin-top: 0.5rem;
}

.cart-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ==========================================================================
   ANIMAÇÕES E RESPONSIVIDADE
   ========================================================================== */

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
        transform: scale(0.95);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
        transform: scale(1.1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(0.95);
    }
}

/* MEDIA QUERIES (RESPONSIVIDADE) */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .logo-img {
        height: 90px;
        transform: translateY(10px);
    }

    .logo-img:hover {
        transform: translateY(10px) scale(1.03);
    }

    .nav-menu {
        display: none;
        /* Em um site de produção criaríamos um menu hambúrguer, mas para simplificar focamos na experiência do catálogo */
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .custom-cta-card {
        padding: 2.5rem;
    }

    .custom-cta-content h2 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   CARDS DE PRODUTO DINÂMICOS — Estilos base (sem conflito)
   ========================================================================== */

/* Garante que cards gerados dinamicamente usem o mesmo estilo base */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium), 0 0 30px var(--glow-purple);
}

/* Tag de destaque (flutuante sobre a imagem) */
.product-tag-float {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.tag-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #fff;
}

/* Wrapper da imagem do produto */
.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a26, #12121a);
}

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

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

/* Área de informações do produto */
.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-description {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Seção de variantes (cores + tamanhos) */
.product-variants {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.variant-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selected-variant-text {
    color: var(--text-primary);
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
}

/* Ícone do botão de adicionar ao carrinho */
.add-to-cart-btn .icon {
    width: 16px;
    height: 16px;
}

/* Catálogo vazio */
.empty-catalog {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    line-height: 2;
}