:root {
  --bach-blue: #007bff;
  --bach-blue-dark: #0062cc;
  --footer-bg: #f4f6f8;
  --hero-min-h: min(100vh, 900px);
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
}

.navbar-bach {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-bach.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-bach.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.navbar-bach.navbar-light .nav-link {
  color: #333;
}

.navbar-brand {
  line-height: 1;
}

.logo-bach {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 992px) {
  .logo-bach {
    height: 2rem;
    max-width: 11rem;
  }
}

/* Logo branco: no fundo claro da barra após scroll, vira azul marca */
.navbar-bach.navbar-light .logo-bach {
  filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(2200%)
    hue-rotate(198deg) brightness(0.98) contrast(1.02);
}

.hero {
  position: relative;
  min-height: var(--hero-min-h);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero .hashtag {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(1.35rem, 3.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 38rem;
}

.intro-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}

.link-bach {
  color: var(--bach-blue);
  text-decoration: none;
  font-weight: 600;
}

.link-bach:hover {
  color: var(--bach-blue-dark);
  text-decoration: underline;
}

.video-section {
  background: #0a1628;
}

.video-section-inner {
  position: relative;
  width: 100%;
  max-height: min(85vh, 720px);
  aspect-ratio: 21 / 9;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .video-section-inner {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

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

.blue-box {
  background: var(--bach-blue);
  color: #fff;
  border-radius: 15px;
  padding: 1.75rem 1.5rem;
}

.blue-box h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blue-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 1.25rem;
}

.product-shot {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 420px;
  object-position: center;
}

/* Mobile: empilhamento simples */
.product-stack {
  gap: 1rem;
}

/* Desktop: coluna esquerda = altura da foto; dois cartões partilham o espaço */
@media (min-width: 992px) {
  .product-stack {
    gap: 1rem;
    min-height: 0;
    height: 100%;
  }

  .product-stack > .blue-box {
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .product-stack > .blue-box .btn {
    margin-top: auto;
    align-self: flex-start;
  }

  .product-stack > .product-shot {
    /* Sem flex-grow: o cartão branco segue a altura natural da imagem (frasco inteiro visível). */
    min-height: 0;
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    padding: 0.75rem;
    overflow: hidden;
  }

  .product-stack > .product-shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

.lifestyle-img {
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  position: relative;
}

.lifestyle-img img {
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .lifestyle-img {
    min-height: 520px;
    height: 100%;
  }

  .lifestyle-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }
}

.section-product {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pre-sale-bar {
  border-top: 1px solid #e8ecf0;
  padding: 2.5rem 0 1rem;
}

.pre-sale-gradient {
  min-height: 200px;
  background: linear-gradient(
    180deg,
    rgba(0, 123, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.footer-bach {
  background: var(--footer-bg);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-bach h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin-bottom: 1rem;
}

.footer-bach a {
  color: #333;
  text-decoration: none;
}

.footer-bach a:hover {
  color: var(--bach-blue);
}

.footer-logo {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
}

.social a {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #333;
  margin-right: 0.35rem;
  border: 1px solid #e0e4e8;
}

.social a:hover {
  background: var(--bach-blue);
  color: #fff;
  border-color: var(--bach-blue);
}
