/* LOMBELLO SHOP - CSS - Parte 1: Base e Variáveis */
:root {
  --color-primary: #ff6b35;
  --color-primary-hover: #e55a2b;
  --color-primary-light: #fff0eb;
  --color-text: #1a1a2e;
  --color-text-secondary: #4a4a68;
  --color-text-muted: #8888a0;
  --color-bg: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-bg-dark: #1a1a2e;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;
  --color-border: #e5e7eb;
  --color-star: #fbbf24;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --font-family: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --transition: 300ms ease;
  --container-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Header */
.header { background: var(--color-bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.header__container { display: flex; align-items: center; justify-content: space-between; padding: 16px; max-width: var(--container-max); margin: 0 auto; gap: 16px; }
.header__logo { font-size: 20px; font-weight: 700; color: var(--color-primary); display: flex; align-items: center; gap: 8px; }
.header__nav { display: none; }
.header__nav-list { display: flex; gap: 24px; }
.header__nav-link { font-size: 14px; font-weight: 500; color: var(--color-text-secondary); transition: color var(--transition); }
.header__nav-link:hover { color: var(--color-primary); }
.header__social-proof { display: none; font-size: 12px; color: var(--color-text-muted); background: var(--color-primary-light); padding: 4px 12px; border-radius: var(--radius-full); }
.header__social-proof strong { color: var(--color-primary); }
.header__menu-btn { display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.header__menu-btn span { width: 24px; height: 2px; background: var(--color-text); }
@media (min-width: 768px) {
  .header__nav, .header__social-proof { display: block; }
  .header__menu-btn { display: none; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--color-bg-white), var(--color-primary-light)); padding: 48px 0 64px; text-align: center; }
.hero__content { max-width: 800px; margin: 0 auto; }
.hero__title { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero__title-highlight { color: var(--color-primary); }
.hero__subtitle { font-size: 18px; color: var(--color-text-secondary); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--color-primary); color: white; font-size: 18px; font-weight: 600; padding: 16px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transition: all var(--transition); }
.hero__cta:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.hero__trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.hero__trust-badge { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--color-text-secondary); background: var(--color-bg-white); padding: 8px 16px; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); }
.hero__trust-badge-icon { color: var(--color-success); }
@media (min-width: 768px) { .hero { padding: 64px 0; } .hero__title { font-size: 36px; } }

/* Filters */
.filters { background: var(--color-bg-white); border-bottom: 1px solid var(--color-border); padding: 16px 0; position: sticky; top: 60px; z-index: 50; }
.filters__container { display: flex; flex-direction: column; gap: 16px; }
.filters__search { position: relative; flex: 1; }
.filters__search-input { width: 100%; padding: 8px 16px 8px 40px; font-size: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); transition: border-color var(--transition); }
.filters__search-input:focus { outline: none; border-color: var(--color-primary); }
.filters__search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); }
.filters__selects { display: flex; gap: 8px; }
.filters__select { flex: 1; padding: 8px 16px; font-size: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-white); cursor: pointer; }
.filters__select:focus { outline: none; border-color: var(--color-primary); }
.filters__results-count { font-size: 14px; color: var(--color-text-muted); text-align: center; }
@media (min-width: 768px) {
  .filters__container { flex-direction: row; align-items: center; }
  .filters__search { max-width: 300px; }
  .filters__selects { flex: 0 0 auto; }
  .filters__select { min-width: 150px; }
  .filters__results-count { margin-left: auto; }
}

/* Section Headers */
.section-header { text-align: center; margin-bottom: 32px; }
.section-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.section-subtitle { font-size: 16px; color: var(--color-text-secondary); }

/* Highlights */
.highlights { padding: 48px 0; background: var(--color-bg-white); }
.highlights__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .highlights__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .highlights__grid { grid-template-columns: repeat(3, 1fr); } }

/* Products Grid */
.products { padding: 48px 0; }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .products__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .products__grid { grid-template-columns: repeat(4, 1fr); } }

/* Product Card */
.product-card { background: var(--color-bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); animation: fadeIn 0.5s ease forwards; opacity: 0; }
.product-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-xl); }
.product-card--highlight { border: 2px solid var(--color-primary); }
.product-card__image-wrapper { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-bg); }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__image { transform: scale(1.05); }
.product-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.product-card__badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.5px; }
.product-card__badge--bestseller { background: var(--color-primary); color: white; }
.product-card__badge--recommended { background: var(--color-info); color: white; }
.product-card__badge--new { background: var(--color-success); color: white; }
.product-card__badge--discount { background: var(--color-danger); color: white; }
.product-card__badge--premium { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; }
.product-card__badge--best-value { background: var(--color-warning); color: var(--color-text); }
.product-card__discount-tag { position: absolute; top: 8px; right: 8px; background: var(--color-danger); color: white; font-size: 14px; font-weight: 700; padding: 4px 8px; border-radius: var(--radius-sm); }
.product-card__content { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.product-card__stars { display: flex; gap: 1px; }
.product-card__star { color: var(--color-star); font-size: 14px; }
.product-card__star--empty { color: var(--color-border); }
.product-card__rating-text { font-size: 12px; color: var(--color-text-muted); }
.product-card__pricing { margin-bottom: 8px; }
.product-card__price-current { font-size: 20px; font-weight: 700; color: var(--color-success); }
.product-card__price-old { font-size: 14px; color: var(--color-text-muted); text-decoration: line-through; margin-left: 8px; }
.product-card__savings { display: inline-block; font-size: 12px; color: var(--color-success); background: rgba(34,197,94,0.1); padding: 4px 8px; border-radius: var(--radius-sm); margin-top: 4px; font-weight: 500; }
.product-card__description { font-size: 12px; color: var(--color-text-secondary); margin-bottom: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__scarcity { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--color-danger); font-weight: 500; margin-bottom: 8px; padding: 4px 8px; background: rgba(239,68,68,0.1); border-radius: var(--radius-sm); }
.product-card__scarcity-icon { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.product-card__guarantee { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--color-success); margin-bottom: 8px; }
.product-card__cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--color-primary); color: white; font-size: 14px; font-weight: 600; padding: 16px; border-radius: var(--radius-md); margin-top: auto; transition: all 150ms ease; }
.product-card__cta:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.product-card__cta-icon { transition: transform 150ms ease; }
.product-card__cta:hover .product-card__cta-icon { transform: translateX(4px); }
.product-card--large .product-card__name { font-size: 16px; }
.product-card--large .product-card__price-current { font-size: 24px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.15s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.25s; }

/* Trust Section */
.trust-section { background: var(--color-bg); padding: 48px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-section__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .trust-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-section__grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: var(--color-bg-white); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.testimonial__quote { font-size: 14px; color: var(--color-text-secondary); font-style: italic; margin-bottom: 16px; line-height: 1.6; }
.testimonial__quote::before { content: '"'; font-size: 24px; color: var(--color-primary); }
.testimonial__author { display: flex; align-items: center; gap: 8px; }
.testimonial__avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.testimonial__name { font-size: 14px; font-weight: 600; }
.testimonial__role { font-size: 12px; color: var(--color-text-muted); }
.trust-badges { display: flex; flex-direction: column; gap: 16px; }
.trust-badge { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--color-bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.trust-badge__icon { font-size: 24px; color: var(--color-success); flex-shrink: 0; }
.trust-badge__content h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.trust-badge__content p { font-size: 12px; color: var(--color-text-secondary); }
.affiliate-disclosure { background: var(--color-primary-light); padding: 24px; border-radius: var(--radius-lg); border-left: 4px solid var(--color-primary); }
.affiliate-disclosure__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.affiliate-disclosure__text { font-size: 14px; color: var(--color-text-secondary); line-height: 1.6; }

/* FAQ */
.faq { padding: 48px 0; background: var(--color-bg-white); }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 16px; font-weight: 600; text-align: left; transition: color var(--transition); }
.faq__question:hover { color: var(--color-primary); }
.faq__question-icon { font-size: 18px; color: var(--color-primary); transition: transform var(--transition); }
.faq__item.active .faq__question-icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq__item.active .faq__answer { max-height: 500px; }
.faq__answer-content { padding-bottom: 24px; font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; }

/* Footer */
.footer { background: var(--color-bg-dark); color: white; padding: 32px 0; text-align: center; }
.footer__content { display: flex; flex-direction: column; gap: 16px; }
.footer__logo { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.footer__disclaimer { font-size: 12px; color: var(--color-text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.footer__copyright { font-size: 12px; color: var(--color-text-muted); }

/* Loading & Empty */
.loading { display: flex; justify-content: center; align-items: center; padding: 64px; }
.loading__spinner { width: 48px; height: 48px; border: 4px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 64px; }
.empty-state__icon { font-size: 64px; margin-bottom: 16px; }
.empty-state__title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.empty-state__text { font-size: 14px; color: var(--color-text-secondary); }
