/* Démarrage guidé : bouton Créer, navigation regroupée, bandeau, assistant, raccourcis et états vides. */
.rv-bar-in { gap: .6rem 1rem; }
.rv-create { position: relative; }
.rv-create-b { cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; border-radius: 980px; padding: .45rem 1.05rem .45rem .85rem; font-weight: 650; background: linear-gradient(135deg, #1d1d1f, #3a3a3c); border: 0; color: #fff; box-shadow: 0 6px 18px rgba(29,29,31,.35); white-space: nowrap; }
.rv-menu[hidden] { display: none; } .rv-create-b .ic { width: 18px; height: 18px; }
.rv-create-b:hover { filter: brightness(1.06); color: #fff; } .rv-create-b:focus-visible { outline: 3px solid #1d1d1f; outline-offset: 2px; }
.rv-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid rgba(29,29,31,.18); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.22); padding: .5rem; }
.rv-menu-h { margin: .35rem .6rem .4rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #6e6e73; font-weight: 700; }
.rv-menu a { display: flex; gap: .7rem; align-items: center; padding: .55rem .65rem; border-radius: 12px; color: #1d1d1f; text-decoration: none; }
.rv-menu a:hover, .rv-menu a:focus-visible { background: rgba(29,29,31,.09); outline: none; } .rv-menu a .ic { width: 20px; height: 20px; color: #1d1d1f; flex: none; }
.rv-menu a b { display: block; font-size: .95rem; } .rv-menu a small { display: block; color: #6e6e73; font-size: .78rem; line-height: 1.25; }
.rv-out { margin-left: auto; }
.rv-nav { order: 3; flex-basis: 100%; gap: .15rem .2rem; }
.rv-nav .rv-sep { flex-basis: 100%; height: 0; }
.rv-nav a.sec { font-size: .85rem; padding: .22rem .65rem; color: #636366; font-weight: 450; } .rv-nav a.sec.on { color: #fff; }
.rv-nav a:not(.sec) { font-weight: 600; }
@media (max-width: 640px) {
  .rv-bar-in { padding: .5rem .75rem; } .rv-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .15rem; } .rv-nav .rv-sep { flex: 0 0 1px; height: 22px; background: rgba(29,29,31,.25); margin: 0 .35rem; align-self: center; }
  .rv-nav a { white-space: nowrap; flex: none; } .rv-nav a.sec { font-size: .9rem; padding: .35rem .8rem; }
  .rv-out .btn { padding: .25rem .6rem; } .rv-logo span.t, .rv-logo { font-size: 1rem; }
}
/* Bandeau Terminez votre configuration */
.rv-onb { background: linear-gradient(120deg, #f2f2f7, #e1f8f4); border-bottom: 1px solid rgba(29,29,31,.16); }
.rv-onb-in { max-width: min(1760px, 100%); margin: 0 auto; padding: .6rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.rv-onb-t b { display: block; color: #1d1d1f; } .rv-onb-t span { font-size: .85rem; color: #48484a; }
.rv-onb-s { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; flex-wrap: wrap; flex: 1 1 auto; } .rv-onb-t { flex: 0 1 15rem; }
.rv-onb-s a { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .6rem .2rem .25rem; border-radius: 980px; background: rgba(255,255,255,.75); color: #3a3a3c; text-decoration: none; font-size: .78rem; }
.rv-onb-s i, .rv-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 700; background: #d2d2d7; color: #3a3a3c; flex: none; } .rv-onb-s i .ic, .rv-steps i .ic { width: 13px; height: 13px; }
.rv-onb-s .done i, .rv-steps .done i { background: #12a37f; color: #fff; } .rv-onb-s .skip i, .rv-steps .skip i { background: #f4b740; color: #3a2a00; }
.rv-onb-a { display: flex; align-items: center; gap: .25rem; margin-left: auto; } .rv-onb-a form { margin: 0; }
@media (max-width: 640px) { .rv-onb-s { display: none; } .rv-onb-a { margin-left: 0; } }
/* Bienvenue */
.rv-welcome { border-radius: 22px; padding: 1.4rem 1.5rem; background: linear-gradient(130deg, #f2f2f7, #f5f5f7 55%, #e1f8f4); border: 1px solid rgba(29,29,31,.18); display: grid; gap: .7rem; }
.rv-welcome h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.8rem); color: #1d1d1f; } .rv-welcome p { margin: 0; color: #48484a; }
.rv-welcome-s { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.rv-welcome-s li { counter-increment: s; background: rgba(255,255,255,.8); border-radius: 14px; padding: .7rem .8rem .7rem 2.7rem; position: relative; display: grid; gap: .1rem; }
.rv-welcome-s li::before { content: counter(s); position: absolute; left: .75rem; top: .7rem; width: 24px; height: 24px; border-radius: 50%; background: #1d1d1f; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.rv-welcome-s b { color: #1d1d1f; } .rv-welcome-s span { font-size: .85rem; color: #636366; line-height: 1.3; }
.rv-welcome-a { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
/* Raccourcis, alertes d'action, astuces */
.rv-short { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .7rem; }
.rv-short a { display: flex; gap: .75rem; align-items: center; padding: .8rem 1rem; border-radius: 16px; background: #fff; border: 1.5px solid #f2f2f7; text-decoration: none; color: #1d1d1f; } .rv-short a:hover { border-color: #1d1d1f; box-shadow: 0 8px 22px rgba(29,29,31,.16); }
.rv-short .ic { width: 22px; height: 22px; color: #1d1d1f; flex: none; } .rv-short b { display: block; } .rv-short small { color: #6e6e73; }
.rv-al { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin: 0; } .rv-al .btn { white-space: nowrap; }
.rv-tip { display: flex; gap: .7rem; align-items: flex-start; background: #f1f6ff; border: 1px solid #d5e4ff; border-radius: 14px; padding: .75rem 1rem; color: #26334d; } .rv-tip .ic { width: 20px; height: 20px; color: #3b6fd9; flex: none; margin-top: .1rem; }
.rv-presets { display: flex; flex-wrap: wrap; gap: .4rem .5rem; align-items: center; } .rv-presets span { font-weight: 600; font-size: .9rem; } .rv-presets small { color: #6e6e73; }
.ap-head .ap-head-cta { margin-left: auto; white-space: nowrap; } @media (max-width: 640px) { .ap-head { flex-wrap: wrap; } .ap-head .ap-head-cta { margin-left: 0; width: 100%; } }
.rv-photo { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; } .rv-photo > div { flex: 1 1 240px; }
/* Assistant */
.rv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.rv-steps a { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 14px; background: #f4f4fb; color: #3a3a3c; text-decoration: none; font-weight: 600; font-size: .92rem; border: 2px solid transparent; }
.rv-steps .cur a { background: #fff; border-color: #1d1d1f; box-shadow: 0 6px 18px rgba(29,29,31,.18); } .rv-steps .cur i { background: #1d1d1f; color: #fff; }
@media (max-width: 640px) { .rv-steps { grid-template-columns: repeat(4, auto); justify-content: space-between; } .rv-steps a { padding: .4rem; } .rv-steps a span { display: none; } .rv-steps .cur a span { display: none; } }
.rv-wiz h2 { font-size: 1.3rem; }
.rv-wiz-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; } @media (max-width: 900px) { .rv-wiz-grid { grid-template-columns: 1fr; } }
.rv-wiz-nav { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .5rem; } .rv-wiz-sp { flex: 1; } .rv-o1 { order: 1; } .rv-o2 { order: 2; } .rv-o3 { order: 3; } .rv-o4 { order: 4; }
@media (max-width: 640px) { .rv-wiz-nav .rv-o4 { order: 0; flex: 1 1 100%; } .rv-wiz-nav .rv-wiz-sp { display: none; } .rv-wiz-nav .rv-o1, .rv-wiz-nav .rv-o3 { flex: 1 1 auto; } }
.rv-prev { position: sticky; top: 7rem; } .rv-prev-h { font-weight: 700; margin: 0 0 .4rem; color: #636366; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.rv-prev-box { border-radius: 22px; padding: 1rem; background: linear-gradient(135deg, #1d1d1f, #3a3a3c); }
.rv-prev-card { margin: 0 !important; padding: 1.1rem !important; border-radius: 18px !important; background: #fff; color: #1d1d1f; } .rv-prev-t { font-size: 1.15rem; margin: .8rem 0 .5rem; color: #1d1d1f; }
.rv-prev-type { display: block; border: 1.5px solid #e5e5ea; border-radius: 14px; padding: .65rem .85rem; } .rv-prev-type b { display: block; } .rv-prev-type span { color: #6e6e73; font-size: .85rem; }
.rv-prev-u { margin: .6rem .2rem 0; color: #fff; font-size: .8rem; word-break: break-all; opacity: .92; }
.rv-days { display: grid; gap: .5rem; }
.rv-day { display: grid; grid-template-columns: 9.5rem 1fr; gap: .4rem .8rem; align-items: center; padding: .55rem .8rem; border-radius: 14px; background: #fff; border: 1.5px solid #f2f2f7; }
.rv-day-n { display: flex; gap: .55rem; align-items: center; margin: 0; cursor: pointer; } .rv-day-h { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.rv-rng { display: inline-flex; align-items: center; gap: .4rem; } .rv-rng input { width: 9rem; } .rv-rng[hidden], .rv-add[hidden] { display: none !important; }
.rv-closed { display: none; color: #6e6e73; } .rv-day.off .rv-rng, .rv-day.off .rv-add { display: none !important; } .rv-day.off .rv-closed { display: inline; } .rv-day.off { background: #f7f7fb; }
@media (max-width: 640px) { .rv-day { grid-template-columns: 1fr; } .rv-rng input { width: 8.2rem; } }
.rv-models { display: grid; gap: .5rem; border: 0; padding: 0; margin: 0; } .rv-model { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; border: 1.5px solid #f2f2f7; border-radius: 14px; cursor: pointer; background: #fff; margin: 0; }
.rv-model:has(input:checked) { border-color: #1d1d1f; background: #f4f3ff; } .rv-model b { display: block; } .rv-model small { color: #6e6e73; display: block; }
.rv-model input { margin-top: .3rem; }
.rv-link .input-group { flex-wrap: nowrap; } @media (max-width: 640px) { .rv-link .input-group { flex-wrap: wrap; } .rv-link .input-group > .form-control { flex: 1 1 100%; } }
#wz_dispo { margin-bottom: 1.2rem; } .rv-presets { margin: .6rem 0 .2rem; }
/* Aperçu de la page publique dans l'assistant (mêmes règles que la page publique, portée limitée) */
.rv-prev-card .rvp-host { display: flex; gap: .9rem; align-items: center; padding: 0 0 .9rem; margin: 0 0 .5rem; border-bottom: 1px solid #e5e5ea; }
.rv-prev-card .rvp-hav { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.rv-prev-card .rvp-hav.ini { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; color: #1d1d1f; background: #f2f2f7; }
.rv-prev-card .rvp-hb { min-width: 0; display: grid; gap: .1rem; } .rv-prev-card .rvp-hn { font-size: 1.1rem; } .rv-prev-card .rvp-ht { font-size: .9rem; color: #636366; }
.rv-prev-card .rvp-hbio { margin: .25rem 0 0; font-size: .88rem; line-height: 1.4; color: #3a3a3c; overflow-wrap: anywhere; } .rv-prev-card [hidden] { display: none !important; }
.rv-wiz-nav .btn-lg { font-size: 1rem; padding: .55rem 1.2rem; }
.rv-models legend { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; } @media (min-width: 641px) { .rv-wiz-nav { flex-wrap: nowrap; } }
@media (max-width: 640px) { .rv-bar-in { position: relative; } .rv-create { position: static; } .rv-menu { left: .75rem; right: .75rem; width: auto; top: 52px; max-height: 80vh; overflow-y: auto; } }

/* Mobile : barre compacte (logo + Quitter), onglets en une seule rangée défilante, cibles ≥ 40 px */
@media (max-width: 640px) {
  .rv-bar-in { padding: .5rem .75rem; gap: .35rem .6rem; align-items: center; }
  .rv-nav { order: 3; flex: 0 0 100%; flex-wrap: nowrap; align-items: center; gap: .25rem; position: relative; overflow-x: auto; overflow-y: hidden; margin: 0 -.75rem; padding: .1rem .75rem .35rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rv-nav::-webkit-scrollbar { display: none; }
  .rv-nav a { flex: none; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; padding: .4rem .9rem; }
  .rv-out { margin-left: auto; flex-wrap: nowrap; }
  .rv-who { display: none; }
  .rv-out .btn { min-height: 40px; padding: .35rem .9rem; display: inline-flex; align-items: center; }
}
@media (max-width: 640px) { .rv-bar-in .rv-create { width: auto; margin-left: auto; } .rv-bar-in .rv-create + .rv-nav + .rv-out, .rv-bar-in .rv-out { margin-left: 0; } .rv-create-b { min-height: 40px; padding: .35rem .9rem .35rem .75rem; } .rv-bar-in .rv-logo { margin-right: 0; } }
@media (max-width: 640px) { .flx-nav a, .rvf-nav a, .kb-toc a { min-height: 40px; display: inline-flex; align-items: center; } }
