/* DataLeiloes - Radar Patrimonial na home */

.radar-home-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 162, 90, 0.09), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.radar-home-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

.radar-home-container {
  position: relative;
  z-index: 1;
}

.radar-home-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.radar-home-copy {
  max-width: 790px;
}

.radar-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(201, 162, 90, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #9a7336;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.radar-home-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 90, 0.12);
}

.radar-home-copy h2 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.1vw, 3.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #102544;
}

.radar-home-copy p {
  max-width: 690px;
  margin: 0;
  color: var(--c-text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.radar-home-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 4px;
}

.radar-home-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #123d72;
  font-size: 13px;
  font-weight: 800;
  transition: var(--transition);
}

.radar-home-all:hover {
  color: var(--c-blue-mid);
  transform: translateX(2px);
}

.radar-home-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-home-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #123d72;
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.07);
  transition: var(--transition);
}

.radar-home-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.radar-home-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.42);
  background: #123d72;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 61, 114, 0.18);
}

.radar-home-arrow:disabled {
  opacity: 0.32;
  cursor: default;
  box-shadow: none;
}

.radar-home-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 4px 2px 18px;
}

.radar-home-viewport::-webkit-scrollbar {
  display: none;
}

.radar-home-track {
  display: flex;
  gap: 24px;
  width: 100%;
}

.radar-home-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.075);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.radar-home-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.11);
}

.radar-home-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eaf0f8;
}

.radar-home-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 24, 43, 0.28) 100%);
}

.radar-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.radar-home-card:hover .radar-home-thumb img {
  transform: scale(1.035);
}

.radar-home-category {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(8, 24, 43, 0.82);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radar-home-card-body {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.radar-home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 13px;
  color: #7b8798;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.radar-home-card h3 {
  margin: 0 0 13px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.55vw, 1.6rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #102544;
}

.radar-home-card h3 a {
  transition: color 0.22s ease;
}

.radar-home-card h3 a:hover {
  color: var(--c-blue-mid);
}

.radar-home-card-body > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 22px;
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.radar-home-read {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: auto;
  color: #123d72;
  font-size: 13px;
  font-weight: 800;
}

.radar-home-read span {
  transition: transform 0.22s ease;
}

.radar-home-read:hover span {
  transform: translateX(4px);
}

.radar-home-mobile-all {
  display: none;
}

@media (max-width: 900px) {
  .radar-home-section {
    padding: 74px 0 78px;
  }

  .radar-home-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }

  .radar-home-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
  }

  .radar-home-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 680px) {
  .radar-home-section {
    padding: 62px 0 66px;
  }

  .radar-home-copy h2 {
    margin-top: 15px;
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .radar-home-copy p {
    font-size: 15px;
  }

  .radar-home-all {
    display: none;
  }

  .radar-home-actions {
    justify-content: flex-end;
  }

  .radar-home-viewport {
    margin-right: -24px;
    padding-right: 24px;
  }

  .radar-home-track {
    gap: 16px;
  }

  .radar-home-card {
    flex-basis: calc(100vw - 62px);
    border-radius: 23px;
  }

  .radar-home-card-body {
    min-height: 292px;
    padding: 22px 22px 24px;
  }

  .radar-home-card h3 {
    font-size: 1.55rem;
  }

  .radar-home-category {
    left: 14px;
    bottom: 14px;
  }

  .radar-home-mobile-all {
    display: block;
    margin-top: 8px;
  }

  .radar-home-mobile-all a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #123d72;
    font-size: 13px;
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  .radar-home-viewport {
    scroll-behavior: auto;
  }

  .radar-home-card,
  .radar-home-thumb img,
  .radar-home-read span {
    transition: none !important;
  }
}
