@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --card-width: 280px;
  --gap: 28px;
  --orange: #D88345;
  --orange-hover: #c0743a;
  --bg-primary: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', sans-serif;
  background:var(--bg-primary);
  color:var(--text-primary);
  line-height:1.6;
}

/* ===== HEADER ===== */
header {
  background:var(--orange);
  padding: 20px 20px;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 2px 20px rgba(0,0,0,0.06);
}
.nav-bar {
  max-width:1280px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo-header img { height:25px; width:auto; }
.nav-list ul {
  display:flex;
  gap:2rem;
  list-style:none;
}
.nav-list a {
  color:#fff;
  text-decoration:none;
  font-weight:500;
  transition:var(--transition);
  font-size:0.95rem;
}
.nav-list a:hover { opacity:0.8; }
.mobile-menu-icon { display:none; }
.mobile-menu { display:none; }

/* ===== HOME ===== */
#home {
  padding:2.5rem 2rem 4rem;
  max-width:1280px;
  margin:0 auto;
}
.title-home h1 {
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(1.6rem,3.5vw,2.4rem);
  font-weight:600;
  color:var(--text-primary);
  margin-bottom:2.5rem;
  line-height:1.2;
}

/* ===== FEATURED ===== */
.featured-section { width:100%; }
.featured-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:1.8rem;
}
.featured-header h2 {
  font-size:1.4rem;
  font-weight:600;
  color:var(--text-primary);
}
.nav-buttons {
  display:flex;
  gap:0.8rem;
}
.nav-buttons button {
  width:44px;
  height:44px;
  border:none;
  background:#fff;
  border-radius:50%;
  box-shadow:var(--shadow-sm);
  cursor:pointer;
  font-size:1.2rem;
  transition:var(--transition);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-secondary);
}
.nav-buttons button:hover {
  transform:scale(1.06);
  box-shadow:var(--shadow-md);
}
.nav-buttons button[disabled] {
  opacity:0.4;
  cursor:not-allowed;
  transform:none;
}

.carousel-wrapper {
  overflow:hidden;
  position:relative;
  width:100%;
}
.carousel-track {
  display:flex;
  gap:var(--gap);
  transition:transform 0.4s ease;
  will-change:transform;
  padding-bottom:6px;
}

/* ===== CARD ===== */
.card {
  width:var(--card-width);
  flex-shrink:0;
  background:var(--bg-card);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
  display:flex;
  flex-direction:column;
}
.card:hover {
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
}
.card img {
  width:100%;
  height:200px;
  object-fit:cover;
}
.card-content {
  padding:1rem 1.2rem 1.2rem;
  display:flex;
  flex-direction:column;
  flex:1;
}
.card-title {
  font-weight:700;
  font-size:1.1rem;
  color:var(--text-primary);
  margin-bottom:0.2rem;
}
.sold-info {
  font-size:0.8rem;
  color:var(--text-secondary);
  margin-bottom:0.8rem;
}
.card .btn-saiba-mais {
  display:block;
  background:var(--orange);
  color:#fff;
  text-align:center;
  padding:0.7rem 1rem;
  font-weight:600;
  text-decoration:none;
  transition:var(--transition);
  border:none;
  border-radius:50px;
  margin-top:auto;
  font-size:0.9rem;
}
.card .btn-saiba-mais:hover {
  background:var(--orange-hover);
  transform:scale(1.02);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  header { padding:0.5rem 1rem; }
  .nav-list ul { display:none; }
  .mobile-menu-icon { display:block; }
  .mobile-menu {
    display:block;
    background:var(--orange);
    padding:1rem 1.5rem;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:var(--transition);
  }
  .mobile-menu.open {
    transform:translateY(0);
    opacity:1;
    pointer-events:all;
  }
  .mobile-menu ul { list-style:none; display:flex; flex-direction:column; gap:0.8rem; }
  .mobile-menu a { color:#fff; text-decoration:none; font-weight:500; font-size:1rem; }
  .logo-header { display:none; }
  .title-home h1 { font-size:1.4rem; }
  .featured-header { flex-direction:column; align-items:flex-start; gap:0.8rem; }
  .nav-buttons { display:none; }
  .card { width:250px; }
  .card img { height:160px; }
}