{"id":587,"date":"2026-01-09T23:50:26","date_gmt":"2026-01-10T02:50:26","guid":{"rendered":"https:\/\/armasselli.com.br\/psicopedagoga\/?page_id=587"},"modified":"2026-06-11T01:06:33","modified_gmt":"2026-06-11T04:06:33","slug":"agendar","status":"publish","type":"page","link":"https:\/\/armasselli.com.br\/psicopedagoga\/agendar\/","title":{"rendered":"Agendar"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"587\" class=\"elementor elementor-587\">\n\t\t\t\t<div class=\"elementor-element elementor-element-70bfdcc e-con-full e-flex e-con e-parent\" data-id=\"70bfdcc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f14ae8d e-con-full e-flex e-con e-parent\" data-id=\"f14ae8d\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7b127b1 elementor-widget elementor-widget-shortcode\" data-id=\"7b127b1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><style id=\"rm-agenda-1216-front-css\">\n        .rm-agenda-front-1216{max-width:1040px;margin:0 auto}.rm-agenda-front-1216 .rm-agenda-brand-banner-1218{display:flex;justify-content:flex-start;align-items:center;margin:0 0 18px;text-align:left}.rm-agenda-front-1216 .rm-agenda-brand-banner-1218 img{display:block;max-width:340px;width:100%;height:auto;object-fit:contain}.rm-agenda-front-1216 .rm-agenda-step{display:flex;gap:12px;align-items:flex-start;margin:26px 0 14px}.rm-agenda-front-1216 .rm-agenda-step h3{margin:0;color:#111827}.rm-agenda-front-1216 .rm-agenda-step p{margin:4px 0 0;color:#64748b}.rm-agenda-front-1216 .rm-agenda-step-number{width:36px;height:36px;border-radius:999px;background:#07111f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.rm-agenda-front-1216 .rm-agenda-professional-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rm-agenda-front-1216 .rm-agenda-prof-card{border:1px solid #dbeafe;background:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;text-align:center;box-shadow:0 12px 34px rgba(15,23,42,.08);transition:.18s}.rm-agenda-front-1216 .rm-agenda-prof-card:hover,.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected{transform:translateY(-2px);border-color:#0059b3;box-shadow:0 16px 44px rgba(0,89,179,.18)}.rm-agenda-front-1216 .rm-agenda-prof-card img,.rm-agenda-front-1216 .rm-agenda-prof-avatar{width:90px;height:90px;border-radius:50%;object-fit:cover;border:3px solid #eaf3ff}.rm-agenda-front-1216 .rm-agenda-prof-avatar{display:flex;align-items:center;justify-content:center;background:#eaf3ff;color:#07111f;font-size:34px;font-weight:900}.rm-agenda-front-1216 .rm-agenda-prof-card strong{font-size:1.03rem;color:#111827}.rm-agenda-front-1216 .rm-agenda-prof-card small{color:#64748b}.rm-agenda-front-1216 .rm-agenda-professional-registro{font-weight:800!important;color:#0059b3!important}.rm-agenda-front-1216 .rm-agenda-front-calendar{border:1px solid #cfe2ff;background:#f8fbff;border-radius:20px;padding:14px}.rm-agenda-front-1216 .rm-agenda-front-calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.rm-agenda-front-1216 .rm-agenda-front-calendar-head button{border:0;background:#07111f;color:#fff;border-radius:999px;width:38px;height:38px;cursor:pointer;font-weight:900}.rm-agenda-front-1216 .rm-agenda-front-weekdays,.rm-agenda-front-1216 .rm-agenda-front-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.rm-agenda-front-1216 .rm-agenda-front-weekdays span{text-align:center;font-size:12px;font-weight:900;color:#003f7f}.rm-agenda-front-1216 .rm-cal-day{min-height:50px;border:1px solid #e5e7eb;background:#fff;border-radius:14px;cursor:pointer;font-weight:800;color:#111827}.rm-agenda-front-1216 .rm-cal-day:hover,.rm-agenda-front-1216 .rm-cal-day.is-selected{background:#07111f;color:#fff;border-color:#07111f}.rm-agenda-front-1216 .rm-cal-day.is-disabled{opacity:.32;cursor:not-allowed;background:#f8fafc;color:#9ca3af}.rm-agenda-front-1216 .rm-cal-day.is-checking{opacity:.55;cursor:progress}.rm-agenda-front-1216 .rm-cal-day.is-available{border-color:#93c5fd;box-shadow:inset 0 0 0 1px #dbeafe}.rm-agenda-front-1216 .rm-cal-day.is-no-slots{opacity:.28;text-decoration:line-through}.rm-agenda-front-1216 .rm-agenda-calendar-status{margin:0 0 10px;padding:9px 11px;border:1px solid #dbeafe;border-radius:10px;background:#fff;color:#475569;font-size:13px;font-weight:700}.rm-agenda-front-1216 .rm-agenda-calendar-status.is-loading{color:#0059b3;background:#eff6ff}.rm-agenda-front-1216 .rm-agenda-calendar-status.is-ready{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.rm-agenda-front-1216 .rm-agenda-slot-loader{display:none;align-items:center;gap:16px;margin:14px 0;padding:20px 22px;border:3px solid #0059b3;border-radius:12px;background:linear-gradient(135deg,#eaf3ff,#ffffff);color:#0f3f75;font-weight:800;box-shadow:0 16px 38px rgba(0,89,179,.22);position:relative;overflow:hidden}.rm-agenda-front-1216 .rm-agenda-slot-loader.is-visible{display:flex}.rm-agenda-front-1216 .rm-agenda-slot-spinner{width:38px;height:38px;border:5px solid #bfdbfe;border-top-color:#0059b3;border-radius:50%;animation:rmAgendaSpin .75s linear infinite;flex:0 0 auto}.rm-agenda-front-1216 .rm-agenda-slot-loader-copy{flex:1;min-width:0}.rm-agenda-front-1216 .rm-agenda-slot-loader strong{display:block;font-size:16px;color:#003f7f}.rm-agenda-front-1216 .rm-agenda-slot-loader small{display:block;margin-top:4px;color:#475569;font-weight:700}.rm-agenda-front-1216 .rm-agenda-slot-elapsed{display:block;margin-top:7px;color:#0059b3;font-size:12px;font-style:normal;font-weight:900}.rm-agenda-front-1216 .rm-agenda-slot-progress{height:7px;margin-top:11px;border-radius:999px;background:#dbeafe;overflow:hidden}.rm-agenda-front-1216 .rm-agenda-slot-progress span{display:block;width:42%;height:100%;border-radius:999px;background:#0059b3;animation:rmAgendaProgress 1.15s ease-in-out infinite}.rm-agenda-front-1216 .rm-agenda-time-panel.is-loading{outline:3px solid rgba(0,89,179,.18);outline-offset:4px}@keyframes rmAgendaSpin{to{transform:rotate(360deg)}}@keyframes rmAgendaProgress{0%{transform:translateX(-120%)}100%{transform:translateX(340%)}}.rm-agenda-front-1216 .rm-cal-empty{min-height:50px}.rm-agenda-front-1216 .rm-agenda-time-panel select{width:100%;max-width:460px}.rm-agenda-front-1216 .rm-agenda-timezone-display{margin:0 0 10px;padding:9px 11px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff;color:#0f3f75;font-size:13px;font-weight:700}.rm-agenda-front-1216 .rm-agenda-patient-fields{margin-top:24px;border:1px solid #dbeafe;background:#ffffff;border-radius:18px;padding:20px 18px 18px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.rm-agenda-front-1216 .rm-agenda-patient-fields .rm-agenda-step{margin:0 0 14px}.rm-agenda-front-1216 .rm-agenda-patient-fields .rm-agenda-grid{margin-top:10px}.rm-agenda-front-1216 .rm-agenda-patient-fields>label{display:block;margin-top:14px;padding:0 4px}.rm-agenda-front-1216 .rm-agenda-patient-fields .rm-agenda-grid>label{padding:0 4px}.rm-agenda-front-1216 .rm-agenda-patient-fields .rm-agenda-button{margin-top:16px;margin-left:4px}.rm-agenda-front-1216 .rm-is-hidden{display:none!important}.rm-agenda-front-1216 .rm-agenda-service-preview{padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb;margin-top:10px;display:none}.rm-agenda-front-1216 .rm-agenda-service-preview strong{display:block;color:#07111f}.rm-agenda-front-1216 .rm-agenda-service-preview span{color:#64748b}.rm-agenda-front-1216 .rm-agenda-mode-native{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.rm-agenda-front-1216 .rm-agenda-mode-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;width:90%!important;max-width:900px!important;margin:0 auto!important;align-items:stretch!important}.rm-agenda-front-1216 .rm-agenda-mode-card{position:relative;width:100%!important;min-width:0!important;border:2px solid transparent;border-radius:12px;padding:20px 22px!important;cursor:pointer;text-align:left;color:#fff;box-shadow:0 10px 24px rgba(15,23,42,.12);transition:.18s ease;min-height:92px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.rm-agenda-front-1216 button.rm-agenda-mode-card,.rm-agenda-front-1216 button.rm-agenda-mode-card *,.rm-agenda-front-1216 .rm-agenda-mode-card strong,.rm-agenda-front-1216 .rm-agenda-mode-card small{color:#fff!important;-webkit-text-fill-color:#fff!important}.rm-agenda-front-1216 .rm-agenda-mode-card strong,.rm-agenda-front-1216 .rm-agenda-mode-card small{display:block}.rm-agenda-front-1216 .rm-agenda-mode-card strong{font-size:18px!important;line-height:1.15!important;margin-bottom:8px!important;font-weight:900!important;letter-spacing:.01em!important}.rm-agenda-front-1216 .rm-agenda-mode-card small{font-size:15px!important;line-height:1.25!important;opacity:.98!important;font-weight:400!important;letter-spacing:0!important}.rm-agenda-front-1216 .rm-agenda-mode-online{background:#0ea5e9}.rm-agenda-front-1216 .rm-agenda-mode-presencial{background:#0059b3}.rm-agenda-front-1216 .rm-agenda-mode-card:hover{transform:translateY(-1px);filter:brightness(.96)}.rm-agenda-front-1216 .rm-agenda-mode-card.is-selected{border-color:#fff;box-shadow:0 0 0 3px #07111f,0 14px 30px rgba(15,23,42,.22)}.rm-agenda-front-1216 .rm-agenda-mode-card.is-selected:after{content:\"\u2713 Selecionado\";position:absolute;right:14px;top:12px;transform:none;font-size:12px;font-weight:900;color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.42);border-radius:999px;padding:4px 8px}.rm-agenda-front-1216 .rm-agenda-mode-card[disabled]{opacity:.28;cursor:not-allowed;filter:grayscale(.25)}.rm-agenda-front-1216 .rm-agenda-mode-card small,.rm-agenda-front-1216 .rm-agenda-mode-card small *{font-weight:400!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.rm-agenda-front-1216 .rm-agenda-mode-card strong,.rm-agenda-front-1216 .rm-agenda-mode-card strong *{color:#fff!important;-webkit-text-fill-color:#fff!important}@media(max-width:520px){.rm-agenda-front-1216 .rm-agenda-mode-cards{width:100%!important;gap:10px!important}.rm-agenda-front-1216 .rm-agenda-mode-card{padding:15px 12px!important;min-height:82px!important}.rm-agenda-front-1216 .rm-agenda-mode-card strong{font-size:16px!important}.rm-agenda-front-1216 .rm-agenda-mode-card small{font-size:13px!important}.rm-agenda-front-1216 .rm-agenda-mode-card.is-selected:after{display:none!important}}.rm-agenda-front-1216 .rm-agenda-empty{grid-column:1\/-1;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:14px;color:#64748b}.rm-agenda-after-booking{display:grid;gap:18px;max-width:980px;margin:24px auto}.rm-agenda-button-light{background:#f8fafc!important;color:#07111f!important;border:1px solid #cfe2ff!important;box-shadow:none!important}.rm-agenda-nuvemshop-payment{border:2px solid #0059b3;background:linear-gradient(135deg,#eff6ff,#fff);text-align:center}.rm-agenda-nuvemshop-payment h2{margin:.35rem 0 .5rem}.rm-agenda-nuvemshop-payment p{max-width:680px;margin:.5rem auto 1rem}.rm-agenda-nuvemshop-button{min-width:240px}.rm-agenda-nuvemshop-countdown{font-size:13px;color:#475569}.rm-agenda-ns-error{border-color:#f59e0b!important;background:linear-gradient(135deg,#fffbeb,#fff)!important}.rm-agenda-ns-ok{border-color:#0059b3!important}.rm-agenda-ns-manual{border-color:#0ea5e9!important}.rm-agenda-ns-debug{margin:12px auto;padding:12px;border:1px solid #fbbf24;background:#fff7ed;border-radius:10px;max-width:760px;text-align:left;color:#7c2d12;font-size:13px;line-height:1.45;word-break:break-word}\n        .rm-agenda-front-1216 .rm-agenda-prof-card{position:relative;overflow:hidden}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected{transform:translateY(-4px) scale(1.02);border:3px solid #0059b3;background:linear-gradient(135deg,#07111f 0%,#0059b3 100%);color:#fff;box-shadow:0 22px 58px rgba(0,89,179,.36),0 0 0 6px rgba(0,89,179,.14);padding:18px 16px 20px}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected:after{content:\"Selecionado\";position:absolute;top:10px;right:10px;background:#fff;color:#0059b3;border-radius:999px;padding:5px 10px;font-size:11px;line-height:1;font-weight:900;letter-spacing:.02em;box-shadow:0 8px 20px rgba(15,23,42,.16)}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected img,.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected .rm-agenda-prof-avatar{width:122px;height:122px;border:5px solid #fff;box-shadow:0 12px 30px rgba(0,0,0,.22);background:#fff}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected strong{color:#fff;font-size:1.14rem}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected small,.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected .rm-agenda-professional-registro{color:#eaf3ff!important}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected .rm-agenda-prof-avatar{color:#0059b3;font-size:42px}\n        @media(max-width:900px){.rm-agenda-front-1216 .rm-agenda-professional-cards{grid-template-columns:repeat(2,1fr)}}.rm-agenda-front-1216 .rm-agenda-single-professional-hidden-147{display:none!important}.rm-agenda-front-1216 .rm-cal-day{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:0!important;width:100%!important;padding-left:2px!important;padding-right:2px!important}@media(max-width:620px){.rm-agenda-wrap.rm-agenda-front-1216{width:95vw!important;max-width:95vw!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;margin-left:0!important;margin-right:0!important;padding:0!important}.rm-agenda-front-1216 .rm-agenda-public-card{width:100%!important;max-width:none!important;padding-left:8px!important;padding-right:8px!important}.rm-agenda-front-1216 .rm-agenda-front-calendar{width:100%!important;max-width:none!important;padding:10px 5px!important}.rm-agenda-front-1216 .rm-agenda-professional-cards{grid-template-columns:1fr}.rm-agenda-front-1216 .rm-agenda-front-weekdays,.rm-agenda-front-1216 .rm-agenda-front-days{grid-template-columns:repeat(7,minmax(32px,1fr))!important;gap:3px!important;width:100%!important}.rm-agenda-front-1216 .rm-agenda-front-weekdays span{white-space:nowrap!important;font-size:11px!important}.rm-agenda-front-1216 .rm-cal-day{min-width:32px!important;min-height:44px!important;border-radius:9px!important;font-size:14px!important;line-height:1!important}.rm-agenda-front-1216 .rm-agenda-mode-cards{grid-template-columns:1fr}.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected img,.rm-agenda-front-1216 .rm-agenda-prof-card.is-selected .rm-agenda-prof-avatar{width:112px;height:112px}}\n        <\/style><div class=\"rm-agenda-wrap rm-agenda-front-1216 rm-agenda-single-professional-147\"><div class=\"rm-agenda-card rm-agenda-public-card\"><div class=\"rm-agenda-brand-banner-1218\"><img decoding=\"async\" src=\"https:\/\/robsonmasselli.com.br\/psi\/wp-content\/uploads\/2026\/06\/logo-ar-agenda2.png\" alt=\"AR Masselli Agenda\"><\/div><div class=\"rm-agenda-title-row\"><div><span class=\"rm-agenda-kicker\">Agendamento de consulta<\/span><h2>AR Masselli - Centro de Psican\u00e1lise e Psicopedagogia<\/h2><p>Escolha o servi\u00e7o, depois a data e o hor\u00e1rio dispon\u00edvel. Os dados do paciente s\u00f3 aparecem depois da escolha do hor\u00e1rio.<\/p><\/div><\/div><form method=\"post\" class=\"rm-agenda-form rm-agenda-booking-form\" id=\"rmAgenda1216Form\" data-single-professional=\"1\"><input type=\"hidden\" id=\"rm_agenda_122_nonce\" name=\"rm_agenda_122_nonce\" value=\"63c7954151\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/psicopedagoga\/wp-json\/wp\/v2\/pages\/587\" \/><input type=\"hidden\" name=\"rm_agenda_action\" value=\"rm_agenda_122_book\"><input type=\"hidden\" name=\"rm_agenda_return_url\" value=\"\/psicopedagoga\/wp-json\/wp\/v2\/pages\/587\"><input type=\"hidden\" name=\"professional_id\" class=\"rm-agenda-professional\" value=\"2\" required><input type=\"hidden\" name=\"appointment_date\" class=\"rm-agenda-date\" required><input type=\"hidden\" name=\"start_time\" class=\"rm-agenda-slot-hidden\" required><input type=\"hidden\" name=\"patient_timezone\" class=\"rm-agenda-patient-timezone\" value=\"\"><div class=\"rm-agenda-professional-cards rm-agenda-single-professional-hidden-147\" aria-hidden=\"true\"><button type=\"button\" class=\"rm-agenda-prof-card is-selected\" data-professional-id=\"2\" data-services=\"4,6,7,8,9\" tabindex=\"-1\"><strong>Angelita Masselli<\/strong><\/button><\/div><div class=\"rm-agenda-step\"><div class=\"rm-agenda-step-number\">1<\/div><div><h3>Servi\u00e7o e modalidade<\/h3><p>O servi\u00e7o define dura\u00e7\u00e3o, valor e hor\u00e1rios dispon\u00edveis.<\/p><\/div><\/div><div class=\"rm-agenda-grid rm-agenda-grid-2\"><label><span>Servi\u00e7o<\/span><select name=\"service_id\" class=\"rm-agenda-service\" required><option value=\"\">Selecione<\/option><option value=\"8\" data-duration=\"60\" data-price=\"110.00\" data-mode=\"presencial\" data-max-advance-days=\"90\" data-global-max-advance-days=\"90\">Atendimento Psicopedag\u00f3gico \u00b7 60 min \u00b7 R$ 110,00<\/option><option value=\"9\" data-duration=\"60\" data-price=\"350.00\" data-mode=\"presencial\" data-max-advance-days=\"90\" data-global-max-advance-days=\"90\">Atendimento Psicopedag\u00f3gico (pacote 4 sess\u00f5es) \u00b7 60 min \u00b7 R$ 350,00<\/option><option value=\"6\" data-duration=\"240\" data-price=\"150.00\" data-mode=\"presencial\" data-max-advance-days=\"90\" data-global-max-advance-days=\"90\">Refor\u00e7o Escolar - (Pacote 4 Sess\u00f5es) \u00b7 240 min \u00b7 R$ 150,00<\/option><option value=\"7\" data-duration=\"480\" data-price=\"250.00\" data-mode=\"presencial\" data-max-advance-days=\"90\" data-global-max-advance-days=\"90\">Refor\u00e7o Escolar - (Pacote 8 Sess\u00f5es) \u00b7 480 min \u00b7 R$ 250,00<\/option><option value=\"4\" data-duration=\"90\" data-price=\"250.00\" data-mode=\"presencial\" data-max-advance-days=\"90\" data-global-max-advance-days=\"90\">Avalia\u00e7\u00e3o Psicopedag\u00f3gica \u00b7 90 min \u00b7 R$ 250,00<\/option><\/select><\/label><label class=\"rm-agenda-mode-field\"><span>Modalidade<\/span><select name=\"mode\" class=\"rm-agenda-mode rm-agenda-mode-native\" required><option value=\"\">Selecione a modalidade<\/option><option value=\"online\">Online<\/option><option value=\"presencial\">Presencial<\/option><\/select><div class=\"rm-agenda-mode-cards\" role=\"radiogroup\" aria-label=\"Modalidade\"><button type=\"button\" class=\"rm-agenda-mode-card rm-agenda-mode-online\" data-mode=\"online\"><strong>Online<\/strong><small>Teleconsulta<\/small><\/button><button type=\"button\" class=\"rm-agenda-mode-card rm-agenda-mode-presencial\" data-mode=\"presencial\"><strong>Presencial<\/strong><small>Atendimento no local<\/small><\/button><\/div><\/label><\/div><div class=\"rm-agenda-service-preview\"><\/div><div class=\"rm-agenda-step\"><div class=\"rm-agenda-step-number\">2<\/div><div><h3>Escolha a data<\/h3><p>Depois de escolher o servi\u00e7o, clique em um dia para consultar os hor\u00e1rios daquela data.<\/p><\/div><\/div><div class=\"rm-agenda-front-calendar\"><div class=\"rm-agenda-front-calendar-head\"><button type=\"button\" class=\"rm-cal-prev\">\u2190<\/button><strong class=\"rm-cal-title\"><\/strong><button type=\"button\" class=\"rm-cal-next\">\u2192<\/button><\/div><div class=\"rm-agenda-calendar-status\">Escolha o servi\u00e7o e clique em uma data para consultar os hor\u00e1rios.<\/div><div class=\"rm-agenda-front-weekdays\"><span>Dom<\/span><span>Seg<\/span><span>Ter<\/span><span>Qua<\/span><span>Qui<\/span><span>Sex<\/span><span>S\u00e1b<\/span><\/div><div class=\"rm-agenda-front-days\"><\/div><\/div><div class=\"rm-agenda-step\"><div class=\"rm-agenda-step-number\">3<\/div><div><h3>Escolha o hor\u00e1rio<\/h3><p>Os hor\u00e1rios aparecem conforme o servi\u00e7o e a data selecionados.<\/p><\/div><\/div><div class=\"rm-agenda-time-panel\"><p class=\"rm-agenda-timezone-display\" data-clinic-timezone=\"America\/Sao_Paulo\">Detectando seu fuso hor\u00e1rio...<\/p><div class=\"rm-agenda-slot-loader\" role=\"status\" aria-live=\"assertive\"><span class=\"rm-agenda-slot-spinner\" aria-hidden=\"true\"><\/span><div class=\"rm-agenda-slot-loader-copy\"><strong>Procurando hor\u00e1rios dispon\u00edveis...<\/strong><small>Estamos consultando somente o dia escolhido. N\u00e3o feche esta p\u00e1gina.<\/small><div class=\"rm-agenda-slot-progress\" aria-hidden=\"true\"><span><\/span><\/div><em class=\"rm-agenda-slot-elapsed\">Aguarde alguns segundos...<\/em><\/div><\/div><select class=\"rm-agenda-slot-select\"><option value=\"\">Escolha servi\u00e7o e data<\/option><\/select><\/div><div class=\"rm-agenda-patient-fields rm-is-hidden\"><div class=\"rm-agenda-step\"><div class=\"rm-agenda-step-number\">4<\/div><div><h3>Dados do paciente<\/h3><p>Agora sim, preencha os dados para concluir a solicita\u00e7\u00e3o.<\/p><\/div><\/div><div class=\"rm-agenda-grid rm-agenda-grid-2\"><label><span>Nome completo<\/span><input type=\"text\" name=\"patient_name\" required><\/label><label><span>WhatsApp<\/span><input type=\"tel\" name=\"patient_phone\" required><\/label><label><span>E-mail<\/span><input type=\"email\" name=\"patient_email\"><\/label><label><span>CPF<\/span><input type=\"text\" name=\"patient_cpf\"><\/label><label><span>Data de nascimento<\/span><input type=\"date\" name=\"patient_birthdate\"><\/label><label><span>Cupom<\/span><input type=\"text\" name=\"coupon_code\" placeholder=\"Opcional\"><\/label><\/div><label><span>Observa\u00e7\u00f5es sobre o agendamento<\/span><textarea name=\"notes\" rows=\"3\"><\/textarea><\/label><button class=\"rm-agenda-button\" type=\"submit\">Solicitar agendamento<\/button><\/div><\/form><\/div><\/div><script id=\"rm-agenda-1216-front-js\">\n        (function(){\n            var form=document.getElementById(\"rmAgenda1216Form\"); if(!form) return;\n            var singleProfessional=form.getAttribute(\"data-single-professional\")===\"1\";\n            var ajaxUrl=\"https:\\\/\\\/armasselli.com.br\\\/psicopedagoga\\\/wp-admin\\\/admin-ajax.php\", nonce=\"baf63d4472\";\n            var current=new Date(); current.setDate(1); current.setHours(0,0,0,0);\n            var selectedDate=\"\", slotLoadSeq=0, slotAbortController=null, monthProbeSeq=0;\n            var profHidden=form.querySelector(\".rm-agenda-professional\"), dateHidden=form.querySelector(\".rm-agenda-date\"), slotHidden=form.querySelector(\".rm-agenda-slot-hidden\");\n            var service=form.querySelector(\".rm-agenda-service\"), mode=form.querySelector(\".rm-agenda-mode\"), slotSelect=form.querySelector(\".rm-agenda-slot-select\"), patientFields=form.querySelector(\".rm-agenda-patient-fields\"), preview=form.querySelector(\".rm-agenda-service-preview\"), calendarStatus=form.querySelector(\".rm-agenda-calendar-status\"), slotLoader=form.querySelector(\".rm-agenda-slot-loader\"), timePanel=form.querySelector(\".rm-agenda-time-panel\"), loaderElapsed=form.querySelector(\".rm-agenda-slot-elapsed\");\n            var loaderTimer=null, loaderStarted=0;\n            var timezoneInput=form.querySelector(\".rm-agenda-patient-timezone\"), timezoneDisplay=form.querySelector(\".rm-agenda-timezone-display\");\n            var clinicTimezone=\"America\\\/Sao_Paulo\";\n            var patientTimezone=\"\";\n            try{ patientTimezone=Intl.DateTimeFormat().resolvedOptions().timeZone||\"\"; }catch(e){}\n            if(timezoneInput) timezoneInput.value=patientTimezone;\n            function money(v){ var n=parseFloat(v||0); if(isNaN(n)) n=0; return n.toLocaleString(\"pt-BR\",{style:\"currency\",currency:\"BRL\"}); }\n            function pad(n){ return String(n).padStart(2,\"0\"); }\n            function iso(d){ return d.getFullYear()+\"-\"+pad(d.getMonth()+1)+\"-\"+pad(d.getDate()); }\n            function title(d){ return d.toLocaleDateString(\"pt-BR\",{month:\"long\",year:\"numeric\"}); }\n            function zoneParts(date,timeZone){\n                var parts=new Intl.DateTimeFormat(\"en-CA\",{timeZone:timeZone,year:\"numeric\",month:\"2-digit\",day:\"2-digit\",hour:\"2-digit\",minute:\"2-digit\",hourCycle:\"h23\"}).formatToParts(date), out={};\n                parts.forEach(function(p){ if(p.type!==\"literal\") out[p.type]=p.value; });\n                return out;\n            }\n            function wallTimeToDate(dateStr,timeStr,timeZone){\n                if(!dateStr||!timeStr||!timeZone) return null;\n                var dp=dateStr.split(\"-\").map(Number), tp=timeStr.split(\":\").map(Number);\n                if(dp.length<3||tp.length<2) return null;\n                var wanted=Date.UTC(dp[0],dp[1]-1,dp[2],tp[0],tp[1],0), guess=wanted;\n                for(var i=0;i<3;i++){\n                    var p=zoneParts(new Date(guess),timeZone), actual=Date.UTC(Number(p.year),Number(p.month)-1,Number(p.day),Number(p.hour),Number(p.minute),0);\n                    guess+=wanted-actual;\n                }\n                return new Date(guess);\n            }\n            function formatPatientSlot(slot){\n                var clinicLabel=slot.label||slot.value||\"\";\n                if(!patientTimezone||!clinicTimezone||patientTimezone===clinicTimezone||!selectedDate||!slot.value) return clinicLabel;\n                try{\n                    var date=wallTimeToDate(selectedDate,slot.value,clinicTimezone);\n                    if(!date) return clinicLabel;\n                    var localTime=new Intl.DateTimeFormat(\"pt-BR\",{timeZone:patientTimezone,hour:\"2-digit\",minute:\"2-digit\",hourCycle:\"h23\"}).format(date);\n                    var localDate=new Intl.DateTimeFormat(\"pt-BR\",{timeZone:patientTimezone,day:\"2-digit\",month:\"2-digit\"}).format(date);\n                    var clinicDate=selectedDate.slice(8,10)+\"\/\"+selectedDate.slice(5,7);\n                    return localTime+(localDate!==clinicDate?\" em \"+localDate:\"\")+\" \u00b7 cl\u00ednica \"+clinicLabel;\n                }catch(e){ return clinicLabel; }\n            }\n            function updateTimezoneDisplay(){\n                if(!timezoneDisplay) return;\n                if(!patientTimezone){ timezoneDisplay.textContent=\"Hor\u00e1rios da cl\u00ednica: \"+clinicTimezone+\". N\u00e3o foi poss\u00edvel detectar o fuso do seu dispositivo.\"; return; }\n                if(patientTimezone===clinicTimezone){ timezoneDisplay.textContent=\"Hor\u00e1rios exibidos no seu fuso: \"+patientTimezone+\".\"; return; }\n                timezoneDisplay.textContent=\"Hor\u00e1rios exibidos primeiro no seu fuso (\"+patientTimezone+\") e, ao lado, no fuso da cl\u00ednica (\"+clinicTimezone+\").\";\n            }\n            function selectedProfessionalCard(){ return form.querySelector(\".rm-agenda-prof-card.is-selected\"); }\n            function allowedServicesForSelectedProfessional(){\n                var card=selectedProfessionalCard();\n                if(!card) return null;\n                var raw=card.getAttribute(\"data-services\")||\"\";\n                return raw ? raw.split(\",\").filter(Boolean) : [];\n            }\n            function syncServiceCardVisibility(){\n                var allowed=allowedServicesForSelectedProfessional();\n                form.querySelectorAll(\".rm-agenda-service-card-1223\").forEach(function(card){\n                    var value=card.getAttribute(\"data-value\")||\"\";\n                    var visible=allowed===null || allowed.indexOf(value)!==-1;\n                    card.style.display=visible?\"\":\"none\";\n                    card.disabled=!visible;\n                });\n            }\n            function filterServicesForProfessional(){\n                var allowed=allowedServicesForSelectedProfessional();\n                Array.prototype.slice.call(service.options||[]).forEach(function(opt){\n                    if(!opt.value) return;\n                    var visible=allowed===null || allowed.indexOf(opt.value)!==-1;\n                    opt.disabled=!visible;\n                    opt.hidden=!visible;\n                });\n                if(service.value && allowed!==null && allowed.indexOf(service.value)===-1){\n                    service.value=\"\";\n                    service.dispatchEvent(new Event(\"change\",{bubbles:true}));\n                }\n                window.setTimeout(syncServiceCardVisibility,0);\n                window.setTimeout(syncServiceCardVisibility,150);\n            }\n            function selectedServiceOption(){ return service.options[service.selectedIndex] || null; }\n            function effectiveMaxDays(){\n                var opt=selectedServiceOption();\n                if(!opt || !opt.value) return 0;\n                var globalMax=parseInt(opt.getAttribute(\"data-global-max-advance-days\")||\"90\",10), serviceMax=parseInt(opt.getAttribute(\"data-max-advance-days\")||\"0\",10);\n                if(!globalMax || globalMax<1) globalMax=90;\n                return serviceMax>0 ? Math.min(globalMax,serviceMax) : globalMax;\n            }\n            function maxDate(){ var d=new Date(); d.setHours(0,0,0,0); d.setDate(d.getDate()+effectiveMaxDays()); return d; }\n            function setCalendarStatus(message,state){ if(!calendarStatus) return; calendarStatus.textContent=message; calendarStatus.classList.remove(\"is-loading\",\"is-ready\"); if(state) calendarStatus.classList.add(state); }\n            function clearSelectedDate(){ selectedDate=\"\"; dateHidden.value=\"\"; resetSlot(\"Escolha uma data dispon\u00edvel\"); }\n            function renderCal(){\n                var titleEl=form.querySelector(\".rm-cal-title\"), days=form.querySelector(\".rm-agenda-front-days\"); titleEl.textContent=title(current); days.innerHTML=\"\";\n                var first=new Date(current.getFullYear(),current.getMonth(),1), last=new Date(current.getFullYear(),current.getMonth()+1,0), today=new Date(); today.setHours(0,0,0,0);\n                var limit=service.value ? maxDate() : null;\n                for(var i=0;i<first.getDay();i++){ var e=document.createElement(\"span\"); e.className=\"rm-cal-empty\"; days.appendChild(e); }\n                for(var d=1; d<=last.getDate(); d++){\n                    var day=new Date(current.getFullYear(),current.getMonth(),d), b=document.createElement(\"button\"); b.type=\"button\"; b.className=\"rm-cal-day\"; b.textContent=d; var val=iso(day); b.dataset.date=val;\n                    if(day < today){ b.classList.add(\"is-disabled\"); b.title=\"Data passada\"; }\n                    if(limit && day > limit){ b.classList.add(\"is-disabled\"); b.title=\"Fora do limite futuro deste servi\u00e7o\"; }\n                    if(val===selectedDate) b.classList.add(\"is-selected\");\n                    days.appendChild(b);\n                }\n                if(!profHidden.value || !service.value){ setCalendarStatus(singleProfessional ? \"Escolha o servi\u00e7o e clique em uma data para consultar os hor\u00e1rios.\" : \"Escolha profissional e servi\u00e7o e clique em uma data para consultar os hor\u00e1rios.\",\"\"); }\n                else if(selectedDate){ setCalendarStatus(\"Data selecionada. Consultando apenas os hor\u00e1rios deste dia.\",\"is-ready\"); }\n                else { setCalendarStatus(\"Clique em uma data para consultar os hor\u00e1rios dispon\u00edveis.\",\"\"); }\n            }\n            function syncModeCards(){\n                var opt=selectedServiceOption(), m=opt ? (opt.getAttribute(\"data-mode\")||\"both\") : \"both\";\n                var allowed=[\"online\",\"presencial\"];\n                if(m===\"online\") allowed=[\"online\"];\n                if(m===\"presencial\") allowed=[\"presencial\"];\n                if(allowed.indexOf(mode.value)===-1) mode.value=\"\";\n                form.querySelectorAll(\".rm-agenda-mode-card\").forEach(function(card){\n                    var value=card.dataset.mode||\"\";\n                    card.disabled=allowed.indexOf(value)===-1;\n                    card.classList.toggle(\"is-selected\", value!==\"\" && value===mode.value);\n                    card.setAttribute(\"aria-pressed\", value!==\"\" && value===mode.value ? \"true\" : \"false\");\n                });\n            }\n            function updatePreview(){\n                var opt=selectedServiceOption();\n                if(!opt || !opt.value){ preview.style.display=\"none\"; preview.innerHTML=\"\"; syncModeCards(); return; }\n                var price=opt.getAttribute(\"data-price\")||0, dur=opt.getAttribute(\"data-duration\")||\"\", m=opt.getAttribute(\"data-mode\")||\"both\", max=effectiveMaxDays();\n                preview.style.display=\"block\"; preview.innerHTML=\"<strong>\"+money(price)+\"<\/strong><span>\"+dur+\" min \u00b7 \"+(m===\"online\"?\"Somente online\":(m===\"presencial\"?\"Somente presencial\":\"Online ou presencial\"))+\" \u00b7 Agendamento at\u00e9 \"+max+\" dias futuros<\/span>\";\n                syncModeCards();\n            }\n            function resetSlot(msg){ slotSelect.innerHTML=\"<option value=\\\"\\\">\"+(msg||\"Escolha profissional, data e servi\u00e7o\")+\"<\/option>\"; slotHidden.value=\"\"; patientFields.classList.add(\"rm-is-hidden\"); }\n            function showSlotLoader(show){\n                if(slotLoader) slotLoader.classList.toggle(\"is-visible\",!!show);\n                if(timePanel) timePanel.classList.toggle(\"is-loading\",!!show);\n                slotSelect.disabled=!!show;\n                if(loaderTimer){ window.clearInterval(loaderTimer); loaderTimer=null; }\n                if(show){\n                    loaderStarted=Date.now();\n                    if(loaderElapsed) loaderElapsed.textContent=\"Aguarde alguns segundos...\";\n                    loaderTimer=window.setInterval(function(){\n                        var sec=Math.max(1,Math.floor((Date.now()-loaderStarted)\/1000));\n                        if(!loaderElapsed) return;\n                        if(sec<4) loaderElapsed.textContent=\"Consultando a agenda... \"+sec+\"s\";\n                        else if(sec<8) loaderElapsed.textContent=\"Ainda estamos procurando os melhores hor\u00e1rios... \"+sec+\"s\";\n                        else loaderElapsed.textContent=\"A consulta continua ativa. Por favor, permane\u00e7a nesta p\u00e1gina... \"+sec+\"s\";\n                    },1000);\n                }\n            }\n            function slotRequest(date, timeoutMs){\n                var fd=new FormData(); fd.append(\"action\",\"rm_agenda_1216_fast_slots\"); fd.append(\"nonce\",nonce); fd.append(\"professional_id\",profHidden.value); fd.append(\"service_id\",service.value); fd.append(\"date\",date);\n                var controller=(typeof AbortController!==\"undefined\") ? new AbortController() : null;\n                var timer=controller ? window.setTimeout(function(){ controller.abort(); }, timeoutMs || 18000) : null;\n                return fetch(ajaxUrl,{method:\"POST\",credentials:\"same-origin\",body:fd,signal:controller ? controller.signal : undefined})\n                    .then(function(r){ if(!r.ok) throw new Error(\"HTTP \"+r.status); return r.json(); })\n                    .finally(function(){ if(timer) window.clearTimeout(timer); });\n            }\n            function dayButton(date){ return form.querySelector(\".rm-agenda-front-days .rm-cal-day[data-date=\\\"\"+date+\"\\\"]\"); }\n            function markDayAvailability(date, has){\n                var b=dayButton(date); if(!b) return;\n                b.classList.remove(\"is-checking\",\"is-available\",\"is-no-slots\");\n                if(has){ b.classList.remove(\"is-disabled\"); b.classList.add(\"is-available\"); b.title=\"Hor\u00e1rios dispon\u00edveis\"; }\n                else { b.classList.add(\"is-disabled\",\"is-no-slots\"); b.title=\"Sem hor\u00e1rios dispon\u00edveis\"; }\n            }\n            function visibleMonthDates(){\n                var out=[], daysWrap=form.querySelector(\".rm-agenda-front-days\");\n                if(!daysWrap) return out;\n                daysWrap.querySelectorAll(\".rm-cal-day\").forEach(function(btn){\n                    if(!btn.classList.contains(\"is-disabled\") || btn.classList.contains(\"is-selected\")){\n                        out.push(btn.dataset.date||\"\");\n                    }\n                });\n                return out.filter(Boolean);\n            }\n            function refreshVisibleMonthAvailability(){\n                if(!profHidden.value || !service.value) return Promise.resolve(false);\n                var seq=++monthProbeSeq;\n                var dates=visibleMonthDates();\n                if(!dates.length) return Promise.resolve(false);\n                setCalendarStatus(\"Atualizando somente os dias que realmente t\u00eam hor\u00e1rios dispon\u00edveis...\",\"is-loading\");\n                dates.forEach(function(date){\n                    var b=dayButton(date);\n                    if(b) b.classList.add(\"is-checking\");\n                });\n                return Promise.allSettled(dates.map(function(date){\n                    var cached=getBrowserCachedSlots(date);\n                    if(cached!==null){\n                        markDayAvailability(date, !!(cached && cached.length));\n                        var b=dayButton(date); if(b) b.classList.remove(\"is-checking\");\n                        return Promise.resolve({date:date, slots:cached, cached:true});\n                    }\n                    return slotRequest(date, 12000).then(function(j){\n                        var slots=(j && j.success && j.data && Array.isArray(j.data.slots)) ? j.data.slots : [];\n                        setBrowserCachedSlots(date, slots);\n                        markDayAvailability(date, !!slots.length);\n                        return {date:date, slots:slots, cached:false};\n                    }).catch(function(){\n                        return {date:date, slots:null, failed:true};\n                    }).finally(function(){\n                        var b=dayButton(date); if(b) b.classList.remove(\"is-checking\");\n                    });\n                })).then(function(results){\n                    if(seq!==monthProbeSeq) return false;\n                    var availableCount=0;\n                    results.forEach(function(item){\n                        var r=item && item.value ? item.value : null;\n                        if(r && Array.isArray(r.slots) && r.slots.length) availableCount++;\n                    });\n                    var selectedButton=selectedDate ? dayButton(selectedDate) : null;\n                    if(selectedButton && selectedButton.classList.contains(\"is-disabled\")){\n                        clearSelectedDate();\n                    }\n                    setCalendarStatus(availableCount ? (availableCount+\" dia(s) com hor\u00e1rios dispon\u00edveis neste m\u00eas.\") : \"Nenhum dia dispon\u00edvel neste m\u00eas para este servi\u00e7o.\",\"is-ready\");\n                    return true;\n                });\n            }\n            function browserCacheKey(date){ return \"rmAgendaSlots|\"+profHidden.value+\"|\"+service.value+\"|\"+date; }\n            function getBrowserCachedSlots(date){\n                try{\n                    var raw=sessionStorage.getItem(browserCacheKey(date)); if(!raw) return null;\n                    var item=JSON.parse(raw); if(!item || !item.ts || !Array.isArray(item.slots)) return null;\n                    if(Date.now()-item.ts>60000){ sessionStorage.removeItem(browserCacheKey(date)); return null; }\n                    return item.slots;\n                }catch(e){ return null; }\n            }\n            function setBrowserCachedSlots(date,slots){ try{ sessionStorage.setItem(browserCacheKey(date),JSON.stringify({ts:Date.now(),slots:slots||[]})); }catch(e){} }\n            function renderSlots(slots,requestDate,fromCache){\n                slotSelect.innerHTML=\"\";\n                var has=!!(slots && slots.length);\n                markDayAvailability(requestDate,has);\n                if(!has){\n                    resetSlot(\"Nenhum hor\u00e1rio dispon\u00edvel neste dia\");\n                    setCalendarStatus(\"N\u00e3o h\u00e1 hor\u00e1rios dispon\u00edveis nesta data. Escolha outro dia.\",\"\");\n                    refreshVisibleMonthAvailability();\n                    return false;\n                }\n                var first=document.createElement(\"option\"); first.value=\"\"; first.textContent=\"Selecione o hor\u00e1rio\"; slotSelect.appendChild(first);\n                slots.forEach(function(s){ var o=document.createElement(\"option\"); o.value=s.value; o.textContent=formatPatientSlot(s); o.dataset.clinicLabel=s.label||s.value||\"\"; slotSelect.appendChild(o); });\n                setCalendarStatus(slots.length+\" hor\u00e1rio(s) dispon\u00edvel(is) nesta data\"+(fromCache?\" \u00b7 carregamento r\u00e1pido\":\"\")+\".\",\"is-ready\");\n                return true;\n            }\n            function loadSlots(){\n                updatePreview();\n                if(!profHidden.value || !selectedDate || !service.value){\n                    if(slotAbortController){ try{ slotAbortController.abort(); }catch(e){} slotAbortController=null; }\n                    resetSlot(\"Escolha profissional, data e servi\u00e7o\");\n                    showSlotLoader(false);\n                    return;\n                }\n                var requestDate=selectedDate, seq=++slotLoadSeq;\n                var cachedSlots=getBrowserCachedSlots(requestDate);\n                if(cachedSlots!==null){\n                    renderSlots(cachedSlots,requestDate,true);\n                    showSlotLoader(false);\n                    return;\n                }\n                if(slotAbortController){ try{ slotAbortController.abort(); }catch(e){} }\n                slotAbortController=(typeof AbortController!==\"undefined\") ? new AbortController() : null;\n                var selectedButton=dayButton(requestDate);\n                if(selectedButton) selectedButton.classList.add(\"is-checking\");\n                setCalendarStatus(\"Carregando somente os hor\u00e1rios de \"+requestDate.split(\"-\").reverse().join(\"\/\")+\"...\",\"is-loading\");\n                resetSlot(\"Carregando hor\u00e1rios do dia selecionado...\");\n                showSlotLoader(true);\n                var fd=new FormData(); fd.append(\"action\",\"rm_agenda_1216_fast_slots\"); fd.append(\"nonce\",nonce); fd.append(\"professional_id\",profHidden.value); fd.append(\"service_id\",service.value); fd.append(\"date\",requestDate);\n                fetch(ajaxUrl,{method:\"POST\",credentials:\"same-origin\",body:fd,signal:slotAbortController ? slotAbortController.signal : undefined})\n                    .then(function(r){ if(!r.ok) throw new Error(\"HTTP \"+r.status); return r.json(); })\n                    .then(function(j){\n                        if(seq!==slotLoadSeq || requestDate!==selectedDate) return;\n                        var slots=(j && j.success && j.data && Array.isArray(j.data.slots)) ? j.data.slots : [];\n                        setBrowserCachedSlots(requestDate,slots);\n                        renderSlots(slots,requestDate,!!(j && j.data && j.data.cache_hit));\n                    })\n                    .catch(function(err){\n                        if(err && err.name===\"AbortError\") return;\n                        if(seq!==slotLoadSeq || requestDate!==selectedDate) return;\n                        resetSlot(\"N\u00e3o foi poss\u00edvel carregar os hor\u00e1rios agora. Tente clicar novamente na data.\");\n                        var b=dayButton(requestDate); if(b){ b.classList.remove(\"is-checking\",\"is-disabled\",\"is-no-slots\"); b.title=\"Clique para tentar carregar novamente\"; }\n                        setCalendarStatus(\"Falha ao consultar esta data. Clique nela novamente para tentar.\",\"\");\n                    })\n                    .finally(function(){\n                        if(seq!==slotLoadSeq) return;\n                        showSlotLoader(false);\n                        var b=dayButton(requestDate); if(b) b.classList.remove(\"is-checking\");\n                    });\n            }\n            form.querySelectorAll(\".rm-agenda-prof-card\").forEach(function(card){ card.addEventListener(\"click\",function(){ form.querySelectorAll(\".rm-agenda-prof-card\").forEach(function(c){c.classList.remove(\"is-selected\")}); card.classList.add(\"is-selected\"); profHidden.value=card.dataset.professionalId||\"\"; filterServicesForProfessional(); clearSelectedDate(); renderCal(); }); });\n            form.querySelector(\".rm-cal-prev\").addEventListener(\"click\",function(){ current.setMonth(current.getMonth()-1); renderCal(); });\n            form.querySelector(\".rm-cal-next\").addEventListener(\"click\",function(){ current.setMonth(current.getMonth()+1); renderCal(); });\n            form.querySelector(\".rm-agenda-front-days\").addEventListener(\"click\",function(e){ var b=e.target.closest(\".rm-cal-day\"); if(!b || b.classList.contains(\"is-disabled\") || b.classList.contains(\"is-checking\")) return; selectedDate=b.dataset.date; dateHidden.value=selectedDate; renderCal(); loadSlots(); });\n            service.addEventListener(\"change\",function(){ mode.value=\"\"; syncModeCards(); updatePreview(); renderCal(); loadSlots(); });\n            form.querySelectorAll(\".rm-agenda-mode-card\").forEach(function(card){ card.addEventListener(\"click\",function(){ if(card.disabled) return; mode.value=card.dataset.mode || \"\"; syncModeCards(); loadSlots(); }); });\n            slotSelect.addEventListener(\"change\",function(){ slotHidden.value=slotSelect.value||\"\"; if(slotHidden.value) patientFields.classList.remove(\"rm-is-hidden\"); else patientFields.classList.add(\"rm-is-hidden\"); });\n            try{\n                var serviceCardObserver=new MutationObserver(function(){ syncServiceCardVisibility(); });\n                serviceCardObserver.observe(form,{childList:true,subtree:true});\n            }catch(e){}\n            mode.value=\"\"; syncModeCards(); updateTimezoneDisplay(); filterServicesForProfessional(); renderCal(); updatePreview(); loadSlots();\n        })();\n        <\/script><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"class_list":["post-587","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/pages\/587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/comments?post=587"}],"version-history":[{"count":1,"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/pages\/587\/revisions"}],"predecessor-version":[{"id":1529,"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/pages\/587\/revisions\/1529"}],"wp:attachment":[{"href":"https:\/\/armasselli.com.br\/psicopedagoga\/wp-json\/wp\/v2\/media?parent=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}