html {
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff0f5;
  margin: 0;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #ffb6c1, #ff69b4);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  margin-top: 0px; /* ajuste por menu fixo */
}

header img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  margin-bottom: 1rem;
}

header a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.btn {
  display: inline-block;
  background: white;
  color: #ff69b4;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #ffc0cb;
}

/* ===== MENU FIXO ===== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9); /* retângulo completo */
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-wrap: nowrap;
}

.menu a {
  color: #ff69b4;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  margin: 0 10px;
}

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

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
  color: #ff69b4;
  margin-right: auto; /* força ficar à direita */
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .menu a {
    display: none;
    width: 100%;
    text-align: left;
    padding: 7px 0;
    border-top: 1px solid #ffb6c1;
    background: rgba(255, 255, 255, 0.95);
    margin: 0;
  }

  .menu a.show {
    display: block;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }
}

/* ===== CONTEÚDO ===== */
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 2rem;
  scroll-margin-top: 60px; /* espaço para menu fixo */
}

h3 {
  margin-bottom: 1rem;
  border-left: 6px solid #ff69b4;
  padding-left: 10px;
  color: #ff69b4;
}

ul {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  margin-bottom: 0.6rem;
  padding-left: 1rem;
  border-left: 3px solid #ff69b4;
}

/* ===== TAGS ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags li {
  background: #ff69b4;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

/* ===== COMPETÊNCIAS ===== */
.nivel {
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  color: white;
}

.basico { background: #b2dfdb; color: #004d40; }         /* Verde menta suave – nível inicial */
.intermediario { background: #81d4fa; color: #01579b; }   /* Azul claro pastel – intermediário */
.avancado { background: #ffb74d; color: #e65100; }       /* Laranja pastel – avançado */
.especialista { background: #f48fb1; color: #880e4f; }   /* Rosa forte pastel – especialista */


/* ===== CONTATO ===== */
#contato a {
  color: #ff69b4;
  font-weight: bold;
  text-decoration: none;
}

#contato a:hover {
  color: #ff85c1;
}

/* ===== RODAPÉ ===== */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  background: #ff69b4;
  color: white;
  margin-top: 2rem;
}

/* ===== BOTÃO TOPO ===== */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff69b4;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 18px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn:hover {
  background: #ff85c1;
}

/* ===== BOTÃO WHATSAPP ===== */
.whatsapp {
  position: fixed;
  top: 75px;
  right: 20px;
  background: #25D366;  /* verde tradicional WhatsApp */
  color: white;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 200;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.whatsapp:hover {
  background: #1ebe5b;
}
