/* /site/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Cores principais baseadas na marca */
    --color-brand-red: #9e0b0f;
    --color-brand-gold: #d4af37;
    --color-brand-gold-light: #f5e8c1;
    --color-brand-gold-dark: #b59226;

    /* Cores UI/UX Clean (UNIQUE concept) */
    --color-bg: #fdfdfd;
    --color-surface: #ffffff;
    --color-surface-hover: #f5f5f5;
    --color-text-primary: #121212;
    --color-text-secondary: #71717a;
    --color-border: #f0f0f0;
    
    /* Variáveis estruturais */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* NAVBAR APP-LIKE */
.navbar-clean {
    background-color: rgba(253, 253, 253, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}

.navbar-brand img {
    height: 40px; /* Mais contido para dar ar de sofisticação/app */
}

/* HERO SECTION (CLEAN & MODERN) */
.hero-clean {
    padding: 120px 0 60px 0;
    background-color: var(--color-bg);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-brand-gold-light);
    color: var(--color-brand-gold-dark);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-tag i {
    margin-right: 6px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CATEGORY SCROLL (MOBILE-FIRST) */
.category-scroll-wrapper {
    margin: 40px 0;
    overflow-x: auto;
    padding-bottom: 10px;
    /* Esconder scrollbar */
    scrollbar-width: none; 
}
.category-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.category-track {
    display: flex;
    gap: 12px;
    padding: 0 4px;
}

.cat-pill {
    white-space: nowrap;
    padding: 12px 24px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-text-secondary);
    font-weight: 500;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cat-pill.active, .cat-pill:hover {
    background-color: var(--color-brand-red);
    color: #fff;
    border-color: var(--color-brand-red);
    box-shadow: 0 10px 20px rgba(158, 11, 15, 0.2);
}

/* APP-LIKE PRODUCT CARDS */
.product-card-clean {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 12px;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-clean:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
}

.pc-image-wrapper {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: #f5f5f5;
    position: relative;
}

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

.product-card-clean:hover .pc-image-wrapper img {
    transform: scale(1.05);
}

.pc-content {
    padding: 16px 8px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pc-cat {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

.pc-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-brand-red);
}

.pc-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    transition: var(--transition);
}

.product-card-clean:hover .pc-action {
    background-color: var(--color-brand-red);
    color: #fff;
}

/* PRODUCT DETAIL (MOBILE-FIRST UNIQUE LAYOUT) */
.pd-page {
    padding-top: 76px; /* Altura da navbar */
    padding-bottom: 100px; /* Espaço para o botão fixo mobile */
}

/* No mobile, a imagem cola nas bordas e cantos arredondados só embaixo */
.pd-image-container {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.pd-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-content {
    padding: 32px 0;
}

.pd-cat-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(158, 11, 15, 0.05);
    color: var(--color-brand-red);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.pd-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
    line-height: 1.2;
}

.pd-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 32px;
}

.pd-price span {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    vertical-align: top;
    margin-right: 4px;
}

.pd-description {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* BOTTOM ACTION BAR (STICKY PARA MOBILE) */
.pd-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}

.btn-buy-app {
    background-color: var(--color-brand-red);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(158, 11, 15, 0.25);
    border: none;
    transition: var(--transition);
}

.btn-buy-app:hover {
    background-color: #7a080b; /* Red darker */
    transform: translateY(-2px);
    color: #fff;
}

/* FEATURE ICONS (UNIQUE STYLE) */
.pd-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    background-color: var(--color-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feat-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feat-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}
.feat-text strong {
    display: block;
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 2px;
}

/* RESPONSIVE AJUSTES (MOBILE TO DESKTOP) */
@media (min-width: 992px) {
    .pd-image-container {
        border-radius: var(--radius-lg);
        aspect-ratio: 4/3;
        max-height: 420px;
    }
    
    .pd-action-bar {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        justify-content: flex-start;
    }
    
    .pd-page {
        padding-bottom: 60px;
        padding-top: 120px;
    }

    .btn-buy-app {
        max-width: none;
    }
}

/* FOOTER CORPORATIVO (Baseado no print) */
.footer-corp {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
    margin-top: 60px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-corp strong {
    color: var(--color-text-primary);
}

.footer-corp a {
    color: #0d6efd; /* Azul discreto padrão para links */
    text-decoration: none;
    margin-right: 15px;
}

.footer-corp a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    color: var(--color-text-secondary);
    font-size: 1.3rem;
    margin: 0;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-brand-red);
}

/* OFF CANVAS MENU MOBILE */
.offcanvas-menu {
    font-family: var(--font-heading);
}

.offcanvas-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
    }
}
