{"id":9,"date":"2026-06-30T07:14:49","date_gmt":"2026-06-30T07:14:49","guid":{"rendered":"https:\/\/fcfh.co.mz\/?page_id=9"},"modified":"2026-06-30T07:14:49","modified_gmt":"2026-06-30T07:14:49","slug":"am-login","status":"publish","type":"page","link":"https:\/\/fcfh.co.mz\/?page_id=9","title":{"rendered":"Iniciar Sess\u00e3o"},"content":{"rendered":"\n<div class=\"am-wrap\" id=\"am-login-wrap\">\n\n    <div class=\"am-cartao\" style=\"max-width:460px;margin:0 auto;\">\n\n        <!-- Log\u00f3tipo -->\n        <div style=\"text-align:center;margin-bottom:20px;\">\n            <h2 style=\"color:#e8272e;margin:0;\">IFBB Moz<\/h2>        <\/div>\n\n        <h2 class=\"am-cartao__titulo\" style=\"text-align:center;\">Iniciar Sess\u00e3o<\/h2>\n\n        <div class=\"am-alerta\" role=\"alert\"><\/div>\n\n        <form id=\"am-form-login\" novalidate>\n            <input type=\"hidden\" id=\"am_nonce_campo\" name=\"am_nonce_campo\" value=\"35a43c30da\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F9\" \/>\n            <div class=\"am-grupo\">\n                <label for=\"am-login-email\">E-mail <span class=\"am-obrigatorio\">*<\/span><\/label>\n                <input type=\"email\" id=\"am-login-email\" name=\"email\"\n                       placeholder=\"O seu endere\u00e7o de e-mail\" required autocomplete=\"email\">\n                <span class=\"am-erro-campo\"><\/span>\n            <\/div>\n\n            <div class=\"am-grupo\">\n                <label for=\"am-login-password\">Palavra-passe <span class=\"am-obrigatorio\">*<\/span><\/label>\n                <input type=\"password\" id=\"am-login-password\" name=\"password\"\n                       placeholder=\"A sua palavra-passe\" required autocomplete=\"current-password\">\n                <span class=\"am-erro-campo\"><\/span>\n            <\/div>\n\n            <div style=\"display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;\">\n                <div class=\"am-checkbox-linha\" style=\"margin:0;\">\n                    <input type=\"checkbox\" id=\"am-recordar\" name=\"recordar\" value=\"1\">\n                    <label for=\"am-recordar\" style=\"font-weight:400;font-size:.88rem;color:#555;\">Manter sess\u00e3o iniciada<\/label>\n                <\/div>\n                <a href=\"https:\/\/fcfh.co.mz\/wp-login.php?action=lostpassword\" style=\"font-size:.85rem;color:#e8272e;\">\n                    Esqueceu a palavra-passe?\n                <\/a>\n            <\/div>\n\n            <button type=\"submit\" class=\"am-btn am-btn--primario am-btn--bloco\" id=\"am-btn-login\">\n                Iniciar Sess\u00e3o\n            <\/button>\n\n        <\/form>\n\n        <div style=\"text-align:center;margin-top:20px;padding-top:18px;border-top:1px solid #eee;\">\n            <p style=\"font-size:.9rem;color:#666;margin:0 0 10px;\">Ainda n\u00e3o tem conta?<\/p>\n            <div style=\"display:flex;gap:10px;justify-content:center;\">\n                <a href=\"https:\/\/fcfh.co.mz\/?page_id=7\" class=\"am-btn am-btn--contorno\" style=\"font-size:.85rem;padding:9px 18px;\">\n                    Registar como Membro\n                <\/a>\n                <a href=\"https:\/\/fcfh.co.mz\/?page_id=8\" class=\"am-btn am-btn--secundario\" style=\"font-size:.85rem;padding:9px 18px;\">\n                    Registar como Atleta\n                <\/a>\n            <\/div>\n        <\/div>\n\n    <\/div><!-- .am-cartao -->\n<\/div><!-- .am-wrap -->\n\n<script>\n( function( $ ) {\n    'use strict';\n\n    $( '#am-form-login' ).on( 'submit', function( e ) {\n        e.preventDefault();\n\n        var $form = $( this );\n        var $btn  = $( '#am-btn-login' );\n        var $wrap = $( '#am-login-wrap' );\n\n        AM.limparAlerta( $wrap );\n        AM.limparErrosDeCampo( $form );\n        AM.btnCarregar( $btn );\n\n        $.ajax( {\n            url:    AMDados.ajaxUrl,\n            method: 'POST',\n            data:   $form.serialize() + '&action=am_fazer_login&nonce=' + AMDados.nonce,\n            success: function( res ) {\n                AM.btnRepor( $btn );\n\n                if ( res.success ) {\n                    AM.alerta( $wrap, 'sucesso', res.data.mensagem );\n\n                    if ( res.data.redirecionar ) {\n                        setTimeout( function() {\n                            window.location.href = res.data.redirecionar;\n                        }, 1200 );\n                    }\n                } else {\n                    AM.alerta( $wrap, 'perigo', res.data.mensagem || 'Erro ao iniciar sess\u00e3o.' );\n                }\n            },\n            error: function() {\n                AM.btnRepor( $btn );\n                AM.alerta( $wrap, 'perigo', 'Erro de comunica\u00e7\u00e3o. Por favor tente novamente.' );\n            }\n        } );\n    } );\n} )( jQuery );\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":0,"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"wp:attachment":[{"href":"https:\/\/fcfh.co.mz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}