:root {
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', sans-serif;
  --font-size-base: 16px;
  --line-height: 1.6;

  /* Colors - Based on Design System Print */
  --bg: #0A1A0F;
  --surface: #122619;
  --surface-light: #1A3322;
  --text: #FFFFFF;
  --muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.1);
  --brand: #22C55E;
  --brand-hover: #16A34A;
  --brand-soft: rgba(34, 197, 94, 0.1);
  
  /* Status Colors */
  --success: #22C55E;
  --warning: #F59E0B;
  --info: #3B82F6;
  --danger: #EF4444;

  /* UI Tokens */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --container: 1200px;
  --transition: all 0.3s ease;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.title-xl { font-size: clamp(2.5rem, 5vw, 4rem); }
.title-lg { font-size: clamp(2rem, 4vw, 3rem); }
.title-md { font-size: clamp(1.5rem, 3vw, 2rem); }

.subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--brand);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--surface-light);
  border-color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
}

/* Cards */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-brand { background: var(--brand-soft); color: var(--brand); }

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

/* Header & Footer Styles (for injection) */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 26, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .nav-links { 
    display: none; 
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg);
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    border-top: 1px solid var(--border);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-links.show {
    display: flex;
  }

  .nav-link {
    font-size: 1.25rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-actions .btn-primary {
    display: none; /* Hide WhatsApp button in header on mobile to save space */
  }

  .mobile-toggle { 
    display: flex !important; 
  }
}

footer {
  background-color: #050D07;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section { padding: 4rem 0; }
  
  .title-xl { font-size: 2.25rem; }
  .title-lg { font-size: 1.75rem; }
  .title-md { font-size: 1.5rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .grid-list { grid-template-columns: 1fr !important; }
  
  .col-span-2 { grid-column: span 1 !important; }
  
  /* Hero specific mobile fixes */
  .hero .container { 
    grid-template-columns: 1fr !important; 
    text-align: center; 
    gap: 3rem !important;
    padding-top: 2rem;
  }
  
  .hero .container div:last-child { 
    order: -1; 
  }

  .hero .container div:last-child img {
    width: 100%;
    height: auto;
  }

  .hero .container div:last-child .card {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    max-width: 100% !important;
    margin-top: -2rem;
    z-index: 10;
  }

  .hero .btn {
    width: 100%;
  }

  .loja-grid {
    grid-template-columns: 1fr !important;
  }
}

.loja-grid {
  grid-template-columns: 280px 1fr;
}

.col-span-2 { grid-column: span 2; }

/* FAQ Accordion Styles */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 1.1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--brand); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem 0;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--brand);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pulse {
  animation: pulse 2s infinite;
}
