* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  background-color: #0f0f0f;
  color: #f0f0f0;
}

/* CONTAINER CENTRALIZADO */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  width: 100%;
  background-color: #111;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin-left: 20px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #eee;
  width: 0%;
  transition: width 0.3s ease;
  margin: 4px auto 0 auto;
}

nav a:hover {
  color: #fff;
}

nav a:hover::after {
  width: 100%;
}

/* SEÇÕES GERAIS */
section {
  padding: 60px 20px;
  scroll-margin-top: 120px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

section p,
section ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
}

/* APRESENTAÇÃO */
#apresentacao {
  background-color: #0f0f0f;
  text-align: center;
}

.botoes-apresentacao {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.botoes-apresentacao a {
  background-color: #00bfa6;
  padding: 12px 20px;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.botoes-apresentacao a:hover {
  background-color: #009e8a;
}

/* SOBRE */
#sobre .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

#sobre .container p {
  flex: 1 1 500px;
}

#sobre::before {
  content: "";
  flex: 1 1 300px;
  height: 200px;
  background: url('https://cdn-icons-png.flaticon.com/512/3135/3135715.png') no-repeat center;
  background-size: contain;
  display: block;
}

#sobre h2 {
  width: 100%;
  text-align: left;
}


/* SERVIÇOS */
section ul {
  list-style: none;
  padding-left: 20px;
}

section li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00bfa6;
  font-size: 1.2rem;
}

#servicos .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.texto-servicos {
  flex: 1 1 500px;
}

.imagem-servicos {
  flex: 1 1 300px;
  height: 200px;
  background: url('https://cdn-icons-png.flaticon.com/512/841/841364.png') no-repeat center;
  background-size: contain;
}

/* EXPERIÊNCIAS */
#experiencias {
  background-color: #f0f0f0;
  color: #111;
  text-align: center;
}

.grade-experiencias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  height: 200px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin-bottom: 10px;
  color: #333;
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: #fafafa;
}

/* CONTATO */
#contato {
  text-align: center;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

form button {
  background-color: #00bfa6;
  color: white;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #009e8a;
}

#contato .container {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.formulario {
  flex: 1 1 500px;
}

.imagem-contato {
  flex: 1 1 300px;
  height: 250px;
  background: url('https://cdn-icons-png.flaticon.com/512/2950/2950666.png') no-repeat center;
  background-size: contain;
}

/* Para centralizar o título dentro do bloco do formulário */
.formulario h2 {
  text-align: left;
  margin-bottom: 20px;
}


/* FOOTER */
footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

footer p {
  margin-bottom: 20px;
  font-size: 1rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.social-icons a {
  background-color: #f0f0f0;
  border-radius: 50%;
  padding: 8px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: #00bfa6;
  transform: scale(1.1);
}

/* MAIN ocupa espaço entre header e footer */
main {
  flex: 1;
}

section:nth-of-type(even) {
  background-color: #1a1a1a;
}

section:nth-of-type(odd) {
  background-color: #0f0f0f;
}