﻿:root {
    --bg-main: #f5f5f7;
    --bg-white: #ffffff;
    --header-bg: #000000;
    --nav-bg: #000000;
    --text-main: #1d1d1f;
    --text-light: #ffffff;
    --text-muted: #86868b;
    --primary: #c6d30d;
    --accent-blue: #0071e3;
    --border: #d2d2d7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 4rem 0;
}

.top-bar {
    background-color: #f2f2f2;
    color: #333;
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.main-header {
    background-color: var(--header-bg);
    padding: 20px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    height: 48px;
    width: auto;
    max-height: 52px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 113, 227, 0.35));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover .logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 14px rgba(0, 140, 255, 0.65));
}

.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
}

.search-bar input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    background-color: #38373a;
    color: var(--text-light);
}

.search-bar button {
    padding: 10px 15px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: #f5f5f7;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.action-item {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.main-nav {
    background-color: var(--nav-bg);
}

.nav-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-inner a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.2s;
}

.nav-inner a:hover {
    opacity: 0.8;
}
/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 70vh;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.05em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Categories */
.categories {
    background-color: var(--bg-white);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.category-item {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item span {
    font-weight: 500;
    font-size: 1.1rem;
}
/* Vitrine / Destaques */
.vitrine {
    background-color: var(--bg-main);
}

.vitrine-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.vitrine-header .section-title {
    margin-bottom: 0;
}

.ver-todos {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 280px;
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 30px 20px;
    position: relative;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--text-main);
    color: var(--bg-white);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    transform: translateZ(40px);
}

.badge.red {
    background-color: #e3000f;
}

.product-image-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image-container img {
    max-height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    min-height: 44px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-installments {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.product-discount {
    color: #248b3b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: #b3c00c;
}

.btn-buy {
    width: 100%;
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-buy:hover {
    background-color: #005bb5;
}

.carousel-btn {
    background-color: #fff;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }
/* Banner Section */
.banner-section {
    background-color: var(--bg-white);
}

.banner {
    background: linear-gradient(135deg, #1d1d1f 0%, #38373a 100%);
    color: var(--text-light);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--text-main);
}

/* Footer */
.main-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}


.footer-col.brand-col {
    flex: 1.5;
    min-width: 250px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
    transition: transform 0.25s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.04);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.payment-methods span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom {
    background-color: #f2f2f2;
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }
    .search-bar {
        width: 100%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .footer-inner {
        flex-direction: column;
    }
}
/* Product Page Layout */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-image-container {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    border: 1px solid var(--border);
}

.main-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.thumbnail-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--accent-blue);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-detail {
    flex: 1;
    min-width: 300px;
}

.product-info-detail h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-info-detail .price-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.product-info-detail .price-block h2 {
    font-size: 2rem;
    font-weight: 700;
}

.product-info-detail .installments {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-info-detail .discount {
    color: #248b3b;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-description p {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.product-description ul {
    list-style-type: none;
    margin-left: 0;
}

.product-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.product-description li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-main);
}

.buy-action {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buy-action .btn-buy {
    font-size: 1.2rem;
    padding: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20BA56;
}

/* Depoimentos Section */
.depoimentos-section {
    background-color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.depoimentos-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.depoimentos-track::-webkit-scrollbar {
    display: none;
}

.depoimento-card {
    min-width: 280px;
    height: 480px;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.depoimento-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.depoimento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: #fff;
    text-align: left;
}

.depoimento-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.depoimento-overlay p {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: transform 0.2s;
}

.instagram-btn:hover {
    transform: translateY(-3px);
}

/* 3D Spline Viewer */
spline-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Vanilla Tilt specifics */
.product-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.product-image-container img {
    transform: translateZ(30px); /* Makes the phone pop out of the card */
}

/* GSAP 3D Scroll Section */
.scroll-3d-section {
    height: 150vh;
    background-color: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}
.scroll-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
}
.scroll-text {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #f5f5f7 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 50px;
    z-index: 2;
    padding: 0 20px;
}
.scroll-phone {
    max-height: 50vh;
    z-index: 1;
    will-change: transform;
}



.main-nav a.nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    padding: 4px 10px;
    transition: background-color 0.2s, color 0.2s;
}

.main-nav a.nav-btn:hover {
    background-color: #fff;
    color: #000;
}


/* Subnavigation Pill (Cloned from reference) */
.subnav-container {
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f7;
}

.subnav-pill {
    background-color: #f2f2f7;
    border-radius: 40px;
    display: inline-flex;
    padding: 4px;
    gap: 2px;
}

.subnav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.subnav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.subnav-link.active {
    background-color: #1d1d1f;
    color: #fff;
}

.subnav-link .apple-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
    margin-bottom: 2px;
}

/* =========================================
   COMPREHENSIVE MOBILE UX OVERHAUL
   ========================================= */
@media (max-width: 768px) {
    /* Prevent body horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* Top Bar */
    .top-bar {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    /* Header Optimization */
    .header-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px;
    }
    .search-bar {
        order: 3;
        width: 100%;
    }
    .logo-img {
        height: 38px;
        max-height: 40px;
    }
    .footer-logo-img {
        height: 44px;
    }
    .header-actions {
        gap: 10px;
    }
    .header-actions .action-text {
        display: none; /* Hide text, keep icons */
    }

    /* Horizontal Scrolling Navigations (Apple Style) */
    .nav-inner {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0 15px;
    }
    .nav-inner::-webkit-scrollbar {
        display: none;
    }

    .subnav-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 10px 15px;
        justify-content: flex-start;
    }
    .subnav-container::-webkit-scrollbar {
        display: none;
    }
    .subnav-pill {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    /* Hero Section */
    .hero-content {
        padding: 0 20px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    .hero-content p {
        font-size: 1rem;
    }

    /* Categories Horizontal Scroll */
    .categories-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 20px;
        padding: 10px 20px 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }
    .categories-grid::-webkit-scrollbar {
        display: none;
    }
    .category-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    /* Products Track Optimization */
    .products-track {
        padding: 0 20px 20px;
        scroll-snap-type: x mandatory;
        gap: 15px;
    }
    .product-card {
        min-width: 80vw; /* Card takes 80% of width, next card peeks */
        scroll-snap-align: center;
    }

    /* Testimonials Optimization */
    .depoimentos-track {
        padding: 0 20px 20px;
        scroll-snap-type: x mandatory;
        gap: 15px;
    }
    .depoimento-card {
        min-width: 85vw;
        height: 400px;
        scroll-snap-align: center;
    }

    /* Product Details Page */
    .product-detail-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    .product-gallery, .product-info-detail {
        width: 100%;
        min-width: 100%;
    }
    .product-info-detail h1 {
        font-size: 1.8rem;
    }
    .price-block h2 {
        font-size: 2rem;
    }

    /* Footer Stacking & Centering for Mobile */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    .footer-col.brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 10px auto;
        width: 100%;
        text-align: center;
    }
    .footer-logo-img {
        height: 48px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .footer-col.brand-col p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 320px;
    }

    /* 3D Scroll Presentation */
    .scroll-text {
        font-size: 2rem;
    }
    .scroll-phone {
        max-height: 40vh;
    }
}



/* =========================================
   SERVICES CARDS & BENTO GRID
   ========================================= */

/* Services Cards */
.services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.services-track::-webkit-scrollbar { display: none; }
.service-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    min-width: 260px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-card p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #1d1d1f;
    margin: 0;
}

/* Bento Grid */
.bento-grid {
    display: flex;
    gap: 20px;
}
.bento-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}
.bento-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.bento-large {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 40px;
}
.bento-small {
    display: flex;
    align-items: center;
    padding: 30px;
    flex: 1;
}
.bento-content {
    z-index: 2;
}
.bento-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.bento-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}
.bento-content p {
    font-size: 0.95rem;
    color: #86868b;
    margin-bottom: 15px;
    line-height: 1.3;
}
.btn-blue {
    background-color: #0071e3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.2s;
}
.btn-blue:hover {
    background-color: #0077ed;
    color: #fff;
}
.bento-image-bottom {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.bento-image-bottom img {
    max-width: 80%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}
.bento-image-side {
    flex-shrink: 0;
    width: 40%;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}
.bento-image-side img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

/* Bento Grid Mobile */
@media (max-width: 768px) {
    .bento-grid {
        flex-direction: column;
    }
    .bento-small {
        flex-direction: column;
        text-align: center;
    }
    .bento-image-side {
        width: 80%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
