:root {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #10b981;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-apple: 0 20px 40px -15px rgba(0,0,0,0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --radius-lg: 24px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container & Grid */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header V2 */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    border-radius: 8px;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-btn:hover { color: var(--primary); }
.icon-btn svg { width: 24px; height: 24px; }

/* Hamburger Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section V2 */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(79,70,229,0.03) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
    gap: 8px;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    background-color: #f1f5f9;
}

/* Faixa de Confiança */
.trust-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    padding: 24px 0;
}
.trust-bar .badges {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}
.badge-item svg {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
}

/* Categorias */
.categories {
    padding: 80px 0 40px;
}
.cat-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: none;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-card {
    min-width: 150px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.cat-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Products Section V2 */
.products-section {
    padding: 60px 0 100px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-apple);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--text-main);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
}
.badge-offer { background: #ef4444; }

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    background: #f1f5f9;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-main);
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.price-container {
    margin-bottom: 24px;
}

.price-old {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.price-parcel {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-actions .btn {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Como Funciona */
.how-it-works {
    background: var(--white);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
}
.step-card {
    text-align: center;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
}
.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}
.faq-q {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 8px;
}
.faq-a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer Profissional */
.site-footer {
    background-color: #020617;
    color: #94a3b8;
    padding: 80px 0 40px;
    border-top: 1px solid #1e293b;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.6;
}
.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.1rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--white);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-item svg {
    width: 20px; height: 20px;
    fill: var(--primary);
}
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

/* Forms & Auth */
.auth-container {
    max-width: 440px;
    margin: 80px auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-apple);
    border: 1px solid var(--border-color);
}
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}
.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}
.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    background: #f8fafc;
}
.form-group input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.alert {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}
.alert-error {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}
.alert-success {
    background-color: #f0fdf4;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

/* Produto Individual */
.product-page {
    padding: 80px 0;
}
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-apple);
    border: 1px solid var(--border-color);
}
.product-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.feature-list {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.feature-item svg {
    width: 24px; height: 24px;
    fill: var(--secondary);
}

/* Responsivo */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-hero { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .trust-bar .badges { flex-direction: column; gap: 16px; align-items: center; }
    .auth-container { padding: 32px 24px; margin: 40px auto; }
}
