.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
  min-height: calc(100dvh - 6rem);
  padding: 4.5rem 0 3.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  max-width: 18ch;
  margin: 0.55rem 0 0.9rem;
}

.hero__lead {
  font-size: 1.12rem;
  max-width: 36rem;
  margin-bottom: 1.6rem;
}

#apps,
#sobre,
#contato {
  scroll-margin-top: 5.5rem;
}

#sobre.section {
  padding: 5.5rem 0;
}

.hero__phones {
  position: relative;
  height: 36rem;
  display: grid;
  place-items: center;
}

.hero__phones .phone-shot {
  position: absolute;
  --phone-w: 15.2rem;
  overflow: hidden;
  border-radius: 2.4rem;
}

.hero__phones .phone-shot img {
  filter: none;
  border-radius: 2.4rem;
}

.hero__phones .phone-shot:nth-child(1) {
  transform: translate(-7.4rem, 1.4rem) rotate(-9deg);
  z-index: 1;
}

.hero__phones .phone-shot:nth-child(2) {
  transform: translate(0, -0.6rem);
  z-index: 3;
}

.hero__phones .phone-shot:nth-child(3) {
  transform: translate(7.4rem, 1.8rem) rotate(9deg);
  z-index: 2;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  border-radius: 1.4rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--app-bright) 18%, transparent), transparent 55%),
    var(--surface);
  transition: transform var(--t), border-color var(--t);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--app-bright) 45%, var(--border));
}

.app-card__icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.95rem;
  overflow: hidden;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.app-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__cat {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-bright);
  margin-bottom: 0.35rem;
}

.app-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.app-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.app-card__go {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.app-card__go span {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.app-card:hover .app-card__go span {
  transform: translateX(4px);
}

.about {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.about__photo {
  width: 16rem;
  height: 16rem;
  margin: 0;
  flex-shrink: 0;
}

.about__photo img {
  width: 16rem;
  height: 16rem;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.about h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin: 0.4rem 0 0.3rem;
}

.about__who {
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.about__lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.65;
}

.about__lead + .about__lead {
  margin-top: 0.85rem;
}

.contact {
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(155, 77, 255, 0.12), transparent 50%),
    var(--surface);
}

.contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.35rem 0 0.8rem;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.2rem;
    gap: 2rem;
  }

  .hero__phones {
    height: 24rem;
  }

  .hero__phones .phone-shot { --phone-w: 12.4rem; }
  .hero__phones .phone-shot:nth-child(1) { transform: translate(-5.4rem, 1.2rem) rotate(-8deg); }
  .hero__phones .phone-shot:nth-child(3) { transform: translate(5.4rem, 1.4rem) rotate(8deg); }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.6rem;
  }

  .about .eyebrow {
    justify-content: center;
  }

  .about__photo,
  .about__photo img {
    width: 12.5rem;
    height: 12.5rem;
  }

  .about__lead {
    max-width: 36rem;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 1.4rem;
    padding-bottom: 2rem;
  }

  .hero__phones {
    height: 20rem;
  }

  .hero__phones .phone-shot {
    --phone-w: 10.6rem;
  }

  .hero__phones .phone-shot:nth-child(1),
  .hero__phones .phone-shot:nth-child(3) {
    display: none;
  }
}
