/* style.css */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #f5f5f5;
  line-height: 1.6;
  background:
    radial-gradient(circle at top right, rgba(61, 220, 151, .06), transparent 35%),
    #0d1117;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 17, 23, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.logo img {
  display: block;
  width: min(280px, 32vw);
  height: auto;
  max-height: 50px;
  max-width: 280px;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 32px;
  color: #c9d1d9;
}

.menu a {
  transition: .2s;
}

.menu a:hover {
  color: #3ddc97;
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}

.hero small {
  display: inline-block;
  margin-bottom: 18px;
  color: #3ddc97;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 780px;
}

.hero p {
  color: #aab3bd;
  font-size: 1.08rem;
  max-width: 620px;
}

.buttons {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 600;
  transition: .25s;
}

.btn-primary {
  background: #3ddc97;
  color: #0d1117;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #4ff3aa;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, .12);
}

.btn-secondary:hover {
  border-color: #3ddc97;
  color: #3ddc97;
}

.hero-proof {
  margin-top: 24px;
  color: #96a2ad;
  font-size: .95rem;
  max-width: 600px;
}

.hero-card {
  background: linear-gradient(180deg, #151b23, #0f141a);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.code-top {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot:nth-child(1) {
  background: #ff5f57;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #28c840;
}

.code {
  font-family: monospace;
  line-height: 1.9;
}

.green {
  color: #3ddc97;
}

.blue {
  color: #69b7ff;
}

.purple {
  color: #b58cff;
}


/* DIFERENCIAIS */

.diferenciais {
  padding: 30px 0 20px;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.diferencial-card,
.project-card,
.process-card,
.about-card,
.tech-card,
.links-card {
  background: #131922;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.diferencial-card {
  padding: 28px;
}

.diferencial-card h3 {
  margin-bottom: 12px;
}

.diferencial-card p {
  color: #aeb8c2;
}


/* SEÇÕES */

section {
  padding: 110px 0;
}

.section-title {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.projects-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: #3ddc97;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .82rem;
  font-weight: 600;
}


/* PROJETOS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  transition: .3s;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(61, 220, 151, .12),
      transparent 45%);
  opacity: 0;
  transition: .3s;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 220, 151, .35);
}

.project-card:hover::before {
  opacity: 1;
}

.project-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(61, 220, 151, .1);
  font-size: 2rem;
  margin-bottom: 22px;
}

.project-mini {
  display: block;
  margin-bottom: 8px;
  color: #3ddc97;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .8rem;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.project-card p,
.section-subtitle {
  color: #aeb8c2;
}


/* BOTÃO DEMONSTRAÇÃO */

.btn-demo {
  margin-top: 18px;
  background: #3ddc97;
  color: #0d1117;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.btn-demo:hover {
  background: #4ff3aa;
  transform: translateY(-2px);
}


/* MODAL SISTEMA */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .85);
  animation: fade .3s;
}

.modal-content {
  background: #131922;
  color: #f5f5f5;
  width: 90%;
  max-width: 900px;
  margin: 4% auto;
  padding: 35px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 35px;
  cursor: pointer;
  color: #ffffff;
}

.close:hover {
  color: #3ddc97;
}


/* CARROSSEL */

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.carousel img {
  width: 100%;
  max-width: 700px;
  height: 400px;
  object-fit: contain;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.carousel button {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #3ddc97;
  color: #0d1117;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
}

.carousel button:hover {
  background: #4ff3aa;
}

.contador {
  margin-top: 15px;
  color: #96a2ad;
  font-size: .95rem;
}


/* ANIMAÇÃO */

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* PROCESSO */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.process-card {
  padding: 30px;
}

.process-card strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #3ddc97;
  color: #0d1117;
  border-radius: 50%;
  margin-bottom: 18px;
}

.process-card h3 {
  margin-bottom: 12px;
}

.process-card p {
  color: #aeb8c2;
}


/* SOBRE */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 32px;
  margin-top: 40px;
}

.about-card,
.tech-card,
.links-card {
  padding: 32px;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card p {
  color: #b6c0ca;
  margin-bottom: 22px;
}

.about-card strong {
  color: #3ddc97;
}


/* TECNOLOGIAS */

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tech-list span {
  background: rgba(61, 220, 151, .08);
  border: 1px solid rgba(61, 220, 151, .18);
  color: #3ddc97;
  padding: 10px 14px;
  border-radius: 999px;
}


/* LINKS PROFISSIONAIS */

.profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin-top: 14px;
  background: #0f141a;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 16px;
  transition: .25s;
}

.profile-link:hover {
  color: #3ddc97;
  border-color: rgba(61, 220, 151, .35);
}


/* CTA */

.cta {
  text-align: center;
  background: linear-gradient(180deg, #11161d, #0d1117);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 34px;
  color: #9ca6b1;
}


/* FOOTER */

footer {
  padding: 50px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: #96a2ad;
}

.footer-links a {
  transition: .25s;
}

.footer-links a:hover {
  color: #3ddc97;
}


/* BOTÃO WHATSAPP FLUTUANTE */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
  transition: .3s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}


/* RESPONSIVO */

@media (max-width: 1150px) {

  .logo img {
    width: min(230px, 28vw);
  }

  .menu {
    gap: 18px;
    font-size: .92rem;
  }
}

@media (max-width: 900px) {

  .logo img {
    width: min(240px, 64vw);
    max-height: 46px;
  }

  .menu {
    display: none;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-grid,
  .about-grid,
  .process-grid,
  .diferenciais-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .modal-content {
    width: 95%;
    padding: 25px;
    margin-top: 15%;
  }

  .carousel {
    flex-direction: column;
  }

  .carousel img {
    height: auto;
    max-height: 250px;
  }

  .carousel button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .btn-demo {
    width: 100%;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 26px;
    right: 18px;
    bottom: 18px;
  }
}

/* PORTFÓLIO */

.portfolio {
  padding: 100px 10%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px 25px;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: #00e0ff;
  box-shadow: 0 15px 35px rgba(0, 224, 255, 0.3);
}

.portfolio-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.portfolio-card h3 {
  margin-bottom: 15px;
  color: #fff;
}

.portfolio-card p {
  color: #b8c5d0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.tools-section {
  padding: 80px 8%;
  background: #080d18;
  color: #fff;
  text-align: center;
}

.tools-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.tools-section p {
  max-width: 900px;
  margin: 0 auto 50px;
  color: #c0c0c0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  transition: .3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.card h3 {
  color: #00ffff;
  margin-bottom: 15px;
}

.card p {
  color: #ddd;
  min-height: 70px;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  background: #00ffff;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.card a:hover {
  transform: scale(1.05);
}

/* Botão hambúrguer */
.hamburger {
  display: none;
  font-size: 32px;
  color: #3ddc97;
  cursor: pointer;
  flex: 0 0 auto;
}


/* Responsivo celular */
@media (max-width: 900px) {

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 230px;

    background: #080d18;
    border: 1px solid rgba(0, 255, 255, .3);
    border-radius: 12px;

    padding: 20px;
    flex-direction: column;
    gap: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  }

  .menu.ativo {
    display: flex;
  }

  .menu a {
    padding: 10px;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 420px) {

  .nav {
    gap: 12px;
  }

  .logo img {
    width: calc(100vw - 112px);
    max-height: 40px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 13, 24, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  border-bottom: 1px solid rgba(0, 255, 255, 0.15);
  transition: 0.3s;
}
