<turbo-stream action="update" target="subscribe"><template>
  
<div class="flex flex-col gap-4" data-controller="subscribe-step">
  <h1 class="sr-only">Choisis ton abonnement PowerHouse</h1>

    <div class="grid grid-cols-1 items-start gap-6 lg:grid-cols-[minmax(0,1fr)_24rem] lg:gap-8 xl:grid-cols-[minmax(0,1fr)_32rem]">
      <div class="order-2 min-w-0 lg:order-1">
<div class="flex flex-col gap-5">
  
<nav aria-label="Progression de l'inscription">
  <ol class="flex flex-row flex-wrap items-center gap-3">

      <li class="flex flex-row items-center gap-3">
        <span class="flex flex-row items-center gap-2 text-sm leading-5 font-semibold text-gray-900" aria-current="step">
          <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-semibold bg-brand-600 text-white">
            1
          </span>
          Mon compte
</span>
          <span class="h-px w-6 bg-gray-300" aria-hidden="true"></span>
      </li>

      <li class="flex flex-row items-center gap-3">
        <span class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-semibold border border-gray-300 bg-white text-gray-600">
            2
          </span>
          Paiement
</span>
      </li>
  </ol>
</nav>


  
<div class="flex flex-col">
  <div id="active-section" class="flex flex-col md:flex-row gap-4 justify-between items-center">
    <h2 class="text-3xl leading-9 font-semibold text-gray-900">Je crée mon compte PowerHouse</h2>
    
  </div>

    <p class="text-base leading-7 text-gray-700 italic">Sans engagement, annulable à tout moment depuis ton espace membre.</p>
</div>





  
<form class="flex flex-col gap-5" id="subscribe-form" action="/users/stripe/subscriptions/subscribe" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="0jup9y6DRMeEl41lZW807Jyebs58IgwhYbB81x7QusQykoYV6t_1sBliqgCx64GLX5lJtYShO7qXLy37PrrmQw" />
  <div class="flex flex-col gap-5 md:flex-row">
    <div class="form-group">
      <label class="form-label" for="first_name">Prénom *</label>
      <input required="required" autofocus="autofocus" autocomplete="given-name" placeholder="Amandine" class="form-input w-full" type="text" name="first_name" id="first_name" />
    </div>

    <div class="form-group">
      <label class="form-label" for="last_name">Nom de famille *</label>
      <input required="required" autocomplete="family-name" placeholder="Leger" class="form-input w-full" type="text" name="last_name" id="last_name" />
    </div>
  </div>


  <div class="form-group">
    <label class="form-label" for="email">Adresse email *</label>
    <input required="required" autocomplete="email" placeholder="user@example.com" class="form-input w-full" type="email" value="" name="email" id="email" />
  </div>

  <div class="flex flex-col gap-5 md:flex-row md:items-start">
    <div class="form-group">
      <label class="form-label" for="password">Mot de passe *</label>
      <input placeholder="••••••••" required="required" minlength="8" autocomplete="new-password" aria-describedby="password-hint" class="form-input w-full" type="password" name="password" id="password" />
      <small id="password-hint" class="text-sm leading-5 text-gray-600">
        8 caractères minimum
      </small>
    </div>

    <div class="form-group">
      <label class="form-label" for="password_confirmation">Confirmation *</label>
      <input placeholder="••••••••" required="required" autocomplete="new-password" class="form-input w-full" type="password" name="password_confirmation" id="password_confirmation" />
    </div>
  </div>

  <div class="flex items-start">
  <input
    required
    value="true"
    id="legal"
    name="legal"
    type="checkbox"
    class="mt-0.5 h-4 w-4 rounded border-gray-600 text-gray-700 focus:ring-gray-500"
  />
  <label for="legal" class="ml-2 text-sm text-gray-950">
    J’ai lu et j’accepte les <a class="underline" target="_blank" rel="noopener noreferrer" href="/legal/general_conditions">conditions générales de vente</a>, notamment les conditions de l’essai gratuit et du renouvellement automatique de mon abonnement.
  </label>
</div>


  <input value="default" type="hidden" name="sign_up_form" id="sign_up_form" />

  <div class="form-group">
    <input type="submit" name="commit" value="Aller au paiement" class="button w-full primary lg" data-disable-with="Aller au paiement" />
  </div>
</form>
</div>
</div>
      <div class="order-1 lg:order-2 lg:sticky lg:top-8">
<section aria-labelledby="cart-heading"
         data-controller="subscription-cart"
         class="bg-white shadow-sm shadow-[#0A0D121A] rounded-2xl p-5 flex flex-col gap-4">
  <h2 id="cart-heading" class="text-lg leading-7 font-bold text-gray-900">Ton abonnement</h2>

    <fieldset class="flex flex-col gap-2">
  <legend class="sr-only">Choisis la durée de ton abonnement</legend>


    <label data-subscription-cart-target="option"
           data-tier="three_years"
           class="flex flex-row items-start gap-3 rounded-xl border p-3 cursor-pointer border-gray-200">
      <input type="radio"
             name="price_id"
             form="subscribe-form"
             value="price_1QXjEJBba0qV9TdYHM4tPKG2"
             data-tier="three_years"
             data-action="change->subscription-cart#select"
             
             class="mt-1 h-4 w-4 shrink-0 border-gray-400 text-brand-600 focus:ring-brand-600" />

      <span class="flex min-w-0 flex-col gap-0.5">
        <span class="flex flex-row items-center gap-2 flex-wrap">
          <span class="text-sm leading-5 font-semibold text-gray-900">Abonnement 3 ans</span>

            <span class="badge pill sm bg-gradient-to-r from-brand-100 to-brand-200 border-0 text-gray-900 font-semibold">
              -62%
            </span>
        </span>

        <span class="text-sm leading-5 text-gray-600">
          <span class="font-semibold text-gray-900">11,03 €</span>/mois
            · 397 € pour trois ans
        </span>
      </span>
    </label>

    <label data-subscription-cart-target="option"
           data-tier="yearly"
           class="flex flex-row items-start gap-3 rounded-xl border p-3 cursor-pointer border-brand-500 bg-brand-50">
      <input type="radio"
             name="price_id"
             form="subscribe-form"
             value="price_1PAomMBba0qV9TdYADOCNNB6"
             data-tier="yearly"
             data-action="change->subscription-cart#select"
             checked
             class="mt-1 h-4 w-4 shrink-0 border-gray-400 text-brand-600 focus:ring-brand-600" />

      <span class="flex min-w-0 flex-col gap-0.5">
        <span class="flex flex-row items-center gap-2 flex-wrap">
          <span class="text-sm leading-5 font-semibold text-gray-900">Abonnement annuel</span>

            <span class="badge pill sm bg-gradient-to-r from-brand-100 to-brand-200 border-0 text-gray-900 font-semibold">
              -50%
            </span>
        </span>

        <span class="text-sm leading-5 text-gray-600">
          <span class="font-semibold text-gray-900">14,50 €</span>/mois
            · 174 € pour un an
        </span>
      </span>
    </label>

    <label data-subscription-cart-target="option"
           data-tier="quarterly"
           class="flex flex-row items-start gap-3 rounded-xl border p-3 cursor-pointer border-gray-200">
      <input type="radio"
             name="price_id"
             form="subscribe-form"
             value="price_1PAomBBba0qV9TdYDFu1MiLa"
             data-tier="quarterly"
             data-action="change->subscription-cart#select"
             
             class="mt-1 h-4 w-4 shrink-0 border-gray-400 text-brand-600 focus:ring-brand-600" />

      <span class="flex min-w-0 flex-col gap-0.5">
        <span class="flex flex-row items-center gap-2 flex-wrap">
          <span class="text-sm leading-5 font-semibold text-gray-900">Abonnement trimestriel</span>

            <span class="badge pill sm bg-gradient-to-r from-brand-100 to-brand-200 border-0 text-gray-900 font-semibold">
              -21%
            </span>
        </span>

        <span class="text-sm leading-5 text-gray-600">
          <span class="font-semibold text-gray-900">23 €</span>/mois
            · 69 € pour trois mois
        </span>
      </span>
    </label>

    <label data-subscription-cart-target="option"
           data-tier="monthly"
           class="flex flex-row items-start gap-3 rounded-xl border p-3 cursor-pointer border-gray-200">
      <input type="radio"
             name="price_id"
             form="subscribe-form"
             value="price_1PAolnBba0qV9TdY3KVO5Tem"
             data-tier="monthly"
             data-action="change->subscription-cart#select"
             
             class="mt-1 h-4 w-4 shrink-0 border-gray-400 text-brand-600 focus:ring-brand-600" />

      <span class="flex min-w-0 flex-col gap-0.5">
        <span class="flex flex-row items-center gap-2 flex-wrap">
          <span class="text-sm leading-5 font-semibold text-gray-900">Abonnement mensuel</span>

        </span>

        <span class="text-sm leading-5 text-gray-600">
          <span class="font-semibold text-gray-900">29 €</span> le mois
        </span>
      </span>
    </label>
</fieldset>



    <div data-subscription-cart-target="pane"
         data-tier="three_years"
         class="flex flex-col gap-1 border-t border-gray-200 pt-4 hidden">
      <div class="flex flex-row items-baseline justify-between gap-3">
        <span class="text-base leading-6 font-semibold text-gray-900">
          Total aujourd&#39;hui
        </span>
        <span class="text-2xl leading-8 font-bold text-gray-900">0 €</span>
      </div>

        <p class="text-sm leading-5 text-gray-600">
          Essai gratuit de 5 jours, puis
          397 € le 28/10/2026
          si non annulation de l’essai avant son terme.
        </p>


        <p class="text-sm leading-5 text-gray-600">
          Renouvellement automatique de 397 €/3 ans,
          annulable à tout moment depuis ton espace membre.
        </p>
    </div>

    <div data-subscription-cart-target="pane"
         data-tier="yearly"
         class="flex flex-col gap-1 border-t border-gray-200 pt-4 ">
      <div class="flex flex-row items-baseline justify-between gap-3">
        <span class="text-base leading-6 font-semibold text-gray-900">
          Total aujourd&#39;hui
        </span>
        <span class="text-2xl leading-8 font-bold text-gray-900">0 €</span>
      </div>

        <p class="text-sm leading-5 text-gray-600">
          Essai gratuit de 5 jours, puis
          174 € le 28/10/2026
          si non annulation de l’essai avant son terme.
        </p>


        <p class="text-sm leading-5 text-gray-600">
          Renouvellement automatique de 174 €/an,
          annulable à tout moment depuis ton espace membre.
        </p>
    </div>

    <div data-subscription-cart-target="pane"
         data-tier="quarterly"
         class="flex flex-col gap-1 border-t border-gray-200 pt-4 hidden">
      <div class="flex flex-row items-baseline justify-between gap-3">
        <span class="text-base leading-6 font-semibold text-gray-900">
          Total aujourd&#39;hui
        </span>
        <span class="text-2xl leading-8 font-bold text-gray-900">0 €</span>
      </div>

        <p class="text-sm leading-5 text-gray-600">
          Essai gratuit de 5 jours, puis
          69 € le 28/10/2026
          si non annulation de l’essai avant son terme.
        </p>


        <p class="text-sm leading-5 text-gray-600">
          Renouvellement automatique de 69 €/trimestre,
          annulable à tout moment depuis ton espace membre.
        </p>
    </div>

    <div data-subscription-cart-target="pane"
         data-tier="monthly"
         class="flex flex-col gap-1 border-t border-gray-200 pt-4 hidden">
      <div class="flex flex-row items-baseline justify-between gap-3">
        <span class="text-base leading-6 font-semibold text-gray-900">
          Total aujourd&#39;hui
        </span>
        <span class="text-2xl leading-8 font-bold text-gray-900">0 €</span>
      </div>

        <p class="text-sm leading-5 text-gray-600">
          Essai gratuit de 5 jours, puis
          29 € le 28/10/2026
          si non annulation de l’essai avant son terme.
        </p>


        <p class="text-sm leading-5 text-gray-600">
          Renouvellement automatique de 29 €/mois,
          annulable à tout moment depuis ton espace membre.
        </p>
    </div>

  <div class="hidden lg:flex flex-col gap-2 border-t border-gray-200 pt-4">
    <h3 class="text-sm leading-5 font-semibold text-gray-900">Compris dans ton abonnement</h3>

    <ul class="flex flex-col gap-1.5">
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>Accès illimité aux programmes et routines</span>
        </li>
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>+ de 450 recettes et conseils en cuisine</span>
        </li>
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>Cours, ateliers &amp; formations</span>
        </li>
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>Guides essentiels interactifs</span>
        </li>
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>Communauté WhatsApp privée</span>
        </li>
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>Application mobile PowerHouse</span>
        </li>
        <li class="flex flex-row items-center gap-2 text-sm leading-5 text-gray-600">
          <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-brand-600">
<path d="M20 6L9 17L4 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          <span>Toutes les nouvelles mises à jour</span>
        </li>
    </ul>
  </div>

  <p class="hidden lg:flex flex-row items-center gap-2 border-t border-gray-200 pt-4 text-sm leading-5 text-gray-600">
    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" role="img" aria-hidden="true" class="shrink-0 text-gray-500">
  <path d="M17 10V8C17 5.23858 14.7614 3 12 3C9.23859 3 7.00002 5.23858 7.00002 8V10M12 14.5V16.5M8.80002 21H15.2C16.8802 21 17.7203 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V14.8C20 13.1198 20 12.2798 19.673 11.638C19.3854 11.0735 18.9265 10.6146 18.362 10.327C17.7203 10 16.8802 10 15.2 10H8.80002C7.11986 10 6.27978 10 5.63804 10.327C5.07356 10.6146 4.61462 11.0735 4.327 11.638C4.00002 12.2798 4.00002 13.1198 4.00002 14.8V16.2C4.00002 17.8802 4.00002 18.7202 4.327 19.362C4.61462 19.9265 5.07356 20.3854 5.63804 20.673C6.27978 21 7.11986 21 8.80002 21Z" stroke="currentColor" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
    <span>Paiement sécurisé par Stripe</span>
  </p>
</section>
</div>
    </div>
</div>


</template></turbo-stream>