/* Rescue Barbershop
   Paleta: carvão (fundo), couro (superfícies), espuma (texto),
   auréola (dourado do halo da logo), poste (vermelho do poste, só para seleção). */

:root {
  --carvao: #1C1916;
  --carvao-2: #171411;
  --couro: #25201B;
  --couro-2: #2F2822;
  --linha: rgba(242, 235, 221, .10);
  --linha-forte: rgba(242, 235, 221, .2);
  --espuma: #F2EBDD;
  --espuma-2: #BDB3A3;
  --espuma-3: #8C8273;
  --aureola: #E2B04A;
  --aureola-2: #F3CF7A;
  --poste: #A3322A;
  --poste-2: #C2453B;

  /* superfícies translúcidas, no estilo dos materiais da Apple */
  --vidro-1: rgba(242, 235, 221, .045);
  --vidro-2: rgba(242, 235, 221, .075);
  --vidro-3: rgba(242, 235, 221, .11);
  --brilho: inset 0 1px 0 rgba(255, 255, 255, .05);

  /* um só conjunto de raios */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --section: clamp(80px, 12vw, 168px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mola: cubic-bezier(.32, .72, 0, 1);

  --check-escuro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8.2' fill='none' stroke='%23231A0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-vermelho: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8.2' fill='none' stroke='%23A3322A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--carvao);
  color: var(--espuma);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* o anel de foco segue o formato do elemento (não deforma os botões arredondados) */
:focus-visible { outline: 3px solid rgba(226, 176, 74, .7); outline-offset: 2px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--aureola); color: var(--carvao); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.section { padding-block: var(--section); position: relative; }
.section h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: .92;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: var(--r-pill); border: 0;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; user-select: none; white-space: nowrap;
  transition: transform .4s var(--mola), background-color .2s var(--ease), box-shadow .25s var(--ease), color .2s var(--ease), filter .2s var(--ease);
}
.btn:active { transform: scale(.96); transition-duration: .12s; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(180deg, #EDC15E, var(--aureola));
  color: #1E1608;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .45), 0 10px 26px -14px rgba(226, 176, 74, .7);
}
.btn-gold:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 244, 214, .5), 0 14px 32px -14px rgba(226, 176, 74, .85); }

/* secundário "preenchido" e translúcido, como no iOS */
.btn-ghost {
  background: var(--vidro-2); color: var(--espuma);
  box-shadow: inset 0 0 0 1px var(--linha), var(--brilho);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--vidro-3); }

.link-btn {
  display: inline-flex; align-items: center; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--aureola-2); font-weight: 600; text-decoration: none;
  transition: opacity .2s;
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(243, 207, 122, .5); }
.link-btn:active { opacity: .6; }

/* ---------- Wordmark ---------- */
.wordmark, .footer-mark { overflow: visible; color: var(--espuma); }
.wm-halo { fill: #FCC31A; filter: drop-shadow(0 0 6px rgba(252, 195, 26, .5)); }
.wm-sub { fill: var(--espuma-2); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(28, 25, 22, .72);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
          backdrop-filter: saturate(1.8) blur(20px);
  border-bottom-color: var(--linha);
  padding-block: 10px;
}
/* a auréola fica à esquerda do R, então a caixa é um pouco mais larga para as letras manterem o tamanho */
.nav-logo { display: block; width: 168px; flex: none; text-decoration: none; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  text-decoration: none; color: var(--espuma-2); font-size: .9375rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--espuma); background: var(--vidro-2); }

.nav-toggle {
  display: none; position: relative; flex: none;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--vidro-2); box-shadow: inset 0 0 0 1px var(--linha);
  transition: transform .4s var(--mola), background-color .2s;
}
.nav-toggle:active { transform: scale(.92); }
.nav-toggle-lines, .nav-toggle-lines::before {
  position: absolute; left: 12px; width: 16px; height: 1.5px; border-radius: 2px; background: var(--espuma);
  transition: transform .45s var(--mola), top .45s var(--mola);
}
.nav-toggle-lines { top: 16px; }
.nav-toggle-lines::before { content: ""; left: 0; top: 7px; }
.nav.is-open .nav-toggle-lines { top: 19.5px; transform: rotate(45deg); }
.nav.is-open .nav-toggle-lines::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 860px) {
  .nav { gap: 10px; padding-block: 12px; }
  .nav-logo { width: 138px; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: block; }

  /* menu em tela cheia */
  .nav-links {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; gap: 0;
    padding: 92px var(--gutter) 40px;
    background: rgba(23, 20, 17, .9);
    -webkit-backdrop-filter: saturate(1.6) blur(28px);
            backdrop-filter: saturate(1.6) blur(28px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-links a {
    font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: 1;
    color: var(--espuma); padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--linha);
    opacity: 0; transform: translateY(-10px);
    transition: transform .6s var(--mola), opacity .35s var(--ease);
  }
  .nav-links a:hover { background: none; color: var(--aureola-2); }
  .nav.is-open { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; }
  .nav.is-open .nav-links a { opacity: 1; transform: none; }
  .nav.is-open .nav-links a:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav-links a:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav-links a:nth-child(4) { transition-delay: .12s; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  padding: 116px var(--gutter) 64px;
  max-width: 1480px;
  margin-inline: auto;
  isolation: isolate;
}
.hero::before {
  /* luz quente da luminária de latão, vinda de cima */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 4%; top: -10%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(226, 176, 74, .13), rgba(226, 176, 74, 0));
}

.hero-copy { position: relative; z-index: 2; max-width: 640px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--espuma-3); flex: none; margin-left: 2px; }
.status-open.is-open .status-dot { background: #7FC08A; box-shadow: 0 0 0 4px rgba(127, 192, 138, .16); }
.status-open.is-closed .status-dot { background: var(--poste-2); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: var(--vidro-1); box-shadow: inset 0 0 0 1px var(--linha);
  font-size: .875rem; color: var(--espuma-2); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.status:hover { color: var(--espuma); background: var(--vidro-2); }
.status-pin { width: 16px; height: 16px; fill: var(--aureola); flex: none; }

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(4rem, 9.6vw, 9.25rem);
  line-height: .84;
  letter-spacing: -.015em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--espuma-2); max-width: 32em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stage {
  position: relative;
  height: min(86svh, 820px);
  min-height: 520px;
  margin-right: calc(var(--gutter) * -1);
  touch-action: pan-y;
  cursor: grab;
}
.hero-stage:active { cursor: grabbing; }
.hero-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .45s var(--ease);
}
.hero-stage.is-ready canvas { opacity: 1; }
.hero-stage.no-webgl:not(.is-ready) .stage-fallback { opacity: 1; visibility: visible; }

.stage-hint {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  font-size: .8125rem; color: var(--espuma-3);
  opacity: 0; transition: opacity .8s var(--ease) 2.6s;
}
.hero-stage.is-ready .stage-hint { opacity: 1; }
.hero-stage.has-dragged .stage-hint { opacity: 0; transition-delay: 0s; }

/* Tesoura em SVG: fica escondida e só aparece se o 3D falhar (.no-webgl) */
.stage-fallback {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease);
}
.sf-halo { width: 120px; height: 26px; border: 4px solid var(--aureola); border-radius: 50%; margin-bottom: 22px; box-shadow: 0 0 22px rgba(226, 176, 74, .7), inset 0 0 12px rgba(226, 176, 74, .5); }
.sf-shears { width: 132px; height: 330px; overflow: visible; animation: sf-spin 9s linear infinite; }
.sf-blade { fill: url(#sf-aco); }
.sf-handle { fill: none; stroke: #cfd4da; stroke-width: 8; stroke-linecap: round; }
.sf-screw { fill: #e9ecef; }
@keyframes sf-spin { to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .sf-shears { animation: none; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 48px; min-height: auto; }
  .hero-stage { order: -1; height: 40svh; min-height: 300px; max-height: 460px; margin: 0 calc(var(--gutter) * -1) 8px; }
  .hero-copy { max-width: none; }
  .hero-title { font-size: clamp(3.4rem, 15vw, 6.5rem); margin-bottom: 20px; }
  .hero-lede { margin-bottom: 28px; }
  .hero-pills { margin-bottom: 20px; }
}
@media (max-width: 600px) {
  .hero-actions .btn { flex: 1 1 0; padding-inline: 16px; }
  .status-addr { display: none; }
  .stage-hint { display: none; }
}

/* ---------- Cartões de serviço (passo 1 do agendamento, no espírito da referência) ---------- */
.svc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(232px, 100%), 1fr)); gap: 12px; }
.svc-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.svc-tile-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px;
  width: 100%; height: 100%; min-height: 196px; padding: 18px 18px 16px;
  border-radius: var(--r-md); cursor: pointer; color: var(--espuma);
  background: linear-gradient(160deg, rgba(242, 235, 221, .065), rgba(242, 235, 221, .02));
  box-shadow: inset 0 0 0 1px var(--linha), var(--brilho);
  transition: transform .45s var(--mola), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-tile-btn:has(input:focus-visible) { outline: 3px solid rgba(226, 176, 74, .7); outline-offset: 2px; }
.svc-tile-bust {
  position: absolute; z-index: -1; right: -20%; top: -6%; width: 62%; height: auto; max-width: none;
  opacity: .2; pointer-events: none; filter: saturate(.6);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
  transition: opacity .3s var(--ease), transform .7s var(--mola);
}
.svc-tile-btn:hover { box-shadow: inset 0 0 0 1px var(--linha-forte), var(--brilho); }
.svc-tile-btn:hover .svc-tile-bust { opacity: .32; transform: scale(1.04); }
.svc-tile-btn:active { transform: scale(.98); transition-duration: .15s; }
.svc-tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc-tile-name { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.02; letter-spacing: -.005em; max-width: 80%; text-wrap: balance; }
.svc-tile .opt-check { position: relative; flex: none; margin-top: 2px; }
.svc-tile-desc { color: var(--espuma-2); font-size: .875rem; line-height: 1.5; max-width: 28ch; }
.svc-tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.svc-tile-price { font-family: var(--display); font-weight: 800; font-size: 1.625rem; line-height: 1; color: var(--aureola-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-tile-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 500; color: var(--espuma-2); white-space: nowrap;
  background: var(--vidro-2); box-shadow: inset 0 0 0 1px var(--linha);
}

.svc-tile-signature .svc-tile-btn {
  background: linear-gradient(160deg, rgba(226, 176, 74, .16), rgba(226, 176, 74, .03));
  box-shadow: inset 0 0 0 1px rgba(226, 176, 74, .42), var(--brilho);
}
.mini-halo { width: 34px; height: 12px; overflow: visible; flex: none; }
.mini-halo ellipse { fill: none; stroke: var(--aureola); stroke-width: 2.4; filter: drop-shadow(0 0 3px rgba(226, 176, 74, .8)); }

/* escolhido: vermelho do poste, como o cartão selecionado da referência */
.svc-tile.is-selected .svc-tile-btn {
  background: linear-gradient(160deg, var(--poste-2), var(--poste));
  box-shadow: inset 0 1px 0 rgba(255, 210, 195, .25), 0 20px 40px -24px rgba(163, 50, 42, .95);
}
.svc-tile.is-selected .svc-tile-desc { color: rgba(255, 236, 228, .86); }
.svc-tile.is-selected .svc-tile-price { color: #fff; }
.svc-tile.is-selected .pill { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: none; }
.svc-tile.is-selected .svc-tile-bust { opacity: .3; mix-blend-mode: luminosity; }
.svc-tile.is-selected .opt-check { background-color: #fff; background-image: var(--check-vermelho); box-shadow: none; animation: check-pop .4s var(--mola); }

/* celular: cartões compactos, para a lista não ficar comprida */
@media (max-width: 600px) {
  .svc-tiles { grid-template-columns: 1fr; gap: 8px; }
  /* nome e preço na mesma linha; descrição e duração embaixo */
  .svc-tile-btn {
    min-height: 0; padding: 12px 14px 12px 16px; gap: 4px 12px; border-radius: var(--r-sm);
    grid-template-columns: minmax(0, 1fr) auto 22px; grid-template-rows: auto auto;
    grid-template-areas: "nome preco check" "desc tempo tempo"; align-items: center;
  }
  .svc-tile-head, .svc-tile-foot { display: contents; }
  .svc-tile-name { grid-area: nome; max-width: none; font-size: 1.35rem; }
  .svc-tile .opt-check { grid-area: check; margin: 0; }
  .svc-tile-price { grid-area: preco; font-size: 1.35rem; justify-self: end; }
  .svc-tile-desc { grid-area: desc; max-width: none; font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .svc-tile-pills { grid-area: tempo; }
  .svc-tile-pills .pill:first-child { display: none; }
  .pill { min-height: 22px; padding: 0 9px; font-size: .75rem; }
  .svc-tile-bust { width: 30%; right: 8%; top: -40%; opacity: .14; }
}

/* ---------- Estilos (busto) ---------- */
.lab { overflow: clip; }
.lab-stage {
  width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.36fr) 250px;
  gap: clamp(24px, 3vw, 48px); align-items: center;
}
.lab-lede { color: var(--espuma-2); margin: 22px 0 32px; max-width: 24em; }
.lab-say { margin: 0 0 32px; padding-left: 18px; border-left: 2px solid var(--aureola); }
.lab-say figcaption { font-size: .8125rem; color: var(--espuma-3); margin-bottom: 6px; }
.lab-say blockquote { margin: 0; font-style: italic; font-size: 1.1875rem; line-height: 1.45; color: var(--aureola-2); min-height: 2.9em; }

.bust { position: relative; aspect-ratio: 1; container-type: inline-size; }
.bust::before {
  /* luz quente atrás da cabeça */
  content: ""; position: absolute; left: 50%; top: 38%; width: 70%; height: 70%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(226, 176, 74, .16), rgba(226, 176, 74, 0)); pointer-events: none;
}
.bust-frame {
  position: absolute; inset: 0; transition: transform .7s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 56% 58% at 50% 46%, #000 66%, transparent 100%);
          mask-image: radial-gradient(ellipse 56% 58% at 50% 46%, #000 66%, transparent 100%);
}
.bust-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .55s var(--ease), filter .55s var(--ease);
}
.bust-img.is-active { opacity: 1; z-index: 2; }
.bust-img.is-prev { opacity: 1; z-index: 1; transition: none; }
.bust.is-switching .bust-img { filter: brightness(1.12) saturate(1.1); }

.bust-ring {
  position: absolute; left: 50%; top: 6%; width: 52%; aspect-ratio: 4.2 / 1;
  border: 2px solid var(--aureola-2); border-radius: 50%;
  box-shadow: 0 0 18px rgba(243, 207, 122, .8), inset 0 0 12px rgba(243, 207, 122, .55);
  transform: translate(-50%, -50%) rotate(-6deg); opacity: 0; pointer-events: none;
}
.bust.is-switching .bust-ring { animation: bust-ring .8s var(--ease) both; }
@keyframes bust-ring {
  0%   { top: 2%;  opacity: 0; transform: translate(-50%, -50%) scale(.75) rotate(-6deg); }
  18%  { opacity: 1; }
  75%  { opacity: .85; }
  100% { top: 74%; opacity: 0; transform: translate(-50%, -50%) scale(1.2) rotate(-6deg); }
}

.tags { position: absolute; inset: 0; margin: 0; pointer-events: none; transition: transform .7s var(--ease); }
.tag {
  position: absolute; display: grid; gap: 2px; width: max-content; max-width: min(34%, 230px); text-wrap: balance;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: rgba(37, 32, 27, .6);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: inset 0 0 0 1px rgba(226, 176, 74, .3), var(--brilho), 0 18px 40px -20px rgba(0, 0, 0, .9);
}
.tag dt { font-size: .75rem; color: var(--espuma-3); }
.tag dd { margin: 0; font-weight: 600; font-size: .9375rem; line-height: 1.3; transition: opacity .22s var(--ease), transform .22s var(--ease); }
.bust.is-updating .tag dd, .bust.is-updating .bust-caption { opacity: 0; }
.bust.is-updating .tag dd { transform: translateY(4px); }
.tag::before, .tag::after { content: ""; position: absolute; top: 50%; }
.tag::before { width: var(--len, 64px); height: 1px; background: linear-gradient(90deg, rgba(226, 176, 74, .7), rgba(226, 176, 74, .25)); }
.tag::after { width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--aureola-2); box-shadow: 0 0 10px rgba(243, 207, 122, .9); }
/* cada etiqueta é ancorada pela borda que fica do lado do rosto; o ponto cai no detalhe do corte */
.tag-top, .tag-beard { right: 74%; }
.tag-top::before, .tag-beard::before { left: 100%; }
.tag-top::after, .tag-beard::after { left: calc(100% + var(--len)); }
.tag-sides, .tag-back { left: 76%; max-width: calc(24% + 20px); }
.tag-sides::before, .tag-back::before { right: 100%; background: linear-gradient(270deg, rgba(226, 176, 74, .7), rgba(226, 176, 74, .25)); }
.tag-sides::after, .tag-back::after { right: calc(100% + var(--len)); }
.tag-top { top: 16%; --len: 21cqw; }
.tag-sides { top: 30%; --len: 9cqw; }
.tag-beard { top: 48%; --len: 19cqw; }
.tag-back { top: 66%; }
.tag-back::before, .tag-back::after { display: none; }

.bust-caption {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%);
  background: rgba(28, 25, 22, .85); color: var(--aureola-2);
  box-shadow: inset 0 0 0 1px rgba(226, 176, 74, .5);
  font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: .02em;
  padding: 6px 22px; border-radius: var(--r-pill); white-space: nowrap;
  transition: opacity .22s var(--ease);
}

.style-panel {
  padding: 20px 14px 16px; border-radius: var(--r-lg);
  background: rgba(37, 32, 27, .55);
  -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: inset 0 0 0 1px var(--linha), var(--brilho), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.style-panel legend { padding: 0 8px; margin-bottom: 10px; }
.style-list legend { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--aureola-2); }
.style-list label { display: block; position: relative; cursor: pointer; }
.style-list input, .segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.style-list span {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px;
  padding: 0 12px; border-radius: var(--r-xs); color: var(--espuma-2); font-weight: 500;
  transition: background-color .2s, color .2s, transform .35s var(--mola);
}
.style-list span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: transparent; transition: background-color .2s, box-shadow .2s; }
.style-list label:hover span { background: var(--vidro-1); color: var(--espuma); }
.style-list label:active span { transform: scale(.98); }
.style-list input:checked + span { background: var(--vidro-3); color: var(--espuma); }
.style-list input:checked + span::after { background: var(--aureola-2); box-shadow: 0 0 10px rgba(243, 207, 122, .9); }
.style-list input:focus-visible + span, .segmented input:focus-visible + span { outline: 3px solid rgba(226, 176, 74, .7); outline-offset: 1px; }

.style-beard { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linha); }
.style-beard legend { font-size: .875rem; font-weight: 600; color: var(--espuma-3); }

/* controle segmentado, como no iOS */
.segmented { display: flex; padding: 3px; margin: 0 4px; border-radius: var(--r-pill); background: var(--vidro-2); box-shadow: inset 0 0 0 1px var(--linha); }
.segmented label { flex: 1; position: relative; cursor: pointer; }
.segmented label span {
  display: flex; align-items: center; justify-content: center; min-height: 36px;
  border-radius: var(--r-pill); color: var(--espuma-2); font-size: .9375rem; font-weight: 600;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.segmented input:checked + span { background: var(--espuma); color: var(--carvao); box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }

@media (max-width: 1180px) {
  .lab-stage { grid-template-columns: minmax(0, 1fr) 240px; }
  .lab-intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: end; }
  .lab-intro h2 { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .lab-lede { margin: 0 0 20px; }
  .lab-say { margin-bottom: 20px; }
  .lab-intro .btn { justify-self: start; }
}
/* tablet e celular: estilo em cima, busto no meio, detalhes embaixo */
@media (max-width: 1000px) {
  .lab-stage { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .lab-intro { display: contents; }
  .lab-intro h2 { order: 1; }
  .lab-lede { order: 2; margin: 18px 0 24px; }
  .style-panel { order: 3; padding: 16px 12px 14px; border-radius: var(--r-md); }
  .bust { order: 4; margin-top: 8px; }
  .lab-say { order: 5; margin: 28px 0 24px; }
  .lab-intro .btn { order: 6; align-self: flex-start; }

  .bust { aspect-ratio: auto; display: flex; flex-direction: column; width: 100%; max-width: 560px; align-self: center; }
  .bust-frame { position: relative; inset: auto; aspect-ratio: 1; order: 1; }
  .bust-caption { order: 2; position: relative; left: auto; bottom: auto; transform: none; align-self: center; margin-top: -40px; z-index: 1; }

  /* detalhes como lista agrupada */
  .tags {
    order: 3; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px;
    border-radius: var(--r-md); overflow: hidden; background: var(--linha); transform: none !important;
  }
  .tag { position: static; max-width: none; width: auto; border-radius: 0; background: var(--couro); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 12px 14px; }
  .tag::before, .tag::after { display: none; }

  .style-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .style-list legend { width: 100%; font-size: 1.25rem; }
  .style-list label { display: inline-block; }
  .style-list span { min-height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: var(--vidro-2); font-size: .9375rem; }
  .style-list span::after { display: none; }
  .style-list input:checked + span { background: var(--espuma); color: var(--carvao); }
  .style-beard { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .style-beard legend { float: left; margin: 0; padding: 0 6px; }
  .segmented { flex: 0 0 auto; min-width: 150px; margin: 0; }
}
@media (max-width: 1000px) and (min-width: 700px) {
  .lab-say, .lab-intro .btn { align-self: center; text-align: left; max-width: 560px; width: 100%; }
  .lab-intro .btn { width: auto; }
}

/* ---------- Agendar ---------- */
.barber-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.booking { background: var(--carvao-2); border-block: 1px solid var(--linha); overflow: clip; }
.booking-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 44px; }
.booking-head p { color: var(--espuma-2); max-width: 28em; }

.ticket {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  background: var(--couro); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--linha), var(--brilho), 0 60px 120px -60px rgba(0, 0, 0, .9);
}
.ticket-steps { padding: clamp(20px, 3.4vw, 40px); display: grid; gap: 36px; min-width: 0; border-right: 1px dashed var(--linha-forte); }
.ticket::before, .ticket::after {
  /* recortes de bilhete na linha pontilhada */
  content: ""; position: absolute; left: calc(100% - 340px - 13px); width: 26px; height: 26px;
  border-radius: 50%; background: var(--carvao-2);
}
.ticket::before { top: -13px; box-shadow: inset 0 -1px 0 var(--linha); }
.ticket::after { bottom: -13px; box-shadow: inset 0 1px 0 var(--linha); }

.step legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px;
  font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1;
}
.step-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(226, 176, 74, .14); color: var(--aureola-2);
  font-family: var(--body); font-size: .875rem; font-weight: 700;
}

/* indicador de seleção redondo, como o "check" do iOS */
.opt-check {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(242, 235, 221, .28);
  background: center / 15px no-repeat;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
@keyframes check-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

.barber-opt input:focus-visible + span { outline: 3px solid rgba(226, 176, 74, .7); outline-offset: 2px; }

.barber-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.barber-opt { position: relative; cursor: pointer; }
.barber-opt > span {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 44px 0 8px;
  border-radius: var(--r-pill); background: var(--vidro-1); box-shadow: inset 0 0 0 1px var(--linha);
  font-weight: 500; transition: background-color .2s, box-shadow .2s, transform .4s var(--mola);
}
.barber-opt .opt-check { right: 12px; top: 50%; margin-top: -11px; }
.barber-opt i {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex: none;
  font-style: normal; font-size: .9375rem;
  background: rgba(226, 176, 74, .14); color: var(--aureola-2);
}
.barber-opt i img { width: 100%; height: 100%; object-fit: cover; }
.barber-opt:hover > span { background: var(--vidro-2); }
.barber-opt:active > span { transform: scale(.98); }
.barber-opt input:checked + span { background: rgba(226, 176, 74, .12); box-shadow: inset 0 0 0 1.5px rgba(226, 176, 74, .75); }
.barber-opt input:checked + span .opt-check { background-color: var(--aureola); background-image: var(--check-escuro); box-shadow: none; animation: check-pop .4s var(--mola); }

.ticket-summary {
  position: sticky; top: 84px; align-self: start;
  padding: clamp(22px, 3vw, 34px);
  display: flex; flex-direction: column;
}
.summary-halo {
  width: 72px; height: 18px; border: 2.5px solid var(--aureola); border-radius: 50%;
  box-shadow: 0 0 16px rgba(226, 176, 74, .55), inset 0 0 8px rgba(226, 176, 74, .4);
  margin-bottom: 18px; transform: rotate(-6deg);
}
.ticket-summary h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: 18px; }
.summary-list { margin: 0 0 20px; display: grid; gap: 12px; }
.summary-list dt { font-size: .8125rem; color: var(--espuma-3); }
.summary-list dd { margin: 2px 0 0; font-weight: 600; }
.summary-list dd.is-empty { color: var(--espuma-3); font-weight: 400; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px; border-top: 1px solid var(--linha); margin: 4px 0 18px;
}
.summary-total span { color: var(--espuma-2); }
.summary-total strong { font-family: var(--display); font-size: 2.5rem; font-weight: 800; color: var(--aureola-2); line-height: 1; font-variant-numeric: tabular-nums; }
.summary-wa { margin-top: 10px; }
.summary-help { font-size: .8125rem; color: var(--espuma-3); margin-top: 12px; text-align: center; text-wrap: balance; }
.summary-help.is-error { color: #F0A59B; }
.summary-help.is-done { color: #A9DDB1; }
.summary-help a { color: var(--aureola-2); font-weight: 600; }
/* nome e WhatsApp do cliente, logo antes do botão */
.client-fields { display: grid; gap: 10px; margin: 0 0 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .8125rem; color: var(--espuma-3); }
.field input {
  min-height: 48px; padding: 0 14px; border: 0; border-radius: var(--r-sm);
  background: var(--vidro-1); box-shadow: inset 0 0 0 1px var(--linha-forte);
  font-size: 1rem; color: var(--espuma); transition: box-shadow .2s var(--ease);
}
.field input::placeholder { color: var(--espuma-3); opacity: .7; }
.field input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--aureola); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--poste-2); }
.summary-privacy { margin-top: 10px; text-align: center; font-size: .75rem; color: var(--espuma-3); text-wrap: balance; }
.summary-privacy a { color: inherit; }
.summary-alt { display: block; margin-top: 14px; text-align: center; font-size: .875rem; color: var(--espuma-2); text-decoration: none; }
.summary-alt:hover { color: var(--aureola-2); }
.btn-gold[aria-disabled="true"] { filter: saturate(.55) brightness(.82); box-shadow: inset 0 1px 0 rgba(255, 244, 214, .3); }
.btn[aria-busy="true"] { cursor: progress; opacity: .85; }

/* dias e horários */
.day input, .slot input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.days {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px 2px 12px; margin: -4px -2px 6px; scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day { position: relative; flex: none; cursor: pointer; }
.day span {
  display: grid; justify-items: center; gap: 2px; width: 62px; padding: 10px 0;
  border-radius: var(--r-sm); background: var(--vidro-1); box-shadow: inset 0 0 0 1px var(--linha);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .4s var(--mola);
}
.day small { font-size: .75rem; color: var(--espuma-3); }
.day b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.day:hover span { background: var(--vidro-2); }
.day:active span { transform: scale(.95); }
.day input:checked + span { background: var(--espuma); color: var(--carvao); box-shadow: none; }
.day input:checked + span small { color: rgba(28, 25, 22, .62); }
.day input:disabled + span { opacity: .35; cursor: not-allowed; }
.day input:focus-visible + span, .slot input:focus-visible + span { outline: 3px solid rgba(226, 176, 74, .7); outline-offset: 2px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; min-height: 102px; align-content: start; }
.slot { position: relative; cursor: pointer; }
.slot span {
  display: grid; place-items: center; align-content: center; gap: 1px; min-height: 48px;
  border-radius: var(--r-xs); box-shadow: inset 0 0 0 1px var(--linha-forte);
  font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .4s var(--mola);
}
.slot span small { font-size: .6875rem; font-weight: 500; line-height: 1; }
.slot:hover span { background: var(--vidro-2); }
.slot:active span { transform: scale(.95); }
.slot input:checked + span {
  background: linear-gradient(180deg, #EDC15E, var(--aureola)); color: #1E1608;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .45), 0 10px 24px -12px rgba(226, 176, 74, .8);
}
.slot.is-busy { cursor: not-allowed; }
.slot.is-busy span { color: var(--espuma-3); box-shadow: inset 0 0 0 1px var(--linha); opacity: .6; }
.slot.is-busy:hover span { background: none; }
.slot-skel {
  min-height: 48px; border-radius: var(--r-xs);
  background: linear-gradient(90deg, var(--vidro-1), var(--vidro-3), var(--vidro-1)); background-size: 200% 100%;
  animation: skel 1.1s linear infinite;
}
@keyframes skel { to { background-position: -200% 0; } }
.slots-empty { grid-column: 1 / -1; color: var(--espuma-3); padding: 10px 0; }
.slots-empty .link-btn { min-height: 0; }
@media (max-width: 600px) { .slots { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); } }

@media (max-width: 960px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket-steps { border-right: 0; border-bottom: 1px dashed var(--linha-forte); }
  .ticket-summary { position: static; }
}

/* celular: escolhas como lista agrupada do iOS */
@media (max-width: 600px) {
  .ticket { border-radius: var(--r-md); margin-inline: -4px; }
  .ticket-steps { padding: 18px 14px 22px; gap: 28px; }
  .step legend { font-size: 1.5rem; margin-bottom: 12px; }

  .barber-pick {
    display: flex; flex-direction: column; gap: 0;
    border-radius: var(--r-sm); overflow: hidden; background: var(--vidro-1); box-shadow: inset 0 0 0 1px var(--linha);
  }
  .barber-opt + .barber-opt > span { box-shadow: inset 0 1px 0 var(--linha); }
  .barber-opt { display: block; }
  .barber-opt > span { display: flex; width: 100%; min-height: 56px; padding: 0 50px 0 12px; border-radius: 0; background: transparent; box-shadow: none; }
  .barber-opt .opt-check { right: 16px; }
  .barber-opt:active > span { transform: none; background: var(--vidro-2); }
  .barber-opt input:checked + span { background: rgba(226, 176, 74, .1); box-shadow: none; }
  .barber-opt + .barber-opt input:checked + span { box-shadow: inset 0 1px 0 var(--linha); }

  .ticket-summary { padding: 22px 16px 20px; }
  .summary-halo { width: 56px; height: 14px; margin-bottom: 14px; }
  .ticket-summary h3 { font-size: 1.75rem; margin-bottom: 14px; }
  .summary-list { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .summary-list > [data-sum-style-row], .summary-list > .summary-when { grid-column: 1 / -1; }
}

/* ---------- Planos ---------- */
.plans-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 44px; }
.plans-head p { color: var(--espuma-2); max-width: 28em; }
.plans-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.plan {
  display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: var(--r-lg);
  background: var(--couro); box-shadow: inset 0 0 0 1px var(--linha), var(--brilho);
}
.plan.is-featured {
  background: linear-gradient(160deg, rgba(226, 176, 74, .16), rgba(226, 176, 74, .03)), var(--couro);
  box-shadow: inset 0 0 0 1.5px rgba(226, 176, 74, .55), var(--sombra, var(--brilho));
}
.plan-name { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.875rem; line-height: 1; text-wrap: balance; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.plan-price strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.75rem, 5vw, 3.5rem); line-height: .9; color: var(--aureola-2); font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--espuma-2); font-weight: 500; }
.plan-desc { color: var(--espuma-2); font-size: .9375rem; line-height: 1.5; }
.plan-inc {
  flex: 1; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--linha);
  display: grid; align-content: start; gap: 8px; font-size: .9375rem;
}
.plan-inc li { display: flex; align-items: center; gap: 10px; }
.plan-inc li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: rgba(226, 176, 74, .2) var(--check-escuro) center / 13px no-repeat;
}
.plan .btn { margin-top: 6px; }

/* ---------- Barbeiros ---------- */
.team h2 { margin-bottom: 52px; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.barber-photo {
  aspect-ratio: 1 / 1.2; margin-bottom: 20px; overflow: hidden; position: relative;
  border-radius: 50% 50% var(--r-sm) var(--r-sm) / 36% 36% var(--r-sm) var(--r-sm);
  background: var(--couro);
  box-shadow: 0 0 0 1px rgba(226, 176, 74, .45), 0 0 0 7px var(--carvao), 0 0 0 8px rgba(226, 176, 74, .2), 0 40px 70px -40px rgba(0, 0, 0, .9);
}
.barber-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) contrast(1.06) sepia(.12);
  transition: transform .9s var(--mola), filter .5s var(--ease);
}
/* barbeiro novo, ainda sem foto no painel: as iniciais no lugar */
.barber-photo-ini {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); color: var(--aureola-2);
}
.barber-photo::after {
  /* luz quente de baixo, para unir fotos tiradas em lugares diferentes */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 25, 22, 0) 55%, rgba(28, 25, 22, .55)), linear-gradient(180deg, rgba(226, 176, 74, .06), rgba(226, 176, 74, .1));
}
.barber:hover .barber-photo img { transform: scale(1.03); filter: saturate(1) contrast(1.06) sepia(.05); }
.barber h3 { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; margin-bottom: 6px; }
.barber-ig { display: inline-block; color: var(--espuma-2); text-decoration: none; margin-bottom: 4px; }
.barber-ig:hover { color: var(--aureola-2); }
.barber .link-btn { display: flex; }

/* tablet e celular: carrossel com o próximo cartão aparecendo */
@media (max-width: 860px) {
  .team h2 { margin-bottom: 36px; }
  .team-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(46%, 300px);
    gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 14px;
    scrollbar-width: none;
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .barber { scroll-snap-align: start; }
  .barber h3 { font-size: 1.875rem; }
}
@media (max-width: 560px) {
  .team-grid { grid-auto-columns: 76%; }
}

/* ---------- Visite ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.address { font-style: normal; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.35; margin: 24px 0 28px; color: var(--espuma); }
.address-note { display: block; font-size: 1rem; color: var(--espuma-3); margin-top: 8px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* contatos como lista agrupada */
.contact {
  margin: 0 0 28px; padding: 0 18px; border-radius: var(--r-md);
  background: var(--vidro-1); box-shadow: inset 0 0 0 1px var(--linha);
}
.contact div { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 52px; padding: 12px 0; }
.contact div + div { border-top: 1px solid var(--linha); }
.contact dt { color: var(--espuma-3); }
.contact dd { margin: 0; text-align: right; font-weight: 500; }
.contact a { text-decoration: none; color: var(--aureola-2); }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map {
  position: relative; aspect-ratio: 4 / 3.6; border-radius: var(--r-lg); overflow: hidden;
  background: var(--couro);
  box-shadow: 0 0 0 1px var(--linha), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(.9) hue-rotate(180deg) saturate(.55) sepia(.25) contrast(.92);
}
@media (max-width: 860px) {
  .visit-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
}
@media (max-width: 600px) {
  .visit-actions .btn { flex: 1 1 0; padding-inline: 14px; }
  .contact { padding: 0 14px; }
  .contact div { gap: 12px; }
  .contact dd { font-size: .9375rem; }
}

/* ---------- Rodapé ---------- */
.footer { padding: clamp(64px, 10vw, 120px) var(--gutter) 32px; border-top: 1px solid var(--linha); overflow: hidden; }
.footer-mark { width: min(100%, 880px); margin: 0 auto clamp(40px, 6vw, 72px); }
.footer-row { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; max-width: 1180px; margin-inline: auto; padding-right: 76px; color: var(--espuma-3); font-size: .875rem; }
.footer-row a { color: var(--espuma-2); text-decoration: none; }
.footer-row a:hover { color: var(--aureola-2); }
@media (max-width: 760px) { .footer-row { padding-right: 0; } }

/* ---------- WhatsApp flutuante (só em telas maiores; no celular o botão do topo já leva ao agendamento) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #EDC15E, var(--aureola)); color: #1E1608;
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .45), 0 14px 34px -10px rgba(0, 0, 0, .8);
  transition: transform .4s var(--mola), filter .2s;
}
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }
.wa-float:hover { filter: brightness(1.06); }
.wa-float:active { transform: scale(.92); }
@media (max-width: 760px) { .wa-float { display: none; } }

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

/* =====================================================================
   Tema claro (landing e painel: <html class="tema-claro">)
   Os nomes dos tokens continuam os mesmos; só os valores mudam:
   carvão = fundo da página, couro = cartões, espuma = texto.
   O dourado da auréola segue igual; para texto, um dourado mais escuro que lê bem no claro.
   ===================================================================== */
html.tema-claro {
  --carvao: #FAF8F4;
  --carvao-2: #F3EFE8;
  --couro: #FFFFFF;
  --couro-2: #F6F2EC;
  --linha: rgba(28, 25, 22, .09);
  --linha-forte: rgba(28, 25, 22, .18);
  --espuma: #1C1916;
  --espuma-2: #5A5148;
  --espuma-3: #74695C;
  --aureola-2: #94660E;
  --vidro-1: rgba(28, 25, 22, .03);
  --vidro-2: rgba(28, 25, 22, .055);
  --vidro-3: rgba(28, 25, 22, .085);
  --brilho: inset 0 1px 0 rgba(255, 255, 255, .7);
  --sombra: 0 30px 60px -36px rgba(74, 52, 18, .28);
  --check-escuro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8.2' fill='none' stroke='%23231A0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}
.tema-claro .skip { color: #1E1608; }
.tema-claro .link-btn:hover { text-decoration-color: rgba(148, 102, 14, .4); }
.tema-claro .wm-halo { filter: none; }

.tema-claro .nav.is-scrolled { background: rgba(250, 248, 244, .8); }
@media (max-width: 860px) {
  .tema-claro .nav-links { background: rgba(250, 248, 244, .97); }
}
.tema-claro .hero::before { background: radial-gradient(closest-side, rgba(226, 176, 74, .18), rgba(226, 176, 74, 0)); }

/* botões dourados: sombra mais suave, sem halo escuro */
.tema-claro .btn-gold,
.tema-claro .slot input:checked + span {
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .6), 0 10px 22px -14px rgba(160, 110, 20, .7);
}
.tema-claro .btn-ghost { background: var(--couro); box-shadow: inset 0 0 0 1px var(--linha-forte), 0 1px 2px rgba(28, 25, 22, .05); }
.tema-claro .btn-ghost:hover { background: var(--couro-2); }
.tema-claro .wa-float { box-shadow: inset 0 1px 0 rgba(255, 244, 214, .6), 0 14px 30px -12px rgba(120, 80, 10, .55); }

/* serviços: cartões brancos; o busto ao fundo vira um esboço claro */
.tema-claro .svc-tile-btn { background: var(--couro); box-shadow: inset 0 0 0 1px var(--linha), 0 1px 2px rgba(28, 25, 22, .04); }
.tema-claro .svc-tile-btn:hover { box-shadow: inset 0 0 0 1px var(--linha-forte), var(--sombra); }
.tema-claro .svc-tile-bust { filter: invert(1) grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .16; }
.tema-claro .svc-tile.is-selected .svc-tile-bust { filter: none; mix-blend-mode: normal; }
.tema-claro .opt-check { box-shadow: inset 0 0 0 1.5px rgba(28, 25, 22, .25); }

/* estilos: o busto fica numa vitrine escura (as fotos têm fundo escuro); o resto da seção é clara */
.tema-claro .bust {
  --carvao: #1C1916; --couro: #25201B; --linha: rgba(242, 235, 221, .10);
  --espuma: #F2EBDD; --espuma-2: #BDB3A3; --espuma-3: #8C8273; --aureola-2: #F3CF7A;
  --brilho: inset 0 1px 0 rgba(255, 255, 255, .05);
  color: var(--espuma);
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #2A241E, #1B1A16 70%);
  border-radius: var(--r-lg);
  box-shadow: var(--sombra), 0 0 0 1px rgba(28, 25, 22, .06);
}
.tema-claro .bust-frame { -webkit-mask-image: none; mask-image: none; border-radius: var(--r-lg); overflow: hidden; }
.tema-claro .style-panel { background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--linha), var(--sombra); }
.tema-claro .style-list input:checked + span::after { box-shadow: none; }
.tema-claro .segmented input:checked + span { box-shadow: 0 3px 10px rgba(28, 25, 22, .18); }

/* agenda */
.tema-claro .ticket { box-shadow: inset 0 0 0 1px var(--linha), 0 60px 120px -60px rgba(74, 52, 18, .3); }
.tema-claro .day input:checked + span small { color: rgba(250, 248, 244, .7); }
.tema-claro .summary-help.is-error { color: #B3392E; }
.tema-claro .summary-help.is-done { color: #2E7D46; }
.tema-claro .btn-gold[aria-disabled="true"] { filter: saturate(.5) brightness(.95); opacity: .7; }

/* barbeiros e mapa */
.tema-claro .barber-photo { box-shadow: 0 0 0 1px rgba(226, 176, 74, .55), 0 0 0 7px var(--carvao), 0 0 0 8px rgba(226, 176, 74, .3), 0 40px 70px -40px rgba(74, 52, 18, .45); }
.tema-claro .barber-photo::after { background: linear-gradient(180deg, rgba(226, 176, 74, .04), rgba(226, 176, 74, .08)); }
.tema-claro .map { box-shadow: 0 0 0 1px var(--linha), var(--sombra); }
.tema-claro .map iframe { filter: saturate(.7) sepia(.12); }
/* as etiquetas saem da vitrine: ficam brancas, como balões sobre a foto e a página */
.tema-claro .bust .tags {
  --linha: rgba(28, 25, 22, .09); --espuma: #1C1916; --espuma-3: #74695C; --aureola-2: #94660E;
  --brilho: inset 0 1px 0 rgba(255, 255, 255, .7);
  color: var(--espuma);
}
.tema-claro .tag {
  max-width: min(28%, 210px);
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 0 0 1px rgba(226, 176, 74, .45), 0 16px 32px -18px rgba(28, 25, 22, .5);
}
.tema-claro .tag::after { background: #F3CF7A; box-shadow: 0 0 10px rgba(243, 207, 122, .9); }
.tema-claro .tag-sides, .tema-claro .tag-back { max-width: calc(24% + 20px); }
.tema-claro .bust-frame { isolation: isolate; }   /* sem a máscara, a foto (z-index 2) passaria por cima das etiquetas */
.tema-claro .bust .tags, .tema-claro .bust-caption { z-index: 3; }
/* telas menores: a vitrine escura fica só na foto; os detalhes viram uma lista branca embaixo */
@media (max-width: 1000px) {
  .tema-claro .bust { background: none; box-shadow: none; border-radius: 0; }
  .tema-claro .bust-frame {
    background: radial-gradient(ellipse 70% 60% at 50% 40%, #2A241E, #1B1A16 70%);
    box-shadow: var(--sombra), 0 0 0 1px rgba(28, 25, 22, .06);
  }
  .tema-claro .bust .tags { box-shadow: inset 0 0 0 1px var(--linha); }
  .tema-claro .tag { max-width: none; background: #fff; box-shadow: none; }
}
