/* ================================================================
   TASTEFY × AIQFOME — LANDING PAGE
   style.css
   Autor: JV Digital
   ================================================================ */

/* ================================================================
   1. TOKENS & CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Cores */
  --yellow: #FFFF00;
  --yellow-dim: #CCCC00;
  --yellow-glow: rgba(255, 255, 0, 0.18);
  --purple: #7A1FA2;
  --purple-light: #9B3CC2;
  --purple-glow: rgba(122, 31, 162, 0.25);
  --purple-dim: #5a1778;

  --dark-bg: #0D0714;
  --dark-2: #140E1E;
  --dark-3: #1C1428;
  --dark-card: #1A1228;
  --dark-card-hover: #201532;

  --text-primary: #F0EDF5;
  --text-secondary: #9B93B0;
  --text-muted: #5C5472;

  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 0, 0.35);

  /* Tipografia */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamentos */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Bordas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-hover), 0 0 32px var(--yellow-glow);
  --shadow-btn: 0 4px 20px rgba(255, 255, 0, 0.3);

  /* Transições */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Acessibilidade: foco visível */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Reduz animações para quem prefere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ================================================================
   3. LAYOUT HELPERS
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ================================================================
   4. BOTÕES
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Primário — amarelo */
.btn-primary {
  background: var(--yellow);
  color: #0D0714;
  border-color: var(--yellow);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost — contorno amarelo */
.btn-ghost {
  background: transparent;
  color: var(--yellow);
  border-color: rgba(255, 255, 0, 0.35);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--yellow-glow);
  border-color: var(--yellow);
}

/* Nav button */
.btn-nav {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}
.btn-nav:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  transform: translateY(-1px);
}

/* Card button */
.btn-card {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border-color: transparent;
  font-size: 0.9rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.btn-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--yellow), var(--purple-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-card:hover::before, .btn-card:focus-visible::before { opacity: 1; }
.btn-card span, .btn-card svg { position: relative; z-index: 1; }
.btn-card:hover { color: #0D0714; transform: translateY(-2px); box-shadow: 0 8px 24px var(--purple-glow); }

/* Mobile */
.btn-mobile {
  background: var(--yellow);
  color: #0D0714;
  border-color: var(--yellow);
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
}

/* ================================================================
   5. NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 7, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(13, 7, 20, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Marca */
.brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand-tastefy { color: var(--yellow); }
.brand-sep { color: var(--text-muted); font-weight: 300; }
.brand-aiqfome { color: var(--purple-light); }

/* Links de nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--yellow); }

/* Hambúrguer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu mobile */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  gap: var(--space-sm);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu.open { display: flex; }

/* ================================================================
   6. HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Fundo blob */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--purple);
  top: -150px; left: -150px;
  animation: blobFloat1 8s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px;
  background: var(--yellow);
  bottom: -200px; right: -100px;
  opacity: 0.15;
  animation: blobFloat2 10s ease-in-out infinite;
}
.blob-3 {
  width: 350px; height: 350px;
  background: var(--purple-light);
  top: 50%; right: 25%;
  opacity: 0.2;
  animation: blobFloat1 7s ease-in-out infinite reverse;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}

/* Emojis flutuantes */
.floaties { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaty {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.12;
  animation: floatEmoji linear infinite;
  user-select: none;
}
.f1 { top: 15%; left: 5%; animation-duration: 12s; animation-delay: 0s; }
.f2 { top: 70%; left: 8%; animation-duration: 9s; animation-delay: 1s; }
.f3 { top: 20%; right: 6%; animation-duration: 11s; animation-delay: 2s; }
.f4 { top: 75%; right: 10%; animation-duration: 13s; animation-delay: 0.5s; }
.f5 { top: 45%; left: 3%; animation-duration: 10s; animation-delay: 3s; }
.f6 { top: 50%; right: 4%; animation-duration: 14s; animation-delay: 1.5s; }

@keyframes floatEmoji {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Conteúdo hero */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(122, 31, 162, 0.25);
  border: 1px solid rgba(122, 31, 162, 0.4);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--purple-light);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px #22c55e; }
  50% { box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34,197,94,0.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--yellow), #FFB800);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.4s both;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--yellow);
  line-height: 1;
}
.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.scroll-dot {
  width: 6px; height: 24px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 8px;
  background: var(--yellow);
  border-radius: var(--radius-full);
  animation: scrollBounce 1.5s ease infinite;
}
@keyframes scrollBounce {
  0% { top: 4px; opacity: 1; }
  100% { top: 12px; opacity: 0; }
}

/* ================================================================
   7. SECTION HELPERS
   ================================================================ */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
}
.section-header {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

/* Animações de entrada */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   8. CATEGORIAS
   ================================================================ */
.categorias-section {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.categorias-section .section-header { margin-bottom: var(--space-xl); }

.category-pills {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-glow);
}
.pill.active {
  background: var(--yellow);
  color: #0D0714;
  border-color: var(--yellow);
  box-shadow: 0 4px 16px var(--yellow-glow);
}
.pill-icon { font-size: 1.1rem; }

/* ================================================================
   9. SEÇÃO RESTAURANTES
   ================================================================ */
.restaurantes-section {
  padding: var(--space-3xl) 0;
  background: var(--dark-bg);
}

.rest-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
  text-align: left;
  margin-bottom: var(--space-lg);
}
.rest-header .section-header { margin-bottom: 0; }

/* Busca */
.search-wrap {
  position: relative;
  flex: 0 0 auto;
}
.search-input {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 2.8rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 280px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px var(--purple-glow);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Contagem */
.result-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}
.result-count strong { color: var(--yellow); }

/* Grid de cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ================================================================
   10. CARD RESTAURANTE
   ================================================================ */
.rest-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}
.rest-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--yellow-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.rest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 255, 0, 0.25);
}
.rest-card:hover::before { opacity: 1; }

/* Topo do card */
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-xl) 0;
}
.card-logo , .card-logo img {
  width: 60px; height: 60px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
/* .card-logo img {
  border-radius: var(--radius-md);
} */

/* Badges de categoria */
.card-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-end; }
.badge-cat {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Cores por categoria */
.badge-cat.frango      { background: rgba(255,165,0,0.15); color: #FFA500; border: 1px solid rgba(255,165,0,0.3); }
.badge-cat.salgados    { background: rgba(236,72,153,0.15); color: #EC4899; border: 1px solid rgba(236,72,153,0.3); }
.badge-cat.hamburguer  { background: rgba(239,68,68,0.15);  color: #EF4444; border: 1px solid rgba(239,68,68,0.3);  }
.badge-cat.brasileira  { background: rgba(34,197,94,0.12);  color: #22c55e; border: 1px solid rgba(34,197,94,0.25); }
.badge-cat.oriental    { background: rgba(6,182,212,0.12);  color: #06B6D4; border: 1px solid rgba(6,182,212,0.25); }
.badge-cat.italiana    { background: rgba(168,85,247,0.15); color: #A855F7; border: 1px solid rgba(168,85,247,0.3); }

/* Corpo do card */
.card-body {
  flex: 1;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.card-highlights li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  transition: color var(--transition);
}
.rest-card:hover .card-highlights li {
  color: var(--text-secondary);
  border-color: rgba(255,255,255,0.12);
}

/* Rodapé do card */
.card-foot {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
}

/* Card oculto pelo filtro */
.rest-card[hidden] { display: none !important; }

/* ================================================================
   11. ESTADO VAZIO
   ================================================================ */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  color: var(--text-secondary);
}
.empty-state[hidden] { display: none; }
.empty-emoji { font-size: 3rem; display: block; margin-bottom: var(--space-md); }
.empty-state p { margin-bottom: var(--space-lg); }
.empty-state strong { color: var(--yellow); }

/* ================================================================
   12. SOBRE SECTION
   ================================================================ */
.sobre-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.sobre-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}
.highlight { color: var(--yellow); }
.highlight-purple { color: var(--purple-light); }
.sobre-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

/* Cards animados */
.sobre-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sobre-card-stack {
  position: relative;
  width: 280px;
  height: 280px;
}
.stack-card {
  position: absolute;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  width: 240px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-slow);
}
.sc-1 { top: 0; left: 0; transform: rotate(-6deg); z-index: 4; background: linear-gradient(135deg, #1C1428, #201532); border-color: rgba(255,255,0,0.2); }
.sc-2 { top: 40px; left: 30px; transform: rotate(-2deg); z-index: 3; }
.sc-3 { top: 80px; left: 15px; transform: rotate(3deg); z-index: 2; }
.sc-4 { top: 120px; left: 5px; transform: rotate(7deg); z-index: 1; }
.sobre-visual:hover .sc-1 { transform: rotate(-8deg) translateY(-8px); }
.sobre-visual:hover .sc-2 { transform: rotate(-3deg) translateY(-4px); }
.sobre-visual:hover .sc-3 { transform: rotate(4deg) translateY(-2px); }
.sobre-visual:hover .sc-4 { transform: rotate(9deg) translateY(0); }

/* ================================================================
   13. FOOTER
   ================================================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding-top: var(--space-3xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}
.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 240px;
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
}
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--dark-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-link:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  background: var(--yellow-glow);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-links-group a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links-group a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.jv-link {
  color: var(--yellow);
  font-weight: 600;
  transition: opacity var(--transition);
}
.jv-link:hover { opacity: 0.75; }
.aiqfome-link {
  color: var(--purple-light);
  font-weight: 600;
  transition: opacity var(--transition);
}
.aiqfome-link:hover { opacity: 0.75; }

/* ================================================================
   14. BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--purple-glow);
  transition: all var(--transition);
  cursor: pointer;
}
.back-to-top:not([hidden]) { display: flex; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover {
  background: var(--yellow);
  color: #0D0714;
  transform: translateY(-3px);
}

/* ================================================================
   15. RESPONSIVIDADE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .sobre-inner { gap: var(--space-2xl); }
}

@media (max-width: 768px) {
  :root { --space-3xl: 3.5rem; }

  .container { padding: 0 var(--space-lg); }

  /* Navbar */
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { max-width: 100%; padding-top: var(--space-xl); }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: var(--space-lg); }

  /* Sobre */
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-visual { display: none; }

  /* Rest header */
  .rest-header { flex-direction: column; align-items: flex-start; }
  .search-input { width: 100%; }
  .search-wrap { width: 100%; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--space-sm); }
}

@media (max-width: 480px) {
  .pill span:not(.pill-icon) { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .hero-badge { font-size: 0.75rem; }
  .category-pills { gap: 0.4rem; }
}
