* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Grenze Gotisch", serif;
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("./img/background.jpg") center / cover no-repeat;
  opacity: 0.15; /* controle da opacidade */
  z-index: -1;
}

/* MENU */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: center;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: #fff;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  font-family: "UnifrakturMaguntia", cursive;
  font-size: 160px;
  line-height: 0.5;
}

.logo span {
  display: block;
  font-size: 36px;
  margin-top: 10px;
}

.btn {
  margin-top: 40px;
  padding: 15px 40px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s;
  font-family: "Courier New", Courier, monospace;
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* SOCIAL */
.social {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social a {
  color: #fff;
  font-size: 18px;
  opacity: 0.7;
  transition: 0.3s;
}

.social a:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* TEXTO LATERAL */
.side-text {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
  font-size: 12px;
  letter-spacing: 3px;
  color: #aaa;
}

/* ===== SOBRE ===== */
.sobre {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  padding: 80px 8%;
}

.sobre-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  width: 100%;
  align-items: center;
}

/* TEXTO */
.sobre-texto h2 {
  font-family: "Grenze Gotisch", serif;
  font-size: 48px;
  margin-bottom: 30px;
}

.sobre-texto p {
  font-size: 14px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 18px;
  max-width: 500px;
}

/* IMAGEM */
.sobre-imagem {
  position: relative;
}

.sobre-imagem img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.9);
}

/* NUMERAÇÃO */
.contador {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 22px;
  color: #777;
  letter-spacing: 2px;
}

/* ===== EQUIPE ===== */
.equipe {
  min-height: 100vh;
  background: #000;
  padding: 100px 8%;
}

.equipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.equipe-header h2 {
  font-family: "Grenze Gotisch", serif;
  font-size: 42px;
  letter-spacing: 2px;
}

.equipe-header .contador {
  font-size: 20px;
  color: #777;
}

/* CARDS */
.equipe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card-barber {
  text-align: left;
}

.card-barber img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.9);
  transition: 0.4s;
}

.card-barber:hover img {
  filter: grayscale(0%) brightness(1);
}

.card-barber h3 {
  margin-top: 25px;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #ccc;
}

.card-barber .nome {
  margin-top: 6px;
  font-size: 18px;
  color: #fff;
}

.card-barber .exp {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #888;
}

/* ===== PREÇOS ===== */
.precos {
  min-height: 100vh;
  background: #000;
  padding: 100px 8%;
}

.precos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.precos-header h2 {
  font-family: "Grenze Gotisch", serif;
  font-size: 42px;
}

.precos-header .contador {
  font-size: 20px;
  color: #777;
}

/* CATEGORIAS */
.categorias {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #222;
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.categorias span {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #777;
  cursor: pointer;
  transition: 0.3s;
}

.categorias span:hover,
.categorias .ativo {
  color: #fff;
}

/* TABELA */
.tabela-precos {
  max-width: 700px;
}

.tabela-header,
.linha {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 0;
}

.tabela-header {
  border-bottom: 1px solid #333;
  font-size: 13px;
  color: #aaa;
}

.linha {
  font-size: 14px;
  color: #ddd;
  border-bottom: 1px solid #111;
}

.linha span:last-child {
  color: #fff;
}

/* ===== TRABALHOS ===== */
.trabalhos {
  min-height: 100vh;
  background: #000;
  padding: 100px 8%;
}

.trabalhos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.trabalhos-header h2 {
  font-family: "Grenze Gotisch", serif;
  font-size: 42px;
}

.trabalhos-header .contador {
  font-size: 20px;
  color: #777;
}

/* SWIPER */
.trabalhos-swiper {
  width: 100%;
  padding-bottom: 40px;
}

.swiper-slide {
  text-align: left;
}

.swiper-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.9);
  transition: 0.4s;
}

.swiper-slide:hover img {
  filter: grayscale(0%) brightness(1);
}

.swiper-slide p {
  margin-top: 14px;
  font-size: 13px;
  color: #ccc;
  max-width: 260px;
}

/* SETAS */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}

/* ===== CONTATO ===== */
.contato {
  min-height: 100vh;
  background: #000;
  padding: 100px 8% 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contato-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* INFO */
.contato-info h2 {
  font-family: "Grenze Gotisch", serif;
  font-size: 42px;
  margin-bottom: 30px;
}

.contato-info p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.contato-social {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.contato-social a {
  color: #fff;
  font-size: 16px;
  opacity: 0.7;
  transition: 0.3s;
}

.contato-social a:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* BOTÃO */
.btn-contato {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-contato:hover {
  background: #fff;
  color: #000;
}

/* BG TEXTO */
.contato-bg {
  position: relative;
}

.contato-bg h3 {
  font-family: "Grenze Gotisch", serif;
  font-size: 64px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.05);
}

.contato-bg span {
  color: rgba(255, 255, 255, 0.08);
}

.contador {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 20px;
  color: #777;
}

/* FOOTER */
.contato-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-top: 40px;
}

.contato-footer a {
  color: #666;
  text-decoration: none;
}

.contato-footer a:hover {
  color: #fff;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .contato-container {
    grid-template-columns: 1fr;
  }

  .contato-bg h3 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .contato {
    padding: 80px 6% 30px;
  }

  .contato-info h2 {
    font-size: 32px;
  }

  .contato-bg h3 {
    font-size: 38px;
  }

  .contato-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ====== TABLET ====== */
@media (max-width: 1024px) {
  header {
    padding: 16px 30px;
  }

  .logo {
    font-size: 120px;
    line-height: 0.6;
  }

  .logo span {
    font-size: 30px;
  }

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

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .sobre-container {
    grid-template-columns: 1fr;
  }

  .contador {
    top: -30px;
  }
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  header {
    padding: 15px;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 0 20px;
  }

  .logo {
    font-size: 80px;
    line-height: 0.7;
  }

  .logo span {
    font-size: 22px;
    margin-top: 5px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .social {
    left: 12px;
    gap: 15px;
  }

  .side-text {
    display: none;
  }

   .trabalhos {
    padding: 80px 6%;
  }

  .trabalhos-header h2 {
    font-size: 32px;
  }

  .swiper-slide img {
    height: 340px;
  }

   .precos {
    padding: 80px 6%;
  }

  .categorias {
    gap: 20px;
    overflow-x: auto;
  }

  .tabela-header,
  .linha {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .equipe {
    padding: 80px 6%;
  }

  .equipe-header h2 {
    font-size: 32px;
  }

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

  .card-barber img {
    height: 360px;
  }
}

/* ====== MOBILE PEQUENO ====== */
@media (max-width: 480px) {
  .logo {
    font-size: 60px;
    line-height: 0.8;
  }

  .logo span {
    font-size: 18px;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    padding: 14px;
  }

  .social a {
    font-size: 16px;
  }

  .sobre {
    padding: 60px 6%;
  }

  .sobre-texto h2 {
    font-size: 36px;
  }

  .sobre-texto p {
    font-size: 13px;
  }

    .precos-header h2 {
    font-size: 32px;
  }

  .tabela-header,
  .linha {
    grid-template-columns: 1.8fr 1fr;
  }

  .tabela-header span:last-child,
  .linha span:last-child {
    display: none;
  }
}
