body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Garante que as seções apareçam normalmente */
section {
  position: relative;
  z-index: 1;
  min-height: auto;
}


/* Navegação */
nav {
  position: static !important;
  width: 100%;
  background-color: #000;
  border-bottom: 2px solid #3498db;
  padding: 15px 30px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #aaa;
}

/* Banner */
.banner {
  height: 70vh;
  background: linear-gradient(to right, #000, #3498db, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  text-align: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 1rem;
}

.overlay p {
  font-size: 1rem;
  margin: 1rem 0;
  color: #ccc;
}

/* Seções */
.sobre, .skills, section {
  padding: 3rem 2rem;
  text-align: center;
}

/* Foto de perfil */
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-top: 1rem;
  object-fit: cover;
  border: 2px solid #fff;
}

/* Skills */
.skills-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-card {
  background-color: #111;
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: 2px solid #3498db;
  transition: transform 0.3s;
}

.skill-card:hover {
  transform: scale(1.1);
  background-color: #222;
}

/* Formulário */
form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea, button {
  padding: 1rem;
  border-radius: 0.5rem;
  border: none;
  font-family: inherit;
}

button {
  background-color: #3498db; /* azul */
  color: #000;               /* texto preto */
  font-weight: bold;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  transition: all 0.3s;
}

button:hover {
  background-color: #3498db; /* mantém azul ou use #2980b9 para escurecer */
  color: #fff;               /* texto fica branco ao passar o mouse */
}

/* Animação */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Links padrão */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #3498db;
}

/* Botão minimalista */
.btn {
  background-color: #3498db; /* azul */
  color: #000;               /* texto preto */
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: none; /* se quiser sem borda */
}

.btn:hover {
  background-color: #3498db; /* mantém azul, pode escurecer se quiser */
  color: #fff;               /* texto branco ao passar o mouse */
}


/* Container centralizador do botão */
.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

/* Rodapé */
.footer {
  background: rgba(0, 0, 0, 0.7); /* preto com 70% de opacidade */
  padding: 20px;
  text-align: center;
  color: #fff;
}

/* Menu de Acessibilidade */
.acessibilidade-container {
  position: fixed;
  top: 100px;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.acessibilidade-toggle {
  background-color: #000;
  color: white;
  border: none;
  padding: 10px 5px; /* Menos largura */
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.4s ease;
  writing-mode: vertical-rl;  /* Faz o texto ficar deitado na vertical */
  text-orientation: mixed;
}

.acessibilidade-toggle.rotacionado {
  transform: rotate(90deg);
}

.acessibilidade-menu {
  display: none;
  flex-direction: column;
  background-color: #000;
  border-radius: 8px 0 0 8px;
  padding: 10px;
  margin-top: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.font-btn {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.font-btn:hover {
  background-color: #3498db;
}

body.alto-contraste {
  background-color: #000 !important;
  color: #FFD700 !important;
}

body.alto-contraste header,
body.alto-contraste .content-section,
body.alto-contraste .gallery-item,
body.alto-contraste .recipe-item,
body.alto-contraste .produto,
body.alto-contraste .footer,
body.alto-contraste .weather-button,
body.alto-contraste .botao-link,
body.alto-contraste .ampliar-btn,
body.alto-contraste .btn-receitas,
body.alto-contraste .btn-galeria {
  background-color: #000 !important;
  color: #FFD700 !important;
  border: 1px solid #FFD700;
}

body.alto-contraste a {
  color: #FFD700 !important;
}

body.alto-contraste img {
  filter: brightness(0.8) contrast(1.5);
}

body.alto-contraste .intro {
  background: #000 !important;
  color: #FFD700 !important;
}

body {
  background-color: #000;
  color: #fff;
}

.projeto-card {
  background-color: #111;
  border: 1px solid #333;
  padding: 1.5rem;
  margin: 2rem auto;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.projeto-card h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.projeto-card p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.btn {
  background-color: #0af;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #08c;
  color: #fff;
}

.projetos-estudantis h2 {
  color: #3498db; /* Azul */
  text-align: center;
  margin-top: 2rem;
}

.projetos-profissionais h2 {
  color: #3498db; /* Azul */
  text-align: center;
  margin-top: 3rem;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-buttons a img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s, filter 0.3s;
}

.social-buttons a img:hover {
  transform: scale(1.2);
  filter: brightness(1.3);
}

.depoimento {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 2rem;
  background-color: #111;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.depoimento-midia video,
.depoimento-midia img {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid #3498db;
}

.depoimento-texto {
  max-width: 400px;
  text-align: left;
}

.depoimento-msg {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.depoimento-nome {
  color: #3498db;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.depoimento-agradecimento {
  font-size: 1rem;
  color: #0af;
  margin-top: 0.5rem;
  font-weight: 600;
}

.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

.filosofia {
  text-align: center;
  margin: 50px 0;
}

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

.filosofia-card {
  background: #111;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 250px;
  flex: 1 1 200px;
  transition: transform 0.3s ease;
}

.filosofia-card:hover {
  transform: translateY(-5px);
}

.filosofia-card h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.filosofia-card p {
  font-size: 0.95em;
  line-height: 1.4;
}

.overlay {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.6); /* Camada preta */
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.btn {
  background: #0066cc;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0055aa;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* === POP-UP PROMOCIONAL === */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup.ativo {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background-color: #000;
  border: 2px solid #3498db;
  color: #fff;
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeInUp 0.6s ease;
}

.popup-content h2 {
  font-size: 1.8rem;
  color: #3498db;
  margin-bottom: 1rem;
}

.popup-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.popup-btn {
  background-color: #3498db;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
}

.popup-btn:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* --- TÍTULOS --- */
.resultados-dev h2,
.como-trabalho-dev h2,
.stack-dev h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

/* --- ANIMAÇÃO DE ENTRADA SUAVE --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: subir .8s ease forwards;
}

@keyframes subir {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SEÇÕES ESCURAS --- */
.resultados-dev,
.como-trabalho-dev,
.stack-dev {
  background: #000; /* Preto forte */
  color: #fff;      /* Texto branco */
  padding: 50px 20px;
  margin-top: 40px;
  border-radius: 12px;
}

/* --- TÍTULOS DAS SEÇÕES --- */
.resultados-dev h2,
.como-trabalho-dev h2,
.stack-dev h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
  color: #fff;
}

/* --- GRID PADRÃO --- */
.resultados-grid,
.trabalho-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* --- CARDS PADRÃO COM FITA AZUL --- */
.resultado-card,
.trabalho-card,
.stack-card-dev {
  background: #0a0a0a; /* Preto mais suave dentro do card */
  color: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  border-left: 5px solid #3498db; /* Fitinha azul */
  transition: .3s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

/* --- HOVER COM LEVE AUMENTO --- */
.resultado-card:hover,
.trabalho-card:hover,
.stack-card-dev:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 16px rgba(52, 152, 219, 0.35); /* Sombra azul */
}

/* --- TEXTO DO RESULTADO --- */
.resultado-card h3 {
  font-size: 40px;
  margin-bottom: 8px;
  color: #fff;
}

/* --- LISTA DA STACK --- */
.stack-card-dev ul {
  margin-top: 15px;
  line-height: 1.6;
}

#text-dinamico {
  transition: opacity 0.6s ease;
}

.sobre-container {
  max-width: 850px;     /* largura ideal para leitura */
  margin: 0 auto;       /* centraliza */
  padding: 0 20px;      /* espaço lateral para mobile */
  text-align: center;   /* centraliza título e imagem */
}

.sobre-container p {
  text-align: justify;       /* deixa o texto bonito */
  line-height: 1.7;          /* espaçamento agradável */
  margin-bottom: 18px;       /* espaço entre parágrafos */
  font-size: 1.1rem;         /* tamanho ótimo para desktop */
}

.portfolio-intro {
  max-width: 850px;
  margin: 0 auto;
  padding: 80px 20px 0; /* AUMENTAR O ESPAÇO SUPERIOR */
  text-align: center;
}

section {
  padding-top: 60px;
}

.projeto-card a.btn {
  margin-top: 1.2rem;  /* Espaço entre texto e botão */
  display: inline-block;
}

.projeto-card {
  padding: 2rem;       /* aumenta o espaço interno */
  margin: 2.5rem auto; /* distância entre os cards */
}

.projeto-card p {
  margin-bottom: 1.2rem;
}
