<turbo-stream action="replace" target="wizard_form"><template><turbo-frame class="block opacity-100 animate-fade-in flex flex-col h-full" data-wizard-animation-target="content" data-turbo-action="advance" data-step="step1" id="wizard_form">


<div class="lg:px-5 flex flex-col gap-10 lg:gap-14 mt-6">
    <div class="flex space-x-4 items-center xl:w-2/3">
    <div class="relative">
      <img alt="Avatar" class="rounded-full max-w-12" src="/assets/jovana-08d24168.webp" />
      <div class="absolute top-0 right-0 rounded-full bg-green-600 border-2 border-white h-3 w-3"></div>

    </div>
    <div>
      <h5 class="h5 font-semibold">Emilie d’assurances vélo</h5>
      <p class="small text-gray-500">Je vais vous obtenir une assurance en quelques minutes. Pouvez-vous m’en dire plus sur le vélo que vous souhaitez assurer ?</p>
    </div>
  </div>



  <div>
    <div class="block lg:hidden mb-5">
      <!-- Sidebar des étapes avec progression -->
<div class="flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-brand-foret">
  <span class="text-white font-medium text-base">
    1/9
  </span>
</div>

    </div>
    <!-- Formulaire -->
    <form class="simple_form new_quotes2" id="quote_form" data-turbo-action="advance" data-action="submit-&gt;wizard-animation#animateOut" novalidate="novalidate" action="/quotes2/wizard/step1" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="put" autocomplete="off" /><input type="hidden" name="authenticity_token" value="6-R3sPV5KyTdGI-SVMcOtTp2-bgO0XDJ336jVu7MGSmgxA2tQ7Sbnjgj3-W-r_hFjf3MTcfBY_spsxoyFjkNEg" autocomplete="off" />

      <!-- Label -->
      <div class="mb-5">
        <h4 class="h4">Quel est votre type de vélo ?</h4>
      </div>

      <!-- Pills with icons -->
      <div class="mb-4 pills_with_icons optional quotes2_bike_type mb-8"><div class="flex gap-2 flex-wrap pills-radio-group"><input type="hidden" name="quotes2[bike_type]" value="" autocomplete="off" /><input class="pills_with_icons optional peer hidden peer hidden peer hidden peer hidden" data-controller="autosubmit" data-action="change-&gt;autosubmit#change" item_wrapper_tag="div" type="radio" value="mechanical" name="quotes2[bike_type]" id="quotes2_bike_type_mechanical" /><label class="flex items-center space-x-2 px-4 py-4 bg-brand-beige-light border border-brand-gray-2 text-black rounded-lg text-sm font-medium cursor-pointer transition-colors" for="quotes2_bike_type_mechanical"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="currentColor" class="w-6.5 h-6.5">
<path d="M15.4375 4.875V6.04297L15.5137 6.19531L16.3516 8.125H9.29297L9.03906 8.48047L6.83008 11.6035C6.33813 11.4512 5.8208 11.375 5.28125 11.375C2.37085 11.375 0 13.7427 0 16.6562C0 19.5698 2.36768 21.9375 5.28125 21.9375C8.05518 21.9375 10.3245 19.7825 10.5371 17.0625H13.3301L13.584 16.707L17.5449 10.8672L18.0781 12.0859C16.5007 13.0032 15.4375 14.7139 15.4375 16.6562C15.4375 19.5571 17.8179 21.9375 20.7188 21.9375C23.6196 21.9375 26 19.5571 26 16.6562C26 13.7554 23.6196 11.375 20.7188 11.375C20.3284 11.375 19.9443 11.4194 19.5762 11.502L17.3926 6.5H19.9062C20.1379 6.5 20.3125 6.67456 20.3125 6.90625C20.3125 7.13794 20.1379 7.3125 19.9062 7.3125V8.9375C21.0171 8.9375 21.9375 8.01709 21.9375 6.90625C21.9375 5.79541 21.0171 4.875 19.9062 4.875H15.4375ZM6.5 5.6875V7.3125H11.375L10.5625 5.6875H6.5ZM10.9434 9.75H16.3516L13.0762 14.5742L10.9434 9.75ZM9.52148 10.5625L11.6543 15.4375H4.875V17.0625H8.88672C8.68042 18.8843 7.15698 20.3125 5.28125 20.3125C3.26587 20.3125 1.625 18.6716 1.625 16.6562C1.625 14.6409 3.26587 13 5.28125 13C6.54761 13 7.67114 13.6475 8.32812 14.625H10.1562C9.76587 13.6887 9.12476 12.8857 8.30273 12.3145L9.52148 10.5625ZM20.7188 13C22.7341 13 24.375 14.6409 24.375 16.6562C24.375 18.6716 22.7341 20.3125 20.7188 20.3125C18.7034 20.3125 17.0625 18.6716 17.0625 16.6562C17.0625 15.3772 17.7385 14.2632 18.7383 13.6094L20.3887 17.3926L21.8613 16.7324L20.2617 13.0508C20.4141 13.0317 20.5632 13 20.7188 13Z" fill="currentColor"></path>
</svg><span>Mécanique</span></label><input class="pills_with_icons optional peer hidden peer hidden peer hidden peer hidden" data-controller="autosubmit" data-action="change-&gt;autosubmit#change" item_wrapper_tag="div" type="radio" value="electric" name="quotes2[bike_type]" id="quotes2_bike_type_electric" /><label class="flex items-center space-x-2 px-4 py-4 bg-brand-beige-light border border-brand-gray-2 text-black rounded-lg text-sm font-medium cursor-pointer transition-colors" for="quotes2_bike_type_electric"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="currentColor" class="w-6.5 h-6.5">
<path d="M15.4375 4.0625V5.23999L16.342 7.3125H9.28186L6.8158 10.7926C6.32967 10.6445 5.81371 10.5625 5.27966 10.5625C2.36848 10.5625 0 12.9318 0 15.8438C0 18.7557 2.36925 21.125 5.28125 21.125H5.6875H7.65051C8.01078 22.0242 8.72899 22.75 9.75 22.75H11.375H12.1875H13.8125V21.125H12.1875V19.5H13.8125V17.875H12.1875H11.375H9.75C8.72899 17.875 8.01078 18.6008 7.65051 19.5H5.6875H5.28125C3.26544 19.5 1.625 17.8596 1.625 15.8438C1.625 13.8279 3.26544 12.1875 5.28125 12.1875C6.54631 12.1875 7.6621 12.8334 8.3186 13.8125H10.1547C9.76488 12.8813 9.11382 12.0879 8.29639 11.5162L9.53418 9.76746L11.6638 14.625H4.875V16.25H13.338L17.5417 10.0642L18.075 11.2845C16.5036 12.203 15.4375 13.9048 15.4375 15.8438C15.4375 18.7447 17.8178 21.125 20.7188 21.125C23.6197 21.125 26 18.7447 26 15.8438C26 12.9428 23.6197 10.5625 20.7188 10.5625C20.3299 10.5625 19.9514 10.6084 19.5857 10.6895L17.4053 5.6875H19.9062C20.1394 5.6875 20.3125 5.86061 20.3125 6.09375C20.3125 6.32689 20.1394 6.5 19.9062 6.5V8.125C21.0186 8.125 21.9375 7.20611 21.9375 6.09375C21.9375 4.98139 21.0186 4.0625 19.9062 4.0625H15.4375ZM6.5 4.875V6.5H11.375L10.5625 4.875H6.5ZM10.9465 8.9375H16.3405L13.0619 13.7649L10.9465 8.9375ZM20.7188 12.1875C22.7334 12.1875 24.375 13.8291 24.375 15.8438C24.375 17.8584 22.7334 19.5 20.7188 19.5C18.7041 19.5 17.0625 17.8584 17.0625 15.8438C17.0625 14.5638 17.7273 13.4377 18.7272 12.7842L20.3807 16.5753L21.8693 15.9247L20.2601 12.2335C20.4122 12.2141 20.5616 12.1875 20.7188 12.1875ZM9.75 19.5H10.5625V21.125H9.75C9.29091 21.125 8.9375 20.7716 8.9375 20.3125C8.9375 19.8534 9.29091 19.5 9.75 19.5Z" fill="currentColor"></path>
</svg><span>Électrique</span></label><input class="pills_with_icons optional peer hidden peer hidden peer hidden peer hidden" data-controller="autosubmit" data-action="change-&gt;autosubmit#change" item_wrapper_tag="div" type="radio" value="scooter" name="quotes2[bike_type]" id="quotes2_bike_type_scooter" /><label class="flex items-center space-x-2 px-4 py-4 bg-brand-beige-light border border-brand-gray-2 text-black rounded-lg text-sm font-medium cursor-pointer transition-colors" for="quotes2_bike_type_scooter"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="currentColor" class="w-6.5 h-6.5">
<path d="M13.8125 3.25V4.875H16.4373L16.4388 4.87659V4.87976L19.1382 14.5758L19.1334 14.5726L16.058 19.1414C15.9072 19.3657 15.6571 19.5 15.3851 19.5H7.18079C7.0813 19.197 6.92573 18.908 6.70154 18.6558C6.2818 18.1836 5.61979 17.875 4.875 17.875C4.13021 17.875 3.4682 18.1836 3.04846 18.6558C2.62872 19.128 2.4375 19.7257 2.4375 20.3125C2.4375 20.8993 2.62872 21.497 3.04846 21.9692C3.4682 22.4414 4.13021 22.75 4.875 22.75C5.61979 22.75 6.2818 22.4414 6.70154 21.9692C6.92573 21.717 7.0813 21.428 7.18079 21.125H15.3851C16.1955 21.125 16.9548 20.7217 17.4069 20.0491L19.7095 16.6277L20.1141 18.0797C19.7935 18.2162 19.5134 18.4139 19.2985 18.6558C18.8787 19.128 18.6875 19.7257 18.6875 20.3125C18.6875 20.8993 18.8787 21.497 19.2985 21.9692C19.7182 22.4414 20.3802 22.75 21.125 22.75C21.8698 22.75 22.5318 22.4414 22.9515 21.9692C23.3713 21.497 23.5625 20.8993 23.5625 20.3125C23.5625 19.7257 23.3713 19.128 22.9515 18.6558C22.658 18.3255 22.2421 18.0829 21.7661 17.9623L18.0083 4.45605C17.8192 3.7483 17.17 3.25 16.4373 3.25H13.8125ZM4.875 19.5C5.21354 19.5 5.36404 19.5977 5.48596 19.7349C5.60789 19.872 5.6875 20.0868 5.6875 20.3125C5.6875 20.5382 5.60789 20.753 5.48596 20.8901C5.36404 21.0273 5.21354 21.125 4.875 21.125C4.53646 21.125 4.38596 21.0273 4.26404 20.8901C4.14211 20.753 4.0625 20.5382 4.0625 20.3125C4.0625 20.0868 4.14211 19.872 4.26404 19.7349C4.38596 19.5977 4.53646 19.5 4.875 19.5ZM21.125 19.5C21.4635 19.5 21.614 19.5977 21.736 19.7349C21.8579 19.872 21.9375 20.0868 21.9375 20.3125C21.9375 20.5382 21.8579 20.753 21.736 20.8901C21.614 21.0273 21.4635 21.125 21.125 21.125C20.7865 21.125 20.636 21.0273 20.514 20.8901C20.3921 20.753 20.3125 20.5382 20.3125 20.3125C20.3125 20.0868 20.3921 19.872 20.514 19.7349C20.636 19.5977 20.7865 19.5 21.125 19.5Z" fill="currentColor"></path>
</svg><span>Trottinette</span></label></div></div>

</form>  </div>
</div>

</turbo-frame></template></turbo-stream><turbo-stream action="replace" target="progress_bar"><template><div data-controller="progress-bar"
     data-progress-bar-current-value="1"
     data-progress-bar-total-value="5">
  <div class="w-full bg-gray-200 h-1">
    <div data-progress-bar-target="bar"
         class="h-full bg-orange-500 transition-all duration-500 ease-in-out"
         style="width: 0%">
    </div>
  </div>
</div>
</template></turbo-stream><turbo-stream action="replace" target="wizard-controls"><template><!-- Contrôles de navigation en bas du wizard -->
<div id="wizard-controls" class="rounded-t-3xl border-t border-gray-200 bg-white p-6">
  <div class="flex items-center justify-between max-w-7xl mx-auto">
    <!-- Bouton Précédent -->
    <div>
        <a class="button-gray" data-method="get" href="/">
          <span class="arrow-right-container rotate-180 mr-2">
            <svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="currentColor" class="w-4 h-4">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.99451 5.81012C10.2745 5.53009 10.7286 5.53009 11.0086 5.81012L15.1915 9.99305C15.326 10.1275 15.4016 10.3099 15.4016 10.5001C15.4016 10.6903 15.326 10.8727 15.1915 11.0071L11.0086 15.1901C10.7286 15.4701 10.2745 15.4701 9.99451 15.1901C9.71448 14.91 9.71448 14.456 9.99451 14.176L12.9533 11.2172H6.31864C5.92261 11.2172 5.60156 10.8961 5.60156 10.5001C5.60156 10.1041 5.92261 9.78302 6.31864 9.78302H12.9533L9.99451 6.82422C9.71448 6.54418 9.71448 6.09016 9.99451 5.81012Z" fill="currentColor" stroke="currentColor" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
          </span>
          <span>Précédent</span>
</a>    </div>

    <!-- Bouton Suivant -->
    <div>
      <button type="submit"
              class="button-primary"
              form="quote_form"
              data-submit-enable-target="submit">
        <span>Suivant</span>
        <span class="arrow-right-container ml-2">
          <svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="currentColor" class="arrow-right w-4 h-4">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.99451 5.81012C10.2745 5.53009 10.7286 5.53009 11.0086 5.81012L15.1915 9.99305C15.326 10.1275 15.4016 10.3099 15.4016 10.5001C15.4016 10.6903 15.326 10.8727 15.1915 11.0071L11.0086 15.1901C10.7286 15.4701 10.2745 15.4701 9.99451 15.1901C9.71448 14.91 9.71448 14.456 9.99451 14.176L12.9533 11.2172H6.31864C5.92261 11.2172 5.60156 10.8961 5.60156 10.5001C5.60156 10.1041 5.92261 9.78302 6.31864 9.78302H12.9533L9.99451 6.82422C9.71448 6.54418 9.71448 6.09016 9.99451 5.81012Z" fill="currentColor" stroke="currentColor" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
        </span>
      </button>
    </div>
  </div>
</div></template></turbo-stream><turbo-stream action="replace" target="wizard-steps"><template><!-- Sidebar des étapes avec progression -->
<div id="wizard-steps" class="bg-brand-beige rounded-xl">


  <h3 class="h3 mb-10">Obtenez votre devis en moins de 2 min</h3>
  <div class="space-y-6 relative">
    <div class="z-0 absolute top-0 bottom-0 left-5 border-l-1 border-[#DBE7E3] h-full"></div>

      <div class="relative z-1 flex items-start space-x-4">
        <!-- Numéro de l'étape -->
        <div class="flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-brand-foret">
          <span class="text-white font-medium text-base">
            01
          </span>
        </div>

        <!-- Titre de l'étape -->
        <div class="flex-1 mt-1">
            <a class="h4 text-black hover:text-brand-foret transition-colors" href="/quotes2/wizard/step1">
              Type de vélo
</a>        </div>
      </div>

      <div class="relative z-1 flex items-start space-x-4">
        <!-- Numéro de l'étape -->
        <div class="flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-brand-foret-pastel border border-[#DBE7E3]">
          <span class="text-brand-foret font-medium text-base">
            02
          </span>
        </div>

        <!-- Titre de l'étape -->
        <div class="flex-1 mt-1">
            <h4 class="h4 text-black">Date d&#39;achat</h4>
        </div>
      </div>

      <div class="relative z-1 flex items-start space-x-4">
        <!-- Numéro de l'étape -->
        <div class="flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-brand-foret-pastel border border-[#DBE7E3]">
          <span class="text-brand-foret font-medium text-base">
            03
          </span>
        </div>

        <!-- Titre de l'étape -->
        <div class="flex-1 mt-1">
            <h4 class="h4 text-black">Prix du vélo</h4>
        </div>
      </div>

      <div class="relative z-1 flex items-start space-x-4">
        <!-- Numéro de l'étape -->
        <div class="flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-brand-foret-pastel border border-[#DBE7E3]">
          <span class="text-brand-foret font-medium text-base">
            04
          </span>
        </div>

        <!-- Titre de l'étape -->
        <div class="flex-1 mt-1">
            <h4 class="h4 text-black">Marque et modèle</h4>
        </div>
      </div>

      <div class="relative z-1 flex items-start space-x-4">
        <!-- Numéro de l'étape -->
        <div class="flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center bg-brand-foret-pastel border border-[#DBE7E3]">
          <span class="text-brand-foret font-medium text-base">
            05
          </span>
        </div>

        <!-- Titre de l'étape -->
        <div class="flex-1 mt-1">
            <h4 class="h4 text-black">Vos coordonnées</h4>
        </div>
      </div>


  </div>
</div></template></turbo-stream>