/* ============================================================
   AVENUE BELMONT — SECTION GARANTIE (composant partagé)
   Utilisée sur la home ET sous les archives produits.
   ============================================================ */

.ab-garantie {
  background: #C7C7C7;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.ab-garantie__inner {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  padding-right: 420px;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.ab-garantie__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.ab-garantie__title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  color: #000;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ab-garantie__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
  max-width: 380px;
}

/* Bouton secondaire sur le fond gris de la garantie */
.ab-garantie .btn--secondary {
  border-color: #000;
  color: #000;
}
.ab-garantie .btn--secondary:hover { background: #000; color: white; }

/* Image droite — épouse le haut de la section */
.ab-garantie__img-wrap {
  position: absolute;
  top: 0;
  right: clamp(2rem, 6vw, 7rem);
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.ab-garantie__img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: top;
}

@media (max-width: 768px) {
  .ab-garantie__img-wrap { display: none; }
  .ab-garantie__inner {
    padding-right: clamp(2rem, 6vw, 7rem); /* plus de réserve de 420px pour l'image */
    padding-block: 2rem;
    align-items: flex-start;
  }
  .ab-garantie__content { gap: 0.85rem; align-items: flex-start; }
  .ab-garantie__title { font-size: 22px; white-space: normal; }
  .ab-garantie__text { font-size: 15px; }
}
