/**
 * ABIMEDIA Slider & Pages — feuille de style unique.
 *
 * Aucune valeur d'apparence n'est écrite en dur : tout passe par les
 * variables --abib-* générées par le thème de chaque page. Ce fichier est
 * donc identique pour tous les visiteurs et toutes les pages, et le
 * navigateur le met en cache une fois pour toutes.
 *
 * Les habillages (.abib-skin-*) redéfinissent la mise en page — cartes,
 * grilles, échelle typographique — et non seulement les couleurs.
 */

.abib-page {
  --abib-accent: #0b69f6;
  --abib-accent-soft: #eaf1fe;
  --abib-ink: #111826;
  --abib-muted: #5b6472;
  --abib-surface: #fff;
  --abib-border: #e5e8ee;
  --abib-radius: 16px;
  --abib-radius-sm: 10px;
  --abib-shadow: 0 12px 32px rgba(16, 24, 40, .10);
  --abib-title-size: 34px;
  --abib-title-weight: 700;
  --abib-title-spacing: -.5px;
  --abib-eyebrow-transform: uppercase;
  --abib-btn-radius: 999px;
  --abib-rhythm: 64px;

  color: var(--abib-ink);
}

.abib-page *,
.abib-page *::before,
.abib-page *::after { box-sizing: border-box; }

/* ===================================================================== */
/* Sections                                                               */
/* ===================================================================== */

.abib-section {
  position: relative;
  background: var(--abib-bg, transparent);
  background-size: cover;
  background-position: center;
  color: var(--abib-fg, inherit);
}

.abib-section--bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .06;
  pointer-events: none;
}

.abib-section__inner {
  position: relative;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.abib-section--w-container .abib-section__inner { max-width: 1320px; }
.abib-section--w-narrow .abib-section__inner { max-width: 820px; }
.abib-section--w-full .abib-section__inner { max-width: none; padding-left: 0; padding-right: 0; }

/* La largeur "pleine" ne devait remplir que son parent immédiat : dans un
   gabarit à colonnes (filtre + contenu), le parent est une colonne étroite,
   pas la page. Ce correctif fait sortir la section de tout conteneur
   ancêtre pour qu'elle touche réellement les deux bords de l'écran, quelle
   que soit sa position dans la mise en page — la formule ne dépend que de
   la largeur de la fenêtre (vw), pas de celle des ancêtres. */
.abib-section--w-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.abib-section--pt-none { padding-top: 0; }
.abib-section--pt-sm { padding-top: calc(var(--abib-rhythm) * .35); }
.abib-section--pt-md { padding-top: var(--abib-rhythm); }
.abib-section--pt-lg { padding-top: calc(var(--abib-rhythm) * 1.5); }
.abib-section--pt-xl { padding-top: calc(var(--abib-rhythm) * 2.2); }

.abib-section--pb-none { padding-bottom: 0; }
.abib-section--pb-sm { padding-bottom: calc(var(--abib-rhythm) * .35); }
.abib-section--pb-md { padding-bottom: var(--abib-rhythm); }
.abib-section--pb-lg { padding-bottom: calc(var(--abib-rhythm) * 1.5); }
.abib-section--pb-xl { padding-bottom: calc(var(--abib-rhythm) * 2.2); }

.abib-section--align-center { text-align: center; }
.abib-section--align-center .abib-reassurance__item { justify-content: center; }

/* Visibilité par appareil */
@media (min-width: 1200px) { .abib-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1199.98px) { .abib-hide-tablet { display: none !important; } }
@media (max-width: 767.98px) { .abib-hide-mobile { display: none !important; } }

/* Apparition au défilement */
.abib-reveal { opacity: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
.abib-reveal--fade { transform: none; }
.abib-reveal--up { transform: translateY(28px); }
.abib-reveal--left { transform: translateX(-32px); }
.abib-reveal--zoom { transform: scale(.96); }
.abib-reveal.is-revealed { opacity: 1; transform: none; }

/* ===================================================================== */
/* Titres et éléments communs                                             */
/* ===================================================================== */

.abib-head { margin-bottom: 32px; }

.abib-head__eyebrow {
  margin: 0 0 8px;
  color: var(--abib-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: var(--abib-eyebrow-transform);
}

.abib-head__title {
  margin: 0;
  font-size: var(--abib-title-size);
  font-weight: var(--abib-title-weight);
  letter-spacing: var(--abib-title-spacing);
  line-height: 1.15;
  color: inherit;
}

.abib-head__subtitle {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--abib-muted);
  font-size: 16px;
  line-height: 1.55;
}

.abib-section--align-center .abib-head__subtitle { margin-left: auto; margin-right: auto; }

.abib-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--abib-btn-radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.abib-btn--primary { background: var(--abib-accent); color: #fff; }
.abib-btn--ghost { border-color: currentColor; color: inherit; }
.abib-btn--small { padding: 8px 16px; font-size: 13.5px; }
.abib-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 24, 40, .16); }

.abib-link { color: var(--abib-accent); font-weight: 600; text-decoration: none; }
.abib-link:hover { text-decoration: underline; }

.abib-section__more { margin: 24px 0 0; }

.abib-card {
  background: var(--abib-surface);
  border: 1px solid var(--abib-border);
  border-radius: var(--abib-radius);
  overflow: hidden;
}

.abib-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: var(--abib-accent-soft);
  border-radius: 50%;
}

.abib-icon--square { border-radius: var(--abib-radius-sm); }

.abib-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: var(--abib-btn-radius);
  font-size: 12px;
  font-weight: 700;
}

.abib-badge--sale { background: #e11d48; color: #fff; }

.abib-rich { line-height: 1.65; }
.abib-rich--large { font-size: 18px; }
.abib-rich img { max-width: 100%; height: auto; }
.abib-rich a { color: var(--abib-accent); }
.abib-rich--2col { column-count: 2; column-gap: 40px; }

/* Grilles génériques */
.abib-cols-2, .abib-cols-3, .abib-cols-4, .abib-cols-5, .abib-cols-6 { display: grid; gap: 20px; }
.abib-cols-2 { grid-template-columns: repeat(2, 1fr); }
.abib-cols-3 { grid-template-columns: repeat(3, 1fr); }
.abib-cols-4 { grid-template-columns: repeat(4, 1fr); }
.abib-cols-5 { grid-template-columns: repeat(5, 1fr); }
.abib-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Rapports d'image, pour éviter tout décalage de mise en page */
.abib-ratio { position: relative; overflow: hidden; }
.abib-ratio::before { content: ''; display: block; }
.abib-ratio--16-9::before { padding-top: 56.25%; }
.abib-ratio--4-3::before { padding-top: 75%; }
.abib-ratio--1-1::before { padding-top: 100%; }
.abib-ratio--21-9::before { padding-top: 42.85%; }
.abib-ratio--auto::before { display: none; }
.abib-ratio > img,
.abib-ratio > video,
.abib-ratio > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.abib-ratio--auto > img { position: static; height: auto; }

/* ===================================================================== */
/* Slider héro                                                            */
/* ===================================================================== */

.abib-slider { position: relative; overflow: hidden; }
.abib-slider:focus-visible { outline: 3px solid var(--abib-accent); outline-offset: -3px; }

.abib-slider--h-small { height: 340px; }
.abib-slider--h-medium { height: 460px; }
.abib-slider--h-large { height: 600px; }
.abib-slider--h-full { height: min(88vh, 860px); }

.abib-slider__track { position: relative; width: 100%; height: 100%; }

.abib-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--abib-slide-speed, 600ms) ease,
              transform var(--abib-slide-speed, 600ms) cubic-bezier(.22, .61, .36, 1);
}

.abib-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; z-index: 2; }
.abib-slide.is-leaving { z-index: 1; visibility: visible; }

/* Effets : chacun ne redéfinit que la transformation d'entrée et de sortie. */
.abib-slider--fx-slide .abib-slide { transform: translateX(40px); }
.abib-slider--fx-slide[data-direction="prev"] .abib-slide { transform: translateX(-40px); }
.abib-slider--fx-slide .abib-slide.is-leaving { transform: translateX(-40px); }
.abib-slider--fx-slide[data-direction="prev"] .abib-slide.is-leaving { transform: translateX(40px); }

.abib-slider--fx-zoom .abib-slide { transform: scale(1.06); }
.abib-slider--fx-zoom .abib-slide.is-leaving { transform: scale(.96); }

.abib-slider--fx-flip .abib-slider__track { perspective: 1400px; }
.abib-slider--fx-flip .abib-slide { transform: rotateY(22deg); transform-origin: left center; }
.abib-slider--fx-flip .abib-slide.is-leaving { transform: rotateY(-22deg); }

.abib-slider--fx-cube .abib-slider__track { perspective: 1600px; transform-style: preserve-3d; }
.abib-slider--fx-cube .abib-slide { transform: rotateY(65deg) translateZ(120px); transform-origin: left center; }
.abib-slider--fx-cube .abib-slide.is-leaving { transform: rotateY(-65deg) translateZ(120px); transform-origin: right center; }

.abib-slider--fx-coverflow .abib-slider__track { perspective: 1200px; }
.abib-slider--fx-coverflow .abib-slide { transform: rotateY(35deg) scale(.86) translateX(60px); }
.abib-slider--fx-coverflow .abib-slide.is-leaving { transform: rotateY(-35deg) scale(.86) translateX(-60px); }

.abib-slide__media { position: absolute; inset: 0; overflow: hidden; }
.abib-slide__media img,
.abib-slide__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.abib-slide__overlay { position: absolute; inset: 0; background: #000; }

.abib-slide__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.abib-slide__body--center { text-align: center; }
.abib-slide__body--right { text-align: right; }

.abib-slide__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .85;
}

.abib-slide__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(28px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}

.abib-slide__body--center .abib-slide__title { max-width: 24ch; margin-inline: auto; }

.abib-slide__text {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.5;
  opacity: .92;
}

.abib-slide__body--center .abib-slide__text { margin-inline: auto; }
.abib-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.abib-slide__body--center .abib-slide__actions { justify-content: center; }
.abib-slide__body--right .abib-slide__actions { justify-content: flex-end; }

/* --------------------------------------------------------------------- */
/* Types de diapositives                                                   */
/* --------------------------------------------------------------------- */

/* Rangée de produits — le format des grandes enseignes : un panneau de
   message d'un côté, les produits de l'autre. Le panneau garantit la
   lisibilité du message quelle que soit l'image de fond. */
.abib-slide__retail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 30%) 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.abib-slide--panel-right .abib-slide__retail { grid-template-columns: 1fr minmax(240px, 30%); direction: rtl; }
.abib-slide--panel-right .abib-slide__retail > * { direction: ltr; }

.abib-slide__panel {
  padding: 28px;
  border-radius: var(--abib-radius);
  background: var(--abib-panel, #0b69f6);
  color: #fff;
}

.abib-slide__panel .abib-slide__title { font-size: clamp(22px, 2.6vw, 34px); max-width: none; }
.abib-slide__panel .abib-slide__text { font-size: 15px; margin-top: 10px; }

.abib-slide__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.abib-slidecard {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--abib-radius-sm);
  background: #fff;
  color: #111826;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.abib-slidecard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 24, 40, .2); }

.abib-slidecard__media { position: relative; display: block; margin-bottom: 8px; }
.abib-slidecard__media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block; }

.abib-slidecard__cut {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.abib-slidecard__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.abib-slidecard__prices { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.abib-slidecard__price { font-size: 16px; font-weight: 800; color: #e11d48; }
.abib-slidecard__prices s { font-size: 11.5px; color: #98a2b3; }
.abib-slidecard__stock { margin-top: 2px; font-size: 11px; font-weight: 600; color: #16a34a; }
.abib-slidecard__stock--out { color: #b45309; }

/* Produit vedette et marque — argumentaire d'un côté, visuel détouré de
   l'autre. Le visuel n'est pas un fond : il doit rester entier. */
.abib-slide__feature {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.abib-slide--panel-right .abib-slide__feature { direction: rtl; }
.abib-slide--panel-right .abib-slide__feature > * { direction: ltr; }

.abib-slide__shot { display: flex; align-items: center; justify-content: center; height: 100%; }
.abib-slide__shot img { max-width: 100%; max-height: 78%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.abib-slide__shot--logo img { max-height: 42%; filter: none; }

.abib-slide__pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.abib-slide__price { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; line-height: 1; }
.abib-slide__pricing s { font-size: 17px; opacity: .7; }

.abib-slide__cut {
  padding: 4px 12px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.abib-slide__stock { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.abib-slide__stock--out { opacity: .8; }
.abib-slide__meta { margin: 12px 0 0; font-size: 14px; opacity: .85; }

/* --------------------------------------------------------------------- */
/* Calques                                                                 */
/*                                                                         */
/* Positionnés en pourcentage sur la diapositive, jamais en pixels : c'est */
/* la seule façon qu'une composition tienne de l'écran large au téléphone. */
/* L'ancrage détermine quel point du calque se cale sur les coordonnées.   */
/* --------------------------------------------------------------------- */

.abib-layers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.abib-layer {
  position: absolute;
  left: var(--abib-l-x, 50%);
  top: var(--abib-l-y, 50%);
  max-width: 86%;
  margin: 0;
  pointer-events: auto;
  text-decoration: none;
  opacity: var(--abib-l-opacity, 1);
  --abib-l-tx: 0%;
  --abib-l-ty: 0%;
}

/* Neuf ancrages : le décalage compense la position du point de référence. */
.abib-layer--anchor-tl { --abib-l-tx: 0%; --abib-l-ty: 0%; }
.abib-layer--anchor-tc { --abib-l-tx: -50%; --abib-l-ty: 0%; }
.abib-layer--anchor-tr { --abib-l-tx: -100%; --abib-l-ty: 0%; }
.abib-layer--anchor-ml { --abib-l-tx: 0%; --abib-l-ty: -50%; }
.abib-layer--anchor-mc { --abib-l-tx: -50%; --abib-l-ty: -50%; }
.abib-layer--anchor-mr { --abib-l-tx: -100%; --abib-l-ty: -50%; }
.abib-layer--anchor-bl { --abib-l-tx: 0%; --abib-l-ty: -100%; }
.abib-layer--anchor-bc { --abib-l-tx: -50%; --abib-l-ty: -100%; }
.abib-layer--anchor-br { --abib-l-tx: -100%; --abib-l-ty: -100%; }

.abib-layer {
  transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg));
}

.abib-layer--align-left { text-align: left; }
.abib-layer--align-center { text-align: center; }
.abib-layer--align-right { text-align: right; }

/* Une ombre portée douce rend n'importe quel texte lisible sur une photo,
   sans imposer le voile sombre d'un assombrissement global. */
.abib-layer--shadow { text-shadow: 0 2px 14px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35); }

.abib-layer--boxed { display: inline-block; }
.abib-layer--upper { text-transform: uppercase; }

.abib-layer--title { font-family: inherit; }
.abib-layer--button { text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.abib-layer--button:hover { transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(1.04); }
.abib-layer--badge { white-space: nowrap; }
.abib-layer--price { font-variant-numeric: tabular-nums; }
.abib-layer--image img { display: block; width: 100%; height: auto; }
.abib-layer--html p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------- */
/* Animations d'entrée des calques                                         */
/*                                                                         */
/* Elles ne se jouent que sur la diapositive active : sans cette           */
/* condition, tout s'animerait une seule fois au chargement puis plus      */
/* jamais au fil du diaporama. Le délai propre à chaque calque produit     */
/* l'entrée en cascade.                                                    */
/* --------------------------------------------------------------------- */

.abib-slide:not(.is-active) .abib-layer[class*="abib-layer--anim-"] { opacity: 0; }

.abib-slide.is-active .abib-layer[class*="abib-layer--anim-"] {
  animation-duration: var(--abib-l-duration, 600ms);
  animation-delay: var(--abib-l-delay, 0ms);
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
  animation-fill-mode: both;
}

.abib-slide.is-active .abib-layer--anim-fade { animation-name: abib-l-fade; }
.abib-slide.is-active .abib-layer--anim-up { animation-name: abib-l-up; }
.abib-slide.is-active .abib-layer--anim-down { animation-name: abib-l-down; }
.abib-slide.is-active .abib-layer--anim-left { animation-name: abib-l-left; }
.abib-slide.is-active .abib-layer--anim-right { animation-name: abib-l-right; }
.abib-slide.is-active .abib-layer--anim-zoom-in { animation-name: abib-l-zoom-in; }
.abib-slide.is-active .abib-layer--anim-zoom-out { animation-name: abib-l-zoom-out; }
.abib-slide.is-active .abib-layer--anim-flip-x { animation-name: abib-l-flip-x; }
.abib-slide.is-active .abib-layer--anim-flip-y { animation-name: abib-l-flip-y; }
.abib-slide.is-active .abib-layer--anim-rotate { animation-name: abib-l-rotate; }
.abib-slide.is-active .abib-layer--anim-bounce { animation-name: abib-l-bounce; animation-timing-function: cubic-bezier(.28, 1.55, .5, 1); }
.abib-slide.is-active .abib-layer--anim-blur { animation-name: abib-l-blur; }
.abib-slide.is-active .abib-layer--anim-reveal-x { animation-name: abib-l-reveal-x; }
.abib-slide.is-active .abib-layer--anim-reveal-y { animation-name: abib-l-reveal-y; }

/* Chaque animation repart de la transformation de base du calque —
   décalage d'ancrage et rotation — pour ne pas la perdre en fin de course. */
@keyframes abib-l-fade {
  from { opacity: 0; }
  to { opacity: var(--abib-l-opacity, 1); }
}

@keyframes abib-l-up {
  from { opacity: 0; transform: translate(var(--abib-l-tx), calc(var(--abib-l-ty) + 40px)) rotate(var(--abib-l-rotate, 0deg)); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)); }
}

@keyframes abib-l-down {
  from { opacity: 0; transform: translate(var(--abib-l-tx), calc(var(--abib-l-ty) - 40px)) rotate(var(--abib-l-rotate, 0deg)); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)); }
}

@keyframes abib-l-left {
  from { opacity: 0; transform: translate(calc(var(--abib-l-tx) - 50px), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)); }
}

@keyframes abib-l-right {
  from { opacity: 0; transform: translate(calc(var(--abib-l-tx) + 50px), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)); }
}

@keyframes abib-l-zoom-in {
  from { opacity: 0; transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(.78); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(1); }
}

@keyframes abib-l-zoom-out {
  from { opacity: 0; transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(1.25); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(1); }
}

@keyframes abib-l-flip-x {
  from { opacity: 0; transform: translate(var(--abib-l-tx), var(--abib-l-ty)) perspective(800px) rotateX(-75deg); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) perspective(800px) rotateX(0); }
}

@keyframes abib-l-flip-y {
  from { opacity: 0; transform: translate(var(--abib-l-tx), var(--abib-l-ty)) perspective(800px) rotateY(75deg); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) perspective(800px) rotateY(0); }
}

@keyframes abib-l-rotate {
  from { opacity: 0; transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(calc(var(--abib-l-rotate, 0deg) - 18deg)) scale(.9); }
  to { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(1); }
}

@keyframes abib-l-bounce {
  0% { opacity: 0; transform: translate(var(--abib-l-tx), calc(var(--abib-l-ty) + 30px)) rotate(var(--abib-l-rotate, 0deg)) scale(.6); }
  100% { opacity: var(--abib-l-opacity, 1); transform: translate(var(--abib-l-tx), var(--abib-l-ty)) rotate(var(--abib-l-rotate, 0deg)) scale(1); }
}

@keyframes abib-l-blur {
  from { opacity: 0; filter: blur(14px); }
  to { opacity: var(--abib-l-opacity, 1); filter: blur(0); }
}

@keyframes abib-l-reveal-x {
  from { opacity: 1; clip-path: inset(0 100% 0 0); }
  to { opacity: var(--abib-l-opacity, 1); clip-path: inset(0 0 0 0); }
}

@keyframes abib-l-reveal-y {
  from { opacity: 1; clip-path: inset(100% 0 0 0); }
  to { opacity: var(--abib-l-opacity, 1); clip-path: inset(0 0 0 0); }
}

/* --------------------------------------------------------------------- */
/* Habillages du diaporama                                                 */
/* --------------------------------------------------------------------- */

/* Grande distribution : hauteur maîtrisée, fond sobre, le message et les
   produits font tout le travail. */
.abib-slider--skin-retail { background: var(--abib-accent-soft); }
.abib-slider--skin-retail .abib-slide { align-items: center; }
.abib-slider--skin-retail .abib-slide__media img { opacity: .9; }
.abib-slider--skin-retail .abib-slide__body { max-width: 1320px; }

/* Deux volets : le visuel occupe une moitié pleine, le texte l'autre. */
.abib-slider--skin-split .abib-slide { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.abib-slider--skin-split .abib-slide__media { position: relative; inset: auto; grid-column: 1; }
.abib-slider--skin-split .abib-slide--panel-right .abib-slide__media { grid-column: 2; }
.abib-slider--skin-split .abib-slide__overlay { opacity: 0 !important; }
.abib-slider--skin-split .abib-slide__body {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: 40px;
  background: var(--abib-surface);
  color: var(--abib-ink);
}
.abib-slider--skin-split .abib-slide--panel-right .abib-slide__body { grid-column: 1; }
.abib-slider--skin-split .abib-slide__title { max-width: 16ch; }

/* Carte : le diaporama se détache du bord de la page. */
.abib-slider--skin-card {
  max-width: 1320px;
  margin: 0 auto;
  border-radius: var(--abib-radius);
  box-shadow: var(--abib-shadow);
}

/* Éditorial : le titre domine, le visuel s'efface. */
.abib-slider--skin-editorial .abib-slide__overlay { opacity: .55 !important; }
.abib-slider--skin-editorial .abib-slide__title { font-size: clamp(34px, 6vw, 78px); letter-spacing: -2px; max-width: 14ch; }
.abib-slider--skin-editorial .abib-slide__eyebrow { letter-spacing: 4px; }
.abib-slider--skin-editorial .abib-slide__text { font-size: clamp(16px, 1.6vw, 21px); }

/* Compact : un bandeau d'annonce sur une ligne, pas un diaporama d'accueil. */
.abib-slider--skin-compact { height: auto !important; }
.abib-slider--skin-compact .abib-slide { position: absolute; }
.abib-slider--skin-compact .abib-slide.is-active { position: relative; }
.abib-slider--skin-compact .abib-slide__body { padding: 14px 24px; }
.abib-slider--skin-compact .abib-slide__title { font-size: 17px; font-weight: 700; letter-spacing: 0; max-width: none; }
.abib-slider--skin-compact .abib-slide__text { margin-top: 2px; font-size: 13.5px; }
.abib-slider--skin-compact .abib-slide__actions { margin-top: 10px; }
.abib-slider--skin-compact .abib-slider__dots { bottom: 8px; }

/* Commandes */
.abib-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #111826;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease;
}

.abib-slider__arrow:hover { transform: scale(1.08); background: #fff; }
.abib-slider__arrow--prev { left: 18px; }
.abib-slider__arrow--next { right: 18px; }

.abib-slider__arrow span {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.abib-slider__arrow--prev span { transform: rotate(-135deg) translate(-2px, -2px); }
.abib-slider__arrow--next span { transform: rotate(45deg) translate(-2px, -2px); }

.abib-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.abib-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: width .22s ease, background-color .22s ease;
}

.abib-slider__dot.is-active { width: 26px; border-radius: 999px; background: #fff; }

/* Variantes de pastilles */
.abib-slider--dots-bars .abib-slider__dot { width: 30px; height: 4px; border-radius: 2px; }
.abib-slider--dots-bars .abib-slider__dot.is-active { width: 46px; }

.abib-slider--dots-numbers .abib-slider__dot {
  width: auto;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.abib-slider--dots-numbers .abib-slider__dot.is-active { background: #fff; color: #111826; }

/* Variantes de flèches */
.abib-slider--arrows-square .abib-slider__arrow { border-radius: var(--abib-radius-sm); }

.abib-slider--arrows-edge .abib-slider__arrow {
  top: 0;
  bottom: 0;
  height: auto;
  width: 62px;
  margin-top: 0;
  border-radius: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .28), transparent);
  color: #fff;
}

.abib-slider--arrows-edge .abib-slider__arrow--prev { left: 0; }
.abib-slider--arrows-edge .abib-slider__arrow--next { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .28), transparent); }
.abib-slider--arrows-edge .abib-slider__arrow:hover { transform: none; background-color: rgba(0, 0, 0, .18); }

.abib-slider--arrows-minimal .abib-slider__arrow { background: none; color: #fff; box-shadow: none; }
.abib-slider--arrows-minimal .abib-slider__arrow:hover { background: rgba(255, 255, 255, .18); }

/* Annonce vocale : lue par les lecteurs d'écran, invisible à l'écran. */
.abib-slider__live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.abib-slider__thumbs {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.abib-slider__thumb {
  width: 64px;
  height: 40px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, .3);
  cursor: pointer;
}

.abib-slider__thumb.is-active { border-color: #fff; }
.abib-slider__thumb img { width: 100%; height: 100%; object-fit: cover; }

.abib-slider__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 3px;
  background: rgba(255, 255, 255, .22);
}

.abib-slider__progress span {
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(0);
}

/* ===================================================================== */
/* Produits                                                               */
/* ===================================================================== */

.abib-products { position: relative; }

/* Ces deux composants portent la classe utilitaire abib-cols-N pour régler
   leur piste interne — mais ils ne doivent surtout pas devenir eux-mêmes
   une grille : leur enfant direct est la piste, pas les cartes. Sans cette
   remise à zéro, la piste est comprimée dans une seule colonne et les
   flèches occupent les autres. Le sélecteur composé passe devant la classe
   utilitaire quel que soit l'ordre des règles. */
.abib-products[class*="abib-cols-"],
.abib-quotes[class*="abib-cols-"] {
  display: block;
  gap: 0;
  grid-template-columns: none;
}

.abib-products__track,
.abib-quotes__track { min-width: 0; }

.abib-products--grid .abib-products__track,
.abib-products--list .abib-products__track { display: grid; gap: 20px; }

.abib-products--grid.abib-cols-2 .abib-products__track { grid-template-columns: repeat(2, 1fr); }
.abib-products--grid.abib-cols-3 .abib-products__track { grid-template-columns: repeat(3, 1fr); }
.abib-products--grid.abib-cols-4 .abib-products__track { grid-template-columns: repeat(4, 1fr); }
.abib-products--grid.abib-cols-5 .abib-products__track { grid-template-columns: repeat(5, 1fr); }
.abib-products--grid.abib-cols-6 .abib-products__track { grid-template-columns: repeat(6, 1fr); }
.abib-products--list .abib-products__track { grid-template-columns: 1fr; }

.abib-products--carousel .abib-products__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.abib-products--carousel .abib-products__track::-webkit-scrollbar { display: none; }
.abib-products--carousel .abib-product { scroll-snap-align: start; flex: 0 0 auto; width: calc((100% - 3 * 16px) / 4); }
.abib-products--carousel.abib-cols-2 .abib-product { width: calc((100% - 16px) / 2); }
.abib-products--carousel.abib-cols-3 .abib-product { width: calc((100% - 2 * 16px) / 3); }
.abib-products--carousel.abib-cols-5 .abib-product { width: calc((100% - 4 * 16px) / 5); }
.abib-products--carousel.abib-cols-6 .abib-product { width: calc((100% - 5 * 16px) / 6); }

.abib-product { display: flex; flex-direction: column; }
.abib-products--list .abib-product { flex-direction: row; gap: 16px; align-items: center; }

.abib-product__media { position: relative; display: block; background: rgba(0, 0, 0, .03); }
.abib-product__media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.abib-products--list .abib-product__media { width: 110px; flex: 0 0 auto; }

.abib-product__body { padding: 14px; flex: 1; }
.abib-product__brand { margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--abib-muted); }
.abib-product__name { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.abib-product__name a { color: inherit; text-decoration: none; }
.abib-product__name a:hover { color: var(--abib-accent); }
.abib-product__prices { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 0; }
.abib-product__price { font-size: 17px; font-weight: 700; color: var(--abib-accent); }
.abib-product__old { color: var(--abib-muted); font-size: 13px; }
.abib-product__stock { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: #16a34a; }
.abib-product__stock--out { color: #b45309; }

.abib-carousel__arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid var(--abib-border);
  border-radius: 50%;
  background: var(--abib-surface);
  cursor: pointer;
  transition: opacity .2s ease, transform .16s ease;
}

.abib-carousel__arrow:hover { transform: scale(1.08); }
.abib-carousel__arrow--prev { left: -18px; }
.abib-carousel__arrow--next { right: -18px; }

.abib-carousel__arrow span {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.abib-carousel__arrow--prev span { transform: rotate(-135deg) translate(-2px, -2px); }
.abib-carousel__arrow--next span { transform: rotate(45deg) translate(-2px, -2px); }

.is-start .abib-carousel__arrow--prev,
.is-end .abib-carousel__arrow--next,
.is-static .abib-carousel__arrow { opacity: 0; pointer-events: none; }

/* ===================================================================== */
/* Marques                                                                */
/* ===================================================================== */

.abib-brands { overflow: hidden; }
.abib-brands--grid .abib-brands__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.abib-brands--carousel .abib-brands__track { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.abib-brands--marquee .abib-brands__track { display: flex; gap: 40px; width: max-content; animation: abib-marquee 38s linear infinite; }
.abib-brands--marquee:hover .abib-brands__track { animation-play-state: paused; }

@keyframes abib-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.abib-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 66px;
  padding: 10px;
  border-radius: var(--abib-radius-sm);
  text-decoration: none;
  flex: 0 0 auto;
}

.abib-brands--grid .abib-brand { border: 1px solid var(--abib-border); }
.abib-brand img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.abib-brands--gray .abib-brand img { filter: grayscale(1); opacity: .68; transition: filter .2s ease, opacity .2s ease; }
.abib-brands--gray .abib-brand:hover img { filter: none; opacity: 1; }
.abib-brand__name { color: var(--abib-muted); font-weight: 600; font-size: 14px; }

/* ===================================================================== */
/* Catégories                                                             */
/* ===================================================================== */

.abib-cat { display: block; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.abib-cat:hover { transform: translateY(-4px); box-shadow: var(--abib-shadow); }
.abib-cat__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--abib-accent-soft); }
.abib-cat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.abib-cat__body { display: block; padding: 16px; }
.abib-cat__name { display: block; font-size: 16px; font-weight: 700; }
.abib-cat__count { display: block; margin-top: 3px; font-size: 12.5px; color: var(--abib-muted); }

.abib-cats--overlay .abib-cat { position: relative; }
.abib-cats--overlay .abib-cat__media { aspect-ratio: 4 / 5; }
.abib-cats--overlay .abib-cat__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .68), transparent 55%);
}
.abib-cats--overlay .abib-cat__body { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; }
.abib-cats--overlay .abib-cat__count { color: rgba(255, 255, 255, .82); }
.abib-cats--text .abib-cat { border: 0; background: none; }

/* ===================================================================== */
/* Réassurance, étapes, chiffres                                          */
/* ===================================================================== */

.abib-reassurance__item { display: flex; align-items: flex-start; gap: 14px; }
.abib-reassurance--card .abib-reassurance__item { padding: 20px; background: var(--abib-surface); border: 1px solid var(--abib-border); border-radius: var(--abib-radius); }
.abib-reassurance--divided .abib-reassurance__item { padding: 0 20px; border-left: 1px solid var(--abib-border); }
.abib-reassurance--divided .abib-reassurance__item:first-child { border-left: 0; padding-left: 0; }
.abib-reassurance__title { margin: 0; font-size: 15px; font-weight: 700; }
.abib-reassurance__text { margin: 4px 0 0; font-size: 13.5px; color: var(--abib-muted); line-height: 1.5; }

.abib-steps { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: abib; }
.abib-steps--horizontal { grid-auto-flow: column; grid-auto-columns: 1fr; }
.abib-step { position: relative; }
.abib-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--abib-accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.abib-steps--connected .abib-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 52px;
  right: -12px;
  height: 2px;
  background: var(--abib-border);
}
.abib-steps--vertical .abib-step { display: flex; gap: 16px; }
.abib-steps--vertical .abib-step__num { margin-bottom: 0; flex: 0 0 auto; }
.abib-steps--vertical.abib-steps--connected .abib-step:not(:last-child)::after {
  top: 50px; left: 21px; right: auto; bottom: -24px; width: 2px; height: auto;
}
.abib-step__title { margin: 0; font-size: 16px; font-weight: 700; }
.abib-step__text { margin: 5px 0 0; font-size: 14px; color: var(--abib-muted); line-height: 1.55; }

.abib-counter__value { margin: 0; font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1; color: var(--abib-accent); }
.abib-counter__value em { font-style: normal; font-size: .6em; }
.abib-counter__label { margin: 8px 0 0; font-size: 14px; color: var(--abib-muted); }

/* ===================================================================== */
/* FAQ, témoignages, services, cartes, onglets                            */
/* ===================================================================== */

.abib-faq__item { border-bottom: 1px solid var(--abib-border); }
.abib-faq__q { margin: 0; }
.abib-faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.abib-faq__chevron {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.abib-faq__btn[aria-expanded="true"] .abib-faq__chevron { transform: rotate(-135deg); }
.abib-faq__a { padding: 0 0 18px; color: var(--abib-muted); }
.abib-faq__a[hidden] { display: none; }

.abib-quotes--grid .abib-quotes__track { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.abib-quotes--grid.abib-cols-1 .abib-quotes__track { grid-template-columns: 1fr; }
.abib-quotes--grid.abib-cols-2 .abib-quotes__track { grid-template-columns: repeat(2, 1fr); }
.abib-quotes--carousel .abib-quotes__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.abib-quotes--carousel .abib-quote { flex: 0 0 auto; width: calc((100% - 40px) / 3); scroll-snap-align: start; }

.abib-quote { margin: 0; padding: 24px; }
.abib-quote__stars { margin: 0 0 10px; color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.abib-quote__text { margin: 0; font-size: 15.5px; line-height: 1.6; font-style: italic; }
.abib-quote__author { margin-top: 14px; font-size: 13.5px; }
.abib-quote__author span { display: block; color: var(--abib-muted); }

.abib-service { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.abib-service:hover { transform: translateY(-4px); box-shadow: var(--abib-shadow); }
.abib-service__title { font-size: 17px; font-weight: 700; }
.abib-service__text { font-size: 14px; color: var(--abib-muted); line-height: 1.55; }
.abib-service__more { color: var(--abib-accent); font-weight: 700; }
.abib-services--overlay .abib-service { background: var(--abib-accent); color: #fff; border-color: transparent; }
.abib-services--overlay .abib-service__text { color: rgba(255, 255, 255, .85); }
.abib-services--overlay .abib-icon { background: rgba(255, 255, 255, .2); }
.abib-services--overlay .abib-service__more { color: #fff; }
.abib-services--list .abib-service { flex-direction: row; align-items: center; border: 0; background: none; padding: 12px 0; }

.abib-freecard { display: flex; flex-direction: column; }
.abib-freecard__media { background: var(--abib-accent-soft); }
.abib-freecard__body { padding: 20px; }
.abib-freecard__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.abib-freecard__text { margin: 0 0 14px; font-size: 14px; color: var(--abib-muted); line-height: 1.55; }
.abib-cards--flat .abib-freecard { border: 0; background: none; }
.abib-cards--shadow .abib-freecard { border-color: transparent; box-shadow: var(--abib-shadow); }

.abib-tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.abib-tabs__btn { padding: 10px 18px; border: 1px solid var(--abib-border); border-radius: var(--abib-btn-radius); background: none; color: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.abib-tabs__btn.is-active { background: var(--abib-accent); border-color: var(--abib-accent); color: #fff; }
.abib-tabs--underline .abib-tabs__btn { border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.abib-tabs--underline .abib-tabs__btn.is-active { background: none; color: var(--abib-accent); border-bottom-color: var(--abib-accent); }
.abib-tabs--boxed .abib-tabs__btn { border-radius: var(--abib-radius-sm); }
.abib-tabs__pane[hidden] { display: none; }

/* ===================================================================== */
/* Bannière, appel à l'action, média, compte à rebours                    */
/* ===================================================================== */

.abib-banner { display: flex; align-items: center; padding: 40px; border-radius: var(--abib-radius); }
.abib-banner--center { justify-content: center; text-align: center; }
.abib-banner--right { justify-content: flex-end; text-align: right; }

.abib-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 34px; border-radius: var(--abib-radius); text-align: center; }
.abib-cta--split { justify-content: space-between; text-align: left; }
.abib-cta--solid { background: var(--abib-accent-soft); }
.abib-cta--outline { border: 1.5px solid var(--abib-border); }
.abib-cta__title { margin: 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; }
.abib-cta__text { margin: 6px 0 0; color: var(--abib-muted); }

.abib-media img, .abib-media video { max-width: 100%; height: auto; display: block; }
.abib-video { cursor: pointer; background: #000; }
.abib-video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.abib-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--abib-accent);
  font-size: 24px;
  cursor: pointer;
  transition: transform .2s ease;
}
.abib-video__play:hover { transform: translate(-50%, -50%) scale(1.08); }

.abib-gallery { display: grid; gap: 14px; }
.abib-gallery__item { display: block; }

.abib-countdown__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.abib-countdown__cell { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 16px 12px; background: var(--abib-surface); border: 1px solid var(--abib-border); border-radius: var(--abib-radius-sm); }
.abib-countdown__cell b { font-size: 32px; font-weight: 800; line-height: 1; color: var(--abib-accent); font-variant-numeric: tabular-nums; }
.abib-countdown__cell em { margin-top: 5px; font-style: normal; font-size: 12px; color: var(--abib-muted); }

/* ===================================================================== */
/* HABILLAGES                                                             */
/* Ils redéfinissent la mise en page, pas seulement les couleurs.         */
/* ===================================================================== */

/* --- Vitrine : titres larges, cartes sans cadre, images plein cadre --- */
.abib-skin-showcase .abib-head { margin-bottom: 48px; }
.abib-skin-showcase .abib-head__title { line-height: 1.02; }
.abib-skin-showcase .abib-card { border: 0; background: none; }
.abib-skin-showcase .abib-product__media { background: rgba(0, 0, 0, .04); border-radius: var(--abib-radius); }
.abib-skin-showcase .abib-product__body { padding: 16px 4px 0; text-align: center; }
.abib-skin-showcase .abib-product__name { font-size: 16px; font-weight: 500; }
.abib-skin-showcase .abib-product__prices { justify-content: center; }
.abib-skin-showcase .abib-cols-3 { gap: 40px; }
.abib-skin-showcase .abib-cat__media { aspect-ratio: 4 / 5; }
.abib-skin-showcase .abib-cat__name { font-size: 20px; }

/* --- Enseigne : dense, cartes compactes, prix en avant --- */
.abib-skin-retail .abib-head { margin-bottom: 18px; }
.abib-skin-retail .abib-head__title { font-size: 24px; }
.abib-skin-retail .abib-cols-2, .abib-skin-retail .abib-cols-3,
.abib-skin-retail .abib-cols-4, .abib-skin-retail .abib-cols-5,
.abib-skin-retail .abib-cols-6 { gap: 10px; }
.abib-skin-retail .abib-product__body { padding: 10px; }
.abib-skin-retail .abib-product__name { font-size: 13px; line-height: 1.3; }
.abib-skin-retail .abib-product__price { font-size: 19px; color: #e11d48; }
.abib-skin-retail .abib-product__stock { font-size: 11px; }
.abib-skin-retail .abib-cat__body { padding: 10px; }
.abib-skin-retail .abib-cat__name { font-size: 13.5px; }
.abib-skin-retail .abib-cat__media { aspect-ratio: 1 / 1; }
.abib-skin-retail .abib-reassurance__title { font-size: 13.5px; }
.abib-skin-retail .abib-reassurance__text { font-size: 12px; }
.abib-skin-retail .abib-icon { width: 34px; height: 34px; }

/* --- Tech sombre : surfaces profondes, liserés lumineux, angles nets --- */
.abib-skin-dark { background: #0b1220; }
.abib-skin-dark .abib-card { background: var(--abib-surface); border-color: var(--abib-border); }
.abib-skin-dark .abib-product__media { background: #0d1626; }
.abib-skin-dark .abib-card:hover { border-color: var(--abib-accent); box-shadow: 0 0 0 1px var(--abib-accent), 0 0 30px -10px var(--abib-accent); }
.abib-skin-dark .abib-head__title { text-transform: none; }
.abib-skin-dark .abib-head__eyebrow { letter-spacing: 3px; }
.abib-skin-dark .abib-icon { background: rgba(56, 189, 248, .14); }
.abib-skin-dark .abib-btn--primary { color: #04121f; }
.abib-skin-dark .abib-counter__value { text-shadow: 0 0 26px rgba(56, 189, 248, .45); }
.abib-skin-dark .abib-faq__item { border-color: var(--abib-border); }

/* --- Verre : panneaux translucides et flous --- */
.abib-skin-glass .abib-card,
.abib-skin-glass .abib-cta--solid,
.abib-skin-glass .abib-countdown__cell {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 8px 32px rgba(31, 38, 135, .12);
}
.abib-skin-glass .abib-section--bg-gradient { background-attachment: fixed; }
.abib-skin-glass .abib-service:hover { background: rgba(255, 255, 255, .78); }

/* --- Relief doux : ombres en creux et en relief --- */
.abib-skin-soft .abib-card {
  border: 0;
  background: var(--abib-surface);
  box-shadow: 8px 8px 20px rgba(174, 184, 199, .45), -8px -8px 20px rgba(255, 255, 255, .9);
}
.abib-skin-soft .abib-card:hover { box-shadow: 4px 4px 12px rgba(174, 184, 199, .5), -4px -4px 12px rgba(255, 255, 255, .95); }
.abib-skin-soft .abib-btn--primary { box-shadow: 6px 6px 14px rgba(174, 184, 199, .5), -6px -6px 14px rgba(255, 255, 255, .8); }
.abib-skin-soft .abib-icon { box-shadow: inset 3px 3px 8px rgba(174, 184, 199, .45), inset -3px -3px 8px rgba(255, 255, 255, .9); background: var(--abib-surface); }
.abib-skin-soft .abib-countdown__cell { border: 0; box-shadow: inset 4px 4px 10px rgba(174, 184, 199, .4), inset -4px -4px 10px rgba(255, 255, 255, .9); }

/* --- Éditorial : filets fins, colonnes larges, aucun relief --- */
.abib-skin-editorial .abib-card { border-radius: 0; box-shadow: none; }
.abib-skin-editorial .abib-head { border-bottom: 1px solid var(--abib-border); padding-bottom: 14px; }
.abib-skin-editorial .abib-head__title { font-weight: 600; }
.abib-skin-editorial .abib-product__body { padding: 12px 0 0; }
.abib-skin-editorial .abib-card { border-left: 0; border-right: 0; border-top: 0; }

/* --- Luxe : lettrage espacé, angles droits, contrastes minimes --- */
.abib-skin-luxe .abib-head { text-align: center; }
.abib-skin-luxe .abib-head__title { font-weight: 400; letter-spacing: 3px; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 30px); }
.abib-skin-luxe .abib-head__eyebrow { letter-spacing: 4px; font-weight: 500; }
.abib-skin-luxe .abib-card { border-radius: 0; border-color: var(--abib-border); }
.abib-skin-luxe .abib-product__body { padding: 18px; text-align: center; }
.abib-skin-luxe .abib-product__name { font-weight: 400; letter-spacing: .6px; }
.abib-skin-luxe .abib-product__price { font-weight: 500; }
.abib-skin-luxe .abib-btn { letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; font-weight: 500; }
.abib-skin-luxe .abib-cat__name { font-weight: 400; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }

/* ===================================================================== */
/* Adaptations mobiles                                                    */
/* ===================================================================== */

@media (max-width: 1199.98px) {
  .abib-cols-5, .abib-cols-6 { grid-template-columns: repeat(3, 1fr); }
  .abib-products--grid.abib-cols-5 .abib-products__track,
  .abib-products--grid.abib-cols-6 .abib-products__track { grid-template-columns: repeat(3, 1fr); }
  .abib-products--carousel .abib-product { width: calc((100% - 2 * 16px) / 3) !important; }
  .abib-carousel__arrow--prev { left: 4px; }
  .abib-carousel__arrow--next { right: 4px; }
}

@media (max-width: 767.98px) {
  .abib-page { --abib-rhythm: 40px; --abib-title-size: 26px; }

  .abib-cols-2, .abib-cols-3, .abib-cols-4, .abib-cols-5, .abib-cols-6 { grid-template-columns: repeat(2, 1fr); }
  .abib-products--grid .abib-products__track { grid-template-columns: repeat(2, 1fr) !important; }
  .abib-products--carousel .abib-product { width: 62% !important; }
  .abib-quotes--carousel .abib-quote { width: 84%; }
  .abib-quotes--grid .abib-quotes__track { grid-template-columns: 1fr; }

  .abib-slider--h-large, .abib-slider--h-full { height: 66vh; min-height: 380px; }
  .abib-slide__body { padding: 0 20px; }
  .abib-slide__actions .abib-btn { flex: 1 1 auto; }
  .abib-slider__thumbs { display: none; }

  /* Sur mobile, panneau et produits s'empilent : côte à côte, les deux
     deviendraient illisibles. La hauteur passe en automatique pour que
     rien ne soit rogné. */
  .abib-slider--skin-retail,
  .abib-slider--skin-split { height: auto !important; }
  .abib-slider--skin-retail .abib-slide,
  .abib-slider--skin-split .abib-slide { position: absolute; }
  .abib-slider--skin-retail .abib-slide.is-active,
  .abib-slider--skin-split .abib-slide.is-active { position: relative; }

  .abib-slide__retail { grid-template-columns: 1fr; gap: 16px; padding: 20px; direction: ltr !important; }
  .abib-slide__panel { padding: 20px; }
  .abib-slide__products { grid-template-columns: repeat(2, 1fr); }

  .abib-slide__feature { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; direction: ltr !important; }
  .abib-slide__shot { order: -1; }
  .abib-slide__shot img { max-height: 200px; }

  .abib-slider--skin-split .abib-slide { grid-template-columns: 1fr; }
  .abib-slider--skin-split .abib-slide__media,
  .abib-slider--skin-split .abib-slide__body { grid-column: 1 !important; }
  .abib-slider--skin-split .abib-slide__media { height: 220px; }
  .abib-slider--skin-split .abib-slide__body { padding: 24px 20px; }

  /* Certains calques n'ont pas de sens sur un écran étroit : une pastille
     placée dans un coin y chevaucherait le titre. */
  .abib-layer--nomobile { display: none !important; }
  .abib-layer { max-width: 92%; }

  .abib-steps--horizontal { grid-auto-flow: row; }
  .abib-steps--connected .abib-step::after { display: none; }
  .abib-reassurance--divided .abib-reassurance__item { border-left: 0; padding: 0; }
  .abib-rich--2col { column-count: 1; }
  .abib-cta { flex-direction: column; text-align: center; }
  .abib-cta--split { text-align: center; }
  .abib-banner { padding: 24px; }
}

@media (max-width: 479.98px) {
  .abib-cols-3, .abib-cols-4, .abib-cols-5, .abib-cols-6 { grid-template-columns: 1fr; }
  .abib-reassurance { grid-template-columns: 1fr; }
}

/* ===================================================================== */
/* Accessibilité                                                          */
/* ===================================================================== */

.abib-page a:focus-visible,
.abib-page button:focus-visible {
  outline: 3px solid var(--abib-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .abib-page *,
  .abib-page *::before,
  .abib-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .abib-reveal { opacity: 1; transform: none; }
  .abib-brands--marquee .abib-brands__track { animation: none; }
}

@media print {
  .abib-slider__arrow, .abib-slider__dots, .abib-carousel__arrow { display: none; }
}
