/* Sistema de Mentorias - LS Treinamentos */
:root {
  --navy: #0b1b3a;
  --navy-2: #13284f;
  --blue: #1f5eff;
  --blue-d: #1747c7;
  --cyan: #00b3d6;
  --ink: #0e1525;
  --muted: #5b6478;
  --line: #e3e7ef;
  --paper: #f5f7fb;
  --card: #ffffff;
  --ok: #0f8a5f;
  --ok-bg: #e5f6ee;
  --warn: #9a6400;
  --warn-bg: #fff4dd;
  --err: #b42318;
  --err-bg: #fdecea;
  --info-bg: #e9f0ff;
  --r: 14px;
  --shadow: 0 1px 2px rgba(14, 21, 37, .06), 0 8px 24px rgba(14, 21, 37, .06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 520px; }
.mid { max-width: 820px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* Topo */
.topbar { background: var(--navy); color: #fff; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; font-weight: 800; font-size: .9rem; overflow: hidden; }
.brand .logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a, .nav button.linklike { color: #cfd8ea; padding: 8px 12px; border-radius: 8px; font-size: .94rem; }
.nav a:hover, .nav a.ativo { color: #fff; background: rgba(255, 255, 255, .09); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .topbar .container { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav.aberto { display: flex; }
}

/* Botoes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--blue); color: #fff; text-decoration: none; line-height: 1.2; }
.btn:hover { background: var(--blue-d); text-decoration: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(31, 94, 255, .35); outline-offset: 2px; }
.btn-sec { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sec:hover { background: #f0f3f9; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--info-bg); }
.btn-ok { background: var(--ok); }
.btn-ok:hover { background: #0b6e4c; }
.btn-danger { background: #fff; color: var(--err); border-color: #f2c6c1; }
.btn-danger:hover { background: var(--err-bg); }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; }
.btn-sm { padding: 7px 12px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.btn-google:hover { background: #f7f8f8; }
button.linklike { background: none; border: 0; font: inherit; cursor: pointer; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card-tight { padding: 16px; }
.page { padding: 28px 0 56px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head p { margin: 4px 0 0; }

/* Formularios */
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: .83rem; color: var(--muted); margin-top: 4px; font-weight: 400; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=datetime-local], input[type=time], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cdd4e1; border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input[type=file] { font: inherit; width: 100%; padding: 10px; border: 1px dashed #b8c2d6; border-radius: 10px; background: #fafbfe; }
.err-msg { color: var(--err); font-size: .85rem; margin-top: 4px; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Escolhas em cartao */
.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice .box { display: block; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; height: 100%; font-weight: 400; }
.choice .box strong { display: block; font-size: 1rem; }
.choice .price { font-weight: 700; color: var(--blue); }
.choice input:checked + .box { border-color: var(--blue); background: #f3f6ff; box-shadow: 0 0 0 3px rgba(31,94,255,.12); }
.choice input:focus-visible + .box { outline: 3px solid rgba(31, 94, 255, .35); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: #fff; font-weight: 500; font-size: .92rem; }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip { position: relative; margin: 0; font-weight: 400; }

/* Horarios */
.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.dia-btn { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; font: inherit; font-size: .88rem; text-align: center; min-width: 84px; }
.dia-btn.sel { border-color: var(--blue); background: #f3f6ff; color: var(--blue); font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 12px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; font-weight: 600; }
.slot.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.resumo { position: sticky; top: 16px; }
.total { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }

/* Mensagens */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; border: 1px solid transparent; }
.alert-sucesso { background: var(--ok-bg); color: #075e40; border-color: #bfe7d4; }
.alert-erro { background: var(--err-bg); color: var(--err); border-color: #f5c9c4; }
.alert-info { background: var(--info-bg); color: #1d3f9e; border-color: #cbd9ff; }
.alert-aviso { background: var(--warn-bg); color: var(--warn); border-color: #f3dca8; }

/* Status */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; background: #eef1f6; color: #3c4559; }
.st-aguardando_pagamento, .st-pendente { background: var(--warn-bg); color: var(--warn); }
.st-em_analise, .st-em_andamento { background: var(--info-bg); color: #1d3f9e; }
.st-aprovada, .st-aprovado, .st-realizada, .st-concluida { background: var(--ok-bg); color: var(--ok); }
.st-cancelada, .st-expirada, .st-recusada, .st-rejeitado { background: #f1f2f5; color: #6b7280; }

/* Tabelas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #fafbfd; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }

/* KPIs */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.kpi .label { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi .value { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.kpi .sub { font-size: .85rem; color: var(--muted); }
.kpi.destaque { border-color: #f3dca8; background: #fffbf1; }
.chart-box { position: relative; height: 280px; }

/* Lista de definicoes */
dl.info { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
dl.info dt { color: var(--muted); font-size: .9rem; }
dl.info dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) { dl.info { grid-template-columns: 1fr; gap: 2px; } dl.info dd { margin-bottom: 8px; } }

/* PIX */
.pix { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.pix-qr { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; width: 220px; height: 220px; }
.pix-qr canvas, .pix-qr img { width: 100% !important; height: auto !important; }
.copia { display: flex; gap: 8px; }
.copia input { font-family: var(--mono); font-size: .8rem; }
@media (max-width: 640px) { .pix { grid-template-columns: 1fr; } .pix-qr { margin: 0 auto; } }

/* Respostas */
.qa { border-left: 3px solid var(--line); padding-left: 12px; margin-bottom: 14px; }
.qa .q { font-size: .88rem; color: var(--muted); }
.qa .a { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Landing */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 179, 214, .28), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0f2550 60%, #10306b 100%); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #7fb2ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c9d5ee; font-size: 1.1rem; max-width: 560px; }
.selos { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 28px; }
.selo { border: 1px solid rgba(255,255,255,.22); color: #e6edfb; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.retrato { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #24427e, #0b1b3a); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.retrato .foto { position: absolute; inset: 0; z-index: 1; background: url("/assets/img/foto-luiz.jpg?v=2") center top / cover no-repeat; }
.retrato .iniciais { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4rem; font-weight: 800; color: rgba(255,255,255,.25); }
.retrato .tag { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; background: rgba(11,27,58,.82); backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: -36px; position: relative; box-shadow: var(--shadow); }
.numeros div { background: #fff; padding: 20px 16px; text-align: center; }
.numeros strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.numeros span { color: var(--muted); font-size: .88rem; }
.secao { padding: 64px 0 8px; }
.secao-head { max-width: 640px; margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; display: block; }
.plano { display: flex; flex-direction: column; }
.plano.premium { border: 2px solid var(--blue); position: relative; }
.plano.premium::before { content: "Hands-on"; position: absolute; top: -12px; right: 18px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plano .preco { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 12px; }
.plano .preco small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plano ul { padding-left: 0; list-style: none; margin: 0 0 16px; }
.plano li { padding: 5px 0 5px 26px; position: relative; font-size: .95rem; }
.plano li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plano li.nao::before { border: 0; content: "×"; color: var(--err); font-weight: 800; transform: none; top: 3px; left: 5px; }
.plano .exemplo { background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: .9rem; color: #384157; margin-bottom: 8px; }
.plano .spacer { flex: 1; }
.passos { counter-reset: p; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.passo { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: relative; }
.passo::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 10px; }
.depo { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.depo p { margin: 0; color: #2b3345; }
.depo .quem { font-weight: 700; font-size: .95rem; }
.depo .quem span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.estrelas { color: #f2a900; letter-spacing: 2px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: #384157; }
.cta-final { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px 28px; text-align: center; margin: 64px 0; }
.cta-final p { color: #c9d5ee; }
.rodape { background: #0a1530; color: #9fb0d0; padding: 32px 0; font-size: .9rem; }
.rodape a { color: #d6e0f5; }
.rodape .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .retrato { max-width: 320px; }
  .numeros { grid-template-columns: repeat(2, 1fr); }
}

/* Auth */
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 460px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.ativo { color: var(--blue); border-color: var(--blue); }
.empty { text-align: center; padding: 28px; color: var(--muted); }
.inline-form { display: inline; }
details.acao summary { cursor: pointer; list-style: none; }
details.acao summary::-webkit-details-marker { display: none; }
details.acao[open] summary { margin-bottom: 10px; }

/* Seletor de idioma */
.idioma { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; font-size: .85rem; color: #6f7f9f; }
.idioma a { color: #9fb0d0 !important; padding: 6px 7px !important; font-weight: 700; letter-spacing: .03em; }
.idioma a.ativo { color: #fff !important; }
@media (max-width: 760px) { .idioma { margin: 6px 0 0 6px; } }

/* Depoimentos */
.depo .aspas { font-size: 2.6rem; line-height: .6; color: var(--blue); font-weight: 800; height: 18px; }
.secao .depo-texto { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.depo-colunas { columns: 3 300px; column-gap: 16px; }
.depo-colunas .depo { break-inside: avoid; margin-bottom: 16px !important; }
.depo-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Grade de disponibilidade (admin) */
table.grade td { padding: 8px 6px; vertical-align: middle; }
table.grade .sel-dia { min-width: 130px; width: auto; }
table.grade input[type=time] { min-width: 120px; }

/* Landing: selos sobre a foto e cards destacados */
.retrato .selos-foto { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.retrato .selos-foto .selo { background: rgba(11,27,58,.78); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.28); color: #fff; font-size: .78rem; padding: 5px 10px; }
.plano.destaque { border: 2px solid var(--blue); }

/* Meus agendamentos */
.lista-sessoes { display: grid; gap: 10px; }
.sessao-item { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none !important; box-shadow: none; }
.sessao-item:hover { border-color: var(--blue); }
.sessao-data { flex: none; width: 58px; text-align: center; background: var(--paper); border-radius: 10px; padding: 6px 4px; }
.sessao-data .dia { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.sessao-data .mes { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; }
.sessao-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 560px) { .sessao-item { flex-wrap: wrap; } .sessao-item .badge { margin-left: 72px; } }

/* Sininho */
.topo-acoes { display: flex; align-items: center; gap: 8px; order: 3; }
.sino { position: relative; }
.sino summary { list-style: none; cursor: pointer; color: #cfd8ea; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; position: relative; }
.sino summary::-webkit-details-marker { display: none; }
.sino summary:hover, .sino[open] summary { background: rgba(255,255,255,.1); color: #fff; }
.sino-badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff4d4f; color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; line-height: 1; border: 2px solid var(--navy); }
.sino-painel { position: absolute; right: 0; top: 48px; width: min(360px, calc(100vw - 32px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(14,21,37,.25); z-index: 50; overflow: hidden; }
.sino-topo { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.sino-topo .linklike { color: var(--blue); }
.sino-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none !important; font-size: .92rem; }
.sino-item:hover { background: var(--paper); }
.sino-item.nova { background: #f3f6ff; border-left: 3px solid var(--blue); }
.sino-todas { display: block; text-align: center; padding: 10px; font-weight: 600; font-size: .9rem; }
@media (max-width: 760px) { .sino-painel { position: fixed; left: 16px; right: 16px; top: 64px; width: auto; } }
.topbar .nav { margin-left: auto; }
@media (max-width: 760px) {
  .topbar .nav { order: 4; margin-left: 0; }
  .topo-acoes { margin-left: auto; }
}

/* ===================== Revisao mobile ===================== */
.grid > * { min-width: 0; }
.g4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 900px) {
  #agendar-grid, #dash-grid, #sessao-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 860px) { .retrato { margin: 0 auto; width: 100%; } }
@media (max-width: 760px) {
  .brand .small { display: none; }
  .topbar .container { flex-wrap: wrap; row-gap: 0; }
  .page { padding: 20px 0 40px; }
  .page-head { margin-bottom: 14px; }
  .page-head .btn { width: 100%; }
  .card { padding: 18px; }
  h1 { font-size: 1.5rem; }
  .btn { min-height: 44px; }
  .slot { min-height: 44px; }
  .dias { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -18px; padding: 0 18px 8px; }
  .dia-btn { scroll-snap-align: start; min-height: 48px; }
  .choices { grid-template-columns: 1fr !important; }
  .kpi .value { font-size: 1.4rem; }
  .card > table, .card table:not(.grade) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabs a { padding: 10px 12px; }
  dl.info dd { margin-bottom: 10px; }
  .pix-qr { width: 200px; height: 200px; }
  .copia { flex-direction: column; }
}
/* Barra fixa de reserva (celular) */
.barra-reserva { display: none; }
@media (max-width: 900px) {
  .barra-reserva { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14,21,37,.08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; }
  .barra-reserva .barra-total { flex: 1; min-width: 0; line-height: 1.2; }
  .barra-reserva .barra-total strong { display: block; font-size: 1.15rem; }
  .barra-reserva .barra-total span { font-size: .8rem; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barra-reserva .btn { flex: none; }
  body.tem-barra { padding-bottom: 84px; }
  .resumo .btn-lg[type=submit] { display: none; }
}
@media (max-width: 560px) {
  .sessao-item { flex-wrap: wrap; align-items: flex-start; }
  .sessao-info { flex-basis: calc(100% - 72px); }
  .sessao-item .badge, .sessao-item > .btn { margin-left: 72px; }
}
@media (max-width: 560px) {
  table.grade, table.grade tbody, table.grade td { display: block; width: 100%; }
  table.grade { overflow: visible; }
  table.grade thead { display: none; }
  table.grade tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.grade td { padding: 0; border: 0; }
  table.grade td:first-child, table.grade td:last-child { grid-column: 1 / -1; }
  table.grade .sel-dia, table.grade input[type=time] { min-width: 0; width: 100%; }
  table.grade .rm-faixa { padding-left: 0; }
}

/* Telefone: pais (DDI) + numero */
.tel-grupo { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 8px; }
@media (max-width: 420px) { .tel-grupo { grid-template-columns: 1fr; } }

/* Tela de acesso (entrar ou criar conta) */
.acesso-card { max-width: 620px; }
.acesso-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acesso-op { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.acesso-op:hover { border-color: var(--blue, #2563eb); box-shadow: var(--shadow); }
.acesso-op strong { font-size: 1.05rem; color: var(--navy); }
.acesso-op > span:not(.btn) { color: var(--muted); font-size: .92rem; flex: 1; }
@media (max-width: 560px) { .acesso-opcoes { grid-template-columns: 1fr; } }
/* Nome e LinkedIn na foto */
.retrato .tag .li { display: inline-flex; vertical-align: -3px; margin-left: 8px; color: #fff; opacity: .9; }
.retrato .tag .li:hover { opacity: 1; }
.numeros { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { .numeros { grid-template-columns: repeat(2, 1fr); } .numeros div:first-child { grid-column: 1 / -1; } }
.voltar { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; text-decoration: none; margin-bottom: 10px; }
.voltar:hover { color: var(--navy); }

/* Botoes de icone e edicao em linha */
.btn-icone { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; padding: 0; text-decoration: none; flex-shrink: 0; }
.btn-icone:hover { color: var(--navy); border-color: #b9c4d8; }
.btn-icone.perigo:hover { color: var(--err); border-color: #f5c9c4; background: #fff6f5; }
.acoes { display: inline-flex; gap: 6px; align-items: center; flex-shrink: 0; }
.acoes form { margin: 0; }
details.editar { display: inline-block; }
details.editar > summary { list-style: none; }
details.editar > summary::-webkit-details-marker { display: none; }
.item-linha { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.item-linha:last-of-type { border-bottom: 0; }
.item-linha > .txt { flex: 1; min-width: 0; }
.form-edicao { flex-basis: 100%; background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-top: 6px; }
.form-edicao .row { align-items: flex-end; }
.nota-item { border-left: 3px solid var(--blue, #2563eb); background: #f7f9fc; border-radius: 0 10px 10px 0; padding: 10px 12px; margin-bottom: 10px; }
.nota-item .quando { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.nota-item .corpo { white-space: pre-wrap; }
.ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 4px; }
.ficha div { background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ficha strong { display: block; font-size: 1.25rem; color: var(--navy); }
.ficha span { font-size: .82rem; color: var(--muted); }

/* ===== Revisao de design (out/2026) ===== */
/* Secoes empilhadas: um card por linha, listagem no topo, formulario sob demanda */
.secoes { display: flex; flex-direction: column; gap: 16px; }
.secao-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.secao-topo h2 { margin: 0; }
.secao-topo p { margin: 4px 0 0; }
.form-novo { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.form-novo[hidden] { display: none; }
.vazio { color: var(--muted); padding: 10px 0; }
.campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 14px; }
/* Abas */
.abas { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.abas a { padding: 10px 14px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.abas a:hover { color: var(--navy); }
.abas a[aria-current="page"] { color: var(--navy); border-bottom-color: #1f5eff; }
.abas .badge { margin-left: 6px; }
/* Menu do admin com submenu */
.nav .grupo { position: relative; }
.nav .grupo > summary { list-style: none; cursor: pointer; color: #cfd8ea; padding: 8px 12px; border-radius: 8px; }
.nav .grupo > summary::-webkit-details-marker { display: none; }
.nav .grupo > summary.ativo, .nav .grupo > summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav .grupo .sub { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 210px; z-index: 50; display: flex; flex-direction: column; }
.nav .grupo .sub a { color: var(--navy); padding: 9px 12px; border-radius: 8px; }
.nav .grupo .sub a:hover, .nav .grupo .sub a.ativo { background: #f1f4fa; }
@media (max-width: 900px) { .nav .grupo .sub { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; } .nav .grupo .sub a { color: #cfd8ea; } .nav .grupo .sub a:hover { background: rgba(255,255,255,.08); } }
/* Depoimentos em lista */
.depo-linha { border-bottom: 1px solid var(--line); padding: 14px 0; }
.depo-linha:last-child { border-bottom: 0; }
.depo-linha .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); }
.depo-linha .texto { margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.depo-linha details[open] .texto, .depo-linha .texto.inteiro { -webkit-line-clamp: unset; display: block; }
/* Acessibilidade e acabamento */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.pular:focus { top: 8px; }
.btn-icone:focus-visible, summary:focus-visible, .linklike:focus-visible, .abas a:focus-visible { outline: 3px solid rgba(31, 94, 255, .35); outline-offset: 2px; }
.btn-icone, summary, .chip, .choice { cursor: pointer; }
.num, td.num, .kpi .valor, .ficha strong, .numeros strong { font-variant-numeric: tabular-nums; }
html { -webkit-tap-highlight-color: rgba(31, 94, 255, .12); }
a, button, summary, input, select, textarea, label { touch-action: manipulation; }
.alert a, .muted a, p a, .hint a { text-decoration: underline; text-underline-offset: 2px; }
.st-cancelada, .st-expirada, .st-recusada, .st-rejeitado { background: #eceef2; color: #4b5563; }
h1, h2 { text-wrap: balance; }
@media (max-width: 760px) { .btn-icone { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
label > input, label > select, label > textarea { margin-top: 6px; font-weight: 400; }
.form-edicao .row { align-items: flex-end; }
.form-edicao .row > label { margin-bottom: 0; }
a.chip { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 500; font-size: .9rem; text-decoration: none; }
a.chip:hover { border-color: #b9c4d8; }
a.chip.on { border-color: #1f5eff; background: #eef3ff; color: #1f3fae; font-weight: 700; }
[data-ler-tudo] { color: #1f5eff; padding: 0; font-weight: 600; }
/* Contraste AA dos badges de status */
.st-aprovada, .st-aprovado, .st-realizada, .st-concluida { color: #0a6b49; }
.st-aguardando_pagamento, .st-pendente { color: #7a4a00; }
.st-recusada { background: #fdecea; color: #a3261b; }
.alert a { color: #163fb0; }
.card a:not(.btn):not(.btn-icone):not(.chip):not(.acesso-op) { text-decoration: underline; text-decoration-color: rgba(31, 94, 255, .4); text-underline-offset: 2px; }
.card a:not(.btn):not(.btn-icone):not(.chip):not(.acesso-op):hover { text-decoration-color: currentColor; }
.sino:not([open]) .sino-painel, .nav .grupo:not([open]) .sub { display: none; }
.secao-topo > :first-child { flex: 1 1 260px; min-width: 0; }
.secao-topo > .btn, .secao-topo > form { flex-shrink: 0; }
.table-wrap { position: relative; }
.btn-cancelar { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.form-edicao .row > .btn-cancelar { margin-left: 0; }
.row > .btn { display: inline-flex; align-items: center; gap: 6px; }
/* Pacotes */
.pacotes-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 8px 0 14px; }
.pacote-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.pacote-card:hover { border-color: #b9c4d8; }
.pacote-card h3 { margin: 0; }
.pacote-card .preco { font-size: 1.7rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.pacote-card form { margin-top: auto; padding-top: 8px; }
.lista-check { list-style: none; padding: 0; margin: 4px 0; }
.lista-check li { padding-left: 20px; position: relative; margin: 4px 0; }
.lista-check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid #0a6b49; border-bottom: 2px solid #0a6b49; transform: rotate(-45deg); }
.pacote-ativo { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.pacote-ativo .saldo { text-align: right; } .pacote-ativo .saldo strong { font-size: 1.6rem; color: var(--navy); } .pacote-ativo .saldo span { color: var(--muted); font-size: .85rem; }
.barra { height: 8px; background: #eef1f6; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.barra span { display: block; height: 100%; background: #1f5eff; border-radius: 99px; }
.opcao-pacote { border: 1.5px solid #bfe7d4; background: #f6fcf9; border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
@media (min-width: 901px) { .nav { flex-wrap: nowrap; gap: 2px; } .nav a, .nav button.linklike, .nav .grupo > summary { padding: 8px 10px; white-space: nowrap; } .topbar .container { gap: 12px; } }
@media (min-width: 901px) { .nav .btn + .btn { margin-left: 6px; } }
/* Estrelas clicaveis (avaliacao) */
fieldset.estrelas-input { border: 0; padding: 0; margin: 0; }
fieldset.estrelas-input legend { font-weight: 600; margin-bottom: 8px; }
.estrelas-opcoes { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.estrelas-opcoes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.estrelas-opcoes label { font-size: 2.4rem; line-height: 1; color: #d9dde5; cursor: pointer; margin: 0; padding: 2px; transition: color .12s, transform .12s; }
.estrelas-opcoes label:hover, .estrelas-opcoes label:hover ~ label, .estrelas-opcoes input:checked ~ label { color: #f5a623; }
.estrelas-opcoes input:focus-visible + label { outline: 3px solid rgba(31, 94, 255, .35); outline-offset: 2px; border-radius: 6px; }
.estrelas-opcoes label:active { transform: scale(.92); }
.estrelas-link { display: flex; gap: 2px; }
.card .estrelas-link a { font-size: 2rem; line-height: 1; color: #d9dde5; text-decoration: none; padding: 2px; }
.estrelas-link:hover a { color: #f5a623; } .estrelas-link a:hover ~ a { color: #d9dde5; }
.sino-badge { background: #c8291b; }
.card .estrelas-link a { text-decoration: none !important; }
/* Campo de horario com lista */
.hora-wrap { position: relative; display: block; }
.hora-wrap input.hora { padding-right: 40px; }
.hora-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.hora-btn:hover, .hora-btn[aria-expanded="true"] { background: #eef3ff; color: #1f5eff; }
.hora-btn:focus-visible { outline: 3px solid rgba(31, 94, 255, .35); }
.hora-lista { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 4px); max-height: 220px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overscroll-behavior: contain; }
.hora-lista li { padding: 8px 12px; border-radius: 6px; cursor: pointer; font-variant-numeric: tabular-nums; }
.hora-lista li:hover, .hora-lista li:focus { background: #eef3ff; outline: none; }
.hora-lista li.sel { background: #1f5eff; color: #fff; }
.table-wrap:has(.hora-lista) { overflow: visible; }
tr.lt-off td { opacity: .45; }
tr.lt-off td:first-child { opacity: 1; }
#lt-linhas .lt-dia { margin-top: 2px; }
/* Data em dd/mm/aaaa: o campo nativo fica invisivel por baixo (so para abrir o calendario e enviar aaaa-mm-dd) */
input.data-iso { position: absolute !important; right: 4px; top: 50%; width: 32px !important; height: 32px; padding: 0 !important; opacity: 0; pointer-events: none; border: 0; }
.hora-wrap input.data-br { padding-right: 40px; }
