:root {
  /* Tema Claro (Padrão) */
  --bg-color: #f8fafc;
  --bg-gradient: #f8fafc;
  --surface-color: #ffffff;
  --surface-color-solid: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  
  --brand-primary: #ff6b00;
  --brand-secondary: #b347ff;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.dark-theme {
  /* Tema Escuro */
  --bg-color: #060913;
  --bg-gradient: radial-gradient(circle at 50% 0%, #0c1530 0%, #060913 70%);
  --surface-color: rgba(13, 20, 38, 0.6);
  --surface-color-solid: #0d1426;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #4e5a6a;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: all var(--transition-smooth);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.brand-logo {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Outfit', sans-serif;
}
.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* THEME TOGGLE */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  background: var(--border-color);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition-fast);
}
.btn-primary:hover {
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=2000&auto=format&fit=crop') center/cover;
  border-radius: var(--radius-lg);
  margin: 24px auto;
  max-width: 1240px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}
.hero h1 {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero p {
  font-size: 1.2rem;
  color: #f8fafc;
  margin-bottom: 40px;
  font-weight: 500;
}

/* SEARCH BAR */
.search-box {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  width: 100%;
  align-items: center;
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: transparent;
}
.search-box button {
  background: var(--brand-primary);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.search-box button:hover {
  background: #e65c00;
}

/* CATEGORIES */
.categories {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.category-pill {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all var(--transition-fast);
}
.category-pill:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* SECTIONS */
.container-main {
  max-width: 1240px;
  margin: 60px auto;
  padding: 0 24px;
}
.section-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-title span {
  color: var(--brand-primary);
}

/* CARDS GRIDS */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.place-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.place-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}
.place-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.place-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.place-info h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.place-tags {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tag {
  background: rgba(255, 107, 0, 0.1);
  color: var(--brand-primary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .search-box { flex-direction: column; border-radius: var(--radius-md); padding: 16px; gap: 16px; }
  .search-box input { width: 100%; padding: 8px; }
  .search-box button { width: 100%; }
}
