:root {
  --bg: #181927;
  --panel: #1f2031;
  --inner: #3a3b56;
  --text: #ffffff;
  --muted: #d2d6e9;
  --blue: #14a8ff;
  --blue-hover: #0693e3;
  --border: rgba(255, 255, 255, 0.06);
  --container: 580px;
  --radius-panel: 4px;
  --radius-card: 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(80, 90, 160, 0.08), transparent 28%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
button {
  font: inherit;
}

.page {
  width: min(100% - 18px, var(--container));
  margin: 20px auto 60px;
}

.hero-panel,
.section-panel {
  background: var(--panel);
  border-radius: var(--radius-panel);
  margin-bottom: 8px;
}

.hero-cover {
  height: 128px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
    url("img/ativacao - imagem 01.jpg") center/cover no-repeat;
  margin: 16px 16px 0;
}

.hero-body {
  text-align: center;
  padding: 0 18px 18px;
}

.hero-avatar {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #c5d4e3;
  margin: -62px auto 14px;
  background: #111;
}

.hero-body h1 {
  margin: 0;
  color: var(--blue);
  font-size: 1.06rem;
  font-weight: 700;
}

.hero-subtitle {
  margin: 6px auto 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.hero-social a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

.section-panel {
  padding: 14px 16px 16px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.section-subtitle {
  margin: -3px 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.info-card,
.text-box,
.project-card,
.contact-box {
  background: var(--inner);
  border-radius: var(--radius-card);
}

.info-card {
  padding: 11px 12px;
}

.info-card + .info-card {
  margin-top: 14px;
}

.year {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.info-card p,
.text-box p,
.project-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.6;
}

.text-box {
  padding: 12px;
}

.text-box p + p {
  margin-top: 3px;
}

.project-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 12px;
}

.project-card + .project-card {
  margin-top: 14px;
}

.project-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-media-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media-mobile img {
  width: auto;
  max-width: 100%;
  max-height: 155px;
}

.project-content h3 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
}

.project-url {
  display: inline-block;
  margin-top: 8px;
  color: #dce4ff;
  font-size: 0.66rem;
  line-height: 1.5;
  word-break: break-word;
  text-decoration: underline;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 30px;
  padding: 0 16px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.contact-box {
  padding: 12px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  border: 1px solid rgba(221, 228, 255, 0.5);
  background: transparent;
  color: #fff;
  outline: none;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 0.72rem;
}

.contact-box input::placeholder,
.contact-box textarea::placeholder {
  color: #d2d8f1;
}

.contact-box input + input,
.contact-box input + textarea,
.contact-box textarea + button {
  margin-top: 12px;
}

.brand-badge {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.64rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.brand-badge strong {
  font-weight: 700;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 12px, var(--container));
    margin-top: 8px;
  }

  .hero-cover {
    height: 94px;
    margin: 10px 10px 0;
  }

  .hero-avatar {
    width: 96px;
    height: 96px;
    margin-top: -48px;
  }

  .hero-body h1 {
    font-size: 0.98rem;
  }

  .hero-subtitle {
    font-size: 0.66rem;
  }

  .section-panel {
    padding: 12px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-media-mobile img {
    max-height: none;
    width: 100%;
  }

  .brand-badge {
    font-size: 0.58rem;
    padding: 8px 10px;
    right: 8px;
    bottom: 8px;
  }
}
