/* =========================================
   OVERVIEW — imagem esquerda + heading + 3 cards
   ========================================= */

.overview {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 520px;
  background: var(--color-bg);
  overflow: hidden;
}

/* ── Foto com moldura reta, sem sangramento ── */
.overview-photo-col {
  position: relative;
  overflow: hidden;
  border-right: 5px solid;
  border-image: var(--gradient-thermal-v) 1;
}

.overview-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder quando não há foto */
.overview-photo-col:not(:has(img[src])) {
  background: linear-gradient(160deg, #e8f0fb, #c9d9f0);
}

/* ── Conteúdo ── */
.overview-content {
  padding: 4rem 3rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Heading */
.overview-heading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.overview-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0;
}

.overview-heading-blue {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.15;
}

/* ── Grid de cards ── */
.overview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card */
.ov-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Ícone do card (substitui a miniatura de foto repetida) */
.ov-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--color-surface-soft);
  color: var(--color-accent);
}

.ov-card-icon svg { width: 24px; height: 24px; }

/* Título */
.ov-card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

/* Texto */
.ov-card-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-body);
  margin: 0;
}

/* Link */
.ov-card-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}

.ov-card-link:hover {
  gap: 8px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .overview {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 768px) {
  .overview {
    grid-template-columns: 1fr;
  }

  .overview-photo-col {
    height: 260px;
    border-right: none;
    border-bottom: 5px solid;
    border-image: var(--gradient-thermal) 1;
  }

  .overview-content {
    padding: 2rem 1.25rem 3rem;
  }

  .overview-cards {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ov-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 1rem;
    row-gap: 0.5rem;
  }

  .ov-card-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .ov-card-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .ov-card-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ov-card-link {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.25rem;
  }
}
