/* ============================================================
   Page /reexpedition/ — refonte (maquette docs/68 validée le 17/10)
   Variantes retenues : frise numérotée + étiquette de colis épurée.
   S'appuie sur redesign-base.css (.ui-page, .ui-hero, .ui-btn…).
   ============================================================ */

.rx {
  background: #fff;
  /* Interlignage du site (maquette docs/68 rendue dans le CSS du site) */
  line-height: var(--line-height-base, 1.375);
}
.rx-center {
  text-align: center;
  margin-top: 40px;
}
.rx-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--ui-pink);
  margin-bottom: 8px !important;
}

/* ---------- Hero ---------- */
.rx-hero {
  padding: calc(var(--header-height, 100px) + 72px) 0 150px;
}
.rx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.rx-hero h1 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.8px !important;
  margin: 14px 0 18px;
}
.rx-hero .ui-lead {
  max-width: 560px;
}
.rx-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ui-hero-muted);
  margin-bottom: 14px;
}
.rx-crumbs a {
  color: var(--ui-hero-muted);
}
.rx-crumbs a:hover {
  color: #fff;
}
.rx-crumbs [aria-current] {
  color: #fff;
  font-weight: 600;
}
.rx-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.rx-hero__visual {
  display: flex;
  justify-content: center;
}

/* Étiquette de colis (variante retenue : sans code-barres, référence ni talon) */
.rx-label-wrap {
  width: 100%;
  max-width: 440px;
  transform: rotate(-3deg);
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.42));
  animation: rx-drop 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes rx-drop {
  from { opacity: 0; transform: rotate(-3deg) translateY(-16px); }
  to { opacity: 1; transform: rotate(-3deg); }
}
.rx-label {
  position: relative;
  background: var(--ui-ink);
  color: var(--ui-ink);
  border-radius: 18px;
  overflow: hidden;
}
.rx-label__top {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px;
  background: var(--ui-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rx-label__body {
  background: #fff;
  padding: 20px 24px 22px;
  font-size: 18px;
  line-height: 1.55;
}
.rx-label__name {
  font-size: 24px !important;
  font-weight: 700;
  margin-bottom: 4px !important;
}

/* ---------- Bénéfices « 0 € » : panneau qui chevauche le hero ---------- */
.rx-benefits {
  position: relative;
  margin-top: -96px;
  padding-bottom: 24px;
}
.rx-ben-panel {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 70px -30px rgba(21, 31, 66, 0.45);
  padding: 34px 36px 38px;
}
.rx-ben-head {
  text-align: center;
  margin-bottom: 26px;
}
.rx-ben-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--ui-ink);
  letter-spacing: -0.3px !important;
}
.rx-ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rx-ben {
  position: relative;
  border-radius: 22px;
  padding: 24px 22px 22px;
  background: linear-gradient(180deg, #fdf0f7, #fff 70%);
  border: 1px solid #f6d3e6;
  text-align: center;
}
.rx-ben__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  color: var(--ui-pink);
  box-shadow: 0 8px 20px -8px rgba(230, 0, 126, 0.45);
}
.rx-ben__amount {
  font-size: 84px !important;
  line-height: 1 !important;
  font-weight: 700;
  color: var(--ui-pink);
  letter-spacing: -3px !important;
  margin: 14px 0 6px !important;
}
.rx-ben__amount span {
  font-size: 44px;
  margin-left: 4px;
  letter-spacing: 0;
}
.rx-ben h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--ui-ink);
  margin-bottom: 8px;
}
.rx-ben__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ui-muted);
  max-width: 260px;
  margin: 0 auto !important;
}

/* ---------- Sections ---------- */
.rx-section {
  padding: 84px 0;
}
.rx-section--alt {
  background: var(--ui-bg);
}
.rx-h2 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ui-ink);
  letter-spacing: -0.4px !important;
}
.rx-sub {
  font-size: 16.5px;
  color: var(--ui-muted);
  margin-top: 8px !important;
}
.rx-note {
  margin-top: 16px !important;
  font-size: 14px;
  color: var(--ui-muted);
}
.rx-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ui-pink);
  font-weight: 600;
}

/* ---------- Comment ça marche : frise numérotée ---------- */
.rx-steps {
  list-style: none;
  padding: 0;
  margin-top: 44px !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.rx-steps::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 40px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ui-pink), var(--ui-teal));
  transform-origin: left;
  animation: rx-line 0.9s 0.1s cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes rx-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes rx-line-v {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.rx-steps li {
  position: relative;
  text-align: center;
  animation: rx-step-in 0.4s calc(var(--i) * 0.12s + 0.2s) cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes rx-step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.rx-steps__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 99px;
  background: var(--ui-ink);
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  border: 6px solid #fff;
  box-shadow: 0 14px 30px -12px rgba(36, 50, 105, 0.6);
}
.rx-steps li:first-child .rx-steps__num {
  background: var(--ui-pink);
}
.rx-steps__ico {
  display: flex;
  justify-content: center;
  color: var(--ui-teal);
  margin: 16px 0 8px;
}
.rx-steps h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ui-ink);
  margin-bottom: 8px;
}
.rx-steps p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ui-muted);
}

/* ---------- Nos destinations ---------- */
.rx-dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.rx-dest {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ui-line);
  color: var(--ui-ink);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.rx-dest:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -18px rgba(36, 50, 105, 0.4);
  color: var(--ui-ink);
}
.rx-dest__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(57, 196, 182, 0.16);
  color: var(--ui-teal-ink);
}
.rx-dest__body strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.rx-dest__body em {
  display: block;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ui-muted);
}
.rx-dest__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-pink);
}

/* ---------- Qu'est-ce que la réexpédition (bloc de référence) ---------- */
.rx-about {
  max-width: 860px;
}
.rx-about p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5378;
  margin-top: 16px !important;
}

/* ---------- À quoi ressemble mon adresse ---------- */
.rx-addr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.rx-addr-grid .rx-sub {
  margin-bottom: 18px !important;
}
.rx-addr-grid .ui-btn {
  margin-top: 22px;
}
.rx-shop {
  margin-top: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(36, 50, 105, 0.35);
}
.rx-shop__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--ui-surface-2);
  border-bottom: 1px solid var(--ui-line);
}
.rx-shop__bar span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--ui-line);
}
.rx-shop__bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  color: var(--ui-muted);
}
.rx-shop__body {
  padding: 14px;
}
.rx-shop__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ui-muted);
}
.rx-shop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.rx-shop__wide {
  grid-column: span 2;
}
.rx-ex-field {
  position: relative;
}
.rx-ex-field__label {
  display: block;
  font-size: 12px;
  color: var(--ui-muted);
  margin-bottom: 4px;
  padding-left: 24px;
}
.rx-ex-field__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--ui-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rx-ex-field__value {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--ui-line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rx-ship {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(57, 196, 182, 0.6);
  background: #fff;
  margin-bottom: 8px;
}
.rx-ship strong {
  display: block;
  font-size: 14px;
}
.rx-ship em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--ui-muted);
}
.rx-ship > span:nth-child(2) {
  flex: 1;
}
.rx-ship__radio {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  border: 5px solid var(--ui-teal);
}
.rx-ship__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 99px;
  white-space: nowrap;
  background: rgba(57, 196, 182, 0.14);
  color: var(--ui-teal-ink);
}
.rx-rules {
  border-radius: 16px;
  padding: 16px;
  background: rgba(57, 196, 182, 0.09);
  border: 1px solid rgba(57, 196, 182, 0.35);
}
.rx-rules__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-ink);
}
.rx-rules ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rx-rules li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ui-ink);
}
.rx-rules__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ui-teal);
  color: #fff;
}

/* ---------- Logos des enseignes ---------- */
.rx-logos {
  list-style: none;
  padding: 0;
  margin-top: 30px !important;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.rx-logos li {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.rx-logos li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(36, 50, 105, 0.35);
}
.rx-logos img {
  max-width: min(100%, 130px);
  max-height: 34px;
  width: auto;
  height: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.72;
  transition: filter 0.2s ease-out, opacity 0.2s ease-out;
}
.rx-logos li:hover img {
  filter: none;
  opacity: 1;
}
.rx-logos__word {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #5b6690;
}

/* ---------- FAQ ---------- */
.rx-faq-wrap {
  max-width: 820px;
}
.rx-faq {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.rx-faq details {
  background: #fff;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  padding: 0 22px;
}
.rx-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ui-ink);
}
.rx-faq summary::-webkit-details-marker {
  display: none;
}
.rx-faq summary span {
  flex: none;
  font-size: 22px;
  color: var(--ui-pink);
  transition: transform 0.2s ease-out;
}
.rx-faq details[open] summary span {
  transform: rotate(45deg);
}
.rx-faq details p {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ui-muted);
}

/* ---------- Bandeau final ---------- */
.rx-final {
  background: linear-gradient(150deg, var(--ui-ink), var(--ui-ink-deep));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.rx-final h2 {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
}
.rx-final p {
  font-size: 16.5px;
  color: var(--ui-hero-muted);
  margin: 10px 0 26px !important;
}

/* ---------- Tablette ---------- */
@media (max-width: 980px) {
  .rx-hero {
    padding: calc(var(--header-height, 100px) + 48px) 0 130px;
  }
  .rx-hero__grid,
  .rx-addr-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rx-hero h1 {
    font-size: 32px;
  }
  .rx-section {
    padding: 60px 0;
  }
  .rx-h2 {
    font-size: 28px;
  }
  .rx-ben-grid {
    grid-template-columns: 1fr;
  }
  .rx-ben-panel {
    padding: 26px 18px;
  }
  .rx-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .rx-dest-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rx-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .rx-steps::before {
    left: 40px;
    right: auto;
    top: 40px;
    bottom: 40px;
    width: 4px;
    height: auto;
    transform-origin: top;
    animation-name: rx-line-v;
  }
  .rx-steps li {
    display: grid;
    grid-template-columns: 84px 1fr;
    column-gap: 18px;
    text-align: left;
  }
  .rx-steps__num {
    grid-row: span 3;
  }
  .rx-steps__ico {
    justify-content: flex-start;
    margin: 6px 0 4px;
  }
}

/* ---------- Téléphone ---------- */
@media (max-width: 560px) {
  .rx-hero h1 {
    font-size: 28px;
  }
  .rx-ctas .ui-btn {
    width: 100%;
  }
  .rx-ben__amount {
    font-size: 72px !important;
  }
  .rx-dest-grid {
    grid-template-columns: 1fr;
  }
  .rx-about p {
    font-size: 16px;
  }
  .rx-logos li {
    height: 72px;
    padding: 10px;
  }
  .rx-steps li {
    grid-template-columns: 64px 1fr;
  }
  .rx-steps__num {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
  .rx-steps::before {
    left: 30px;
  }
  .rx-label-wrap {
    transform: rotate(-2deg);
  }
  .rx-label__body {
    font-size: 16.5px;
  }
  .rx-label__name {
    font-size: 21px !important;
  }
  .rx-hero__visual {
    padding: 0 6px;
  }
}
