/* RESET GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #333;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 10;
  transition: all 0.3s ease;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: #6a1bb1;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

.logo:hover {
  opacity: 0.85;
}

.logo:active {
  transform: scale(0.97);
}

/* NAV */
.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 400;
}

/* BOTÃO HEADER */
.btn-header {
  background: rgba(255, 79, 216, 0.15);
  color: #c935f5;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-header:hover {
  background: rgba(255, 79, 216, 0.25);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 150vh;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding-top: 120px;

  background-image: url("img/imagem-salao.jpeg");
  background-size: cover;
  background-position: center 10%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.6rem;
}

.hero-content p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #555;
}

.btn-hero {
  background: #e65cca;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.card {
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ================= CAROUSEL ================= */
.carousel {
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-dots span.active {
  background: #e91e63;
}

/* ================= GALLERY ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* ================= SERVICES ================= */
.service {
  padding: 140px 20px 80px;
  text-align: center;
}

.service img {
  max-width: 900px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ================= FOOTER ================= */
footer {
  background: #ef72db;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.footer-info h3 {
  margin-bottom: 15px;
}

.footer-info p {
  margin: 8px 0;
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  border: none;
}

.copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #f5e3f2;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 28px;
  padding: 15px 18px;
  border-radius: 50%;
  text-decoration: none;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header {
    padding: 15px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 46px;
  }
}
