@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&family=Roboto:wght@300;400;500&display=swap');

/* Reset básico */
* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
  scroll-behavior: smooth;
}

body, html {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 12px;            /* largura da barra */
  background-color: black; /* fundo da barra */
}

::-webkit-scrollbar-thumb {
  background-color: rgb(49, 49, 167); /* cor do "polegar" da barra */
  border-radius: 6px;     /* borda arredondada */
  border: 3px solid black; /* cria um espaçamento preto ao redor do polegar */
}

/* Para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgb(48, 48, 146) black;
}
/* Esconde tudo, exceto o banner e o footer */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Mantém o banner sempre visível */
#banner {
  opacity: 1;
  transform: none;
}

/* Classe que será aplicada ao aparecer */
section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Banner full screen */
#banner {
  width: 100vw;
  height: 100vh;
  background-image: url('img/PORTFÓLIO.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

/* Seção Sobre */
.sobre {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 80px 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-container {
  max-width: 1000px; /* Aumenta a área máxima do conteúdo */
  width: 100%;
}

.sobre-texto {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; /* texto mais grosso */
}

.sobre-texto h2 {
  font-size: 3rem;
  font-weight: 900; /* ultra bold */
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  color: white;
}

.sobre-texto p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.9rem;
  font-weight: 500; /* grosso porém mais leve que o título */
  line-height: 1.8;
  color: white;
}

/* canvas full screen no fundo */
#background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* atrás do conteúdo */
  background: linear-gradient(135deg, #000000, #000000, #3533cd);
  display: block;
}

/* Seção Projetos */
.projetos-section {
  background-color: #ffffff;
  padding: 40px 20px;
  color: #222;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.projetos-section {
  margin-top: 130px;
}

.projetos-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.projetos-container {
  display: flex;
  flex-wrap: wrap;          /* para quebrar linha se necessário */
  justify-content: center;  /* centraliza horizontalmente */
  gap: 20px;
  max-width: 1440px;        /* um pouco maior que 4 cards */
  margin: 0 auto;
}

.projeto-card {
  background: white;
  color: #222;
  width: 345px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  margin-top: 30px;
}

.projeto-card:hover {
  transform: translateY(-8px);
}

.projeto-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.projeto-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 15px 20px 10px 20px;
}

.projeto-card p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
  color: #555;
}

.projeto-card button:hover {
  background-color: #444;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-link {
  background-color: #161616;
  color: white;
  border: none;
  border-radius: 4px;
  margin: 0 20px 20px 20px;
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-link:hover {
  background-color: #555;
}

/*Apresentacoes e protótipos*/
.apresentacoes-section {
  background-color: rgb(255, 255, 255);
  padding: 40px 20px;
  color: #222;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  margin-top: 130px; /* espaçamento para separar da seção projetos */
}

/* Títulos */
.apresentacoes-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #181818;
}

/* Container dos cards */
.apresentacoes-section .projetos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Cards individuais */
.apresentacoes-section .projeto-card {
  background: white;
  color: #222;
  width: 345px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.apresentacoes-section .projeto-card:hover {
  transform: translateY(-8px);
}

.apresentacoes-section .projeto-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.apresentacoes-section .projeto-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 15px 20px 10px 20px;
}

.apresentacoes-section .projeto-card p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0 20px 20px 20px;
  line-height: 1.5;
  color: #555;
}

.apresentacoes-section .btn-link {
  background-color: rgb(32, 32, 94);;
  color: white;
  border: none;
  border-radius: 4px;
  margin: 0 20px 20px 20px;
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.apresentacoes-section .btn-link:hover {
  background-color: #555;
}

.apps .btn-link {
  background-color: rgb(0, 37, 105);;
  color: white;
  border: none;
  border-radius: 4px;
  margin: 0 20px 20px 20px;
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.apps .btn-link:hover {
  background-color: #555;
}

/* Seção Serviços */
.servicos-section {
  max-width: 1000px;
  margin: 60px auto 80px auto;
  padding: 0 20px;
  color: white;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.servicos-section h2 {
  font-size: 4.8rem;
  font-weight: 800;
  margin-bottom:50px;
  color: white;
}

/* Cada card horizontal */
.servico-card {
  background: white;
  border-radius: 8px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
  overflow: hidden;
  color: #222;
}

/* Imagem lado esquerdo */
.servico-card img {
  width: 180px;
  height: 170px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Texto lado direito */
.servico-texto {
  padding: 25px 30px;
  text-align: left;
  flex: 1;
}

.servico-texto h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.servico-texto p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: #333;
}

/* Fundo da seção (você pode personalizar conforme quiser) */
#servicos {
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
}

/* Seção Tecnologias */
.tecnologias-section {
  background-color: #ffffff;
  padding: 40px 20px;
  color: #222;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 100px;
}

.tecnologias-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.tecnologias-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.tecnologia-card {
  background: white;
  color: #222;
  width: 180px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition: transform 0.3s ease;
  cursor: default;
}

.tecnologia-card:hover {
  transform: translateY(-8px);
}

.tecnologia-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.tecnologia-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
  color: #222;
}

/* Seção Redes */
.redes-section {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 70px;
}

.redes-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}

.redes-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* --- Redes Sociais (Desktop) --- */
.redes-section {
  max-width: 700px;     /* deixa menor no desktop */
  margin: 0 auto 70px;  /* centraliza */
  border-radius: 5px;
  padding: 40px 20px;
}

/* ícones mais compactos no desktop */
.redes-icons {
  gap: 25px;
}

/* --- FULL WIDTH no Mobile --- */
@media (max-width: 768px) {
  .redes-section {
    max-width: 100% !important;   /* ocupa a tela toda */
    width: 100%;
    border-radius: 0;             /* opcional – deixa “colado” nas bordas */
    padding: 40px 10px;
  }

  .redes-icons {
    gap: 20px;
  }

  .icon-container {
    width: 65px;
    height: 65px;
    font-size: 38px;
  }
}

.icon-container {
  width: 70px;
  height: 70px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
  font-size: 42px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.icon-container:hover {
  background-color: #3533cd;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Seção Footer */

footer {
  background-color: #222;
  color: #ddd;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.4);
  user-select: none;
}

footer b {
  color:  rgb(91, 91, 218);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-icons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 1px;
}
.footer-icons a {
  font-size: 15px;
  color: #ddd;
  margin: 0 12px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-icons a:hover {
  color: #3533cd;
}

.footer-icons i {
  margin-right: 9px;
}

.footer-motivacional {
  font-style: italic;
  color: #666;
  margin: 10px 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
}

/*Seta*/
.scroll-down {
  position: absolute;
  bottom: 600px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: white;
  animation: bounce 1.5s infinite;
  cursor: pointer;
  display: none; /* começa invisível em telas grandes */
}

/* Efeito de subir e descer */
@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .servico-card {
    flex-direction: column;
    text-align: center;
  }
  .servico-card img {
    width: 100%;
    height: 180px;
    border-radius: 8px 8px 0 0;
  }
  .servico-texto {
    padding: 20px;
  }

  #banner{
    background-image: url('img/portfolio-responsivo.png');
  }
  
}

/* Responsividade */
@media (max-width: 768px) {
  .scroll-down {
    display: block;
    bottom: 800px; /* ajusta só nessa resolução */
  }
  .sobre-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  #banner{
    background-image: url('img/portfolio-responsivo\ \ 414\ x896.png');
  }
   .scroll-down {
    display: block;
    bottom: 700px;
  }
}


/* 425px ou menos */
@media (max-width: 425px) {
  .scroll-down {
    bottom: 680px; /* ajusta só nessa resolução */
  }
}

/* 375px ou menos */
@media (max-width: 375px) {
  .scroll-down {
    bottom: 550px; /* ajusta só nessa resolução */
  }

.sobre-texto {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; /* texto mais grosso */
}

.sobre-texto h2 {
  font-size: 2rem;
  font-weight: 900; /* ultra bold */
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  color: white;
}

.sobre-texto p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 500; /* grosso porém mais leve que o título */
  line-height: 1.8;
  color: white;
}

.servico-card {
  background: white;
  border-radius: 8px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
  overflow: hidden;
  color: #222;
}

.servicos-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom:50px;
  color: white;
}
  footer {
    padding: 25px 15px;
    font-size: 0.9rem;
  }

  #banner{
    background-image: url('img/portfolio-responsivo.png');
  }
  .footer-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-motivacional {
    font-size: 1rem;
    margin: 5px 0 15px;
    max-width: 280px;
    text-align: center;
    margin-left: 30px;
  }

  .footer-icons {
    margin-top: 0;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .footer-icons a {
    font-size: 18px;
    margin: 0;
    justify-content: center;
    width: auto;
    padding-left: 0;
  }

  .footer-icons i {
    margin-right: 8px;
    font-size: 22px;
  }

}

/* 320px ou menos */
@media (max-width: 320px) {
  .scroll-down {
    bottom: 600px; /* ajusta só nessa resolução */
  }

  .footer-motivacional {
    font-size: 1rem;
    margin: 5px 0 15px;
    max-width: 280px;
    text-align: center;
    margin-left: 30px;
  }
}