@charset "UTF-8";

/* ==========================================================================
   App das clientes da Wave. Cores do manual da marca sobre o areia quente do
   site; títulos em serifa e texto em Source Sans 3, a equivalente aberta da
   Myriad do manual. Celular primeiro: em tela grande o app fica centrado,
   com a largura de um celular.
   ========================================================================== */

:root {
  --areia: #EFE6D9;
  --areia-funda: #E3D7C5;
  --creme: #FBF7F0;
  --tinta: #1D1D1D;
  --apoio: #5C5148;
  --cafe: #241A13;
  --cafe-claro: #3A2A1D;
  --marrom: #663500;
  --ouro: #D0AD6A;
  --ouro-medio: #A67D40;
  --ouro-escuro: #7A5A2E;
  --verde: #2F7D5B;
  --serifa: "Instrument Serif", Georgia, "Times New Roman", serif;
  --texto: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --borda: rgba(29, 29, 29, .08);
  --sombra: 0 14px 34px rgba(70, 45, 20, .12);
  --sombra-leve: 0 6px 18px rgba(70, 45, 20, .08);
  --topo: env(safe-area-inset-top, 0px);
  --base: env(safe-area-inset-bottom, 0px);
  --rapido: 180ms cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--areia-funda); }
body {
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.4;
  color: var(--tinta);
  background: var(--areia-funda);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--ouro-medio); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Moldura ─────────────────────────────────────────────────────────────── */
.app {
  position: relative;
  max-width: 440px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--areia);
  overflow-x: clip;
  padding-bottom: calc(112px + var(--base));
}
.app--sem-nav { padding-bottom: 0; }
.tela { animation: entra 320ms cubic-bezier(.2, .8, .2, 1) both; }
.margem { padding-inline: 20px; }
.bloco { margin-top: 32px; }
.bloco__topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-inline: 20px; margin-bottom: 14px; }
.bloco__topo h2 { font-size: 28px; }
.link { font-weight: 600; font-size: 15px; color: var(--ouro-escuro); padding: 6px 0; }

@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sobe { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* Topo ────────────────────────────────────────────────────────────────── */
.topo { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + var(--topo)) 20px 0; position: relative; z-index: 6; }
.topo__logo { height: 34px; width: auto; }
.topo__botao { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--creme); box-shadow: var(--sombra-leve); }
.topo__botao svg { width: 22px; height: 22px; }
.selo-num { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; background: var(--marrom); color: #fff; font-size: 12px; font-weight: 700; }
.voltar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--creme); box-shadow: var(--sombra-leve); }
.voltar svg { width: 20px; height: 20px; }

/* Início: saudação e cartão do Clube, com a foto passando por cima ─────── */
.ola { position: relative; padding: 18px 20px 0; min-height: 168px; z-index: 2; }
.ola h1 { font-size: 46px; max-width: 170px; }
.ola p { margin-top: 10px; max-width: 150px; color: var(--apoio); font-size: 15px; line-height: 1.3; }

.cartao-clube {
  position: relative;
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px;
  min-height: 236px;
  padding: 22px;
  border-radius: 32px;
  color: var(--creme);
  background:
    radial-gradient(120% 90% at 92% 8%, rgba(208, 173, 106, .34), transparent 58%),
    linear-gradient(155deg, var(--cafe-claro), var(--cafe) 62%);
  box-shadow: var(--sombra);
  transition: transform var(--rapido);
}
.cartao-clube:active { transform: scale(.985); }
.cartao-clube__recorte { position: absolute; inset: -240px -24px 0 -24px; clip-path: inset(0 0 0 0 round 0 0 32px 32px); pointer-events: none; z-index: 3; }
.cartao-clube__recorte img { position: absolute; right: -72px; bottom: -104px; height: 450px; width: auto; max-width: none; filter: drop-shadow(-10px 8px 22px rgba(20, 12, 5, .32)); }
.cartao-clube__texto { position: relative; z-index: 4; width: 50%; }
.cartao-clube h2 { font-size: 28px; }
.nivel-linha { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.nivel-linha span { font-size: 15px; color: #E9DCC7; }
.nivel-linha b { display: block; font-family: var(--serifa); font-weight: 400; font-size: 24px; line-height: 1; color: var(--ouro); }
.medalha { flex: none; width: 42px; height: 42px; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: radial-gradient(circle at 34% 28%, #F3DFB2, var(--ouro) 44%, var(--ouro-medio) 82%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); position: relative; }
.medalha::after { content: ""; position: absolute; left: 22%; right: 22%; top: 46%; height: 12%; border-radius: 50%; background: rgba(102, 53, 0, .5); transform: rotate(-12deg); }
.medalha--areia { background: radial-gradient(circle at 34% 28%, #FFF8EC, #E7DED0 60%, #C9B9A0); }
.medalha--bronze { background: radial-gradient(circle at 34% 28%, #E9B98C, #B47A45 56%, #7C4B24); }
.medalha--onix { background: radial-gradient(circle at 34% 28%, #57504A, #1D1D1D 62%); box-shadow: inset 0 0 0 2px var(--ouro); }
.medalha--onix::after { background: var(--ouro); }
.pontos { margin-top: 16px; font-family: var(--serifa); font-size: 38px; line-height: 1; }
.pontos small { font-family: var(--texto); font-size: 15px; margin-left: 4px; color: #E9DCC7; }
.barra { height: 8px; margin-top: 10px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.barra i { display: block; height: 100%; border-radius: 4px; background: var(--ouro); transform-origin: left; animation: enche 900ms cubic-bezier(.2, .8, .2, 1) both 200ms; }
@keyframes enche { from { transform: scaleX(0); } }
.barra-legenda { margin-top: 8px; font-size: 14px; color: #E9DCC7; }

/* Atalhos ─────────────────────────────────────────────────────────────── */
.atalhos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 16px 0; }
.atalho { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; border-radius: 22px; background: var(--creme); box-shadow: var(--sombra-leve); font-size: 14px; font-weight: 500; line-height: 1.15; text-align: center; transition: transform var(--rapido); }
.atalho:active, .cartao:active, .ritmo-linha:active, .missao:active { transform: scale(.97); }
.atalho svg { width: 26px; height: 26px; color: var(--ouro-medio); }

/* Cartões gerais ──────────────────────────────────────────────────────── */
.cartao { display: block; width: 100%; background: var(--creme); border-radius: 26px; padding: 18px; box-shadow: var(--sombra-leve); transition: transform var(--rapido); }
.grupo { padding-inline: 16px; display: grid; gap: 12px; }
.grupo > .botao--claro { background: var(--creme); }

.horario { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; }
.horario__dia { display: grid; place-items: center; align-content: center; height: 86px; border-radius: 20px; background: var(--cafe); color: var(--creme); }
.horario__dia b { font-family: var(--serifa); font-weight: 400; font-size: 36px; line-height: 1; color: var(--ouro); }
.horario__dia span { font-size: 14px; }
.horario h3 { font-size: 24px; }
.horario p { color: var(--apoio); font-size: 15px; margin-top: 3px; }
.horario__acoes { grid-column: 1 / -1; display: flex; gap: 8px; }

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 24px; font-weight: 600; font-size: 16px; background: var(--ouro); color: var(--tinta); text-decoration: none; transition: transform var(--rapido), background var(--rapido); }
.botao:active { transform: scale(.97); }
.botao--largo { width: 100%; }
.botao--claro { background: var(--areia); }
.botao--contorno { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ouro-medio); color: var(--ouro-escuro); }
.botao--escuro { background: var(--cafe); color: var(--creme); }
.botao[disabled] { opacity: .45; cursor: default; }
.botao svg { width: 18px; height: 18px; }

/* Banner da Black November ────────────────────────────────────────────── */
.banner-black {
  position: relative;
  display: block;
  width: calc(100% - 32px);
  margin: 52px 16px 0;
  min-height: 232px;
  padding: 24px 22px 22px;
  border-radius: 32px;
  color: var(--creme);
  background:
    radial-gradient(90% 90% at 100% 100%, rgba(208, 173, 106, .3), transparent 60%),
    #131110;
  box-shadow: var(--sombra);
  transition: transform var(--rapido);
}
.banner-black:active { transform: scale(.985); }
.banner-black__recorte { position: absolute; inset: -56px 0 0 0; clip-path: inset(0 0 0 0 round 0 0 32px 32px); pointer-events: none; }
.banner-black__recorte img { position: absolute; right: -64px; top: 0; height: 320px; width: auto; max-width: none; }
.banner-black__texto { position: relative; width: 60%; z-index: 2; }
.banner-black small { display: block; font-size: 15px; font-weight: 600; color: var(--ouro); }
.banner-black h2 { margin-top: 4px; font-size: 32px; }
.banner-black p { margin-top: 8px; font-size: 15px; color: #E9DCC7; line-height: 1.3; }
.banner-black .botao { margin-top: 14px; min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Seu ritmo: quanto falta para a hora de voltar, serviço a serviço ─────── */
.ritmo { padding: 8px 18px; }
.ritmo-linha { display: block; width: 100%; padding: 12px 0; transition: transform var(--rapido); }
.ritmo-linha + .ritmo-linha { box-shadow: 0 -1px 0 var(--borda); }
.ritmo-linha__topo { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ritmo-linha__topo b { font-weight: 600; font-size: 17px; }
.ritmo-linha__topo span { font-size: 14px; color: var(--apoio); }
.ritmo-linha.vencido .ritmo-linha__topo span { color: var(--marrom); font-weight: 600; }
.trilha { position: relative; height: 10px; margin-top: 8px; border-radius: 5px; background: var(--areia-funda); overflow: hidden; }
.trilha i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--ouro); transform-origin: left; animation: enche 800ms cubic-bezier(.2, .8, .2, 1) both 200ms; }
.vencido .trilha i { background: var(--marrom); }

/* Agendar ─────────────────────────────────────────────────────────────── */
.ag-topo { position: relative; padding: 16px 20px 0; min-height: 150px; }
.ag-topo h1 { font-size: 46px; max-width: 170px; }
.ag-repetir { position: relative; display: block; margin: 0 16px; width: calc(100% - 32px); min-height: 124px; padding: 20px; border-radius: 30px; background: linear-gradient(155deg, var(--cafe-claro), var(--cafe) 70%); color: var(--creme); box-shadow: var(--sombra); transition: transform var(--rapido); }
.ag-repetir:active { transform: scale(.985); }
.ag-repetir__recorte { position: absolute; inset: -130px -16px 0 0; clip-path: inset(0 0 0 0 round 0 0 30px 0); pointer-events: none; }
.ag-repetir__recorte img { position: absolute; right: -92px; top: 0; height: 300px; width: auto; max-width: none; }
.ag-repetir small { display: block; font-size: 14px; color: var(--ouro); font-weight: 600; }
.ag-repetir b { display: block; max-width: 62%; margin-top: 4px; font-family: var(--serifa); font-weight: 400; font-size: 25px; line-height: 1.05; position: relative; z-index: 2; }
.ag-repetir > span:not(.ag-repetir__recorte) { display: block; max-width: 60%; font-size: 15px; color: #E9DCC7; margin-top: 4px; position: relative; z-index: 2; }

.passo { margin-top: 26px; scroll-margin-top: 16px; }
.passo__titulo { display: flex; align-items: baseline; justify-content: space-between; padding-inline: 20px; margin-bottom: 12px; }
.passo__titulo h2 { font-size: 26px; }
.servicos { display: grid; gap: 10px; padding-inline: 16px; }
.servico { display: grid; grid-template-columns: 62px 1fr 28px; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 24px; background: var(--creme); box-shadow: var(--sombra-leve); transition: transform var(--rapido), box-shadow var(--rapido); }
.servico:active { transform: scale(.98); }
.servico img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.servico b { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; }
.servico em { display: block; font-style: normal; font-size: 14px; color: var(--apoio); line-height: 1.25; margin-top: 1px; }
.servico strong { display: block; margin-top: 3px; font-weight: 600; font-size: 15px; color: var(--ouro-escuro); }
.servico[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ouro-medio), var(--sombra-leve); }
.marca { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ouro-medio); display: grid; place-items: center; color: transparent; }
.marca svg { width: 15px; height: 15px; }
[aria-pressed="true"] > .marca, [aria-checked="true"] > .marca { background: var(--ouro); color: var(--tinta); box-shadow: none; }
.servico--destaque { background: #131110; color: var(--creme); }
.servico--destaque em { color: #D9CDB9; }
.servico--destaque strong { color: var(--ouro); }

.pessoas { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pessoas::-webkit-scrollbar, .dias::-webkit-scrollbar, .recompensas::-webkit-scrollbar { display: none; }
.pessoa { flex: none; width: 128px; padding: 14px 10px; border-radius: 22px; background: var(--creme); box-shadow: var(--sombra-leve); text-align: center; scroll-snap-align: start; transition: transform var(--rapido); }
.pessoa:active { transform: scale(.97); }
.pessoa i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: var(--cafe); color: var(--ouro); font-family: var(--serifa); font-style: normal; font-size: 24px; }
.pessoa b { display: block; font-weight: 600; font-size: 15px; line-height: 1.15; }
.pessoa span { display: block; font-size: 13px; line-height: 1.2; color: var(--apoio); margin-top: 3px; }
.pessoa[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ouro-medio), var(--sombra-leve); }

.dias { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.dia { flex: none; position: relative; width: 62px; padding: 10px 0 12px; border-radius: 20px; background: var(--creme); text-align: center; box-shadow: var(--sombra-leve); transition: transform var(--rapido); }
.dia:active { transform: scale(.96); }
.dia span { display: block; font-size: 13px; color: var(--apoio); }
.dia b { display: block; font-family: var(--serifa); font-weight: 400; font-size: 28px; line-height: 1.1; }
.dia em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--ouro-escuro); min-height: 15px; }
.dia[aria-checked="true"] { background: var(--cafe); color: var(--creme); }
.dia[aria-checked="true"] span { color: #D9CDB9; }
.dia[aria-checked="true"] em { color: var(--ouro); }
.dia[disabled] { opacity: .4; }
.horas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-inline: 16px; }
.hora { min-height: 46px; border-radius: 23px; text-align: center; font-weight: 600; background: var(--creme); box-shadow: var(--sombra-leve); transition: transform var(--rapido); }
.hora:active { transform: scale(.96); }
.hora[aria-checked="true"] { background: var(--ouro); box-shadow: none; }
.nota { padding: 10px 20px 0; font-size: 15px; color: var(--apoio); }
.nota b { color: var(--tinta); font-weight: 600; }

.resumo { position: sticky; bottom: calc(102px + var(--base)); z-index: 8; margin: 24px 16px 0; padding: 14px 14px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 28px; background: var(--cafe); color: var(--creme); box-shadow: var(--sombra); animation: sobe 280ms both; }
.resumo small { display: block; font-size: 13px; color: #D9CDB9; }
.resumo b { display: block; font-family: var(--serifa); font-weight: 400; font-size: 25px; line-height: 1.05; color: var(--ouro); }

/* Clube ───────────────────────────────────────────────────────────────── */
.clube-topo { position: relative; padding: calc(14px + var(--topo)) 20px 26px; border-radius: 0 0 40px 40px; color: var(--creme); background: radial-gradient(100% 70% at 100% 0, rgba(208, 173, 106, .36), transparent 60%), linear-gradient(170deg, var(--cafe-claro), var(--cafe) 70%); min-height: 370px; }
.clube-topo h1 { font-size: 44px; margin-top: 16px; }
.clube-topo__recorte { position: absolute; inset: 0; clip-path: inset(0 0 0 0 round 0 0 40px 40px); pointer-events: none; }
.clube-topo__recorte img { position: absolute; right: -22px; bottom: -86px; height: 400px; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 16%); mask-image: linear-gradient(to right, transparent, #000 16%); }
.anel { position: relative; z-index: 2; width: 148px; height: 148px; margin-top: 18px; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 9; }
.anel .fundo { stroke: rgba(255, 255, 255, .14); }
.anel .valor { stroke: var(--ouro); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); }
.anel__meio { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.anel__meio b { font-family: var(--serifa); font-weight: 400; font-size: 40px; line-height: 1; }
.anel__meio span { font-size: 14px; color: #E9DCC7; }
.clube-topo__nivel { position: relative; z-index: 2; margin-top: 16px; width: 52%; }
.clube-topo__nivel b { font-family: var(--serifa); font-weight: 400; font-size: 28px; color: var(--ouro); line-height: 1; }
.clube-topo__nivel p { font-size: 15px; color: #E9DCC7; line-height: 1.25; margin-top: 4px; }

.onda { position: relative; padding: 4px 8px 8px; overflow: hidden; }
.onda svg { display: block; width: 100%; height: auto; }
.onda text { font-family: var(--texto); font-size: 12.5px; font-weight: 500; fill: var(--apoio); text-anchor: middle; }
.onda text.atual { fill: var(--tinta); font-weight: 700; }

.missao { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border-radius: 24px; background: var(--creme); box-shadow: var(--sombra-leve); transition: transform var(--rapido); }
.missao b { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; }
.missao span { display: block; font-size: 15px; color: var(--apoio); line-height: 1.25; margin-top: 3px; }
.missao em { display: grid; place-items: center; min-width: 58px; height: 42px; padding-inline: 10px; border-radius: 21px; font-style: normal; font-family: var(--serifa); font-size: 22px; background: var(--cafe); color: var(--ouro); }
.missao.feita { opacity: .6; }
.missao.feita em { background: var(--verde); color: #fff; font-family: var(--texto); font-size: 14px; font-weight: 700; }

.recompensas { display: flex; gap: 12px; overflow-x: auto; padding: 42px 16px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.recompensa { position: relative; flex: none; width: 152px; padding: 58px 14px 14px; border-radius: 26px; background: var(--creme); box-shadow: var(--sombra-leve); scroll-snap-align: start; transition: transform var(--rapido); }
.recompensa:active { transform: scale(.97); }
.recompensa img { position: absolute; left: 50%; top: -30px; width: 84px; height: 84px; margin-left: -42px; object-fit: cover; border-radius: 50%; box-shadow: var(--sombra-leve); }
.recompensa img.solta { border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 8px 10px rgba(70, 45, 20, .3)); }
.recompensa b { display: block; font-weight: 600; font-size: 15px; line-height: 1.2; min-height: 36px; }
.recompensa span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ouro-escuro); }
.recompensa.bloqueada img { filter: grayscale(.8); opacity: .7; }
.recompensa.bloqueada span { color: var(--apoio); font-weight: 500; }

.niveis { padding: 6px 18px; }
.nivel { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 12px 0; }
.nivel + .nivel { box-shadow: 0 -1px 0 var(--borda); }
.nivel b { font-family: var(--serifa); font-weight: 400; font-size: 22px; line-height: 1; }
.nivel small { font-family: var(--texto); font-size: 14px; color: var(--ouro-escuro); margin-left: 6px; font-weight: 600; }
.nivel p { font-size: 15px; color: var(--apoio); margin-top: 2px; line-height: 1.25; }

.extrato { padding: 6px 18px; }
.extrato li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; }
.extrato li + li { box-shadow: 0 -1px 0 var(--borda); }
.extrato { margin: 0; }
.extrato span { font-size: 15px; }
.extrato small { display: block; font-size: 14px; color: var(--apoio); }
.extrato b { font-weight: 600; color: var(--ouro-escuro); white-space: nowrap; }

/* Avisos ──────────────────────────────────────────────────────────────── */
.titulo-tela { padding: 16px 20px 0; }
.titulo-tela h1 { font-size: 44px; }
.titulo-tela p { margin-top: 6px; color: var(--apoio); }
.filtros { display: flex; gap: 8px; padding: 16px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.filtro { flex: none; min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--creme); font-weight: 500; font-size: 15px; box-shadow: var(--sombra-leve); }
.filtro[aria-pressed="true"] { background: var(--cafe); color: var(--creme); }
.ativar { position: relative; margin: 14px 16px 0; padding: 18px; border-radius: 26px; background: var(--areia-funda); }
.ativar b { display: block; font-family: var(--serifa); font-weight: 400; font-size: 24px; line-height: 1.05; }
.ativar p { margin: 6px 0 12px; font-size: 15px; color: var(--apoio); line-height: 1.3; }
.aviso-item { position: relative; display: block; width: 100%; padding: 18px; border-radius: 26px; background: var(--creme); box-shadow: var(--sombra-leve); }
.aviso-item--foto { padding-right: 128px; min-height: 164px; }
.aviso-item__recorte { position: absolute; inset: -24px 0 0 0; clip-path: inset(0 0 0 0 round 0 0 26px 0); pointer-events: none; }
.aviso-item__recorte img { position: absolute; right: -14px; bottom: -40px; height: 215px; width: auto; max-width: none; }
.aviso-item small { display: flex; justify-content: space-between; font-size: 14px; color: var(--apoio); }
.aviso-item small i { font-style: normal; font-weight: 600; color: var(--ouro-escuro); }
.aviso-item h3 { font-size: 24px; margin-top: 6px; }
.aviso-item.novo h3::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; vertical-align: middle; border-radius: 50%; background: var(--marrom); }
.aviso-item p { font-size: 15px; color: var(--apoio); margin-top: 5px; line-height: 1.3; }
.aviso-item .botao { margin-top: 12px; min-height: 42px; padding: 0 18px; font-size: 15px; position: relative; z-index: 2; }

/* Agenda e perfil ─────────────────────────────────────────────────────── */
.linha-hist { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.linha-hist b { display: block; font-weight: 600; line-height: 1.2; }
.linha-hist span { font-size: 15px; color: var(--apoio); }
.perfil-topo { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 20px 20px 0; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serifa); font-size: 32px; color: var(--ouro); background: var(--cafe); }
.perfil-topo h1 { font-size: 34px; }
.perfil-topo p { color: var(--apoio); }
.opcao { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 8px 0; }
.opcao + .opcao { box-shadow: 0 -1px 0 var(--borda); }
.opcao span { font-size: 16px; }
.opcao small { display: block; font-size: 14px; color: var(--apoio); line-height: 1.2; }
.chave { flex: none; position: relative; width: 50px; height: 30px; border-radius: 15px; background: var(--areia-funda); transition: background var(--rapido); }
.chave::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--rapido); }
[aria-checked="true"] > .chave { background: var(--ouro-medio); }
[aria-checked="true"] > .chave::after { transform: translateX(20px); }
.seg { display: flex; padding: 3px; border-radius: 20px; background: var(--areia-funda); }
.seg button { min-height: 34px; padding: 0 14px; border-radius: 17px; font-size: 14px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--creme); }
.rodape { padding: 26px 20px 0; font-size: 14px; color: var(--apoio); text-align: center; line-height: 1.35; }

/* Navegação ───────────────────────────────────────────────────────────── */
.nav { position: fixed; left: 50%; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; width: 100%; max-width: 440px; transform: translateX(-50%); padding: 10px 8px calc(10px + var(--base)); border-radius: 28px 28px 0 0; background: var(--creme); box-shadow: 0 -8px 28px rgba(70, 45, 20, .12); }
.nav a { display: grid; place-items: center; gap: 2px; min-height: 52px; font-size: 13px; font-weight: 500; color: var(--apoio); text-decoration: none; transition: color var(--rapido); }
.nav a svg { width: 25px; height: 25px; }
.nav a[aria-current="page"] { color: var(--ouro-escuro); font-weight: 700; }
.nav__centro { position: relative; }
.nav__centro a { position: absolute; left: 50%; top: -36px; margin-left: -36px; width: 72px; height: 72px; border-radius: 50%; background: var(--ouro); color: var(--tinta); box-shadow: 0 10px 22px rgba(122, 90, 46, .42), inset 0 0 0 3px rgba(255, 255, 255, .28); transition: transform var(--rapido); }
.nav__centro a:active { transform: scale(.94); }
.nav__centro svg { width: 30px; height: 30px; }

/* Folha que sobe de baixo ─────────────────────────────────────────────── */
.folha { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; background: rgba(29, 20, 12, .5); animation: entra-fundo 200ms both; }
@keyframes entra-fundo { from { opacity: 0; } }
.folha__corpo { position: relative; width: 100%; max-width: 440px; max-height: 88dvh; overflow-y: auto; padding: 24px 20px calc(24px + var(--base)); border-radius: 32px 32px 0 0; background: var(--areia); animation: sobe 300ms cubic-bezier(.2, .8, .2, 1) both; }
.folha h2 { font-size: 34px; padding-right: 44px; }
.folha p { color: var(--apoio); margin-top: 8px; }
.folha__fechar { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--creme); }
.folha__fechar svg { width: 20px; height: 20px; }
.notas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 20px 0; }
.nota-btn { display: grid; place-items: center; height: 58px; border-radius: 20px; background: var(--creme); font-family: var(--serifa); font-size: 28px; transition: transform var(--rapido), background var(--rapido); }
.nota-btn:active { transform: scale(.94); }
.nota-btn[aria-checked="true"] { background: var(--ouro); }
.notas-legenda { display: flex; justify-content: space-between; margin-top: -12px; margin-bottom: 16px; font-size: 14px; color: var(--apoio); }
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-weight: 600; margin-bottom: 6px; }
.campo input, .campo textarea { display: block; width: 100%; min-height: 54px; padding: 14px 18px; border: 0; border-radius: 20px; background: var(--creme); font: inherit; font-size: 17px; color: var(--tinta); resize: vertical; }
.ok-grande { text-align: center; }
.ok-grande img { width: 150px; margin: 0 auto 8px; filter: drop-shadow(0 12px 14px rgba(70, 45, 20, .3)); }
.ok-grande h2 { padding: 0; }
.ganho { display: inline-block; margin: 14px 0 18px; padding: 8px 18px; border-radius: 20px; background: var(--cafe); color: var(--ouro); font-family: var(--serifa); font-size: 26px; animation: sobe 500ms cubic-bezier(.2, .8, .2, 1) both 120ms; }

/* Entrada ─────────────────────────────────────────────────────────────── */
.entrada { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(24px + var(--topo)) 20px calc(24px + var(--base)); color: var(--creme); background: radial-gradient(110% 60% at 80% 18%, rgba(208, 173, 106, .42), transparent 62%), linear-gradient(170deg, var(--cafe-claro), #120D09 78%); overflow: hidden; }
.entrada__logo { position: absolute; left: 20px; top: calc(24px + var(--topo)); height: 44px; width: auto; }
.entrada__foto { position: absolute; right: -20%; top: 74px; height: 62%; width: auto; max-width: none; }
.entrada__corpo { position: relative; z-index: 2; padding: 22px; border-radius: 32px; background: var(--creme); color: var(--tinta); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); animation: sobe 420ms cubic-bezier(.2, .8, .2, 1) both 100ms; }
.entrada h1 { font-size: 40px; }
.entrada p { margin: 8px 0 16px; color: var(--apoio); }
.entrada .campo input { background: var(--areia); }
.entrada small { display: block; margin-top: 12px; font-size: 14px; color: var(--apoio); line-height: 1.3; text-align: center; }

.aviso { position: fixed; left: 50%; bottom: calc(118px + var(--base)); z-index: 60; transform: translate(-50%, 20px); max-width: min(400px, calc(100% - 32px)); padding: 12px 20px; border-radius: 24px; background: var(--tinta); color: var(--creme); font-size: 15px; opacity: 0; pointer-events: none; transition: opacity var(--rapido), transform var(--rapido); }
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }
.semjs { padding: 24px; }

/* Em tela grande, o app fica centrado, com a largura de um celular. */
@media (min-width: 480px) {
  .app { box-shadow: 0 0 60px rgba(70, 45, 20, .18); }
}
