body {
  background: #000;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

/* HERO ESTILO FIAP */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.9;
  font-weight: 900;
  overflow-wrap: break-word;
}

.subtitle {
  margin-top: 20px;
  font-size: 1.2rem;
  max-width: 400px;
  color: #aaa;
}


/* SOBRE */
.sobre {
  display: flex;
  justify-content: flex-end; /* 👈 joga pro lado direito */
  padding: 120px 10%;
}

.sobre .content {
  max-width: 600px;

  /* espelho visual */
  border-right: 2px solid #2563eb;
  padding-right: 20px;
  text-align: right;
}

/* título */
.sobre h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* texto */
.sobre p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 15px;
}

@media (max-width: 768px) {

  .sobre {
    padding: 80px 6%;
  }

  .sobre .content {
    border-right: none;
    padding-right: 0;
    text-align: left; /* 👈 volta ao normal no mobile */
  }

}

.skills {
  padding: 120px 10%;
}

.skills h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* PERFIL PROFISSIONAL */
.profissional {
  display: flex;
  justify-content: flex-start;
  padding: 120px 10%;
}

.profissional .content {
  max-width: 600px;
}

/* título */
.profissional h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* textos */
.profissional p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* detalhe visual sutil */
.profissional .content {
  border-left: 2px solid #2563eb;
  padding-left: 20px;
}

@media (max-width: 768px) {

  .profissional {
    padding: 80px 6%;
  }

  .profissional h2 {
    font-size: 2rem;
  }

  .profissional .content {
    border-left: none;
    padding-left: 0;
  }

}

/* pills modernas */
.grid span {
  padding: 10px 18px;
  border-radius: 999px;
  background: #0a0a0a;
  border: 1px solid #222;
  color: #ccc;
  font-size: 0.9rem;
  transition: 0.3s;
}

/* hover */
.grid span:hover {
  border-color: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

/* TECH SCROLL */
.tech {
  position: relative;
  overflow: hidden;
  background: #000000;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* efeito fade nas laterais (nível FIAP) */
.tech::before,
.tech::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tech::before {
  left: 0;
  background: linear-gradient(to right, #111, transparent);
}

.tech::after {
  right: 0;
  background: linear-gradient(to left, #111, transparent);
}

/* container */
.marquee {
  width: 100%;
  overflow: hidden;
}

/* faixa animada */
.track {
  display: flex;
  gap: 100px;
  width: max-content;
  animation: scroll 50s linear infinite;
}

/* linha invertida */
.marquee.reverse .track {
  animation-direction: reverse;
}

/* ícones */
.track img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.6;
  transition: all 0.3s ease;
}

/* hover (fica lindo) */
.track img:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* animação infinita REAL */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* FILOSOFIA */

.filosofia {
  padding: 120px 10%;
}

.filosofia h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center; /* 👈 centraliza */
}

.filosofia-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.filosofia-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  transition: 0.3s;
}

.filosofia-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
}

.filosofia-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.filosofia-card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* RESULTADOS */

.resultados-dev {
  padding: 120px 10%;
  text-align: center;
}

.resultados-dev h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.resultado-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  transition: 0.3s;
}

.resultado-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
}

.numero {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2563eb;
}

.resultado-card p {
  margin-top: 10px;
  color: #aaa;
}

/* SERVIÇOS */

.servicos-cards {
  padding: 120px 10%;
  text-align: center; /* 👈 centraliza título */
}

.servicos-cards h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.servicos-cards .subtitle {
  color: #aaa;
  margin-bottom: 50px;
}

.servicos-cards {
  padding: 120px 10%;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.servico-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s;
}

.servico-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
}

.servico-card h3 {
  margin-bottom: 10px;
}

.servico-card p {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.servico-actions {
  margin-top: auto;
}

/* BOTÕES */
.btn-primary {
  display: inline-block;
  padding: 10px 16px;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: #1e40af;
}

/* CONTATO */

.contato-cta {
  padding: 120px 10%;
  text-align: center;
}

.contato-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contato-cta p {
  color: #aaa;
  margin-bottom: 30px;
}

.btn-destaque {
  background: #2563eb;
  padding: 14px 25px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.btn-destaque:hover {
  background: #1e40af;
  transform: translateY(-3px);
}

/* PROJETOS */
.projetos {
  padding: 120px 10%;
  text-align: center; /* 👈 centraliza tudo */
}

.projetos h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* GRID CENTRALIZADO */
.cards {
  margin: 0 auto;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  align-items: center; /* 👈 força centralização */
  gap: 20px;
}

.card {
  width: 100%;
  max-width: 400px; /* 👈 deixa os cards elegantes no centro */
}

/* CARD */
.card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 25px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: all 0.3s ease;
}

/* hover */
.card:hover {
  transform: translateY(-8px);
  border-color: #2563eb;
}

/* título */
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* descrição */
.card p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* BOTÕES */
.buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* botão padrão */
.buttons a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
}

/* botão principal */
.buttons a:first-child {
  background: #2563eb;
  color: #fff;
}

.buttons a:first-child:hover {
  background: #1e40af;
}

/* botão secundário */
.buttons a:last-child {
  border: 1px solid #333;
  color: #ccc;
}

.buttons a:last-child:hover {
  border-color: #2563eb;
  color: #fff;
}

.footer {
  padding: 120px 10%;
  text-align: center;
}

.footer h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.footer .subtitle {
  color: #aaa;
  margin-bottom: 40px;
}

/* GRID SOCIAL */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* LINKS */
.social a {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #222;
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

/* HOVER */
.social a:hover {
  border-color: #2563eb;
  color: #fff;
  transform: translateY(-3px);
}

/* BOTÃO PRINCIPAL (PORTFÓLIO) */
.social a.main {
  background: #2563eb;
  color: white;
  border: none;
}

.social a.main:hover {
  background: #1e40af;
}

/* COPYRIGHT */
.copy {
  margin-top: 40px;
  font-size: 0.8rem;
  color: #555;
}

/* DEPOIMENTOS */

.depoimentos {
  padding: 120px 10%;
  text-align: center;
}

.depoimentos h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.depoimentos .subtitle {
  color: #aaa;
  margin-bottom: 50px;
}

/* GRID */
.depoimentos-grid {
  margin: 0 auto;
  max-width: 900px;

  display: flex;
  flex-direction: column;
  align-items: center; /* 👈 centraliza */
  gap: 20px;
}

/* CARD */
.depoimento-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
  width: 100%;
  max-width: 400px; /* 👈 igual aos projetos */
}

.depoimento-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
}

/* MIDIA */
.depoimento-card img,
.depoimento-card video {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* TEXTO */
.depoimento-card .texto {
  font-style: italic;
  color: #ccc;
}

/* FUNDO ESCURO */
.modal {
  display: none; /* controlado pelo JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);

  justify-content: center;
  align-items: center;

  z-index: 999;
}

/* CAIXA DO MODAL */
.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.5);

  animation: fadeInUp 0.3s ease;
  position: relative;
}

/* BOTÃO FECHAR */
.fechar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* TÍTULO */
.modal-content h2 {
  margin-bottom: 20px;
  color: #fff;
}

/* INPUTS */
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;

  border: none;
  border-radius: 8px;

  background: #1a1a1a;
  color: #fff;
}

/* TEXTAREA */
.modal-content textarea {
  resize: none;
  height: 100px;
}

/* BOTÃO ENVIAR */
.modal-content button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;

  background: #00ff88;
  color: #000;
  font-weight: bold;
  cursor: pointer;

  transition: 0.3s;
}

.modal-content button:hover {
  background: #00cc6a;
}

/* ANIMAÇÃO */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}