/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
/* =========================
   SECTION TARIF
========================= */
.tarif-tarif {
  width: 100%;
  overflow: hidden;
}

/* =========================
   BANDEAU TARIF (PLUS HAUT)
========================= */
.bandeau-tarif {
  position: relative;
  height: 360px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  padding: 4rem 0;
}

/* fond bicolore */
.bandeau-tarif::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    #e2bc1d 0 34px,
    #eee1b7 34px 68px
  );
  z-index: 0;
}

/* masque acheter */
.bandeau-tarif.acheter-tarif::before {
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0.6) 55%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0.6) 55%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0) 100%
  );
}

/* =========================
   ÉTAPES TARIF – CENTRÉES
========================= */
.conceptVG-steps-tarif {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  width: 100%;
  max-width: 1300px;
  position: relative;
  z-index: 2;
  align-items: center;
}

/* ligne animée */
.conceptVG-steps-tarif::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #e2bc1d,
    transparent
  );
  animation: flowLine-tarif 6s linear infinite;
  z-index: 0;
}

@keyframes flowLine-tarif {
  from { background-position: 0 0; }
  to   { background-position: 600px 0; }
}

/* =========================
   CARTE ÉTAPE
========================= */
.step-tarif {
  background: #fff;
  padding: 3rem 2.2rem 1.4rem;
  border-radius: 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 45px rgba(0,0,0,0.1);
  z-index: 1;
}

/* tailles progressives */
.step-1 { transform: scale(0.90); }
.step-2 { transform: scale(0.96); }
.step-3 { transform: scale(1.02); }
.step-4 { transform: scale(1.15); }

/* =========================
   NUMÉRO ÉTAPE
========================= */
.step-number-tarif {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 3.6rem;
  font-weight: 700;
  color: #e2bc1d;
  opacity: 0.22;
}

/* =========================
   TITRES
========================= */
.step-tarif h3 {
  margin-top: 10px;
  color: #7a7a7a;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.4rem;
}

/* =========================
   PRIX – TRÈS MIS EN AVANT
========================= */
.ptarif-tarif {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1f1f1f;
}

.price-max {
  font-size: 3.4rem;
}

/* =========================
   DERNIÈRE ÉTAPE – MEILLEURE OFFRE
========================= */
.best-offer {
  background: #e2bc1d;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  animation: pulseOffer 3.8s ease-in-out infinite;
  position: relative;
}

/* badge SEULEMENT */
.badge-offer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1f1f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 7px 16px;
  border-radius: 999px;
}

/* animation continue premium */
@keyframes pulseOffer {
  0% {
    transform: scale(1.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  }
  50% {
    transform: scale(1.20);
    box-shadow: 0 55px 110px rgba(0,0,0,0.4);
  }
  100% {
    transform: scale(1.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  }
}

/* couleurs internes dernière carte */
.best-offer .ptarif-tarif {
  color: #1f1f1f;
}

.best-offer .step-number-tarif {
  color: #fff;
  opacity: 0.35;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .conceptVG-steps-tarif {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .step-1,
  .step-2,
  .step-3,
  .step-4 {
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .bandeau-tarif {
    height: auto;
    padding: 4rem 0;
  }

  .conceptVG-steps-tarif {
    grid-template-columns: 1fr;
  }

  .conceptVG-steps-tarif::before {
    display: none;
  }
}
.boutoncenter {
    margin-top: 10px;
    text-align: center;
}
