/* =========================================
   Design System & Variables
   ========================================= */
:root {
    /* Color Palette - Dark Theme Default */
    --bg-main: #0A0A0A;
    --bg-surface: #171717;
    --bg-alt: #121212;

    /* Primary (Orange SysOS vibe) */
    --primary: #F97316;
    --primary-hover: #EA580C;
    --primary-glow: rgba(249, 115, 22, 0.4);

    /* Typography colors */
    --text-heading: #FFFFFF;
    --text-body: #A3A3A3;
    --text-muted: #737373;

    /* Borders & UI */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transition */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Support (Optional Toggle) */
html.light {
    --bg-main: #FAFAFA;
    --bg-surface: #FFFFFF;
    --bg-alt: #F4F4F5;

    --text-heading: #09090B;
    --text-body: #52525B;
    --text-muted: #A1A1AA;

    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    transition: background-color var(--transition), color var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

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

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

.section-padding {
    padding: 100px 0;
}

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    right: -100px;
}

.glow-2 {
    bottom: 20%;
    left: -200px;
    background: linear-gradient(135deg, #3b82f6, rgba(59, 130, 246, 0.8));
    opacity: 0.05;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #D95311);
    color: #fff !important;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    background: var(--border-subtle);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-heading);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

html.light .btn-glass {
    background: rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.w-100 {
    width: 100%;
}

/* =========================================
   Header & Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    /* Semi-transparent dark */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 15px 0;
}

html.light .navbar.scrolled {
    background: rgba(250, 250, 250, 0.85);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-heading);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 99;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.mobile-menu a:hover {
    background: var(--border-subtle);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: 180px 0 100px;
    position: relative;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--border-subtle);
    border: 1px solid var(--border-strong);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-info strong {
    font-weight: 800;
    font-family: 'Outfit';
    font-size: 1.25rem;
    color: var(--text-heading);
    line-height: 1.1;
}

.stat-info span {
    font-size: 0.85rem;
}

/* =========================================
   Sections Layout (Grid)
   ========================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.grid {
    display: grid;
    gap: 24px;
}

/* =========================================
   Promoções da Semana
   ========================================= */
.promos-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.promo-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.promo-featured {
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--primary);
    transform: scale(1.02);
}

.promo-featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-heading);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.featured-badge {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.card-icon-area {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    border: 1px solid var(--border-subtle);
    font-size: 3rem;
    color: var(--text-heading);
    transition: var(--transition);
}

.promo-card:hover .card-icon-area {
    color: var(--primary);
    border-color: rgba(249, 115, 22, 0.3);
}

.promo-featured .card-icon-area {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0));
    color: var(--primary);
    border-color: rgba(249, 115, 22, 0.3);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 70px;
}

.pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.old-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: var(--text-heading);
    line-height: 1;
    margin-top: 5px;
}

.new-price.highlight {
    color: var(--primary);
}

/* =========================================
   Catálogo
   ========================================= */
.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
}

.cat-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cat-card:hover {
    background: var(--border-subtle);
    transform: translateY(-5px);
}

.cat-icon {
    width: 50px;
    height: 50px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.cat-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.catalogo-cta {
    text-align: center;
    margin-top: 50px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 80px;
    background: var(--bg-main);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.2fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-body);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col p {
    margin-bottom: 12px;
}

.footer-col.brand p {
    margin: 20px 0;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* =========================================
   Animations & Reveal
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Utility Classes
   ========================================= */
.show-mobile {
    display: none;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

    .nav-actions .btn-primary {
        display: none;
    }

    /* Hide large contact button on mobile header */

    .hero {
        padding: 140px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-bottom: 50px;
    }

    .btn-large {
        width: 100%;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-card {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer {
        padding-top: 50px;
    }

    .promo-featured {
        transform: scale(1);
    }

    .promo-featured:hover {
        transform: translateY(-5px);
    }

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

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

@media (max-width: 600px) {
    .show-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .promo-card {
        padding: 30px 20px;
    }

    .bg-glow {
        width: 300px;
        height: 300px;
        filter: blur(100px);
    }
}