/* Studio Prime, parte 1 (hero).
   Layout: foto em tela cheia em preto e branco, topo com marca + WhatsApp + menu, bloco de texto ancorado embaixo.
   Animação de entrada: foto surge do preto, depois botões do topo e bloco de texto sobem suavemente. */
:root {
  --bg: #050505;
  --surface: #0B0B0B;
  --line: #292929;
  --fg: #F4F1EC;
  --muted: #C9C4BC;
  --btn: #C9A24A;
  --btn-hover: #E0BE6A;
  --accent: #D4AF5A;
  --card: #171717;
  --pad: clamp(20px, 5vw, 64px);
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--btn-hover); outline-offset: 3px; }

/* topo */
.bar {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gut-r) 16px var(--gut);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: auto;
  font-size: 20px; font-weight: 300; letter-spacing: .01em;
  animation: fade 1s ease .5s both;
}
.nav { display: none; gap: 32px; font-size: 15px; font-weight: 400; animation: fade 1s ease .6s both; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.actions { display: flex; align-items: center; gap: 12px; }
.wa {
  width: 60px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn); border-radius: 4px; color: #0B0B0B;
  transition: background .25s;
  animation: rise-sm 1s var(--ease) .55s both;
}
.wa:hover { background: var(--btn-hover); color: #0B0B0B; }
.burger {
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #0B0B0B;
  transition: background .35s, color .35s;
  animation: rise-sm 1s var(--ease) .65s both;
}
.is-scrolled .burger { background: transparent; color: var(--fg); }

/* barra após rolar */
.bar { transition: background .35s, backdrop-filter .35s, padding .35s; }
.is-scrolled { background: rgba(5,5,5,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav a { padding: 6px 0; box-shadow: 0 2px 0 transparent; }
.nav a.is-active { color: var(--fg); box-shadow: 0 2px 0 var(--accent); }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh; min-height: max(100svh, 640px);
  display: flex; align-items: flex-end;
  background: var(--bg);
}
.bg { position: absolute; inset: 0; animation: fade 1s ease both; }
.bg img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: 38% 30%;
  filter: grayscale(1) contrast(1.08) brightness(.82);
  animation: settle 2.6s var(--ease) both;
}
.shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,0) 22%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.72) 34%, rgba(5,5,5,0) 62%);
}

.copy {
  position: relative; z-index: 2;
  width: 100%; max-width: 640px;
  padding: 0 var(--gut-r) clamp(84px, 19svh, 190px) var(--gut);
  animation: rise 1.15s var(--ease) .5s both;
}
.copy h1 {
  margin: 0 0 16px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(36px, 9.5vw, 72px); line-height: 1.12; letter-spacing: -.005em;
  text-wrap: balance;
}
.copy p { margin: 0 0 30px; max-width: 34ch; font-size: 17px; line-height: 1.5; color: var(--muted); }
.cta {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px;
  background: var(--btn); color: #0B0B0B; border-radius: 4px;
  font-size: 19px; font-weight: 400; transition: background .25s, color .25s;
}
.cta:hover { background: var(--btn-hover); color: #0B0B0B; }

.down {
  position: absolute; z-index: 2; left: 50%; bottom: 14px; translate: -50% 0;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg); opacity: .8; animation: fade 1s ease 1.4s both, bob 2.2s ease-in-out 2.4s infinite;
}

/* menu em tela cheia */
.menu {
  position: fixed; inset: 0; z-index: 30; background: var(--surface);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 80px var(--gut-r) 40px var(--gut);
}
.menu[hidden] { display: none; }
.menu a { font-family: var(--serif); font-size: 32px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu a:hover { color: var(--btn-hover); }
.menu .x {
  position: absolute; top: 16px; right: var(--gut-r); width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: #fff; color: #0B0B0B; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(240px); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  .bar *, .brand, .nav, .bg, .bg img, .copy, .down { animation: none !important; }
}

/* computador */
@media (min-width: 900px) {
  .bar { padding: 22px max(40px, var(--gut-r)) 22px max(40px, var(--gut)); }
  .nav { display: flex; }
  .burger { display: none; }
  .bg { left: auto; width: 64%; }
  .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(5,5,5,.6) 28%, rgba(5,5,5,0) 70%); }
  .bg img { object-position: 45% 30%; }
  .copy { padding-left: max(40px, var(--gut)); padding-bottom: clamp(72px, 14svh, 150px); max-width: 720px; }
  .copy h1 { font-size: clamp(56px, 6.4vw, 88px); }
  .copy p { font-size: 18px; }
  .down { left: max(40px, var(--gut)); translate: 0 0; justify-content: flex-start; }
}

/* ---------- seções ---------- */
.sec {
  padding-block: clamp(72px, 10vw, 128px);
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
  scroll-margin-top: 56px;
}
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; text-wrap: balance; }
.lead { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  background: var(--btn); color: #0B0B0B; border: 0; border-radius: 4px; cursor: pointer;
  font: 400 18px var(--sans); transition: background .25s, color .25s;
}
.btn:hover { background: var(--btn-hover); color: #0B0B0B; }
.btn-line { background: transparent; border: 1px solid var(--line); color: var(--fg); }
.btn-line:hover { background: var(--btn); border-color: var(--btn); color: #0B0B0B; }

.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* artistas */
.sec-art { background: var(--surface); border-top: 1px solid var(--line); }
.art-grid { display: grid; gap: 56px; align-items: center; }
.art-grid .btn { margin-top: 32px; }
.stage { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 22px); }
.circ { flex: none; border-radius: 50%; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: #4a4742; }
.circ img { width: 100%; height: 100%; object-fit: cover; display: block; }
.circ svg { width: 56%; height: 56%; }
.circ.side { width: clamp(64px, 14vw, 120px); aspect-ratio: 1; opacity: .4; }
.circ.side img { filter: grayscale(1); }
.circ.main { width: clamp(150px, 34vw, 230px); aspect-ratio: 1; border: 2px solid var(--fg); }
.arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s;
}
.arrow:hover { background: var(--btn); border-color: var(--btn); }
.arrow[disabled] { opacity: .35; cursor: default; }
.arrow[disabled]:hover { background: transparent; border-color: var(--line); }
.who { margin-top: 28px; text-align: center; }
.who h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 22px; }
.who .role { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.who .bio { margin: 0 auto; max-width: 36ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.swap { animation: fade .5s ease both; }

/* portfólio */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 28px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: 600 14px var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { color: var(--fg); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: #0B0B0B; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--card); border: 1px dashed var(--line); border-radius: 4px; overflow: hidden; animation: fade .5s ease both; }
.tile:has(img) { border-style: solid; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #5a564f; font-size: 13px; }
.tile figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(5,5,5,.8); font-size: 12px; font-weight: 600; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.pager span { font-size: 14px; color: var(--muted); min-width: 56px; text-align: center; }

/* avaliações */
.sec-rev { background: var(--surface); border-top: 1px solid var(--line); }
.rev { position: relative; max-width: 880px; margin: 40px auto 36px; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.rev .sk { height: 10px; border-radius: 6px; background: #292929; margin-bottom: 14px; }
.rev .av { width: 84px; height: 84px; border-radius: 50%; background: #292929; }
.rev .over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; background: rgba(23,23,23,.9); border-radius: 6px; }
.rev .over strong { font-family: var(--serif); font-size: 20px; }
.rev .over span { font-size: 15px; color: var(--muted); }

/* contato */
.ct-grid { display: grid; gap: 40px; margin-top: 44px; }
.info { margin: 0; display: grid; gap: 26px; }
.info dt { margin-bottom: 6px; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.info dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.info a:hover { color: var(--fg); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.map { position: relative; min-height: 300px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .tag { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 4px; background: rgba(5,5,5,.85); font-size: 14px; color: var(--muted); }

/* rodapé */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 28px; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.foot-grid { display: grid; gap: 36px; }
.foot h4 { margin: 0 0 14px; font-family: var(--serif); font-size: 16px; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.foot li a, .foot li span { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--muted); }
.foot li a:hover { color: var(--fg); }
.foot .name { font-size: 20px; font-weight: 300; margin: 0 0 12px; }
.foot .small { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: var(--muted); }
.foot-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.social { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--fg); transition: background .25s, border-color .25s; }
.social:hover { background: var(--btn); border-color: var(--btn); }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .art-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .ct-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
@media (max-width: 899px) {
  .art-grid .text { text-align: center; }
  .art-grid .text .lead { margin-inline: auto; }
  .rev { grid-template-columns: 1fr; padding: 24px; }
  .rev .av { display: none; }
}

@media (max-width: 559px) {
  .circ.side { display: none; }
  .stage { gap: 16px; }
}
.arrow[hidden],.circ[hidden],.bio[hidden]{display:none}
.map .tag{display:block;color:var(--fg)}


/* equipe por área */
.areas { display: grid; gap: 20px; margin-top: 48px; }
.area { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 40px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.area-t { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--accent); }
.pessoas { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.pessoa { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pessoa .circ.main { width: clamp(120px, 30vw, 170px); }
.pessoa figcaption { display: flex; flex-direction: column; gap: 4px; }
.pessoa strong { font-family: var(--serif); font-size: 18px; }
.pessoa span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.area .btn { margin-top: auto; }
@media (min-width: 800px) { .areas { grid-template-columns: 1fr 1.4fr; } }

/* agendamento */
.ag { max-width: 860px; margin: 48px auto 0; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.tab { min-height: 48px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font: 600 16px var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.tab:hover { color: var(--fg); }
.tab[aria-pressed="true"] { background: var(--btn); color: #0B0B0B; }
.note { margin: 16px 0 0; padding: 12px 16px; border: 1px dashed var(--line); border-radius: 4px; font-size: 14px; color: var(--muted); }
.step { margin-top: 32px; }
.step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--serif); font-size: 18px; }
.step h3 span { width: 28px; height: 28px; border-radius: 50%; background: var(--btn); color: #0B0B0B; font: 700 14px var(--sans); display: inline-flex; align-items: center; justify-content: center; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.opt { text-align: left; min-height: 64px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; color: var(--fg); cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: 400 15px var(--sans); transition: border-color .2s, background .2s; }
.opt strong { font-weight: 700; }
.opt span { font-size: 13px; color: var(--muted); }
.opt:hover { border-color: var(--accent); }
.opt[aria-pressed="true"] { border-color: var(--btn); background: rgba(201,162,74,.12); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.day { flex: none; width: 84px; scroll-snap-align: start; padding: 10px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; color: var(--fg); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--sans); }
.day strong { font-size: 22px; }
.day .dw { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.day .dn { font-size: 11px; color: var(--accent); }
.day:hover:not(:disabled) { border-color: var(--accent); }
.day[aria-pressed="true"] { border-color: var(--btn); background: rgba(201,162,74,.14); }
.day:disabled { opacity: .4; cursor: default; }
.day:disabled .dn { color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--fg); font: 600 15px var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: #0B0B0B; }
.msg { margin: 0; color: var(--muted); font-size: 15px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.form { display: grid; gap: 16px; max-width: 480px; }
.form .resumo { margin: 0; padding: 14px 16px; background: var(--card); border-left: 3px solid var(--btn); border-radius: 4px; font-size: 15px; line-height: 1.5; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input { min-height: 48px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: var(--fg); font: 400 17px var(--sans); }
.form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .err { margin: 0; min-height: 1.2em; font-size: 14px; color: #F08A7A; }
.ok { margin-top: 32px; padding: 28px; background: var(--card); border: 1px solid var(--btn); border-radius: 8px; display: grid; gap: 14px; justify-items: start; }
.ok h3 { margin: 0; font-family: var(--serif); font-size: 24px; color: var(--accent); }
.ok p { margin: 0; }
[hidden] { display: none !important; }

/* agendamento da barbearia */
.ag:has(.bk:not([hidden])) { max-width: 1320px; }
.bk { margin-top: 28px; display: grid; gap: 28px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.bk-h { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 16px var(--sans); }
.bk-h svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bk-sub { margin: 22px 0 12px; font: 700 15px var(--sans); }
.bk-list { display: grid; gap: 10px; }
.bk-opt { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: var(--fg); cursor: pointer; font-family: var(--sans); transition: border-color .2s, background .2s; }
.bk-opt:hover { border-color: var(--accent); }
.bk-opt[aria-checked="true"] { border-color: var(--btn); background: rgba(201,162,74,.1); }
.bk-t { flex: 1; display: grid; gap: 3px; min-width: 0; }
.bk-t strong { font-size: 16px; font-weight: 700; }
.bk-t small { font-size: 13px; color: var(--muted); }
.bk-av { flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: #1f1f1f; border: 1px solid var(--line); color: #5a564f; display: flex; align-items: center; justify-content: center; }
.bk-av svg { width: 70%; height: 70%; }
.bk-ck { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #4a4742; position: relative; }
.bk-opt[aria-checked="true"] .bk-ck { background: var(--btn); border-color: var(--btn); }
.bk-opt[aria-checked="true"] .bk-ck::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #0B0B0B; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bk-lock { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 15px; }
.cal-n { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--fg); font-size: 22px; cursor: pointer; }
.cal-n:hover:not(:disabled) { background: #292929; }
.cal-n:disabled { opacity: .3; cursor: default; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-w { font-size: 11px; letter-spacing: .06em; color: var(--muted); padding: 4px 0; }
.cal-d { aspect-ratio: 1; min-height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--fg); font: 600 14px var(--sans); cursor: pointer; }
.cal-d:hover:not(:disabled) { background: #292929; }
.cal-d:disabled { color: #4a4742; cursor: default; font-weight: 400; }
.cal-d.hoje:not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1px var(--line); }
.cal-d[aria-pressed="true"] { background: var(--btn); color: #0B0B0B; }
.cal .msg { margin-top: 12px; font-size: 13px; }
.sum { margin: 0 0 18px; display: grid; gap: 0; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; text-align: right; font-weight: 600; }
.sum dd.vazio { color: #4a4742; font-weight: 400; }
.bk-form { display: grid; gap: 12px; }
.bk-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bk-form input { min-height: 46px; padding: 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; color: var(--fg); font: 400 16px var(--sans); }
.bk-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bk-form .err { margin: 0; min-height: 1.2em; font-size: 13px; color: #F08A7A; }
.bk-form .btn { width: 100%; font-size: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bk-form .btn:disabled { opacity: .45; cursor: default; }
.bk-sum .ok { margin-top: 0; }
@media (min-width: 760px) { .bk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .bk { grid-template-columns: 1fr 1.05fr 1.15fr 1fr; gap: 20px; } .bk-col + .bk-col { border-left: 1px solid var(--line); padding-left: 20px; } }
.bk-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brand-mark { height: 46px; width: auto; display: block; }
@media (min-width: 900px) { .brand-mark { height: 52px; } }
.pessoa .circ.main { border-radius: 18px; }
.btn-wa { width: 100%; }


/* ===== animações do agendamento ===== */
.bk-opt, .cal-d, .slot, .cal-n, .bk-form .btn, .btn-wa, .btn-line, .tab { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; transition: transform .16s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s; }
.bk-opt:active, .slot:active, .bk-form .btn:not(:disabled):active, .btn-wa:active, .btn-line:active, .tab:active { transform: scale(.97); }
.cal-d:active:not(.off), .cal-n:active:not(:disabled) { transform: scale(.88); }
.rip { position: absolute; border-radius: 50%; background: rgba(224,190,106,.38); transform: scale(0); opacity: 1; pointer-events: none; animation: rip .62s ease-out forwards; }
.slot[aria-pressed="true"] .rip, .cal-d[aria-pressed="true"] .rip, .bk-form .btn .rip { background: rgba(255,255,255,.4); }
@keyframes rip { to { transform: scale(1); opacity: 0; } }

.bk-opt[aria-checked="true"] { animation: pop .38s var(--ease); }
.bk-opt[aria-checked="true"] .bk-ck::after { animation: tick .3s .08s ease-out both; }
.cal-d[aria-pressed="true"], .slot[aria-pressed="true"] { animation: pop .34s var(--ease); box-shadow: 0 0 0 4px rgba(201,162,74,.18); }
@keyframes pop { 0% { transform: scale(.94); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes tick { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }

.cal-d.off { color: #4a4742; font-weight: 400; cursor: not-allowed; }
.cal-d.off:active { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.cal-g { animation: fade .35s ease both; }
.slot { animation: slotin .38s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes slotin { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.cal .msg.dica { color: var(--accent); }
.cal .msg.flash { animation: flash .5s ease; }
@keyframes flash { 0% { opacity: 0; transform: translateY(-4px); } 100% { opacity: 1; transform: none; } }

.bk-form .btn:not(:disabled) { animation: glow 2.4s ease-in-out 2; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,74,0); } 50% { box-shadow: 0 0 0 6px rgba(201,162,74,.22); } }
.bk-form .btn.carregando { pointer-events: none; background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); background-size: 220% 100%; animation: shine 1.1s linear infinite; }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.ok { animation: pop .5s var(--ease); }
.ok-ico { display: block; width: 56px; height: 56px; margin: 0; border-radius: 50%; background: var(--btn); position: relative; animation: pop .55s .05s var(--ease) both; }
.ok-ico::after { content: ""; position: absolute; left: 21px; top: 13px; width: 14px; height: 26px; border: solid #0B0B0B; border-width: 0 4px 4px 0; transform: rotate(45deg); animation: tick .4s .3s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  .bk-opt, .cal-d, .slot, .cal-g, .ok, .ok-ico, .cal .msg.flash, .bk-form .btn { animation: none !important; }
  .bk-opt:active, .slot:active, .cal-d:active, .tab:active { transform: none; }
}

.bk-form .tel-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.bk-form .tel-row input { width: 100%; }
#ttDdd, #bkDdd { text-align: center; letter-spacing: .08em; }


/* ===== avaliações ===== */
.av-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; margin-top: 40px; align-items: start; }
.av-left { display: grid; gap: 14px; justify-items: stretch; }
.av-left > .btn { justify-self: center; }
.av-sum { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.av-sum strong { font: 700 44px/1 var(--serif); color: var(--accent); }
.av-sum > div { display: grid; gap: 6px; }
.av-sum span:not(.stars):not(.st) { font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars .st { width: 18px; height: 18px; display: block; }
.stars .st svg, .av-pick .pk svg { width: 100%; height: 100%; display: block; fill: transparent; stroke: #5a564f; stroke-width: 1.6; stroke-linejoin: round; transition: fill .2s, stroke .2s, transform .2s var(--ease); }
.stars .st.on svg { fill: var(--accent); stroke: var(--accent); }
.av-list { display: grid; gap: 12px; }
.av-card { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; animation: slotin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); text-align: left; }
.av-top { display: flex; align-items: center; gap: 12px; }
.av-ini { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,162,74,.14); color: var(--accent); font: 700 16px var(--sans); }
.av-who { flex: 1; min-width: 0; display: grid; gap: 1px; }
.av-who strong { font-size: 15px; overflow-wrap: anywhere; }
.av-who small { font-size: 12px; color: var(--muted); }
.av-card p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--fg); overflow-wrap: anywhere; }
.av-vazio { padding: 36px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; display: grid; gap: 6px; }
.av-vazio strong { font: 700 18px var(--serif); }
.av-vazio span { color: var(--muted); font-size: 15px; }

.av-form, .av-ok { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-align: left; }
.av-ok { border-color: var(--btn); }
.av-form { display: grid; gap: 14px; }
.av-form h3, .av-ok h3 { margin: 0; font: 700 20px var(--serif); }
.av-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.av-form input, .av-form textarea { width: 100%; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--fg); font: 400 16px var(--sans); }
.av-form textarea { resize: vertical; min-height: 96px; }
.av-form input:focus-visible, .av-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.av-nota { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.av-nota legend { padding: 0; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.av-pick { display: flex; gap: 6px; }
.av-pick .pk { width: 44px; height: 44px; padding: 8px; background: transparent; border: 0; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.av-pick .pk:hover svg, .av-pick .pk.on svg { fill: var(--accent); stroke: var(--accent); }
.av-pick .pk:active svg { transform: scale(.82); }
.av-pick .pk[aria-checked="true"] svg { animation: pop .4s var(--ease); }
.av-hint { margin: 0; font-size: 14px; color: var(--accent); min-height: 1.3em; }
.av-svc { display: flex; gap: 8px; flex-wrap: wrap; }
.av-svc .chip { padding: 8px 16px; min-height: 40px; }
.av-count { margin: -8px 0 0; text-align: right; font-size: 12px; color: var(--muted); }
.av-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.av-form .err { margin: 0; min-height: 1.2em; font-size: 13px; color: #F08A7A; }
.av-form .btn { width: 100%; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.av-form .btn:disabled { opacity: .5; cursor: default; }
.av-form .btn.carregando { pointer-events: none; background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); background-size: 220% 100%; animation: shine 1.1s linear infinite; }
.av-ok { display: grid; gap: 10px; justify-items: start; animation: pop .5s var(--ease); }
.av-ok p { margin: 0; color: var(--muted); }
.av-form .btn, .av-svc .chip { position: relative; overflow: hidden; }
@media (max-width: 860px) { .av-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .av-card, .av-ok, .av-form .btn, .av-pick .pk svg { animation: none !important; } }

/* mapa inteiro = botão de rota */
a.map{display:block;color:inherit;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease)}
a.map svg.roads g[transform]{transition:transform .3s var(--ease);transform-box:fill-box}
a.map .tag{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--fg);transition:background .25s,color .25s}
a.map .tag b{font-weight:400;color:var(--accent);transition:transform .25s var(--ease)}
a.map:hover,a.map:focus-visible{border-color:var(--btn);box-shadow:0 10px 30px rgba(0,0,0,.45)}
a.map:hover .tag,a.map:focus-visible .tag{background:var(--btn);color:#0B0B0B}
a.map:hover .tag b,a.map:focus-visible .tag b{color:#0B0B0B;transform:translateX(4px)}
a.map:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
a.map:active{transform:scale(.985)}
/* avaliações → Google */
.av-google{display:grid;gap:12px;justify-items:start;padding:24px;background:var(--card);border:1px solid var(--line);border-radius:8px}
.av-google h3{margin:0;font:700 20px var(--serif)}
.av-google p{margin:0;color:var(--muted)}
.av-g{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--bg);border:1px solid var(--line);font:700 22px var(--serif);color:var(--accent)}
.av-note{margin:0;font-size:12.5px;color:var(--muted);text-align:center}
.av-ok .btn{margin-top:6px}

/* acessibilidade: link para pular direto ao agendamento */
.pular{position:absolute;left:12px;top:-60px;z-index:100;background:var(--btn);color:#0B0B0B;padding:10px 16px;border-radius:6px;font-weight:600;transition:top .2s}
.pular:focus{top:12px}

/* política de privacidade */
.link-priv{background:none;border:0;padding:0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;opacity:.85}
.link-priv:hover,.link-priv:focus-visible{color:var(--accent);opacity:1}
.priv{width:min(560px,calc(100% - 32px));max-height:86vh;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--fg);overflow:hidden}
.priv::backdrop{background:rgba(0,0,0,.72)}
.priv[open]{animation:pop .3s var(--ease)}
.priv-in{display:flex;flex-direction:column;max-height:86vh;padding:24px}
.priv-in h2{margin:0 0 14px;font:700 22px var(--serif)}
.priv-b{overflow-y:auto;padding-right:6px;margin-bottom:18px;color:var(--muted);font-size:15px;line-height:1.6}
.priv-b h3{margin:16px 0 4px;font:700 16px var(--serif);color:var(--fg)}
.priv-b p{margin:0}
.priv-in .btn{width:100%}
