/* Remotely — pages publiques.
   Même famille que Publiemploi : Manrope, Hanken Grotesk.
   Rythme de navigation, hero et pied de page repris de Publiemploi et Gape. */

:root {
  --rm-primary: #2764af;
  --rm-primary-deep: #1e4f8c;
  --rm-primary-soft: #e8f0fa;
  --rm-ink: #1a1c1e;
  --rm-muted: #464650;
  --rm-paper: #f7f8fb;
  --rm-paper-2: #eef1f6;
  --rm-card: #ffffff;
  --rm-line: #d9dee8;
  --rm-on-primary: #ffffff;
  --font-family: "Manrope", "Hanken Grotesk", sans-serif;
  --rm-max: 1120px;
  --bs-primary: #2764af;
  --bs-primary-rgb: 39, 100, 175;
  --bs-body-color: #1a1c1e;
  --bs-body-bg: #f7f8fb;
  --bs-body-font-family: var(--font-family);
  --bs-font-sans-serif: var(--font-family);
  --bs-link-color: #2764af;
  --bs-link-hover-color: #1e4f8c;
  --bs-border-color: #d9dee8;
  --bs-border-radius: 0.85rem;
}

html, body { overflow-x: clip; }

.rm-public {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.rm-public h1,
.rm-public h2,
.rm-public h3,
.rm-public h4,
.rm-kicker,
.rm-btn,
.btn {
  font-family: var(--font-family);
  font-style: normal;
}

.rm-main { flex: 1 0 auto; }

.rm-wrap {
  width: min(var(--rm-max), calc(100% - 2rem));
  margin: 0 auto;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

/* Header — même structure que Publiemploi */
.rm-header {
  background: #fff;
  border-bottom: 1px solid var(--rm-line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.rm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: min(1740px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4rem;
  gap: 1rem;
}

.rm-nav-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
  z-index: 1;
}

.rm-nav-brand img { height: 1.85rem; width: auto; display: block; }

.rm-nav-links,
.rm-nav-actions { display: none; align-items: center; }

.rm-nav-links {
  gap: 0.95rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.rm-nav-actions { gap: 0.75rem; flex-shrink: 0; z-index: 1; }

.rm-nav-links a,
.rm-nav-actions a,
.rm-nav-panel-link {
  color: var(--rm-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.rm-nav-links a:hover,
.rm-nav-links a.is-active,
.rm-nav-actions a:hover,
.rm-nav-panel-link:hover,
.rm-nav-panel-link.is-active {
  color: var(--rm-primary);
}

.rm-nav-actions a.rm-link-primary {
  color: #fff;
  background: var(--rm-primary);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}
.rm-nav-actions a.rm-link-primary:hover { color: #fff; background: var(--rm-primary-deep); }

.rm-nav-links a.is-active,
.rm-nav-panel-link.is-active { font-weight: 700; }

.rm-nav-sep { width: 1px; height: 1rem; background: var(--rm-line); }

.rm-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 1px solid var(--rm-line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--rm-ink);
  cursor: pointer;
}

.rm-nav-panel {
  display: none;
  flex-direction: column;
  padding: 0.35rem 1.25rem 1rem;
  border-top: 1px solid var(--rm-line);
  background: #fff;
}

.rm-header.is-nav-open .rm-nav-panel { display: flex; }
.rm-nav-panel[hidden] { display: none !important; }

.rm-nav-panel-link {
  display: block;
  padding: 0.8rem 0.15rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--rm-paper-2);
}

.rm-nav-panel-cta { color: var(--rm-primary); font-weight: 700; border-bottom: 0; }

@media (min-width: 900px) {
  .rm-nav { padding: 0 2rem; }
  .rm-nav-links, .rm-nav-actions { display: flex; }
  .rm-nav-toggle { display: none; }
}

/* Hero */
.rm-hero { padding: 3.5rem 0 2.5rem; background: #fff; }
.rm-hero-center { text-align: center; }
.rm-hero-center .rm-lead { margin-left: auto; margin-right: auto; }

.rm-hero h1,
.rm-section h2,
.rm-band h2,
.rm-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--rm-ink);
}

.rm-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  max-width: 16em;
}

.rm-hero-center h1 { margin-left: auto; margin-right: auto; }

.rm-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-primary);
}

.rm-lead,
.rm-prose,
.rm-card p,
.rm-tile p,
.rm-section-head p {
  color: var(--rm-muted);
  font-weight: 400;
}

.rm-lead {
  max-width: 40rem;
  font-size: 1.0625rem;
  margin: 0 0 1.5rem;
}

.rm-lead-left { margin-left: 0; }

.rm-hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.rm-hero-brand { display: none; }

@media (min-width: 900px) {
  .rm-hero { padding: 4.75rem 0 3.5rem; }
  .rm-hero-grid {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }
  .rm-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    min-height: 14rem;
    border-radius: 1rem;
    background: var(--rm-primary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .rm-hero-brand span {
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
  }
}

/* Ticker */
.rm-ticker {
  overflow: hidden;
  border-block: 1px solid var(--rm-line);
  background: var(--rm-primary);
  color: #fff;
}

.rm-ticker-track {
  display: flex;
  width: max-content;
  animation: rm-ticker 28s linear infinite;
}

.rm-ticker p {
  margin: 0;
  padding: 0.7rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes rm-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.rm-section { padding: 3.25rem 0; }
.rm-section-muted { background: var(--rm-paper-2); }
.rm-section h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0 0 0.7rem; }
.rm-section h3, .rm-card h3, .rm-tile h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}
.rm-section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.rm-section-head p, .rm-prose { margin: 0 0 0.9rem; }
.rm-prose:last-child { margin-bottom: 0; }

.rm-split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .rm-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
}

.rm-grid {
  display: grid;
  gap: 1rem;
}

.rm-grid-3 { margin-top: 1.25rem; }

@media (min-width: 720px) {
  .rm-grid, .rm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rm-card, .rm-dossier, .rm-tile, .rm-manifesto {
  background: var(--rm-card);
  border: 1px solid var(--rm-line);
  border-radius: 1rem;
}

.rm-card { padding: 1.35rem 1.4rem; }
.rm-card p, .rm-tile p { margin: 0; font-size: 0.9375rem; }

.rm-mosaic { display: grid; gap: 1rem; }

@media (min-width: 720px) {
  .rm-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .rm-mosaic { grid-template-columns: 1.15fr 1fr 1fr; }
  .rm-tile-feature { grid-row: span 2; }
}

.rm-tile { padding: 1.4rem 1.35rem 1.5rem; transition: border-color 160ms ease, transform 160ms ease; }
.rm-tile:hover { border-color: color-mix(in srgb, var(--rm-primary) 40%, var(--rm-line)); transform: translateY(-2px); }
.rm-tile span {
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rm-primary);
}

.rm-tile-feature {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: #fff;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.rm-tile-feature span { color: rgb(255 255 255 / 0.75); }
.rm-tile-feature h3, .rm-tile-feature p { color: #fff; }
.rm-tile-feature p { max-width: 24rem; }

.rm-manifesto {
  padding: 2.25rem 1.5rem;
  background: var(--rm-primary-soft);
  border-color: color-mix(in srgb, var(--rm-primary) 18%, white);
}

.rm-manifesto p:last-child {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--rm-ink);
}

.rm-dossier { padding: 1.35rem; box-shadow: 0 16px 40px rgb(26 86 196 / 0.06); }
.rm-dossier-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.rm-amount { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.rm-note, .rm-muted { color: var(--rm-muted); font-size: 0.875rem; }

.rm-steps, .rm-circuit { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.rm-steps li, .rm-circuit li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--rm-paper);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
}
.rm-steps span {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--rm-line);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rm-muted);
}
.rm-steps li.is-done span, .rm-steps li.is-current span {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: #fff;
}
.rm-steps p, .rm-circuit span { display: block; margin: 0.15rem 0 0; color: var(--rm-muted); font-size: 0.9rem; }
.rm-steps strong, .rm-circuit strong { color: var(--rm-ink); }

.rm-circuit { margin-top: 0; }
.rm-circuit li { display: grid; gap: 0.15rem; }

.rm-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1rem 0 0; }
.rm-pills li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rm-line);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rm-muted);
}
.rm-pills li.is-done { color: var(--rm-primary); border-color: color-mix(in srgb, var(--rm-primary) 35%, var(--rm-line)); background: var(--rm-primary-soft); }
.rm-pills li.is-current { color: #fff; background: var(--rm-primary); border-color: var(--rm-primary); }

.rm-bridge { display: grid; gap: 1.5rem; align-items: center; }
.rm-bridge-links { display: grid; gap: 0.75rem; }
.rm-bridge-links a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--rm-line);
}
.rm-bridge-links a:hover { border-color: color-mix(in srgb, var(--rm-primary) 45%, var(--rm-line)); }
.rm-bridge-links .material-symbols-outlined { color: var(--rm-primary); }
.rm-bridge-links strong { display: block; color: var(--rm-ink); }
.rm-bridge-links em { display: block; font-style: normal; font-size: 0.8125rem; color: var(--rm-muted); }

@media (min-width: 900px) {
  .rm-bridge { grid-template-columns: 0.8fr 1.2fr; }
  .rm-bridge-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rm-table-wrap {
  background: #fff;
  border: 1px solid var(--rm-line);
  border-radius: 1rem;
  overflow: auto;
}
.rm-table { width: 100%; border-collapse: collapse; margin: 0; min-width: 36rem; }
.rm-table th, .rm-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--rm-line); text-align: left; }
.rm-table thead th { background: var(--rm-primary-soft); color: var(--rm-primary-deep); }
.rm-table tbody th { font-weight: 700; width: 22%; }

.rm-band { background: var(--rm-ink); color: #fff; padding: 3rem 0; }
.rm-band h2, .rm-band p { color: #fff; }
.rm-band p { margin: 0.4rem 0 0; max-width: 36rem; color: rgb(255 255 255 / 0.82); }
.rm-band-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; align-items: center; }

.rm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.rm-actions-center { justify-content: center; }

.btn-primary {
  --bs-btn-bg: var(--rm-primary);
  --bs-btn-border-color: var(--rm-primary);
  --bs-btn-hover-bg: var(--rm-primary-deep);
  --bs-btn-hover-border-color: var(--rm-primary-deep);
  --bs-btn-color: #fff;
  --bs-btn-font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
}
.btn-outline-primary {
  --bs-btn-color: var(--rm-primary);
  --bs-btn-border-color: var(--rm-primary);
  --bs-btn-hover-bg: var(--rm-primary);
  --bs-btn-hover-border-color: var(--rm-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
}
.btn-light, .btn-outline-light { border-radius: 999px; font-weight: 700; padding: 0.55rem 1.15rem; }

/* Footer — colonnes sombres, comme Gape */
.rm-footer {
  margin-top: auto;
  background: var(--rm-ink);
  color: #fff;
  padding: 3.5rem 0 2rem;
}
.rm-footer-inner { display: grid; gap: 2rem; }
.rm-footer-brand img { height: 2.4rem; width: auto; margin-bottom: 0.9rem; }
.rm-footer-brand p, .rm-footer a { color: rgb(255 255 255 / 0.72); }
.rm-footer a { text-decoration: none; }
.rm-footer a:hover { color: #fff; }
.rm-footer h2 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: #fff;
}
.rm-footer-cols { display: grid; gap: 1.25rem; }
.rm-footer-cols a { display: block; padding: 0.2rem 0; font-weight: 600; }
.rm-footer-copy { margin: 1.75rem 0 0; font-size: 0.875rem; color: rgb(255 255 255 / 0.55); }

@media (min-width: 800px) {
  .rm-footer-inner { grid-template-columns: 0.8fr 1.4fr; align-items: start; }
  .rm-footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Auth */
.rm-auth { width: min(32rem, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 4rem; }
.rm-auth-wide { width: min(46rem, calc(100% - 2rem)); }
.rm-title { font-size: 1.75rem; margin-bottom: 0.35rem; }

/* Register wizard — même structure que Gape (intro + stepper + carte) */
.rm-auth-page {
  padding: 3rem 0 4rem;
  max-width: 42rem;
}
.rm-auth-centered {
  text-align: center;
}
.rm-auth-centered .rm-lead,
.rm-auth-centered form {
  margin-left: auto;
  margin-right: auto;
}
.rm-auth-centered .btn { margin-left: 0.25rem; margin-right: 0.25rem; }
.rm-auth-page .form-control,
.rm-auth-page .form-select {
  border-radius: 0.85rem;
  border-color: var(--rm-line);
  min-height: 2.85rem;
}
.rm-auth-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.rm-auth-intro .rm-lead {
  margin-left: auto;
  margin-right: auto;
}
.rm-lead-tight {
  margin-top: 0.35rem;
  margin-bottom: 0;
  max-width: 28rem;
}
.rm-auth-intro .alert {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.rm-auth-intro .rm-stepper { margin-bottom: 0; }
.rm-auth-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rm-ink);
}
.rm-auth-card {
  background: var(--rm-card);
  border: 1px solid var(--rm-line);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.65rem;
  box-shadow: 0 12px 32px rgb(26 86 196 / 0.05);
}
@media (min-width: 640px) {
  .rm-auth-card { padding: 1.85rem 1.75rem 2rem; }
}
.rm-auth-alt {
  margin-top: 1.5rem;
  text-align: center;
}
.rm-auth-alt p { margin: 0; color: var(--rm-muted); font-size: 0.9375rem; }
.rm-auth-alt a { font-weight: 700; text-decoration: none; }
.rm-auth-alt a:hover { text-decoration: underline; }

.rm-stepper {
  max-width: 28rem;
  margin: 1.25rem auto 0;
}
.rm-stepper-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.rm-stepper-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background: var(--rm-primary);
  transform: translateY(-50%);
  z-index: 0;
  transition: width 0.35s ease;
}
.rm-stepper-progress.is-1 { width: 16%; }
.rm-stepper-progress.is-2 { width: 50%; }
.rm-stepper-progress.is-3 { width: 100%; }
.rm-stepper-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rm-line);
  transform: translateY(-50%);
  z-index: -1;
}
.rm-dot-step {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--rm-card);
  border: 1px solid var(--rm-line);
  color: var(--rm-muted);
}
.rm-dot-step.is-active {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: var(--rm-on-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rm-primary) 18%, transparent);
}
.rm-dot-step.is-done {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: var(--rm-on-primary);
}
.rm-dot-step .material-symbols-outlined { font-size: 1.15rem; }
.rm-stepper-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rm-muted);
}
.rm-stepper-labels .is-active,
.rm-stepper-labels .is-done {
  color: var(--rm-primary);
  font-weight: 700;
}

.rm-auth-summary {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  background: color-mix(in srgb, var(--rm-primary) 8%, var(--rm-card));
  border: 1px solid color-mix(in srgb, var(--rm-primary) 22%, var(--rm-line));
  border-radius: 0.85rem;
}
@media (min-width: 768px) {
  .rm-auth-summary { grid-template-columns: 1fr 1fr; }
}
.rm-auth-summary-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rm-primary);
  margin-bottom: 0.25rem;
}
.rm-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--rm-muted);
  cursor: pointer;
}
.rm-auth-check input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--rm-primary);
  flex-shrink: 0;
}
.rm-auth-check a {
  color: var(--rm-primary);
  font-weight: 700;
  text-decoration: none;
}
.rm-auth-check a:hover { text-decoration: underline; }
.rm-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.rm-auth-actions-split { justify-content: space-between; }
.rm-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.rm-auth-btn .material-symbols-outlined { font-size: 1.15rem; }
.rm-auth-page .form-group { margin-bottom: 0; }
.rm-auth-page .form-note {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--rm-muted);
}
.rm-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.rm-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--rm-line); }
.rm-list li:last-child { border-bottom: 0; }

/* Login — split professionnel */
.rm-login {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, color-mix(in srgb, var(--rm-primary) 14%, transparent), transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 100%, color-mix(in srgb, var(--rm-primary) 8%, transparent), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--rm-paper) 100%);
  padding: 1.5rem 0 2.5rem;
}
.rm-login-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
.rm-login-aside {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background:
    linear-gradient(155deg, var(--rm-primary-deep) 0%, var(--rm-primary) 48%, #3a7bc8 100%);
  color: #fff;
  min-height: 28rem;
  box-shadow:
    0 18px 40px rgb(30 79 140 / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.rm-login-aside::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  pointer-events: none;
}
.rm-login-aside::after {
  content: "";
  position: absolute;
  inset: auto auto -15% -10%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.12);
  pointer-events: none;
}
.rm-login-aside-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  height: 100%;
  padding: 2.25rem 2rem 2.35rem;
}
.rm-login-brand-icon {
  position: absolute;
  top: 1.75rem;
  left: 2rem;
  display: block;
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}
.rm-login-aside-lead {
  margin: 0;
  max-width: 18em;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(255 255 255 / 0.92);
}
.rm-login-points {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.rm-login-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.86);
}
.rm-login-points .material-symbols-outlined {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-top: 0.05rem;
}
.rm-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22rem;
}
.rm-login-card {
  width: min(100%, 26.5rem);
  padding: 2rem 1.65rem 1.75rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--rm-line);
  box-shadow:
    0 1px 0 rgb(15 23 42 / 0.03),
    0 18px 40px rgb(15 23 42 / 0.06);
  animation: rm-login-rise 480ms ease both;
}
.rm-login-card .rm-kicker { margin-bottom: 0.55rem; }
.rm-login-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--rm-ink);
}
.rm-login-lead {
  margin: 0.85rem 0 0;
  font-size: 0.9875rem;
  line-height: 1.55;
  color: var(--rm-muted);
}
.rm-login-alert { margin: 1.15rem 0 0; }
.rm-login-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  min-height: 3.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--rm-primary) 28%, transparent);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.rm-login-cta .material-symbols-outlined {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}
.rm-login-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--rm-primary) 34%, transparent);
}
.rm-login-cta:hover .material-symbols-outlined {
  transform: translateX(2px);
}
.rm-login-meta {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--rm-muted) 88%, transparent);
  text-align: center;
}
.rm-login-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rm-line);
  font-size: 0.9rem;
  color: var(--rm-muted);
}
.rm-login-foot a {
  font-weight: 700;
  color: var(--rm-primary);
  text-underline-offset: 0.18em;
}
.rm-login-foot a:hover { color: var(--rm-primary-deep); }
@keyframes rm-login-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 900px) {
  .rm-login { padding: 2.25rem 0 3.25rem; }
  .rm-login-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
    min-height: 34rem;
  }
  .rm-login-aside { display: block; }
  .rm-login-card {
    padding: 2.35rem 2.1rem 2rem;
    border-radius: 1.65rem;
  }
}

.form-control, .form-select { font-family: var(--font-family); }

/* Accueil — split asymétrique + filmstrip processus */
.rm-landing-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 100% 10%, color-mix(in srgb, var(--rm-primary) 18%, transparent), transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 90%, color-mix(in srgb, var(--rm-primary) 10%, transparent), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--rm-paper) 100%);
  padding: 3.25rem 0 2.75rem;
}
.rm-landing-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.rm-landing-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--rm-primary);
  line-height: 1;
}
.rm-landing-copy h1 {
  margin: 0;
  max-width: 11.5em;
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--rm-ink);
}
.rm-landing-lead {
  margin: 1.2rem 0 0;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--rm-muted);
}
.rm-landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin: 1.6rem 0 0;
}
.rm-landing-link {
  font-weight: 700;
  color: var(--rm-primary);
  text-underline-offset: 0.2em;
}
.rm-landing-link:hover { color: var(--rm-primary-deep); }
.rm-landing-visual {
  justify-self: end;
  width: min(100%, 34rem);
  margin-inline: auto 0;
}
.rm-landing-visual.rm-shot::before {
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, color-mix(in srgb, var(--rm-primary) 32%, transparent), transparent 70%),
    color-mix(in srgb, var(--rm-primary) 12%, transparent);
}
.rm-landing-visual.rm-shot-hero img {
  transform: translate(4%, 0) rotate(2.2deg);
  box-shadow:
    0 2px 4px rgb(15 23 42 / 0.06),
    0 22px 44px rgb(15 23 42 / 0.12),
    0 48px 90px rgb(39 100 175 / 0.18);
}
.rm-landing-visual.rm-shot-hero:hover img {
  transform: translate(2%, -8px) rotate(0deg);
}
@media (min-width: 900px) {
  .rm-landing-hero { padding: 4.5rem 0 3.5rem; }
  .rm-landing-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 3.5rem;
  }
  .rm-landing-visual {
    margin-right: -1.5rem;
    width: 100%;
  }
}

.rm-landing-film {
  background: var(--rm-ink);
  color: #fff;
  padding: 4.75rem 0 5rem;
}
.rm-landing-film-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}
.rm-landing-film-head .rm-kicker { color: rgb(255 255 255 / 0.55); }
.rm-landing-film-head h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.rm-landing-film-head .rm-landing-link { color: #fff; }
.rm-landing-film-head .rm-landing-link:hover { color: rgb(255 255 255 / 0.85); }

.rm-filmstrip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(14.5rem, 1fr);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.rm-filmstrip li {
  scroll-snap-align: start;
  position: relative;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.1rem;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.12);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.rm-filmstrip li:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: color-mix(in srgb, var(--rm-primary) 55%, transparent);
  transform: translateY(-3px);
}
.rm-filmstrip-num {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--rm-primary) 70%, #fff);
}
.rm-filmstrip strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.rm-filmstrip p {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.72);
}
@media (min-width: 900px) {
  .rm-filmstrip {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    gap: 1rem;
  }
}

.rm-landing-worth {
  background: var(--rm-paper);
  padding: 3rem 0 3.5rem;
}
.rm-worth-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
.rm-worth-visual {
  margin: 0;
  border-radius: 1.75rem;
  overflow: hidden;
  background: var(--rm-paper-2);
  min-height: 18rem;
}
.rm-worth-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rm-worth-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.rm-worth-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.03);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.rm-worth-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--rm-primary) 28%, var(--rm-line));
  box-shadow: 0 14px 32px rgb(15 23 42 / 0.08);
  color: inherit;
  text-decoration: none;
}
.rm-worth-card.is-accent {
  border-color: var(--rm-primary);
}
.rm-worth-card.is-accent:hover {
  border-color: var(--rm-primary-deep);
}
.rm-worth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.rm-worth-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.rm-worth-card-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: var(--rm-primary-soft);
  color: var(--rm-primary);
  flex: 0 0 auto;
}
.rm-worth-card-icon .material-symbols-outlined {
  font-size: 1.15rem;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}
.rm-worth-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-primary);
  line-height: 1.2;
}
.rm-worth-card-go {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--rm-primary);
  color: #fff;
  flex: 0 0 auto;
  transition: background 200ms ease, transform 200ms ease;
}
.rm-worth-card-go .material-symbols-outlined {
  font-size: 1.15rem;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20;
}
.rm-worth-card:hover .rm-worth-card-go {
  background: var(--rm-primary-deep);
  transform: translate(1px, -1px);
}
.rm-worth-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--rm-ink);
}
.rm-worth-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--rm-muted);
}
@media (min-width: 640px) {
  .rm-worth-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
@media (min-width: 960px) {
  .rm-landing-worth { padding: 4rem 0 4.5rem; }
  .rm-worth-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.35rem;
    min-height: 34rem;
  }
  .rm-worth-visual {
    min-height: 100%;
    border-radius: 1.85rem;
  }
  .rm-worth-cards {
    gap: 1.15rem;
    height: 100%;
  }
  .rm-worth-card {
    padding: 1.5rem 1.45rem 1.55rem;
    border-radius: 1.65rem;
  }
}

/* À propos — mission, éthique, valeur ajoutée */
.rm-mission {
  background: #fff;
  padding: 4.5rem 0 3rem;
}
.rm-mission h1 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2.4rem, 5.4vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.rm-mission-lead {
  margin: 1.5rem 0 0;
  max-width: 65rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--rm-muted);
}

.rm-ethics {
  padding: 2.75rem 0 3.25rem;
  background: var(--rm-paper);
}
.rm-ethics h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.rm-ethics-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.rm-ethics-cards li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  margin: 0;
  padding: 1.25rem 1.3rem 1.35rem;
  background: #fff;
  border: 1px solid var(--rm-line);
  border-radius: 1.15rem;
  box-shadow: 0 12px 28px rgba(26, 28, 30, 0.04);
}
.rm-ethics-index {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rm-primary);
}
.rm-ethics-cards h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.rm-ethics-cards li > p:last-child {
  margin: 0.2rem 0 0;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-worth {
  background: var(--rm-primary-soft);
  padding: 3.5rem 0;
}
.rm-worth h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.rm-worth p {
  margin: 0 0 1rem;
  color: var(--rm-ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.rm-worth p:last-child { margin-bottom: 0; }

.rm-mission-close {
  background: #fff;
  padding: 3rem 0 3.75rem;
}
.rm-mission-close > .rm-wrap > p {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

@media (min-width: 720px) {
  .rm-ethics-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .rm-ethics-cards { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .rm-ethics-cards li:nth-child(-n+3) { grid-column: span 2; }
  .rm-ethics-cards li:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 860px) {
  .rm-mission { padding: 6rem 0 3.5rem; }
  .rm-worth-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3rem;
    align-items: start;
  }
  .rm-worth h2 { margin: 0; }
}

/* Tarifs — cartes + bascule, comme une page de formules */
.rm-price-hero { background: #fff; text-align: center; padding: 3.75rem 0 1rem; }
.rm-price-hero h1 {
  margin: 0 auto 0.85rem;
  max-width: 16em;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.rm-price-hero .rm-lead { margin-left: auto; margin-right: auto; }

.rm-price { padding: 0.5rem 0 2.5rem; background: #fff; }
.rm-bill-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.rm-bill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  color: var(--rm-muted);
  font-weight: 600;
}
.rm-bill label {
  margin: 0;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--rm-line);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: var(--rm-ink);
}
#rm-bill-month:checked ~ .rm-bill label[for="rm-bill-month"],
#rm-bill-year:checked ~ .rm-bill label[for="rm-bill-year"] {
  background: var(--rm-primary);
  border-color: var(--rm-primary);
  color: #fff;
}
#rm-bill-month:focus-visible ~ .rm-bill label[for="rm-bill-month"],
#rm-bill-year:focus-visible ~ .rm-bill label[for="rm-bill-year"] {
  outline: 2px solid var(--rm-primary);
  outline-offset: 2px;
}

.rm-plan-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
.rm-plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rm-line);
  border-radius: 1.15rem;
  padding: 1.4rem 1.25rem 1.3rem;
}
.rm-plan.is-featured {
  border: 2px solid var(--rm-primary);
  box-shadow: 0 18px 40px rgb(26 86 196 / 0.12);
}
.rm-plan h2 { margin: 0 0 0.85rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.rm-plan-figure {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.rm-plan-figure small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rm-muted);
}
.rm-plan-other { margin: 0.45rem 0 1rem; color: var(--rm-muted); font-size: 0.875rem; }
.rm-when-year { display: none; }
#rm-bill-year:checked ~ .rm-plan-grid .rm-when-month { display: none; }
#rm-bill-year:checked ~ .rm-plan-grid .rm-when-year { display: block; }
.rm-plan .btn { margin-bottom: 1rem; }
.rm-plan-list { list-style: none; margin: 0; padding: 0.25rem 0 0; border-top: 1px solid var(--rm-line); }
.rm-plan-features {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rm-line);
}
.rm-plan-features .rm-plan-list { border-top: 0; padding-top: 0; }
.rm-plan-list li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  font-size: 0.9375rem;
}
.rm-plan-list .material-symbols-outlined { font-size: 1.1rem; color: var(--rm-primary); }

.rm-faq { display: grid; gap: 0.65rem; margin-top: 1rem; }
.rm-faq details {
  background: #fff;
  border: 1px solid var(--rm-line);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
}
.rm-faq summary { cursor: pointer; font-weight: 700; }
.rm-faq p { margin: 0.7rem 0 0; color: var(--rm-muted); }

@media (min-width: 900px) {
  .rm-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-plan.is-featured { transform: translateY(-0.65rem); }
}

/* Fonctionnalités — blocs mis en avant */
.rm-feat-hero { background: #fff; padding: 3.5rem 0 2rem; }
.rm-feat-hero h1 {
  margin: 0 0 1rem;
  max-width: 16em;
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.rm-feat-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.rm-feat-jump a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--rm-primary);
  border: 1px solid color-mix(in srgb, var(--rm-primary) 35%, var(--rm-line));
  background: var(--rm-primary-soft);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.rm-feat-jump a:hover { background: var(--rm-primary); color: #fff; }

.rm-feat { padding: 2.75rem 0; background: #fff; scroll-margin-top: 5rem; }
.rm-feat-alt { background: var(--rm-paper-2); }
.rm-feat-row { display: grid; gap: 1.25rem; }
.rm-feat-num {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rm-primary);
}
.rm-feat h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.rm-feat-row p { margin: 0 0 1rem; color: var(--rm-muted); max-width: 40rem; }
.rm-feat-row ul, .rm-feat-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.rm-feat-row li {
  padding-left: 1rem;
  border-left: 2px solid var(--rm-primary);
  color: var(--rm-ink);
}
.rm-feat-steps li strong { display: block; }
.rm-feat-row .rm-pills { margin: 0 0 1rem; padding: 0; }
.rm-feat-row .rm-pills li { padding-left: 0.85rem; border-left: 0; }

.rm-feat-more {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.rm-feat-more div {
  padding-top: 1rem;
  border-top: 1px solid var(--rm-line);
}
.rm-feat-more dt { font-weight: 700; margin-bottom: 0.25rem; }
.rm-feat-more dd { margin: 0; color: var(--rm-muted); }

@media (min-width: 860px) {
  .rm-feat-hero { padding: 4.5rem 0 2.25rem; }
  .rm-feat { padding: 3.5rem 0; }
  .rm-feat-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: start; }
  .rm-feat-more { grid-template-columns: 1fr 1fr; }
  .rm-feat-more div:nth-child(odd) { padding-right: 1.5rem; }
}

/* Product shots — Avibe-style floating UI */
.rm-shot {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rm-shot::before {
  content: "";
  position: absolute;
  inset: 12% -6% -8% 8%;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, color-mix(in srgb, var(--rm-primary) 28%, transparent), transparent 70%),
    color-mix(in srgb, var(--rm-primary) 8%, transparent);
  z-index: 0;
  pointer-events: none;
}
.rm-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 36rem;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgb(15 23 42 / 0.08);
  box-shadow:
    0 2px 4px rgb(15 23 42 / 0.04),
    0 18px 40px rgb(15 23 42 / 0.12),
    0 40px 80px rgb(39 100 175 / 0.14);
  background: #fff;
  transform: translateY(0) rotate(-0.6deg);
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.rm-shot:hover img {
  transform: translateY(-6px) rotate(0deg);
  box-shadow:
    0 4px 8px rgb(15 23 42 / 0.05),
    0 24px 48px rgb(15 23 42 / 0.14),
    0 48px 96px rgb(39 100 175 / 0.18);
}
.rm-shot-hero::before {
  inset: 8% -10% -12% 4%;
  background:
    radial-gradient(ellipse 90% 80% at 60% 40%, rgb(255 255 255 / 0.14), transparent 65%),
    radial-gradient(ellipse 70% 60% at 80% 20%, rgb(39 100 175 / 0.35), transparent 70%);
}
.rm-shot-hero img {
  max-width: 100%;
  transform: rotate(1.2deg);
  box-shadow:
    0 2px 4px rgb(0 0 0 / 0.12),
    0 24px 48px rgb(0 0 0 / 0.28),
    0 48px 96px rgb(39 100 175 / 0.25);
}
.rm-shot-hero:hover img {
  transform: translateY(-8px) rotate(0deg);
}

.rm-feat-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.rm-feat-copy p { margin: 0 0 1rem; color: var(--rm-muted); max-width: 38rem; }
.rm-feat-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.rm-feat-copy li {
  padding-left: 1rem;
  border-left: 2px solid var(--rm-primary);
  color: var(--rm-ink);
}
@media (min-width: 900px) {
  .rm-feat-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
  .rm-feat-split-rev { direction: rtl; }
  .rm-feat-split-rev > * { direction: ltr; }
}

/* Comment ça marche */
.rm-how { padding: 1rem 0 3rem; background: var(--rm-paper); }
.rm-how-list { display: grid; gap: 0; }
.rm-how-step {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--rm-line);
  scroll-margin-top: 5rem;
}
.rm-how-step:last-child { border-bottom: 0; }
.rm-how-copy p:last-of-type {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--rm-muted);
}
.rm-how-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
@media (min-width: 900px) {
  .rm-how-step {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    padding: 3.5rem 0;
  }
  .rm-how-step-alt { direction: rtl; }
  .rm-how-step-alt > * { direction: ltr; }
}

.rm-cta {
  background:
    radial-gradient(ellipse 70% 90% at 100% 50%, rgb(39 100 175 / 0.45), transparent 55%),
    var(--rm-ink);
}
.rm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
