/* =============================================================================
   developments.css — Empreendimentos archive page styles
   Sections: #hero, #filter-section, #cards-section, #pagination
   ============================================================================= */

/* ── HERO ───────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh; min-height: 600px; max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg video { display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: 72px;
  padding-left: var(--pp); padding-right: var(--pp);
  max-width: 1920px; margin: 0 auto; width: 100%;
}
.hero-tag {
  font-size: 14px; font-weight: 700; color: white;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px;
}
.hero-h1 {
  font-size: clamp(36px, 3.5vw, 56px); font-weight: 700;
  color: white; line-height: 1.15; max-width: 700px;
}

.hero-bg--devs { background-image: url('https://www.figma.com/api/mcp/asset/c62d72e1-c06d-4232-8173-5677b37265e5'); }

/* Slide de imagens: crossfade + zoom automático (Ken Burns), sem hover */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: -10% 0; opacity: 0; transition: opacity .9s ease; will-change: transform, opacity; }
.hero-slide--active { opacity: 1; }
.hero-slide picture,
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slide--active img { animation: hero-devs-zoom 6s linear forwards; }
@keyframes hero-devs-zoom { from { transform: scale(1); } to { transform: scale(1.03); } } /* mesmo ritmo do banner de imagem única (1.08 em 20s) */

/* Banner 1 imagem: zoom automático contínuo, sem hover */
.hero-bg-zoom img { animation: hero-devs-zoom-loop 20s linear infinite alternate; }
@keyframes hero-devs-zoom-loop { from { transform: scale(1); } to { transform: scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide--active img,
  .hero-bg-zoom img { animation: none; }
}

/* ── FILTER ─────────────────────────────────────────────────────────────────── */
#filter-section { padding: 48px 0 40px; }

.filter-bar { display: flex; align-items: center; gap: 12px; }
.filter-label { font-size: 14px; font-weight: 500; color: var(--g08); }

.filter-select { position: relative; display: inline-block; }
.filter-select::after {
  content: ''; position: absolute; top: 50%; right: 14px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--v); border-bottom: 2px solid var(--v);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
  transition: border-color var(--t);
}
.filter-select:hover::after { border-color: var(--v); }
.filter-btn {
  appearance: none; -webkit-appearance: none;
  display: flex; align-items: center;
  padding: 10px 36px 10px 20px;
  border: 1px solid var(--g06);
  border-radius: var(--r);
  font-size: 14px; font-weight: 600; color: var(--preto);
  background: white; cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
  min-width: 140px;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--preto); }

/* ── CARDS GRID ─────────────────────────────────────────────────────────────── */
#cards-section { padding-bottom: var(--sv); }

/* ── PAGINATION ─────────────────────────────────────────────────────────────── */
#pagination { padding: 40px 0 var(--sv); }
.pag-btn:hover  { border-color: #990000; color: #990000; }
.pag-btn.active { background: #990000; border-color: #990000; color: white; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #hero { height: 100vh; min-height: 480px; max-height: 600px; }
}
@media (max-width: 640px) {
  #hero      { height: 100vh; min-height: 400px; max-height: 500px; }
  .hero-h1   { font-size: 28px; }

}


