* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0f172a;
  color: #f8fafc;
}

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #ec4899, transparent 35%),
    radial-gradient(circle at bottom right, #2563eb, transparent 35%),
    #0f172a;
}

.navbar {
  width: 90%;
  max-width: 1150px;
  margin: auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #f9a8d4;
  font-size: 28px;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  color: #f9a8d4;
}

.hero-content {
  width: 90%;
  max-width: 1150px;
  min-height: 80vh;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 30px;
  color: #f9a8d4;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 55px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 strong {
  color: #f9a8d4;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  color: #dbeafe;
  margin-bottom: 30px;
}

.botoes {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

.principal {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
}

.secundario {
  border: 1px solid #f9a8d4;
  color: #f9a8d4;
}

.foto-area {
  position: relative;
  display: flex;
  justify-content: center;
}

.foto-area img {
  width: 340px;
  height: 430px;
  object-fit: cover;
  border-radius: 35px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 70px rgba(236, 72, 153, 0.35);
  position: relative;
  z-index: 2;
}

.glow {
  position: absolute;
  width: 340px;
  height: 430px;
  background: linear-gradient(135deg, #ec4899, #2563eb);
  border-radius: 35px;
  transform: rotate(8deg);
  z-index: 1;
}

.secao {
  width: 90%;
  max-width: 1150px;
  margin: 60px auto;
  padding: 45px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.secao h2 {
  font-size: 36px;
  color: #f9a8d4;
  margin-bottom: 20px;
}

.secao p {
  color: #e0e7ff;
  font-size: 17px;
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 25px;
  text-align: center;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(37, 99, 235, 0.25));
  border-radius: 18px;
  font-size: 20px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.projeto {
  padding: 25px;
  border-radius: 20px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.3s;
}

.projeto:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.25);
}

.projeto h3 {
  color: #f9a8d4;
  margin-bottom: 12px;
}

.projeto a {
  display: inline-block;
  margin-top: 15px;
  color: #93c5fd;
  font-weight: bold;
  text-decoration: none;
}

.contatos {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contatos a {
  background: linear-gradient(135deg, #ec4899, #2563eb);
  color: white;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 25px;
  background: #020617;
  color: #cbd5e1;
}

@media (max-width: 850px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .navbar ul {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .foto-area img,
  .glow {
    width: 280px;
    height: 360px;
  }

  .cards,
  .projetos-grid {
    grid-template-columns: 1fr;
  }

  .secao {
    padding: 30px;
  }
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.25);
}

.card img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.card span {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: white;
}

@media (max-width: 850px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
/* ========================= */
/* ANIMAÇÕES */
/* ========================= */

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.secao,
.hero-text,
.foto-area {
  animation: aparecer 1s ease;
}

/* ========================= */
/* EFEITO GLASS */
/* ========================= */

.secao {
  backdrop-filter: blur(15px);
  transition: 0.4s;
}

.secao:hover {
  transform: translateY(-5px);
}

/* ========================= */
/* EFEITO NOS BOTÕES */
/* ========================= */

.btn,
.contatos a,
.projeto a {
  transition: 0.3s;
}

.btn:hover,
.contatos a:hover,
.projeto a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.5);
}

/* ========================= */
/* EFEITO NOS PROJETOS */
/* ========================= */

.projeto {
  position: relative;
  overflow: hidden;
}

.projeto::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(236, 72, 153, 0.12),
    transparent
  );

  top: -120%;
  left: -120%;
  transform: rotate(25deg);
  transition: 0.8s;
}

.projeto:hover::before {
  top: 100%;
  left: 100%;
}

/* ========================= */
/* FOTO COM MOVIMENTO */
/* ========================= */

@keyframes flutuar {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.foto-area img {
  animation: flutuar 4s ease-in-out infinite;
}

/* ========================= */
/* BRILHO NO FUNDO */
/* ========================= */

body::before {
  content: "";

  position: fixed;

  width: 600px;
  height: 600px;

  background: rgba(236, 72, 153, 0.12);

  border-radius: 50%;

  top: -200px;
  left: -200px;

  filter: blur(120px);

  z-index: -1;
}

body::after {
  content: "";

  position: fixed;

  width: 600px;
  height: 600px;

  background: rgba(37, 99, 235, 0.12);

  border-radius: 50%;

  bottom: -250px;
  right: -200px;

  filter: blur(120px);

  z-index: -1;
}

/* ========================= */
/* EFEITO DIGITAÇÃO */
/* ========================= */

.hero h1 {
  overflow: hidden;
  border-right: 3px solid #f9a8d4;
  white-space: nowrap;

  animation:
    typing 4s steps(40, end),
    blink 0.8s infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* ========================= */
/* EFEITO SCROLL */
/* ========================= */

html {
  scroll-behavior: smooth;
}
/* ========================= */
/* RESPONSIVIDADE MOBILE */
/* ========================= */

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .navbar a {
    font-size: 14px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 36px;
    white-space: normal;
    border-right: none;
    animation: aparecer 1s ease;
  }

  .hero p {
    font-size: 16px;
    margin: 0 auto 25px;
  }

  .botoes {
    justify-content: center;
  }

  .foto-area {
    margin-top: 25px;
  }

  .foto-area img,
  .glow {
    width: 260px;
    height: 340px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .projetos-grid {
    grid-template-columns: 1fr;
  }

  .secao {
    width: 92%;
    padding: 28px;
    margin: 35px auto;
  }

  .secao h2 {
    font-size: 28px;
    text-align: center;
  }

  .secao p {
    font-size: 16px;
    text-align: center;
  }

  .contatos {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .logo {
    font-size: 24px;
  }

  .navbar ul {
    flex-direction: column;
  }

  .tag {
    font-size: 13px;
    padding: 8px 14px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .foto-area img,
  .glow {
    width: 220px;
    height: 300px;
    border-radius: 28px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  .card img {
    width: 55px;
    height: 55px;
  }

  .projeto {
    padding: 22px;
  }

  .contatos a {
    width: 100%;
    text-align: center;
  }

  footer {
    font-size: 14px;
    padding: 18px;
  }
}
/* FORMULÁRIO DE CONTATO */

.form-contato {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 16px;
  outline: none;
}

.form-contato input::placeholder,
.form-contato textarea::placeholder {
  color: #cbd5e1;
}

.form-contato textarea {
  resize: vertical;
  min-height: 150px;
}

.form-contato button {
  padding: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #ec4899, #2563eb);
  transition: 0.3s;
}

.form-contato button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(236,72,153,0.4);
}

.form-contato button:active {
  transform: scale(0.98);
}