/* ==========================================================================
   Bruno Amorim — Imóveis de Alto Padrão
   Design system: preto + azul-marinho profundo + dourado
   ========================================================================== */

:root {
  --ba-ink: #04060B;
  --ba-navy-950: #060A14;
  --ba-navy-900: #08101F;
  --ba-navy-850: #0B1729;
  --ba-navy-800: #101F35;
  --ba-navy-700: #16283F;

  --ba-gold: #C8A45C;
  --ba-gold-light: #E7D2A2;
  --ba-gold-deep: #A07E36;
  --ba-gold-grad: linear-gradient(135deg, #E7D2A2 0%, #C8A45C 45%, #A07E36 100%);

  --ba-text: #F3F1EC;
  --ba-muted: #9BA6B8;
  --ba-faint: #6B7789;

  --ba-line: rgba(200, 164, 92, 0.20);
  --ba-line-soft: rgba(255, 255, 255, 0.07);

  --ba-serif: "Cormorant Garamond", "Times New Roman", serif;
  --ba-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ba-shell: 1320px;
  --ba-pad: clamp(20px, 4vw, 56px);
  --ba-radius: 4px;
  --ba-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------- reset & base */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.ba-page {
  margin: 0;
  background: var(--ba-ink);
  color: var(--ba-text);
  font-family: var(--ba-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.ba-page.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ba-serif);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ba-gold); color: #08101F; }

:focus-visible {
  outline: 1px solid var(--ba-gold);
  outline-offset: 3px;
}

.ba-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ba-gold);
  color: #08101F;
  border-radius: 2px;
}
.ba-skip:focus { left: 16px; }

.ba-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------- palco + trilhos laterais */

.ba-stage {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(22, 40, 63, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, #04060B 0%, #060A14 40%, #04060B 100%);
}

.ba-stage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(200, 164, 92, 0.055), transparent 38%),
    radial-gradient(circle at 88% 72%, rgba(200, 164, 92, 0.045), transparent 40%);
  z-index: 0;
}

.ba-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ba-shell));
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(8, 16, 31, 0.92) 0%, rgba(6, 10, 20, 0.96) 100%);
  border-left: 1px solid var(--ba-line-soft);
  border-right: 1px solid var(--ba-line-soft);
  box-shadow: 0 0 120px rgba(0, 0, 0, 0.7);
}

/* Frases decorativas nas margens (apenas telas largas) */
.ba-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: calc((100vw - var(--ba-shell)) / 2);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(48px, 8vh, 110px) 14px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.ba-rail--left { left: 0; }
.ba-rail--right { right: 0; }

.ba-rail__word {
  font-family: var(--ba-serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(231, 210, 162, 0.72);
  text-align: center;
  line-height: 2.4;
  overflow-wrap: break-word;
  max-width: 100%;
}

.ba-rail__rule {
  width: 1px;
  height: 64px;
  margin: 22px auto 0;
  background: linear-gradient(180deg, rgba(200, 164, 92, 0.6), transparent);
}

.ba-rail__quote {
  max-width: 100%;
  font-family: var(--ba-serif);
  font-style: italic;
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 164, 92, 0.6);
  text-align: center;
}

@media (min-width: 1620px) {
  .ba-rail { display: flex; }
}
@media (min-width: 1800px) {
  .ba-rail { padding-left: 28px; padding-right: 28px; }
  .ba-rail__word { font-size: 14px; letter-spacing: 0.36em; }
  .ba-rail__quote { font-size: 13px; }
}

/* ------------------------------------------------------------- utilitários */

.ba-inner {
  padding-left: var(--ba-pad);
  padding-right: var(--ba-pad);
}

.ba-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ba-gold);
}
.ba-eyebrow--center { justify-content: center; }

.ba-hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ba-line), transparent);
  border: 0;
  margin: 0;
}

.ba-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ba-ease), transform 1s var(--ba-ease);
}
.ba-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ba-reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ------------------------------------------------------------------ botões */

.ba-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.4s var(--ba-ease), box-shadow 0.4s var(--ba-ease), background 0.4s var(--ba-ease), color 0.4s var(--ba-ease);
  white-space: nowrap;
}

.ba-btn--gold {
  background: var(--ba-gold-grad);
  color: #0A1220;
  box-shadow: 0 10px 30px rgba(160, 126, 54, 0.28);
}
.ba-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(200, 164, 92, 0.36);
}

.ba-btn--ghost {
  border: 1px solid var(--ba-line);
  color: var(--ba-gold-light);
  background: rgba(200, 164, 92, 0.04);
}
.ba-btn--ghost:hover {
  border-color: rgba(200, 164, 92, 0.6);
  background: rgba(200, 164, 92, 0.1);
  transform: translateY(-2px);
}

.ba-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ba-gold);
  transition: gap 0.4s var(--ba-ease), color 0.3s ease;
}
.ba-link:hover { gap: 15px; color: var(--ba-gold-light); }
.ba-link .ba-icon { width: 15px; height: 15px; }

/* ------------------------------------------------------------------ header */

.ba-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--ba-line-soft);
  transition: background 0.5s ease, border-color 0.5s ease, padding 0.5s ease;
}
.ba-header.is-stuck {
  background: rgba(4, 6, 11, 0.94);
  border-bottom-color: var(--ba-line);
}

.ba-header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.ba-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}
.ba-nav__list a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ba-muted);
  transition: color 0.3s ease;
}
.ba-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ba-gold);
  transition: right 0.45s var(--ba-ease);
}
.ba-nav__list a:hover,
.ba-nav__list a[aria-current="page"] { color: var(--ba-gold-light); }
.ba-nav__list a:hover::after,
.ba-nav__list a[aria-current="page"]::after { right: 0; }

/* marca central */
.ba-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.ba-brand__mono {
  font-family: var(--ba-serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--ba-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ba-brand__mono span { margin-left: -0.16em; }
.ba-brand__name {
  font-family: var(--ba-serif);
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ba-text);
  margin-left: 0.3em;
}
.ba-brand__tag {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ba-gold);
  margin-left: 0.42em;
}

.ba-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 20px);
}

.ba-header__claim {
  font-family: var(--ba-serif);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ba-faint);
  text-align: right;
}

.ba-iconbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ba-line-soft);
  border-radius: 50%;
  color: var(--ba-muted);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ba-ease);
}
.ba-iconbtn:hover {
  color: var(--ba-gold);
  border-color: var(--ba-line);
  transform: scale(1.06);
}

.ba-burger { display: none; }

/* menu mobile */
.ba-mobile {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 40px var(--ba-pad);
  background: rgba(4, 6, 11, 0.98);
  backdrop-filter: blur(16px);
}
.ba-mobile.is-open { display: flex; }
.ba-mobile a {
  font-family: var(--ba-serif);
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--ba-text);
  padding: 10px 0;
  border-bottom: 1px solid var(--ba-line-soft);
}
.ba-mobile__close {
  position: absolute;
  top: 22px;
  right: var(--ba-pad);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ba-gold);
}

/* -------------------------------------------------------------------- hero */

.ba-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.ba-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ba-hero__media img,
.ba-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ba-slow-zoom 26s ease-out forwards;
}

@keyframes ba-slow-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.ba-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 6, 11, 0.95) 0%, rgba(6, 12, 24, 0.82) 34%, rgba(8, 16, 31, 0.25) 62%, rgba(8, 16, 31, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 6, 11, 0.7) 0%, transparent 26%, rgba(4, 6, 11, 0.72) 100%);
}

.ba-hero__content {
  position: relative;
  width: 100%;
  padding-top: clamp(60px, 10vh, 96px);
  padding-bottom: clamp(28px, 4vh, 46px);
  max-width: 920px;
}

.ba-hero__title {
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.08;
  margin: 20px 0 18px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  text-wrap: balance;
}
.ba-hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, #F3E6C6 0%, #C8A45C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ba-hero__copy {
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(243, 241, 236, 0.78);
  margin-bottom: clamp(24px, 3.6vh, 38px);
}

.ba-hero__pin {
  position: absolute;
  right: var(--ba-pad);
  bottom: clamp(28px, 4vh, 46px);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 241, 236, 0.82);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.ba-hero__pin .ba-icon { width: 15px; height: 15px; color: var(--ba-gold); }

/* barra de busca */
.ba-search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  padding: 10px;
  background: rgba(8, 16, 31, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ba-line);
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-width: 720px;
}

.ba-search__field { position: relative; }
.ba-search__field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 12px 34px 12px 16px;
  background: rgba(4, 6, 11, 0.5);
  border: 1px solid var(--ba-line-soft);
  border-radius: 2px;
  color: var(--ba-text);
  font-family: var(--ba-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.ba-search__field select:hover,
.ba-search__field select:focus {
  border-color: rgba(200, 164, 92, 0.45);
  background: rgba(16, 31, 53, 0.6);
}
.ba-search__field select option { background: #0B1729; color: var(--ba-text); }
.ba-search__field::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--ba-gold);
  border-bottom: 1px solid var(--ba-gold);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.ba-search__submit {
  padding-left: 26px;
  padding-right: 26px;
}
.ba-search__submit .ba-icon { width: 16px; height: 16px; }

/* ------------------------------------------------------- cabeçalho de seção */

.ba-section { padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); }
.ba-section--tight { padding-top: clamp(34px, 4vw, 48px); padding-bottom: clamp(34px, 4vw, 48px); }

.ba-sechead {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.ba-sechead__title {
  font-family: var(--ba-serif);
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ba-gold-light);
  white-space: nowrap;
}
.ba-sechead__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ba-line), rgba(200, 164, 92, 0.03));
}

/* ------------------------------------------------------------ cards imóveis */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}

.ba-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(16, 31, 53, 0.5) 0%, rgba(8, 16, 31, 0.7) 100%);
  border: 1px solid var(--ba-line-soft);
  border-radius: var(--ba-radius);
  overflow: hidden;
  transition: transform 0.6s var(--ba-ease), border-color 0.5s ease, box-shadow 0.6s var(--ba-ease);
}
.ba-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 164, 92, 0.42);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200, 164, 92, 0.08);
}
.ba-card.is-hidden { display: none; }

.ba-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ba-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ba-ease), filter 0.6s ease;
  filter: saturate(0.94) brightness(0.94);
}
.ba-card:hover .ba-card__media img {
  transform: scale(1.07);
  filter: saturate(1.02) brightness(1);
}
.ba-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.45) 0%, transparent 34%, rgba(4, 6, 11, 0.55) 100%);
  pointer-events: none;
}

.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 11px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0A1220;
  background: var(--ba-gold-grad);
  border-radius: 1px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.ba-tag--soon {
  color: var(--ba-gold-light);
  background: rgba(8, 16, 31, 0.9);
  border: 1px solid var(--ba-line);
}

.ba-fav {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(4, 6, 11, 0.5);
  backdrop-filter: blur(6px);
  color: rgba(243, 241, 236, 0.85);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ba-ease);
}
.ba-fav:hover { transform: scale(1.12); color: var(--ba-gold); border-color: var(--ba-line); }
.ba-fav[aria-pressed="true"] {
  color: var(--ba-gold-light);
  border-color: rgba(200, 164, 92, 0.55);
}
.ba-fav[aria-pressed="true"] .ba-icon { fill: var(--ba-gold); stroke: var(--ba-gold-light); }
.ba-fav .ba-icon { width: 15px; height: 15px; }

.ba-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 16px 8px;
}
.ba-card__name {
  font-size: 19px;
  line-height: 1.25;
  color: var(--ba-text);
}
.ba-card__loc {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ba-faint);
}

.ba-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 11px 16px 14px;
  border-top: 1px solid var(--ba-line-soft);
}
.ba-specs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ba-muted);
}
.ba-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.ba-specs .ba-icon { width: 14px; height: 14px; color: rgba(200, 164, 92, 0.75); }

.ba-card__price {
  font-family: var(--ba-serif);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ba-gold-light);
  white-space: nowrap;
}

.ba-empty {
  display: none;
  padding: 40px 0;
  text-align: center;
  font-family: var(--ba-serif);
  font-size: 20px;
  color: var(--ba-muted);
}
.ba-empty.is-visible { display: block; }

/* -------------------------------------------------------- faixa autoridade */

.ba-authority {
  background: linear-gradient(90deg, rgba(4, 6, 11, 0.9), rgba(11, 23, 41, 0.75), rgba(4, 6, 11, 0.9));
  border-top: 1px solid var(--ba-line-soft);
  border-bottom: 1px solid var(--ba-line-soft);
}

.ba-authority__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.15fr;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  padding-top: 26px;
  padding-bottom: 26px;
}

.ba-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.ba-stat + .ba-stat::before {
  content: "";
  position: absolute;
  left: calc(clamp(16px, 2vw, 30px) / -2);
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--ba-line-soft);
}
.ba-stat .ba-icon {
  width: 26px;
  height: 26px;
  color: var(--ba-gold);
  stroke-width: 1;
  flex: none;
}
.ba-stat__value {
  font-family: var(--ba-serif);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.15;
  color: var(--ba-text);
}
.ba-stat__label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ba-faint);
}

.ba-quote {
  padding-left: clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--ba-line);
}
.ba-quote p {
  font-family: var(--ba-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(243, 241, 236, 0.9);
}
.ba-quote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--ba-sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ba-gold);
}

/* ------------------------------------------ institucional + lançamentos */

.ba-duo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
  border-bottom: 1px solid var(--ba-line-soft);
}

.ba-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-height: 320px;
  padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 46px);
  overflow: hidden;
  isolation: isolate;
}
.ba-story__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.66);
}
.ba-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(4, 6, 11, 0.9) 0%, rgba(8, 16, 31, 0.66) 100%);
}
.ba-story h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.28;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ba-text);
}
.ba-story h2 em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--ba-gold-light);
}

.ba-launches {
  padding: clamp(30px, 3.4vw, 46px) clamp(24px, 3vw, 46px);
  border-left: 1px solid var(--ba-line-soft);
  background: linear-gradient(180deg, rgba(11, 23, 41, 0.4), rgba(6, 10, 20, 0.7));
}
.ba-launches__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ba-mini {
  display: flex;
  flex-direction: column;
  background: rgba(8, 16, 31, 0.6);
  border: 1px solid var(--ba-line-soft);
  border-radius: var(--ba-radius);
  overflow: hidden;
  transition: transform 0.55s var(--ba-ease), border-color 0.45s ease, box-shadow 0.55s var(--ba-ease);
}
.ba-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 164, 92, 0.4);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}
.ba-mini__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ba-mini__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(0.92);
  transition: transform 1s var(--ba-ease);
}
.ba-mini:hover .ba-mini__media img { transform: scale(1.07); }

.ba-mini__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  padding: 12px 14px 14px;
}
.ba-mini__name {
  font-size: 16px;
  line-height: 1.22;
  color: var(--ba-text);
  text-wrap: balance;
}
.ba-mini__loc {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ba-faint);
  margin-top: 3px;
}
.ba-mini__arrow {
  flex: none;
  color: var(--ba-gold);
  transition: transform 0.45s var(--ba-ease);
}
.ba-mini:hover .ba-mini__arrow { transform: translateX(4px); }

/* ----------------------------------------------------------- bloco impacto */

.ba-impact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 104px) var(--ba-pad);
  text-align: center;
}
.ba-impact__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.34) saturate(0.55);
}
.ba-impact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 100% at 50% 50%, rgba(8, 16, 31, 0.45) 0%, rgba(4, 6, 11, 0.92) 100%);
}
.ba-impact h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  margin: 18px auto 0;
  max-width: 24ch;
  text-wrap: balance;
}
.ba-impact h2 em {
  font-style: italic;
  background: var(--ba-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ba-impact p {
  max-width: 54ch;
  margin: 18px auto 26px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 241, 236, 0.72);
}
.ba-impact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ------------------------------------------------------------------ sobre */

.ba-about {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.ba-about__photo {
  position: relative;
  border: 1px solid var(--ba-line);
  padding: 10px;
}
.ba-about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.15) contrast(1.03);
}
.ba-about__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  padding: 10px 14px;
  background: rgba(4, 6, 11, 0.8);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ba-line);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ba-gold-light);
}
.ba-about__badge small {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--ba-faint);
}
.ba-about h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
  margin: 16px 0 18px;
}
.ba-about h2 em { font-style: italic; color: var(--ba-gold-light); }
.ba-about p {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(243, 241, 236, 0.74);
  margin-bottom: 14px;
  max-width: 58ch;
}

/* ---------------------------------------------------------------- contato */

.ba-contact { text-align: center; }
.ba-contact h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.16;
  margin: 16px auto 16px;
  max-width: 18ch;
}
.ba-contact h2 em {
  font-style: italic;
  background: var(--ba-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ba-contact p {
  max-width: 52ch;
  margin: 0 auto 26px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 241, 236, 0.7);
}
.ba-contact__note {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ba-faint);
}

/* ----------------------------------------------------------------- footer */

.ba-footer {
  border-top: 1px solid var(--ba-line);
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.6), rgba(4, 6, 11, 1));
}
.ba-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 26px;
}
.ba-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ba-muted);
}
.ba-footer__links a { transition: color 0.3s ease; }
.ba-footer__links a:hover { color: var(--ba-gold); }
.ba-footer__right { display: flex; justify-content: flex-end; }

.ba-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 26px;
  border-top: 1px solid var(--ba-line-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ba-faint);
}

/* WhatsApp flutuante */
.ba-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ba-gold-grad);
  color: #0A1220;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s var(--ba-ease), box-shadow 0.45s var(--ba-ease);
}
.ba-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 44px rgba(200, 164, 92, 0.35); }
.ba-fab .ba-icon { width: 24px; height: 24px; stroke-width: 1.4; }

/* ------------------------------------------------------------ responsivo */

@media (max-width: 1180px) {
  .ba-authority__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ba-quote { grid-column: 1 / -1; padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid var(--ba-line-soft); }
  .ba-duo { grid-template-columns: 1fr; }
  .ba-launches { border-left: 0; border-top: 1px solid var(--ba-line-soft); }
}

@media (max-width: 1024px) {
  .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba-nav { display: none; }
  .ba-header__row { grid-template-columns: auto 1fr auto; }
  .ba-brand { align-items: center; }
  .ba-header__claim { display: none; }
  .ba-burger {
    display: grid;
    place-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    color: var(--ba-gold);
  }
  .ba-burger span { display: block; width: 18px; height: 1px; background: currentColor; }
  .ba-about { grid-template-columns: 1fr; }
  .ba-about__photo { max-width: 380px; }
}

@media (max-width: 860px) {
  .ba-header__actions .ba-btn--gold,
  .ba-header__actions .ba-iconbtn { display: none; }
  .ba-header__row { grid-template-columns: auto 1fr auto; }
  .ba-brand { grid-column: 2; }
  .ba-brand__name { white-space: nowrap; }
  .ba-brand__tag { white-space: nowrap; }
  .ba-header__actions { min-width: 36px; }
  .ba-brk { display: none; }
}

@media (max-width: 760px) {
  .ba-search { grid-template-columns: 1fr; max-width: none; }
  .ba-search__submit { width: 100%; padding-top: 14px; padding-bottom: 14px; }
  .ba-hero { min-height: 620px; align-items: flex-end; }
  .ba-hero__content { max-width: none; padding-bottom: 70px; }
  .ba-hero__pin { left: var(--ba-pad); right: auto; bottom: 20px; }
  .ba-authority__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ba-stat + .ba-stat::before { display: none; }
  .ba-launches__grid { grid-template-columns: 1fr; }
  .ba-footer__top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ba-footer__right { justify-content: center; }
  .ba-footer__links { justify-content: center; }
  .ba-sechead {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 14px;
  }
  .ba-sechead__title { font-size: 13px; letter-spacing: 0.24em; white-space: normal; }
  .ba-sechead__rule { display: none; }
  .ba-sechead .ba-link { flex-basis: 100%; }
}

@media (max-width: 520px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-card__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ba-brand__name { font-size: 15px; letter-spacing: 0.22em; }
  .ba-brand__mono { font-size: 24px; }
  .ba-hero__title { font-size: 32px; }
}
