/* ===================================================== */
/* ================== PÁGINA SOBRE ===================== */
/* ===================================================== */

.sobre-body {
  background: #111;
  color: var(--text, #fff);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;

  /* Espaço para compensar o header fixo */
  padding-top: 90px;
}


/* Container principal que envolve todas as seções */
.sobre-wrapper {
  max-width: 1800px;
  margin: 0 auto;

  /* 🔽 ESPAÇAMENTO ENTRE SEÇÕES (REDUZIDO DE 80px PARA 60px) */
  padding: 40px 6%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}


/* ===================================================== */
/* ======================= HEADER ====================== */
/* ===================================================== */

.sobre-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 20px 6%;
  z-index: 1000;
}


/* Container dos botões da direita */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}


/* Botão base minimalista */
.icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-btn i {
  font-size: 1.5rem;
  color: #fff;
}

/* Hover com leve elevação */
.icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(168,85,247,0.6);
}


/* ================= TOOLTIP ================= */

.icon-tooltip {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);

  background: #111;
  color: #fff;

  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);

  font-size: 0.75rem;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

/* Setinha do tooltip */
.icon-tooltip::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #111 transparent;
}

/* Exibir tooltip no hover */
.icon-btn:hover .icon-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}


/* ===================================================== */
/* ================== SEÇÃO EXPERIÊNCIA ================= */
/* ===================================================== */

.experiencia-section {
  /* 🔽 REDUZIDO DE 100px PARA 60px */
  padding: 60px 8%;
  background: #050816;
}

.roxo {
  color: var(--accent);
}

.experiencia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));

  gap: 40px;
  margin-top: 40px; /* reduzido de 60px */
}


/* Card de experiência */
.experiencia-card {
  background: linear-gradient(145deg, #0c1022, #0a0f1d);
  padding: 40px;
  border-radius: 28px;

  border: 1px solid rgba(201,88,233,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);

  transition: 0.4s ease;
}

.experiencia-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201,88,233,0.4);
  box-shadow: 0 0 40px rgba(201,88,233,0.2);
}

.periodo-badge {
  display: inline-block;
  background: rgba(201,88,233,0.2);
  color: #c958e9;

  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;

  margin-bottom: 20px;
}

.empresa {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.descricao {
  text-align: justify;
}

.pontos {
  margin-top: 1.5rem; /* reduzido de 2rem */
  color: var(--muted);
}

.pontos span {
  color: var(--accent);
}


/* ===================================================== */
/* ================= FORMAÇÃO ACADÊMICA ================= */
/* ===================================================== */

.formacao-section {
  padding: 60px 8%;
}

.section-title {
  font-size: var(--h1-font-size);
  font-weight: 800;
  margin-bottom: 10px;
}

.formacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}


/* Card de formação */
.formacao-card {
  background: #0a0f1f;
  border: 1px solid rgba(201,88,233,0.15);

  padding: 40px;
  border-radius: 24px;
  text-align: left;

  transition: 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.formacao-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

/* Texto dos Cards */
.formacao-card h3 { 
  font-size: var(--h3-font-size); 
  margin: 20px 0; 
} 

.instituicao { 
  display: block; 
  color: var(--text); 
  font-weight: 600; 
  margin-bottom: 8px; 
  font-size: var(--small-font-size); 
} 

.periodo { 
  display: block; 
  color: var(--muted); 
  margin-bottom: 20px; 
} 

.formacao-card p { 
  color: #bbb; 
  line-height: 1.6; 
  font-size: var(--smaller-font-size); 
}


/* Badge de status */
.status {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;

  font-size: 0.85rem;
  font-weight: 600;
}

.andamento {
  background: rgba(0, 102, 255, 0.2);
  color: #4ea1ff;
}


/* ===================================================== */
/* ================= STACK TECNOLÓGICA ================= */
/* ===================================================== */

.tech-stack {
  /* 🔽 REDUZIDO DE 80px PARA 60px */
  padding: 60px 8%;
}

.stack-wrapper {
  margin-top: 40px; /* reduzido de 50px */
}

.stack-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.center-row {
  margin-top: 30px; /* reduzido de 40px */
}

.stack-card {
  background: #0a0f1f;
  padding: 30px;
  border-radius: 18px;

  width: 420px;
  border: 1px solid rgba(201,88,233,0.2);

  transition: 0.3s ease;
}

.stack-card:hover {
  transform: translateY(-6px);
  border-color: #c958e9;
}

.stack-card h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}

.stack-icons i {
  font-size: 42px;
  color: #fff;
  margin: 0 12px;
  transition: 0.3s ease;
}

.stack-icons i:hover {
  transform: scale(1.2);
  color: #c958e9;
}


/* ===================================================== */
/* ================== RESPONSIVIDADE =================== */
/* ===================================================== */

@media (max-width: 768px) {

  .stack-row {
    flex-direction: column;
    align-items: center;
  }

}



/* ===================================================== */
/* ================== PÁGINA CURRÍCULO ================= */
/* ===================================================== */

.curriculo-body {
  background: #111;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  padding-top: 110px; /* espaço para header fixo */
}


/* ================= HEADER ================= */

.curriculo-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 20px 6%;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(10px);

  z-index: 1000;
}

.header-center {
  text-align: center;
}

.curriculo-title {
  font-size: 1.6rem;
  font-weight: 800;
}

.curriculo-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}


/* ================= BOTÕES ================= */

.back-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.back-link:hover {
  color: var(--accent);
}

.btn-download {
  background: transparent;
  color: var(--text);

  padding: 8px 0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;

  border-bottom: 1px solid rgba(255,255,255,0.3);

  transition: 0.3s ease;
}

.btn-download:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ================= CONTEÚDO ================= */

.curriculo-wrapper {
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 6%;
}

.curriculo-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}


/* ================= CARD DO CURRÍCULO ================= */

.curriculo-card {
  width: 100%;
  background: linear-gradient(145deg, #0c1022, #0a0f1d);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(201,88,233,0.15);

  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  transition: 0.4s ease;
}

.curriculo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,88,233,0.4);
  box-shadow: 0 0 40px rgba(201,88,233,0.2);
}

.curriculo-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}


/* ===============================
   PROJECT PAGE
================================= */

.project-page {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #010003, #21012a);
  color: #ffffff;
  min-height: 100vh;
}

/* ===============================
   HEADER
================================= */

.project-page .project-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 80px;
  font-size: 14px;
}

.project-page .btn-back {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s ease;
}

.project-page .btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.project-page .breadcrumb {
  opacity: 0.6;
}

/* ===============================
   MAIN CONTAINER
================================= */

.project-page .project-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;

  max-width: 1100px; /* controla largura da página */
  margin: 0 auto;    /* centraliza */
  padding: 60px 40px;
}

/* ===============================
   LEFT SIDE
================================= */

.portfolio-title span{
  color: #9a12d0;
}

.project-page .project-left {
  flex: 1;
}

.project-page .project-left h1 {
  font-size: 48px;
  margin: 0;
}

.project-page .title-bar {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, #6f5cff, #a855f7);
  border-radius: 20px;
  margin: 15px 0 30px;
}

.project-page .project-description {
  max-width: 500px;
  line-height: 1.6;
  opacity: 0.85;
}

/* ===============================
   STATS
================================= */

.project-page .stats {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.project-page .stat-card {
  background: rgba(124, 3, 194, 0.258);
  padding: 20px;
  border-radius: 16px;
  width: 160px;
  transition: 0.3s ease;
}

.project-page .stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.project-page .stat-card h3 {
  margin: 0;
  font-size: 28px;
}

.project-page .stat-card p {
  margin: 5px 0 0;
  font-size: 14px;
  opacity: 0.7;
}

/* Badge de status */
.status {
  padding: 8px 18px;
  border-radius: 50px;

  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.desenvolvimento {
  background: rgba(0, 102, 255, 0.2);
  color: #26e404;
}

.concluido {
  background: rgba(0, 102, 255, 0.2);
  color: #047fe4;
}

/* ===============================
   BUTTONS
================================= */

.project-page .project-buttons {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.project-page .btn-primary,
.project-page .btn-secondary {
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.project-page .btn-primary {
  background: linear-gradient(90deg, #6f5cff, #a855f7);
  color: #fff;
}

.project-page .btn-primary:hover {
  opacity: 0.85;
    transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-page .btn-secondary {
  border: 1px solid #6f5cff;
  color: #fff;
}

.project-page .btn-secondary:hover {
  background: rgba(111, 92, 255, 0.1);
    transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===============================
   TECHNOLOGIES
================================= */

.project-page .technologies {
  margin-top: 30px;
}

.project-page .technologies h3 {
  margin-bottom: 10px;
}

.project-page .technologies h3 span {
  color: #9a12d0;
}

.project-page .tech-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(111, 92, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
}

/* ===============================
   RIGHT SIDE
================================= */


.image-wrapper {
  width: 100%;
  max-width: 500px;          /* controla tamanho da imagem */
  overflow: hidden;
  border-radius: 20px;
}


.image-wrapper img {
  width: 100%;
  transition: transform 0.4s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}


/* ===============================
   FEATURES SECTION
================================= */

.project-page .project-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 500px; /* controla o tamanho da coluna */
}

.project-page .features-card {
  width: 100%;
  max-width: 500px;          /* não ultrapassa a tela */
  padding: 20px;
  border-radius: 20px;
  background: rgba(124, 3, 194, 0.133);
  margin-top: 1.5rem;
  box-sizing: border-box;    /* garante que padding não quebre layout */
}

.project-page .features-card h3 {
  margin-top: 0;
}

.project-page .features-card ul {
  margin-top: 20px;
  padding-left: 20px;
  line-height: 2;
  opacity: 0.85;
}

/* ===============================
   RESPONSIVE
================================= */

/* ======== TABLET ======== */
@media (max-width: 1024px) {
  .project-page .project-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 30px;
  }

  .project-page .project-left h1 {
    font-size: 36px;
    text-align: center;
  }

  .project-page .project-description {
    max-width: 100%;
    font-size: 0.95rem;
    text-align: center;
  }

  .project-page .stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .project-page .project-buttons {
    flex-direction: column;
    gap: 16px;
  }

  /* Tecnologias centralizadas */
  .project-page .technologies {
    justify-content: center;   /* centraliza os badges */
    gap: 6px;                  /* pequeno espaço entre badges */
  }

  .project-page .technologies h3 {
    text-align: center;
  }

  .project-page .tech-badge {
    font-size: 10px;           /* tamanho menor para celular */
    padding: 4px 8px;
  }
  
  .image-wrapper {
    max-width: 80%;
  }

  .project-page .features-card {
    padding: 30px;
  }
}

/* ======== CELULAR ======== */
@media (max-width: 768px) {
  .project-page .project-left h1 {
    font-size: 28px;
  }

  .project-page .project-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .project-page .stats {
    gap: 12px;
  }

  .project-page .stat-card {
    width: 140px;
    padding: 16px;
  }

  .project-page .stat-card h3 {
    font-size: 22px;
  }

.project-page .project-buttons {
  display: flex;
  flex-direction: row; /* lado a lado */
  gap: 12px;           /* espaço entre eles */
  flex-wrap: wrap;      /* permite quebrar em telas muito pequenas */
  margin: 20px 0;
  justify-content: center;
}

.project-page .btn-primary,
.project-page .btn-secondary {
  padding: 8px 16px;   /* menor que antes */
  font-size: 0.85rem;  /* tamanho reduzido */
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;            /* espaço entre ícone e texto */
  justify-content: center;
  transition: 0.3s ease;
}

/* Hover */
.project-page .btn-primary:hover,
.project-page .btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

 .project-page .technologies {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px;
    margin-top: 12px;
  }

  .project-page .technologies h3 {
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
  }

  .project-page .tech-badge {
    font-size: 10px;
    padding: 4px 8px;
  }


  .image-wrapper {
    max-width: 100%;
  }

  .project-page .features-card {
    padding: 20px;
    font-size: 0.9rem;
  }

/* Linha vertical ao lado do título */
.project-page .project-left {
  position: relative;
}

.project-page .title-bar {
  position: absolute;
  left: -12px;       /* distância da borda do título */
  top: 0;
  width: 6px;        /* espessura da linha */
  height: 2rem;      /* cobre altura do título */
  background: linear-gradient(180deg, #6f5cff, #a855f7);
  border-radius: 20px;
  margin: 0;          /* remove margin anterior */
}

}

/* ======== CELULAR PEQUENO ======== */
@media (max-width: 420px) {
  .project-page .project-container {
    flex-direction: column;
    padding: 40px 15px;
    gap: 30px;
  }

  .project-page .project-left,
  .image-wrapper,
  .project-page .features-card {
    max-width: 100%;         /* ocupa toda a largura da tela */
  }

  .project-page .features-card {
    padding: 16px;           /* reduz padding interno */
    font-size: 0.85rem;
  }

  .image-wrapper img {
    max-width: 100%;
    height: auto;
  }
}


