/* Club Premium Barbearia
   Layout: coluna única centralizada (estilo link da bio), cartões brancos sobre cinza frio,
   barra superior de vidro claro, botão "Agende seu horário" sempre fixo. */
:root {
  --bg: #e9eaed;          /* cinza frio da referência */
  --card: #ffffff;
  --ink: #10171c;         /* preto azulado do logo */
  --mute: #646b72;
  --line: rgba(16, 23, 28, .09);
  --cobre: #a96134;       /* cobre oficial da logo */
  --cobre-2: #d08654;
  --glass: rgba(255, 255, 255, .58);
  --glass-line: rgba(255, 255, 255, .85);
  --chip: #f2f3f5;
  --ticket-a: #10171c;
  --ticket-b: #6e3a1c;
  --shadow: 0 1px 2px rgba(16, 23, 28, .05), 0 12px 32px -18px rgba(16, 23, 28, .28);
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 26px;
  --col: 640px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1114; --card: #161e24; --ink: #eef0f2; --mute: #9aa3ab; --line: rgba(255,255,255,.09);
    --glass: rgba(30, 38, 44, .55); --glass-line: rgba(255,255,255,.14); --chip: #1f2830;
    --ticket-a: #1b252c; --ticket-b: #7a4220; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1114; --card: #161e24; --ink: #eef0f2; --mute: #9aa3ab; --line: rgba(255,255,255,.09);
  --glass: rgba(30, 38, 44, .55); --glass-line: rgba(255,255,255,.14); --chip: #1f2830;
  --ticket-a: #1b252c; --ticket-b: #7a4220; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobre); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 80%; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.col { max-width: var(--col); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 14px; }
main.col { padding-block: 84px 130px; }

.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.sec { padding: 26px 22px; display: grid; gap: 18px; }
.sec-head { display: grid; gap: 6px; text-align: center; justify-items: center; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cobre); }
.sec-head h2 { font-size: clamp(30px, 7vw, 38px); font-weight: 800; text-transform: uppercase; }
.sec-head p { color: var(--mute); max-width: 44ch; }

/* ---------- barra superior: vidro claro ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.topo { position: fixed; z-index: 50; top: env(safe-area-inset-top, 0px); left: 0; right: 0; padding: 10px max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.topo-in { pointer-events: auto; max-width: calc(var(--col) - 8px); margin: 0 auto; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px 0 8px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 30px -16px rgba(16,23,28,.35); }
.marca { display: flex; align-items: center; gap: 10px; }
.marca img { width: 42px; height: 42px; border-radius: 50%; }
.marca b { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.marca small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.pilula { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pilula i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); font-style: normal; }

/* ---------- vitrine (vídeos dos serviços) ---------- */
.vitrine { position: relative; overflow: hidden; border-radius: 30px; background: #0f1418; aspect-ratio: 4 / 5; max-height: min(76vh, 780px); width: 100%; box-shadow: var(--shadow); isolation: isolate; }
.vitrine .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.vitrine .slide.on { opacity: 1; }
.vitrine video, .vitrine .slide > img { width: 100%; height: 100%; object-fit: cover; }
.vitrine::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,14,17,.0) 40%, rgba(10,14,17,.72) 100%); }
.vit-txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 22px 18px; display: grid; justify-items: center; text-align: center; gap: 14px; color: #fff; }
.vit-txt .frase { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: clamp(34px, 9vw, 54px); line-height: .98; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.natela { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; font-size: 14px; font-weight: 700; }
.natela small { font-size: 10px; letter-spacing: .18em; opacity: .8; font-weight: 700; }
.natela i { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #10171c; display: grid; place-items: center; font-style: normal; }
.barras { display: flex; gap: 5px; width: 100%; }
.barras button { flex: 1; height: 14px; padding: 5px 0; border: 0; background: none; cursor: pointer; }
.barras button span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.32); overflow: hidden; }
.barras button span::after { content: ""; display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #fff; }
.vit-ctrl { position: absolute; z-index: 3; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vit-ctrl svg { width: 16px; height: 16px; }

/* serviços: o seletor abaixo do vídeo */
.servicos { display: flex; flex-wrap: nowrap; justify-content: center; gap: clamp(4px, 1.2vw, 8px); }
.servicos button { flex: 0 1 auto; white-space: nowrap; height: 40px; padding: 0 clamp(8px, 2.2vw, 16px); font-size: clamp(11px, 3vw, 14px) !important; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.servicos button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- perfil ---------- */
.perfil { text-align: center; justify-items: center; padding: 28px 22px 24px; }
.perfil h1 { font-size: clamp(32px, 8vw, 44px); font-weight: 800; text-transform: uppercase; }
.perfil h1 span { color: var(--cobre); }
.perfil p { color: var(--mute); }
.horario { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.horario span { background: var(--chip); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- ticket promocional ---------- */
.ticket { position: relative; color: #fff; filter: drop-shadow(0 18px 26px rgba(16,23,28,.22)); }
.t-main, .t-stub { position: relative; background: linear-gradient(115deg, var(--ticket-a) 30%, var(--ticket-b) 100%); }
.t-main { border-radius: 24px 24px 0 0; padding: 20px 22px 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: end; overflow: hidden; }
.t-main::before { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(208,134,84,.45), transparent 65%); pointer-events: none; }
.t-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.t-top img { width: 26px; height: 26px; border-radius: 50%; }
.t-valor { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(44px, 12vw, 62px); line-height: .9; text-transform: uppercase; }
.t-valor small { font-size: .42em; font-stretch: 90%; letter-spacing: .02em; margin-left: 4px; color: var(--cobre-2); }
.t-sub { grid-column: 1; font-size: 12.5px; color: rgba(255,255,255,.7); }
.ativar { grid-column: 2; grid-row: 2 / span 2; align-self: center; height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: #fff; color: #10171c; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: transform .2s; }
.ativar:hover { transform: translateY(-2px); }
.t-stub { border-radius: 0 0 24px 24px; padding: 16px 22px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; transition: transform .7s cubic-bezier(.2,.9,.3,1.2); transform-origin: 85% 0; }
.t-stub::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; border-top: 2px dashed rgba(255,255,255,.3); }
.t-stub div { display: grid; justify-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.t-stub svg { width: 18px; height: 18px; color: var(--cobre-2); }
/* recortes laterais na linha picotada */
.furo { position: absolute; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); top: calc(var(--y, 0px) - 11px); }
.furo.e { left: -11px; } .furo.d { right: -11px; }
/* tesoura que corre a linha */
.tesoura { position: absolute; z-index: 3; left: 6px; width: 24px; height: 24px; margin-top: -12px; top: var(--y, 0px); color: #fff; opacity: 0; pointer-events: none; }
.ticket.cortando .tesoura { animation: tesoura .55s ease-in forwards; }
@keyframes tesoura { 0% { opacity: 1; transform: translateX(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--w, 300px)); } }
/* rasgado: bordas em zigue-zague e canhoto descendo */
.ticket.rasgado .t-main { -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; }
.ticket.rasgado .t-stub { -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; transform: translateY(16px) rotate(-2.5deg); }
.ticket.rasgado .t-stub::before, .ticket.rasgado .furo { opacity: 0; }
.ativado { grid-column: 1 / -1; display: none; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 8px; font-size: 13.5px; }
.ticket.rasgado .ativado { display: flex; animation: sobe .5s .2s both; }
.ticket.rasgado .ativar { display: none; }
.ativado a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; background: #25d366; color: #0b2a16; font-weight: 800; font-size: 14px; }
@keyframes sobe { from { opacity: 0; transform: translateY(8px); } }
.ticket-wrap { padding-bottom: 18px; }

/* ---------- links (linktree) ---------- */
.links { display: grid; gap: 10px; }
.link { display: grid; grid-template-columns: 48px 1fr 32px; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); transition: transform .2s; }
.link:hover { transform: translateY(-2px); }
.link .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.link .ic.wa { background: #25d366; color: #0b2a16; }
.link .ic.cobre { background: var(--cobre); color: #fff; }
.link .ic svg { width: 22px; height: 22px; }
.link span { text-align: center; font-weight: 700; font-size: 15px; }
.link span small { display: block; font-weight: 500; font-size: 12px; color: var(--mute); }
.link .seta { color: var(--mute); display: grid; place-items: center; }

/* ---------- referências de corte ---------- */
.abas { display: flex; justify-content: center; gap: 22px; }
.abas button { border: 0; background: none; padding: 6px 0; font-weight: 700; color: var(--mute); border-bottom: 2px solid transparent; cursor: pointer; }
.abas button[aria-selected="true"] { color: var(--ink); border-color: var(--cobre); }
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ref { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--chip); border: 0; padding: 0; cursor: pointer; text-align: left; }
.ref img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ref:hover img { transform: scale(1.05); }
.ref figcaption, .ref .rot { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 7px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: #10171c; font-size: 12.5px; font-weight: 700; }
.ref .rot i { font-style: normal; font-size: 11px; background: #10171c; color: #fff; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.dica { text-align: center; font-size: 13px; color: var(--mute); }

/* ---------- formulários ---------- */
.form { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; min-width: 0; }
.campo > label, .campo > .lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.campo input, .campo select, .campo textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--chip); outline: none; transition: border-color .2s, background .2s; }
.campo textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--cobre); background: var(--card); }
.campo.erro input { border-color: #d64545; }
.campo .msg-erro { display: none; font-size: 12.5px; color: #d64545; }
.campo.erro .msg-erro { display: block; }
.duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 440px) { .duas { grid-template-columns: 1fr; } }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { position: relative; }
.opcoes input { position: absolute; opacity: 0; inset: 0; }
.opcoes span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.opcoes input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opcoes input:focus-visible + span { outline: 2px solid var(--cobre); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 16px; border: 0; font-weight: 800; font-size: 15.5px; cursor: pointer; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.wa { background: #25d366; color: #0b2a16; }
.btn.escuro { background: var(--ink); color: var(--bg); }
.btn.claro { background: var(--chip); color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 20px; height: 20px; }
.acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.numero { text-align: center; font-size: 13px; color: var(--mute); }
.numero b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- app ---------- */
.app { background: var(--ticket-a); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 22px; padding: 28px 22px 0; text-align: center; justify-items: center; }
.app .eyebrow { color: var(--cobre-2); }
.app h2 { font-size: clamp(30px, 7vw, 40px); font-weight: 800; text-transform: uppercase; }
.app p { color: rgba(255,255,255,.7); max-width: 40ch; }
.app ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.app li { font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); }
.loja { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 14px; background: #fff; color: #10171c; text-align: left; }
.loja svg { width: 24px; height: 24px; }
.loja small { display: block; font-size: 10.5px; line-height: 1; }
.loja b { display: block; font-size: 16px; line-height: 1.1; }
.app .alt { font-size: 13px; color: rgba(255,255,255,.65); }
.app .alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.celular { width: 230px; height: 300px; border-radius: 36px 36px 0 0; border: 8px solid #2a3339; border-bottom: 0; background: #0b0f12; padding: 20px 16px 0; display: grid; align-content: start; gap: 12px; justify-items: center; }
.celular img { width: 64px; height: 64px; border-radius: 50%; }
.celular b { font-family: var(--f-display); font-stretch: 75%; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.celular .lin { width: 100%; height: 38px; border-radius: 10px; background: #1a2228; display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: rgba(255,255,255,.7); }
.celular .lin.on { background: var(--cobre); color: #fff; font-weight: 700; justify-content: center; }

/* ---------- avaliações ---------- */
.nota { display: flex; align-items: center; justify-content: center; gap: 12px; }
.nota b { font-family: var(--f-display); font-stretch: 80%; font-size: 44px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.estrelas { color: #f2b01e; letter-spacing: 2px; font-size: 17px; }
.avals { display: grid; gap: 10px; }
.aval { background: var(--chip); border-radius: 18px; padding: 16px; display: grid; gap: 8px; }
.aval header { display: flex; align-items: center; gap: 10px; }
.aval .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 800; }
.aval header div { flex: 1; min-width: 0; }
.aval header b { display: block; font-size: 14px; }
.aval header small { color: var(--mute); font-size: 12px; }
.aval .g { width: 18px; height: 18px; }
.aval p { font-size: 14.5px; }
.exemplo { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cobre); border: 1px dashed var(--cobre); border-radius: 999px; padding: 3px 9px; }

/* ---------- localização ---------- */
.mapa { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.mapa img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.mapa .pin { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); color: var(--ink); }
.mapa .pin svg { width: 22px; height: 22px; color: var(--cobre); flex: none; }
.mapa .pin b { display: block; font-size: 14px; }
.mapa .pin small { color: var(--mute); font-size: 12.5px; }
.tabela { display: grid; gap: 0; border-radius: 16px; background: var(--chip); padding: 4px 16px; }
.tabela div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tabela div:last-child { border: 0; }
.tabela span { color: var(--mute); }

/* ---------- equipe ---------- */
.equipe-fotos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.equipe-fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.ok-envio { display: none; text-align: center; background: var(--chip); border-radius: 16px; padding: 16px; gap: 10px; justify-items: center; }
.ok-envio.on { display: grid; }

/* ---------- rodapé ---------- */
.rodape { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 26px 0 10px; color: var(--mute); font-size: 13px; }
.rodape img { width: 52px; height: 52px; border-radius: 50%; }

/* ---------- botão fixo: Agende seu horário ---------- */
.agende { position: fixed; z-index: 55; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); box-shadow: 0 18px 40px -14px rgba(16,23,28,.6); cursor: pointer; white-space: nowrap; animation: entra .6s .8s both cubic-bezier(.2,1.3,.4,1); }
.agende .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--cobre); color: #fff; display: grid; place-items: center; position: relative; }
.agende .ic::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--cobre); animation: ping 2.2s infinite; }
.agende .ic svg { width: 21px; height: 21px; }
.agende .tx { display: grid; text-align: left; line-height: 1.15; }
.agende b { font-size: 15.5px; font-weight: 800; }
.agende small { font-size: 11.5px; opacity: .7; }
.agende .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(127,127,127,.18); }
@keyframes ping { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes entra { from { transform: translate(-50%, 140%); opacity: 0; } }

/* folha de opções do botão fixo */
.folha { position: fixed; z-index: 70; inset: 0; display: grid; align-items: end; justify-items: center; background: rgba(8,12,14,.45); opacity: 0; pointer-events: none; transition: opacity .25s; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.folha.on { opacity: 1; pointer-events: auto; }
.folha-in { width: 100%; max-width: 480px; background: var(--card); border-radius: 26px; padding: 20px 16px 16px; display: grid; gap: 10px; transform: translateY(30px); transition: transform .3s cubic-bezier(.2,1,.3,1); }
.folha.on .folha-in { transform: none; }
.folha-in h2 { font-size: 26px; text-transform: uppercase; text-align: center; font-weight: 800; }
.folha-in .link { box-shadow: none; background: var(--chip); }
.fechar { justify-self: center; border: 0; background: none; color: var(--mute); font-weight: 700; padding: 8px 16px; cursor: pointer; }

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

/* títulos na letra da logo (serifada de pontas abertas) */
:root { --f-marca: "Marcellus", "Optima", "Candara", serif; }
.sec-head h2, .perfil h1, .app h2, .folha-in h2, .marca b, .celular b { font-family: var(--f-marca); font-stretch: normal; font-weight: 400; letter-spacing: .02em; }
.marca b { font-size: 17px; letter-spacing: .06em; }
.marca img { width: 40px; height: 46px; border-radius: 0; object-fit: contain; }
.perfil .selo { width: 132px; height: auto; }
.rodape img { width: 92px; height: auto; border-radius: 0; }
.celular img { width: 86px; height: auto; border-radius: 0; }
.t-top img { width: 22px; height: 26px; border-radius: 0; object-fit: contain; }
.logo-escura { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-clara { display: none; } :root:not([data-theme="light"]) .logo-escura { display: block; } }
:root[data-theme="dark"] .logo-clara { display: none; }
:root[data-theme="dark"] .logo-escura { display: block; }

/* ticket: o canhoto cai por trás dos links e some (11/11) */
.ticket-wrap { position: relative; z-index: 1; }
.links { position: relative; z-index: 2; }
.ticket.caindo .t-stub { transform: translateY(150%) rotate(-7deg); opacity: 0; transition: transform 1s cubic-bezier(.5,0,.8,.4), opacity .7s .35s ease-in, margin-bottom .8s .15s cubic-bezier(.4,0,.2,1); }
[hidden] { display: none !important; }
.col > * { min-width: 0; }
.servicos { width: 100%; overflow: hidden; justify-content: safe center; }

/* checklist 11/11: imagens em <picture> e autores das avaliações em H3 */
picture { display: contents; }
.aval header h3 { margin: 0; font-family: var(--f-body); font-stretch: normal; font-size: 14px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.numero a, .rodape a { color: inherit; }
.numero a b { text-decoration: underline; text-underline-offset: 3px; }
.equipe-fotos img { height: auto; }
picture > source { display: none; }

/* aviso de cookies (aparece só quando há pixel ativo) */
.cookies { position: fixed; z-index: 65; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100% - 24px)); display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); box-shadow: 0 18px 40px -18px rgba(16,23,28,.45); font-size: 14px; text-align: center; }
.cookies div { display: flex; justify-content: center; gap: 10px; }
.cookies button { height: 42px; padding: 0 20px; border-radius: 12px; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: var(--card); }
.cookies .sim { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pref-cookies { border: 0; background: none; color: var(--mute); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* site aberto dentro do painel (mapa de calor): sem elementos fixos por cima */
.previa-admin .topo { position: absolute; }
.previa-admin .agende, .previa-admin .folha, .previa-admin body::before { display: none; }
.previa-admin html, html.previa-admin { scroll-behavior: auto; }
.t-valor { white-space: nowrap; text-wrap: nowrap; }
