/* Styles conservés ; les moyens de paiement sont définis dans paiements.css. */

.home-bottom {
  overflow-x: clip;
}

.home-bottom img,
.home-bottom svg {
  max-width: 100%;
}

.home-bottom button,
.home-bottom a {
  touch-action: manipulation;
}

.sr-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px;
}

.sr-head {
  text-align: center;
  margin-bottom: 24px;
}

.sr-head h2 {
  font-size: 32px;
  letter-spacing: -.8px;
  margin: 0 0 7px;
  color: #0b2d58;
}

.sr-head h2 em {
  font-style: normal;
  color: var(--orange);
}

.sr-head p {
  margin: 0;
  color: #6d8095;
  font-size: 13px;
}

.sr-payments {
  padding: 26px 0;
}

.sr-reviews {
  padding: 30px 0;
}

.sr-reviews-head {
  margin-bottom: 16px;
}

.sr-reviews-head h2 {
  font-size: 29px;
  margin: 0;
  color: #0b2d58;
}

.sr-reviews-head h2 em {
  font-style: normal;
  color: var(--orange);
}

.sr-reviews-head p {
  font-size: 10px;
  color: #60768a;
  margin: 6px 0 0;
}

.sr-review {
  border: 1px solid #dfe8ef;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(21,77,121,.07);
  min-height: 130px;
}

.sr-review-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sr-review img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.sr-review b {
  font-size: 10px;
}

.sr-stars {
  color: #ffac00;
  letter-spacing: 1px;
}

.sr-review p {
  font-size: 9.8px;
  line-height: 1.45;
  color: #536c81;
}

.sr-final {
  max-width: 1240px;
  margin: 0 auto 45px;
  background: linear-gradient(90deg,#0c58a0,#073d76);
  border-radius: 15px;
  min-height: 190px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  padding: 24px 42px;
  overflow: visible;
  position: relative;
}

.sr-final h2 {
  font-size: 27px;
  margin: 0 0 8px;
}

.sr-final h2 em {
  font-style: normal;
  color: #ff9a00;
}

.sr-final p {
  font-size: 12px;
  color: #dbeaff;
  margin: 0 0 20px;
}

.sr-final img {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 245px;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.25));
}

.sr-pro {
  max-width: 1240px;
  margin: 0 auto 52px;
}

.sr-pro-shell {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(125deg,#063a70 0%,#0a579c 58%,#0d66ad 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 390px;
  box-shadow: 0 20px 45px rgba(8,61,112,.18);
}

.sr-pro-copy {
  padding: 40px;
}

.sr-pro-kicker {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 9px;
  font-weight: 900;
}

.sr-pro h2 {
  font-size: 30px;
  margin: 12px 0 10px;
}

.sr-pro p {
  font-size: 12px;
  line-height: 1.6;
  color: #d9eafb;
}

.sr-pro-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.sr-pro-item {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  padding: 13px;
}

.sr-pro-item b {
  display: block;
  font-size: 12px;
}

.sr-pro-item small {
  display: block;
  color: #d8e9f7;
  font-size: 9px;
  margin-top: 4px;
  line-height: 1.45;
}

.sr-pro-photo {
  min-height: 390px;
  position: relative;
}

.sr-pro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-pro-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(8,70,125,.25),transparent 45%);
}

.sr-artisan-join {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 0 28px 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  color: #0b3f77;
  box-shadow: 0 10px 28px rgba(3,31,62,.22);
}

.sr-artisan-join-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf6ff;
  color: #0b5aa3;
  font-size: 30px;
  font-weight: 700;
}

.sr-artisan-join .sr-pro-kicker {
  background: #eaf6ff;
  color: #0b5aa3;
}

.sr-artisan-join h3 {
  font-size: 18px;
  margin: 8px 0 4px;
}

.sr-artisan-join p {
  margin: 0;
  color: #60768b;
  font-size: 10.5px;
  line-height: 1.45;
}

.sr-artisan-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #ff650d;
  color: #fff!important;
  border-radius: 9px;
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.sr-artisan-join-btn:hover {
  filter: brightness(.96);
}

@media(max-width:900px) {
  .sr-artisan-join {
    grid-column: 1;
    grid-template-columns: 46px 1fr;
    margin: 0 18px 18px;
  }

  .sr-artisan-join-btn {
    grid-column: 1/3;
    width: 100%;
  }
}

@media(max-width:600px) {
  .sr-final {
    margin-left: 14px;
    margin-right: 14px;
    padding: 25px 22px;
    min-height: 230px;
    grid-template-columns: 1fr;
  }

  .sr-final img {
    right: -20px;
    width: 190px;
    opacity: .36;
  }

  .sr-pro {
    margin-left: 14px;
    margin-right: 14px;
  }

  .sr-pro-copy {
    padding: 28px 20px;
  }

  .sr-pro-items {
    grid-template-columns: 1fr;
  }

  .sr-artisan-join {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px 15px;
  }

  .sr-artisan-join-icon {
    margin: auto;
  }

  .sr-artisan-join-btn {
    grid-column: 1;
  }
}

.sr-review-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 42px;
  gap: 10px;
  align-items: center;
}

.sr-review-viewport {
  overflow: hidden;
  padding: 7px 2px 12px;
}

.sr-review-track {
  display: flex;
  gap: 16px;
  transition: transform .36s ease;
  will-change: transform;
}

.sr-review-track .sr-review {
  flex: 0 0 calc((100% - 32px)/3);
  min-width: 0;
}

.sr-review-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #cfe2f0;
  background: #fff;
  color: #0b5aa3;
  font-size: 29px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(22,77,120,.08);
}

.sr-review-arrow:hover {
  background: #eef8ff;
}

.sr-review-arrow:disabled {
  opacity: .3;
  cursor: default;
}

.sr-review-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef7ff;
  color: #0b5aa3;
  font-weight: 800;
  font-size: 9px;
}

@media(max-width:980px) {
  .sr-review-track .sr-review {
    flex-basis: calc((100% - 16px)/2);
  }
}

@media(max-width:700px) {
  .sr-review-carousel {
    grid-template-columns: 32px minmax(0,1fr) 32px;
  }
}

@media (max-width:1100px) {
  .sr-review-track .sr-review {
    flex: 0 0 calc((100% - 16px)/2);
  }
}

@media (max-width:900px) {
  .sr-review-carousel {
    padding: 0 6px;
  }

  .sr-review-prev {
    left: -4px!important;
  }

  .sr-review-next {
    right: -4px!important;
  }

  .sr-final {
    grid-template-columns: 1fr;
    min-height: 250px;
    padding: 28px 24px;
  }

  .sr-final img {
    right: -10px;
    bottom: -10px;
    width: 230px;
    opacity: .32;
  }

  .sr-pro-shell {
    grid-template-columns: 1fr;
  }

  .sr-pro-photo {
    min-height: 280px;
  }
}

@media (max-width:700px) {
  .sr-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .sr-head h2 {
    font-size: clamp(26px,8vw,34px);
    line-height: 1.05;
  }

  .sr-head p {
    font-size: 11px;
    line-height: 1.45;
  }

  .sr-review-track .sr-review {
    flex-basis: 100%!important;
  }

  .sr-review-arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .sr-review-prev {
    left: 0!important;
  }

  .sr-review-next {
    right: 0!important;
  }

  .sr-final {
    margin-left: 14px;
    margin-right: 14px;
    padding: 24px 18px;
    min-height: 230px;
  }

  .sr-final img {
    width: 190px;
    right: -24px;
    opacity: .28;
  }

  .sr-pro {
    margin-left: 14px;
    margin-right: 14px;
  }

  .sr-pro-copy {
    padding: 24px 18px;
  }

  .sr-pro-items {
    grid-template-columns: 1fr;
  }

  .sr-artisan-join {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px 15px;
  }

  .sr-artisan-join-icon {
    margin: auto;
  }

  .sr-artisan-join-btn {
    grid-column: 1;
    width: 100%;
  }
}

@media (max-width:420px) {
  .sr-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .sr-head h2 {
    font-size: 28px;
  }

  .sr-final {
    margin-left: 10px;
    margin-right: 10px;
  }

  .sr-pro {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Keep the background mascot inside the mobile/tablet call-to-action. */
@media (max-width: 900px) {
  .sr-final { overflow: hidden; }
  .sr-final img {
    right: 0;
    bottom: 4px;
    max-height: calc(100% - 8px);
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
  }
}
