/* CMS Banners */

.banners {
  width: 100%;
  margin-bottom: 2rem;
}

.banner {
  position: relative;
  overflow: hidden;
}

.banner__link {
  display: block;
  text-decoration: none;
}

.banner__image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

.banner__overlay {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.banner__cta {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--button-border-radius);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

/* Hero fallback (shown when no banners are configured) */
.hero__placeholder {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}


/* ═══════════════════════════════════════════════
   INFO BAR
═══════════════════════════════════════════════ */
.info-bar {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
}

.info-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 16px;
  text-decoration: none;
  transition: opacity .2s;
}

a.info-bar__item:hover { opacity: .8; }


/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 460px;
  overflow: hidden;
  background: #111;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.hero__content--center { align-items: center; text-align: center; }
.hero__content--left   { align-items: flex-start; text-align: left; padding-left: clamp(2rem, 8vw, 8rem); }
.hero__content--right  { align-items: flex-end; text-align: right; padding-right: clamp(2rem, 8vw, 8rem); }

.hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin: 0;
  opacity: .9;
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hero__cta {
  margin-top: .5rem;
  text-decoration: none;
  padding: .85rem 2.5rem;
  border-radius: var(--border-radius, 4px);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  background: var(--color-primary, #000);
  color: #fff;
  transition: opacity .2s, transform .15s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.hero__cta:hover { opacity: .88; transform: translateY(-1px); }

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .3s, transform .2s;
  padding: 0;
}
.hero__dot.is-active { background: #fff; transform: scale(1.3); }


/* ═══════════════════════════════════════════════
   HOME SECTIONS
═══════════════════════════════════════════════ */
.home-section {
  padding: 4rem 5px;
}

/* ═══════════════════════════════════════════════
   HOME CTA BAR (faixa preta entre seções)
═══════════════════════════════════════════════ */
.home-cta-bar {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.home-cta-bar__btn {
  display: inline-block;
  padding: .75rem 2.5rem;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--font-family);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}

.home-cta-bar__btn:hover {
  background: #fff;
  color: #000;
}
