* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --preto: #050505;
  --preto-2: #0d0d0d;
  --cinza: #151515;
  --cinza-2: #222;
  --branco: #ffffff;
  --texto: #e8e8e8;
  --texto-fraco: #9f9f9f;
  --borda: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 25%),
    linear-gradient(180deg, #050505, #111);
  color: var(--texto);
  overflow-x: hidden;
}

.header {
  width: 100%;
  padding: 22px 8%;
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borda);
}

.logo {
  color: var(--branco);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.menu {
  display: flex;
  gap: 28px;
}

.menu a {
  color: var(--texto-fraco);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
}

.menu a:hover {
  color: var(--branco);
}

.hero {
  min-height: 92vh;
  padding: 90px 8%;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.hero-texto {
  max-width: 760px;
}

.tag {
  display: inline-block;
  margin-bottom: 20px;

  color: var(--texto-fraco);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;

  color: var(--branco);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -4px;
}

h2 {
  margin-bottom: 22px;

  color: var(--branco);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
}

p {
  color: var(--texto-fraco);
  font-size: 18px;
  line-height: 1.8;
}

.hero p,
.sobre p,
.contato p {
  max-width: 700px;
}

/* FOTO */
.hero-foto {
  display: flex;
  justify-content: center;
}

.foto-perfil {
  width: 290px;
  height: 290px;
  position: relative;
}

.foto-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;

  border: 1px solid rgba(255, 255, 255, 0.18);
  filter: grayscale(100%);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.7),
    0 0 0 10px rgba(255, 255, 255, 0.03);

  transition: 0.4s ease;
}

.foto-perfil::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;

  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  filter: blur(20px);
  opacity: 0.7;
  z-index: 1;

  transition: 0.4s ease;
}

.foto-perfil:hover img {
  transform: translateY(-8px) scale(1.04);
  filter: grayscale(0%);
}

.foto-perfil:hover::before {
  opacity: 1;
}


.botoes {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.botao {
  width: 230px;
  padding: 15px 26px;
  border-radius: 999px;

  text-align: center;
  text-decoration: none;
  color: var(--branco);
  font-weight: 700;

  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);

  transition: 0.3s ease;
}

.botao:hover {
  background: var(--branco);
  color: var(--preto);
  transform: translateY(-4px);
}

.botao.principal {
  background: var(--branco);
  color: var(--preto);
}

.botao.principal:hover {
  background: transparent;
  color: var(--branco);
}

section {
  padding: 100px 8%;
}

.sobre,
.contato {
  text-align: center;
}

.sobre p,
.contato p {
  margin: 0 auto;
}

.grid {
  margin-top: 42px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
  padding: 30px;
  border-radius: 28px;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--borda);

  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.card span {
  display: block;
  margin-bottom: 35px;

  color: var(--texto-fraco);
  font-size: 14px;
}

.card h3 {
  margin-bottom: 14px;

  color: var(--branco);
  font-size: 24px;
  letter-spacing: -0.7px;
}

.card p {
  font-size: 16px;
}

.contato {
  padding-bottom: 130px;
}

.contato-botoes {
  justify-content: center;
}

@media (max-width: 900px) {
  .header {
    flex-direction: column;
    gap: 18px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 65px;
  }

  .hero-foto {
    order: -1;
  }

  .hero p {
    margin: 0 auto;
  }

  .botoes {
    justify-content: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .foto-perfil {
    width: 220px;
    height: 220px;
  }

  h1 {
    letter-spacing: -2px;
  }
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.projeto {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-size: cover;
  background-position: top;
  transition: .4s;
}

@media (max-width:900px) {

  .projetos-grid {
    grid-template-columns: 1fr;
  }

}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: .4s;
}

.projeto:hover .overlay {
  background: rgba(0, 0, 0, .35);
}

.projeto:hover {
  transform: translateY(-8px);
}

.pizzaria {
  background-image: url("img/pizzaria.png");
}

.landing {
  background-image: url("img/landing.png");
}

.perfume {
  background-image: url("img/perfumaria.png");
}

.projeto {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.projeto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  /* escurece a imagem */
  transition: .3s;
}

.projeto:hover::before {
  background: rgba(0, 0, 0, .35);
}

.projeto .conteudo {
  position: relative;
  z-index: 2;
}
