/* updates.css - hero-photo quadrada premium com borda azul */
.hero-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  border: 4px solid #1a6fe0;
  border-radius: 24px;
  box-shadow: 0 28px 65px rgba(0, 24, 60, 0.45), 0 0 0 6px rgba(255,255,255,0.08);
  transform: rotate(0.7deg);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s, border-color .3s;
  animation: fadeInUp .9s .35s both;
  will-change: transform;
  background: #0a3a7a;
}

.hero-photo:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 34px 75px rgba(0, 24, 60, 0.52), 0 0 0 6px rgba(255,255,255,0.12);
  border-color: #2a7ef2;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .4s;
}

.hero-photo:hover img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.hero-photo span {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 380px;
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--navy);
  font: 800 13px Montserrat;
  letter-spacing: .02em;
  line-height: 1.4;
  text-align: center;
  background: #fff;
  border: none;
  box-shadow: 0 10px 28px rgba(3, 24, 56, 0.22), 0 1px 0 rgba(255,255,255,0.8) inset;
  text-shadow: none;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}

.hero-photo:hover span {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 32px rgba(3, 24, 56, 0.28);
}

.cards article > span { font-size: 34px; }

/* AbrefCursos - logotipo header/footer (logo_1024x468.png 1024x468) */
.brand-logo { display:inline-flex; align-items:center; }
.brand-logo img { display:block; height:68px; width:auto; max-width:300px; object-fit:contain; }
.brand-logo-footer img { height:52px; max-width:220px; background:#fff; padding:6px 12px; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,.25); }

@media (max-width: 900px) {
  .hero-photo { max-width: 480px; justify-self: center; }
}

@media (max-width: 600px) {
  .brand-logo img { height:52px; max-width:210px; }
  .brand-logo-footer img { height:44px; }
  .hero-photo { max-width: 360px; border-radius: 20px; transform: none; border-width: 3px; }
  .hero-photo:hover { transform: scale(1.01); }
  .hero-photo span { bottom: 16px; width: calc(100% - 28px); max-width: none; padding: 11px 14px; font-size: 12px; }
  .cta .light { line-height: 1.4; text-align: center; }
}
