:root {
    --bg-color: #0c0a13;
    --card-bg: #161421;
    --card-border: #2a253a;
    --primary: #d946ef;
    --primary-hover: #c026d3;
    --secondary: #8b5cf6;
    --blue: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font-family: 'Inter', sans-serif;
    --primary-gradient: linear-gradient(90deg, #a855f7, #ec4899);
    /* Define primary gradient */
    --transition: all 0.3s ease;
}

html {
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

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

section {
    scroll-margin-top: 100px;
    /* Accounts for fixed navbar */
}

/* Background Image */
/* Background Logic */
body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fundo.jpg') no-repeat center center;
    background-size: cover;
    z-index: -2;
    transform: translateZ(0);
    will-change: transform;
    /* Hardware acceleration hint */
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 10, 19, 0.7);
    /* Slightly more transparent to show image */
    z-index: -1;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 4rem;
    background: rgba(12, 10, 19, 0.4);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: rgba(12, 10, 19, 0.95);
    padding: 0.6rem 4rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    white-space: nowrap;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
    display: inline-block;
}

.logo-text span {
    background: linear-gradient(to right, #93c5fd, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo:hover {
    filter: drop-shadow(0 0 8px var(--primary));
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px var(--primary);
}

.nav-links a.active {
    background: rgba(139, 92, 246, 0.2);
    color: #e879f9;
    border: 1px solid rgba(217, 70, 239, 0.2);
}

.admin-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    height: 18px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-btn,
.login-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    color: white;
    display: none;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
}

.user-btn {
    background: rgba(139, 92, 246, 0.2);
    color: #e879f9;
    border: 1px solid rgba(217, 70, 239, 0.2);
}

.user-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
    color: white;
}

.logout-btn {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.logout-btn:hover {
    color: #ef4444;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem 3rem;
    min-height: 80vh;
}

.premium-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 18, 30, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #d8b4fe;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(5px);
}

.premium-badge i {
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary));
}

.hero-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #ffffff 20%, #60a5fa 60%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.hero-desc {
    max-width: 600px;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: white;
    border: none;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.6);
}

.btn-secondary {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #e879f9;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.btn-secondary i {
    color: #d946ef;
    filter: drop-shadow(0 0 5px #d946ef);
}

.delivery-badge {
    background: rgba(12, 10, 19, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(5px);
}

.stats {
    display: flex;
    gap: 4rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.stat-item h3 span {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.stat-item i {
    color: var(--blue);
    font-size: 1.5rem;
}

/* Destaques Section */
.destaques {
    padding: 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.ver-todos {
    float: right;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -30px;
}

/* --- PRODUCTS FILTERS --- */
.products-filters {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-sort-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.search-bar i {
    color: var(--text-muted);
}

.search-bar input {
    background: none;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.sort-select select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: white;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.categories-filter {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.categories-filter::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cat-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.cat-btn.active {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 600px;
    /* Evita que o site 'pule' ao trocar de categoria */
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: cardAppear 0.4s ease-out backwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.discount-badge {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.promo-badge {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.product-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
}

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

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


.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1625, #2d1b4e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 1rem;
}

.img-placeholder.darklab {
    background: linear-gradient(135deg, #1f1f1f, #000);
}

.img-placeholder.darklab-creatine {
    background: linear-gradient(135deg, #2a0845, #6441A5);
}

.price-overlay {
    background: linear-gradient(to right, #e11d48, #be123c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: -20px auto 1rem;
    position: relative;
    z-index: 5;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
    align-self: center;
}

.price-overlay .old-price {
    font-size: 0.75rem;
    opacity: 0.8;
}

.price-overlay .new-price strong {
    font-size: 1.1rem;
}

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

.category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.brand {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.flavor-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.flavor-spacer {
    flex-grow: 1;
    min-height: 2rem;
}

.price-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.price-bottom {
    display: flex;
    flex-direction: column;
}

.price-bottom s {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.price-bottom strong {
    font-size: 1.5rem;
    font-weight: 800;
}

.add-to-cart {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary);
    color: white;
}

/* Academias Parceiras Section */
.academias {
    padding: 2rem;
    text-align: center;
}

.academias-header {
    text-align: center;
    margin-bottom: 2rem;
}

.academias-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.academias-header h2 span {
    color: var(--blue);
}

.academias-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.gyms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.gym-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.gym-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(22, 20, 33, 0.8);
}

.gym-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.gym-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gym-card p i {
    color: var(--primary);
}

.map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.map-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    color: white;
}

/* Features Section */
.features {
    padding: 4rem;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, var(--glow-color), transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.blue-glow {
    --glow-color: #3b82f6;
}

.blue-glow:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.blue-glow .icon-box {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.purple-glow {
    --glow-color: #d946ef;
}

.purple-glow:hover {
    border-color: rgba(217, 70, 239, 0.3);
}

.purple-glow .icon-box {
    background: rgba(217, 70, 239, 0.1);
    color: #d946ef;
}

.green-glow {
    --glow-color: #10b981;
}

.green-glow:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.green-glow .icon-box {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card a {
    color: var(--text-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature-card a:hover {
    color: var(--primary);
    gap: 0.8rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.01);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.testimonial-card {
    background: #18181b;
    /* Solid dark background */
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #1f1f23;
}

.testimonial-card i.quote {
    font-size: 3.5rem;
    color: #4c1d95;
    /* Deep purple */
    opacity: 1;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.testimonial-card .stars {
    display: flex;
    gap: 0.2rem;
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.95);
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-user strong {
    color: white;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.testimonial-user span {
    color: #9ca3af;
    font-size: 0.9rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: #3b1368;
    color: #d8b4fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Footer */
footer {
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content .logo {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-buttons a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.social-buttons a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1.5rem;
        cursor: pointer;
        transition: 0.3s;
    }

    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(13, 11, 24, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        display: flex !important;
        border-left: 1px solid rgba(139, 92, 246, 0.2);
    }

    .nav-links.active {
        right: 0;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-actions {
        gap: 0.8rem;
    }

    .hero {
        padding: 4rem 1.5rem 2rem;
    }

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

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .destaques,
    .academias,
    .testimonials,
    .features {
        padding: 3rem 1.2rem;
    }

    .feature-cards-grid,
    .products-grid,
    .gyms-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .login-btn span, .user-btn span {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 450px;
    height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: 0.4s ease-in-out;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--card-border);
}

.cart-modal::-webkit-scrollbar {
    width: 6px;
}

.cart-modal::-webkit-scrollbar-track {
    background: transparent;
}

.cart-modal::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.cart-modal.active {
    right: 0;
}

/* --- NEW PRODUCT CARD DESIGN (REFERÊNCIA IMAGEM) --- */
.product-card {
    background: #1a1625;
    border-radius: 20px;
    padding: 15px;
    position: relative;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.discount-badge-round {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ec4899;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 10;
}

.promo-badge-purple {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #a855f7;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 10;
}

.product-image-container {
    width: 100%;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, #b91c1c 0%, rgba(185, 28, 28, 0) 100%);
    padding: 20px 10px 10px;
    display: flex;
    justify-content: center;
}

.price-banner-content {
    background: #b91c1c;
    padding: 8px 25px;
    border-radius: 50px 50px 0 0;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

.banner-old {
    display: block;
    font-size: 0.75rem;
    text-decoration: line-through;
    opacity: 0.8;
    color: white;
}

.banner-new {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: white;
}

.category-label {
    color: #a855f7;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.product-title-main {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0;
    color: #fff;
    line-height: 1.3;
}

.brand-name-grey {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.flavor-pills-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag-pill-sm {
    background: #2d2a37;
    color: #9ca3af;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.more-count {
    color: #6b7280;
    font-size: 0.8rem;
    align-self: center;
}

.price-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

.old-price-text {
    display: block;
    color: #6b7280;
    font-size: 0.9rem;
}

.current-price-text {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 800;
}

.cart-btn-square {
    background: #3e2b5b;
    color: #a855f7;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.cart-btn-square:hover {
    background: #a855f7;
    color: white;
    transform: translateY(-3px);
}

/* SELEÇÃO NO MODAL (CHIPS) */
.selection-chip {
    cursor: pointer;
}

.selection-chip input {
    display: none;
}

.selection-chip span {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #9ca3af;
    font-size: 0.9rem;
    transition: 0.3s;
}

.selection-chip input:checked + span {
    background: #a855f7;
    color: white;
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.btn-add-modal {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-add-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.cart-modal.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    display: none;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.cart-header h2 span {
    color: var(--blue);
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 0.5rem;
}

.cart-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}

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

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cart-item-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-item-price {
    color: var(--blue);
    font-weight: 700;
    margin-top: 0.5rem;
}

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

.qty-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
}

.remove-item {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: #ef4444;
}

.cart-footer {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cart-total-row span {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total-row strong {
    font-size: 1.8rem;
    color: var(--blue);
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

/* Checkout View */
.checkout-view {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-step h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.delivery-options,
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-card.active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.option-card i {
    font-size: 1.2rem;
    color: var(--primary);
}

.checkout-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    resize: none;
    margin-bottom: 1rem;
}

.pix-qr-container {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.pix-qr-img {
    width: 200px;
    height: 200px;
    background: white;
    margin: 0 auto 1rem;
    padding: 10px;
    border-radius: 12px;
}

.pix-key-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

@media (max-width: 500px) {
    .cart-modal {
        width: 100%;
    }
}

/* Treino Generator Styles */
.treino-section {
    padding: 4rem 2rem;
    position: relative;
}

.treino-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 1000px;
    margin: 0 auto;
}

.treino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--blue));
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.ai-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.card-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: white;
}

.card-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.full-width {
    grid-column: span 2;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-group select,
.input-group input,
.input-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group select:focus,
.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

.btn-generate {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

#resultArea {
    margin-top: 3rem;
    display: none;
    text-align: left;
    animation: fadeIn 0.5s ease;
}

.result-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
}

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

.workout-day {
    margin-bottom: 2rem;
}

.workout-day h3 {
    color: var(--blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exercise-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.exercise-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loading-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

img[src*="logo.png"], .logo img, .hero-logo, .contact-logo-img {
    animation: floatLogo 2s ease-in-out infinite;
    transform-origin: center;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Pill Badges */
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-pill.blue {
    background: rgba(96, 165, 250, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
    color: var(--blue);
}

/* Updated Contact Section (Image 2 Style) */
.contact-minimal {
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: #000;
    /* Solid black as seen in image 2 */
}

.contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-logo .logo-emoji {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
}

.contact-logo .logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.contact-minimal p {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.8rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.contact-btn.instagram {
    background: linear-gradient(45deg, #a855f7, #ec4899);
    /* Vibrant purple/pink gradient */
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.contact-btn.whatsapp {
    background: #22c55e;
    /* Clean green */
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.contact-btn.email {
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    /* Blue/Cyan gradient */
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.contact-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* =========================================
   Minimal Contact Section
   ========================================= */
.contact-minimal {
    padding: 6rem 2rem;
    background: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.contact-logo .contact-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.contact-logo .logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: white;
}

.contact-logo .logo-text span {
    color: transparent;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
}

.contact-minimal p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    transition: var(--transition);
    border: none;
}

.contact-btn i {
    font-size: 1.3rem;
}

.contact-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.contact-btn.instagram {
    background: linear-gradient(45deg, #d946ef, #a855f7);
    box-shadow: 0 10px 20px rgba(217, 70, 239, 0.2);
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.contact-btn.email {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-btn {
        justify-content: center;
    }
}

/* --- NEW STYLES --- */
.cart-item-image {
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 8px;
}

.current-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(22, 20, 33, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    min-width: 300px;
}

.toast.success { border-left: 4px solid #22c55e; }
.toast.error { border-left: 4px solid #ef4444; }

.toast i { font-size: 1.2rem; }
.toast.success i { color: #22c55e; }
.toast.error i { color: #ef4444; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
    to { opacity: 0; transform: translateY(-20px); }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}