/* ==========================================================
   Simphonie — Reassurance Experience
========================================================== */

#footer .sc-footer__reassurance {
  color: var(--sc-color-ink);
  background: var(--sc-color-white);
  border-bottom: 1px solid rgb(var(--sc-rgb-ink) / 0.1);
}

#footer .sc-footer__reassurance-inner {
  padding-block: clamp(28px, 3.4vw, 52px);
}

#footer .sc-reassurance,
#footer .sc-footer__reassurance #block-reassurance,
#footer .sc-footer__reassurance .blockreassurance {
  width: 100%;
  margin: 0;
  padding: 0;
}

#footer .sc-reassurance__list,
#footer .sc-footer__reassurance #block-reassurance > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .sc-reassurance__item,
#footer .sc-footer__reassurance #block-reassurance > ul > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 clamp(22px, 2.4vw, 46px);
  list-style: none;
}

#footer .sc-reassurance__item:first-child,
#footer .sc-footer__reassurance #block-reassurance > ul > li:first-child {
  padding-left: 0;
}

#footer .sc-reassurance__item:last-child,
#footer .sc-footer__reassurance #block-reassurance > ul > li:last-child {
  padding-right: 0;
}

#footer .sc-reassurance__item:not(:first-child)::before,
#footer .sc-footer__reassurance #block-reassurance > ul > li:not(:first-child)::before {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 1px;
  content: "";
  background: rgb(var(--sc-rgb-ink) / 0.1);
}

#footer .sc-reassurance__content,
#footer .sc-footer__reassurance .block-reassurance-item {
  display: flex;
  gap: clamp(14px, 1.4vw, 22px);
  align-items: center;
  min-height: 78px;
  color: var(--sc-color-ink);
  text-decoration: none;
  background: transparent;
  border: 0;
}

#footer .sc-reassurance__content--link {
  cursor: pointer;
}

#footer .sc-reassurance__icon,
#footer .sc-footer__reassurance .block-reassurance-item > img {
  display: grid;
  flex: 0 0 auto;
  width: clamp(42px, 3.1vw, 54px);
  height: clamp(42px, 3.1vw, 54px);
  place-items: center;
  margin: 0;
  padding: 10px;
  background: var(--sc-color-nude-soft);
  border: 1px solid rgb(var(--sc-rgb-ink) / 0.08);
  border-radius: var(--sc-radius-round);
}

#footer .sc-reassurance__icon img,
#footer .sc-footer__reassurance .block-reassurance-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#footer .sc-reassurance__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#footer .sc-reassurance__title {
  display: block;
  color: var(--sc-color-ink);
  font-size: 12px;
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#footer .sc-reassurance__description {
  display: block;
  margin-top: 5px;
  color: var(--sc-color-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

#footer .sc-reassurance__description p {
  margin: 0;
}

#footer .sc-reassurance__text,
#footer .sc-footer__reassurance .block-reassurance-item > span {
  color: var(--sc-color-ink);
  font-size: 12px;
  font-weight: var(--sc-font-weight-strong);
  line-height: 1.55;
  letter-spacing: 0.045em;
}

#footer .sc-reassurance__content--link {
  transition:
    color var(--sc-transition-fast),
    transform var(--sc-transition-fast);
}

#footer .sc-reassurance__content--link:hover {
  color: var(--sc-color-rose-deep);
  transform: translateY(-2px);
}

#footer .sc-reassurance__content--link:hover .sc-reassurance__title,
#footer .sc-reassurance__content--link:hover .sc-reassurance__text {
  color: var(--sc-color-rose-deep);
}

#footer .sc-reassurance__content--link:focus-visible {
  outline: 2px solid var(--sc-color-rose-deep);
  outline-offset: 6px;
  border-radius: 10px;
}

/* Compatibility with the module's legacy footer template. */

#footer .sc-footer__reassurance .blockreassurance > .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
}

#footer .sc-footer__reassurance .blockreassurance > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 clamp(22px, 2.4vw, 46px);
  flex: none;
  text-align: left;
}

#footer .sc-footer__reassurance .blockreassurance .block-icon {
  margin: 0 0 14px;
}

#footer .sc-footer__reassurance .blockreassurance .block-title {
  margin: 0;
  color: var(--sc-color-ink) !important;
  font-size: 12px;
  font-weight: var(--sc-font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#footer .sc-footer__reassurance .blockreassurance p {
  margin: 6px 0 0;
  color: var(--sc-color-text-muted) !important;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  #footer .sc-reassurance__list,
  #footer .sc-footer__reassurance #block-reassurance > ul,
  #footer .sc-footer__reassurance .blockreassurance > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #footer .sc-reassurance__item,
  #footer .sc-footer__reassurance #block-reassurance > ul > li,
  #footer .sc-footer__reassurance .blockreassurance > .row > [class*="col-"] {
    padding: 24px clamp(18px, 3vw, 34px);
  }

  #footer .sc-reassurance__item:first-child,
  #footer .sc-footer__reassurance #block-reassurance > ul > li:first-child {
    padding-left: clamp(18px, 3vw, 34px);
  }

  #footer .sc-reassurance__item:last-child,
  #footer .sc-footer__reassurance #block-reassurance > ul > li:last-child {
    padding-right: clamp(18px, 3vw, 34px);
  }

  #footer .sc-reassurance__item:nth-child(odd)::before,
  #footer .sc-footer__reassurance #block-reassurance > ul > li:nth-child(odd)::before {
    display: none;
  }

  #footer .sc-reassurance__item:nth-child(n + 3),
  #footer .sc-footer__reassurance #block-reassurance > ul > li:nth-child(n + 3) {
    border-top: 1px solid rgb(var(--sc-rgb-ink) / 0.1);
  }
}

@media (max-width: 560px) {
  #footer .sc-footer__reassurance-inner {
    padding-block: 12px;
  }

  #footer .sc-reassurance__list,
  #footer .sc-footer__reassurance #block-reassurance > ul,
  #footer .sc-footer__reassurance .blockreassurance > .row {
    grid-template-columns: 1fr;
  }

  #footer .sc-reassurance__item,
  #footer .sc-footer__reassurance #block-reassurance > ul > li,
  #footer .sc-footer__reassurance .blockreassurance > .row > [class*="col-"] {
    padding: 22px 0;
  }

  #footer .sc-reassurance__item:first-child,
  #footer .sc-footer__reassurance #block-reassurance > ul > li:first-child {
    padding-left: 0;
  }

  #footer .sc-reassurance__item:last-child,
  #footer .sc-footer__reassurance #block-reassurance > ul > li:last-child {
    padding-right: 0;
  }

  #footer .sc-reassurance__item:not(:first-child),
  #footer .sc-footer__reassurance #block-reassurance > ul > li:not(:first-child),
  #footer .sc-footer__reassurance .blockreassurance > .row > [class*="col-"]:not(:first-child) {
    border-top: 1px solid rgb(var(--sc-rgb-ink) / 0.1);
  }

  #footer .sc-reassurance__item::before,
  #footer .sc-footer__reassurance #block-reassurance > ul > li::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #footer .sc-reassurance__content--link {
    transition: none;
  }

  #footer .sc-reassurance__content--link:hover {
    transform: none;
  }
}

/* ==========================================================
   Simphonie — Reassurance editorial strip (2026-07)
========================================================== */

/* Version éditoriale : quatre engagements répartis sur la largeur. */

#footer .sc-footer__reassurance-inner {
  width: min(96vw, var(--sc-container-max));
  padding-block: clamp(46px, 5vw, 88px);
}

#footer .sc-reassurance__list,
#footer .sc-footer__reassurance #block-reassurance > ul {
  align-items: stretch;
}

#footer .sc-reassurance__item,
#footer .sc-footer__reassurance #block-reassurance > ul > li {
  display: flex;
  justify-content: center;
  padding-inline: clamp(20px, 2.6vw, 52px);
  text-align: center;
}

#footer .sc-reassurance__item:not(:first-child)::before,
#footer .sc-footer__reassurance #block-reassurance > ul > li:not(:first-child)::before {
  top: 8%;
  bottom: 8%;
  background: rgb(var(--sc-rgb-ink) / 0.08);
}

#footer .sc-reassurance__content,
#footer .sc-footer__reassurance .block-reassurance-item {
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 26px);
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: clamp(250px, 18vw, 330px);
  text-align: center;
}

#footer .sc-reassurance__icon,
#footer .sc-footer__reassurance .block-reassurance-item > img {
  width: clamp(132px, 10vw, 194px);
  height: clamp(116px, 8.7vw, 168px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

#footer .sc-reassurance__icon img,
#footer .sc-footer__reassurance .block-reassurance-item > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#footer .sc-reassurance__copy {
  align-items: center;
  width: 100%;
}

#footer .sc-reassurance__title {
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.35;
  letter-spacing: 0.045em;
}

#footer .sc-reassurance__description {
  max-width: 340px;
  margin-top: 14px;
  color: var(--sc-color-text-muted);
  font-size: clamp(12px, 0.78vw, 14px);
  font-style: italic;
  line-height: 1.55;
}

#footer .sc-reassurance__description p {
  margin: 0;
}

#footer .sc-reassurance__content--link:hover {
  transform: translateY(-4px);
}

#footer .sc-reassurance__content--link:hover .sc-reassurance__icon {
  transform: scale(1.025);
}

#footer .sc-reassurance__icon {
  transition: transform var(--sc-transition-fast);
}

/* Commande et confirmation : version miniature. */

body#checkout #footer .sc-footer__reassurance-inner,
body#order-confirmation #footer .sc-footer__reassurance-inner {
  width: var(--sc-container);
  padding-block: 18px;
}

body#checkout #footer .sc-reassurance__item,
body#order-confirmation #footer .sc-reassurance__item {
  padding: 10px clamp(10px, 1.4vw, 24px);
  text-align: left;
}

body#checkout #footer .sc-reassurance__content,
body#order-confirmation #footer .sc-reassurance__content {
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  min-height: 58px;
  text-align: left;
}

body#checkout #footer .sc-reassurance__icon,
body#order-confirmation #footer .sc-reassurance__icon {
  width: 48px;
  height: 44px;
}

body#checkout #footer .sc-reassurance__copy,
body#order-confirmation #footer .sc-reassurance__copy {
  align-items: flex-start;
}

body#checkout #footer .sc-reassurance__title,
body#order-confirmation #footer .sc-reassurance__title {
  font-size: 10px;
  letter-spacing: 0.055em;
}

body#checkout #footer .sc-reassurance__description,
body#order-confirmation #footer .sc-reassurance__description {
  display: none;
}

/* Bloc compact affiché à proximité du panier et du paiement. */

body#cart .blockreassurance_product,
body#checkout .blockreassurance_product,
body#order-confirmation .blockreassurance_product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 8px;
  overflow: hidden;
  background: var(--sc-color-white);
  border: 1px solid rgb(var(--sc-rgb-ink) / 0.1);
  box-shadow: 0 14px 38px rgb(var(--sc-rgb-ink) / 0.055);
}

body#cart .blockreassurance_product > div:not(.clearfix),
body#checkout .blockreassurance_product > div:not(.clearfix),
body#order-confirmation .blockreassurance_product > div:not(.clearfix) {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  cursor: default;
  border-bottom: 1px solid rgb(var(--sc-rgb-ink) / 0.08);
}

body#cart .blockreassurance_product > div:nth-child(odd),
body#checkout .blockreassurance_product > div:nth-child(odd),
body#order-confirmation .blockreassurance_product > div:nth-child(odd) {
  border-right: 1px solid rgb(var(--sc-rgb-ink) / 0.08);
}

body#cart .blockreassurance_product > div:nth-last-child(-n + 3),
body#checkout .blockreassurance_product > div:nth-last-child(-n + 3),
body#order-confirmation .blockreassurance_product > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

body#cart .blockreassurance_product .item-product,
body#checkout .blockreassurance_product .item-product,
body#order-confirmation .blockreassurance_product .item-product {
  display: block;
  float: none;
  width: 42px;
  height: 38px;
  margin: 0;
  padding: 0;
}

body#cart .blockreassurance_product .item-product img,
body#checkout .blockreassurance_product .item-product img,
body#order-confirmation .blockreassurance_product .item-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body#cart .blockreassurance_product .block-title,
body#checkout .blockreassurance_product .block-title,
body#order-confirmation .blockreassurance_product .block-title {
  display: block;
  margin: 0;
  color: var(--sc-color-ink) !important;
  font-size: 9px;
  font-weight: var(--sc-font-weight-bold);
  line-height: 1.35 !important;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

body#cart .blockreassurance_product p:not(.block-title),
body#checkout .blockreassurance_product p:not(.block-title),
body#order-confirmation .blockreassurance_product p:not(.block-title),
body#cart .blockreassurance_product .clearfix,
body#checkout .blockreassurance_product .clearfix,
body#order-confirmation .blockreassurance_product .clearfix {
  display: none;
}

@media (max-width: 980px) {
  #footer .sc-reassurance__list,
  #footer .sc-footer__reassurance #block-reassurance > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #footer .sc-reassurance__item,
  #footer .sc-footer__reassurance #block-reassurance > ul > li {
    padding: 34px clamp(18px, 4vw, 46px);
  }

  #footer .sc-reassurance__item:nth-child(odd)::before,
  #footer .sc-footer__reassurance #block-reassurance > ul > li:nth-child(odd)::before {
    display: none;
  }

  #footer .sc-reassurance__item:nth-child(n + 3),
  #footer .sc-footer__reassurance #block-reassurance > ul > li:nth-child(n + 3) {
    border-top: 1px solid rgb(var(--sc-rgb-ink) / 0.08);
  }

  #footer .sc-reassurance__content {
    min-height: 245px;
  }

  #footer .sc-reassurance__icon {
    width: 132px;
    height: 114px;
  }

  body#checkout #footer .sc-reassurance__list,
  body#order-confirmation #footer .sc-reassurance__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body#checkout #footer .sc-reassurance__item,
  body#order-confirmation #footer .sc-reassurance__item {
    padding: 10px;
    border-top: 0;
  }

  body#checkout #footer .sc-reassurance__item:nth-child(odd)::before,
  body#order-confirmation #footer .sc-reassurance__item:nth-child(odd)::before {
    display: block;
  }

  body#checkout #footer .sc-reassurance__item:first-child::before,
  body#order-confirmation #footer .sc-reassurance__item:first-child::before {
    display: none;
  }
}

@media (max-width: 640px) {
  #footer .sc-footer__reassurance-inner {
    padding-block: 20px;
  }

  #footer .sc-reassurance__list,
  #footer .sc-footer__reassurance #block-reassurance > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #footer .sc-reassurance__item,
  #footer .sc-footer__reassurance #block-reassurance > ul > li {
    padding: 24px 10px;
  }

  #footer .sc-reassurance__content {
    gap: 12px;
    min-height: 196px;
  }

  #footer .sc-reassurance__icon {
    width: 96px;
    height: 82px;
  }

  #footer .sc-reassurance__title {
    font-size: 10px;
    letter-spacing: 0.035em;
  }

  #footer .sc-reassurance__description {
    max-width: 170px;
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.45;
  }

  body#checkout #footer .sc-reassurance__list,
  body#order-confirmation #footer .sc-reassurance__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#checkout #footer .sc-reassurance__item,
  body#order-confirmation #footer .sc-reassurance__item {
    padding: 10px 8px;
  }

  body#checkout #footer .sc-reassurance__item:nth-child(3),
  body#checkout #footer .sc-reassurance__item:nth-child(4),
  body#order-confirmation #footer .sc-reassurance__item:nth-child(3),
  body#order-confirmation #footer .sc-reassurance__item:nth-child(4) {
    border-top: 1px solid rgb(var(--sc-rgb-ink) / 0.08);
  }

  body#checkout #footer .sc-reassurance__item:nth-child(3)::before,
  body#order-confirmation #footer .sc-reassurance__item:nth-child(3)::before {
    display: none;
  }

  body#checkout #footer .sc-reassurance__content,
  body#order-confirmation #footer .sc-reassurance__content {
    min-height: 52px;
  }

  body#cart .blockreassurance_product,
  body#checkout .blockreassurance_product,
  body#order-confirmation .blockreassurance_product {
    grid-template-columns: 1fr;
  }

  body#cart .blockreassurance_product > div:not(.clearfix),
  body#checkout .blockreassurance_product > div:not(.clearfix),
  body#order-confirmation .blockreassurance_product > div:not(.clearfix) {
    border-right: 0;
    border-bottom: 1px solid rgb(var(--sc-rgb-ink) / 0.08);
  }

  body#cart .blockreassurance_product > div:nth-last-child(2),
  body#checkout .blockreassurance_product > div:nth-last-child(2),
  body#order-confirmation .blockreassurance_product > div:nth-last-child(2) {
    border-bottom: 0;
  }
}

/* Simphonie Cils : supprimer uniquement le padding du conteneur de réassurance. */
#footer .sc-footer__reassurance-inner {
  padding: 0;
}
