/* ============================= */
/* SOBRE MIM */
/* ============================= */
.about {
  width: 90%;
  max-width: 1100px;
  margin: 120px auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-img {
  position: relative;
  justify-self: center;
}

/* Foto recortada saindo de um arco com a cor da marca */
.portrait {
  position: relative;
  width: 370px;
  height: 450px;
  isolation: isolate;
}

.portrait-arch {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80%;
  border-radius: 185px 185px 36px 36px;
  overflow: hidden;
  background: linear-gradient(160deg, #d48ad1 0%, #693167 55%, #2a1030 100%);
  box-shadow: var(--shadow), 0 0 80px var(--glow);
}

[data-theme="light"] .portrait-arch {
  background: linear-gradient(160deg, #ffe7ff 0%, #b1b2e4 50%, #8e5c8d 100%);
}

.portrait-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.portrait-arch::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 50%;
  left: 15%;
  top: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 255, 0.45), transparent 70%);
}

.portrait-ring {
  position: absolute;
  z-index: -1;
  width: 118%;
  aspect-ratio: 1;
  left: -9%;
  top: -2%;
  border-radius: 50%;
  border: 1.5px dashed var(--border-strong);
  animation: borderSpin 50s linear infinite;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
}

.portrait-photo img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 108%;
  height: auto;
  transform: translateX(-50%);
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.photo-badge {
  position: absolute;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;

  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);

  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.photo-badge .icon {
  color: var(--accent);
}

.badge-location {
  top: 70px;
  left: -40px;
  animation: floatY 6s ease-in-out infinite;
}

.badge-dev {
  top: 44%;
  right: -44px;
  animation: floatY 7s ease-in-out infinite 0.8s;
}

.badge-support {
  bottom: 46px;
  left: -34px;
  animation: floatY 6.5s ease-in-out infinite 1.6s;
}

.about-text {
  min-width: 0;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text > p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.75;
}

.about-text strong {
  color: var(--text);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.highlight-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.highlight-icon .icon {
  width: 20px;
  height: 20px;
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
}

.highlight-card p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
