@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #FFE700; /* Yellow Mercado Livre */
    --primary-color: #FFE700;
    --secondary: #8B5CF6; /* Vibrant Modern Purple */
    --secondary-dark: #6D28D9;
    --accent: #10B981; /* Green for success/installments */
    
    /* Dark Mode Palette */
    --bg-dark: #09090b; /* Zinc 950 */
    --bg-card: #18181b; /* Zinc 900 */
    --bg-card-hover: #27272a; /* Zinc 800 */
    --text-main: #f4f4f5; /* Zinc 50 */
    --text-muted: #a1a1aa; /* Zinc 400 */
    
    --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
    --shadow-glow-yellow: 0 0 25px rgba(255, 231, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Global Site Header - Target specifically the main navigation header */
body > header {
    background-color: var(--primary);
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '💎'; /* Adicionando um ícone sutil de diamante na logo via CSS */
    font-size: 1.4rem;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-right: 150px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Menos gap, mais padding nos links */
}

nav a {
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

nav a:hover {
    color: #000000;
    background-color: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 70vh;
    background-color: var(--bg-dark);
    /* Mesh Gradient Effect */
    background-image: 
    radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 231, 0, 0.08), transparent 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism subtle overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, var(--bg-dark) 100%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.1;
    z-index: 1;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 231, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: var(--text-muted);
    z-index: 1;
}

.btn {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, var(--secondary), #A78BFA);
}

/* Category Circles Styles */
.categories-strip {
    background-color: var(--bg-card);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.category-circles {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 0 auto;
    padding: 0 5%;
    flex-wrap: wrap;
}

.cat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.circle-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #ffffff; /* Fundo branco para esconder o quadrado das imagens */
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

/* Inner shadow for depth */
.circle-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    box-shadow: inset 0 -4px 10px rgba(0,0,0,0.1);
    pointer-events: none;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 231, 0, 0.3);
    transform: translateY(-2px);
}

.search-container i {
    margin-left: 20px;
    color: #999;
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
}

.search-input::placeholder {
    color: #bbb;
}

/* Legal Pages */
.legal-content {
    padding: 2rem 0;
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: white !important;
}

.legal-content .card {
    background: white !important;
    color: #1a1a1a !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}

.legal-content .card p, 
.legal-content .card li,
.legal-content .card div {
    color: #222 !important;
}

.legal-content .card h2 {
    color: var(--secondary-dark) !important;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }
    .legal-content .card {
        padding: 1.5rem !important;
    }
}

/* Product Grid */
.cat-circle-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cat-circle-item:hover .circle-img {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), var(--shadow-glow-yellow);
}

.cat-circle-item:hover span {
    color: var(--primary);
}

/* Benefits Bar */
.benefits-bar {
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 5%;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

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

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
}

.benefit-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Post Grid */
.container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 5%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), var(--shadow-glow);
}

.card-img {
    height: 250px;
    background-color: #ffffff;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary), #eab308);
    color: #000;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--text-main);
    order: 3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.card-description {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 8px 0 15px 0;
    order: 4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.price-container {
    margin: 0;
    display: flex;
    flex-direction: column;
    order: 1;
}

.old-price {
    color: #52525b;
    font-size: 0.9rem;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.new-price {
    color: var(--text-main);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.btn-store {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: var(--transition);
    font-size: 0.95rem;
    order: 4;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-store:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Info Footer Section */
.info-footer {
    background-color: var(--bg-card);
    padding: 6rem 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

/* Subtle glow at the top of the footer */
.info-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.5;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.info-column {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Hover effect: slight lift and border glow */
.info-column:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 231, 0, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.info-column h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bullet icon before title */
.info-column h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

.info-column p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: inline-block;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 0;
    color: var(--text-muted);
}

.loading-state i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.loading-state p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .category-circles { gap: 3rem; }
}

@media (max-width: 900px) {
    .info-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .benefits-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    nav { margin-right: 0; }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1.2rem;
        height: auto;
    }
    
    .logo { font-size: 1.5rem; }
    
    nav { 
        width: 100%;
        justify-content: center;
    }
    
    nav ul { 
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a { 
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem; 
    }

    .hero { height: auto; padding: 6rem 5% 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .category-circles { gap: 1.5rem; }
    .circle-img { width: 70px; height: 70px; }
    .cat-circle-item span { font-size: 0.75rem; }

    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .benefits-container {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .card-img { height: 200px; }
    .new-price { font-size: 1.5rem; }
    
    .info-column { padding: 1.5rem; }
}

/* ==========================================================================
   BLOG & ARTICLES
   ========================================================================== */

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

.blog-highlights {
    padding: 10rem 0;
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    position: relative;
}

.blog-highlights .section-title {
    font-size: 3.5rem;
    background: linear-gradient(to right, #FFE700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4rem;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: #18181b; /* Solid Dark Base */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.blog-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #27272a; /* Placeholder color */
}

.blog-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #18181b, transparent);
}

.blog-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: rgba(255, 231, 0, 0.1);
    width: fit-content;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.blog-card h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more {
    margin-top: auto;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    width: fit-content;
}

.read-more i {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.read-more:hover i {
    background: #ffffff;
    transform: rotate(-45deg);
}

/* Article Reading Layout */
.article-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.article-header {
    text-align: center;
    margin-bottom: 4rem;
    background: transparent; /* Reset yellow background */
    padding: 0;
    position: static; /* Reset sticky */
    display: block; /* Reset flexbox */
    box-shadow: none;
    border-bottom: none;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.article-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.article-hero-img {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main); /* Lighter text for dark mode */
    opacity: 0.9;
}

.article-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: #ffffff; /* Bright white for headings */
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 1rem;
}

.pro-tip {
    background: rgba(255, 231, 0, 0.05); /* Very subtle yellow glow */
    border-left: 4px solid var(--primary-color);
    padding: 2.5rem;
    border-radius: 0 16px 16px 0;
    margin: 4rem 0;
    color: var(--text-main);
}

.pro-tip strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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