@import "./theme.css";

#about {
  padding: var(--section-py) 0;
  overflow-x: hidden;
  background: var(--white-background);
}

#about .about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 700;
  color: var(--xp-yellow-ink);
  background: rgba(240, 245, 60, 0.14);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  border: 1px solid rgba(240, 245, 60, 0.3);
}

[data-theme="dark"] #about .about-eyebrow {
  color: var(--xp-yellow);
  background: rgba(240, 245, 60, 0.1);
  border-color: rgba(240, 245, 60, 0.28);
}

#about h3 {
  font-size: 20px;
  margin: 24px 0 16px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-top: 1%;
}

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

#about 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.45);
}

#about p {
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-size: 18px;
}

#about .paragraph {
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-variant: normal;
  font-size: 15px;
  text-align: left;
  text-indent: 0;
  margin-bottom: 1.2em;
  line-height: 1.7;
  color: var(--paragraph-color);
}

#about .pd {
  padding-top: 15px;
}

/* Visual lateral — painel com foto institucional */
#about .about-visual {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: linear-gradient(155deg, #0b0d12 0%, #11141b 55%, #070910 100%);
  box-shadow: var(--shadow-lg),
    inset 0 0 0 1px rgba(240, 245, 60, 0.12);
  margin-left: 0;
}

#about .about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(11, 13, 18, 0.15) 0%,
      rgba(11, 13, 18, 0.55) 100%
    ),
    radial-gradient(
      ellipse 40% 30% at 85% 15%,
      rgba(240, 245, 60, 0.18) 0%,
      transparent 60%
    );
  z-index: 2;
  pointer-events: none;
}

#about .about-visual-halo {
  display: none;
}

#about img.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.9) contrast(1.05);
  z-index: 1;
}

/* retrocompat caso volte a logo */
#about img.about-logo {
  position: relative;
  z-index: 2;
  width: clamp(220px, 60%, 420px);
  max-width: 100%;
  height: auto;
  margin: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 12px rgba(240, 245, 60, 0.2));
}

/* Lista de pontos fortes */
#about .list-style {
  margin-top: 12px;
}

#about .about-text li {
  margin-bottom: 8px;
  margin-left: 0;
  list-style: none;
  padding: 0;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: var(--xp-black);
  background: var(--xp-yellow);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(240, 245, 60, 0.35);
}

[data-theme="dark"] #about {
  background: var(--white-background);
}

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

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

/* Animações */
#about h2,
#about h3,
#about .about-text {
  opacity: 0;
  transform: translate3d(-52px, 0, 0);
}

#about .about-visual {
  opacity: 0;
  transform: translate3d(52px, 0, 0);
}

#about.is-visible h2,
#about.is-visible h3,
#about.is-visible .about-text {
  animation: revealFromLeft var(--dur-reveal) var(--ease-reveal) forwards;
}

#about.is-visible .about-visual {
  animation: revealFromRight var(--dur-reveal) var(--ease-reveal) forwards;
}

@media (max-width: 768px) {
  #about .about-visual {
    min-height: 280px;
    margin: 32px 0 0;
  }
}
