/* =========================================================
   RESET E BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Times New Roman', serif;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 70%);
  color: #aaac9f;
  line-height: 1.6;
}

p {
  font-size: 18px;
  color: #aaac9f;
}

h1, h2 {
  text-align: center;
  margin-top: 40px;
  letter-spacing: 3px;
}

hr {
  border: none;
  height: 1px;
  background: #222;
  margin: 40px 0;
}

/* =========================================================
   TOPO
========================================================= */
.topo {
  background: linear-gradient(to bottom, #111, #000);
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.topo h1 {
  font-size: 42px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.topo p {
  margin-top: 10px;
}

/* =========================================================
   MENU
========================================================= */
.menu {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px 0;
  background-color: #000;
  border-bottom: 1px solid #222;
}

.menu a {
  color: #aaac9f;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 2px;
  position: relative;
  transition: 0.3s;
}

.menu a::after {
  content: "↘";
  position: absolute;
  right: -22px;
  opacity: 0;
  transition: 0.3s;
}

.menu a:hover {
  color: #b30000;
}

.menu a:hover::after {
  opacity: 1;
}

/* =========================================================
   PERFIL
========================================================= */
.perfil {
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}

.perfil img {
  border-radius: 4px;
  border: 1px solid #333;
}

.descricao-icaro {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* =========================================================
   IFRAME / VÍDEOS
========================================================= */
iframe {
  width: 100%;
  margin-top: 60px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.video-container {
  padding: 20px;
  text-align: center;
}

.video-container video {
  max-width: 100%;
  border: 1px solid #333;
  border-radius: 4px;
}

.lista-formacao {
  max-width: 1000px;
  margin: 20px;
  padding: 10px;
}

/* =========================================================
   FORMULÁRIOS
========================================================= */
form {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(to bottom, #0f0f0f, #000);
  border: 1px solid #222;
  border-radius: 8px;
}

form label {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 25px;
  background-color: #000;
  border: 1px solid #333;
  color: #aaac9f;
  font-size: 16px;
}

form input::placeholder,
form textarea::placeholder {
  color: #777;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #b30000;
}

form textarea {
  resize: vertical;
}

form input[type="submit"] {
  padding: 14px;
  background-color: transparent;
  border: 1px solid #b30000;
  color: #aaac9f;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s;
}

form input[type="submit"]:hover {
  background-color: #b30000;
}

/* =========================================================
   LISTAS / PROJETOS
========================================================= */
.projetos-inicial {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.descricao-projetos {
  max-width: 1300px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lista-projetos {
  max-width: 1300px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

/* =========================================================
   LISTA DE MENSAGENS
========================================================= */
ul {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
}

.lista-mensagem {
  background: linear-gradient(to bottom, #0f0f0f, #000);
  border: 1px solid #222;
  border-left: 4px solid #b30000;
  padding: 25px 30px;
  margin-bottom: 25px;
  border-radius: 6px;
  font-size: 17px;
  line-height: 1.7;
  transition: 0.3s ease;
}

.lista-mensagem:hover {
  border-left-color: #ff1a1a;
  transform: translateY(-2px);
}

.lista-mensagem strong {
  display: inline-block;
  min-width: 120px;
  color: #e5e5e5;
  letter-spacing: 1px;
}

.lista-mensagem .data-hora {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: #777;
  letter-spacing: 1px;
  text-align: right;
}

/* =========================================================
   CONTATO
========================================================= */
.contato {
  max-width: 700px;
  margin: 100px auto;
  padding: 60px 40px;
  background: linear-gradient(to bottom, #0a0a0a, #000);
  border: 1px solid #222;
  text-align: center;
}

.contato h1 {
  font-size: 32px;
  letter-spacing: 6px;
  margin-bottom: 25px;
}

.contato-desc {
  font-size: 16px;
  color: #777;
  margin-bottom: 50px;
}

.contato-lista {
  list-style: none;
}

.contato-lista li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  font-size: 18px;
}

.contato-lista .icone {
  font-size: 20px;
  color: #b30000;
  width: 30px;
}

.contato-lista a {
  color: #aaac9f;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.contato-lista a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: #b30000;
  transition: 0.3s;
}

.contato-lista a:hover {
  color: #fff;
}

.contato-lista a:hover::after {
  width: 100%;
}

/* =========================================================
   TABELA DE PROJETOS
========================================================= */

.tabela-projetos {
  width: 100%;
  max-width: 1000px;
  margin: 60px auto;
  border-collapse: collapse;
  background: linear-gradient(to bottom, #0f0f0f, #000);
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
}

.tabela-projetos th {
  padding: 18px;
  background-color: #0a0a0a;
  color: #aaac9f;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #222;
}

.tabela-projetos td {
  padding: 20px;
  font-size: 18px;
  color: #aaac9f;
  border-top: 1px solid #222;
  text-align: center;
  border-top: none;
}

.tabela-projetos tr:hover td {
  background-color: #111;
}

/* Destaque sutil nos números */
.tabela-projetos td:nth-child(2) {
  color: #b30000;
  font-weight: bold;
}


/* =========================================================
   RODAPÉ
========================================================= */
.desenvolvedor,
.direitos {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

table {
  margin: 40px auto;
  width: 100%;
  max-width: 1000px;
  margin: 60px auto;
  border-collapse: collapse;
}

.voltar {
  text-align: center;
  margin: 30px 0;
}

.voltar a {
  color: #aaac9f;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 2px;
}

.voltar a:hover {
  text-decoration: underline;
}



/* =========================================================
   RESPONSIVO
========================================================= */
@media (max-width: 768px) {

  p {
    font-size: 16px;
  }

  .topo h1 {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .menu {
    flex-direction: column;
    gap: 15px;
  }

  .menu a::after {
    display: none;
  }

  .perfil {
    flex-direction: column;
    text-align: center;
  }

  iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    margin-top: 60px;
  }


  form {
    margin: 40px 15px;
    padding: 25px;
  }

  ul {
    margin: 40px 15px;
  }

  .lista-mensagem {
    padding: 20px;
  }

  .lista-mensagem strong {
    min-width: auto;
    display: block;
    margin-top: 10px;
  }

  .lista-mensagem .data-hora {
    text-align: left;
  }

  .desenvolvedor,
  .direitos {
    font-size: 12px;
  }
}
