/* =========================================================
   Página da Agenda para Consultório · telas ilustrativas
   ========================================================= */
:root {
  --st-agendado: #8C8CA8;
  --st-confirmado: #25A55A;
  --st-aguardando: #F09000;
  --st-atendimento: #6B5BD2;
  --st-concluido: #202038;
  --st-faltou: #E5484D;
}

/* ---------- Topo ---------- */
.hero.hero-agenda {
  background:
    linear-gradient(100deg, rgba(32, 32, 56, .96) 0%, rgba(32, 32, 56, .86) 45%, rgba(32, 32, 56, .6) 100%),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1800&q=70") center / cover no-repeat,
    var(--marinho);
}
.mini-semana {
  background: rgba(255, 255, 255, .97); border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3); color: var(--marinho);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s;
}
.hero-visual:hover .mini-semana { transform: none; }
.mini-semana-cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mini-semana-cab strong { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1.2rem; }
.mini-semana-cab span { color: #8A8AA0; font-size: .82rem; }
.mini-dias { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.mini-dias > div { background: var(--cinza-2); border-radius: 14px; padding: 10px 6px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mini-dias small { font-size: .68rem; color: #8A8AA0; font-weight: 700; }
.mini-dias b { font-size: 1.2rem; }
.mini-dias i { width: 70%; height: 5px; border-radius: 3px; }
.mini-dias .hoje { background: var(--marinho); color: #fff; box-shadow: 0 10px 22px rgba(32, 32, 56, .35); }
.mini-dias .hoje small { color: #C9C9DD; }
.p1 { background: #F09000; } .p2 { background: #8C8CC8; } .p3 { background: #25A55A; }
.mini-lista > div { display: grid; grid-template-columns: 50px auto 1fr; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--borda); font-size: .9rem; }
.mini-lista .hora { font-weight: 700; }
.mini-lista strong { text-align: right; }

/* ---------- Pílulas de status ---------- */
.pill { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.agendado { background: #EDEDF3; color: #5C5C78; }
.pill.confirmado { background: rgba(37, 165, 90, .12); color: var(--st-confirmado); }
.pill.aguardando { background: rgba(240, 144, 0, .14); color: #C77700; }
.pill.em-atendimento { background: rgba(107, 91, 210, .13); color: var(--st-atendimento); }
.pill.concluido { background: rgba(32, 32, 56, .08); color: var(--marinho); }
.pill.faltou { background: rgba(229, 72, 77, .12); color: var(--st-faltou); }

/* ---------- Abas ---------- */
.abas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.aba {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  font: 600 .9rem Inter, sans-serif; color: var(--marinho); background: #fff;
  border: 1px solid var(--borda); border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.aba .ico { width: 18px; height: 18px; color: #F09000; transition: color .25s; }
.aba:hover { border-color: #F09000; transform: translateY(-2px); }
.aba.ativa { background: var(--marinho); color: #fff; border-color: var(--marinho); box-shadow: 0 10px 24px rgba(32, 32, 56, .25); }
.aba.ativa .ico { color: #FFB347; }
.aba > i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #F09000; }
.aba.ativa.rodando > i { animation: progresso-aba 7s linear forwards; }
@keyframes progresso-aba { to { width: 100%; } }

/* ---------- Palco / janela do app ---------- */
.palco { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; }
.app {
  width: 1040px; height: 720px; transform-origin: 0 0; position: absolute; left: 0; top: 0;
  background: #F6F6FA; border-radius: 18px; overflow: hidden; color: var(--marinho);
  box-shadow: 0 40px 90px rgba(32, 32, 56, .25), 0 0 0 1px rgba(32, 32, 56, .08);
  font-size: 13px; line-height: 1.4;
}
.app-janela { height: 34px; background: #E9E9F0; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.app-janela i { width: 11px; height: 11px; border-radius: 50%; background: #CFCFDA; }
.app-janela i:nth-child(1) { background: #FF5F57; } .app-janela i:nth-child(2) { background: #FEBC2E; } .app-janela i:nth-child(3) { background: #28C840; }
.app-janela span { margin: 0 auto; background: #fff; border-radius: 7px; padding: 3px 60px; font-size: 11px; color: #77778F; }
.app-corpo { display: flex; height: calc(100% - 34px); }
.app-menu { width: 64px; background: var(--marinho); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.app-logo img { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; }
.app-menu button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: #8F8FB0; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.app-menu button .ico { width: 20px; height: 20px; }
.app-menu button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.app-menu button.ativo { background: #F09000; color: #fff; box-shadow: 0 6px 16px rgba(240, 144, 0, .4); }
.app-area { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.app-topo { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: #fff; border-bottom: 1px solid #ECECF2; }
.app-busca { display: flex; align-items: center; gap: 8px; width: 300px; background: #F3F3F8; border-radius: 10px; padding: 8px 12px; color: #9A9AB0; }
.app-busca .ico { width: 15px; height: 15px; }
.app-topo-dir { display: flex; align-items: center; gap: 14px; }
.app-data { font-weight: 600; color: #55556E; }
.app-novo { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #F09000; color: #fff; font: 700 12.5px Inter, sans-serif; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.app-novo .ico { width: 14px; height: 14px; }
.app-sino { position: relative; color: #77778F; display: grid; }
.app-sino .ico { width: 20px; height: 20px; }
.app-sino b { position: absolute; top: -6px; right: -7px; background: #E5484D; color: #fff; font-size: 9px; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; }
.app-usuario { width: 32px; height: 32px; border-radius: 50%; background: var(--marinho); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; }

.tela { position: absolute; inset: 58px 0 0 0; padding: 20px 22px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; overflow: hidden; }
.tela.ativa { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tela-titulo { margin-bottom: 14px; }
.tela-titulo.linha { display: flex; justify-content: space-between; align-items: center; }
.tela-titulo h4 { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 18px; color: var(--marinho); }
.tela-titulo small { color: #8A8AA0; }
.nav-data { display: flex; align-items: center; gap: 10px; }
.nav-data button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #E2E2EA; background: #fff; color: var(--marinho); font-size: 16px; line-height: 1; }
.seletor { display: flex; background: #EDEDF3; border-radius: 10px; padding: 3px; }
.seletor span { padding: 5px 12px; border-radius: 8px; font-weight: 600; color: #6B6B85; font-size: 12px; }
.seletor .on { background: #fff; color: var(--marinho); box-shadow: 0 2px 6px rgba(32, 32, 56, .1); }

.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff; flex: 0 0 auto; }
.a1 { background: #F09000; } .a2 { background: #202038; } .a3 { background: #6B5BD2; } .a4 { background: #25A55A; } .a5 { background: #E5484D; }
.caixa { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid #ECECF2; }
.caixa-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.caixa-cab a { color: #F09000; font-weight: 600; font-size: 12px; }

/* 1. Painel */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpis > div { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; padding: 14px 16px; position: relative; overflow: hidden; }
.kpis > div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #F09000; }
.kpis > div:nth-child(2)::before { background: var(--st-confirmado); }
.kpis > div:nth-child(3)::before { background: var(--st-atendimento); }
.kpis > div:nth-child(4)::before { background: #8C8CA8; }
.kpis small { color: #8A8AA0; display: block; }
.kpis b { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 28px; display: block; line-height: 1.2; }
.kpis em { font-style: normal; font-size: 11px; color: #8A8AA0; }
.kpis em.sobe { color: var(--st-confirmado); }
.painel-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.lista-atend > div { display: grid; grid-template-columns: 44px 32px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #F0F0F5; }
.lista-atend > div:first-child { border-top: 0; }
.lista-atend .hora { font-weight: 700; color: #55556E; }
.lista-atend small { display: block; color: #8A8AA0; font-size: 11.5px; }
.coluna { display: grid; gap: 14px; align-content: start; }
.barras-sem { display: flex; align-items: flex-end; gap: 12px; height: 120px; }
.barras-sem > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.barras-sem i { width: 100%; height: 0; border-radius: 6px 6px 3px 3px; background: #E3E3EC; transition: height 1s cubic-bezier(.2, .8, .2, 1); }
.barras-sem .hoje i { background: linear-gradient(180deg, #FFB347, #F09000); }
.barras-sem span { font-size: 11px; color: #8A8AA0; }
.tela.ativa .barras-sem i { height: calc(var(--v) * 85%); }
.caixa-rosca { display: flex; align-items: center; gap: 14px; }
.caixa-rosca small { color: #8A8AA0; display: block; }
.rosca-mini { position: relative; width: 74px; height: 74px; flex: 0 0 auto; }
.rosca-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rosca-mini circle { fill: none; stroke-width: 6; }
.rosca-mini .f { stroke: #EEEEF3; }
.rosca-mini .v { stroke: var(--st-confirmado); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.3s cubic-bezier(.2, .8, .2, 1) .2s; }
.tela.ativa .rosca-mini .v { stroke-dasharray: var(--p) 100; }
.rosca-mini b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; }

/* 2. Agenda do dia */
.dia { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; overflow: hidden; }
.dia-cab { display: grid; grid-template-columns: 58px repeat(3, 1fr); border-bottom: 1px solid #ECECF2; }
.dia-cab > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border-left: 1px solid #F0F0F5; }
.dia-cab .avatar { grid-row: span 2; }
.dia-cab small { color: #8A8AA0; font-size: 11px; }
.dia-grade { position: relative; display: grid; grid-template-columns: 58px repeat(3, 1fr); height: 420px;
  background-image: linear-gradient(#F0F0F5 1px, transparent 1px); background-size: 100% 84px; }
.horas { display: flex; flex-direction: column; }
.horas span { height: 84px; font-size: 11px; color: #9A9AB0; padding: 4px 8px; }
.col { position: relative; border-left: 1px solid #F0F0F5; }
.ev {
  position: absolute; left: 6px; right: 6px; border-radius: 8px; padding: 5px 9px; font-size: 11.5px; font-weight: 700;
  overflow: hidden; border-left: 4px solid; margin-top: 2px; height: calc(var(--h, 40px) - 4px);
  opacity: 0; transform: scale(.96); transition: opacity .4s, transform .4s;
}
.tela.ativa .ev { opacity: 1; transform: none; }
.ev small { display: block; font-weight: 500; font-size: 10.5px; opacity: .8; }
.ev.agendado { background: #F1F1F6; border-color: var(--st-agendado); color: #4A4A66; }
.ev.confirmado { background: rgba(37, 165, 90, .1); border-color: var(--st-confirmado); color: #1D6E40; }
.ev.aguardando { background: rgba(240, 144, 0, .13); border-color: var(--st-aguardando); color: #8A5300; }
.ev.em-atendimento { background: rgba(107, 91, 210, .13); border-color: var(--st-atendimento); color: #4A3DA8; box-shadow: 0 0 0 2px rgba(107, 91, 210, .25); }
.ev.concluido { background: #F3F3F7; border-color: #C3C3D3; color: #8A8AA0; }
.ev.faltou { background: rgba(229, 72, 77, .08); border-color: var(--st-faltou); color: #B3262B; text-decoration: line-through; }
.ev.faltou small { text-decoration: none; }
.ev.bloqueio { background: repeating-linear-gradient(45deg, #F3F3F7, #F3F3F7 6px, #EAEAF0 6px, #EAEAF0 12px); border-color: #C3C3D3; color: #8A8AA0; }
.ev.livre { background: transparent; border: 1.5px dashed #F0B860; color: #C77700; display: grid; place-items: center; animation: respirar 2.4s ease-in-out infinite; }
@keyframes respirar { 50% { background: rgba(240, 144, 0, .07); } }
.agora { position: absolute; left: 52px; right: 0; height: 2px; background: #E5484D; z-index: 2; }
.agora::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #E5484D; }
.agora b { position: absolute; left: -48px; top: -9px; background: #E5484D; color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 5px; }
.legenda-status { display: flex; gap: 16px; margin-top: 10px; font-size: 11.5px; color: #6B6B85; }
.legenda-status i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legenda-status .agendado { background: var(--st-agendado); } .legenda-status .confirmado { background: var(--st-confirmado); }
.legenda-status .aguardando { background: var(--st-aguardando); } .legenda-status .em-atendimento { background: var(--st-atendimento); }
.legenda-status .concluido { background: #C3C3D3; } .legenda-status .faltou { background: var(--st-faltou); }

/* 3. Semana */
.filtros-prof { display: flex; gap: 8px; }
.filtros-prof span { font-size: 11.5px; font-weight: 600; padding: 5px 10px 5px 22px; border-radius: 999px; background: #fff; border: 1px solid #ECECF2; position: relative; }
.filtros-prof span::before { content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; }
.filtros-prof .f1::before { background: #F09000; } .filtros-prof .f2::before { background: #202038; } .filtros-prof .f3::before { background: #6B5BD2; }
.semana { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; overflow: hidden; }
.semana-cab { display: grid; grid-template-columns: 58px repeat(6, 1fr); border-bottom: 1px solid #ECECF2; }
.semana-cab > div { text-align: center; padding: 10px 0; font-size: 11px; font-weight: 700; color: #8A8AA0; border-left: 1px solid #F0F0F5; }
.semana-cab b { display: block; font-size: 18px; color: var(--marinho); }
.semana-cab .hoje b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F09000; color: #fff; margin-top: 2px; }
.semana-grade { position: relative; display: grid; grid-template-columns: 58px repeat(6, 1fr); height: 400px;
  background-image: linear-gradient(#F0F0F5 1px, transparent 1px); background-size: 100% 100px; }
.semana-grade .horas span { height: 100px; }
.dcol { position: relative; border-left: 1px solid #F0F0F5; }
.dcol.hoje { background: rgba(240, 144, 0, .04); }
.sv {
  position: absolute; left: calc(var(--l) * 33.33% + 2px); width: calc(33.33% - 4px); margin-top: 2px;
  border-radius: 6px; padding: 4px 5px; font-size: 10px; font-weight: 700; color: #fff; overflow: hidden;
  writing-mode: horizontal-tb; line-height: 1.2; height: calc(100% - 4px);
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s;
}
.tela.ativa .sv { opacity: 1; transform: none; }
.sv.f1 { background: #F09000; } .sv.f2 { background: #202038; } .sv.f3 { background: #6B5BD2; }

/* 4. Novo agendamento */
.tela[data-tela="novo"] { padding: 0; }
.modal-fundo { position: absolute; inset: 0; background: rgba(32, 32, 56, .45); backdrop-filter: blur(3px); display: grid; place-items: center; }
.modal { width: 560px; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); transform: translateY(20px) scale(.97); opacity: 0; transition: transform .5s cubic-bezier(.2, .8, .2, 1.2) .1s, opacity .4s .1s; }
.tela.ativa .modal { transform: none; opacity: 1; }
.modal-cab { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #ECECF2; font-size: 15px; }
.fechar { font-size: 22px; color: #9A9AB0; line-height: 1; }
.form-app { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 16px 20px; }
.form-app label, .rotulo { display: grid; gap: 5px; font-size: 11.5px; font-weight: 700; color: #6B6B85; }
.form-app .cheio { grid-column: 1 / -1; }
.campo { border: 1px solid #E2E2EA; border-radius: 10px; padding: 9px 12px; font-weight: 600; color: var(--marinho); font-size: 12.5px; background: #FAFAFC; }
.campo-busca { display: flex; align-items: center; gap: 8px; border-color: #F09000; box-shadow: 0 0 0 3px rgba(240, 144, 0, .15); background: #fff; }
.campo-busca small { color: #8A8AA0; font-weight: 500; }
.campo-busca em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--st-confirmado); background: rgba(37, 165, 90, .1); padding: 2px 8px; border-radius: 999px; }
.campo-busca .avatar { width: 24px; height: 24px; font-size: 9px; }
.datas, .horarios { display: flex; gap: 6px; flex-wrap: wrap; }
.datas span { width: 62px; text-align: center; border: 1px solid #E2E2EA; border-radius: 10px; padding: 6px 0; font-weight: 800; font-size: 15px; color: var(--marinho); }
.datas small { display: block; font-size: 9.5px; color: #9A9AB0; font-weight: 700; }
.horarios span { border: 1px solid #E2E2EA; border-radius: 9px; padding: 6px 12px; font-weight: 700; font-size: 12px; color: var(--marinho); }
.datas .on, .horarios .on { background: #F09000; border-color: #F09000; color: #fff; box-shadow: 0 6px 14px rgba(240, 144, 0, .35); }
.datas .on small { color: #FFE6C2; }
.datas .off, .horarios .off { opacity: .35; text-decoration: line-through; }
.opcoes { display: grid; gap: 8px; }
.opcao, .regra { display: flex; align-items: center; gap: 12px; }
.opcao small, .regra small { display: block; color: #8A8AA0; font-size: 11px; font-weight: 500; }
.opcao strong, .regra strong { font-size: 12.5px; }
.chave { width: 36px; height: 20px; border-radius: 10px; background: #D5D5E0; position: relative; flex: 0 0 auto; transition: background .3s; }
.chave i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: left .3s; }
.chave.on { background: #25A55A; }
.chave.on i { left: 18px; }
.modal-rodape { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #ECECF2; }
.btn-app { display: inline-flex; align-items: center; gap: 6px; background: #F09000; color: #fff; font-weight: 700; font-size: 12.5px; padding: 9px 16px; border-radius: 10px; }
.btn-app .ico { width: 15px; height: 15px; }
.btn-app.sec { background: #F1F1F6; color: var(--marinho); }
.btn-app.verde { background: #25D366; }

/* 5. Sala de espera */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: calc(100% - 52px); }
.kcol { background: #EEEEF4; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kcab { display: flex; align-items: center; gap: 7px; font-weight: 700; padding: 2px 4px 6px; }
.kcab i { width: 9px; height: 9px; border-radius: 50%; }
.kcab b { margin-left: auto; background: #fff; border-radius: 999px; padding: 0 8px; font-size: 11px; }
.kcab .agendado { background: var(--st-agendado); } .kcab .aguardando { background: var(--st-aguardando); }
.kcab .em-atendimento { background: var(--st-atendimento); } .kcab .concluido { background: var(--st-concluido); }
.kcard { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(32, 32, 56, .07); display: grid; gap: 3px; justify-items: start;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.tela.ativa .kcard { opacity: 1; transform: none; }
.kcard small { color: #8A8AA0; font-size: 11px; }
.kcard.alerta { border-left: 3px solid var(--st-aguardando); }
.kcard.ativo { border-left: 3px solid var(--st-atendimento); }
.kcard.feito { opacity: .65; }
.tela.ativa .kcard.feito { opacity: .65; }
.espera { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #C77700; }
.espera .ico { width: 12px; height: 12px; }
.espera.roxo { color: var(--st-atendimento); }

/* 6. Ficha */
.ficha { display: grid; grid-template-columns: 260px 1fr; gap: 16px; height: 100%; }
.ficha-perfil { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.avatar.grande { width: 72px; height: 72px; font-size: 22px; margin-bottom: 10px; box-shadow: 0 0 0 5px rgba(37, 165, 90, .15); }
.ficha-perfil > strong { font-size: 16px; }
.ficha-perfil > small { color: #8A8AA0; }
.ficha-acoes { display: flex; gap: 8px; margin: 14px 0; }
.ficha-perfil dl { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; border-top: 1px solid #F0F0F5; padding-top: 14px; font-size: 12px; }
.ficha-perfil dt { color: #8A8AA0; }
.ficha-perfil dd { font-weight: 600; text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.medidor { display: inline-block; width: 60px; height: 6px; border-radius: 3px; background: #EEEEF3; overflow: hidden; }
.medidor i { display: block; height: 100%; background: var(--st-confirmado); }
.ficha-conteudo { display: flex; flex-direction: column; gap: 12px; }
.proxima { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #202038, #34345A); color: #fff; border-radius: 14px; padding: 14px 16px; }
.proxima > .ico { width: 30px; height: 30px; color: #FFB347; }
.proxima small { color: #C9C9DD; display: block; }
.proxima .pill { margin-left: auto; background: rgba(37, 211, 102, .18); color: #7CEBA8; }
.sub-abas { display: flex; gap: 18px; border-bottom: 1px solid #ECECF2; }
.sub-abas span { padding: 6px 0; font-weight: 600; color: #8A8AA0; }
.sub-abas .on { color: var(--marinho); box-shadow: inset 0 -2px #F09000; }
.linha-tempo { position: relative; display: grid; gap: 10px; }
.linha-tempo::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #ECECF2; }
.linha-tempo > div { position: relative; display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid #ECECF2; border-radius: 12px; padding: 10px 14px 10px 0; margin-left: 0; }
.linha-tempo > div { border: 0; background: transparent; padding: 4px 0; }
.linha-tempo i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #C3C3D3; background: #C3C3D3; z-index: 1; }
.linha-tempo i.faltou { background: var(--st-faltou); box-shadow: 0 0 0 2px var(--st-faltou); }
.linha-tempo i.concluido { background: var(--marinho); box-shadow: 0 0 0 2px var(--marinho); }
.linha-tempo small { display: block; color: #8A8AA0; font-size: 11px; }
.anotacao { background: #FFF8EC; border: 1px solid #FCE3B8; border-radius: 12px; padding: 12px 14px; }
.anotacao p { color: #6B5530; font-size: 12px; margin-top: 2px; }

/* 7. Lembretes */
.lembretes { display: grid; grid-template-columns: 1fr 290px; gap: 22px; height: 100%; }
.regra { background: #fff; border: 1px solid #ECECF2; border-radius: 12px; padding: 12px 14px; margin-bottom: 9px; }
.tag-app { margin-left: auto; font-size: 11px; font-weight: 700; background: #F3F3F8; color: #55556E; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tel-mini { background: #ECE5DD; border-radius: 22px; overflow: hidden; border: 8px solid var(--marinho); display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(32, 32, 56, .2); }
.tel-mini-cab { background: #075E54; color: #fff; display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.tel-mini-cab img { width: 30px; height: 30px; border-radius: 50%; }
.tel-mini-cab small { display: block; color: #CDE8E3; font-size: 10px; }
.tel-mini-corpo { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bolha { max-width: 88%; padding: 8px 10px; border-radius: 10px; font-size: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.tela.ativa .bolha { opacity: 1; transform: none; }
.tela.ativa .bolha:nth-child(2) { transition-delay: .9s; }
.tela.ativa .bolha:nth-child(3) { transition-delay: 1.7s; }
.bolha.env { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.bolha.rec { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 2px; }

/* Menu lateral: aviso de conversas */
.app-menu button { position: relative; }
.menu-badge { position: absolute; top: 4px; right: 4px; min-width: 15px; height: 15px; border-radius: 8px; background: #25D366; color: #fff; font-size: 9px; display: grid; place-items: center; }
.aba-nova::after { content: "novo"; font-size: .62rem; font-weight: 800; text-transform: uppercase; background: #25D366; color: #fff; padding: 1px 6px; border-radius: 999px; margin-left: 2px; }

/* 9. Robô do WhatsApp */
.robo-status { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ECECF2; border-radius: 12px; padding: 8px 14px; }
.robo-status small { display: block; color: var(--st-confirmado); font-size: 11px; font-weight: 600; }
.robo-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.robo-kpis > div { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ECECF2; border-radius: 12px; padding: 7px 12px; }
.robo-kpis .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(37, 211, 102, .12); color: #1A9E55; flex: 0 0 auto; }
.robo-kpis small { display: block; color: #8A8AA0; font-size: 10.5px; }
.robo-kpis b { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 19px; }
.robo-grid { display: grid; grid-template-columns: 1fr 500px; gap: 14px; }
.robo-opcoes { display: grid; gap: 5px; align-content: start; }
.ropt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ECECF2; border-radius: 11px; padding: 4px 12px; min-height: 40px;
  opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .4s, border-color .3s; }
.tela.ativa .ropt { opacity: 1; transform: none; }
.ropt strong { font-size: 12px; display: block; }
.ropt small { display: block; color: #8A8AA0; font-size: 10.5px; }
.ropt .tag-app { margin-left: auto; }
.ropt.destaque-opt { border-color: rgba(240, 144, 0, .5); background: #FFFAF2; }
.tag-app.laranja { background: rgba(240, 144, 0, .14); color: #C77700; }
.fluxo-bot { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; padding: 12px 15px; }
.fb-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.fb-canvas { position: relative; width: 470px; height: 420px;
  background-image: radial-gradient(#E4E4EC 1px, transparent 1px); background-size: 16px 16px; border-radius: 10px; }
.fb-linhas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fb-linhas path { fill: none; stroke: #C9C9D9; stroke-width: 2; stroke-dasharray: 5 5; animation: fluir 1s linear infinite; }
.fb-linhas path.fb-ok { stroke: #25A55A; }
@keyframes fluir { to { stroke-dashoffset: -10; } }
.fb-no { position: absolute; background: #fff; border: 1px solid #E2E2EA; border-radius: 12px; box-shadow: 0 4px 12px rgba(32, 32, 56, .07);
  opacity: 0; transform: scale(.94); transition: opacity .4s, transform .4s; }
.tela.ativa .fb-no { opacity: 1; transform: none; }
.fb-no .ico { width: 16px; height: 16px; flex: 0 0 auto; }
.fb-no small { display: block; font-size: 9.5px; color: #8A8AA0; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.fb-no strong { font-size: 12px; }
.fb-gatilho { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px; border-color: #25D366; }
.fb-gatilho .ico { width: 26px; height: 26px; color: #25D366; }
.fb-menu { padding-bottom: 8px; border-color: #F09000; }
.fb-menu-cab { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 12px; border-bottom: 1px solid #F0F0F5; }
.fb-menu-cab .ico { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: #F09000; color: #fff; }
.fb-op { height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.fb-op b { width: 20px; height: 20px; border-radius: 6px; background: #FFF3DD; color: #C77700; display: grid; place-items: center; font-size: 11px; }
.fb-acao { width: 180px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 11.5px; font-weight: 600; color: var(--marinho); }
.fb-acao .ico { color: #F09000; }
.fb-acao.humano { border-color: var(--st-atendimento); }
.fb-acao.humano .ico { color: var(--st-atendimento); }
.fb-final { width: 180px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 11px; font-weight: 600; background: rgba(37, 165, 90, .08); border-color: rgba(37, 165, 90, .45); color: #1D6E40; }
.fb-final span { width: 22px; height: 22px; border-radius: 50%; background: #25A55A; color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.fb-pulso { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #F09000; box-shadow: 0 0 12px #F09000; left: 105px; top: 56px; animation: pulso-fluxo 4s ease-in-out infinite; }
@keyframes pulso-fluxo {
  0% { left: 105px; top: 56px; opacity: 0; }
  10% { opacity: 1; }
  25% { left: 105px; top: 88px; }
  45% { left: 221px; top: 161px; }
  65% { left: 273px; top: 135px; }
  80% { left: 363px; top: 120px; opacity: 1; }
  95% { left: 363px; top: 82px; opacity: 0; }
  100% { left: 363px; top: 82px; opacity: 0; }
}

/* 10. Conversas */
.tela[data-tela="conversas"] { padding: 0; }
.conversas { display: grid; grid-template-columns: 270px 1fr 230px; height: 100%; }
.inbox { background: #fff; border-right: 1px solid #ECECF2; overflow: hidden; }
.inbox-cab { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px; }
.inbox-cab strong { font-size: 15px; }
.seletor.mini span { padding: 3px 8px; font-size: 10.5px; }
.inbox-item { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #F3F3F7;
  opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s, background .2s; }
.tela.ativa .inbox-item { opacity: 1; transform: none; }
.inbox-item .avatar { width: 34px; height: 34px; grid-row: span 2; }
.inbox-item strong { font-size: 12.5px; display: block; }
.inbox-item small { color: #8A8AA0; font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.inbox-item em { font-style: normal; font-size: 10px; color: #9A9AB0; align-self: start; }
.inbox-item .etq { grid-column: 2 / 4; justify-self: start; }
.inbox-item.on { background: #FFF8EC; box-shadow: inset 3px 0 #F09000; }
.nao-lidas { position: absolute; right: 14px; bottom: 12px; background: #25D366; color: #fff; font-size: 10px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; }
.etq { font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.etq.robo { background: rgba(37, 211, 102, .12); color: #1A9E55; }
.etq.humano { background: rgba(107, 91, 210, .13); color: var(--st-atendimento); }
.etq.ok { background: rgba(32, 32, 56, .07); color: var(--marinho); }
.etq.espera { background: rgba(240, 144, 0, .14); color: #C77700; }
.conversa { display: flex; flex-direction: column; background: #ECE5DD; min-width: 0; }
.conversa-cab { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #ECECF2; }
.conversa-cab small { display: block; color: #8A8AA0; font-size: 11px; }
.robo-atendendo { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #1A9E55; background: rgba(37, 211, 102, .12); padding: 5px 10px; border-radius: 999px; }
.robo-atendendo .ico { width: 15px; height: 15px; }
.conversa-corpo { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.cb { max-width: 80%; padding: 8px 11px; border-radius: 10px; font-size: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.tela.ativa .cb { opacity: 1; transform: none; }
.cb-data { align-self: center; background: #E1F2FB; color: #45657A; font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 8px; }
.tela.ativa .cb:nth-child(3) { transition-delay: .6s; }
.tela.ativa .cb:nth-child(4) { transition-delay: 1.4s; }
.tela.ativa .cb:nth-child(5) { transition-delay: 2s; }
.tela.ativa .cb:nth-child(6) { transition-delay: 2.8s; }
.tela.ativa .cb:nth-child(7) { transition-delay: 3.4s; }
.cb.rec { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.cb.env { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 2px; }
.cb.bot { position: relative; }
.cb.bot::before { content: "🤖 Robô"; display: block; font-size: 9.5px; font-weight: 700; color: #1A9E55; margin-bottom: 2px; }
.cb-botoes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.cb-botoes span { background: #fff; color: #0B7D6E; font-weight: 700; font-size: 11px; padding: 5px 9px; border-radius: 8px; border: 1px solid #CDE8E3; }
.cb-botoes span.on { background: #0B7D6E; color: #fff; border-color: #0B7D6E; }
.conversa-rodape { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #F6F6F6; }
.campo-msg { flex: 1; background: #fff; border-radius: 999px; padding: 8px 14px; color: #9A9AB0; font-size: 11.5px; }
.conversa-lado { background: #fff; border-left: 1px solid #ECECF2; padding: 12px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.lado-card { border: 1px solid #ECECF2; border-radius: 12px; padding: 12px; }
.lado-card > strong { display: block; font-size: 12px; margin-bottom: 8px; }
.lado-card.criado { background: rgba(37, 165, 90, .06); border-color: rgba(37, 165, 90, .35); }
.lado-ico { width: 26px; height: 26px; border-radius: 50%; background: #25A55A; color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 6px; }
.lado-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; font-size: 11px; margin-bottom: 10px; }
.lado-card dt { color: #8A8AA0; }
.lado-card dd { font-weight: 600; text-align: right; }
.cheio-btn { width: 100%; justify-content: center; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 5px; }
.etiquetas span { font-size: 10.5px; font-weight: 600; background: #F3F3F8; padding: 3px 8px; border-radius: 999px; }
.passos-robo { padding-left: 18px; font-size: 11px; color: #55556E; display: grid; gap: 4px; }
.passos-robo li::marker { color: #25A55A; font-weight: 800; }

/* 8. Relatórios */
.rel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.legenda-mini { font-size: 11px; color: #6B6B85; display: flex; align-items: center; gap: 5px; }
.legenda-mini i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-left: 6px; }
.linha-graf { width: 100%; height: 150px; display: block; }
.grade-g line { stroke: #F0F0F5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.area-l { fill: rgba(240, 144, 0, .12); opacity: 0; transition: opacity .8s 1s; }
.l1, .l2 { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .2s; }
.l1 { stroke: #F09000; } .l2 { stroke: #E5484D; }
.tela.ativa .l1, .tela.ativa .l2 { stroke-dashoffset: 0; }
.tela.ativa .area-l { opacity: 1; }
.meses { display: flex; justify-content: space-between; font-size: 11px; color: #9A9AB0; margin-top: 4px; }
.mapa-calor { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 5px; align-items: center; }
.mapa-calor small { font-size: 10.5px; color: #8A8AA0; text-align: center; }
.mapa-calor i { height: 26px; border-radius: 6px; background: rgba(240, 144, 0, var(--o)); transform: scale(.6); opacity: 0; transition: transform .5s, opacity .5s; }
.tela.ativa .mapa-calor i { transform: none; opacity: 1; }
.rel-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: center; }
.rel-kpis small { display: block; color: #8A8AA0; font-size: 11px; }
.rel-kpis b { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 24px; }
.hbarras { display: grid; gap: 12px; }
.hbarras > div { display: grid; grid-template-columns: 80px 1fr 36px; align-items: center; gap: 10px; font-size: 12px; }
.hbarras i { display: block; height: 12px; border-radius: 6px; width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .3s; }
.tela.ativa .hbarras i { width: calc(var(--v) * 100%); }

.tela-legenda { text-align: center; margin-top: 22px; font-size: 1.02rem; color: #55556E; min-height: 1.6em; transition: opacity .3s; }

/* ---------- Celulares do paciente ---------- */
.celulares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; justify-items: center; align-items: start; }
.cel { text-align: center; }
.cel > p { margin-top: 16px; font-weight: 700; color: var(--marinho); }
.cel-tela {
  width: 270px; height: 540px; border-radius: 40px; background: #fff; border: 10px solid var(--marinho);
  box-shadow: 0 30px 60px rgba(32, 32, 56, .22); padding: 14px 16px; text-align: left; position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.cel:hover .cel-tela { transform: translateY(-10px) rotate(-1deg); }
.destaque-cel .cel-tela { transform: translateY(-20px); }
.destaque-cel:hover .cel-tela { transform: translateY(-30px); }
.cel-topo { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; color: var(--marinho); margin-bottom: 14px; }
.cel-cab small { color: #F09000; font-weight: 700; font-size: .72rem; }
.cel-cab strong { display: block; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1.15rem; color: var(--marinho); margin-bottom: 14px; }
.cel-prof { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--borda); border-radius: 14px; padding: 10px; margin-bottom: 10px; }
.cel-prof strong { display: block; font-size: .85rem; color: var(--marinho); }
.cel-prof small { color: #8A8AA0; font-size: .75rem; }
.cel-prof em { font-style: normal; font-size: .72rem; color: #F09000; font-weight: 700; display: block; }
.cel-prof.on { border-color: #F09000; background: #FFF8EC; box-shadow: 0 6px 16px rgba(240, 144, 0, .18); }
.cel-btn { position: absolute; left: 16px; right: 16px; bottom: 18px; background: #F09000; color: #fff; text-align: center; font-weight: 700; padding: 12px; border-radius: 14px; font-size: .9rem; }
.cel-btn.sec { position: static; background: #F1F1F6; color: var(--marinho); margin-top: 14px; }
.cel-mes { display: flex; justify-content: space-between; font-size: .85rem; color: var(--marinho); margin-bottom: 8px; }
.cel-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; margin-bottom: 14px; }
.cel-cal small { font-size: .65rem; color: #9A9AB0; font-weight: 700; }
.cel-cal span { font-size: .78rem; font-weight: 700; color: var(--marinho); padding: 6px 0; border-radius: 9px; }
.cel-cal span.x { color: #C9C9D6; }
.cel-cal span.on { background: #F09000; color: #fff; box-shadow: 0 4px 10px rgba(240, 144, 0, .35); }
.cel-horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cel-horas span { text-align: center; border: 1.5px solid var(--borda); border-radius: 10px; padding: 7px 0; font-size: .8rem; font-weight: 700; color: var(--marinho); }
.cel-horas .on { border-color: var(--marinho); background: var(--marinho); color: #fff; }
.cel-ok { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 20px; }
.cel-ok > strong { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 1.2rem; color: var(--marinho); margin-top: 12px; }
.cel-ok > small { color: #8A8AA0; font-size: .8rem; margin-bottom: 16px; }
.check-anim svg { width: 84px; height: 84px; }
.check-anim circle { fill: #25D366; opacity: .15; }
.check-anim path { fill: none; stroke: #25A55A; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.cel.visivel .check-anim path, .celulares.visivel .check-anim path { animation: check 0.8s .6s ease forwards; }
@keyframes check { to { stroke-dashoffset: 0; } }
.cel-resumo { width: 100%; background: var(--cinza-2); border-radius: 14px; padding: 12px; display: grid; gap: 8px; text-align: left; }
.cel-resumo div { display: flex; justify-content: space-between; font-size: .76rem; }
.cel-resumo span { color: #8A8AA0; }
.cel-resumo b { color: var(--marinho); }

/* ---------- Recursos ---------- */
.recursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recursos > div { background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 28px 24px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.recursos > div:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: transparent; }
.recursos .dif-ico { margin: 0 0 1rem; }
.recursos p { font-size: .95rem; }
.cta-agenda { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, #202038, #34345A); color: #C9C9DD; border-radius: 22px; padding: 32px 36px; position: relative; overflow: hidden; }
.cta-agenda::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(240, 144, 0, .25); filter: blur(40px); }
.cta-agenda h3 { color: #fff; font-size: 1.4rem; }
.cta-agenda .btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .celulares { grid-template-columns: 1fr 1fr; }
  .recursos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mini-semana { transform: none; }
  .abas { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin: 0 -16px 20px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .abas::-webkit-scrollbar { display: none; }
  .aba { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .celulares { grid-template-columns: 1fr; gap: 48px; }
  .destaque-cel .cel-tela { transform: none; }
  .recursos { grid-template-columns: 1fr; }
  .cta-agenda { padding: 26px 22px; }
}
