* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: clamp(12px, 4vw, 25px);
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  min-height: 100vh;
}

img, svg {
  max-width: 100%;
  height: auto;
}

main, header {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  header, main {
    text-align: center;
  }
}

/* Botão estilizado substituindo o antigo SVG */
.btn-primary {
    display: inline-block;
    background-color: #2563EB;
    color: #FFFFFF;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: #1D4ED8;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Alinhamento da lista de tecnologias */
.tech-badges ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

/* Classe utilitária para manter títulos acessíveis a leitores de tela */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}