.rs2pro-portal {
  --rs2pro-red: #ed111c;
  --rs2pro-red-bright: #ff313d;
  /* Fond rouge portant du texte blanc. #ed111c donne 4,47:1, juste sous
     le seuil de 4,5. Le rouge vif reste utilise pour les accents. */
  --rs2pro-red-fill: #d81616;
  --rs2pro-red-fill-hover: #c11313;
  --rs2pro-ink: #07080d;
  --rs2pro-panel: #101117;
  --rs2pro-panel-soft: #15171e;
  --rs2pro-line: rgb(255 255 255 / 11%);
  /* --rs2pro-line convient a un separateur decoratif mais ne fait que 1,34:1
     sur --rs2pro-ink : le WCAG 1.4.11 exige 3:1 pour le contour visible d'un
     champ de saisie. Blanc a 36 % donne 3,20:1 sur ce fond. */
  --rs2pro-field-border: rgb(255 255 255 / 36%);
  --rs2pro-muted: #a8abb4;
  background:
    radial-gradient(circle at 84% 3%, rgb(237 17 28 / 11%), transparent 24rem),
    var(--rs2pro-ink);
  border: 1px solid var(--rs2pro-line);
  border-radius: 32px;
  color: #fff;
  margin: clamp(.5rem, 2vw, 1.5rem) auto clamp(4rem, 8vw, 8rem);
  max-width: 1440px;
  overflow: hidden;
}

.rs2pro-portal,
.rs2pro-portal * {
  box-sizing: border-box;
}

.rs2pro-portal a {
  text-decoration: none;
}

.rs2pro-portal img {
  display: block;
  max-width: 100%;
}

.rs2pro-denied {
  --rs2pro-red: #ed111c;
  --rs2pro-red-bright: #ff313d;
  align-items: center;
  background:
    radial-gradient(circle at 50% 14%, rgb(237 17 28 / 20%), transparent 34%),
    #0b0c11;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  margin: clamp(1rem, 3vw, 3rem) auto clamp(4rem, 8vw, 8rem);
  max-width: 1050px;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) 1.5rem;
  position: relative;
  text-align: center;
}

.rs2pro-denied__eyebrow {
  color: #ff5962;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.rs2pro-denied__mark {
  color: rgb(255 255 255 / 3.5%);
  font-size: clamp(10rem, 28vw, 22rem);
  font-weight: 950;
  left: 50%;
  letter-spacing: -.1em;
  line-height: .75;
  position: absolute;
  top: 47%;
  transform: translate(-50%, -50%);
}

.rs2pro-denied h1,
.rs2pro-denied p,
.rs2pro-denied__actions {
  position: relative;
  z-index: 1;
}

.rs2pro-denied h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
  letter-spacing: -.06em;
  line-height: .98;
  margin: 2rem 0 1.25rem;
  max-width: 12ch;
}

.rs2pro-denied p {
  color: #a8abb4;
  line-height: 1.75;
  max-width: 660px;
}

.rs2pro-denied__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.rs2pro-hero {
  background: #0b0c11;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  min-height: 590px;
  overflow: hidden;
  position: relative;
}

.rs2pro-hero::before {
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 4%), transparent);
  content: "";
  height: 1px;
  left: 5%;
  position: absolute;
  right: 5%;
  top: 72px;
  z-index: 2;
}

.rs2pro-hero__content {
  align-self: center;
  padding: clamp(4rem, 7vw, 7.5rem) clamp(2rem, 5.5vw, 6.5rem);
  position: relative;
  z-index: 2;
}

.rs2pro-status {
  align-items: center;
  color: #d7d8dd;
  display: flex;
  font-size: .7rem;
  font-weight: 750;
  gap: .55rem;
  left: clamp(2rem, 5.5vw, 6.5rem);
  letter-spacing: .13em;
  position: absolute;
  text-transform: uppercase;
  top: 30px;
}

.rs2pro-status__dot {
  background: #34d17b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(52 209 123 / 12%), 0 0 14px rgb(52 209 123 / 70%);
  height: 7px;
  width: 7px;
}

.rs2pro-overline,
.rs2pro-eyebrow {
  color: #c8cad0;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  margin: 0 0 1.3rem;
  text-transform: uppercase;
}

.rs2pro-overline span {
  color: var(--rs2pro-red-bright);
  margin-inline: .35rem;
}

.rs2pro-hero h1 {
  color: #fff;
  font-size: clamp(2.65rem, 5.1vw, 5.6rem);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .94;
  margin: 0;
  max-width: 790px;
}

.rs2pro-hero h1 span {
  color: #777b85;
  display: block;
  font-weight: 560;
}

.rs2pro-hero__lead {
  color: var(--rs2pro-muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.72;
  margin: 2rem 0 0;
  max-width: 640px;
}

.rs2pro-hero__actions,
.rs2pro-support__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem;
}

.rs2pro-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  gap: .8rem;
  justify-content: center;
  letter-spacing: .03em;
  min-height: 48px;
  padding: .85rem 1.3rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.rs2pro-button:hover {
  transform: translateY(-2px);
}

.rs2pro-button--primary {
  background: var(--rs2pro-red-fill);
  color: #fff;
}

.rs2pro-button--primary:hover {
  background: var(--rs2pro-red-fill-hover);
  color: #fff;
}

.rs2pro-button--ghost {
  border-color: rgb(255 255 255 / 17%);
  color: #fff;
}

.rs2pro-button--ghost:hover {
  background: #fff;
  color: #090a0e;
}

.rs2pro-hero__visual {
  height: 100%;
  margin: 0;
  min-height: 590px;
  overflow: hidden;
  position: relative;
}

.rs2pro-hero__visual::after {
  background: linear-gradient(90deg, #0b0c11 0%, transparent 35%), linear-gradient(0deg, rgb(4 5 8 / 70%), transparent 45%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.rs2pro-hero__visual img {
  filter: saturate(.86) contrast(1.08);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rs2pro-hero__visual figcaption {
  bottom: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  left: clamp(2rem, 4vw, 4rem);
  position: absolute;
  z-index: 2;
}

.rs2pro-hero__visual figcaption span {
  color: #e3e4e7;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rs2pro-hero__visual figcaption strong {
  font-size: .9rem;
  margin-top: .35rem;
}

.rs2pro-shortcuts {
  background: #0d0e13;
  border-block: 1px solid var(--rs2pro-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rs2pro-shortcuts > a {
  align-items: center;
  color: #fff;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  min-height: 108px;
  padding: 1.4rem clamp(1.2rem, 3vw, 2.5rem);
  transition: background .2s ease;
}

.rs2pro-shortcuts > a + a {
  border-left: 1px solid var(--rs2pro-line);
}

.rs2pro-shortcuts > a:hover {
  background: #17191f;
}

.rs2pro-shortcuts__icon {
  align-items: center;
  background: #1b1d24;
  border: 1px solid var(--rs2pro-line);
  border-radius: 50%;
  color: var(--rs2pro-red-bright);
  display: inline-flex;
  font-size: .65rem;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.rs2pro-shortcuts strong,
.rs2pro-shortcuts small {
  display: block;
}

.rs2pro-shortcuts strong {
  font-size: .92rem;
}

.rs2pro-shortcuts small {
  color: var(--rs2pro-muted);
  font-size: .76rem;
  margin-top: .28rem;
}

.rs2pro-preview-note {
  align-items: center;
  background: rgb(237 17 28 / 8%);
  border: 1px solid rgb(255 49 61 / 24%);
  border-radius: 18px;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: auto 1fr;
  margin: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5.5vw, 6.5rem) 0;
  padding: 1.25rem 1.5rem;
}

.rs2pro-preview-note__mark {
  align-items: center;
  background: var(--rs2pro-red);
  border-radius: 9px;
  display: flex;
  font-size: .6rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  letter-spacing: .1em;
  width: 56px;
}

.rs2pro-preview-note strong {
  display: block;
  font-size: .88rem;
  margin-bottom: .25rem;
}

.rs2pro-preview-note p {
  color: #bbbcc3;
  font-size: .8rem;
  line-height: 1.55;
  margin: 0;
}

.rs2pro-section {
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 5.5vw, 6.5rem);
}

.rs2pro-section--roadmap {
  background: #0b0c11;
  border-top: 1px solid var(--rs2pro-line);
}

.rs2pro-section__heading {
  align-items: end;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.rs2pro-eyebrow {
  color: var(--rs2pro-red-bright);
  display: block;
  margin-bottom: .75rem;
}

.rs2pro-section__heading h2,
.rs2pro-support h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 710;
  letter-spacing: -.055em;
  line-height: 1;
  margin: 0;
}

.rs2pro-section__heading > p {
  color: var(--rs2pro-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
  max-width: 390px;
}

.rs2pro-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs2pro-grid--live {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rs2pro-card {
  background: linear-gradient(145deg, #15171e, #0f1015);
  border: 1px solid var(--rs2pro-line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}

.rs2pro-card:hover {
  border-color: rgb(255 255 255 / 20%);
  transform: translateY(-3px);
}

.rs2pro-card--wide {
  grid-row: span 2;
  min-height: 676px;
}

.rs2pro-card--wide::after {
  background: radial-gradient(circle, rgb(237 17 28 / 18%), transparent 68%);
  bottom: 5%;
  content: "";
  height: 260px;
  position: absolute;
  right: 0;
  width: 260px;
}

.rs2pro-card__topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.rs2pro-card__number {
  color: #676a73;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.rs2pro-pill {
  align-items: center;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 999px;
  color: #d8d9de;
  display: inline-flex;
  font-size: .59rem;
  font-weight: 850;
  gap: .4rem;
  letter-spacing: .11em;
  padding: .38rem .64rem;
  text-transform: uppercase;
}

.rs2pro-pill--live {
  background: rgb(52 209 123 / 8%);
  border-color: rgb(52 209 123 / 25%);
  color: #8be4b3;
}

.rs2pro-pill--live i {
  background: #34d17b;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.rs2pro-card__icon {
  align-items: center;
  background: rgb(237 17 28 / 9%);
  border: 1px solid rgb(237 17 28 / 18%);
  border-radius: 16px;
  display: flex;
  height: 54px;
  justify-content: center;
  margin: auto 0 1.5rem;
  width: 54px;
}

.rs2pro-card__icon svg {
  fill: none;
  height: 25px;
  stroke: var(--rs2pro-red-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  width: 25px;
}

.rs2pro-card h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  font-weight: 680;
  letter-spacing: -.035em;
  margin: 0 0 .75rem;
}

.rs2pro-card p {
  color: var(--rs2pro-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin: 0;
  max-width: 500px;
}

.rs2pro-card > a {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: .78rem;
  font-weight: 800;
  gap: .8rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.rs2pro-card > a span {
  color: var(--rs2pro-red-bright);
}

.rs2pro-roadmap-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr .8fr;
}

.rs2pro-roadmap-card {
  background: #15171e;
  border: 1px solid var(--rs2pro-line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 1.2fr;
  min-height: 350px;
  overflow: hidden;
}

.rs2pro-roadmap-card > div:first-child {
  align-self: center;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  position: relative;
  z-index: 2;
}

.rs2pro-roadmap-card h3 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -.045em;
  line-height: 1;
  margin: 1.25rem 0 .8rem;
}

.rs2pro-roadmap-card p {
  color: var(--rs2pro-muted);
  font-size: .88rem;
  line-height: 1.65;
  margin: 0;
}

.rs2pro-roadmap-card img {
  align-self: stretch;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rs2pro-roadmap-card--red {
  background: linear-gradient(145deg, #e50d18, #90040c);
  grid-template-columns: 1fr;
  position: relative;
}

.rs2pro-roadmap-card--red .rs2pro-pill {
  background: rgb(0 0 0 / 15%);
  border-color: rgb(255 255 255 / 20%);
}

.rs2pro-roadmap-card--red p {
  color: rgb(255 255 255 / 77%);
  max-width: 430px;
}

.rs2pro-roadmap-card__glyph {
  bottom: -6rem;
  color: rgb(255 255 255 / 10%);
  font-size: 20rem;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  right: -1rem;
}

.rs2pro-support {
  align-items: center;
  background: var(--rs2pro-red);
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5.5vw, 6.5rem);
}

.rs2pro-support .rs2pro-eyebrow {
  color: rgb(255 255 255 / 75%);
}

.rs2pro-support p {
  color: rgb(255 255 255 / 78%);
  line-height: 1.6;
  margin: 1rem 0 0;
  max-width: 680px;
}

.rs2pro-support__actions {
  flex: 0 0 auto;
  flex-direction: column;
  margin: 0;
}

.rs2pro-button--light {
  background: #fff;
  color: #111218;
  min-width: 205px;
}

.rs2pro-button--light:hover {
  background: #111218;
  color: #fff;
}

.rs2pro-support__link {
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
}

.rs2pro-portal a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .rs2pro-hero {
    grid-template-columns: 1fr;
  }

  .rs2pro-hero__visual {
    min-height: 430px;
  }

  .rs2pro-hero__visual::after {
    background: linear-gradient(0deg, rgb(4 5 8 / 75%), transparent 50%);
  }

  .rs2pro-roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .rs2pro-portal {
    border-radius: 22px;
  }

  .rs2pro-shortcuts {
    grid-template-columns: 1fr;
  }

  .rs2pro-shortcuts > a + a {
    border-left: 0;
    border-top: 1px solid var(--rs2pro-line);
  }

  .rs2pro-section__heading,
  .rs2pro-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .rs2pro-grid--live {
    grid-template-columns: 1fr;
  }

  .rs2pro-card,
  .rs2pro-card--wide {
    grid-row: auto;
    min-height: 340px;
  }

  .rs2pro-support__actions {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .rs2pro-portal {
    border-inline: 0;
    border-radius: 0;
  }

  .rs2pro-hero__content {
    padding-top: 6.5rem;
  }

  .rs2pro-hero__visual {
    min-height: 330px;
  }

  .rs2pro-hero__actions,
  .rs2pro-hero__actions .rs2pro-button,
  .rs2pro-button--light {
    width: 100%;
  }

  .rs2pro-preview-note {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .rs2pro-roadmap-card {
    grid-template-columns: 1fr;
  }

  .rs2pro-roadmap-card img {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs2pro-button,
  .rs2pro-card {
    transition: none;
  }
}

/* ==========================================================================
   Candidature revendeur — /devenir-partenaire
   Reutilise les jetons de .rs2pro-portal plutot que d'en declarer d'autres.
   ========================================================================== */

.rs2pro-apply {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem);
}

.rs2pro-apply__head {
  max-width: 46rem;
}

.rs2pro-apply h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  margin: 0.9rem 0 0;
}

.rs2pro-apply__lead {
  color: var(--rs2pro-muted);
  font-size: 1rem;
  margin-top: 1rem;
}

.rs2pro-apply__benefits {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: 0;
}

.rs2pro-apply__benefits li {
  background: var(--rs2pro-panel-soft);
  border: 1px solid var(--rs2pro-line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
}

.rs2pro-apply__benefits strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.rs2pro-apply__benefits span {
  color: var(--rs2pro-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.rs2pro-apply__form {
  background: var(--rs2pro-panel);
  border: 1px solid var(--rs2pro-line);
  border-radius: 24px;
  max-width: 54rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.rs2pro-apply__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.rs2pro-apply__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.rs2pro-apply__field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rs2pro-apply__hint {
  color: var(--rs2pro-muted);
  font-weight: 400;
  text-transform: lowercase;
}

.rs2pro-apply__field input,
.rs2pro-apply__field textarea {
  background: var(--rs2pro-ink);
  border: 1px solid var(--rs2pro-field-border);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  padding: 0.7rem 0.9rem;
  width: 100%;
}

.rs2pro-apply__field input:focus,
.rs2pro-apply__field textarea:focus {
  border-color: var(--rs2pro-red-bright);
  outline: 2px solid var(--rs2pro-red-bright);
  outline-offset: 1px;
}

.rs2pro-apply__field.has-error input,
.rs2pro-apply__field.has-error textarea {
  border-color: var(--rs2pro-red-bright);
}

.rs2pro-apply__error {
  color: var(--rs2pro-red-bright);
  font-size: 0.78rem;
}

/* Champ appat : retire du flux et de l'ordre de tabulation, jamais annonce.
   display:none suffirait, mais certains robots ignorent les champs masques
   ainsi ; un decalage hors ecran les piege mieux. */
.rs2pro-apply__trap {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.rs2pro-apply__consent {
  align-items: flex-start;
  color: var(--rs2pro-muted);
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  gap: 0.6rem;
  line-height: 1.5;
  margin: 1.2rem 0 0.4rem;
}

.rs2pro-apply__consent input {
  accent-color: var(--rs2pro-red);
  flex: 0 0 auto;
  height: 17px;
  margin-top: 2px;
  width: 17px;
}

.rs2pro-apply__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.rs2pro-apply__actions .btn {
  background: var(--rs2pro-red-fill);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
}

.rs2pro-apply__actions .btn:hover,
.rs2pro-apply__actions .btn:focus-visible {
  background: var(--rs2pro-red-fill-hover);
  color: #fff;
}

.rs2pro-apply__alt {
  color: var(--rs2pro-muted);
  font-size: 0.85rem;
  text-decoration: underline;
}

.rs2pro-apply__done {
  margin: 0 auto;
  max-width: 38rem;
  padding: clamp(2rem, 6vw, 5rem) 0;
  text-align: center;
}

.rs2pro-apply__done p:not(.rs2pro-overline) {
  color: var(--rs2pro-muted);
  margin: 1rem 0 1.8rem;
}

@media (max-width: 480px) {
  .rs2pro-apply__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Grille tarifaire et commandes du portail
   ========================================================================== */

.rs2pro-pricing {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.rs2pro-pricing__item {
  background: var(--rs2pro-panel-soft);
  border: 1px solid var(--rs2pro-line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
}

.rs2pro-pricing__item h3 {
  font-size: 1rem;
  margin: 0 0 0.8rem;
}

.rs2pro-pricing__item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rs2pro-pricing__item li {
  align-items: baseline;
  border-top: 1px solid var(--rs2pro-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.rs2pro-pricing__item li span {
  color: var(--rs2pro-muted);
  font-size: 0.85rem;
}

.rs2pro-pricing__tiers {
  color: var(--rs2pro-muted);
  font-size: 0.85rem;
  margin-top: 1.2rem;
}

.rs2pro-pricing__tiers b {
  background: var(--rs2pro-panel-soft);
  border: 1px solid var(--rs2pro-line);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  margin: 0.2rem 0.2rem 0 0;
  padding: 0.2rem 0.7rem;
}

.rs2pro-pricing__cta {
  margin-top: 1.6rem;
}

.rs2pro-orders {
  overflow-x: auto;
}

.rs2pro-orders table {
  border-collapse: collapse;
  min-width: 34rem;
  width: 100%;
}

.rs2pro-orders th,
.rs2pro-orders td {
  border-bottom: 1px solid var(--rs2pro-line);
  padding: 0.7rem 0.8rem;
  text-align: left;
}

.rs2pro-orders th {
  color: var(--rs2pro-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rs2pro-orders__empty {
  color: var(--rs2pro-muted);
}

/* ==========================================================================
   Commande rapide
   ========================================================================== */

.rs2pro-quick {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem);
}

.rs2pro-quick h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin: 0.9rem 0 0;
}

.rs2pro-quick__lead {
  color: var(--rs2pro-muted);
  margin-top: 0.8rem;
  max-width: 42rem;
}

.rs2pro-quick__notice {
  border: 1px solid var(--rs2pro-line);
  border-radius: 14px;
  margin: 1.6rem 0;
  padding: 0.9rem 1.1rem;
}

.rs2pro-quick__notice--ok {
  background: rgb(46 160 67 / 12%);
  border-color: rgb(46 160 67 / 45%);
}

.rs2pro-quick__notice--warn {
  background: rgb(237 17 28 / 10%);
  border-color: rgb(237 17 28 / 40%);
}

.rs2pro-quick__notice a {
  color: #fff;
  margin-left: 0.6rem;
  text-decoration: underline;
}

.rs2pro-quick__notice ul {
  margin: 0;
  padding-left: 1.1rem;
}

.rs2pro-quick__tiers {
  align-items: center;
  color: var(--rs2pro-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.5rem;
  margin: 1.8rem 0 1rem;
}

.rs2pro-quick__tiers b {
  background: var(--rs2pro-panel-soft);
  border: 1px solid var(--rs2pro-line);
  border-radius: 999px;
  color: #fff;
  padding: 0.25rem 0.8rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rs2pro-quick__tiers b.is-active {
  background: var(--rs2pro-red-fill);
  border-color: var(--rs2pro-red);
}

.rs2pro-quick__product {
  background: var(--rs2pro-panel);
  border: 1px solid var(--rs2pro-line);
  border-radius: 20px;
  margin-bottom: 1.2rem;
  padding: 1.2rem clamp(0.9rem, 2vw, 1.5rem);
}

.rs2pro-quick__product h3 {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.05rem;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
}

.rs2pro-quick__product h3 a {
  color: #fff;
}

.rs2pro-quick__ref {
  color: var(--rs2pro-muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.rs2pro-quick__table-wrap {
  overflow-x: auto;
}

.rs2pro-quick__table {
  border-collapse: collapse;
  min-width: 38rem;
  width: 100%;
}

.rs2pro-quick__table th,
.rs2pro-quick__table td {
  border-bottom: 1px solid var(--rs2pro-line);
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: middle;
}

.rs2pro-quick__table th {
  color: var(--rs2pro-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rs2pro-quick__price,
.rs2pro-quick__line {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rs2pro-quick__line.is-tiered {
  color: var(--rs2pro-red-bright);
}

.rs2pro-quick__stock--out {
  color: var(--rs2pro-muted);
  font-style: italic;
}

.rs2pro-quick__qty {
  background: var(--rs2pro-ink);
  border: 1px solid var(--rs2pro-field-border);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  padding: 0.45rem 0.55rem;
  width: 5.5rem;
}

.rs2pro-quick__qty:focus {
  border-color: var(--rs2pro-red-bright);
  outline: 2px solid var(--rs2pro-red-bright);
  outline-offset: 1px;
}

.rs2pro-quick__qty:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.rs2pro-quick__summary {
  background: var(--rs2pro-panel-soft);
  border: 1px solid var(--rs2pro-line);
  border-radius: 20px;
  margin-top: 1.6rem;
  padding: 1.3rem clamp(0.9rem, 2vw, 1.6rem);
  position: sticky;
  bottom: 0.8rem;
}

.rs2pro-quick__totals {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.rs2pro-quick__totals span {
  color: var(--rs2pro-muted);
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rs2pro-quick__totals b {
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.rs2pro-quick__hint {
  color: var(--rs2pro-muted);
  font-size: 0.78rem;
  margin: 0.9rem 0 0;
}

.rs2pro-quick__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.1rem;
}

.rs2pro-quick__actions .btn {
  background: var(--rs2pro-red-fill);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
}

.rs2pro-quick__actions .btn:hover,
.rs2pro-quick__actions .btn:focus-visible {
  background: var(--rs2pro-red-fill-hover);
  color: #fff;
}

.rs2pro-quick__alt {
  color: var(--rs2pro-muted);
  font-size: 0.85rem;
  text-decoration: underline;
}

.rs2pro-quick__empty {
  color: var(--rs2pro-muted);
}

/* Retour de la recherche SIRET sur le formulaire de candidature */
.rs2pro-apply__siret-status {
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0.15rem 0 0;
  min-height: 1rem;
}

.rs2pro-apply__siret-status[data-state="loading"] { color: var(--rs2pro-muted); }
.rs2pro-apply__siret-status[data-state="ok"]      { color: var(--rs2-success-text, #7ee2aa); }
.rs2pro-apply__siret-status[data-state="warn"]    { color: #e8b339; }
.rs2pro-apply__siret-status[data-state="error"]   { color: var(--rs2pro-red-bright); }

/* Champ rempli depuis l'annuaire : signale visuellement qu'il est modifiable */
.rs2pro-apply__field input.is-autofilled {
  border-color: rgb(78 194 122 / 45%);
}


/* ==========================================================================
   Coque de l'espace professionnel
   ==========================================================================
   Barre sobre en tete, colonne de navigation a gauche, pied de page reduit aux
   mentions legales. L'opticien connecte est dans un outil de gestion : la
   banniere d'annonce, la navigation catalogue et la bande d'infolettre n'y ont
   pas leur place. Le panier et un lien vers la boutique restent presents, il
   doit pouvoir commander. */

.rs2pro-topbar {
  background: var(--rs2-surface);
  border-bottom: 1px solid var(--rs2-line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.rs2pro-topbar__inner {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-inline: auto;
  max-width: var(--rs2-max-width, min(1560px, 94vw));
  min-height: 68px;
  padding-inline: clamp(1rem, 2.4vw, 2.25rem);
}

.rs2pro-topbar__brand {
  align-items: center;
  color: var(--rs2-text);
  display: flex;
  flex: 0 0 auto;
  gap: .7rem;
  text-decoration: none;
}

.rs2pro-topbar__brand img {
  display: block;
  height: 30px;
  width: auto;
}

.rs2pro-topbar__brand span {
  border-left: 1px solid var(--rs2-line-strong);
  color: var(--rs2-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  padding-left: .7rem;
  text-transform: uppercase;
}

.rs2pro-topbar__identity {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  margin-inline-end: auto;
  min-width: 0;
}

.rs2pro-topbar__identity strong {
  color: var(--rs2-text);
  font-size: .92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rs2pro-topbar__identity span {
  color: var(--rs2-subtle);
  font-size: .76rem;
}

.rs2pro-topbar__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: .55rem;
}

.rs2pro-topbar__link,
.rs2pro-topbar__logout {
  align-items: center;
  border: 1px solid var(--rs2-field-border);
  border-radius: 999px;
  color: var(--rs2-text);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  gap: .45rem;
  min-height: 40px;
  padding-inline: .95rem;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.rs2pro-topbar__link:hover,
.rs2pro-topbar__logout:hover {
  background: rgb(255 255 255 / 6%);
  border-color: var(--rs2-field-border-hover);
  color: var(--rs2-text);
}

.rs2pro-topbar__logout {
  border-color: rgb(255 29 29 / 45%);
  color: var(--rs2-red-hover);
}

.rs2pro-topbar__logout:hover {
  background: var(--rs2-red-fill);
  border-color: var(--rs2-red-fill);
  color: #fff;
}

.rs2pro-topbar .material-icons {
  font-size: 1.05rem;
}

.rs2pro-topbar__icon {
  align-items: center;
  background: transparent;
  border: 1px solid var(--rs2-field-border);
  border-radius: 50%;
  color: var(--rs2-text);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.rs2pro-topbar__icon svg {
  height: 1.05rem;
  width: 1.05rem;
}

/* Le bloc panier vient du hook displayNav2 : on neutralise la mise en forme
   d'en-tete boutique qu'il embarque. */
.rs2pro-topbar__cart .header-block__action-btn {
  min-height: 40px;
}

.rs2pro-footer {
  border-top: 1px solid var(--rs2-line);
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-block: 1.4rem;
}

@media (max-width: 767.98px) {
  .rs2pro-topbar__inner {
    flex-wrap: wrap;
    gap: .6rem 1rem;
    padding-block: .7rem;
  }

  .rs2pro-topbar__identity {
    order: 3;
    width: 100%;
  }

  .rs2pro-topbar__link span,
  .rs2pro-topbar__logout span {
    display: none;
  }

  .rs2pro-topbar__link,
  .rs2pro-topbar__logout {
    justify-content: center;
    padding-inline: 0;
    width: 40px;
  }
}

/* --- Colonne de navigation ------------------------------------------------ */

.rs2pro-nav {
  background: var(--rs2-card);
  border: 1px solid var(--rs2-line);
  border-radius: 1.1rem;
  padding: 1rem .7rem;
}

.rs2pro-nav__title {
  color: var(--rs2-subtle);
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
  padding: .2rem .8rem .8rem;
  text-transform: uppercase;
}

.rs2pro-nav ul {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rs2pro-nav__link {
  align-items: center;
  border-radius: .75rem;
  color: var(--rs2-muted);
  display: flex;
  font-size: .9rem;
  font-weight: 600;
  gap: .7rem;
  min-height: 44px;
  padding-inline: .8rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.rs2pro-nav__link:hover {
  background: rgb(255 255 255 / 5%);
  color: var(--rs2-text);
}

.rs2pro-nav__link.is-current {
  background: rgb(255 29 29 / 12%);
  color: var(--rs2-text);
  font-weight: 800;
}

.rs2pro-nav__icon {
  align-items: center;
  color: var(--rs2-red-hover);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.rs2pro-nav__icon svg {
  height: 1.15rem;
  width: 1.15rem;
}

.rs2pro-nav__label {
  flex: 1 1 auto;
}

.rs2pro-nav__chevron {
  color: var(--rs2-subtle);
  font-size: 1.1rem;
}

.rs2pro-nav__link.is-current .rs2pro-nav__chevron {
  color: var(--rs2-red-hover);
}

/* --- Tableau de bord ------------------------------------------------------ */

.rs2pro-dash__company {
  align-items: center;
  color: var(--rs2-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .95rem;
  gap: .55rem;
  margin: .6rem 0 0;
}

.rs2pro-dash__company .material-icons {
  color: var(--rs2-red-hover);
  font-size: 1.15rem;
}

.rs2pro-dash__badge {
  background: rgb(24 112 69 / 26%);
  border: 1px solid rgb(24 112 69 / 55%);
  border-radius: 999px;
  color: var(--rs2-success-text);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .22rem .7rem;
  text-transform: uppercase;
}

.rs2pro-dash__kpis {
  display: grid;
  gap: clamp(.7rem, 1.4vw, 1.1rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.rs2pro-kpi {
  background: var(--rs2-card);
  border: 1px solid var(--rs2-line);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.1rem 1.2rem;
}

.rs2pro-kpi__label {
  color: var(--rs2-subtle);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rs2pro-kpi__value {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.rs2pro-kpi__value--date {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.rs2pro-dash__section-head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  justify-content: space-between;
}

.rs2pro-dash__more {
  align-items: center;
  color: var(--rs2-red-hover);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  gap: .25rem;
  text-decoration: none;
}

.rs2pro-dash__more:hover {
  text-decoration: underline;
}

.rs2pro-dash__hint {
  color: var(--rs2-subtle);
  font-size: .8rem;
}

.rs2pro-dash__actions {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.rs2pro-action {
  align-items: center;
  background: var(--rs2-surface);
  border: 1px solid var(--rs2-line);
  border-radius: 1rem;
  color: var(--rs2-text);
  display: flex;
  gap: .9rem;
  min-height: 4.6rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.rs2pro-action:hover {
  border-color: rgb(255 29 29 / 40%);
  color: var(--rs2-text);
  transform: translateY(-2px);
}

.rs2pro-action--primary {
  background: linear-gradient(120deg, rgb(255 29 29 / 16%), transparent 62%), var(--rs2-surface);
  border-color: rgb(255 29 29 / 34%);
}

.rs2pro-action__icon {
  align-items: center;
  border: 1px solid rgb(255 29 29 / 45%);
  border-radius: 50%;
  color: var(--rs2-red-hover);
  display: inline-flex;
  flex: 0 0 2.6rem;
  height: 2.6rem;
  justify-content: center;
  width: 2.6rem;
}

.rs2pro-action__icon svg {
  height: 1.25rem;
  width: 1.25rem;
}

.rs2pro-action span:last-child {
  color: var(--rs2-subtle);
  display: flex;
  flex-direction: column;
  font-size: .8rem;
  gap: .15rem;
  line-height: 1.35;
}

.rs2pro-action strong {
  color: var(--rs2-text);
  font-size: .95rem;
}

/* --- Tableau des commandes ------------------------------------------------ */

.rs2pro-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.rs2pro-table {
  border-collapse: collapse;
  min-width: 34rem;
  width: 100%;
}

.rs2pro-table th {
  color: var(--rs2-subtle);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  padding: .6rem .8rem;
  text-align: start;
  text-transform: uppercase;
}

.rs2pro-table td {
  border-top: 1px solid var(--rs2-line);
  color: var(--rs2-muted);
  font-size: .9rem;
  padding: .85rem .8rem;
}

.rs2pro-table td a {
  color: var(--rs2-text);
  font-weight: 700;
  text-decoration: none;
}

.rs2pro-table td a:hover {
  color: var(--rs2-red-hover);
}

.rs2pro-table__num {
  text-align: end;
}

.rs2pro-table__link {
  color: var(--rs2-subtle) !important;
}

.rs2pro-state {
  border: 1px solid var(--rs2-field-border);
  border-radius: 999px;
  display: inline-block;
  font-size: .76rem;
  padding: .2rem .7rem;
}

.rs2pro-empty {
  color: var(--rs2-subtle);
  margin: 1rem 0 0;
}

@media (max-width: 991.98px) {
  .rs2pro-dash__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rs2pro-dash__actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Le hook displayNav2 apporte le panier ET le menu de compte. Ce dernier fait
   doublon avec l'identite deja affichee a gauche et avec le bouton de
   deconnexion : on ne garde que le panier. */
.rs2pro-topbar__cart #_desktop_ps_customersignin,
.rs2pro-topbar__cart .ps-customersignin,
.rs2pro-topbar__cart [id*="customersignin"] {
  display: none !important;
}

.rs2pro-topbar__cart .header-block__action-btn {
  align-items: center;
  border: 1px solid var(--rs2-field-border);
  border-radius: 999px;
  color: var(--rs2-text);
  display: inline-flex;
  gap: .45rem;
  min-height: 40px;
  padding-inline: .95rem;
  text-decoration: none;
}

.rs2pro-topbar__cart .header-block__action-btn:hover {
  background: rgb(255 255 255 / 6%);
  border-color: var(--rs2-field-border-hover);
}

/* Pastille du nombre d'articles : sans regle, elle heritait d'un fond blanc. */
.rs2pro-topbar__cart .cart-products-count,
.rs2pro-topbar__cart .header-block__badge {
  background: var(--rs2-red-fill);
  border-radius: 999px;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  min-width: 1.15rem;
  padding: 0 .3rem;
  text-align: center;
}

/* Le fil d'Ariane n'a pas d'objet dans un outil de gestion : la colonne de
   navigation dit deja ou l'on se trouve. */
.rs2pro-topbar ~ * .breadcrumb,
body:has(.rs2pro-topbar) .rs2-breadcrumb,
body:has(.rs2pro-topbar) nav[aria-label="breadcrumb"],
body:has(.rs2pro-topbar) .breadcrumb {
  display: none;
}

/* L'encart de marque de la colonne compte n'a pas sa place dans un outil de
   gestion : le revendeur a deja « Parcourir la collection » sur son tableau de
   bord et « Support » dans la navigation. */
.rs2-account-promo--pro {
  display: none;
}

/* Etats de commande : PrestaShop pose la couleur de l'etat en style en ligne,
   qu'on ne peut pas relire en CSS. On garde donc la couleur — elle porte
   l'information — mais on ramene le bloc a une pastille, au lieu du gros pave
   rectangulaire qui ecrasait la ligne. */
body:has(.rs2pro-topbar) #order-history .label,
body:has(.rs2pro-topbar) .order-history .label,
body:has(.rs2pro-topbar) #order-history .badge,
body:has(.rs2pro-topbar) .order-history .badge {
  border-radius: 999px;
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.35;
  padding: .34rem .85rem;
  white-space: normal;
}

/* Un etat vide ne doit pas laisser une pastille fantome sur le tableau de
   bord. */
.rs2pro-state:empty {
  display: none;
}
