/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #020b17;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== MAIN ===== */
main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 60px) max(16px, 4vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(40px, 5vw, 60px) 0;
  border-bottom: 1px solid #0a284d;
  flex-wrap: wrap;
  width: 100%;
}

.hero .foto {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid #38b6ff;
  box-shadow: 0 0 20px rgba(56, 182, 255, 0.5);
  transition: 0.3s;
  object-fit: cover;
  object-position: center;
}

.hero .foto:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(56, 182, 255, 0.6);
}

.hero .texto {
  max-width: 600px;
}

.hero .texto h1 {
  color: #38b6ff;
  font-size: 2rem;
}

.hero .texto h2 {
  font-weight: 400;
  color: #bcd3e6;
}

.hero .texto p {
  margin-top: 15px;
  line-height: 1.6;
}

/* ===== SEÇÕES ===== */
.experiencia,
.projetos,
.contato {
  width: 100%;
  max-width: 1000px;
  margin-top: clamp(40px, 6vw, 80px);
  text-align: left;
  padding-inline: max(8px, 2vw);
}

.experiencia h2,
.projetos h2,
.contato h2 {
  color: #38b6ff;
  font-size: clamp(1.5rem, 1.3rem + 1vw, 1.8rem);
  margin-bottom: clamp(24px, 4vw, 40px);
  border-left: 4px solid #38b6ff;
  padding-left: 12px;
  width: fit-content;
}

/* ===== JOBS, PROJETOS, CONTATO ===== */
.jobs,
.cards,
.contatos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}

/* ===== CARD PADRÃO ===== */
.job,
.card,
.contato-card {
  background: #041f3a;
  border: 1px solid #0a2b4f;
  border-radius: clamp(8px, 1vw, 10px);
  padding: clamp(20px, 2.5vw, 30px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  line-height: 1.6;
}

.job:hover,
.card:hover,
.contato-card:hover {
  transform: translateY(-4px);
  border-color: #38b6ff;
  box-shadow: 0 0 20px rgba(56, 182, 255, 0.3);
}

.job h3,
.card h3,
.contato-card h3 {
  color: #38b6ff;
  font-weight: 700;
  margin-bottom: 10px;
}

.job p,
.card p,
.contato-card p {
  color: #bcd3e6;
  margin-bottom: 10px;
}

/* ===== LINKS ===== */
.card a,
.contato-card a {
  color: #38b6ff;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.card a:hover,
.contato-card a:hover {
  color: #67c8ff;
  text-shadow: 0 0 6px rgba(56, 182, 255, 0.6);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  main {
    padding: 40px 16px;
  }

  .jobs,
  .cards,
  .contatos {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 40px 0;
  }

  .hero .foto {
    width: 180px;
    height: 180px;
  }

  .hero .texto {
    max-width: 90%;
  }

  .hero .texto h1 {
    font-size: calc(1.5rem + 1vw);
  }

  .hero .texto p {
    font-size: clamp(0.9rem, 0.85rem + 0.5vw, 1rem);
    line-height: 1.5;
  }

  .experiencia,
  .projetos,
  .contato {
    text-align: center;
    margin-top: 60px;
  }

  .experiencia h2,
  .projetos h2,
  .contato h2 {
    border-left: none;
    border-bottom: 3px solid #38b6ff;
    display: inline-block;
    padding-left: 0;
    padding-bottom: 5px;
    font-size: calc(1.4rem + 0.5vw);
  }
}

@media (max-width: 600px) {
  main {
    padding: 32px 12px;
  }

  .hero {
    padding: 32px 0;
  }

  .hero .foto {
    width: 140px;
    height: 140px;
  }

  .jobs,
  .cards,
  .contatos {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .job,
  .card,
  .contato-card {
    padding: 20px;
  }

  .experiencia,
  .projetos,
  .contato {
    margin-top: 40px;
  }

  .experiencia h2,
  .projetos h2,
  .contato h2 {
    margin-bottom: 24px;
  }
}


