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

body {
  background-color: #2a0e12;
  color: #f8f8f8;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.cabecalho-site {
  background: #3c0e17;
  padding: 10px 0;
  border-bottom: 1px solid #7a2a38;
}

.nav-principal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.marca-nav {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f0d1d6;
  text-decoration: none;
  padding: 10px 0;
}

.links-nav a {
  text-decoration: none;
  color: #ffb6c1;
  margin-left: 20px;
  padding: 10px 5px;
  font-weight: 300;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.links-nav a:hover,
.links-nav a.ativo {
  color: #ffffff;
  border-bottom-color: #ff5f7e;
}

section.hero {
  background: linear-gradient(90deg, #3c0e17, #551f29);
  padding: 80px 0;
}

.conteudo-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.conteudo-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #f0d1d6;
}

.conteudo-hero h2 {
  font-size: 1.5rem;
  margin-top: -10px;
  color: #ffb6c1;
}

.conteudo-hero p {
  max-width: 500px;
  margin: 20px 0;
  color: #e6e6e6;
}

.redes-sociais a {
  text-decoration: none;
  color: #fff;
  background: #a52a3a;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 30px;
  transition: 0.3s;
}

.redes-sociais a:hover {
  background: #ff5072;
}

.conteudo-hero .foto img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff5f7e;
  box-shadow: 0 0 20px rgba(255, 90, 110, 0.4);
}

.secao {
  padding: 80px 10%;
}

.secao h2 {
  font-size: 2.2rem;
  color: #ff9db3;
  margin-bottom: 25px;
}

.sobre p {
  max-width: 800px;
  color: #f5f5f5;
}

.grade-habilidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.habilidade {
  background: #3c0e17;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #7a2a38;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.habilidade:hover {
  background: #a52a3a;
}

/* --- Projetos (Minimalista & Premium) --- */
.projetos-hero {
  text-align: center;
  padding: 60px 5%;
  margin-bottom: 40px;
}

.projetos-hero h2 {
  font-size: 2.8rem;
  color: #ff9db3;
  margin-bottom: 15px;
}

.projetos-hero p {
  color: #bfbfbf;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.grade-projetos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.cartao-projeto {
  background: #3c0e17;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #7a2a38;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.cartao-projeto:hover {
  transform: translateY(-5px);
}

.cartao-projeto img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.cartao-projeto h3 {
  margin: 15px;
  color: #ff9db3;
}

.cartao-projeto p {
  margin: 0 15px 10px;
  color: #e6e6e6;
  flex-grow: 1;
}

.cartao-projeto a {
  display: inline-block;
  margin: 10px 15px 20px;
  color: #fff;
  background: #a52a3a;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
  align-self: flex-start;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.cartao-projeto a::after {
  content: ' ↗';
  font-weight: bold;
}

.cartao-projeto a:hover {
  background: #ff5f7e;
}

.cartao-projeto a::after {
  content: '↗';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cartao-projeto a:hover {
  color: #fff;
}

.cartao-projeto a:hover::after {
  transform: translateX(4px) translateY(-4px);
}



/* --- Seção de Certificados --- */
.grade-certificados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.cartao-certificado {
  background: rgba(42, 14, 18, 0.4);
  border: 1px solid rgba(122, 42, 56, 0.2);
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.cartao-certificado::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 95, 126, 0.05) 0%, transparent 60%);
  transition: 0.5s;
  opacity: 0;
}

.cartao-certificado:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 95, 126, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: rgba(42, 14, 18, 0.7);
}

.cartao-certificado:hover::before {
  opacity: 1;
}

.icone-certificado {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(255, 95, 126, 0.05);
  border-radius: 50%;
  margin: 0 auto 20px auto;
  border: 1px solid rgba(255, 95, 126, 0.1);
  filter: drop-shadow(0 0 8px rgba(255, 157, 179, 0.3));
  transition: all 0.3s ease;
}

.cartao-certificado:hover .icone-certificado {
  background: rgba(255, 95, 126, 0.15);
  transform: scale(1.05);
}

.cartao-certificado h3 {
  color: #f0d1d6;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.cartao-certificado p {
  color: #b3b3b3;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.cartao-certificado span {
  display: inline-block;
  background: rgba(255, 95, 126, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #ffb6c1;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 auto 15px auto;
  border: 1px solid rgba(255, 95, 126, 0.2);
  letter-spacing: 0.5px;
}

.cta-certificado {
  margin-top: auto;
  font-size: 0.85rem;
  color: #ff5f7e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.cartao-certificado:hover .cta-certificado {
  opacity: 1;
  color: #fff;
  transform: translateY(-2px);
}

.etapas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.etapa {
  background: #3c0e17;
  border: 1px solid #7a2a38;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.etapa span {
  display: block;
  font-size: 1.5rem;
  color: #ff9db3;
  margin-bottom: 8px;
}

.links-contato a {
  text-decoration: none;
  color: #fff;
  background: #a52a3a;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 30px;
  display: inline-block;
  transition: 0.3s;
}

.links-contato a:hover {
  background: #ff5072;
}

.formulario-contato {
  max-width: 600px;
  margin: 50px auto 0;
  background: #3c0e17;
  border: 1px solid #7a2a38;
  padding: 30px;
  border-radius: 12px;
}

.formulario-contato h3 {
  color: #ff9db3;
  margin-bottom: 20px;
  text-align: center;
}

.grupo-formulario {
  margin-bottom: 15px;
}

.grupo-formulario label {
  display: block;
  margin-bottom: 5px;
  color: #f0d1d6;
}

.grupo-formulario input,
.grupo-formulario textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #7a2a38;
  background: #2a0e12;
  color: #f8f8f8;
  font-family: 'Poppins', sans-serif;
}

.grupo-formulario input:focus,
.grupo-formulario textarea:focus {
  outline: none;
  border-color: #ff5f7e;
  box-shadow: 0 0 10px rgba(255, 95, 126, 0.3);
}

.btn-enviar {
  width: 100%;
  padding: 12px;
  background: #a52a3a;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

.btn-enviar:hover {
  background: #ff5072;
}

footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #7a2a38;
  color: #ccc;
  background: #20090b;
}

/* --- Página Sobre --- */
.sobre-hero {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 60px 0;
  flex-wrap: wrap;
}

.sobre-hero .texto {
  flex: 1;
  min-width: 300px;
}

.sobre-hero h2 {
  font-size: 2.8rem;
  color: #ff9db3;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sobre-destaque {
  background: rgba(165, 42, 58, 0.2);
  border-left: 4px solid #ff5f7e;
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 10px 10px 0;
}

.sobre-destaque p {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

.sobre-hero p {
  color: #e6e6e6;
  font-size: 1.05rem;
  line-height: 1.8;
}

.sobre-hero .foto img {
  width: 350px;
  height: 450px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 20px 20px 0px #3c0e17;
  border: 1px solid #7a2a38;
}

/* Timeline */
.timeline {
  margin-top: 40px;
  position: relative;
  max-width: 800px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #7a2a38;
}

.item-timeline {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.item-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5f7e;
  border: 4px solid #2a0e12;
}

.item-timeline .data {
  color: #ffb6c1;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}

.item-timeline h4 {
  font-size: 1.4rem;
  color: #f0d1d6;
  margin-bottom: 10px;
}

.item-timeline p {
  color: #e6e6e6;
}

@media (max-width: 768px) {
  .conteudo-hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .conteudo-hero .foto img {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
  }

  .conteudo-hero h1 {
    font-size: 2.5rem;
  }

  .conteudo-hero h2 {
    font-size: 1.2rem;
  }

  .redes-sociais a {
    padding: 8px 15px;
  }

  .secao {
    padding: 60px 5%;
  }

  .nav-principal {
    align-items: center;
    gap: 10px;
  }

  .links-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
  }

  .links-nav a {
    margin-left: 10px;
  }

  .sobre-hero .foto img {
    width: 300px;
    height: 400px;
    box-shadow: 10px 10px 0px #3c0e17;
    margin-top: 30px;
  }
}