/* ============================================================
   home.css
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1; /* correspond au format ordinateur recommandé (ex. 1920×640) */
  display: flex;
  align-items: flex-end;
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero {
    aspect-ratio: 3 / 4; /* correspond au format téléphone recommandé (ex. 750×1000) */
  }
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media picture {
  display: block;
  width: 100%; height: 100%;
}

.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Pas d'image mobile dédiée pour cette bannière : on affiche l'image
   "ordinateur" en entier (sans recadrage / zoom) plutôt que de la
   recouper agressivement pour un écran étroit. */
@media (max-width: 767px) {
  .hero__media--no-mobile img {
    object-fit: contain;
    background: var(--color-navy-950);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-7);
  color: var(--color-white);
  max-width: 720px;
}

.hero__content h1 { color: var(--color-white); }
.hero__content p { color: var(--color-steel-100); font-size: 18px; }

.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }

.hero-slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  z-index: 0;
  transition: transform 0.6s ease;
}
.hero-slide.is-active { transform: translateX(0); z-index: 1; }
.hero-slide.hero-slide--left { transform: translateX(-100%); z-index: 0; }
.hero-slide.hero-slide--right { transform: translateX(100%); z-index: 0; }

.hero-slider__dots {
  position: absolute;
  z-index: 2;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}
.hero-slider__dot.is-active { background: var(--color-white); width: 22px; border-radius: 4px; transition: width 0.2s ease; }

/* ---------- RECHERCHE RAPIDE ---------- */
.quick-search {
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-4) !important;
  margin-top: -56px !important;
  position: relative;
  z-index: 2;
}

.quick-search__form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: end;
}

.quick-search__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quick-search__field label { font-size: 12px; font-weight: 600; color: var(--color-steel-500); }

.quick-search__field select,
.quick-search__field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-steel-300);
  font-size: 14px;
}

@media (max-width: 900px) {
  .quick-search__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quick-search__submit { grid-column: 1 / -1; }
}

/* ---------- DEUX FAMILLES ---------- */
.family-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
}

.family-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-steel-100);
  text-decoration: none;
  color: var(--color-navy-950);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.family-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.family-card__icon { font-size: 36px; }
.family-card h3 { margin: 0; font-size: 20px; }
.family-card p { margin: 0; font-size: 14px; }
.family-card__link { font-weight: 700; color: var(--color-accent-500); margin-top: var(--space-2); }

@media (max-width: 700px) { .family-showcase__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CATÉGORIES (carrousel) ---------- */
.categories__grid {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.categories__grid::-webkit-scrollbar { height: 6px; }
.categories__grid::-webkit-scrollbar-thumb { background: var(--color-steel-300); border-radius: 999px; }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-navy-900);
  text-align: center;
  flex: 0 0 130px;
  scroll-snap-align: start;
}

.category-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-steel-100);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.category-card:hover .category-card__photo { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.category-card__name { font-weight: 700; font-size: 15px; margin-top: 4px; }
.category-card__link { font-size: 13px; font-weight: 700; text-decoration: underline; color: var(--color-navy-900); }

@media (max-width: 560px) {
  .category-card { flex-basis: 100px; }
  .category-card__name { font-size: 13px; }
}

/* ---------- GRILLE PRODUITS (réutilisée dans le catalogue) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-card--skeleton { height: 320px; background: var(--color-steel-100); }
.product-card--skeleton::before {
  content: ''; display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--color-steel-100) 25%, #f6f7f9 37%, var(--color-steel-100) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}

.product-card__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media .badge { position: absolute; top: 10px; left: 10px; }

.product-card__quick-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease;
  padding: 0;
}
.quick-action-btn:active { transform: scale(0.9); }
.quick-action-btn--like[aria-pressed="true"] { color: var(--color-danger); }
.quick-action-btn--like[aria-pressed="true"] svg { fill: currentColor; }
.quick-action-btn--done { background: var(--color-success); color: #fff; }

/* Le corps de la carte est une colonne flexible : quelle que soit la
   longueur du titre (1 ou 2 lignes), le bloc d'actions (bouton panier)
   reste toujours collé en bas de la carte, donc aligné avec celui des
   autres produits de la même ligne. */
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-3);
}
.product-card__body h3 {
  font-size: 16px;
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-card__body h3.product-card__title--md { font-size: 14px; }
.product-card__body h3.product-card__title--sm { font-size: 12.5px; }
.product-card__body h3 a { text-decoration: none; }
.product-card__meta { font-size: 13px; margin-bottom: var(--space-2); }
.product-card__price { font-weight: 700; color: var(--color-navy-950); font-size: 18px; }
.product-card__rating { color: #f5b400; font-size: 13px; letter-spacing: 1px; margin: 2px 0; }
.product-card__low-stock { color: var(--color-danger); font-weight: 700; font-size: 12px; margin: 2px 0; }

.product-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
}
.product-card__actions .btn--outline { flex: 1; justify-content: center; font-size: 13px; padding: 8px 12px; }

.product-card__cart-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.product-card__cart-btn--done { background: var(--color-success) !important; }

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Téléphone : 2 produits par ligne par défaut, avec un bouton (voir
   .grid-view-toggle) pour basculer à 1 produit par ligne. */
@media (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid.product-grid--list { grid-template-columns: minmax(0, 1fr); }
  .product-grid.product-grid--list .product-card__media { aspect-ratio: 16/9; }
}

.grid-view-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  flex: 0 0 auto;
  justify-content: center;
}

@media (max-width: 767px) {
  .grid-view-toggle { display: inline-flex; }
}

/* ---------- POURQUOI NOUS CHOISIR ---------- */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

.why-us__item {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-steel-100);
}

.why-us__item h3 { font-size: 16px; }
.why-us__item p { font-size: 14px; margin: 0; }

@media (max-width: 900px) { .why-us__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- COMMENT ÇA MARCHE ---------- */
.how-it-works { background: var(--color-steel-100); max-width: none !important; }
.how-it-works > * { max-width: 1280px; margin: 0 auto; }

.how-it-works__steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
  counter-reset: step;
}

.how-it-works__steps li {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.how-it-works__steps span {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-accent-500);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

@media (max-width: 900px) { .how-it-works__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- TÉMOIGNAGES ---------- */
.testimonials { max-width: 1280px; margin: 0 auto; padding: var(--space-6) var(--space-4); }

.testimonial-carousel {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.testimonial-carousel::-webkit-scrollbar { height: 6px; }
.testimonial-carousel::-webkit-scrollbar-thumb { background: var(--color-steel-300); border-radius: 999px; }

.testimonial-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-steel-100);
}

.testimonial-card__stars { color: #f5b400; margin-bottom: var(--space-2); }
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; margin-top: var(--space-2); }

@media (max-width: 560px) { .testimonial-card { flex-basis: 250px; } }

/* ---------- CTA FINAL ---------- */
.final-cta {
  text-align: center;
  background: var(--color-navy-950);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-4) !important;
}

.final-cta h2 { color: var(--color-white); }
.final-cta p { color: var(--color-steel-300); }
.final-cta__actions { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); flex-wrap: wrap; }

/* ---------- TODOS LOS PRODUCTOS (paginado precedente/siguiente) ---------- */
.section-heading__count {
  color: var(--color-steel-500);
  font-size: 0.9rem;
  white-space: nowrap;
}

.all-products__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.all-products__nav button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#all-products-page-indicator {
  color: var(--color-steel-500);
  font-size: 0.9rem;
  min-width: 110px;
  text-align: center;
}

/* ============================================================
   CARTES PRODUIT — alignement
   Haut de carte (titre, marque, note) : hauteur libre mais titre
   limité à 2 lignes. Bas de carte (prix, comparer, boutons) : collé
   en bas, donc prix et boutons alignés sur toute la ligne.
   ============================================================ */
.product-card__media {
  background: #fff;
  border-bottom: 1px solid var(--color-steel-100);
}
.product-card__media img {
  object-fit: contain;
  padding: 10px;
}

.product-card__body h3,
.product-card__body h3.product-card__title--md,
.product-card__body h3.product-card__title--sm {
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 4px;
  min-height: calc(2 * 1.3em);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__body h3 a { color: var(--color-navy-950); }
.product-card__body h3 a:hover { color: var(--color-accent-600); }

.product-card__meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  color: var(--color-steel-500);
}
.product-card__rating { line-height: 1.2; }

/* Bloc prix poussé en bas ; prix barré + badge au-dessus du prix actuel
   pour que le prix actuel soit toujours sur la même ligne horizontale */
.product-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}
.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  min-width: 0;
  margin: 0;
  line-height: 1.15;
}
.product-card__price .price-current { order: 2; flex-basis: 100%; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.product-card__price .price-compare-at { order: 1; margin: 0; font-size: 12.5px; }
.product-card__price .price-discount-badge { order: 1; margin: 0; font-size: 11px; padding: 1px 5px; }
.product-card__price-row .product-card__energy { margin: 0 0 2px; flex-shrink: 0; }

/* Les actions suivent directement le bloc prix */
.product-card__price-row ~ .product-card__actions { margin-top: 0; padding-top: 10px; }
.product-card .compare-toggle { align-self: flex-end; margin: 8px 0 0; }

.product-card__actions .btn--outline {
  white-space: nowrap;
  min-width: 0;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .product-grid { gap: 12px; }
  .product-card__body { padding: 12px; }
  .product-card__body h3,
  .product-card__body h3.product-card__title--md,
  .product-card__body h3.product-card__title--sm { font-size: 14px; }
  .product-card__meta { font-size: 12px; }
  .product-card__price .price-current { font-size: 18px; }
  .product-card__actions { gap: 6px; }
  .product-card__actions .btn--outline { padding: 0 6px; font-size: 12.5px; }
  .product-card__cart-btn { width: 40px; }
}

/* Vue « 1 produit par ligne » : titre sur 3 lignes max */
.product-grid--list .product-card__body h3 { -webkit-line-clamp: 3; min-height: 0; }
.product-card__actions .btn--outline {
  border: 1.5px solid var(--color-steel-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-navy-950);
  font-weight: 700;
}
.product-card__actions .btn--outline:hover { border-color: var(--color-navy-950); }

/* ============================================================
   POR QUÉ ELEGIRNOS — refonte
   ============================================================ */
.why-us__head { margin-bottom: 20px; }
.why-us__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-600);
}
.why-us__head h2 { margin: 0; }

.why-us__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.why-us__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px;
  border: 1px solid var(--color-steel-100);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px -22px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-us__item:hover {
  transform: translateY(-3px);
  border-color: #fed7aa;
  box-shadow: 0 18px 36px -22px rgba(255, 106, 0, 0.45);
}
.why-us__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1e6, #ffe2cc);
  color: var(--color-accent-600);
}
.why-us__text { min-width: 0; }
.why-us__item h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; color: var(--color-navy-950); }
.why-us__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-steel-500);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .why-us__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile : lignes compactes, icône à gauche, pleine largeur */
@media (max-width: 767px) {
  .why-us__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .why-us__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
  }
  .why-us__item:hover { transform: none; }
  .why-us__icon { width: 44px; height: 44px; border-radius: 12px; }
  .why-us__item h3 { font-size: 15.5px; margin-bottom: 3px; }
  .why-us__item p { font-size: 13.5px; }
}

/* ============================================================
   NUESTRO EQUIPO — image + texte
   ============================================================ */
.team-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.team-section__media { position: relative; }
.team-section__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(10, 15, 26, 0.45);
}
.team-section__badge {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-navy-950);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(10, 15, 26, 0.5);
}
.team-section__badge svg { color: var(--color-accent-600); }

.team-section__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-600);
}
.team-section__content h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: 0.01em; }
.team-section__lead { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--color-steel-500); }
.team-section__points { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.team-section__points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--color-navy-900); }
.team-section__points svg {
  flex-shrink: 0;
  width: 26px; height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: #e7f7ed;
  color: var(--color-success);
}
.team-section__points strong { color: var(--color-navy-950); }
.team-section__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.team-section__actions .btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
  box-shadow: 0 12px 24px -12px rgba(255, 106, 0, 0.8);
}
.team-section__link { font-weight: 700; color: var(--color-navy-950); text-decoration: none; }
.team-section__link:hover { color: var(--color-accent-600); }

@media (max-width: 900px) {
  .team-section { grid-template-columns: minmax(0, 1fr); }
  .team-section__media img { border-radius: 20px; }
}
@media (max-width: 480px) {
  .team-section__badge { left: 10px; bottom: 10px; font-size: 12px; padding: 8px 12px; }
  .team-section__lead { font-size: 15px; }
  .team-section__actions .btn { width: 100%; }
}
/* On masque le bandeau de coordonnées imprimé en bas de l'image */
.team-section__media img { aspect-ratio: 1536 / 900; object-position: center top; }

/* ============================================================
   Bandeau d'avantages (au-dessus des catégories) — défilement horizontal
   ============================================================ */
.perks-strip {
  position: relative;
  margin: 0 0 28px;
}
.perks-strip__track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 4px 2px 10px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* bords qui s'estompent pour inviter à faire défiler */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
}
.perks-strip__track::-webkit-scrollbar { display: none; }
.perks-strip__track li { flex-shrink: 0; scroll-snap-align: start; }
.perk-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 24px 0 18px;
  border: 1px solid var(--color-steel-100);
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy-950);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.perk-pill:hover { transform: translateY(-2px); border-color: #fed7aa; box-shadow: 0 12px 24px -14px rgba(255, 106, 0, 0.5); }
.perk-pill__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.perk-pill__text { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.perk-pill__text strong { font-weight: 800; }

/* Sur grand écran, tout tient sur une ligne : pas de fondu */
@media (min-width: 1280px) {
  .perks-strip__track { -webkit-mask-image: none; mask-image: none; justify-content: space-between; }
}
@media (max-width: 480px) {
  .perk-pill { height: 56px; padding: 0 20px 0 14px; gap: 10px; }
  .perk-pill__text { font-size: 15px; }
}


/* ============================================================
   Étiquette de prix « pastille »
   promo : cadre rouge + ancien prix barré + pastille rouge
   normal : pastille noire
   ============================================================ */
.price-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  font-family: var(--font-display);
  line-height: 1;
  text-align: center;
  vertical-align: middle;
}
.price-pill__now { display: block; font-size: 26px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; color: #fff; }

.price-pill--regular { padding: 10px 24px 11px; border-radius: 999px; background: #000; }

.price-pill--sale { border: 2.5px solid #e1140f; border-radius: 28px 28px 24px 24px; background: #fff; }
.price-pill--sale .price-pill__was {
  padding: 9px 18px 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-decoration: line-through;
  text-decoration-thickness: 1.6px;
  white-space: nowrap;
}
/* la pastille rouge recouvre le bas et les côtés du cadre */
.price-pill--sale .price-pill__now { margin: 0 -2.5px -2.5px; padding: 10px 20px 11px; border-radius: 24px; background: #e1140f; }

/* Bloc prix des cartes */
.product-card__price { display: block; line-height: 1; }
.product-card__price-row { flex-wrap: nowrap; }

@media (max-width: 1099px) {
  /* cartes étroites : l'étiquette énergie passe au-dessus de la pastille (la pastille reste alignée en bas) */
  .product-card__price-row { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
}
@media (max-width: 767px) {
  .price-pill__now { font-size: 22px; }
  .price-pill--regular { padding: 8px 18px 9px; }
  .price-pill--sale .price-pill__was { padding: 7px 14px 6px; font-size: 13px; }
  .price-pill--sale .price-pill__now { padding: 8px 16px 9px; }
}
