/* =========================================================
   Barbearia Wolf (Saudades/SC)
   Paleta tirada do próprio salão: parede preta, cimento
   queimado, couro das cadeiras e a luz de LED dos espelhos.
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --preto: #000000;        /* parede */
  --grafite: #1b1b1a;      /* couro das cadeiras */
  --cimento: #8c8b87;      /* cimento queimado */
  --cimento-claro: #e6e5e1;/* parede clara */
  --branco: #f7f7f5;
  --luz: #fff1d6;          /* LED dos espelhos */

  --texto-claro: #f2f2f0;
  --texto-claro-suave: #b9b8b3;
  --texto-escuro: #121212;
  --texto-escuro-suave: #55544f;
  --linha-clara: rgba(255, 255, 255, .14);
  --linha-escura: rgba(0, 0, 0, .14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --max: 1180px;
  --header-h: 64px;
  --radius: 2px;
  --section-y: clamp(72px, 11vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--preto);
  color: var(--texto-claro);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

.sprite { display: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--luz); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--preto); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--branco); color: var(--preto); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 16ch;
}
h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.section-intro {
  margin-top: 18px;
  max-width: 52ch;
  font-size: 1.125rem;
  color: var(--texto-claro-suave);
}
.section-light .section-intro { color: var(--texto-escuro-suave); }
.prose { margin-top: 22px; display: grid; gap: 16px; max-width: 58ch; color: var(--texto-claro-suave); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--branco); color: var(--preto); }
.btn-light:hover { background: #ffffff; box-shadow: 0 0 0 1px var(--luz), 0 0 24px rgba(255, 241, 214, .25); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: var(--texto-claro); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--preto); color: var(--branco); }
.btn-dark:hover { background: #2a2a29; }

/* ---------- Moldura com luz de LED (assinatura do site) ----------
   Repete a fita de LED que contorna os espelhos do salão. */
.led-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--grafite);
  overflow: hidden;
  border-radius: var(--radius);
}
.led-frame::before {
  content: "";
  position: absolute; z-index: 2; left: 0; top: 6%; bottom: 6%;
  width: 3px; border-radius: 2px;
  background: var(--luz);
  box-shadow: 0 0 10px 1px rgba(255, 241, 214, .8), 0 0 34px 4px rgba(255, 241, 214, .35);
}
.led-frame video { width: 100%; height: 100%; object-fit: cover; }
.led-frame-dark { background: #000; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  transition: background-color .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .menu-open .site-header {
  background: rgba(0, 0, 0, .92);
  border-bottom-color: var(--linha-clara);
}
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
/* O desfoque do cabeçalho prenderia o menu (position: fixed) dentro dele.
   Com o menu aberto, o cabeçalho fica preto sólido e sem desfoque. */
body.menu-open .site-header { background: var(--preto); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: 84px; height: auto; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; margin-right: -4px;
  background: none; border: 0; color: var(--texto-claro); cursor: pointer;
  font-size: .95rem; font-weight: 500;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .25s, opacity .2s;
}
.menu-toggle-bars { position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu do celular */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--preto);
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity .2s, visibility 0s .2s;
}
.menu-open .nav { visibility: visible; opacity: 1; transition: opacity .2s; }
.nav ul { display: grid; }
.nav li a {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 1.9rem; line-height: 1.2;
  text-decoration: none; border-bottom: 1px solid var(--linha-clara);
}
.nav-cta { align-self: stretch; }
.menu-open { overflow: hidden; }

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { width: 96px; }
  .menu-toggle { display: none; }
  .nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    flex-direction: row; align-items: center; gap: 28px;
    visibility: visible; opacity: 1; transition: none;
  }
  .nav ul { display: flex; gap: 26px; }
  .nav li a {
    padding: 6px 0; border: 0;
    font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--texto-claro-suave);
    transition: color .2s;
  }
  .nav li a:hover { color: #fff; }
  .nav-cta { min-height: 44px; padding: 0 20px; font-size: .92rem; }
}

/* ---------- 1. Topo ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(88px + env(safe-area-inset-bottom));
  overflow: hidden;
  isolation: isolate;
}
/* No celular o vídeo é o fundo inteiro */
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media .led-frame { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; }
.hero-media .led-frame::before { display: none; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 30%, rgba(0,0,0,.7) 62%, #000 100%);
}
.hero-content { width: 100%; max-width: 560px; }
.hero-logo img { width: min(64vw, 280px); height: auto; }
.hero-lead {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em;
  max-width: 18ch;
}
.hero-actions { margin-top: 28px; display: grid; gap: 12px; }
.rating-badge {
  margin-top: 18px; min-height: 44px;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .92rem; color: var(--texto-claro-suave); text-decoration: none;
}
.rating-badge:hover span:last-child { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; gap: 2px; color: var(--luz); }
.stars svg { width: 16px; height: 16px; }

@media (min-width: 560px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
}

@media (min-width: 960px) {
  .hero {
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 64px;
  }
  .hero > * { position: relative; }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: var(--max); margin: 0 auto;
    padding-left: var(--gutter); padding-right: var(--gutter);
    gap: 48px;
  }
  .hero-content { grid-column: 1; grid-row: 1; }
  .hero-media {
    position: static; z-index: auto; grid-column: 2; grid-row: 1;
    justify-self: end;
    height: min(76vh, 720px);
    aspect-ratio: 9 / 16;
  }
  .hero-media::after { display: none; }
  .hero-media .led-frame { border-radius: var(--radius); }
  .hero-media .led-frame::before { display: block; }
  .hero-logo img { width: min(32vw, 400px); }
}
@media (min-width: 1440px) {
  :root { --max: 1280px; }
  .hero-media { height: min(80vh, 820px); }
  .hero-logo img { width: 460px; }
}

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--preto); }
.section-graphite { background: var(--grafite); }
.section-light { background: var(--cimento-claro); color: var(--texto-escuro); }

.split { display: grid; gap: 40px; align-items: center; }
.split-media img { width: 100%; height: auto; border-radius: var(--radius); }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 96px); }
  .split-reverse .split-media { order: 2; }
  .split-media { max-width: 520px; }
}

/* Sobre */
.facts {
  margin: 32px 0 0; display: grid; gap: 0;
  border-top: 1px solid var(--linha-clara);
}
.facts div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--linha-clara);
}
.facts dt { color: var(--texto-claro-suave); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

/* Serviços */
/* Celular: título, vídeo e lista, nessa ordem.
   Computador: vídeo à esquerda, título e lista à direita. */
.services { display: grid; gap: 40px; grid-template-areas: "head" "media" "list"; }
.services-head { grid-area: head; }
.services-media { grid-area: media; max-width: 360px; width: 100%; justify-self: center; }
.service-list { grid-area: list; border-top: 1px solid var(--linha-escura); }
.service {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--linha-escura);
}
.service-body p { margin-top: 4px; font-size: .97rem; color: var(--texto-escuro-suave); max-width: 46ch; }
.service-action {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--preto); border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--preto);
  transition: background-color .2s, color .2s;
}
.service-action:hover { background: var(--preto); color: var(--branco); }
.service-action-wa { border-color: rgba(0, 0, 0, .35); }
@media (min-width: 960px) {
  .services {
    grid-template-columns: 4fr 7fr; grid-template-rows: auto 1fr;
    grid-template-areas: "media head" "media list";
    column-gap: clamp(48px, 7vw, 96px); row-gap: 32px; align-items: start;
  }
  .services-media { position: sticky; top: calc(var(--header-h) + 32px); max-width: none; }
}

/* O espaço */
.perks {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;
  border-top: 1px solid var(--linha-clara);
}
.perks li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--linha-clara);
  font-size: .97rem; line-height: 1.35;
}
.perks .icon { width: 24px; height: 24px; color: var(--luz); }
.perks-wide { grid-column: 1 / -1; }
@media (max-width: 420px) {
  .perks { grid-template-columns: 1fr; }
}

/* Trabalhos */
.before-after { display: grid; gap: 40px; align-items: center; }
.before-after-media { max-width: 380px; width: 100%; justify-self: center; }
.before-after-text .btn { margin-top: 28px; }
/* No celular o título vem antes do vídeo */
.before-after-text { order: -1; }
@media (min-width: 960px) {
  .before-after { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 96px); }
  .before-after-media { justify-self: start; }
  .before-after-text { order: 0; }
}
.gallery-title { margin-top: clamp(64px, 9vw, 112px); font-family: var(--serif); font-size: 1.6rem; }
.gallery { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--grafite); }
/* Foto em destaque: ocupa a largura toda no celular e um bloco 2x2 no computador */
.gallery-feature { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-feature { grid-column: span 2; grid-row: span 2; }
  .gallery-feature img { height: 100%; aspect-ratio: auto; }
}

/* Dia do noivo */
.noivo-cta { margin-top: 28px; }

/* Avaliações */
.reviews-head { display: grid; gap: 28px; }
.score { display: flex; align-items: center; gap: 18px; }
.score-number { font-family: var(--serif); font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: 1; }
.score-detail { display: grid; gap: 6px; color: var(--texto-escuro-suave); font-size: .97rem; max-width: 22ch; }
.section-light .stars { color: var(--preto); }
.reviews { margin: 48px 0 40px; display: grid; gap: 0; border-top: 1px solid var(--linha-escura); }
.reviews li { padding: 28px 0; border-bottom: 1px solid var(--linha-escura); }
.reviews blockquote { margin: 0; }
.reviews blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.35; max-width: 40ch;
}
.review-source { margin-top: 12px; font-size: .9rem; color: var(--texto-escuro-suave); }
@media (min-width: 960px) {
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .reviews li { border-bottom: 0; border-top: 1px solid var(--preto); padding-top: 24px; }
}

/* Como agendar */
.steps { margin-top: 44px; display: grid; gap: 0; counter-reset: passo; border-top: 1px solid var(--linha-clara); }
.steps li {
  counter-increment: passo;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 8px;
  padding: 22px 0; border-bottom: 1px solid var(--linha-clara);
}
.steps li::before {
  content: counter(passo);
  grid-row: span 2;
  font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--luz);
}
.steps p { color: var(--texto-claro-suave); margin-top: 4px; }
.store-actions { margin-top: 36px; display: grid; gap: 12px; }
.steps-alt { margin-top: 24px; color: var(--texto-claro-suave); }
.steps-alt a { color: var(--texto-claro); text-underline-offset: 3px; }
@media (min-width: 560px) {
  .store-actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .steps li { border-bottom: 0; border-top: 1px solid var(--linha-clara); grid-template-columns: 1fr; padding-top: 24px; }
  .steps li::before { grid-row: auto; margin-bottom: 16px; }
}

/* Contato */
.contact { display: grid; gap: 48px; }
.address { margin-top: 24px; display: flex; gap: 12px; font-size: 1.1rem; line-height: 1.5; }
.address .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--luz); }
.hours-title { margin-top: 40px; }
.open-status { margin-top: 8px; font-size: .95rem; color: var(--texto-claro-suave); display: flex; align-items: center; gap: 8px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cimento); }
.open-status.is-open::before { background: var(--luz); box-shadow: 0 0 8px var(--luz); }
.hours { margin-top: 16px; width: 100%; max-width: 440px; border-collapse: collapse; font-size: .97rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--linha-clara); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--texto-claro-suave); }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; font-weight: 600; }
.today-badge {
  display: inline-block; margin-left: 10px; padding: 2px 8px;
  border: 1px solid var(--luz); border-radius: 999px;
  font-size: .72rem; font-weight: 600; line-height: 1.4; color: var(--luz);
  vertical-align: 1px;
}
.contact-actions { margin-top: 32px; display: grid; gap: 12px; }
.contact-media { display: grid; gap: 16px; align-content: start; }
.facade { margin: 0; }
.facade img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #262625; }
.map { aspect-ratio: 4 / 3; background: #262625; border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
@media (min-width: 560px) {
  .contact-actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .contact { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 96px); }
  /* Fachada e mapa lado a lado, com a mesma altura */
  .contact-media { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .contact-media .map { aspect-ratio: auto; height: 100%; min-height: 320px; }
}

/* Rodapé */
.site-footer {
  background: var(--preto);
  border-top: 1px solid var(--linha-clara);
  padding: 56px 0 calc(96px + env(safe-area-inset-bottom));
  font-size: .95rem; color: var(--texto-claro-suave);
}
.footer-inner { display: grid; gap: 32px; }
.footer-logo { width: 190px; height: auto; }
.footer-col { display: grid; gap: 12px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--texto-claro); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linha-clara);
  display: grid; gap: 6px; font-size: .85rem;
}
@media (min-width: 960px) {
  .site-footer { padding-bottom: 48px; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: start; gap: 64px; }
  .footer-bottom { grid-template-columns: 1fr auto; }
}

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 559px) {
  .wa-float { width: 50px; height: 50px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .wa-float svg { width: 27px; height: 27px; }
}
.wa-float:hover { transform: scale(1.05); }
.menu-open .wa-float { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Página 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.notfound img { width: 160px; height: auto; }
.notfound-title { margin-top: 40px; font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 3vw, 3rem); line-height: 1.1; }
.notfound-action { margin-top: 32px; }

/* Área de toque maior nos links curtos (iPhone, Android, WhatsApp), sem mudar o layout */
.steps-alt a { padding: 12px 4px; margin: 0 -4px; }
