.rdv-body {
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 78% 14%, rgba(106, 165, 255, 0.22), transparent 54%),
    radial-gradient(680px circle at 10% 42%, rgba(119, 91, 255, 0.15), transparent 58%),
    linear-gradient(180deg, #06080f 0%, #04060c 52%, #020309 100%);
}

.rdv-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 6, 12, 0.55), rgba(4, 6, 12, 0.22) 48%, #04060c 100%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.1), #04060c 92%),
    url("assets/robot-still.jpg") center top / cover no-repeat;
  opacity: 0.48;
}

.rdv-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(106, 165, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 74%);
  opacity: 0.44;
}

/* Même en-tête que partout ailleurs (solide flouté + bordure basse) */
.rdv-nav {
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rdv-nav .nav-brand {
  min-height: 42px;
}

.rdv-nav .nav-pill a,
.rdv-nav .nav-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.rdv-nav .nav-pill a[aria-current="page"] {
  color: var(--ink);
  background: rgba(106, 165, 255, 0.2);
}

.rdv-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 72px;
}

.rdv-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
  gap: 54px;
  align-items: start;
}

.rdv-hero::before {
  content: "";
  position: absolute;
  left: -5vw;
  top: 22px;
  width: 58%;
  height: 620px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(106, 165, 255, 0.2), transparent 72%);
  filter: blur(18px);
  opacity: 0.8;
}

.rdv-copy {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.rdv-copy h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: 4.45rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 36px rgba(106, 165, 255, 0.18);
}

.rdv-lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(242, 246, 250, 0.72);
  font-size: 1.12rem;
  line-height: 1.75;
}

.rdv-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rdv-facts div {
  min-height: 112px;
  padding: 20px;
  background:
    radial-gradient(260px circle at 50% 0%, rgba(106, 165, 255, 0.12), transparent 68%),
    rgba(4, 6, 12, 0.58);
}

.rdv-facts dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fbaff;
}

.rdv-facts dd {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.rdv-signal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin-top: 44px;
  padding-top: 30px;
  color: rgba(242, 246, 250, 0.72);
  font-size: 0.9rem;
}

.rdv-signal::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(106, 165, 255, 0), #6aa5ff 18%, #eaf2ff 52%, #6aa5ff 84%, rgba(106, 165, 255, 0));
  box-shadow: 0 0 28px rgba(106, 165, 255, 0.58);
}

.rdv-signal span {
  position: relative;
}

.rdv-signal span::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(242, 246, 250, 0.92);
  border-radius: 999px;
  background: #050913;
  box-shadow: 0 0 18px rgba(106, 165, 255, 0.7);
}

.rdv-panel {
  position: relative;
  z-index: 1;
  padding: 34px;
  background:
    radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), rgba(106, 165, 255, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07)),
    rgba(4, 6, 12, 0.78);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 0 26px rgba(106, 165, 255, 0.11);
}

.rdv-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.rdv-seo-context {
  flex: 1 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(106, 165, 255, 0.24);
  border-radius: 14px;
  color: rgba(242, 246, 250, 0.78);
  background: rgba(106, 165, 255, 0.09);
  font-size: 0.9rem;
  line-height: 1.35;
}

.rdv-panel-head h2 {
  max-width: 330px;
  font-size: 2.05rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.rdv-step {
  color: #8fbaff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rdv-form {
  display: grid;
  gap: 16px;
}

.rdv-form label,
.rdv-choice {
  display: grid;
  gap: 9px;
}

.rdv-form label > span,
.rdv-choice legend {
  color: rgba(242, 246, 250, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.rdv-form input,
.rdv-form select,
.rdv-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--ink);
  font: 500 0.98rem var(--font-body);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}

.rdv-form select {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  /* chevron SVG net (au lieu de l'ancien triangle en dégradés) */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236aa5ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: calc(100% - 16px) 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

/* liste déroulante native : fond sombre cohérent (Chrome/Edge honorent ces couleurs) */
.rdv-form select option,
.rdv-form select optgroup {
  color: var(--ink);
  background: #0a1322;
}

.rdv-form textarea {
  min-height: 116px;
  resize: vertical;
}

.rdv-form input:focus,
.rdv-form select:focus,
.rdv-form textarea:focus {
  border-color: rgba(106, 165, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(106, 165, 255, 0.12);
}

.rdv-choice {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  border: 0;
}

.rdv-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.rdv-choice label {
  position: relative;
  display: block;
  cursor: pointer;
}

.rdv-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.rdv-choice label span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 12px;
  color: rgba(242, 246, 250, 0.78);
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  transition: border-color 0.22s, background 0.22s, color 0.22s, box-shadow 0.22s;
}

.rdv-choice input:checked + span {
  color: #050913;
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #ffffff, #a9cbff);
  box-shadow: 0 0 26px rgba(106, 165, 255, 0.32);
}

.rdv-choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.rdv-form .hero-cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.rdv-note,
.rdv-status {
  color: rgba(242, 246, 250, 0.68);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rdv-status {
  padding: 14px 16px;
  border: 1px solid rgba(106, 165, 255, 0.34);
  border-radius: 14px;
  background: rgba(106, 165, 255, 0.12);
  color: #dce9ff;
}

.rdv-status p {
  margin: 0;
}

.rdv-status-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.rdv-status-link,
.rdv-status-copy {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #050913;
  font: 800 0.88rem var(--font-body);
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #a9cbff);
  cursor: pointer;
}

.rdv-status-copy {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}

.rdv-status[hidden] {
  display: none;
}

.rdv-prepare {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: start;
  margin-top: 92px;
  padding: 46px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rdv-prepare h2 {
  max-width: 430px;
  margin-top: 16px;
  font-size: 2.4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.rdv-prepare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rdv-prepare-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(280px circle at 50% 0%, rgba(106, 165, 255, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rdv-prepare-grid span {
  color: #8fbaff;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.rdv-prepare-grid h3 {
  margin-top: 34px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.rdv-prepare-grid p {
  margin-top: 12px;
  color: rgba(242, 246, 250, 0.68);
  line-height: 1.6;
}

.rdv-footer {
  padding-top: 54px;
}

.rdv-footer .f-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

@media (max-width: 980px) {
  .rdv-page {
    width: min(100% - 36px, 720px);
    padding-top: 112px;
  }

  .rdv-hero,
  .rdv-prepare {
    grid-template-columns: 1fr;
  }

  .rdv-copy {
    padding-top: 0;
  }

  .rdv-copy h1 {
    font-size: 3.25rem;
  }

  .rdv-panel {
    padding: 26px;
  }

  .rdv-prepare-grid {
    grid-template-columns: 1fr;
  }

  .rdv-prepare-grid article {
    min-height: auto;
  }
}

@media (min-width: 721px) and (max-width: 860px) {
  .rdv-nav .nav-pill {
    display: none;
  }
}

@media (max-width: 720px) {
  .rdv-body {
    scrollbar-width: auto;
  }

  .rdv-body::before {
    background:
      linear-gradient(180deg, rgba(4, 6, 12, 0.26), #04060c 70%),
      url("assets/robot-still.jpg") 55% top / auto 520px no-repeat;
    opacity: 0.42;
  }

  .rdv-page {
    padding-top: 108px;
  }

  /* La nav est en position:fixed AVEC backdrop-filter : ce filtre crée un bloc
     conteneur, ce qui emprisonnait le panneau mobile (lui aussi position:fixed,
     inset:0) dans la hauteur de la barre (~67px) -> menu « transparent » qui ne
     couvrait pas l'écran. On retire le flou sur mobile : le fond rgba(4,6,12,.72)
     reste assez opaque, et le panneau plein écran peut enfin se déployer. */
  .rdv-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Le numéro de tél restait affiché sur mobile (règle de base .rdv-nav .nav-ghost
     plus spécifique que le .nav-ghost{display:none} de styles.css) et chevauchait
     le burger. On le masque comme sur les autres pages. */
  .rdv-nav .nav-ghost {
    display: none;
  }

  .rdv-nav .nav-burger {
    position: fixed;
    top: 12px;
    right: 16px;
  }

  .rdv-footer .f-col a {
    min-height: 44px;
  }

  .rdv-copy h1 {
    font-size: 2.45rem;
    line-height: 1;
  }

  .rdv-lead {
    font-size: 1rem;
  }

  .rdv-signal,
  .rdv-choice,
  .rdv-form .form-row {
    grid-template-columns: 1fr;
  }

  .rdv-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    border-radius: 18px;
  }

  .rdv-facts div {
    min-height: 94px;
    padding: 14px 10px;
  }

  .rdv-facts dt {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .rdv-facts dd {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .rdv-signal {
    gap: 28px;
    margin-top: 32px;
    padding-left: 28px;
    padding-top: 0;
  }

  .rdv-signal::before {
    top: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(106, 165, 255, 0), #6aa5ff 18%, #eaf2ff 52%, #6aa5ff 84%, rgba(106, 165, 255, 0));
  }

  .rdv-signal span::before {
    top: 2px;
    left: -28px;
  }

  .rdv-panel-head {
    display: grid;
    gap: 12px;
  }

  .rdv-panel-head h2,
  .rdv-prepare h2 {
    font-size: 2rem;
  }

  .rdv-status-actions {
    grid-template-columns: 1fr;
  }
}
