* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0d0f14;
  color: #eaeaea;
}

.label {
  font-family: "Asap", sans-serif;
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-align: center;
}

.label-red {
 color: #E3646E;
}

.label-purple {
  color: #BB72E9;
}


/* HERO */
.hero {
  min-height: 100vh;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background-image: url("../img/bg-header.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.profile {
  position: relative;
  width: 110px;
  margin: 0 auto;
}

.profile img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid #E3646E;
}

.code-tag {
  position: absolute;
  right: -10px;
  bottom: 5px;
  background: #1f2937;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 12px;
}

.hello {
  font-family: "Inconsolata", monospace;
  font-size: 1.25rem;
  letter-spacing: 0.05rem;
}

.hello span {
  color: #E3646E;
}

h1 {
  font-family: "Asap", sans-serif;
  font-size: 3.5rem;
}

.subtitle {
  font-family: "Maven Pro", sans-serif;
  max-width: 600px;
  font-size: 0.875rem;
  margin: 0 auto;
  color: #aaa;
}

.techs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.techs span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1f2937;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.scroll {
  margin-top: 5.875rem;
  font-size: 24px;
  opacity: 0.6;
  animation: bounce 1.5s infinite;
  cursor: pointer;
}

@keyframes bounce {
  50% { transform: translateY(10px); }
}

/* PROJETOS */
.projects {
  padding: 4.5rem 1.25rem;
}

.projects h2 {
  font-family: "Asap", sans-serif;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #141824;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-family: "Asap", sans-serif;
  padding: 15px 15px 5px;
  font-size: 1rem;
}

.card p {
  font-family: "Maven Pro", sans-serif;
  padding: 0 15px 15px;
  color: #878EA1;
  font-size: 0.875rem;
}

/* SERVIÇOS */
.services {
  padding: 80px 20px;
  background: #0b0d12;
}

.services h2 {
  font-family: "Asap", sans-serif;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.service-card {
  background: #141824;
  padding: 30px;
  border-radius: 14px;
}

.service-card h3 {
  font-family: "Asap", sans-serif;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.service-card p {
  font-family: "Maven Pro", sans-serif;
  font-size: 0.875rem;
  color: #878EA1;
}

/* CONTATO */
.contact {
  padding: 15rem 1.25rem;
  text-align: center;
  background-image: url("../img/bg-contacts.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100vh;
}

.contact h2 {
  font-family: "Asap", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact p {
  font-family: "Asap", sans-serif;
  color: #aaa;
  margin-bottom: 30px;
}

.links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.links a {
  font-family: "Maven Pro", sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;

  background: #1a1f2e; 
  padding: 16px 20px;
  border-radius: 12px;

  color: #eaeaea;
  text-decoration: none;

  width: 100%;
  max-width: 400px; 
}

.links a img {
  width: 28px;
  height: 28px;
  flex-shrink: 0; 
}

.links a img:last-child {
  margin-left: auto;
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.links a:hover {
  background: #1f2937;
}