/* Fitlyx — app mobile-first (aluno e personal) */
:root { --acc: #a3e635; --acc-ink: #172554; --bg: #f6f7fb; --card: #fff; --ink: #0f172a; --muted: #64748b; --line: #e2e8f0; --dark: #0f172a; --dark2: #1e293b; --blue: #2563eb; --ok: #16a34a; --erro: #dc2626; --warn: #d97706; --r: 20px; --sombra: 0 1px 2px rgba(15,23,42,.04), 0 10px 30px rgba(15,23,42,.05); --tab-h: 72px; --side: 250px; }
* { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); background-image: radial-gradient(700px 320px at 100% -80px, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); background-repeat: no-repeat; color: var(--ink); line-height: 1.5; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; } img { max-width: 100%; } h1, h2, h3, h4, p { margin: 0; } h2 { font-size: 1.15rem; font-weight: 700; } h3 { font-size: 1rem; font-weight: 700; }
button, input, select, textarea { font: inherit; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .mt { margin-top: 1rem; } .mb { margin-bottom: 1rem; } .flex { display: flex; align-items: center; gap: .6rem; } .entre { justify-content: space-between; } .grow { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; }
.truncar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Topo */
.topo { position: sticky; top: 0; z-index: 45; background: rgba(246,247,251,.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); color: var(--ink); padding: calc(8px + env(safe-area-inset-top)) 16px 8px; }
.topo-pagina { padding-bottom: 8px; }
.topo-barra { display: flex; align-items: center; justify-content: space-between; min-height: 40px; max-width: 1100px; margin: 0 auto; }
.topo-titulo { max-width: 1100px; margin: 10px auto 4px; } .topo-titulo h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; } .topo-titulo h1::after { content: ""; display: block; width: 34px; height: 5px; border-radius: 3px; background: var(--acc); margin-top: 8px; } .topo-titulo p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.logo { color: var(--ink); font-weight: 800; font-size: 1.25rem; display: inline-flex; align-items: center; gap: 3px; letter-spacing: -.02em; } .logo small { font-weight: 500; color: var(--muted); font-size: .75rem; margin-left: 4px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--acc); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.05rem; }
.topo-voltar { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; } .topo-voltar i { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; } .topo-acoes { display: flex; align-items: center; gap: 10px; }
.topo-sino { position: relative; color: var(--ink); font-size: 1.15rem; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.topo-sino b { position: absolute; top: -4px; right: -4px; background: #ef4444; color: #fff; border-radius: 999px; font-size: .68rem; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-flex; } .avatar-ini { background: var(--acc); color: var(--dark); align-items: center; justify-content: center; font-weight: 800; }
.avatar-borda { border: 3px solid #fff; box-shadow: 0 0 0 2px var(--acc); }
/* Conteúdo e cards */
.conteudo { --pad: 16px; max-width: 1100px; margin: 0 auto; padding: 16px var(--pad) calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); position: relative; }
.conteudo-publica { padding-bottom: 40px; } .sem-nav .conteudo { padding-bottom: 32px; }
.card { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--sombra); border: 1px solid rgba(15,23,42,.05); margin-bottom: 14px; }
.card h2 { margin-bottom: 10px; }
label.card { display: block; padding-right: 52px; margin-bottom: 12px; } label.card input[type=radio] { position: absolute; top: 16px; right: 16px; margin: 0; } .card-titulo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } .card-titulo h2 { margin: 0; }
.card-dark { background: linear-gradient(135deg, #1e293b, #0f172a); color: #fff; border: 0; } .card-dark .muted { color: #cbd5e1; }
.card-acc { background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #fff)); color: var(--dark); border: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.atalho { background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; font-weight: 700; font-size: 1rem; box-shadow: var(--sombra); border: 1px solid rgba(15,23,42,.05); transition: transform .12s; min-height: 108px; }
.atalho:active { transform: scale(.98); } .atalho i { width: 44px; height: 44px; border-radius: 14px; background: var(--dark); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; } .atalho span::after { content: " →"; color: var(--muted); font-weight: 500; }
.atalho.claro { background: #fff; color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 14px; } .kpi { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--sombra); } .kpi b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; } .kpi span { color: var(--muted); font-size: .82rem; } .kpi i { float: right; color: var(--acc); background: var(--dark); width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
/* Listas */
.lista { display: flex; flex-direction: column; gap: 10px; }
.item { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--sombra); display: flex; align-items: center; gap: 12px; color: var(--ink); }
.item-link { transition: transform .12s; } .item-link:active { transform: scale(.985); } .item .seta { color: #94a3b8; margin-left: auto; } .item .icone { width: 52px; height: 52px; border-radius: 50%; background: #e0f2fe; color: #0369a1; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.item .icone.acc { background: color-mix(in srgb, var(--acc) 25%, #fff); color: #365314; } .item-corpo { flex: 1; min-width: 0; } .item-corpo strong { display: block; font-size: 1rem; } .item-corpo .muted { font-size: .85rem; }
.item-dentro { background: var(--bg); box-shadow: none; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #e2e8f0; color: #334155; vertical-align: middle; }
.badge-acc { background: var(--acc); color: var(--dark); } .badge-ok { background: #dcfce7; color: #166534; } .badge-erro { background: #fee2e2; color: #991b1b; } .badge-warn { background: #fef3c7; color: #92400e; } .badge-azul { background: #dbeafe; color: #1e40af; } .badge-roxo { background: #ede9fe; color: #5b21b6; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; font-size: .8rem; font-weight: 600; color: #334155; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.abas { display: flex; background: #e9ecf3; border-radius: 999px; padding: 4px; gap: 4px; margin: 0 0 14px; max-width: 1100px; }
.abas a { flex: 1; text-align: center; padding: 10px 8px; border-radius: 999px; color: #475569; font-weight: 600; font-size: .92rem; } .abas a.ativa { background: var(--dark); color: #fff; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 0; background: var(--acc); color: var(--dark); font-weight: 700; cursor: pointer; font-size: .95rem; text-decoration: none; line-height: 1.2; transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(1.05); } .btn:active { transform: translateY(1px); } .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sec { background: #fff; color: var(--ink); border: 1.5px solid var(--line); } .btn-dark { background: var(--dark); color: #fff; } .btn-azul { background: var(--blue); color: #fff; } .btn-perigo { background: #fee2e2; color: #991b1b; } .btn-ok { background: var(--ok); color: #fff; } .btn-whats { background: #25D366; color: #fff; }
.btn-bloco { width: 100%; } .btn-sm { padding: 8px 14px; font-size: .85rem; } .btn-grande { padding: 16px 22px; font-size: 1.05rem; }
.btn-fantasma { background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; padding: 6px; }
.acoes-linha { display: flex; gap: 8px; flex-wrap: wrap; }
/* Formulários */
.campo { margin-bottom: 14px; } .campo label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 5px; color: #334155; } .campo small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=url], input[type=time], select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 40%, transparent); } textarea { min-height: 84px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--dark); } .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
input[type=file] { width: 100%; padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: #fff; }
.opcoes-dias { display: flex; gap: 6px; flex-wrap: wrap; } .opcoes-dias label { position: relative; } .opcoes-dias input { position: absolute; opacity: 0; } .opcoes-dias span { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; border: 1.5px solid var(--line); font-weight: 700; font-size: .85rem; background: #fff; cursor: pointer; }
.opcoes-dias input:checked + span { background: var(--dark); color: var(--acc); border-color: var(--dark); }
.escolha { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; } .escolha label { position: relative; } .escolha input { position: absolute; opacity: 0; } .escolha span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .85rem; background: #fff; cursor: pointer; } .escolha input:checked + span { border-color: var(--dark); background: var(--dark); color: #fff; }
.alerta { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; } .alerta-ok { background: #dcfce7; color: #166534; } .alerta-erro { background: #fee2e2; color: #991b1b; } .alerta-info { background: #e0f2fe; color: #075985; } .alerta-warn { background: #fef3c7; color: #92400e; }
.vazio { text-align: center; padding: 36px 16px; color: var(--muted); } .vazio i { font-size: 2.4rem; color: #cbd5e1; margin-bottom: 10px; } .vazio h3 { color: var(--ink); margin-bottom: 4px; } .vazio .btn { margin-top: 14px; }
/* Semana de frequência */
.semana { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; } .semana div { font-size: .78rem; font-weight: 700; color: var(--muted); } .semana i { display: inline-flex; width: 40px; height: 44px; border-radius: 14px; background: #eef0f6; border: 2px solid transparent; align-items: center; justify-content: center; margin-bottom: 4px; color: var(--dark); font-style: normal; font-size: .95rem; }
.semana i.feito { background: var(--dark); color: var(--acc); } .semana i.hoje { border-color: var(--dark); background: #fff; } .semana i.previsto { background: #fff; border: 2px dashed #cbd5e1; } .semana i.perdido { background: #fee2e2; color: #991b1b; }
/* Tabbar */
.tabbar { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; background: var(--dark); display: flex; justify-content: space-around; align-items: stretch; z-index: 50; border-radius: 22px; box-shadow: 0 12px 32px rgba(15,23,42,.28); padding: 0 6px; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #94a3b8; font-size: .68rem; font-weight: 600; border-radius: 16px; margin: 6px 2px; } .tabbar a i { font-size: 1.2rem; } .tabbar a.ativo { color: var(--dark); background: var(--acc); }
/* Sidebar do personal (desktop) */
.side { display: none; } .badge-n { margin-left: auto; background: #ef4444; color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 7px; }
@media (min-width: 1024px) {
    .area-personal .side, .area-admin .side { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--side); background: #fff; border-right: 1px solid var(--line); padding: 22px 16px; z-index: 60; color: var(--ink); }
    .logo-side { margin: 0 8px 26px; } .side nav { display: flex; flex-direction: column; gap: 4px; } .side nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 999px; color: #475569; font-weight: 600; } .side nav a i { width: 20px; text-align: center; } .side nav a:hover { background: var(--bg); color: var(--ink); } .side nav a.ativo { background: var(--dark); color: #fff; } .side nav a.ativo i { color: var(--acc); }
    .side-rodape { margin-top: auto; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: .85rem; } .side-rodape strong { display: block; color: var(--ink); } .side-rodape a { color: var(--muted); }
    .area-personal .topo, .area-personal .conteudo, .area-admin .topo, .area-admin .conteudo { margin-left: var(--side); } .area-personal .topo .logo, .area-admin .topo .logo { visibility: hidden; } .area-personal .tabbar, .area-admin .tabbar { display: none; } .area-personal .conteudo, .area-admin .conteudo { padding-bottom: 40px; }
    .kpis { grid-template-columns: repeat(4, 1fr); } .grid-desk-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
}
@media (min-width: 720px) { .conteudo { --pad: 24px; } .grid-md-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; } .grid-md-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } }
/* Vídeo e exercícios */
.video-ex { width: 100%; max-height: 380px; background: #000; border-radius: 12px; object-fit: contain; display: block; } .video-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; } .video-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ex-card { background: #fff; border-radius: 16px; box-shadow: var(--sombra); margin-bottom: 12px; overflow: hidden; } .ex-topo { display: flex; gap: 12px; padding: 14px; } .ex-topo .num { width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: .9rem; }
.ex-info { flex: 1; min-width: 0; } .ex-info h3 { font-size: 1.02rem; line-height: 1.3; } .ex-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: .88rem; color: #334155; } .ex-meta b { color: var(--ink); }
.ex-video { padding: 0 14px 14px; } .ex-thumb { width: 92px; height: 120px; border-radius: 10px; object-fit: cover; background: #0f172a; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; cursor: pointer; overflow: hidden; } .ex-thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; } .ex-thumb i { position: absolute; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.series { border-top: 1px solid var(--line); padding: 8px 14px 12px; } .serie { display: grid; grid-template-columns: 44px 1fr 1fr 44px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); } .serie:last-child { border-bottom: 0; }
.serie small { color: var(--muted); font-weight: 700; } .serie input { padding: 9px 10px; text-align: center; font-size: 15px; } .serie .feito { width: 26px; height: 26px; accent-color: var(--ok); justify-self: center; }
.serie-cab { display: grid; grid-template-columns: 44px 1fr 1fr 44px; gap: 8px; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; padding: 0 0 4px; }
.ex-serie-linha { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--bg); }
.ex-serie-linha > span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.ex-toggle { background: none; border: 0; color: var(--blue); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; cursor: pointer; }
.ex-toggle i { transition: transform .2s; }
.ex-card.recolhido .series { display: none; }
.ex-card.recolhido .ex-toggle i { transform: rotate(-90deg); }
.ex-card.recolhido .ex-serie-linha { border-top: 0; }
.ex-card.concluido { opacity: .75; } .ex-card.concluido .ex-topo h3::after { content: " ✓"; color: var(--ok); }
.barra-treino { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--dark); color: #fff; padding: 12px 16px; border-radius: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.35); }
.barra-treino .cron { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.3rem; } .barra-treino .btn { padding: 10px 14px; white-space: nowrap; } .barra-treino { gap: 8px; }
.descanso { position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); background: var(--acc); color: var(--dark); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; z-index: 61; box-shadow: 0 10px 30px rgba(0,0,0,.25); } .descanso b { font-size: 1.6rem; font-variant-numeric: tabular-nums; min-width: 64px; } .descanso .btn { background: var(--dark); color: #fff; padding: 8px 12px; }
.modo-visual { background: var(--dark); color: #cbd5e1; border-radius: var(--r); padding: 18px; text-align: center; margin-bottom: 14px; } .modo-visual .btn { margin-bottom: 10px; background: var(--acc); color: var(--dark); letter-spacing: .04em; }
.dificuldade { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .dificuldade label { position: relative; } .dificuldade input { position: absolute; opacity: 0; } .dificuldade span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border: 1.5px solid var(--line); border-radius: 12px; font-size: .68rem; font-weight: 600; cursor: pointer; text-align: center; } .dificuldade span em { font-style: normal; font-size: 1.4rem; } .dificuldade input:checked + span { border-color: var(--dark); background: var(--dark); color: #fff; }
/* Modal */
.modal { border: 0; border-radius: 20px 20px 0 0; padding: 0; width: 100%; max-width: 560px; margin: auto auto 0; box-shadow: 0 -10px 40px rgba(0,0,0,.3); } .modal::backdrop { background: rgba(15,23,42,.55); } .modal-corpo { padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); } .modal h2 { margin-bottom: 12px; }
@media (min-width: 720px) { .modal { border-radius: 20px; margin: auto; } }
/* Avaliação */
.linha-dado { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; } .linha-dado:last-child { border: 0; } .linha-dado span { color: #475569; } .linha-dado b { text-align: right; }
.donut { position: relative; width: 170px; height: 170px; margin: 6px auto; } .donut canvas { position: relative; z-index: 1; } .donut-centro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; line-height: 1; } .donut-centro small { font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: 3px; }
.resultado-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } .resultado { background: var(--bg); border-radius: 12px; padding: 10px 12px; } .resultado span { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; } .resultado b { font-size: 1.15rem; } .resultado small { display: block; font-size: .75rem; color: #475569; }
.tabela-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; } table.comparar { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .92rem; } .comparar th, .comparar td { padding: 10px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; } .comparar th { color: var(--blue); font-weight: 700; font-size: .85rem; } .comparar td:first-child, .comparar th:first-child { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 600; z-index: 1; } .comparar tr.sub td:first-child { padding-left: 22px; font-weight: 500; color: #475569; } .comparar .dif { font-weight: 800; } .dif.melhor { color: var(--ok); } .dif.pior { color: var(--erro); } .dif.neutro { color: #334155; }
.fotos-av { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .fotos-av img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; } .fotos-av span { display: block; text-align: center; font-size: .75rem; color: var(--muted); margin-top: 3px; }
.dropzone { display: block; border: 2px dashed #94a3b8; border-radius: 16px; padding: 28px 16px; text-align: center; background: #fff; color: var(--muted); cursor: pointer; margin-bottom: 12px; line-height: 1.5; } .dropzone:hover, .dropzone.ativa { border-color: var(--dark); background: #f8fafc; } .dropzone i { font-size: 2.4rem; color: var(--blue); margin-bottom: 10px; display: block; } .dropzone strong { color: var(--ink); font-size: 1.05rem; display: block; margin-bottom: 4px; } .dropzone .small { display: block; } .dropzone .btn { margin-top: 12px; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; } .passo { background: #fff; border-radius: 12px; padding: 10px 8px; text-align: center; font-size: .78rem; color: #475569; box-shadow: var(--sombra); } .passo b { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--dark); color: var(--acc); align-items: center; justify-content: center; margin-bottom: 4px; }
.progresso-barra { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; } .progresso-barra i { display: block; height: 100%; background: var(--acc); width: var(--p, 0%); transition: width .4s; }
canvas.grafico { width: 100% !important; max-height: 260px; }
/* Toast, tabelas simples, util */
.instalar-app { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); z-index: 55; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 34px rgba(15,23,42,.18); max-width: 560px; margin: 0 auto; } .instalar-app > i { width: 42px; height: 42px; border-radius: 14px; background: var(--dark); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; } .instalar-app strong { display: block; } .instalar-app .btn-fantasma { color: var(--muted); } .sem-nav .instalar-app, .area-publica .instalar-app { bottom: 16px; }
@media (min-width: 1024px) { .area-personal .instalar-app { display: none !important; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 26px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-weight: 600; max-width: 90vw; }
.tabela { width: 100%; border-collapse: collapse; font-size: .9rem; } .tabela th, .tabela td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; } .tabela th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; } .tabela tr:last-child td { border: 0; }
.saudacao { font-size: 1.9rem; font-weight: 800; color: var(--ink); margin: 6px 0 2px; letter-spacing: -.02em; line-height: 1.1; } .saudacao-sub { color: var(--muted); margin-bottom: 16px; }
.coach { display: flex; align-items: center; gap: 14px; background: var(--dark); color: #fff; border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; box-shadow: var(--sombra); } .coach strong { display: block; font-size: 1.02rem; } .coach span { color: #cbd5e1; font-size: .82rem; } .coach .btn { margin-left: auto; padding: 9px 12px; font-size: .82rem; white-space: nowrap; }
.coach-ia { background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #fff)); color: var(--dark); text-decoration: none; border: 0; box-shadow: 0 10px 28px color-mix(in srgb, var(--acc) 45%, transparent); }
.coach-ia strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; } .coach-ia span { color: #1f2937; font-size: .85rem; } .coach-ia .coach-ia-tag { display: inline-block; background: var(--dark); color: var(--acc); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.coach-ia .coach-ia-icone { width: 56px; height: 56px; border-radius: 16px; background: var(--dark); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.coach-ia .btn-dark { color: #fff; }
.busca { position: relative; margin-bottom: 12px; } .busca input { padding-left: 42px; } .busca i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.fab { position: fixed; right: 16px; bottom: calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: var(--acc); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index: 40; }
@media (min-width: 1024px) { .area-personal .fab, .area-admin .fab { bottom: 24px; } }
.link-copiar { display: flex; gap: 8px; } .link-copiar input { flex: 1; font-size: .9rem; }
details.acordeao { background: #fff; border-radius: 14px; box-shadow: var(--sombra); margin-bottom: 10px; } details.acordeao summary { padding: 14px; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; } details.acordeao summary::-webkit-details-marker { display: none; } details.acordeao summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; color: var(--muted); transition: transform .2s; } details.acordeao[open] summary::after { transform: rotate(180deg); } details.acordeao .acordeao-corpo { padding: 0 14px 14px; }
/* Landing */
.landing-hero { background: radial-gradient(1200px 600px at 20% -10%, #1e3a8a 0%, #0f172a 45%, #0f172a 100%); color: #fff; padding: 20px 20px 60px; } .landing-hero .conteudo-publica { padding: 0; } .landing-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto 50px; } .landing-nav .btn { padding: 10px 16px; } .landing-nav .logo, .landing-nav .logo small { color: #fff; }
.landing-titulo { max-width: 1100px; margin: 0 auto; } .landing-titulo h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; } .landing-titulo h1 em { color: var(--acc); font-style: normal; } .landing-titulo p { color: #cbd5e1; font-size: 1.15rem; margin: 18px 0 28px; max-width: 620px; }
.landing-sec { max-width: 1100px; margin: -30px auto 0; padding: 0 20px 40px; } .recursos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; } .recurso { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--sombra); } .recurso i { width: 40px; height: 40px; border-radius: 12px; background: var(--dark); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; } .recurso h3 { margin-bottom: 4px; } .recurso p { color: var(--muted); font-size: .92rem; }
.tela-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; background: linear-gradient(170deg, #0f172a, #1e293b); } .tela-auth .card { width: 100%; max-width: 420px; padding: 26px 22px; margin: 0; } .tela-auth .logo { color: #fff; font-size: 1.7rem; margin-bottom: 20px; } .tela-auth .logo small { color: #94a3b8; } .tela-auth h1 { font-size: 1.35rem; margin-bottom: 4px; } .tela-auth .sub { color: var(--muted); margin-bottom: 18px; } .tela-auth .rodape-auth { color: #94a3b8; font-size: .85rem; margin-top: 18px; text-align: center; } .tela-auth .rodape-auth a { color: #e2e8f0; }
@media print { .topo, .tabbar, .side, .fab, .no-print { display: none !important; } .conteudo { margin: 0 !important; padding: 0 !important; } body { background: #fff; } .card { box-shadow: none; border: 1px solid #ddd; } }
/* Perfil do aluno: foto tocável com botão de câmera */
.perfil-topo { text-align: center; padding-top: 22px; } .perfil-nome { display: block; font-size: 1.15rem; font-weight: 800; margin-top: 10px; }
.foto-upload { position: relative; display: inline-block; width: 112px; height: 112px; cursor: pointer; }
.foto-upload img, .foto-upload .foto-iniciais { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--acc), 0 8px 24px rgba(15,23,42,.15); }
.foto-upload .foto-iniciais { display: inline-flex; align-items: center; justify-content: center; background: var(--dark); color: var(--acc); font-size: 2.2rem; font-weight: 800; }
.foto-upload .foto-camera { position: absolute; right: 0; bottom: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #fff; font-size: .9rem; }
.foto-upload:active { transform: scale(.98); }
.cores-app { display: flex; flex-wrap: wrap; gap: 10px; } .cor-swatch { position: relative; cursor: pointer; } .cor-swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cor-swatch span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); border: 2px solid rgba(15,23,42,.12); color: var(--dark); font-size: .8rem; transition: transform .15s; } .cor-swatch span i { opacity: 0; }
.cor-swatch:has(input:checked) span { transform: scale(1.12); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--dark); } .cor-swatch:has(input:checked) span i { opacity: 1; }
/* Filtros: busca em pílula + chips roláveis */
.filtros-barra { margin-bottom: 14px; } .filtros-barra .busca { margin-bottom: 10px; } .filtros-barra .busca input { border-radius: 999px; padding: 13px 16px 13px 46px; box-shadow: var(--sombra); border-color: transparent; background: #fff; } .filtros-barra .busca i { left: 18px; }
.chips-rolagem { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; } .chips-rolagem::-webkit-scrollbar { display: none; }
.chips-rolagem .chip { flex-shrink: 0; background: #fff; border: 1.5px solid var(--line); padding: 8px 14px; font-size: .86rem; color: #334155; box-shadow: var(--sombra); white-space: nowrap; }
.chips-rolagem .chip b { font-weight: 800; margin-left: 4px; color: var(--muted); } .chips-rolagem .chip.ativo { background: var(--dark); color: #fff; border-color: var(--dark); } .chips-rolagem .chip.ativo b { color: var(--acc); }
.item-thumb { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--bg); }
.item-thumb.icone { border-radius: 14px; }
@media (max-width: 480px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-3 > :first-child { grid-column: 1 / -1; } }
/* ---- Páginas públicas: menu, planos e vídeos de exemplo ---- */
.landing-menu { display: flex; align-items: center; gap: 4px; } .menu-link { color: #cbd5e1; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; } .menu-link:hover, .menu-link.ativo { color: #fff; background: rgba(255,255,255,.12); } .landing-menu .btn { margin-left: 6px; }
@media (max-width: 640px) { .menu-oculto { display: none; } }
.hero-preco { color: #94a3b8; margin-top: 12px; max-width: 620px; } .hero-preco b { color: #fff; } .hero-preco a { color: var(--acc); font-weight: 700; } .hero-preco-solo { margin-top: 6px; }
.landing-hero-menor { padding-bottom: 36px; } .landing-hero-menor + .landing-sec { margin-top: 28px; } .landing-hero-menor .landing-titulo h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.landing-sec + .landing-sec { margin-top: 12px; }
.landing-h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0; display: flex; align-items: center; gap: 10px; } .landing-h2 i { width: 38px; height: 38px; border-radius: 12px; background: var(--dark); color: var(--acc); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; } .landing-sub { color: var(--muted); max-width: 720px; margin: 0 0 18px; }
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; } .planos-grid-solo { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; }
.plano { position: relative; background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--sombra); border: 2px solid transparent; display: flex; flex-direction: column; gap: 8px; } .plano.destaque { border-color: var(--acc); } .plano h3 { font-size: 1.1rem; margin: 0; } .plano .preco { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; } .plano .preco small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 2px; } .plano-limite { font-weight: 700; margin: 0; color: var(--ink); } .plano-limite i { color: #4d7c0f; margin-right: 6px; } .plano-desc { color: var(--muted); font-size: .92rem; margin: 0 0 8px; flex: 1; } .plano-selo { position: absolute; top: -11px; right: 14px; }
.planos-nota { color: var(--muted); font-size: .88rem; margin: 14px 0 0; max-width: 760px; }
.planos-inclui { margin-top: 16px; } .planos-inclui h3 { margin: 0 0 8px; } .planos-inclui ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .planos-inclui li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); } .planos-inclui li i { color: #4d7c0f; margin-top: 4px; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } .demo-card { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--sombra); } .demo-video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: #f0f0f2; } .demo-card figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; } .demo-card figcaption span { color: var(--muted); font-size: .85rem; }
.faq-lista { display: grid; gap: 8px; max-width: 760px; } .faq { background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--sombra); } .faq summary { cursor: pointer; font-weight: 700; } .faq p { color: var(--muted); margin: 8px 0 2px; }
.faq-grupos { display: grid; gap: 22px; } .faq-grupo h3 { font-size: 1.05rem; margin: 0 0 8px; } .faq summary { list-style-position: outside; } .faq[open] { border-left: 3px solid var(--acc); } .faq p b { color: var(--ink); }

/* Exercícios combinados (bi-set / alternados): carrossel de cartões A, B, C */
.combo { background: #fff; border-radius: 16px; box-shadow: var(--sombra); margin-bottom: 12px; padding: 16px 0 6px; overflow: hidden; }
.combo-cab { padding: 0 16px 10px; } .combo-cab h3 { margin: 0 0 2px; font-size: 1.05rem; } .combo-cab p { margin: 0; color: var(--muted, #64748b); font-size: .88rem; }
.combo-trilho { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.combo-trilho .ex-card { flex: 0 0 92%; max-width: 420px; margin: 0; scroll-snap-align: center; box-shadow: none; border: 2px solid var(--line, #e2e8f0); }
.combo-trilho .ex-card.concluido { opacity: 1; border-color: var(--ok, #16a34a); }
@media (min-width: 720px) { .combo-trilho .ex-card { flex-basis: 380px; } }
