@import "./theme.css";

#app {
  padding: var(--section-py) 0 clamp(4rem, 10vw, 7rem);
  position: relative;
  z-index: 1;
  overflow: visible;
  background: var(--surface-muted);
}

/* Estado inicial das colunas */
#app .col-xs-12.col-md-6 {
  opacity: 0;
}

#app .col-xs-12.col-md-6:first-child {
  transform: translate3d(52px, 0, 0);
}

#app .col-xs-12.col-md-6:last-child {
  transform: translate3d(-52px, 0, 0);
}

#app.is-visible .col-xs-12.col-md-6:first-child {
  animation: revealFromRight var(--dur-reveal) var(--ease-reveal) forwards;
}

#app.is-visible .col-xs-12.col-md-6:last-child {
  animation: revealFromLeft var(--dur-reveal) var(--ease-reveal) forwards;
}

#app h2 {
  position: relative;
  color: var(--text-primary);
  text-transform: none;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  padding-bottom: 18px;
  font-weight: 700;
}

#app h2::after {
  position: absolute;
  content: "";
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
  background: var(--xp-yellow);
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(240, 245, 60, 0.4);
}

#app p {
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--paragraph-color);
  margin: 0;
}

/* Mockup do app — solto na seção, sem "caixinha" escura */
#app img {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

[data-theme="dark"] #app {
  background: var(--surface-alt);
}

[data-theme="dark"] #app h2 {
  color: var(--text-primary);
}

[data-theme="dark"] #app p {
  color: var(--paragraph-color);
}

[data-theme="dark"] #app img {
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 18px rgba(240, 245, 60, 0.18));
}

@media (max-width: 768px) {
  #app .about-text {
    margin-top: 10%;
  }
}

.d-flex {
  display: flex;
  align-items: center;
  align-content: center;
  flex-direction: row;
  justify-content: center;
}
