/* ============================================
   LANA AUTOMOTIVA — Onde Comprar Section (CTA)
   Banner with integrated Figma background and region tags
   ============================================ */

.onde-comprar {
  padding: 60px 0;
  background-color: transparent;
}

@media (max-width: 767px) {
  .onde-comprar {
    padding: 48px 0;
  }
}

.onde-comprar__banner {
  background-color: #004ab7;
  background-image: url('../../../images/svgs/onde-comprar-bg.svg');
  background-size: auto 120%; /* Slightly larger to allow bleeding */
  background-position: right -120px center; /* "Negative margin" to the right */
  background-repeat: no-repeat;

  border-radius: 8px; /* Fixed as per Figma */
  position: relative;
  overflow: hidden;
  min-height: 560px; /* Adjusted to better match Figma aspect */
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .onde-comprar__banner {
    flex-direction: column;
    padding: var(--space-12) var(--space-6);
    min-height: auto;
    text-align: center;
    background-image: none;
    /* Mobile simpler */
  }
}

/* ── Content ── */

.onde-comprar__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-16) 0 97px;
  /* Matches Figma left: 97px */
  flex: 1;
}

@media (max-width: 1024px) {
  .onde-comprar__content {
    padding: 0;
    max-width: 100%;
    margin-bottom: var(--space-10);
  }
}

.onde-comprar__title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 400;
  /* Regular as per Figma */
  line-height: 1.2;
  color: #f5f6f6;
  margin: 0 0 16px 0;
  max-width: 487px;
  letter-spacing: -0.64px;
}

@media (max-width: 1024px) {
  .onde-comprar__title {
    margin: 0 auto 16px auto;
  }
}

@media (max-width: 767px) {
  .onde-comprar__title {
    font-size: var(--text-2xl); /* 24px */
  }
}

.onde-comprar__desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #f5f6f6;
  margin: 0 0 var(--space-8) 0;
  max-width: 625px;
}

@media (max-width: 1024px) {
  .onde-comprar__desc {
    margin: 0 auto var(--space-8) auto;
  }
}

/* ── Tags / Regions ── */

.onde-comprar__regions {
  margin-top: var(--space-8);
}

.onde-comprar__regions-label {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #f5f6f6;
  margin-bottom: 12px;
}

.onde-comprar__tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  /* 8px in Figma */
  max-width: 400px;
  /* To match 2x2 roughly */
}

@media (max-width: 1024px) {
  .onde-comprar__tags-grid {
    justify-content: center;
    max-width: 100%;
  }
}

.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f1f2;
  padding: 0 10.5px;
  border-radius: 100px;
  height: 38px;
}

.region-tag__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #d12128;
  /* Red circle */
  border-radius: 50%;
  padding: 2px;
}

.region-tag__check img {
  width: 10px;
  height: 10px;
}

.region-tag__label {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #002255;
  /* Dark blue label */
}

/* ── CTA Button ── */

.onde-comprar__cta {
  margin-top: 32px;
  display: inline-flex;
}

/* ── Media ── */

.onde-comprar__media {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 488px;
  height: 448px;
  margin-right: 97px;
  /* Symmetrical if possible or as per Figma */
}

@media (max-width: 1216px) {
  .onde-comprar__media {
    margin-right: var(--space-10);
    width: 400px;
    height: auto;
  }
}

@media (max-width: 1024px) {
  .onde-comprar__media {
    width: 100%;
    max-width: 488px;
    height: auto;
    aspect-ratio: 488/448;
    margin-right: 0;
  }
}

.onde-comprar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* Fixed 8px */
}