/* =========================
   BASE / RESET
========================= */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* =========================
   HEADER FIXO
========================= */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 10px 60px;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(6px);
}

.logo img {
  height: 55px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d4af37;
}

.btn-agendar {
  background-color: #d4af37;
  padding: 8px 16px;
  border-radius: 4px;
  color: #000;
  font-weight: bold;
  transition: 0.3s;
}

.btn-agendar:hover {
  background-color: #b99627;
  transform: translateY(-2px);
}

/* =========================
   MENU MOBILE HAMBÚRGUER PREMIUM
========================= */
.menu-toggle {
  display: none;
  font-size: 1.9rem;
  color: #d4af37;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
  color: #fff;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* DESKTOP */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    gap: 30px;
  }

  .menu-toggle {
    display: none;
  }

  .menu-overlay {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    box-shadow: -4px 0 10px rgba(0,0,0,0.5);
    transition: right 0.5s ease;
    display: flex;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: #fff;
    position: relative;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #d4af37;
  }

  .btn-agendar {
    background-color: #d4af37;
    color: #000;
    font-weight: bold;
  }

  header {
    padding: 15px 30px;
  }

  .menu-toggle.active i {
    transform: rotate(90deg);
    color: #d4af37;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(212,175,55,0.4), transparent);
    transition: left 0.6s ease;
  }

  .nav-links a:hover::after {
    left: 100%;
  }
}

/* =========================
   HERO / BANNER
========================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 10s linear;
}

.hero:hover .hero-bg {
  transform: scale(1.05);
}

/* Camada escura do fundo */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none; /* ⛔️ impede que bloqueie cliques */
}

/* Conteúdo do hero */
.hero-content {
  position: relative;
  z-index: 10; /* acima do overlay */
  max-width: 800px;
  padding: 20px;
}

/* Título e texto */
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ddd;
}

/* Botões */
.hero-buttons {
  position: relative;
  z-index: 5; /* garante que são clicáveis */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background-color: #d4af37;
  color: #000;
}

.btn-primary:hover {
  background-color: #f1cf63;
}

.btn-outline {
  border: 2px solid #d4af37;
  color: #d4af37;
}

.btn-outline:hover {
  background-color: #d4af37;
  color: #000;
}

.hero h1 {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   BOTÕES
========================= */
.btn-primary,
.btn-secondary {
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary {
  background-color: #d4af37;
  color: #000;
}

.btn-primary:hover {
  background-color: #b99627;
  transform: translateY(-3px);
}

.btn-secondary {
  border: 2px solid #d4af37;
  color: #d4af37;
  background: transparent;
}

.btn-secondary:hover {
  background-color: #d4af37;
  color: #000;
  transform: translateY(-3px);
}


/* =========================
   SERVIÇOS
========================= */
#servicos {
  background: #000;
  padding: 100px 60px;
}

#servicos .section-title {
  text-align: center;
  font-size: 2.4rem;
  color: #d4af37;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.servicos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  justify-content: center;
}

.servico {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  height: 360px;
  background-color: #111;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

/* Imagem e brilho */
.servico::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  filter: brightness(0.65);
  transition: all 0.6s ease;
  z-index: 1;
  opacity: 0.9;
}

.servico:nth-child(1)::before { background-image: url("img/servico-corte.jpg"); }
.servico:nth-child(2)::before { background-image: url("img/servico-barba.jpg"); }
.servico:nth-child(3)::before { background-image: url("img/servico-pintura.jpg"); }
.servico:nth-child(4)::before { background-image: url("img/servico-manicure.jpg"); }
.servico:nth-child(5)::before { background-image: url("img/servico-limpeza.jpg"); }
.servico:nth-child(6)::before { background-image: url("img/servico-bar.jpg"); }

.servico:hover::before {
  filter: brightness(0.9) saturate(1.3);
  transform: scale(1.05);
}

.servico::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(212,175,55,0.15), rgba(255,255,255,0.05), rgba(212,175,55,0.15));
  background-size: 300% 300%;
  animation: brilhoDourado 4s linear infinite;
  opacity: 0.15;
  z-index: 2;
}

@keyframes brilhoDourado {
  0% { background-position: 300% 0; }
  100% { background-position: -300% 0; }
}

.servico i,
.servico h3,
.servico p {
  position: relative;
  z-index: 3;
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.servico i {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 15px;
}

.servico h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servico p {
  color: #ddd;
  font-size: 0.95rem;
  margin-top: 10px;
  max-width: 90%;
  margin-inline: auto;
  opacity: 0.8;
}

.servico {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.servico:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(212,175,55,0.35);
}

.servico:hover i {
  color: #fff;
  transform: translateY(-8px);
}

.servico:hover h3 {
  color: #d4af37;
}

/* =========================
   SOBRE NÓS
========================= */
.sobre {
  background: #0a0a0a;
  padding: 100px 60px;
}

.sobre-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.sobre-texto {
  flex: 1 1 400px;
}

.sobre-texto p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 25px;
}

.sobre-img {
  flex: 1 1 400px;
}
.servico-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.sobre-img img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid rgba(212, 175, 55, 0.2);
}
.servico-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65);
  z-index: 1;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.servico:hover .servico-img {
  transform: scale(1.05);
  filter: brightness(0.9) saturate(1.2);
}


/* =========================
   GALERIA
========================= */
#galeria {
  background: #000;
  padding: 100px 60px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.galeria-grid img {
  width: 100%;
  border-radius: 6px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.galeria-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* =========================
   LOCALIZAÇÃO
========================= */
.local {
  background: #0a0a0a;
  padding: 100px 60px;
}

.local-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.horario h3 {
  color: #d4af37;
  margin-bottom: 15px;
}

.horario ul {
  list-style: none;
}

.horario li {
  margin-bottom: 8px;
  color: #ccc;
}

.horario span {
  color: #d4af37;
}

.mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* =========================
   CONTACTO
========================= */
#contacto {
  background: #000;
  padding: 100px 60px;
}

.form-contacto {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-contacto input,
.form-contacto textarea {
  background: #111;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  padding: 12px;
  border-radius: 5px;
  outline: none;
}

.form-contacto textarea {
  min-height: 120px;
  resize: none;
}

.form-contacto button {
  align-self: center;
}

.contact-info {
  text-align: center;
  margin-top: 25px;
  color: #ccc;
}

.contact-info i {
  color: #d4af37;
  margin-right: 8px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #000;
  text-align: center;
  padding: 25px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

footer span {
  color: #d4af37;
}

/* =========================
   LOADER
========================= */
#loader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: #d4af37;
  animation: pulse 1.5s infinite ease-in-out;
}

.loader-logo {
  width: 90px;
  margin-bottom: 20px;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(212,175,55,0.2);
  border-top-color: #d4af37;
  border-radius: 50%;
  margin: 0 auto 10px;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%,100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* =========================
   ANIMAÇÃO DE ENTRADA AO SCROLL
========================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toque dourado no fade */
.scroll-reveal.visible::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(212,175,55,0.15), transparent, rgba(212,175,55,0.15));
  background-size: 300% 100%;
  animation: brilhoScroll 3s linear infinite;
  opacity: 0.1;
  pointer-events: none;
}

@keyframes brilhoScroll {
  0% { background-position: 300% 0; }
  100% { background-position: -300% 0; }
}
/* =========================
   SEÇÃO SOBRE
========================= */
#sobre {
  background: #0a0a0a;
  padding: 100px 8vw;
}

.sobre-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.sobre-texto {
  flex: 1 1 450px;
  text-align: left;
}

.sobre-texto h2 {
  color: #d4af37;
  font-size: 2.4rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sobre-texto p {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.sobre-texto .btn-primary {
  display: inline-block;
}

.sobre-img {
  flex: 1 1 450px;
  text-align: center;
}

.sobre-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  border: 2px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* =========================
   SEÇÃO CONTACTO
========================= */
#contacto {
  background: #000;
  padding: 100px 8vw;
  text-align: center;
}

#contacto .section-title {
  color: #d4af37;
  font-size: 2.4rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.form-contacto input,
.form-contacto textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  outline: none;
  background-color: #111;
  color: #fff;
  font-size: 1rem;
}

.form-contacto textarea {
  resize: none;
  height: 120px;
}

.form-contacto button {
  background-color: #d4af37;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.form-contacto button:hover {
  background-color: #b99627;
  transform: translateY(-3px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: #ccc;
  font-size: 1rem;
}

.contact-info i {
  color: #d4af37;
  margin-right: 8px;
}

/* =========================
   SEÇÃO LOCALIZAÇÃO
========================= */
#localizacao {
  background: #0a0a0a;
  padding: 100px 8vw;
  text-align: center;
}

#localizacao .section-title {
  color: #d4af37;
  font-size: 2.4rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.localizacao-content {
  max-width: 900px;
  margin: 0 auto;
}

.localizacao-texto {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.mapa {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
  border: 2px solid rgba(212, 175, 55, 0.2);
}

.mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   RESPONSIVIDADE GERAL
========================= */
@media (max-width: 992px) {
  #sobre, #contacto, #localizacao {
    padding: 80px 6vw;
  }

  .sobre-content {
    flex-direction: column;
    text-align: center;
  }

  .sobre-texto {
    text-align: center;
  }

  .sobre-img img {
    max-width: 400px;
  }

  #localizacao .section-title,
  #contacto .section-title,
  .sobre-texto h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  #sobre, #contacto, #localizacao {
    padding: 70px 5vw;
  }

  .sobre-texto p,
  .localizacao-texto {
    font-size: 0.95rem;
  }

  .mapa {
    height: 350px;
  }
}
.redesocial{
  text-decoration: none;
  color: rgb(219, 218, 218);
}
.link-codex{
  text-decoration: none;
  color: #b99627;
}
/* =========================
   UI/UX PREMIUM — EFEITOS DE LUXO
========================= */

/* === PARALLAX LEVE NO HERO === */
.hero-bg {
  transform: scale(1.05);
  transition: transform 6s ease-out;
}
.hero:hover .hero-bg {
  transform: scale(1.08);
}

/* === BRILHO DOURADO NOS BOTÕES === */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after, .btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.6),
    transparent
  );
  transition: all 0.6s ease;
}
.btn-primary:hover::after, .btn-secondary:hover::after {
  left: 100%;
}

/* === APARIÇÃO DOURADA NOS TÍTULOS === */
.section-title {
  opacity: 0;
  transform: translateY(25px);
  transition: all 1s ease;
  position: relative;
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, transparent);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* === SOMBRAS DOURADAS EM ELEMENTOS === */
h1, h2, h3 {
  text-shadow: 0 0 10px rgba(212,175,55,0.25);
}

/* === BOTÃO VOLTAR AO TOPO === */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: rgba(212,175,55,0.9);
  color: #000;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(212,175,55,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 1200;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  background-color: #b99627;
  box-shadow: 0 0 15px rgba(212,175,55,0.6);
  transform: translateY(-3px);
}
#backToTop i {
  pointer-events: none;
}
/* =========================
   NAVEGAÇÃO PREMIUM (scroll ativo e suave)
========================= */

/* Rolagem suave */
html {
  scroll-behavior: smooth;
}

/* Destaque no link ativo */
.nav-links a.active {
  color: #d4af37;
  font-weight: 600;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #d4af37;
  border-radius: 10px;
  animation: brilhoAtivo 1.5s linear infinite;
}

@keyframes brilhoAtivo {
  0% { box-shadow: 0 0 4px #d4af37; opacity: 0.8; }
  50% { box-shadow: 0 0 10px #d4af37; opacity: 1; }
  100% { box-shadow: 0 0 4px #d4af37; opacity: 0.8; }
}