{**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 *}
{extends file='page.tpl'}

{* Pas de h1 générique (bloc page_title volontairement non surchargé → masqué par le flag `hide` de page.tpl).
   Le titre de la page est <h1 class="mrd-acc-title"> ci-dessous, pour éviter un double h1. *}

{block name='page_content'}
  <div class="mrd-account">
    <div class="mrd-acc-narrow">

      <h1 class="mrd-acc-title">{l s='Rejoignez MÉRIDIAN' d='Shop.Theme.Customeraccount'}</h1>
      <p class="mrd-acc-lead">{l s='Créez votre compte pour un paiement plus rapide, l’historique de vos commandes et l’accès aux ventes réservées aux membres.' d='Shop.Theme.Customeraccount'}</p>

      {block name='register_form_container'}
        {$hook_create_account_top nofilter}
        <div class="auth-register" style="margin-top:40px">

          {* ---- Formulaire d'inscription (rendu natif PrestaShop) ---- *}
          <section class="auth-card register-form">
            <h2 class="auth-card-h">{l s='Vos informations' d='Shop.Theme.Customeraccount'}</h2>
            {render file='customer/_partials/customer-form.tpl' ui=$register_form}
            <p class="faint" style="font-size:12.5px;margin-top:16px">
              {l s='Vous avez déjà un compte ?' d='Shop.Theme.Customeraccount'}
              <a class="ulink" style="color:var(--ink)" href="{$urls.pages.authentication}">{l s='Se connecter' d='Shop.Theme.Customeraccount'}</a>
            </p>
          </section>

        </div>
      {/block}

    </div>
  </div>
{/block}
