/* =========================================================
   base-beleza — NickPC | Salão / Barbearia / Nails / Estética
   Mobile-first · roxo #7C3AED + rosa #EC4899 · sem framework
   ========================================================= */

:root {
  --roxo: #7c3aed;
  --roxo-esc: #5b21b6;
  --roxo-texto: #4c1d95;
  --rosa: #ec4899;
  --rosa-esc: #be185d;
  --tinta: #1e1b2e;
  --texto: #3f3d55;
  --texto-suave: #6b6883;
  --fundo: #ffffff;
  --fundo-alt: #faf7ff;
  --fundo-card: #ffffff;
  --linha: #ece7f6;
  --zap: #16a34a;
  --zap-esc: #15803d;
  --raio: 18px;
  --raio-grande: 26px;
  --sombra: 0 10px 30px -14px rgba(76, 29, 149, 0.35);
  --sombra-alta: 0 18px 44px -18px rgba(76, 29, 149, 0.45);
  --largura: 1140px;
  --topo-alt: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-alt) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

body.menu-travado {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--roxo-texto);
  text-decoration: none;
}

a:hover {
  color: var(--roxo-esc);
}

:focus-visible {
  outline: 3px solid var(--rosa-esc);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--roxo);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.pular:focus {
  top: 12px;
  color: #fff;
}

/* ---------- Ícones ---------- */
.ico {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  min-height: 48px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-primario {
  background: linear-gradient(120deg, var(--roxo) 0%, var(--rosa) 100%);
  color: #fff;
  box-shadow: var(--sombra);
}

.btn-primario:hover {
  color: #fff;
  box-shadow: var(--sombra-alta);
}

.btn-secundario {
  background: rgba(255, 255, 255, 0.9);
  color: var(--roxo-texto);
  border-color: var(--linha);
}

.btn-secundario:hover {
  background: #fff;
  border-color: var(--roxo);
  color: var(--roxo-esc);
}

.btn-cta {
  background: var(--roxo);
  color: #fff;
  padding: 11px 20px;
  font-size: 0.92rem;
  min-height: 44px;
}

.btn-cta:hover {
  background: var(--roxo-esc);
  color: #fff;
}

.btn-mapa,
.btn-insta {
  margin-top: 16px;
  width: 100%;
  background: var(--fundo-alt);
  color: var(--roxo-texto);
  border-color: var(--linha);
}

.btn-mapa:hover,
.btn-insta:hover {
  background: var(--roxo);
  color: #fff;
  border-color: var(--roxo);
}

/* ---------- Header ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.topo.topo-rolou {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--linha);
  box-shadow: 0 6px 24px -18px rgba(30, 27, 46, 0.6);
}

.topo-inner {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 18px;
  height: var(--topo-alt);
  display: flex;
  align-items: center;
  gap: 14px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--tinta);
}

.monograma {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--roxo), var(--rosa));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.marca-nome {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu {
  display: none;
}

.topo-cta {
  display: none;
  margin-left: auto;
}

.menu-btn {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--linha);
  background: #fff;
  border-radius: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--roxo-texto);
}

.menu-btn .ico-fechar {
  display: none;
}

.menu-btn[aria-expanded="true"] .ico-menu {
  display: none;
}

.menu-btn[aria-expanded="true"] .ico-fechar {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--topo-alt) + 54px) 18px 64px;
  overflow: hidden;
  background: linear-gradient(160deg, #f6f1ff 0%, #fdf1f8 55%, #ffffff 100%);
}

.hero-fundo {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 20%, rgba(124, 58, 237, 0.14), transparent 42%), radial-gradient(circle at 82% 12%, rgba(236, 72, 153, 0.16), transparent 45%);
  pointer-events: none;
}

.hero-brilho {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  animation: flutua 14s ease-in-out infinite;
}

.hero-brilho.b1 {
  width: 280px;
  height: 280px;
  background: var(--roxo);
  top: -60px;
  right: -70px;
}

.hero-brilho.b2 {
  width: 230px;
  height: 230px;
  background: var(--rosa);
  bottom: -80px;
  left: -60px;
  animation-delay: -6s;
}

@keyframes flutua {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 26px, 0) scale(1.08);
  }
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--roxo-esc);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--linha);
  padding: 7px 15px;
  border-radius: 999px;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.1rem, 7.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -1.4px;
  color: var(--roxo-texto);
  font-weight: 800;
  overflow-wrap: break-word;
}

.slogan {
  font-size: clamp(1.02rem, 2.6vw, 1.22rem);
  color: var(--texto);
  max-width: 540px;
  margin: 0 auto;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texto);
  box-shadow: 0 6px 18px -14px rgba(30, 27, 46, 0.7);
}

.badge .ico {
  color: var(--rosa-esc);
  width: 17px;
  height: 17px;
}

.badge-nota {
  color: var(--roxo-texto);
}

.badge-nota .ico {
  color: #f59e0b;
  fill: #f59e0b;
  stroke: #f59e0b;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.hero-ctas .btn {
  width: 100%;
}

/* ---------- Seções ---------- */
.secao {
  padding: 64px 18px;
}

.secao-fundo {
  background: var(--fundo-alt);
}

.caixa {
  max-width: var(--largura);
  margin: 0 auto;
}

.secao-topo {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 34px;
}

.secao-topo-esq {
  text-align: left;
  margin: 0 0 18px;
}

.olho {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rosa-esc);
  margin-bottom: 8px;
}

.secao h2 {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--roxo-texto);
  font-weight: 800;
}

.secao-lead {
  margin-top: 12px;
  color: var(--texto-suave);
  font-size: 1.02rem;
}

/* ---------- Galeria ---------- */
.grade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.foto {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  background: linear-gradient(150deg, #efe7ff 0%, #fde7f3 100%);
  border: 1px solid var(--linha);
  box-shadow: var(--sombra);
  aspect-ratio: 1 / 1;
  transition: transform 0.25s ease;
}

.foto:hover {
  transform: translateY(-4px);
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-fake {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 6px;
  align-content: center;
  color: var(--roxo);
  text-align: center;
  padding: 12px;
}

.foto-fake .ico {
  width: 34px;
  height: 34px;
  opacity: 0.75;
}

.foto-fake span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--roxo-esc);
  opacity: 0.9;
  margin-top: 8px;
}

.foto figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(30, 27, 46, 0.78));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Serviços ---------- */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--fundo-card);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 24px 22px;
  box-shadow: var(--sombra);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-alta);
}

.card-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(236, 72, 153, 0.16));
  color: var(--roxo);
  margin-bottom: 15px;
}

.card-ico .ico {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.08rem;
  color: var(--tinta);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 7px;
}

.card p {
  font-size: 0.94rem;
  color: var(--texto-suave);
}

/* ---------- Tabela de preços ---------- */
.tabela-wrap {
  background: var(--fundo-card);
  border: 1px solid var(--linha);
  border-radius: var(--raio-grande);
  box-shadow: var(--sombra);
  overflow: hidden;
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.tabela thead {
  background: linear-gradient(120deg, var(--roxo), var(--roxo-esc));
  color: #fff;
}

.tabela th {
  text-align: left;
  padding: 15px 20px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.tabela td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--linha);
  color: var(--texto);
}

.tabela tbody tr:last-child td {
  border-bottom: 0;
}

.tabela tbody tr:nth-child(even) {
  background: var(--fundo-alt);
}

.col-valor {
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
  color: var(--roxo-texto);
}

.tabela .valor-vazio {
  color: var(--texto-suave);
  font-weight: 600;
}

.nota-tabela {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.nota-tabela .ico {
  color: var(--roxo);
  width: 18px;
  height: 18px;
}

/* ---------- Prova social ---------- */
.prova {
  padding-top: 0;
}

.prova-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: linear-gradient(120deg, var(--roxo) 0%, var(--roxo-esc) 60%, var(--rosa-esc) 100%);
  border-radius: var(--raio-grande);
  padding: 34px 20px;
  box-shadow: var(--sombra-alta);
}

.prova-item {
  text-align: center;
  color: #fff;
  padding: 6px 4px;
}

.prova-num {
  display: block;
  font-size: clamp(1.9rem, 7vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  color: #fff;
}

.prova-rotulo {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.prova-estrelas {
  display: inline-flex;
  gap: 3px;
  color: #fde047;
  margin-top: 4px;
}

.prova-estrelas .ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
}

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  gap: 26px;
}

.texto-sobre {
  font-size: 1.03rem;
  color: var(--texto);
  margin-bottom: 14px;
}

.texto-sobre:last-child {
  margin-bottom: 0;
}

.texto-sobre.destaque {
  font-weight: 700;
  color: var(--roxo-texto);
}

.sobre-aside {
  display: none;
}

.ico-gigante {
  width: 100%;
  height: 100%;
  max-height: 260px;
  color: rgba(124, 58, 237, 0.22);
  stroke-width: 1;
}

/* ---------- Local & horários ---------- */
.local-grid {
  display: grid;
  gap: 16px;
}

.card-local {
  background: var(--fundo-card);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 24px 22px;
  box-shadow: var(--sombra);
}

.card-local h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--roxo-texto);
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.card-local h3 .ico {
  color: var(--rosa-esc);
}

.endereco {
  font-size: 1.02rem;
  color: var(--tinta);
  font-weight: 600;
}

.cidade {
  font-size: 0.92rem;
  color: var(--texto-suave);
  margin-top: 3px;
}

.horarios {
  list-style: none;
}

.horarios li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--linha);
  font-size: 0.96rem;
}

.horarios li:last-child {
  border-bottom: 0;
}

.horarios li span:first-child {
  font-weight: 700;
  color: var(--tinta);
}

.horarios li span:last-child {
  color: var(--texto);
}

.horarios li.horario-falta {
  color: var(--texto-suave);
  font-style: italic;
  justify-content: flex-start;
}

.insta-handle {
  font-weight: 700;
  color: var(--tinta);
  font-size: 1.02rem;
}

.cta-secundario {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
}

.cta-secundario a {
  font-weight: 800;
  color: var(--roxo-texto);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.rodape {
  background: #171326;
  color: #cdc7e4;
  padding: 40px 18px 96px;
}

.rodape-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rodape-nome {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.rodape-end {
  font-size: 0.9rem;
  margin-top: 5px;
}

.rodape-links {
  display: flex;
  gap: 12px;
}

.rodape-links a {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.2s ease;
}

.rodape-links a:hover {
  background: var(--roxo);
  color: #fff;
}

.rodape-credito {
  max-width: var(--largura);
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  color: #9c95bd;
  text-align: center;
}

.rodape-credito strong {
  color: #fff;
}

.demo {
  display: inline-block;
  background: rgba(236, 72, 153, 0.22);
  color: #fbcfe8;
  border: 1px solid rgba(236, 72, 153, 0.5);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ---------- FAB ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease;
}

.fab:hover {
  transform: translateY(-3px);
  color: #fff;
}

.fab:active {
  transform: scale(0.97);
}

.fab-zap {
  background: var(--zap);
}

.fab-zap:hover {
  background: var(--zap-esc);
}

.fab-insta {
  background: linear-gradient(120deg, var(--roxo), var(--rosa));
}

.fab-insta:hover {
  background: linear-gradient(120deg, var(--roxo-esc), var(--rosa-esc));
}

.fab .ico {
  width: 22px;
  height: 22px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-visivel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-brilho {
    animation: none;
  }
}

/* =========================================================
   TABLET (>= 640px)
   ========================================================= */
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }

  .hero-ctas .btn {
    width: auto;
  }

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

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

  .prova-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 38px 26px;
  }

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

  .rodape {
    padding-bottom: 40px;
  }

  .rodape-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* =========================================================
   DESKTOP (>= 960px)
   ========================================================= */
@media (min-width: 960px) {
  .menu-btn {
    display: none;
  }

  .menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .menu a {
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--texto);
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .menu a:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--roxo-esc);
  }

  .topo-cta {
    display: inline-flex;
    margin-left: 8px;
  }

  .secao {
    padding: 86px 24px;
  }

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

  .grade {
    grid-template-columns: repeat(4, 1fr);
  }

  .sobre-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 44px;
  }

  .sobre-aside {
    display: block;
    height: 100%;
  }

  .local-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding-top: calc(var(--topo-alt) + 88px);
    padding-bottom: 96px;
  }
}

/* Menu mobile aberto (overlay) */
@media (max-width: 959px) {
  .menu {
    display: flex;
    position: fixed;
    inset: var(--topo-alt) 0 auto 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 14px 18px 22px;
    border-bottom: 1px solid var(--linha);
    box-shadow: 0 24px 40px -30px rgba(30, 27, 46, 0.9);
    transform: translateY(-130%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .menu.menu-aberto {
    transform: translateY(0);
  }

  .menu a {
    padding: 14px 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--tinta);
    border-bottom: 1px solid var(--linha);
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .menu a:hover {
    background: var(--fundo-alt);
  }
}
