/* ============================================================
   MARINE ITAJUBA — deltas sobre numo-produto.css
   (renda passiva / short stay · 5 cards fora-da-curva
    · gráfico patrimonial de 2 linhas: Patrimônio × Investido
    · planta única · prova social Modelo A — case João Antônio)
   ============================================================ */

/* ---- placeholders de imagem (image-slot) preenchem o container ---- */
.hero__photo image-slot { display: block; width: 100%; height: 100%; }
.estr__photo image-slot { display: block; width: 100%; height: 100%; min-height: 480px; }
@media (max-width: 940px) {
  .estr__photo image-slot { min-height: 420px; }
}

/* ---- HERO "destacar o mar": véu invertido + conteúdo à direita ----
   A foto traz o mar à esquerda; escurecemos a direita (cidade/prédio)
   e revelamos o mar, jogando o texto para o lado escuro. */
.hero--sea .hero__photo img { object-position: 60% center; }
.hero--sea .hero__veil {
  background: linear-gradient(265deg, rgba(1,23,70,.92) 18%, rgba(1,23,70,.70) 48%, rgba(1,23,70,.10) 100%);
}
.hero--sea .hero__content { margin-left: auto; text-align: right; }
.hero--sea .hero__sub { margin-left: auto; }
.hero--sea .hero__actions { justify-content: flex-end; }
@media (max-width: 760px) {
  /* no mobile o véu cobre tudo; volta a alinhar à esquerda p/ leitura natural */
  .hero--sea .hero__veil { background: linear-gradient(180deg, rgba(1,23,70,.55), rgba(1,23,70,.85)); }
  .hero--sea .hero__content { text-align: left; }
  .hero--sea .hero__sub { margin-left: 0; }
  .hero--sea .hero__actions { justify-content: flex-start; }
}

/* ---- FORA DA CURVA: 5 cards numerados numa única linha ---- */
@media (min-width: 1001px) {
  .fora--5 .fora__grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .fora--5 .fora__card { grid-column: auto; }
  .fora--5 .fora__title { font-size: 1.02rem; }
  .fora--5 .fora__text { font-size: 13.5px; }
  /* topo numerado um pouco mais compacto para caber a coluna estreita */
  .fora--5 .fora__top { padding: 18px 18px 14px; }
  .fora--5 .fora__n { font-size: 2.6rem; }
  .fora--5 .fora__icn { width: 44px; height: 44px; }
  .fora--5 .fora__body { padding: 18px; }
}
/* faixa intermediária: 1000–740px mantém 2 colunas legíveis */
@media (max-width: 1000px) and (min-width: 741px) {
  .fora--5 .fora__grid { grid-template-columns: repeat(2, 1fr); }
  .fora--5 .fora__card:nth-child(5) { grid-column: 1 / -1; }
}

.estr__chart .line--patrim { stroke: #8fb4ff; }
.estr__chart .line--invest { stroke: #b9a8ff; stroke-width: 2; stroke-dasharray: 5 5; }
/* a linha investida não recebe a animação de "desenho" do traço */
.estr__proj .estr__chart .line--invest { stroke-dasharray: 5 5; stroke-dashoffset: 0; transition: opacity .8s var(--ease) .5s; opacity: 0; }
.estr__proj.in .estr__chart .line--invest { opacity: 1; }
.estr__chart .dot--patrim { fill: #8fb4ff; }
.estr__chart .dot--invest { fill: #b9a8ff; }
.estr__chart .lbl-acc { fill: #8fb4ff; }
.estr__proj-foot .big { color: #8fb4ff; }

.estr__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.estr__legend-item { display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: var(--w-medium); color: rgba(247,255,255,.78); }
.estr__legend-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; flex: none; }
.estr__legend-item.is-patrim .estr__legend-dot { background: #8fb4ff; }
.estr__legend-item.is-invest .estr__legend-dot { background: #b9a8ff; }
.estr__proj-note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.45; color: rgba(247,255,255,.55); }

/* ---- depoimento: a mídia (foto João) vira gatilho de vídeo se houver ---- */
.prova__feature-media.js-vid { cursor: pointer; }
.prova__feature-media.js-vid:hover .dentro__play { transform: translate(-50%,-50%) scale(1.08); }
