/* HERO */

.hero-studiomatrix::before {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 35%,
    rgba(0,0,0,0.35) 70%,
    rgba(0,0,0,0.15) 100%
  );
}


.hero-studiomatrix {
  background-image: url('../img/hero/hero-studiomatrix.jpg');
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-studiomatrix h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.01em;
  line-height: 1.05;   /* ðŸ‘ˆ isto Ã© chave */
  margin-bottom: 0.25rem;
}

.hero-studiomatrix p {
  margin-top: 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* SECTIONS */
.section {
  padding: 0.8rem 1rem;
}

.section.alt {
  background: #000;
}


/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.grid-2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.grid-2.reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.grid-2.reverse {
  direction: rtl;
}

.grid-2.reverse > * {
  direction: ltr;
}


/* SOCIAL */
.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  margin-right: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

/* RESPONSIVE */

@media (max-width: 768px){

  .grid-2,
  .grid-2.reverse{
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1.2rem; /* espaçamento vertical dos blocos no mobile */
    direction: ltr; /* cancela o rtl usado no desktop */
  }

  /* garantir ordem: imagem primeiro, texto depois */
  .grid-2 img{
    order: 1;
    width: 100%;
  }

  .grid-2 > div{
    order: 2;
  }

}


.cta-studiomatrix {
  position: relative;
  padding: 6rem 1rem;
  background:
    linear-gradient(
      rgba(16,13,155,0.35),
      rgba(0,0,0,0.05)
    ),
    url('../img/estudio/studiomatrix-base.jpg') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

/* logo como assinatura */
.cta-studiomatrix::after {
  content: "";
  position: absolute;
  bottom: 30px;
  right: 40px;
  width: 140px;
  height: 60px;
  background: url('../img/estudio/logo_studiomatrix.png') no-repeat center/contain;
  opacity: 0.25;
  pointer-events: none;
}



.cta-studiomatrix h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.social-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}


.social-icons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-studiomatrix .accent {
  color: #ff6a00; /* laranja */
}

.hero-studiomatrix .hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: left;
}


.text-card {
  padding: 2.5rem 2rem;
  border-radius: 8px;
  background: #141414;
  border: 1px solid rgba(255,106,0,0.35);
}

.studio-block {
  background: #0f0f0f;
  border-radius: 24px;
  overflow: hidden;
  padding: 4rem 0;
  margin: 5rem auto;
  max-width: 1200px;
}

.studio-block .grid-2 {
  padding: 0 4rem;
}

.cta-final {
  margin-top: 4rem;
}
