html {
  scroll-behavior: smooth; /* Faz a página deslizar suavemente ao clicar no menu! */
}

body {
  background-color: #0f172a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f8fafc;
  margin: 0;
  padding: 0;
}

/* MENU FIXO NO TOPO */
.menu-navegacao {
  background-color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 2px solid #38bdf8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #38bdf8;
}

.links-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.links-menu a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.3s;
}

.links-menu a:hover {
  background-color: #38bdf8;
  color: #0f172a;
}

/* CONTEÚDO DA HOME */
.conteudo-principal {
  text-align: center;
  padding: 100px 20px;
}

.conteudo-principal h1 {
  color: #38bdf8;
  font-size: 36px;
}

.conteudo-principal p {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 30px;
}

.botao-destaque {
  display: inline-block;
  background-color: #38bdf8;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.botao-destaque:hover {
  background-color: #f0abfc;
}

/* CARTÃO SOBRE MIM */
.cartao-perfil {
  background-color: #1e293b;
  border-radius: 20px;
  padding: 30px;
  border: 2px solid #38bdf8;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
}

.foto-perfil {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #38bdf8;
  margin-bottom: 15px;
}

.lista-habilidades {
  list-style: none;
  padding: 0;
  text-align: left;
}

.lista-habilidades li {
  background-color: #0f172a;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  border-left: 3px solid #38bdf8;
}

/* FLEXBOX DOS SERVIÇOS */
.container-flex {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cartao {
  background-color: #1e293b;
  border-radius: 16px;
  padding: 25px;
  border: 2px solid #38bdf8;
  width: 280px;
  text-align: center;
}

.cartao h2 {
  color: #38bdf8;
}

.botao {
  background-color: #38bdf8;
  color: #0f172a;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

.botao:hover {
  background-color: #f0abfc;
}

/* FORMULÁRIO DE CONTATO */
.formulario-contato {
  background-color: #1e293b;
  border: 2px solid #38bdf8;
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contato label {
  color: #38bdf8;
  font-weight: bold;
}

.formulario-contato input,
.formulario-contato textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background-color: #0f172a;
  color: #f8fafc;
  font-family: inherit;
  box-sizing: border-box;
}

.formulario-contato input:focus,
.formulario-contato textarea:focus {
  outline: none;
  border-color: #f0abfc;
}

/* ESTILO DO CAMPO SELECT (ORÇAMENTO) */
.formulario-contato select.campo-select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background-color: #0f172a;
  color: #f8fafc;
  font-family: inherit;
  box-sizing: border-box;
}

.formulario-contato select.campo-select:focus {
  outline: none;
  border-color: #f0abfc;
}

.rodape {
    background-color: #0d1117;
    color: #8b949e;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
    border-top: 1px solid #161b22;
    font-size: 0.95rem;
}

.rodape strong {
    color: #38bdf8; /* Cor azul de destaque do seu site */
}


/* ==========================================
   Ajustes Responsivos para Telas Menores
========================================== */
/* Screen and (max-width: 768px) {

    /* Evita vazamentos para as laterais */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Transforma o menu em lista vertical no celular */
    nav ul, .menu-navegacao {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px;
    }

    /* Reduz tamanhos de títulos grandes */
    h1 {
        font-size: 1.6rem !important;
        text-align: center;
    }

    /* Deixa os cartões e caixas responsivos */
    .cartao, .container, .cartao-perfil {
        width: 90% !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 15px !important;
        box-sizing: border-box;
    }

    /* Ajusta botões para ocuparem quase toda a largura */
    .botao-destaque, button, .btn {
        width: 100% !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* Reduz levemente a foto de perfil para não estourar */
    .foto-perfil {
        width: 120px !important;
        height: 120px !important;
    }
}