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

:root {
  --primary-color: #2563eb; /* azul moderno */
  --primary-hover: #1e40af;
  --bg-dark: #000;
}


/* 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(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  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: #3498db;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #2980b9;
  transform: translateY(-3px);
}

/* 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;
}

.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: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  margin-top: 2rem;
}

.social-disabled {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  opacity: 0.5;
  filter: grayscale(100%);
  cursor: not-allowed;
}

.social-disabled img {
  width: 50px;
  height: 50px;
}

@media (max-width: 600px) {
  .social-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.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;
}

.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;
}

/* === 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;
}

/* --- 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;
}

.resultado-card,
.trabalho-card,
.filosofia-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resultado-card:hover,
.trabalho-card:hover,
.filosofia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.skill-card {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.5s ease;
}

.skill-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skills-progress {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-progress span {
  font-weight: 600;
}

.barra {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.progresso {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  transition: width 1.2s ease;
}

/* ==========================
   SKILLS EM ANDAMENTO - MINIMAL
========================== */

.skills-levels {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid #e5e7eb;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.skill-level.show {
  opacity: 1;
  transform: translateY(0);
}

.skill-level span {
  font-weight: 600;
}

.skill-level .nivel {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ==========================
   PROJETOS | HUB DE DIRECIONAMENTO
========================== */

.projects-hub {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* INTRO */
.hub-intro {
  text-align: center;
  margin-bottom: 60px;
}

.hub-intro h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hub-intro p {
  color: #6b7280;
  font-size: 1.05rem;
}

/* ESCOLHA */
.hub-choice {
  text-align: center;
}

.hub-choice h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.hub-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CARD */
.hub-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 32px;
  max-width: 420px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s ease;
  position: relative;
}

.hub-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.hub-card p {
  color: #6b7280;
  margin-bottom: 18px;
}

.hub-card span {
  font-weight: 600;
  color: #111;
}

/* HOVER */
.hub-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* DESTAQUE */
.hub-card.destaque {
  border: 2px solid #111;
}

.hub-card.destaque::after {
  content: "Recomendado";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  padding: 6px 10px;
  background: #111;
  color: #fff;
  border-radius: 999px;
}

/* FOOTER TEXTO */
.hub-footer {
  text-align: center;
  margin-top: 60px;
  color: #6b7280;
  font-size: 0.95rem;
}

/* ==========================
   INTERESSE | SOLUÇÕES POR RAMO
========================== */

.interest-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* INTRO */
.interest-intro {
  text-align: center;
  margin-bottom: 50px;
}

.interest-intro h1 {
  font-size: 2.2rem;
}

.interest-intro p {
  color: #6b7280;
  margin-top: 10px;
}

/* FORM */
.interest-form {
  text-align: center;
  margin-bottom: 50px;
}

.interest-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.interest-form select {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  min-width: 260px;
}

/* PROJECTS */
.interest-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* CARD */
.interest-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: 0.3s;
}

.interest-card h3 {
  margin-bottom: 8px;
}

.interest-card p {
  color: #6b7280;
}

.interest-card small {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* HOVER */
.interest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* CTA */
.interest-cta {
  text-align: center;
  margin-top: 80px;
}

.interest-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.interest-cta p {
  color: #6b7280;
  margin-bottom: 20px;
}

/* =========================
   PORTFOLIO PAGE - DARK
========================= */

:root {
  --primary-color: #2563eb;
  --primary-hover: #1e40af;
}

/* FUNDO GLOBAL */
body {
  background-color: #000;
  color: #e5e5e5;
}

/* PORTFOLIO */
.portfolio-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 20px;
}

/* INTRO */
.portfolio-intro {
  text-align: center;
  margin-bottom: 100px;
}

.portfolio-intro h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.portfolio-intro p {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 720px;
  margin: 0 auto;
}

/* SECTIONS */
.portfolio-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 110px;
}

.portfolio-section h2 {
  grid-column: 1 / -1;
  font-size: 1.9rem;
  margin-bottom: 40px;
  color: #fff;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid #fff;
}

/* CARD */
.portfolio-card {
  background: #fff;
  color: #000;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(255,255,255,0.08);
  transition: all 0.35s ease;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(255,255,255,0.15);
}

.portfolio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #000;
}

.portfolio-card p {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 14px;
}

.portfolio-card small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 6px;
}

/* BOTÕES PADRÃO */
.portfolio-card a {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 18px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-card a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* EM BREVE */
.portfolio-card.em-breve a {
  background-color: transparent;
  border: 2px dashed #666;
  color: #666;
  cursor: default;
}

.portfolio-card.em-breve a:hover {
  background-color: transparent;
  transform: none;
}

/* ANIMAÇÃO */
.fade-in {
  animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 35px 20px;
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

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

/* RESPONSIVO */
@media (max-width: 768px) {
  .portfolio-intro h1 {
    font-size: 2.2rem;
  }

  .portfolio-section {
    gap: 22px;
  }
}

/* GRID */
.interest-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

/* CARD */
.interest-card {
  background: #fff;
  color: #000;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(255,255,255,0.08);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ESCONDIDO */
.interest-card.hidden {
  display: none;
}

/* VISÍVEL */
.interest-card.visible {
  display: flex;
}

.contato-hero {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}

.contato-hero h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #fff;
}

.contato-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 30px;
}

.contato-acoes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-destaque {
  background: #0d6efd;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.btn-destaque:hover {
  background: #0b5ed7;
}

.btn-secundario {
  background: transparent;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-secundario:hover {
  background: rgba(13,110,253,0.1);
}

.contato-observacao {
  font-size: 0.9rem;
  opacity: 0.7;
}

.servicos-cards {
  padding: 80px 20px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.servico-card {
  background: #1e1e1e;
  color: #fff;
  padding: 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.servico-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.servico-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  flex-grow: 1;
}

.servico-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-primary {
  background: #3498db;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: #2c80b4;
}

.btn-secondary {
  border: 1px solid #3498db;
  color: #3498db;
  padding: 9px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(52,152,219,0.1);
}

/* ================================
   RESULTADOS / FEEDBACKS
================================ */

.resultados-intro {
  max-width: 900px;
  margin: 80px auto 60px;
  text-align: center;
}

.resultados-intro h1 {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.resultados-intro p {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.6;
}

/* GRID */
.depoimentos-grid {
  max-width: 1200px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

/* CARD */
.depoimento-card {
  background: #141414;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* IMAGENS */
.depoimento-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* VÍDEOS */
.depoimento-card video {
  width: 100%;
  border-radius: 12px;
}

/* TEXTO */
.depoimento-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.depoimento-card p.texto {
  font-style: italic;
}

/* NOME */
.depoimento-card h4 {
  margin-top: auto;
  font-size: 0.95rem;
  color: #3498db;
  font-weight: 600;
}

/* ================================
   CTA FINAL
================================ */

.resultados-cta {
  background: linear-gradient(135deg, #0d0d0d, #111);
  padding: 80px 20px;
  text-align: center;
}

.resultados-cta h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.resultados-cta p {
  color: #bbb;
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: 1.05rem;
}

/* CTA BOTÕES */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #3498db;
  color: #fff;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #2c80b4;
  transform: scale(1.05);
}

.btn-secondary {
  border: 2px solid #3498db;
  color: #3498db;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

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

/* ================================
   RESPONSIVO
================================ */

@media (max-width: 600px) {
  .resultados-intro h1 {
    font-size: 2rem;
  }

  .resultados-cta h2 {
    font-size: 1.8rem;
  }
}

/* ================================
   HERO / HOME
================================ */

.hero {
  position: relative;
  height: 100vh;
  background: url("imgs/banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.9)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.hero-content h1 span {
  display: block;
  font-size: 1.3rem;
  font-weight: 400;
  color: #bbb;
  margin-top: 10px;
}

.hero-content p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 25px auto 40px;
  max-width: 700px;
}

/* BOTÕES */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #3498db;
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.3s ease;
}

.btn-primary:hover {
  background: #2c80b4;
  transform: scale(1.05);
}

.btn-secondary {
  border: 2px solid #3498db;
  color: #3498db;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

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

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-content h1 span {
    font-size: 1.1rem;
  }
}

/* Estilo Moderno do Pop-up */
.popup-content {
  background: #1a1a1a;
  border: 2px solid #3498db;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  text-align: center;
  max-width: 450px;
  width: 90%;
}

.popup-content h2 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.popup-content p {
  color: #bbb;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Inputs Estilizados */
.popup-content input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #252525;
  color: #fff;
  font-size: 1rem;
  transition: border 0.3s;
}

.popup-content input:focus {
  border-color: #3498db;
  outline: none;
}

/* Botões chamativos */
.popup-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #3498db;
  color: #3498db;
}

.popup-actions {
  display: flex; 
  flex-direction: column; 
  gap: 12px;
}

.hidden {
  display: none;
}

/* ============================
   POR QUE ME ESCOLHER
============================ */

.porque-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 20px;
}

/* HERO */
.porque-hero {
  text-align: center;
  margin-bottom: 90px;
}

.porque-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: #fff;
}

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

/* SEÇÕES */
.porque-section {
  margin-bottom: 100px;
}

.porque-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 45px;
}

/* GRID */
.porque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

/* CARD */
.porque-card {
  background: #111;
  border-left: 4px solid #3498db;
  padding: 26px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.porque-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(52,152,219,0.25);
}

.porque-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.porque-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SEÇÃO ESCURA */
.porque-section.dark {
  background: #000;
  padding: 60px 30px;
  border-radius: 18px;
}

/* TEXTO CENTRAL */
.porque-texto {
  max-width: 700px;
  margin: 0 auto 35px;
  text-align: center;
  color: #bbb;
  line-height: 1.6;
}

/* LINKS */
.porque-link {
  text-align: center;
  margin-top: 45px;
}

/* CTA */
.porque-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FINAL */
.porque-final {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0d0d0d, #111);
  border-radius: 22px;
}

.porque-final h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.porque-final p {
  color: #bbb;
  max-width: 700px;
  margin: 0 auto 35px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .porque-hero h1 {
    font-size: 2.2rem;
  }

  .porque-section h2 {
    font-size: 1.7rem;
  }
}

/* ============================
   ANIMAÇÕES SUAVES
============================ */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   SOBRE – MAIS QUADRADO, SEM FUNDO
============================ */

.sobre {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

/* TEXTO MAIS ORGANIZADO */
.sobre p {
  max-width: 800px;
  margin: 0 auto 18px;
  line-height: 1.7;
  text-align: justify;
}

/* RESPIRO ENTRE ELEMENTOS */
.sobre h2 {
  margin-bottom: 35px;
}

.sobre .profile-pic {
  margin-bottom: 35px;
}

/* ============================
   PADRÃO GLOBAL DE CARDS
============================ */

/* Base para TODOS os cards */
.filosofia-card,
.resultado-card,
.trabalho-card,
.skill-card,
.skill-level {
  background: transparent;
  border: 1px solid #222;
  border-radius: 8px;

  padding: 22px 20px;
  text-align: center;

  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover padrão */
.filosofia-card:hover,
.resultado-card:hover,
.trabalho-card:hover,
.skill-card:hover,
.skill-level:hover {
  transform: translateY(-4px);
  border-color: #3b82f6; /* azul padrão */
}

/* TÍTULOS DOS CARDS */
.filosofia-card h3,
.trabalho-card h3,
.resultado-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* TEXTOS */
.filosofia-card p,
.trabalho-card p,
.resultado-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
}

/* RESULTADOS – NÚMEROS */
.resultado-card .numero {
  font-size: 2.2rem;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 5px;
}

/* SKILLS */
.skill-card {
  font-size: 0.95rem;
  font-weight: 500;
}

/* SKILLS EM ANDAMENTO */
.skill-level {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-level .nivel {
  font-size: 0.8rem;
  color: #aaa;
}

/* ============================
   CONTATO – FOCO EM CONVERSÃO
============================ */

.contato-hero {
  max-width: 800px;
  margin: 90px auto;
  text-align: center;
}

.contato-hero p {
  max-width: 650px;
  margin: 20px auto;
  line-height: 1.6;
}

.contato-acoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 35px 0;
}

.contato-observacao {
  font-size: 0.9rem;
  color: #aaa;
}

/* FLUXO */
.contato-fluxo {
  max-width: 900px;
  margin: 90px auto;
  text-align: center;
}

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

.fluxo-card {
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
}

.fluxo-card strong {
  font-size: 1.4rem;
  color: #3b82f6;
}

/* CONTATOS */
.social-buttons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.social-buttons span {
  font-size: 0.8rem;
  color: #aaa;
}

/* FINAL */
.contato-final {
  max-width: 800px;
  margin: 100px auto;
  text-align: center;
}

.contato-final p {
  max-width: 650px;
  margin: 15px auto 30px;
}

.skills-subtitle {
  max-width: 700px;
  margin: 0.5rem auto 2rem;
  text-align: center;

  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaa;

  opacity: 0.9;
}

/* Alto contraste */
body.alto-contraste .skills-subtitle {
  color: #fff;
}

.curriculo {
  text-align: center;
  padding: 4rem 1rem;
}

.curriculo-texto {
  max-width: 700px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

.btn-curriculo {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #3498db, #000000);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-curriculo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.sobre-subtitulo {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #3498db;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #000000;
  padding: 25px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  background: #25d366;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.fechar {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

.cursos-tecnicos,
.desenvolvimento-profissional {
  padding: 80px 5%;
  text-align: center;
}

.cursos-tecnicos h2,
.desenvolvimento-profissional h2 {
  margin-bottom: 10px;
}

.cursos-tecnicos .skills-container,
.desenvolvimento-profissional .skills-container {
  margin-top: 30px;
}

/* ===== BOTÕES + DESCRIÇÃO NA INTRO ===== */

.portfolio-toggle-wrapper {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-toggle-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center; /* CENTRALIZA HORIZONTALMENTE */
  align-items: center;
  width: 100%;
}

/* Área das descrições */
.portfolio-toggle-descriptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

/* Cada card de descrição */
.toggle-desc {
  background: #111;
  border: 1px solid #222;
  padding: 15px;
  border-radius: 12px;
}

.toggle-desc h4 {
  margin-bottom: 8px;
  color: #10c8ff;
}

.toggle-desc p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== CORREÇÃO DOS BOTÕES SOBREPOSTOS ===== */

.portfolio-intro {
  padding-bottom: 40px; /* dá respiro abaixo do texto */
}

.portfolio-intro .btn-secondary {
  display: inline-block;
  margin-top: 20px; /* empurra o botão para baixo */
}

/* Garante que os botões nunca fiquem por trás de nada */
.portfolio-intro,
.portfolio-intro * {
  position: relative;
  z-index: 2;
}

/* Espaçamento geral entre seções para não “colar” tudo */
.portfolio-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 110px;
}

/* FAZ O TÍTULO E A DESCRIÇÃO FICAREM EM CIMA DOS CARDS */
.portfolio-section h2,
.portfolio-intro-text {
  grid-column: 1 / -1;
}

.portfolio-intro-text {
  text-align: center;          
  font-size: 1.1rem;           
  color: #ffffff;   /* ← AGORA É BRANCO */
  margin: 1rem auto 2rem auto; /* centraliza no meio */
  max-width: 750px;            /* evita texto muito largo */
}

.skill-card.destaque {
  border: 2px solid #3b82f6;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.1);
}