:root {
  --color-light-1: #f0f3ff;
  --color-primary: #0026df;
  --color-primary-hover: #0521ab;
  --color-light-2: #eff1ff;
  --color-light-3: #dee3ff;
  --color-accent: #3254f9;
  --color-muted: #717cb2;
  --color-border: #ced6ff;
}

body {
  background-color: var(--color-light-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.btn span {
  position: relative;
  top: 2px;
}

.btn-icon {
  width: 24px;
  height: 24px;
  position: relative;
  top: 1px; /* Ajuste fino para alinhar com o texto */
}

nav a {
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.5;
}

.container-content {
  position: relative;
}

.content::before {
  content: "";
  background-image: url(../img/unio.svg);
  width: 83px;
  height: 78px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: -49px;
  margin-top: 30px;
}

.content {
  position: relative;
  z-index: 9;
}

.actions {
  position: relative;
  z-index: 1;
  top: -30px;
}

.actions::before {
  content: "";
  background-image: url(../img/arrow.svg);
  width: 98px;
  height: 26px;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -49px;
  margin-top: 16px;
}

.profile-sidebar {
  position: relative;
  z-index: 9;
}

.panel-achievement {
  position: relative;
  z-index: 99;
  top: -30px;
}

.ad {
  background-color: var(--color-border);
  height: 278px;
}

.border-d {
  border-style: dashed;
  border-color: #031674;
}

p {
  color: var(--color-muted);
  font-size: 20px;
  font-weight: 400;
}

h2 {
  color: var(--color-accent);
  font-size: 22px !important;
}

.content ul {
  font-size: 20px;
  color: var(--color-muted);
}

.btn-metric {
  background-color: #d8deff;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-metric i {
  font-size: 28px;
  color: #5a73ef;
}

.btn-count {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-muted);
}

.projeto-card {
  border-radius: 18px;
  border: 4px solid var(--color-primary);
  object-fit: cover;
  width: 100%;
  height: 100px;
}

.projeto-placeholder {
  height: 100px;
  border-radius: 12px;
  border: 2px dashed #d1d5db;
}

.top-folder {
  position: relative;
  background: url(../img/top_folder.svg);
  width: 143px;
  height: 49px;
  top: 0;
  left: 0;
  margin-top: -35px;
  margin-left: -2px;
  display: flex;
  justify-content: start;
  padding-top: 9px;
  padding-left: 18px;
  font-size: 14px;
}

.top-folder::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  display: block;
  border-bottom: dashed 2px var(--color-primary);
  bottom: 0;
  margin-bottom: 14px;
  left: 0;
}

.metric-group-profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem; /* equivalente a gap-5 */
  font-weight: 500; /* font-medium */
  margin-bottom: 0.75rem; /* mb-3 */
}

.metric-item-profile {
  display: flex;
  align-items: center;
  gap: 0.25rem; /* gap-1 */
}

.metric-item-profile span {
  font-size: 17px;
  color: var(--color-muted);
}

.metric-item-profile i {
  font-size: 28px;
  color: #5a73ef;
}

.project-card {
  border-radius: 18px;
  overflow: hidden;
  background-color: #f4f6ff;
  display: flex;
  flex-direction: column;
  max-width: 330px;
}

.project-card-tutorial {
  border-radius: 18px;
  overflow: hidden;
  background-color: #f4f6ff;
  display: flex;
  flex-direction: column;
  max-width: 450px;
}

.project-card-tutorial > .project-content {
  min-height: 201px;
}

/* Imagem */
.project-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-group {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  gap: 10px;
}
.icon-badge {
  background-color: #f0f3ff;
  color: var(--color-accent);
  border-radius: 8.5px;
  padding: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-badge i {
  font-size: 24px;
}

/* Conteúdo */
.project-content {
  position: relative;
  margin-top: -24px;
  padding: 20px;
  background-color: #f4f6ff;
  z-index: 10;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  min-height: 211px;
}
.project-title {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 4px;
  line-height: normal;
}
.project-description {
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Métricas */
.metric-group-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  margin-bottom: 20px;
  padding: 0 20px;
}
.metric-left {
  display: flex;
  gap: 16px;
}
.metric-item-card {
  display: flex;
  align-items: center;
  gap: 4px;
}
.metric-item-card i {
  font-size: 24px;
  color: #b3c0ff;
}

.metric-item-card span {
  color: #b3c0ff;
  font-size: 14px;
}

.achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

h2.title-achievement {
  color: var(--color-accent);
  max-width: 200px;
  margin: auto;
  font-size: 32px !important;
  font-weight: 800;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  background: url(../img/sticker.svg);
  background-repeat: no-repeat;
  padding-top: 4px;
}

.achievement-img {
  width: 9rem;
  height: 9rem;
}

.achievement-label {
  background-color: #a8baff;
  color: var(--color-accent);
  padding: 10px;
  width: 100%;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.achievement-sub {
  display: block;
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
}

.banner p {
  font-weight: 400 !important;
  line-height: 1.2;
}

/* Container de filtros */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* 8px */
}

/* Botão padrão */
.filter-btn {
  background-color: #b3c0ff;
  color: #3254f9;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  cursor: pointer;
  opacity: 0.7;
}

/* Ícones do botão */
.filter-btn i {
  font-size: 24px;
}

.container-form::before {
  display: none;
}

/* Placeholders do form dentro da container-content */
.container-content .container-form input::placeholder,
.container-content .container-form textarea::placeholder {
  color: #717cb2;
  opacity: 1; /* garante a cor no Safari/Firefox */
}

/* Prefixos para compatibilidade ampla */
.container-content .container-form input::-webkit-input-placeholder,
.container-content .container-form textarea::-webkit-input-placeholder {
  color: #717cb2;
}
.container-content .container-form input::-moz-placeholder,
.container-content .container-form textarea::-moz-placeholder {
  color: #717cb2;
  opacity: 1;
}
.container-content .container-form input:-ms-input-placeholder,
.container-content .container-form textarea:-ms-input-placeholder {
  color: #717cb2;
}
.container-content .container-form input::-ms-input-placeholder,
.container-content .container-form textarea::-ms-input-placeholder {
  color: #717cb2;
}

/* Grid das categorias */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

/* Item da categoria */
.category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ced6ff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.category-item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Ícones */
.category-item i {
  font-size: 20px;
  color: #3254f9;
}

/* Texto */
.category-item span {
  color: #3254f9;
  font-weight: 500;
}

/* Texto de dica */
.form-hint {
  margin-top: 8px;
  font-size: 14px;
  color: #717cb2;
}

/* ===== Coming Soon ===== */
.hero {
  min-height: clamp(520px, 75vh, 760px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

/* Título */
.title-outline {
  color: transparent;
  -webkit-text-stroke: 2px #ffffff; /* contorno branco */
  text-stroke: 2px #ffffff;
}
.title-fill {
  color: #ffffff;
}

/* Countdown */
.countdown-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 16px;
  justify-content: center;
  max-width: 520px;
  margin-inline: auto;
}
.countdown-box {
  border: 2px solid #000;
  border-radius: 12px;
  background: transparent;
  padding: 18px 18px;
}
.countdown-box .num {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1;
  color: #fff;
}
.countdown-box .label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: .95;
}

/* Frase */
.coming-subtitle {
  color: #fff;
  font-size: 20px !important;
}

/* Fitinha */
.tape {
  text-align: center;
  position: absolute;
  top: 100px;
  z-index: 9999;
  left: 50%;
  margin-left: -113px;
  top: 0;
  margin-top: -30px;
}

/* Faixa de bolinhas no rodapé */
.dots-band {
  height: 30%;
  background-color: var(--color-primary);
  /* padrão de bolinhas: */
  --dot: rgba(0,0,0,.35);
  background-image: radial-gradient(var(--dot) 2px, transparent 1.2px);
  background-size: 10px 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

