@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========== VARIABLES ========== */
:root {
  --primary: #1a1a2e;
  --primary-700: #16213e;
  --primary-800: #0f172a;
  --accent: #FFD700;
  --accent-hover: #f0c800;
  --success: #22c55e;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --card-bg: rgba(255,255,255,0.7);
  --card-border: rgba(0,0,0,0.06);
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --header-height: 80px;
}

[data-theme="dark"] {
  --primary: #1a1a2e;
  --surface: #0f0f1a;
  --surface-alt: #1a1a2e;
  --card-bg: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.1);
  --shadow: 0 4px 24px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.3);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--surface-alt); }

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  /* Garantir que formulários não estourem a tela */
  form[style*="grid"] { grid-template-columns: 1fr !important; }
  /* Botões de formulário em mobile */
  form button[type="submit"] { width: 100%; min-height: 48px; touch-action: manipulation; }
}

/* ========== SKELETON LOADING ========== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
  background-size: 200% 100%;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-bar {
  border-radius: 4px;
  height: 12px;
  margin-bottom: 8px;
}

.skeleton-bar.title {
  height: 20px;
  width: 60%;
}

.skeleton-bar.text {
  height: 14px;
  width: 100%;
}

.skeleton-bar.text.short {
  width: 80%;
}

.skeleton-avatar {
  border-radius: 50%;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}

.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.skeleton-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.skeleton-plan-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.skeleton-blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-blog-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.skeleton-blog-content {
  padding: 24px;
}

.skeleton-team-member {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

/* Hide skeleton when content is loaded */
.skeleton-wrapper {
  position: relative;
}

.skeleton-wrapper.loaded .skeleton {
  display: none;
}

.skeleton-wrapper .content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skeleton-wrapper.loaded .content {
  opacity: 1;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; transition: all .3s; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 30px rgba(255,215,0,0.4); }
.btn-outline {
  border: 2px solid var(--border); color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ========== CARDS ========== */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .3s;
}
.glass-card:hover { box-shadow: var(--shadow-lg); }

/* ========== ANIMAÇÕES ========== */
.blink-text {
  animation: blink 2s ease-in-out infinite;
  color: var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  padding: 32px;
  transition: all .3s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: rgba(255,215,0,0.1); display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--accent); transition: all .3s;
}
.feature-card:hover .feature-icon { background: var(--accent); color: var(--primary); }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-height); display: flex; align-items: center;
  transition: all .3s; padding: 0 24px;
}
.header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
[data-theme="dark"] .header.scrolled { background: rgba(15,15,26,0.85); }

.header-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.logo-dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }
.logo span { color: var(--accent); }
.header:not(.scrolled) .logo { color: white; }

.nav { display: flex; align-items: center; gap: 6px; flex-shrink: 1; min-width: 0; }
.nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 0.88rem;
  font-weight: 500; transition: all .2s; color: var(--text-secondary);
}
.nav a:hover { color: var(--accent); background: rgba(255,215,0,0.08); }
.header:not(.scrolled) .nav a { color: rgba(255,255,255,0.7); }
.header:not(.scrolled) .nav a:hover { color: white; background: rgba(255,255,255,0.1); }

.nav-cta {
  background: var(--accent) !important; color: var(--primary) !important;
  font-weight: 700 !important; padding: 10px 24px !important; border-radius: 50px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

/* Evitar quebra de linha no botão "Começar Grátis" no cabeçalho */
.nav-cta {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-width: fit-content !important;
}

@media (max-width: 768px) {
  .nav-cta {
    font-size: 0.75rem !important;
    padding: 8px 16px !important;
  }
}

@media (max-width: 640px) {
  .nav-cta {
    font-size: 0.7rem !important;
    padding: 6px 12px !important;
  }
}

@media (max-width: 1024px) {
  .nav { gap: 4px; }
  .nav a { padding: 6px 12px; font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .nav { gap: 2px; }
  .nav a { padding: 4px 8px; font-size: 0.8rem; }
}

.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; background: transparent;
  color: var(--text-muted); transition: all .2s; margin-left: 8px;
}
.header:not(.scrolled) .theme-toggle { color: rgba(255,255,255,0.6); }
.theme-toggle:hover { background: rgba(255,215,0,0.1); color: var(--accent); }

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; background: transparent; align-items: center; justify-content: center; color: var(--text); }
.header:not(.scrolled) .menu-toggle { color: white; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* Mobile Nav */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  background: var(--surface); z-index: 200; padding: 80px 24px 24px;
  transition: right .3s; box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block; padding: 14px 16px; border-radius: 10px;
  font-weight: 500; color: var(--text); transition: all .2s; margin-bottom: 4px;
}
.mobile-nav a:hover { background: rgba(255,215,0,0.08); color: var(--accent); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
  border-radius: 10px; background: var(--surface-alt); display: flex;
  align-items: center; justify-content: center; color: var(--text);
}
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 199; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ========== FOOTER ========== */
.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: white; font-size: 0.95rem; margin-bottom: 20px; }
.footer a { display: block; padding: 4px 0; font-size: 0.88rem; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; transition: all .2s;
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,215,0,0.15), transparent 50%);
}
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, var(--surface), transparent); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { color: white; margin-bottom: 24px; font-size: clamp(2.5rem, 6vw, 4rem); }
.hero p { color: rgba(255,255,255,0.65); font-size: 1.15rem; max-width: 560px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,0.12); border: 1px solid rgba(255,215,0,0.25);
  padding: 8px 20px; border-radius: 50px; font-size: 0.85rem;
  color: var(--accent); font-weight: 500; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  position: relative; padding: 140px 24px 80px; text-align: center; overflow: hidden;
}
.page-hero .hero-bg, .page-hero .hero-fade { position: absolute; }
.page-hero .hero-bg { inset: 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%); }
.page-hero .hero-fade { bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, var(--surface), transparent); }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; }

/* ========== STATS ========== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ========== STEPS ========== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 20px; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px; background: var(--accent);
  color: var(--primary); font-family: var(--font-heading); font-weight: 800;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); }
@media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ========== BENEFITS ========== */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.benefit-card { display: flex; gap: 20px; padding: 28px; }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,215,0,0.1); display: flex;
  align-items: center; justify-content: center; color: var(--accent);
}
.benefit-card h3 { margin-bottom: 6px; }
.benefit-card p { font-size: 0.9rem; color: var(--text-secondary); }
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ========== BEFORE/AFTER ========== */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 800px; margin: 0 auto; }
.comparison-card { padding: 32px; border-radius: var(--radius); }
.comparison-card.before { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); }
.comparison-card.after { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.15); }
.comparison-card h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.comparison-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); padding: 6px 0; }
.comparison-card li svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 640px) { .comparison { grid-template-columns: 1fr; } }

/* ========== TESTIMONIALS ========== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px; }
.testimonial-stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-card blockquote { font-size: 0.93rem; color: var(--text-secondary); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,215,0,0.15); display: flex;
  align-items: center; justify-content: center; font-weight: 700;
  color: var(--accent); font-size: 0.85rem;
}
.testimonial-author-info span { display: block; }
.testimonial-author-info .name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial-author-info .role { font-size: 0.8rem; color: var(--text-muted); }

/* ========== TESTIMONIAL CAROUSEL ========== */
.testimonial-carousel { overflow: hidden; position: relative; }
.testimonial-track { display: flex; gap: 24px; animation: scroll 40s linear infinite; }
.testimonial-carousel:hover .testimonial-track { animation-play-state: paused; }
.testimonial-carousel .testimonial-card { flex-shrink: 0; width: 380px; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-carousel .testimonial-card { width: 300px; }
}

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; background: none; text-align: left;
  font-weight: 600; font-size: 1rem; color: var(--text); transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question svg { flex-shrink: 0; color: var(--text-muted); transition: transform .3s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 0 20px; font-size: 0.93rem; color: var(--text-secondary); line-height: 1.7; }

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative; padding: 96px 24px; text-align: center; overflow: hidden;
}
.cta-banner .hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%); }
.cta-banner-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 32px; }

/* ========== PLANS ========== */
.plan-toggle { display: inline-flex; gap: 0; background: rgba(255,255,255,0.1); border-radius: 50px; padding: 5px; }
.plan-toggle button { padding: 10px 28px; border-radius: 50px; font-weight: 600; font-size: 0.88rem; background: none; color: rgba(255,255,255,0.6); transition: all .3s; }
.plan-toggle button.active { background: var(--accent); color: var(--primary); }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plan-card { padding: 36px; display: flex; flex-direction: column; position: relative; }
.plan-card.highlighted { background: var(--primary); color: white; box-shadow: 0 20px 60px rgba(26,26,46,0.25); transform: scale(1.03); border: 2px solid var(--accent); }
[data-theme="dark"] .plan-card.highlighted { background: rgba(255,255,255,0.08); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 5px 18px; border-radius: 50px; }
.plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.plan-card.highlighted .plan-name { color: var(--accent); }
.plan-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 24px; }
.plan-card.highlighted .plan-desc { color: rgba(255,255,255,0.5); }
.plan-price { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); }
.plan-currency { font-size: 0.9rem; color: var(--text-muted); }
.plan-period { font-size: 0.85rem; color: var(--text-muted); }
.plan-card.highlighted .plan-price { color: white; }
.plan-card.highlighted .plan-currency, .plan-card.highlighted .plan-period { color: rgba(255,255,255,0.5); }
.plan-savings { font-size: 0.78rem; color: var(--success); margin-top: 4px; }
.plan-features { flex: 1; margin: 28px 0; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; padding: 6px 0; color: var(--text-secondary); }
.plan-card.highlighted .plan-features li { color: rgba(255,255,255,0.85); }
.plan-features li svg { flex-shrink: 0; margin-top: 2px; }
.plan-features li.excluded { opacity: 0.35; }
.plan-btn {
  display: block; text-align: center; padding: 14px; border-radius: var(--radius-sm);
  font-weight: 700; transition: all .3s; font-size: 0.95rem;
  background: rgba(26,26,46,0.08); color: var(--text);
}
.plan-btn:hover { background: var(--accent); color: var(--primary); }
.plan-card.highlighted .plan-btn { background: var(--accent); color: var(--primary); }
.plan-card.highlighted .plan-btn:hover { background: var(--accent-hover); box-shadow: 0 4px 20px rgba(255,215,0,0.3); }

@media (max-width: 768px) { .plans-grid { grid-template-columns: 1fr; } .plan-card.highlighted { transform: none; } }

/* ========== SEGMENTS ========== */
.segment-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.88rem; font-weight: 600; color: var(--accent); margin-top: 16px; transition: gap .2s; }
.segment-link:hover { gap: 8px; }

/* ========== ABOUT ========== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }

.timeline { position: relative; max-width: 600px; margin: 0 auto; padding-left: 48px; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: rgba(255,215,0,0.2); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -36px; top: 4px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); display: flex;
  align-items: center; justify-content: center; font-weight: 700;
  font-size: 0.65rem; color: var(--primary);
}
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-secondary); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-member { text-align: center; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,215,0,0.15); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 12px;
  font-weight: 700; color: var(--accent); font-size: 1.1rem;
}
.team-member h4 { font-size: 0.9rem; margin-bottom: 2px; }
.team-member p { font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.contact-info-card { display: flex; align-items: center; gap: 16px; padding: 16px; margin-bottom: 8px; transition: all .2s; }
.contact-info-card:hover { box-shadow: var(--shadow); }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--surface-alt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-value { font-size: 0.9rem; font-weight: 600; }

/* Contact Skeleton Loading */
.contact-skeleton { display: flex; flex-direction: column; gap: 8px; }
.contact-skeleton .skeleton-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.contact-skeleton .skeleton-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  flex-shrink: 0;
}
[data-theme="dark"] .contact-skeleton .skeleton-icon {
  background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
  background-size: 200% 100%;
}
.contact-skeleton .skeleton-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.contact-skeleton .skeleton-label {
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  width: 60px;
}
[data-theme="dark"] .contact-skeleton .skeleton-label {
  background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
  background-size: 200% 100%;
}
.contact-skeleton .skeleton-value {
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  width: 180px;
}
[data-theme="dark"] .contact-skeleton .skeleton-value {
  background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
  background-size: 200% 100%;
}

.form-card { padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-size: 0.93rem; transition: all .2s; outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,215,0,0.15); }
textarea.form-input { resize: none; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ========== DEMO ========== */
.demo-video {
  aspect-ratio: 16/9; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary), var(--primary-700));
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  position: relative; overflow: hidden;
}
.demo-play {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,215,0,0.2); display: flex;
  align-items: center; justify-content: center; transition: all .3s; color: var(--accent);
}
.demo-video:hover .demo-play { background: rgba(255,215,0,0.4); transform: scale(1.1); }

.screenshots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.screenshot-card { padding: 20px; }
.screenshot-placeholder {
  aspect-ratio: 16/9; border-radius: var(--radius-sm);
  background: var(--surface-alt); display: flex;
  align-items: center; justify-content: center; margin-bottom: 12px; color: var(--text-muted);
}
@media (max-width: 640px) { .screenshots-grid { grid-template-columns: 1fr; } }

/* ========== DEMO SIMULATION ========== */
.sim-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  background: #f4f6f9;
  position: relative;
}
.sim-frame-bar {
  background: #2c3e50;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}
.sim-frame-dot:nth-child(2) { background: #ffbd2e; }
.sim-frame-dot:nth-child(3) { background: #27c93f; }
.sim-frame-url {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-family: monospace;
  margin-left: 8px;
}
.sim-frame-body {
  height: 620px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) { .sim-frame-body { height: 520px; } }

/* Simulation internals */
.sim-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #333;
  position: relative;
}
.sim-sidebar {
  width: 200px;
  min-width: 200px;
  background: #2c3e50;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 10;
}
.sim-brand {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  padding: 16px 10px;
  color: #FFD700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sim-nav { display: flex; flex-direction: column; padding: 8px 0; }
.sim-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: #b8c7ce;
  cursor: pointer;
  transition: all .15s;
  font-size: 0.85rem;
  border-left: 3px solid transparent;
  user-select: none;
}
.sim-nav-link:hover { background: #1a252f; color: #fff; }
.sim-nav-link.active {
  background: #1a252f;
  color: #fff;
  border-left-color: #FFD700;
}
.sim-nav-link i { width: 20px; text-align: center; font-size: 0.85rem; }
.sim-badge {
  margin-left: auto;
  background: #ffc107;
  color: #333;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}
.sim-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f4f6f9;
  min-width: 0;
}
.sim-header {
  background: #fff;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
  gap: 8px;
  flex-wrap: wrap;
}
.sim-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sim-store-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 2px solid #FFD700;
}
.sim-header-info {
  font-size: 0.8rem;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-header-info strong { color: #333; }
.sim-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sim-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: all .2s;
}
.sim-online { color: #1e7e34; }
.sim-offline { color: #b02a37; }
.sim-hdr-btn {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #dee2e6;
  color: #495057;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all .15s;
}
.sim-hdr-btn:hover { background: #f8f9fa; border-color: #adb5bd; }
.sim-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  scrollbar-width: thin;
}
.sim-content::-webkit-scrollbar { width: 5px; }
.sim-content::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.sim-page-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
  font-family: 'Segoe UI', sans-serif;
}

/* KPI Cards */
.sim-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.sim-kpi {
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.sim-kpi small { display: block; font-size: 0.72rem; opacity: 0.85; }
.sim-kpi strong { font-size: 1.1rem; display: block; }
.sim-kpi-icon { font-size: 1.6rem; opacity: 0.35; }
.sim-kpi-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.sim-kpi-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.sim-kpi-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }

/* Cards */
.sim-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 16px;
}
.sim-card h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
  font-family: 'Segoe UI', sans-serif;
}

/* Chart */
.sim-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding: 12px 0 0;
}
.sim-chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.sim-chart-bar {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(to top, #FFD700, #f0c800);
  border-radius: 5px 5px 0 0;
  position: relative;
  transition: height .5s ease;
  min-height: 8px;
  cursor: pointer;
}
.sim-chart-bar:hover { opacity: 0.85; }
.sim-chart-tooltip {
  display: none;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.sim-chart-bar:hover .sim-chart-tooltip { display: block; }
.sim-chart-label {
  margin-top: 6px;
  font-size: 0.7rem;
  color: #888;
  font-weight: 600;
}

/* Kanban */
.sim-kanban {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.sim-kanban::-webkit-scrollbar { height: 5px; }
.sim-kanban::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.sim-kanban-col {
  min-width: 210px;
  flex: 1;
  background: #e9ecef;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.sim-kanban-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 3px solid #ccc;
  margin-bottom: 10px;
}
.sim-kanban-count {
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}
.sim-kanban-body { flex: 1; overflow-y: auto; max-height: 400px; scrollbar-width: thin; }
.sim-kanban-body::-webkit-scrollbar { width: 4px; }
.sim-kanban-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.sim-order-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 4px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow .2s;
}
.sim-order-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.sim-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.sim-order-head strong { font-size: 0.85rem; color: #2c3e50; }
.sim-order-time { font-size: 0.7rem; color: #999; }
.sim-order-client { font-size: 0.78rem; color: #555; margin-bottom: 6px; }
.sim-order-items {
  font-size: 0.72rem;
  color: #888;
  background: #f8f9fa;
  padding: 6px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  max-height: 48px;
  overflow: hidden;
  line-height: 1.4;
}
.sim-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.sim-order-footer > strong { font-size: 0.85rem; color: #2c3e50; }
.sim-order-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.sim-empty { text-align: center; color: #999; font-size: 0.78rem; padding: 20px 4px; }

/* Buttons */
.sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all .15s;
  font-family: 'Segoe UI', sans-serif;
  white-space: nowrap;
}
.sim-btn-sm { font-size: 0.7rem; padding: 4px 8px; }
.sim-btn-xs { font-size: 0.68rem; padding: 3px 7px; }
.sim-btn-primary { background: #2c3e50; color: #fff; }
.sim-btn-primary:hover { background: #1a252f; }
.sim-btn-success { background: #28a745; color: #fff; }
.sim-btn-success:hover { background: #218838; }
.sim-btn-danger { background: #dc3545; color: #fff; }
.sim-btn-danger:hover { background: #c82333; }
.sim-btn-outline { background: #fff; color: #495057; border: 1px solid #dee2e6; }
.sim-btn-outline:hover { background: #f8f9fa; border-color: #adb5bd; }

/* Table */
.sim-table-wrap { overflow-x: auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.sim-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.sim-table th {
  text-align: left;
  padding: 10px 14px;
  background: #f8f9fa;
  font-weight: 700;
  color: #555;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 2px solid #e9ecef;
}
.sim-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.sim-table tr:hover td { background: #fafbfc; }
.sim-cat-badge {
  background: rgba(255,215,0,0.12);
  color: #b68900;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50px;
}
.sim-status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
}
.sim-pill-green { background: rgba(40,167,69,0.12); color: #1e7e34; }
.sim-pill-red { background: rgba(220,53,69,0.12); color: #b02a37; }

/* Toolbar */
.sim-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.sim-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 0 10px;
  flex: 1;
  min-width: 150px;
}
.sim-search-box i { color: #adb5bd; font-size: 0.8rem; }
.sim-input {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 0.8rem;
  color: #333;
  background: #fff;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  outline: none;
  transition: border-color .15s;
}
.sim-input:focus { border-color: #80bdff; box-shadow: 0 0 0 2px rgba(0,123,255,0.15); }
.sim-search-box .sim-input { border: none; box-shadow: none; padding: 7px 4px; }
.sim-select {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 0.8rem;
  color: #333;
  background: #fff;
  font-family: 'Segoe UI', sans-serif;
  outline: none;
  cursor: pointer;
}

/* Forms */
.sim-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.sim-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.sim-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}
.sim-form-group small { display: block; margin-top: 2px; }

/* Cadastro Loja */
.sim-loja-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9ecef;
}
.sim-loja-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid #dee2e6;
}

/* Bairros */
.sim-bairros-list { max-height: 180px; overflow-y: auto; }
.sim-bairro-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

/* Config Tabs */
.sim-config-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 18px;
}
.sim-tab {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6c757d;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .15s;
  font-family: 'Segoe UI', sans-serif;
}
.sim-tab.active { color: #2c3e50; border-bottom-color: #2c3e50; }
.sim-tab:hover { color: #333; }
.sim-config-content { max-width: 400px; }
.sim-config-content .sim-form-group { margin-bottom: 14px; }

/* Switch */
.sim-switch-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sim-switch-group > span { font-size: 0.82rem; color: #555; }
.sim-switch {
  position: relative;
  width: 38px;
  height: 20px;
  flex-shrink: 0;
}
.sim-switch input { opacity: 0; width: 0; height: 0; }
.sim-switch-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 20px;
  transition: .2s;
  cursor: pointer;
}
.sim-switch-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  left: 2px;
  top: 2px;
  transition: .2s;
}
.sim-switch input:checked + .sim-switch-slider { background: #28a745; }
.sim-switch input:checked + .sim-switch-slider::before { transform: translateX(18px); }

/* Mobile */
.sim-topbar-mobile {
  display: none;
  background: #2c3e50;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sim-topbar-brand { color: #FFD700; font-weight: 700; font-size: 1rem; }
.sim-mobile-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
}
.sim-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9;
}
.sim-overlay-open { display: block; }

@media (max-width: 768px) {
  .sim-sidebar { position: absolute; top: 0; left: -200px; height: 100%; transition: left .3s; z-index: 11; }
  .sim-sidebar.sim-sidebar-open { left: 0; }
  .sim-topbar-mobile { display: flex; }
  .sim-wrapper { flex-direction: column; }
  .sim-main { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
  .sim-kpi-row { grid-template-columns: 1fr; }
  .sim-kanban-col { min-width: 180px; }
  .sim-header-right { display: none; }
  .sim-header-info { font-size: 0.72rem; }
  .sim-form-grid { grid-template-columns: 1fr; }
}

/* ========== BLOG ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; transition: all .3s; }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-thumb { height: 176px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-tag { font-size: 0.75rem; font-weight: 600; color: var(--accent); background: rgba(255,215,0,0.1); padding: 4px 12px; border-radius: 50px; }
.blog-date { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.blog-body h3 { margin-bottom: 8px; transition: color .2s; }
.blog-card:hover h3 { color: var(--accent); }
.blog-body p { font-size: 0.9rem; color: var(--text-secondary); flex: 1; }
.blog-link { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: inline-flex; align-items: center; gap: 4px; font-size: 0.88rem; font-weight: 600; color: var(--accent); transition: gap .2s; }
.blog-link:hover { gap: 8px; }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; }
  /* Correções formulário cadastro mobile */
  #storeForm { grid-template-columns: 1fr !important; }
  #storeForm > div[style*="grid-column:1/-1"] { grid-column: 1 / -1 !important; }
  #storeForm button[type="submit"] { width: 100%; justify-content: center; }
}

/* ========== LEGAL (terms, privacy) ========== */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.prose p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all .3s; animation: float-bounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
@keyframes float-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ========== ANIMATIONS ========== */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ========== GUARANTEE ========== */
.guarantee-icons { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; }
.guarantee-icon-box {
  width: 56px; height: 56px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
}

/* ========== FEATURES DETAIL (alternating) ========== */
.feature-detail { display: flex; gap: 48px; align-items: center; margin-bottom: 80px; }
.feature-detail.reverse { flex-direction: row-reverse; }
.feature-detail-text { flex: 1; min-width: 0; }
.feature-detail-visual {
  flex: 0 0 480px;
  max-width: 480px;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}
.feature-detail-visual-inner {
  aspect-ratio: 16/10; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.feature-detail-text h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.feature-detail-text p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; }
.feature-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-highlight { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-secondary); }
.feature-highlight svg { flex-shrink: 0; color: var(--accent); }
@media (max-width: 1024px) {
  .feature-detail-visual {
    flex: 0 0 380px;
    max-width: 380px;
    height: 280px;
  }
}
@media (max-width: 768px) {
  .feature-detail, .feature-detail.reverse { flex-direction: column; }
  .feature-detail-visual {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 260px;
  }
  .feature-highlights { grid-template-columns: 1fr; }
}

/* ========== DEMO SIM v2 — EXTRAS ========== */

/* Aumentar altura do frame para suportar modais */
.sim-frame-body { height: 700px; }
@media (max-width: 768px) { .sim-frame-body { height: 580px; } }

/* Toast notification */
.sim-toast-container {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.sim-toast {
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #333;
  animation: simToastIn .3s ease forwards;
  pointer-events: auto;
  max-width: 280px;
  border-left: 4px solid #28a745;
}
.sim-toast.sim-toast-warning { border-left-color: #ffc107; }
.sim-toast.sim-toast-error { border-left-color: #dc3545; }
.sim-toast.sim-toast-info { border-left-color: #17a2b8; }
.sim-toast.sim-toast-out { animation: simToastOut .3s ease forwards; }
@keyframes simToastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes simToastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }

/* Modal overlay */
.sim-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: simFadeIn .2s ease;
}
@keyframes simFadeIn { from { opacity: 0; } to { opacity: 1; } }

.sim-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: simSlideUp .25s ease;
  scrollbar-width: thin;
}
@keyframes simSlideUp { from { transform: translateY(20px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.sim-modal::-webkit-scrollbar { width: 5px; }
.sim-modal::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.sim-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  border-radius: 12px 12px 0 0;
}
.sim-modal-header h5 { margin: 0; font-size: 1rem; font-weight: 700; color: #2c3e50; }
.sim-modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.sim-modal-close:hover { color: #333; }
.sim-modal-body { padding: 20px; }
.sim-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

/* Modal tabs */
.sim-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 16px;
}
.sim-modal-tab {
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6c757d;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .15s;
}
.sim-modal-tab.active { color: #2c3e50; border-bottom-color: #2c3e50; }
.sim-modal-tab:hover { color: #333; }

/* Addon items in modal */
.sim-addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 6px 12px;
  border-radius: 5px;
  margin-bottom: 4px;
  font-size: 0.78rem;
}
.sim-addon-item button { background: #dc3545; color: #fff; border: none; border-radius: 3px; padding: 2px 6px; font-size: 0.7rem; cursor: pointer; }

/* Confirm dialog (mini swal) */
.sim-confirm-box {
  text-align: center;
  padding: 28px 24px;
}
.sim-confirm-box i { font-size: 2.5rem; margin-bottom: 12px; }
.sim-confirm-box h5 { margin-bottom: 8px; }
.sim-confirm-box p { font-size: 0.85rem; color: #666; margin-bottom: 20px; }
.sim-confirm-actions { display: flex; gap: 8px; justify-content: center; }

/* Order detail extras */
.sim-order-detail { font-size: 0.72rem; color: #666; margin-bottom: 6px; }
.sim-order-detail i { width: 14px; text-align: center; margin-right: 4px; }

/* Login screen simulation */
.sim-login-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: simFadeIn .3s ease;
}
.sim-login-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  width: 320px;
  max-width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  text-align: center;
}
.sim-login-box h3 { color: #2c3e50; margin-bottom: 4px; font-size: 1.2rem; }
.sim-login-box h3 span { color: #FFD700; }
.sim-login-box p { font-size: 0.78rem; color: #999; margin-bottom: 20px; }
.sim-login-box .sim-form-group { margin-bottom: 12px; text-align: left; }
.sim-login-box .sim-form-group label { font-size: 0.72rem; }
.sim-login-btn {
  width: 100%;
  padding: 10px;
  background: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.sim-login-btn:hover { background: #1a252f; }
.sim-login-hint { font-size: 0.68rem; color: #aaa; margin-top: 14px; line-height: 1.5; }

/* Skeleton loading */
.sim-skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #e9ecef 25%, #f4f6f9 50%, #e9ecef 75%);
  background-size: 200% 100%;
  animation: simShimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}
.sim-skeleton-card {
  height: 80px;
  background: linear-gradient(90deg, #e9ecef 25%, #f4f6f9 50%, #e9ecef 75%);
  background-size: 200% 100%;
  animation: simShimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 10px;
}
@keyframes simShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Suporte cards */
.sim-suporte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 768px) { .sim-suporte-grid { grid-template-columns: 1fr; } }
.sim-suporte-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: all .2s;
}
.sim-suporte-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #adb5bd; }
.sim-suporte-card i { font-size: 1.6rem; margin-bottom: 8px; }
.sim-suporte-card h6 { font-size: 0.85rem; margin-bottom: 4px; }
.sim-suporte-card small { font-size: 0.72rem; color: #999; word-break: break-all; }

/* Employees list */
.sim-emp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e9ecef;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.82rem;
}
.sim-emp-item .sim-emp-left { display: flex; align-items: center; gap: 8px; }

/* Status Ocupado */
.sim-busy { color: #e67e22; }

/* Blinking new order animation */
@keyframes simBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.sim-blink { animation: simBlink 1s infinite; }

/* Order filters bar */
.sim-order-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  align-items: flex-end;
}
.sim-order-filters .sim-form-group { flex: 1; min-width: 120px; margin-bottom: 0; }

/* Product sort select */
.sim-toolbar .sim-select { min-width: 140px; }

/* Print receipt */
.sim-receipt {
  background: #fff;
  border: 1px dashed #ccc;
  padding: 16px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}
.sim-receipt-divider { border-top: 1px dashed #999; margin: 8px 0; }
.sim-receipt-center { text-align: center; }
.sim-receipt-bold { font-weight: 700; }
.sim-receipt-flex { display: flex; justify-content: space-between; }

/* New order pulse indicator on sidebar */
.sim-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc3545;
  animation: simPulse 1.5s infinite;
  margin-left: 6px;
  display: inline-block;
}
@keyframes simPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } }

/* ========== DEMO APP SIMULATION — PHONE FRAME ========== */
.sim-phone-wrapper {
  display: flex;
  justify-content: center;
}
.sim-phone-frame {
  width: 375px;
  height: 740px;
  background: #0a0a0a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 0 0 2px #333;
  position: relative;
  overflow: hidden;
}
.sim-phone-notch {
  width: 120px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
}
.sim-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #f8f9fc;
}
.sim-phone-home-bar {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
}
@media (max-width: 500px) {
  .sim-phone-frame {
    width: 100%;
    max-width: 360px;
    height: 680px;
    border-radius: 32px;
    padding: 10px;
  }
  .sim-phone-screen { border-radius: 24px; }
}

/* ========== DEMO APP SIMULATION — INTERNALS ========== */
/* All classes prefixed with 'appsim-' to avoid conflict */

.appsim-wrap {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f8f9fc;
  position: relative;
  overflow: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.appsim-wrap * { box-sizing: border-box; }

/* Dark mode variant */
.appsim-dark {
  --appsim-bg: #121212;
  --appsim-card: #1e1e1e;
  --appsim-text: #f0f0f0;
  --appsim-gray: #9ca3af;
  --appsim-border: #333;
  --appsim-input-bg: #2a2a2a;
  background: #121212;
  color: #f0f0f0;
}
.appsim-wrap:not(.appsim-dark) {
  --appsim-bg: #f8f9fc;
  --appsim-card: #ffffff;
  --appsim-text: #1a1a2e;
  --appsim-gray: #6b7280;
  --appsim-border: #e5e7eb;
  --appsim-input-bg: #ffffff;
}

/* Header */
.appsim-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 52px;
  z-index: 50;
}
.appsim-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.appsim-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,215,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
  font-size: 0.85rem;
  border: 2px solid #FFD700;
  flex-shrink: 0;
}
.appsim-header h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.appsim-header h1 span { color: #FFD700; }
.appsim-header-actions {
  display: flex;
  gap: 4px;
}
.appsim-hdr-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.appsim-hdr-btn:hover { background: rgba(255,255,255,0.22); }

/* Main scrollable content */
.appsim-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  scrollbar-width: thin;
  background: var(--appsim-bg);
}
.appsim-body::-webkit-scrollbar { width: 3px; }
.appsim-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* Store Banner */
.appsim-store-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  border-radius: 14px;
  margin-bottom: 12px;
  color: #fff;
}
.appsim-store-banner-img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,215,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
  font-size: 1.2rem;
  border: 2px solid #FFD700;
  flex-shrink: 0;
}
.appsim-sb-name { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.appsim-sb-status { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.appsim-sb-status i { margin-right: 3px; }
.appsim-sb-min { font-size: 0.7rem; color: #FFD700; font-weight: 600; margin-top: 2px; }

/* Search */
.appsim-search {
  position: relative;
  margin-bottom: 10px;
}
.appsim-search input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--appsim-border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-family: inherit;
  background: var(--appsim-card);
  color: var(--appsim-text);
  outline: none;
  transition: border-color 0.2s;
}
.appsim-search input:focus { border-color: #FFD700; }
.appsim-search input::placeholder { color: var(--appsim-gray); }
.appsim-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--appsim-gray);
  font-size: 0.8rem;
  pointer-events: none;
}

/* Categories */
.appsim-cats {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 12px;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.appsim-cats::-webkit-scrollbar { display: none; }
.appsim-cat-btn {
  background: var(--appsim-card);
  border: 1px solid var(--appsim-border);
  padding: 7px 14px;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--appsim-text);
  transition: all 0.2s;
  flex-shrink: 0;
  font-family: inherit;
}
.appsim-cat-btn:hover { border-color: #FFD700; }
.appsim-cat-btn.active {
  background: #FFD700;
  border-color: #FFD700;
  color: #1a1a2e;
  font-weight: 700;
}

/* Category section titles */
.appsim-cat-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--appsim-text);
  margin: 14px 0 8px;
  letter-spacing: -0.01em;
}
.appsim-cat-title:first-child { margin-top: 4px; }

/* Product Card (compact horizontal) */
.appsim-product {
  display: flex;
  align-items: stretch;
  background: var(--appsim-card);
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid rgba(0,0,0,0.04);
}
.appsim-product:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.appsim-product:active { transform: scale(0.99); }
.appsim-product-img {
  width: 100px;
  min-height: 100px;
  background: linear-gradient(135deg, var(--appsim-border) 0%, #f3f4f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--appsim-gray);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.appsim-product-body {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.appsim-product-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--appsim-text);
  margin: 0 0 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.appsim-product-desc {
  font-size: 0.72rem;
  color: var(--appsim-gray);
  margin: 0 0 5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.appsim-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.appsim-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--appsim-text);
}
.appsim-price-promo { color: #10b981; }
.appsim-price-old {
  text-decoration: line-through;
  color: var(--appsim-gray);
  font-size: 0.72rem;
}
.appsim-badge-promo {
  background: #ef4444;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
}
.appsim-badge-top {
  background: #f59e0b;
  color: #1a1a2e;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
}
.appsim-product-hint {
  font-size: 0.65rem;
  color: #e6c200;
  font-weight: 600;
  margin-top: 3px;
}

/* Bottom Nav */
.appsim-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 10px;
  background: var(--appsim-card);
  border-top: 1px solid var(--appsim-border);
  flex-shrink: 0;
  z-index: 50;
}
.appsim-nav-btn {
  border: none;
  background: none;
  color: var(--appsim-gray);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding: 4px 8px;
  font-family: inherit;
  transition: color 0.2s;
  flex: 1;
}
.appsim-nav-btn i { font-size: 1.15rem; display: block; margin-bottom: 2px; }
.appsim-nav-btn.active { color: var(--appsim-text); font-weight: 700; }
.appsim-nav-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #FFD700;
  border-radius: 0 0 2px 2px;
}
.appsim-nav-badge {
  position: absolute;
  top: -2px;
  left: 50%;
  margin-left: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  display: none;
}
.appsim-nav-badge.visible { display: inline-block; }

/* Product Detail Modal (bottom sheet) */
.appsim-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: appsimFadeIn 0.2s ease;
}
@keyframes appsimFadeIn { from { opacity: 0; } to { opacity: 1; } }
.appsim-modal-sheet {
  background: var(--appsim-card);
  width: 100%;
  border-radius: 20px 20px 0 0;
  max-height: 85%;
  overflow-y: auto;
  animation: appsimSlideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  scrollbar-width: thin;
}
@keyframes appsimSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.appsim-modal-sheet::-webkit-scrollbar { width: 3px; }
.appsim-modal-sheet::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.appsim-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--appsim-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.appsim-modal-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--appsim-border) 0%, #f3f4f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--appsim-gray);
  font-size: 2rem;
  border-radius: 20px 20px 0 0;
}
.appsim-modal-content { padding: 16px; }
.appsim-modal-content h2 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.appsim-modal-content p { color: var(--appsim-gray); font-size: 0.82rem; margin-bottom: 10px; }

/* Qty control in modal */
.appsim-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--appsim-bg);
  border-radius: 12px;
  padding: 4px 8px;
  width: fit-content;
}
.appsim-qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--appsim-card);
  color: var(--appsim-text);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.appsim-qty-btn:hover { background: rgba(255,215,0,0.15); }
.appsim-qty-val { font-weight: 700; min-width: 22px; text-align: center; font-size: 0.95rem; }

/* Addons in modal */
.appsim-addons { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--appsim-border); }
.appsim-addons h5 { font-size: 0.85rem; font-weight: 700; margin: 0 0 8px; }
.appsim-addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.82rem;
}
.appsim-addon-info { flex: 1; }
.appsim-addon-info small { color: #10b981; }

/* Observations textarea */
.appsim-obs {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--appsim-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  resize: vertical;
  min-height: 50px;
  margin-top: 8px;
  background: var(--appsim-input-bg);
  color: var(--appsim-text);
  outline: none;
}
.appsim-obs:focus { border-color: #FFD700; }

/* Add to cart button */
.appsim-btn-add {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: #1a1a2e;
  margin-top: 12px;
  font-family: inherit;
  transition: transform 0.2s;
}
.appsim-btn-add:hover { box-shadow: 0 4px 14px rgba(255,215,0,0.4); }
.appsim-btn-add:active { transform: scale(0.98); }

/* Item added modal */
.appsim-added-modal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appsimFadeIn 0.2s ease;
}
.appsim-added-card {
  background: var(--appsim-card);
  border-radius: 18px;
  padding: 24px 20px;
  width: 85%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  animation: appsimScaleIn 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes appsimScaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.appsim-added-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 12px;
}
.appsim-added-card h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.appsim-added-card p { margin: 0 0 16px; color: var(--appsim-gray); font-size: 0.82rem; }
.appsim-added-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.appsim-btn-outline {
  padding: 10px;
  border-radius: 10px;
  border: 2px solid var(--appsim-border);
  background: transparent;
  color: var(--appsim-text);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.appsim-btn-primary {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}

/* ── CART VIEW ── */
.appsim-cart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.appsim-cart-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,215,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e6c200;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.appsim-cart-header h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.appsim-cart-header small { font-size: 0.78rem; color: var(--appsim-gray); display: block; }

/* Cart item */
.appsim-cart-item {
  background: var(--appsim-card);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--appsim-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.appsim-cart-item-info { flex: 1; min-width: 0; }
.appsim-cart-item-name { font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.appsim-cart-item-obs {
  font-size: 0.72rem;
  color: #ef4444;
  background: rgba(239,68,68,0.08);
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.appsim-cart-qty-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.appsim-cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--appsim-border);
  background: var(--appsim-card);
  color: var(--appsim-text);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.appsim-cart-qty-val { font-weight: 700; font-size: 0.78rem; min-width: 16px; text-align: center; }
.appsim-cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.appsim-cart-item-price { font-size: 0.9rem; font-weight: 700; color: var(--appsim-text); white-space: nowrap; }
.appsim-cart-remove {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

/* Cart form sections */
.appsim-form-card {
  background: var(--appsim-card);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--appsim-border);
}
.appsim-form-card h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.appsim-form-card h5 i { font-size: 0.85rem; }
.appsim-form-group { margin-bottom: 10px; }
.appsim-form-group:last-child { margin-bottom: 0; }
.appsim-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--appsim-text);
}
.appsim-form-group input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--appsim-border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: inherit;
  background: var(--appsim-input-bg);
  color: var(--appsim-text);
  outline: none;
  transition: border-color 0.2s;
}
.appsim-form-group input:focus { border-color: #FFD700; }
.appsim-form-group input::placeholder { color: var(--appsim-gray); }

/* Payment methods */
.appsim-payments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.appsim-pay-btn {
  padding: 10px 6px;
  border: 2px solid var(--appsim-border);
  border-radius: 10px;
  background: var(--appsim-card);
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--appsim-text);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.appsim-pay-btn i { font-size: 1.1rem; }
.appsim-pay-btn:hover { border-color: #FFD700; }
.appsim-pay-btn.selected { border-color: #FFD700; background: rgba(255,215,0,0.1); }

/* Cart totals */
.appsim-totals {
  background: var(--appsim-card);
  border-radius: 12px;
  padding: 14px;
  margin-top: 10px;
  border: 1px solid var(--appsim-border);
}
.appsim-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--appsim-gray);
  margin-bottom: 4px;
}
.appsim-totals-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--appsim-text);
  margin-top: 8px;
  padding-top: 10px;
}
.appsim-totals-total span:first-child { font-size: 1rem; font-weight: 700; color: var(--appsim-text); }
.appsim-totals-total strong { font-size: 1.25rem; color: var(--appsim-text); }
.appsim-est-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255,215,0,0.12);
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e6c200;
  margin-top: 6px;
}
.appsim-btn-checkout {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  color: #1a1a2e;
  margin-top: 10px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s;
}
.appsim-btn-checkout:active { transform: scale(0.98); }

/* Empty cart */
.appsim-empty {
  text-align: center;
  padding: 30px 16px;
  color: var(--appsim-gray);
}
.appsim-empty i { font-size: 2.5rem; margin-bottom: 12px; display: block; opacity: 0.4; }
.appsim-empty p { margin: 0 0 4px; font-size: 0.9rem; font-weight: 600; }
.appsim-empty small { font-size: 0.78rem; }

/* ── ORDERS VIEW ── */
.appsim-orders-header h3 { margin: 0 0 2px; font-size: 1.2rem; font-weight: 800; }
.appsim-orders-auto {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--appsim-gray);
  margin-bottom: 12px;
}
.appsim-auto-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: appsimBlink 2s infinite;
}
@keyframes appsimBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Order card */
.appsim-order-card {
  background: var(--appsim-card);
  border-radius: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
}
.appsim-order-top {
  padding: 12px 14px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.appsim-order-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,215,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
  font-size: 0.8rem;
  border: 2px solid #FFD700;
  flex-shrink: 0;
}
.appsim-order-info { flex: 1; min-width: 0; }
.appsim-order-store { font-size: 0.85rem; font-weight: 700; }
.appsim-order-id { font-size: 0.7rem; color: var(--appsim-gray); }
.appsim-order-date { font-size: 0.68rem; color: var(--appsim-gray); }
.appsim-status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  flex-shrink: 0;
}
.appsim-status-recebido { background: #fef3c7; color: #b45309; }
.appsim-status-preparo { background: #dbeafe; color: #1d4ed8; }
.appsim-status-entrega { background: #ffedd5; color: #c2410c; }
.appsim-status-concluido { background: rgba(16,185,129,0.12); color: #10b981; }
.appsim-status-cancelado { background: rgba(107,114,128,0.12); color: #6b7280; }

.appsim-order-content { padding: 0 14px 12px; }
.appsim-order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.appsim-order-total { font-size: 1rem; font-weight: 700; color: var(--appsim-text); }
.appsim-order-toggle {
  background: none;
  border: 1px solid var(--appsim-border);
  color: var(--appsim-gray);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 3px;
}
.appsim-order-toggle:hover { border-color: #FFD700; color: var(--appsim-text); }

/* Order detail expand */
.appsim-order-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--appsim-border);
  animation: appsimSlideDown 0.3s ease;
}
@keyframes appsimSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.appsim-order-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
}
.appsim-order-detail-row > i {
  margin-top: 2px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  color: #e6c200;
}

/* Order timeline */
.appsim-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 4px;
  background: var(--appsim-bg);
  border-radius: 8px;
  position: relative;
  margin-top: 8px;
}
.appsim-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: var(--appsim-border);
  z-index: 0;
}
.appsim-tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 1;
  flex: 1;
}
.appsim-tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--appsim-card);
  border: 2px solid var(--appsim-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: transparent;
}
.appsim-tl-step.done .appsim-tl-dot { border-color: #10b981; background: #10b981; color: #fff; }
.appsim-tl-step.current .appsim-tl-dot {
  border-color: #FFD700;
  background: #FFD700;
  color: #1a1a2e;
  animation: appsimPulse 2s infinite;
}
@keyframes appsimPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); } 50% { box-shadow: 0 0 0 6px rgba(255,215,0,0); } }
.appsim-tl-label { font-size: 0.58rem; font-weight: 600; color: var(--appsim-gray); text-align: center; }
.appsim-tl-step.done .appsim-tl-label { color: #10b981; }
.appsim-tl-step.current .appsim-tl-label { color: var(--appsim-text); font-weight: 700; }

/* Rating modal */
.appsim-rating-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appsimFadeIn 0.2s ease;
}
.appsim-rating-card {
  background: var(--appsim-card);
  border-radius: 18px;
  padding: 22px 18px;
  width: 85%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.appsim-rating-card h4 { margin: 0 0 4px; font-size: 0.95rem; }
.appsim-rating-card p { margin: 0 0 12px; color: var(--appsim-gray); font-size: 0.78rem; }
.appsim-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.appsim-star {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--appsim-border);
  transition: color 0.15s, transform 0.15s;
}
.appsim-star.active { color: #f59e0b; transform: scale(1.1); }
.appsim-star:hover { color: #f59e0b; }

/* Success overlay */
.appsim-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appsimFadeIn 0.2s ease;
}
.appsim-success-card {
  background: var(--appsim-card);
  border-radius: 20px;
  padding: 28px 20px;
  width: 88%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
  animation: appsimScaleIn 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.appsim-success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}
.appsim-success-card h4 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; }
.appsim-success-card .appsim-order-id-tag { color: #e6c200; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.appsim-success-summary {
  text-align: left;
  background: var(--appsim-bg);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 0.78rem;
}
.appsim-success-summary .srow { display: flex; justify-content: space-between; margin-bottom: 3px; }
.appsim-success-summary .stotal { font-weight: 700; font-size: 0.9rem; border-top: 1px solid var(--appsim-border); padding-top: 6px; margin-top: 4px; }

/* Toast inside app sim */
.appsim-toast-container {
  position: absolute;
  bottom: 60px;
  left: 10px;
  right: 10px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.appsim-toast {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  pointer-events: auto;
  animation: appsimToastIn 0.3s ease;
  color: #fff;
}
.appsim-toast.success { background: #10b981; }
.appsim-toast.error { background: #ef4444; }
.appsim-toast.info { background: #3b82f6; }
@keyframes appsimToastIn { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.appsim-toast-out { animation: appsimToastOut 0.3s ease forwards; }
@keyframes appsimToastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(16px); } }

/* Coupon field */
.appsim-coupon-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.appsim-coupon-row input {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid var(--appsim-border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: inherit;
  text-transform: uppercase;
  background: var(--appsim-input-bg);
  color: var(--appsim-text);
  outline: none;
}
.appsim-coupon-row input:focus { border-color: #FFD700; }
.appsim-coupon-btn {
  padding: 9px 12px;
  border: none;
  background: #1a1a2e;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.appsim-coupon-applied {
  display: none;
  padding: 6px 10px;
  background: rgba(16,185,129,0.1);
  border-radius: 8px;
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
  align-items: center;
  gap: 6px;
}
.appsim-coupon-applied.visible { display: flex; }
.appsim-coupon-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
}

/* Pickup toggle */
.appsim-pickup-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--appsim-card);
  border-radius: 12px;
  border: 1px solid var(--appsim-border);
  margin-bottom: 10px;
}
.appsim-pickup-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.82rem; }
.appsim-pickup-label i { color: #e6c200; }
.appsim-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.appsim-toggle input { opacity: 0; width: 0; height: 0; }
.appsim-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--appsim-border);
  border-radius: 22px;
  transition: 0.3s;
  cursor: pointer;
}
.appsim-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.appsim-toggle input:checked + .appsim-toggle-slider { background: #FFD700; }
.appsim-toggle input:checked + .appsim-toggle-slider::before { transform: translateX(18px); }

/* Cookie Consent Banner - LGPD/GDPR */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 10001;
    padding: 20px 24px;
    display: none;
    animation: slideUpBanner 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    display: block;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    flex: 1;
}

.cookie-banner-text strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    color: var(--accent);
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-banner-actions .btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.cookie-banner-actions .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.cookie-banner-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-secondary);
}

.cookie-banner-actions .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Responsividade do banner */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cookie-banner-actions {
        width: 100%;
    }
    
    .cookie-banner-actions .btn {
        flex: 1;
    }
}

[data-theme="dark"] .cookie-banner {
    background: var(--surface);
    border-top-color: var(--border);
}

[data-theme="dark"] .cookie-banner-text {
    color: var(--text);
}
