/* ==========================================================================
   REVIVRE Core — styles des widgets.
   Les jetons (--rv-*) sont définis par le thème et modifiables dans
   Elementor > Réglages du site. Chaque widget a en plus ses propres réglages de style.
   ========================================================================== */

/* --- Outils communs --- */
.rv-field {
	font-size: var(--rv-fs-body); width: 100%; min-height: 44px;
	border: 1px solid var(--rv-bord); background: var(--rv-surf); border-radius: var(--rv-r-field);
	padding: 0 14px; color: var(--rv-txt); transition: border-color var(--rv-t), box-shadow var(--rv-t);
}
.rv-field:focus { outline: none; border-color: var(--rv-action); box-shadow: 0 0 0 3px var(--rv-pale); }
textarea.rv-field { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 120px; }
.rv-field[aria-invalid="true"] { border-color: var(--rv-err); }
.rv-sel { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rv-gap); }
@media (max-width: 1024px) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } }
.rv-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--rv-fs-cap); color: var(--rv-sec); }
.rv-meta span { display: inline-flex; align-items: center; gap: 5px; }
.rv-bar { height: 8px; background: var(--rv-pale); border-radius: 99px; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--rv-btn, var(--rv-action)); border-radius: 99px; transition: width 300ms; }
.rv-bar[hidden] { display: none; }
.rv-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 24px; }
.rv-chip {
	min-height: 40px; padding: 0 16px; border-radius: var(--rv-r-pill);
	border: 1px solid var(--rv-bord); background: var(--rv-surf); color: var(--rv-txt);
	font-weight: 500; cursor: pointer; transition: all var(--rv-t);
}
.rv-chip:hover { border-color: var(--rv-action); }
.rv-chip.is-on { background: var(--rv-nuit); color: #fff; border-color: var(--rv-nuit); }
.rv-chips .rv-field { max-width: 280px; margin-left: auto; }
.rv-num { width: 40px; height: 40px; border-radius: var(--rv-r-ico); background: var(--rv-pale); color: var(--rv-action); display: grid; place-items: center; font-weight: 700; flex: none; }
.rv-nav2 { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rv-bord); }
.rv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.rv-hide-m { }
.rv-editor-note { padding: 14px 16px; border: 1px dashed #93A4C7; border-radius: 12px; color: #4B5A78; font-size: 14px; background: #F7F9FD; }
.rv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-card > .rvi, .rv-btn .rvi { flex: none; }
.rv-btn .rvi, .rv-btn svg { font-size: 18px; width: 1em; height: 1em; }
.rv-btn--s .rvi { font-size: 16px; }
.rv-ico .rvi { font-size: inherit; }
.e-con > .elementor-widget-rv-card, .e-grid > .elementor-widget-rv-card { align-self: stretch; }
.elementor-widget-rv-card > .rv-cardw { height: 100%; }

/* --- Logo --- */
.rv-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--rv-fs-h3); color: var(--rv-nuit); }
.rv-logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--rv-btn, var(--rv-action)); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.rv-logo__mark svg { width: 1em; height: 1em; fill: currentColor; }
.rv-logo img { display: block; max-height: 48px; width: auto; }

/* --- Navigation --- */
.rv-nav { display: flex; }
.rv-nav__a {
	display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px;
	border-radius: 12px; font-weight: 500; color: var(--rv-txt); white-space: nowrap;
	transition: background var(--rv-t), color var(--rv-t);
}
.rv-nav__a .rvi, .rv-nav__a svg { font-size: 20px; width: 1em; height: 1em; fill: currentColor; }
.rv-nav__a:hover { background: var(--rv-fond); }
.rv-nav__a.is-on { background: var(--rv-pale); color: var(--rv-action); font-weight: 600; }
.rv-nav--vertical { flex-direction: column; gap: 2px; }
.rv-nav__sep { border: 0; border-top: 1px solid var(--rv-bord); margin: 12px 8px; }
.rv-nav--horizontal { flex-direction: row; flex-wrap: wrap; gap: 4px; }
.rv-nav--bar { width: 100%; height: 100%; align-items: stretch; }
.rv-nav--bar .rv-nav__a {
	flex: 1; flex-direction: column; justify-content: center; gap: 2px; padding: 0 2px; min-width: 0;
	font-size: var(--rv-fs-cap); color: var(--rv-sec); border-radius: 0; background: none;
}
.rv-nav--bar .rv-nav__a .rvi { font-size: 22px; }
.rv-nav--bar .rv-nav__a span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rv-nav--bar .rv-nav__a:hover { background: none; color: var(--rv-nuit); }
.rv-nav--bar .rv-nav__a.is-on { color: var(--rv-action); background: none; }
.rv-bn .elementor-widget-rv-nav, .rv-bn .e-con { height: 100%; width: 100%; }

/* --- Recherche (en-tête) --- */
.rv-sbox { display: flex; align-items: center; width: 100%; }
.rv-sbox__form { position: relative; flex: 1; max-width: 520px; }
.rv-sbox__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--rv-sec); font-size: 18px; display: flex; pointer-events: none; }
.rv-sbox__icon svg { width: 1em; height: 1em; fill: currentColor; }
.rv-sbox__input { height: 42px; min-height: 42px; background: var(--rv-fond); padding-left: 42px; }
.rv-sbox__input:focus { background: var(--rv-surf); }

@media (max-width: 860px) {
	.rv-sbox--m-button .rv-sbox__form, .rv-sbox--m-hide { display: none; }
	.rv-sbox--m-button { justify-content: flex-end; }
	.rv-sbox--m-button .rv-sbox__mbtn { display: grid; }
}

/* --- Compte --- */
.rv-acct { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; }
@media (max-width: 859px) { .rv-acct .rv-hide-m { display: none; } }

/* --- Titre de page / de section --- */
.rv-ptitle__kicker { font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-ptitle__title { font-size: var(--rv-fs-h1); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--rv-nuit); }
.rv-ptitle__sub { color: var(--rv-sec); margin-top: 6px; max-width: 720px; }
.rv-ptitle__lwrap { margin-top: 10px; }
.rv-sh { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.rv-sh__title { font-size: var(--rv-fs-h2); }
.rv-sh .rv-lnk { white-space: nowrap; }
.rv-pgrid__sh { margin: 8px 0 16px; }

/* --- Bandeau d'accueil --- */
.rv-hero {
	position: relative; overflow: hidden; display: flex; align-items: flex-end;
	min-height: 380px; border-radius: var(--rv-r-hero);
	background: linear-gradient(135deg, var(--rv-hero1), var(--rv-hero2)); color: #fff;
}
.rv-hero__bg, .rv-hero__scene, .rv-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-hero__img { object-fit: cover; }
.rv-hero__ov { position: absolute; inset: 0; background: linear-gradient(90deg, var(--rv-hero-ov, rgba(15, 31, 61, .92)), rgba(15, 31, 61, .35) 60%, rgba(15, 31, 61, 0)); }
.rv-hero__in { position: relative; padding: 48px; max-width: 680px; }
.rv-hero__title { color: #fff; font-size: var(--rv-fs-display); letter-spacing: -.02em; line-height: 1.08; margin: 14px 0 12px; }
.rv-hero__text { color: #DCE6FF; font-size: var(--rv-fs-lead); max-width: 560px; }
.rv-hero__btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.rv-hero__note { color: #C9D6FF; margin-top: 16px; font-size: var(--rv-fs-sm); }
@media (max-width: 860px) { .rv-hero { min-height: 340px; } .rv-hero__in { padding: 28px 22px; } }

/* --- Carte --- */
.rv-cardw { display: flex; flex-direction: column; gap: 14px; padding: 24px; color: inherit; transition: transform var(--rv-t), border-color var(--rv-t), box-shadow var(--rv-t); }
.rv-cardw--plain { padding: 0; }
.rv-cardw--accent { background: var(--rv-pale); border-color: #D6E0FF; }
.rv-cardw--link:hover { border-color: var(--rv-action); transform: translateY(var(--rv-lift, -3px)); }
.rv-cardw__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.rv-cardw__ico { font-size: 22px; }
.rv-cardw__title { font-size: var(--rv-fs-h3); }
h2.rv-cardw__title { font-size: var(--rv-fs-h2); line-height: 1.3; }
p.rv-cardw__title { color: var(--rv-nuit); }
.rv-cardw__text { color: var(--rv-sec); font-size: var(--rv-fs-sm); }
.rv-cardw__text p + p { margin-top: 12px; }
.rv-cardw__text p { max-width: 72ch; }
.rv-cardw__text a { color: var(--rv-action); font-weight: 600; }
.rv-cardw--default:not(.rv-cardw--link) .rv-cardw__text, .rv-cardw--accent .rv-cardw__text { color: var(--rv-txt); font-size: var(--rv-fs-body); }
.rv-cardw__small { font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-cardw__lnk { margin-top: 6px; }
.rv-cardw__actions { margin-top: 14px; }
.rv-cardw--horizontal { flex-direction: row; align-items: center; gap: 16px; }
.rv-cardw--horizontal .rv-cardw__body { gap: 2px; }
.rv-cardw--cta { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.rv-cardw--cta .rv-cardw__body { max-width: 620px; gap: 8px; flex: 1 1 280px; }
.rv-cardw--cta .rv-cardw__text { font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-cardw--cta.rv-cardw--default .rv-cardw__text { font-size: var(--rv-fs-sm); color: var(--rv-sec); }

/* --- Liste de liens --- */
.rv-llist .rv-item { text-decoration: none; }

/* --- Lien retour --- */
.rv-back { display: inline-flex; align-items: center; gap: 6px; color: var(--rv-sec); font-size: var(--rv-fs-sm); font-weight: 500; margin-bottom: 16px; }
.rv-back:hover { color: var(--rv-action); }

/* --- Pied de page --- */
.rv-fbar { display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: space-between; font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-fbar--line { padding-top: 28px; border-top: 1px solid var(--rv-bord); }
.rv-fbar__brand { color: var(--rv-nuit); }
.rv-fbar__links { display: flex; gap: 16px; flex-wrap: wrap; }
.rv-fbar__links a:hover { color: var(--rv-action); }

/* --- Cartes de parcours / émissions --- */
.rv-pc { display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: transform var(--rv-t), border-color var(--rv-t); }
.rv-pc:hover { transform: translateY(var(--rv-lift, -3px)); border-color: var(--rv-action); }
.rv-pc[hidden] { display: none; }
.rv-pc__cov { height: 132px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); position: relative; overflow: hidden; flex: none; }
.rv-pc__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-pc__ico { position: relative; margin-top: -18px; font-size: 44px; display: flex; }
.rv-pc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-pc__bd { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rv-pc__title { font-size: var(--rv-fs-h3); }
.rv-pc__desc { font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-pc .rv-meta { margin-top: auto; padding-top: 6px; }
.rv-pgrid__empty[hidden] { display: none; }

/* --- En-tête de parcours / émission --- */
.rv-chero {
	display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 28px;
	border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--rv-hero1), var(--rv-hero2));
}
.rv-chero__ico { width: 72px; height: 72px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 34px; }
.rv-chero__txt { flex: 1; min-width: 240px; }
.rv-chero__title { color: #fff; font-size: var(--rv-fs-h1); margin: 8px 0; }
.rv-chero__desc { color: #E6ECFF; font-size: var(--rv-fs-sm); }
@media (max-width: 860px) { .rv-chero { padding: 20px; } }

/* --- Modules du parcours --- */
.rv-mods { overflow: hidden; }
.rv-mods__head { padding: 20px 24px 8px; font-size: var(--rv-fs-lead); }
.rv-mods .rv-empty { padding: 32px 24px; }
.rv-mrow { display: flex; gap: 16px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--rv-bord); }
.rv-mods__head + .rv-mrow { border-top: 0; }
.rv-mrow__main { flex: 1; min-width: 0; }
.rv-mrow__title { font-size: var(--rv-fs-body); }
.rv-mrow__sum { font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-mrow__bar { max-width: 320px; margin-top: 8px; }
@media (max-width: 560px) { .rv-mrow { flex-wrap: wrap; } .rv-mrow .rv-btn { width: 100%; } }

/* --- Lecteur de module --- */
.rv-study__title { margin-bottom: 16px; }
.rv-study { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.rv-study__tocbtn { display: none; margin-bottom: 12px; }
.rv-toc { padding: 12px; position: sticky; top: calc(var(--rv-head-h) + var(--rv-admin-bar) + var(--rv-ann, 0px) + 24px); }
.rv-toc__head { padding: 8px 12px 12px; font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-toc__row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.rv-toc__pct { color: var(--rv-nuit); }
.rv-step-b {
	display: flex; width: 100%; align-items: center; gap: 10px; text-align: left;
	padding: 10px 12px; border: 0; background: none; border-radius: 10px;
	font-size: var(--rv-fs-ui); color: var(--rv-txt); cursor: pointer; transition: background var(--rv-t);
}
.rv-step-b:hover:not([disabled]) { background: var(--rv-fond); }
.rv-step-b.is-cur { background: var(--rv-pale); color: var(--rv-nuit); font-weight: 600; }
.rv-step-b[disabled] { color: var(--rv-lock-fg, #9AA1AD); cursor: not-allowed; }
.rv-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--rv-bord); display: grid; place-items: center; flex: none; color: #fff; font-size: 12px; }
.rv-dot.is-d { background: var(--rv-ok); border-color: var(--rv-ok); }
.rv-dot.is-c { border-color: var(--rv-action); }
.rv-dot.is-l { border: 0; color: var(--rv-lock-fg, #9AA1AD); font-size: 14px; }
.rv-read { padding: 40px 48px; min-width: 0; }
.rv-stp[hidden] { display: none; }
.rv-read__meta { font-size: var(--rv-fs-sm); color: var(--rv-sec); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.rv-read__title { font-size: var(--rv-fs-h1); margin-top: 8px; line-height: 1.2; }
.rv-read__txt { max-width: 680px; margin-top: 24px; font-size: var(--rv-fs-lead); line-height: 1.75; }
.rv-read__txt > p + p, .rv-read__txt > .rv-refrow + p { margin-top: 14px; }
.rv-read__txt > h2 { font-size: var(--rv-fs-h2); margin: 32px 0 10px; }
.rv-read__txt > h3 { margin: 24px 0 8px; }
.rv-read__txt > ul, .rv-read__txt > ol { padding-left: 22px; margin: 12px 0; }
.rv-read__bible { margin-bottom: 8px; }
.rv-cmpbox { background: var(--rv-pale); border-radius: 14px; padding: 20px 24px; margin: 32px 0; }
.rv-cmpbox h3, .rv-reflbox h3, .rv-nextbox h3, .rv-blk h3 { font-size: var(--rv-fs-h3); margin-bottom: 10px; }
.rv-cmpbox h3 { display: flex; gap: 8px; align-items: center; }
.rv-cmpbox ul { margin: 0; padding-left: 20px; list-style: disc; }
.rv-cmpbox li { margin: 8px 0; }
.rv-cmpbox p { margin-bottom: 8px; }
.rv-reflbox { border-left: 4px solid var(--rv-action); padding: 4px 0 4px 20px; margin: 32px 0; }
.rv-reflbox__rt { font-weight: 600; color: var(--rv-nuit); }
.rv-reflbox p + p, .rv-nextbox p + p { margin-top: 14px; }
.rv-nextbox { background: var(--rv-fond); border: 1px solid var(--rv-bord); border-radius: 14px; padding: 20px 24px; margin: 32px 0; }
.rv-blk { margin-top: 28px; }
.rv-qsbox ol { padding-left: 22px; margin: 0; }
.rv-qsbox li { margin: 10px 0; }
.rv-refrow {
	display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; margin-top: 8px;
	border: 1px solid var(--rv-bord); border-radius: 12px; font-size: var(--rv-fs-body); line-height: 1.55;
	color: inherit; transition: border-color var(--rv-t);
}
a.rv-refrow:hover { border-color: var(--rv-action); }
.rv-refrow > .rvi { margin-top: 4px; color: var(--rv-action); font-size: 16px; }
.rv-refrow strong { color: var(--rv-nuit); }
.rv-read .rv-note { margin-bottom: 16px; }
/* Quiz */
.rv-quiz__q { font-size: var(--rv-fs-h3); margin-top: 24px; }
.rv-opt {
	display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
	padding: 13px 16px; border: 1px solid var(--rv-bord); border-radius: 12px; background: var(--rv-surf);
	cursor: pointer; margin-top: 8px; color: var(--rv-txt); font-size: var(--rv-fs-body); line-height: 1.45;
	transition: border-color var(--rv-t), background var(--rv-t);
}
.rv-opt:hover:not([disabled]) { border-color: var(--rv-action); }
.rv-opt.is-sel { border-color: var(--rv-action); background: var(--rv-pale); font-weight: 600; }
.rv-opt.is-good { border-color: var(--rv-ok); background: var(--rv-okp); }
.rv-opt.is-bad { border-color: var(--rv-err); background: var(--rv-errp); }
.rv-opt[disabled] { cursor: default; }
.rv-quiz__exp { font-size: var(--rv-fs-sm); color: var(--rv-sec); margin-top: 8px; }
.rv-quiz__res { display: flex; gap: 14px; align-items: center; padding: 20px 24px; border-radius: var(--rv-r); border: 1px solid #BFE3D0; background: var(--rv-okp); margin-bottom: 8px; }
.rv-quiz__res--warn { background: var(--rv-warnp); border-color: #F3D9A4; }
.rv-quiz__res .rv-ico { background: var(--rv-surf); color: var(--rv-ok); font-size: 24px; }
.rv-quiz__res--warn .rv-ico { color: var(--rv-warn); }
.rv-quiz__res p { font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-quiz__actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1000px) {
	.rv-study { grid-template-columns: minmax(0, 1fr) !important; }
	.rv-study__tocbtn { display: inline-flex; }
	.rv-toc { display: none; position: static; }
	.rv-toc.is-open { display: block; margin-bottom: 16px; }
}
@media (max-width: 860px) { .rv-read { padding: 24px 20px; } }

/* --- Indicateurs --- */
.rv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .rv-stats { grid-template-columns: minmax(0, 1fr); } }
.rv-info { display: flex; gap: 14px; align-items: center; padding: 18px 20px; color: inherit; }
a.rv-info:hover { border-color: var(--rv-action); }
.rv-info__i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; font-size: 22px; }
.rv-info--streak .rv-info__i { background: #FFF1E0; color: #C2410C; }
.rv-info--next .rv-info__i { background: var(--rv-pale); color: var(--rv-action); }
.rv-info--badge .rv-info__i { background: var(--rv-fond); color: var(--rv-lock-fg, #9AA1AD); }
.rv-info--badge.is-on .rv-info__i { background: var(--rv-okp); color: var(--rv-ok); }
.rv-info b { display: block; font-size: var(--rv-fs-h3); color: var(--rv-nuit); line-height: 1.3; }
.rv-info > div { min-width: 0; display: flex; flex-direction: column; }

/* --- Questionnaire de départ --- */
.rv-onb--modal { position: fixed; inset: 0; background: rgba(23, 43, 77, .55); display: grid; place-items: center; z-index: 100000; padding: 16px; }
.rv-onb--modal[hidden] { display: none; }
.rv-onb__box { background: var(--rv-surf); border-radius: 18px; max-width: 460px; width: 100%; padding: 28px; max-height: 92vh; overflow: auto; }
.rv-onb--inline .rv-onb__box { border: 1px solid var(--rv-bord); box-shadow: var(--rv-sh); }
.rv-onb__title { font-size: var(--rv-fs-h2); }
.rv-onb__q { margin: 18px 0 0; font-weight: 600; color: var(--rv-nuit); }
.rv-onb__actions { display: flex; gap: 10px; margin-top: 22px; justify-content: flex-end; flex-wrap: wrap; }

/* --- Lecteur biblique --- */
.rv-bible { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.rv-bible--nobooks { grid-template-columns: minmax(0, 1fr); }
.rv-books { max-height: 76vh; overflow: auto; padding: 12px; position: sticky; top: calc(var(--rv-head-h) + var(--rv-admin-bar) + var(--rv-ann, 0px) + 24px); }
.rv-books__q { margin-bottom: 8px; }
.rv-bgrp { padding: 10px 12px 4px; font-size: var(--rv-fs-cap); font-weight: 600; color: var(--rv-sec); }
.rv-bkb { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: var(--rv-fs-ui); color: var(--rv-txt); }
.rv-bkb:hover { background: var(--rv-fond); }
.rv-bkb.is-on { background: var(--rv-pale); color: var(--rv-action); font-weight: 600; }
.rv-bible__reader { padding: 24px; min-width: 0; }
.rv-bible__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.rv-bible__title { font-size: var(--rv-fs-h2); margin-top: 8px; }
.rv-bible__chl { margin: 18px 0 8px; font-size: var(--rv-fs-sm); font-weight: 600; color: var(--rv-nuit); }
.rv-cg { display: flex; gap: 6px; flex-wrap: wrap; max-height: 116px; overflow: auto; }
.rv-cg button { min-width: 40px; height: 36px; border: 1px solid var(--rv-bord); background: var(--rv-surf); border-radius: 10px; cursor: pointer; color: var(--rv-txt); }
.rv-cg button.is-on { background: var(--rv-btn, var(--rv-action)); color: #fff; border-color: var(--rv-action); }
.rv-bible__tools { margin-top: 18px; }
.rv-bible__tools .rv-field { max-width: 280px; }
.rv-verses { font-size: var(--rv-vfs, 19px); line-height: 1.85; max-width: 720px; margin-top: 20px; }
.rv-v { margin: 0 0 8px; }
.rv-v sup { color: var(--rv-action); font-weight: 600; font-size: .7em; margin-right: 6px; }
.rv-verses mark { background: #FFE9A8; border-radius: 3px; }
.rv-bible__recentw { margin-top: 24px; }
.rv-bible__notice { margin-top: 24px; }
.rv-bible__copyright { margin-top: 6px; }
@media (max-width: 1000px) { .rv-bible { grid-template-columns: minmax(0, 1fr) !important; } .rv-books { position: static; max-height: 220px; } }

/* --- Explorer --- */
.rv-ex__detail { position: sticky; top: calc(var(--rv-head-h) + var(--rv-admin-bar) + var(--rv-ann, 0px) + 24px); }
.rv-ex__detail h2 { margin: 10px 0; }
.rv-ex__detail .rv-sel { margin-top: 18px; }
.rv-ex__list .rv-item { font: inherit; }
@media (max-width: 1000px) { .rv-split { grid-template-columns: minmax(0, 1fr); } .rv-ex__detail { position: static; } }

/* --- Chronologie --- */
.rv-tl { position: relative; margin-left: 20px; border-left: 2px solid var(--rv-bord); padding-left: 32px; max-width: 760px; }
.rv-ev { position: relative; padding-bottom: 20px; }
.rv-ev[hidden] { display: none; }
.rv-ev__ico { position: absolute; left: -54px; top: 0; background: var(--rv-surf); border: 2px solid var(--rv-bord); width: 40px; height: 40px; font-size: 20px; }
.rv-ev h3 { margin-top: 8px; }
.rv-ev__desc { margin-top: 4px; }
.rv-ev .rv-lnk { margin-top: 10px; }
.rv-ev .rv-tag .rvi { font-size: 13px; }

/* --- Recherche --- */
.rv-sr__form { max-width: 560px; flex-wrap: nowrap; }
.rv-sr__form .rv-field { flex: 1; }
.rv-sr__intro { margin-top: 16px; }
.rv-sr__g { font-size: var(--rv-fs-lead); margin: 28px 0 12px; }
.rv-sr__none { margin-top: 24px; }

/* --- Épisodes --- */
.rv-eps { overflow: hidden; }
.rv-pbox { position: relative; aspect-ratio: 16 / 9; background: #0F1F3D; width: 100%; }
.rv-pbox iframe, .rv-pbox__yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv-pctl { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--rv-surf); border-top: 1px solid var(--rv-bord); }
.rv-pctl input[type=range] { flex: 1; accent-color: var(--rv-action); min-width: 60px; }
@media (max-width: 860px) { .rv-pctl { flex-wrap: wrap; } }

/* --- Formulaires de compte --- */
.rv-auth { max-width: 460px; margin: 24px auto; }
.rv-auth__ico { display: grid; margin: 0 auto 16px; width: 52px; height: 52px; font-size: 26px; }
.rv-auth__title, .rv-auth > .rv-sub { text-align: center; }
.rv-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--rv-fond); border: 1px solid var(--rv-bord); border-radius: 12px; padding: 4px; gap: 4px; margin-top: 20px; }
.rv-seg a { text-align: center; padding: 10px; border-radius: 9px; font-weight: 600; color: var(--rv-sec); }
.rv-seg a.is-on { background: var(--rv-surf); color: var(--rv-nuit); box-shadow: var(--rv-sh); }
.rv-auth__form { margin-top: 20px; display: grid; gap: 14px; }
.rv-auth > .rv-note { margin-top: 20px; }
.rv-fieldw label, .rv-contact label { display: block; font-size: var(--rv-fs-sm); font-weight: 600; color: var(--rv-nuit); margin: 0 0 6px; }
.rv-err { color: var(--rv-err); font-size: var(--rv-fs-cap); margin-top: 4px; }
.rv-err:empty { display: none; }
.rv-pwf { position: relative; }
.rv-pwf .rv-field { padding-right: 48px; }
.rv-pwt { position: absolute; right: 6px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--rv-sec); cursor: pointer; border-radius: 8px; font-size: 18px; display: grid; place-items: center; }
.rv-pwt:hover { color: var(--rv-action); }
.rv-fieldw label.rv-chk, label.rv-chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--rv-txt); margin: 0; font-size: var(--rv-fs-sm); }
.rv-chk input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.rv-auth__forgot { text-align: right; margin-top: -4px; }
.rv-auth__help { margin-top: 2px; }
.rv-auth__msg:empty { display: none; }
.rv-auth__logged p + p { margin-top: 14px; }
@media (max-width: 560px) { .rv-two { grid-template-columns: 1fr; } .rv-auth { margin: 8px auto; } }

/* --- Tableau de bord --- */
.rv-dash__grid { margin-top: 24px; }
.rv-dash__lbl { margin-bottom: 4px; }
.rv-dash__mod + .rv-dash__mod { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rv-bord); }
.rv-dash__mod .rv-bar { margin: 10px 0 12px; }
.rv-dash__mod h3 { margin-top: 2px; }
.rv-dash__mod .rv-btn { margin-top: 10px; }
.rv-dash__favs { margin-top: 10px; }
.rv-dash__guest { margin-top: 24px; max-width: 640px; }
.rv-dash__guest h3 { margin-top: 14px; }
.rv-dash__guest .rv-sm { margin-top: 6px; }
.rv-dash__guest .rv-sel { margin-top: 18px; gap: 12px; }
.rv-dash__out { margin-top: 24px; }
.rv-dash .rv-tag .rvi { font-size: 14px; }

/* --- Contact --- */
.rv-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.rv-contact--single { grid-template-columns: minmax(0, 1fr); }
.rv-contact__aside h2 { font-size: var(--rv-fs-h2); margin-top: 14px; }
.rv-contact__aside > p { margin-top: 10px; }
.rv-contact__aside .rv-ico { font-size: 22px; }
.rv-reasons { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.rv-reasons li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--rv-nuit); }
.rv-reasons__i { width: 32px; height: 32px; border-radius: 10px; background: var(--rv-pale); color: var(--rv-action); display: grid; place-items: center; flex: none; font-size: 18px; }
.rv-contact__form { display: grid; gap: 12px; }
.rv-contact__msg:empty { display: none; }
.rv-cs { position: relative; }
.rv-cs__b { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; color: var(--rv-nuit); }
.rv-cs__b .rvi { flex: none; color: var(--rv-sec); transition: transform var(--rv-t); }
.rv-cs__b[aria-expanded="true"] .rvi { transform: rotate(180deg); }
.rv-cs__v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-cs__v.is-ph { color: #8A93A3; }
.rv-cs__l { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - 10px); margin: 0; padding: 6px; list-style: none; background: var(--rv-surf); border: 1px solid var(--rv-bord); border-radius: 12px; box-shadow: 0 12px 32px rgba(23, 43, 77, .14); max-height: 260px; overflow: auto; }
.rv-cs__l[hidden] { display: none; }
.rv-cs__l li { padding: 11px 12px; border-radius: 8px; cursor: pointer; color: var(--rv-nuit); min-height: 44px; display: flex; align-items: center; }
.rv-cs__l li.is-act, .rv-cs__l li:hover { background: var(--rv-pale); }
.rv-cs__l li[aria-selected="true"] { color: var(--rv-action); font-weight: 600; }
@media (max-width: 859px) { .rv-contact { grid-template-columns: minmax(0, 1fr) !important; } }

/* --- Aperçu des layouts dans l'éditeur --- */
.rv-layout-preview { background: #EEF1F7; }
.rv-preview-note { font: 13px/1.4 system-ui, sans-serif; color: #4B5A78; padding: 10px 16px; }
.rv-preview-zone { padding: 16px; }
.rv-layout-preview .rv-top, .rv-layout-preview .rv-side, .rv-layout-preview .rv-bn { position: static; display: flex; }
.rv-layout-preview .rv-top { height: var(--rv-head-h); }
.rv-layout-preview .rv-side { width: var(--rv-side-w); min-height: 70vh; }
.rv-layout-preview .rv-bn { height: var(--rv-bn-h); max-width: 420px; background: var(--rv-surf); border: 1px solid var(--rv-bord); }
.rv-layout-preview .rv-bn > * { flex: 1; }
.rv-layout-preview .rv-foot { max-width: var(--rv-max); background: var(--rv-fond); padding: 24px; }
.rv-layout-preview .rv-block { max-width: var(--rv-max); }
@media (max-width: 560px) {
	.rv-study .rv-nav2 { display: grid; grid-template-columns: 1fr 1fr; }
	.rv-study .rv-nav2 .rv-study__done { grid-column: 1 / -1; order: -1; }
	.rv-study .rv-nav2 .rv-study__next { justify-self: end; }
}

/* ---------- Verrouillage des parcours et modules ---------- */
.rv-tag--lock { background: var(--rv-lock-bg, #F1F3F8); color: var(--rv-sec); }
.rv-tag--soon { background: var(--rv-warnp, #FFF6E5); color: var(--rv-warn, #B7791F); }
.rv-tag--warn { background: var(--rv-warnp, #FFF6E5); color: var(--rv-warn, #B7791F); }
.rv-pc__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-pc.is-lk { opacity: .82; }
.rv-pc.is-lk .rv-pc__cov { filter: grayscale(.6); }
.rv-pc.is-lk:hover { transform: none; border-color: var(--rv-bord); }
.rv-mrow.is-lk { opacity: .7; }
.rv-mrow.is-lk .rv-num { background: var(--rv-lock-bg, #F1F3F8); color: var(--rv-sec); }
.rv-mrow.is-lk .rv-btn { pointer-events: none; opacity: .6; }
.rv-lockcard { margin-bottom: 20px; }
.rv-lockcard .rv-ico { background: var(--rv-lock-bg, #F1F3F8); color: var(--rv-sec); }
.rv-lockcard .rv-btn { margin-top: 16px; }
.rv-note--warn { background: var(--rv-warnp, #FFF6E5); border-color: #F3D9A4; }
.rv-seg__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rv-pale); color: var(--rv-action); font-size: var(--rv-fs-cap, 12px); font-weight: 600; }
.rv-seg__n[hidden] { display: none; }
.rv-lbl { font-weight: 600; color: var(--rv-nuit); font-size: var(--rv-fs-sm); }
.rv-cline { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rv-bord); }
.rv-cline:first-child { border-top: 0; }
.rv-cth { display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.rv-cth .rv-pc__cov { height: 72px; }
.rv-cth .rv-pc__ico { font-size: 28px; margin: 0; }
.rv-cth .rv-pc__img { width: 100%; height: 100%; object-fit: cover; }
.rv-cinf { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-cinf b { color: var(--rv-nuit); }
.rv-ltot { min-width: 96px; text-align: right; color: var(--rv-nuit); white-space: nowrap; }
.rv-rm { width: 40px; height: 40px; border: 0; background: none; color: var(--rv-sec); cursor: pointer; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.rv-rm:hover { color: #B93838; background: #FCEEEE; }
.rv-csum__title { font-size: var(--rv-fs-h3); margin-bottom: 6px; color: var(--rv-nuit); }
.rv-csum .rv-btn--block { margin-top: 16px; }
.rv-csum__more { text-align: center; margin-top: 12px; }
.rv-srow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--rv-txt); }
.rv-srow b { color: var(--rv-nuit); white-space: nowrap; }
.rv-srow--tot { border-top: 1px solid var(--rv-bord); margin-top: 6px; padding-top: 14px; font-weight: 600; }
.rv-srow--tot b { font-size: var(--rv-fs-h3); }
.rv-pays { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.rv-pay { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--rv-bord); border-radius: 12px; cursor: pointer; background: var(--rv-surf); }
.rv-pay:has(input:checked) { border-color: var(--rv-action); background: var(--rv-pale); }
.rv-pay input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--rv-action); }
.rv-pay > span { display: flex; flex-direction: column; gap: 2px; }
.rv-pay b { color: var(--rv-nuit); }
.rv-pay__how { display: none; margin-top: 6px; }
.rv-pay:has(input:checked) .rv-pay__how { display: block; }
.rv-done { max-width: 560px; margin: 0 auto; }
.rv-done__ico { display: grid; margin: 0 auto 16px; width: 56px; height: 56px; font-size: 28px; background: var(--rv-okp); color: var(--rv-ok); }
.rv-done__title, .rv-done > .rv-sub { text-align: center; }
.rv-done .rv-card { margin-top: 20px; }
.rv-done .rv-note { margin-top: 16px; }
.rv-done__mail { text-align: center; margin-top: 12px; }
#rv-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--rv-nuit); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: 0 12px 32px rgba(23, 43, 77, .3); z-index: 9999; max-width: calc(100vw - 32px); font-size: var(--rv-fs-sm); transition: opacity var(--rv-t), transform var(--rv-t); }
#rv-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#rv-toast a { color: #BFD0FF; font-weight: 600; margin-left: 8px; text-decoration: underline; }
@media (max-width: 859px) {
	.rv-cline { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "t i r" "t q p"; }
	.rv-cline .rv-cth { grid-area: t; width: 64px; height: 64px; }
	.rv-cth .rv-pc__cov { height: 64px; }
	.rv-cline .rv-cinf { grid-area: i; }
	.rv-cline .rv-ltot { grid-area: p; }
	.rv-cline .rv-rm { grid-area: r; }
	#rv-toast { bottom: 84px; }
}

/* ---------- Application mobile ---------- */
.rv-eb { display: block; font-size: var(--rv-fs-cap, 12px); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rv-action); }
.rv-appc { position: relative; overflow: hidden; padding: 40px 44px; min-height: 290px; background: linear-gradient(120deg, #F5F8FF 0%, #DFE8FF 55%, #C7D8FF 100%); border: 1px solid #CFDBFA; border-radius: var(--rv-r); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rv-appbg, .rv-wabg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rv-appbg { color: var(--rv-action); }
.rv-appt { position: relative; z-index: 1; max-width: 540px; }
.rv-appc__title { margin-top: 8px; font-size: var(--rv-fs-h2); color: var(--rv-nuit); }
.rv-appc__text { margin-top: 8px; color: var(--rv-txt); }
.rv-stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.rv-storeb { background: none; border: 0; padding: 0; cursor: pointer; line-height: 0; border-radius: 10px; display: inline-block; }
.rv-stores .rv-storeb img { height: 48px; width: auto; max-width: none; display: block; }
.rv-storeb:hover { opacity: .88; }
.rv-storeb:focus-visible { outline: 2px solid var(--rv-action); outline-offset: 3px; }
.rv-appv { position: relative; z-index: 1; flex: none; width: 250px; align-self: stretch; min-height: 220px; margin: -40px 10px -40px 0; }
.rv-phone { position: absolute; right: 10px; top: 36px; width: 172px; height: auto; transform: rotate(8deg); filter: drop-shadow(0 20px 26px rgba(23, 43, 77, .3)); }
.rv-fchip { position: absolute; width: 46px; height: 46px; border-radius: 14px; background: var(--rv-surf); color: var(--rv-action); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(23, 43, 77, .14); z-index: 2; font-size: 22px; }
.rv-fchip--1 { left: 0; top: 62px; }
.rv-fchip--2 { left: -14px; top: 140px; }
.rv-fchip--3 { left: 20px; top: 208px; }
.rv-fchip--4 { left: 70px; top: 18px; }
@media (max-width: 859px) { .rv-appv { display: none; } .rv-appc { padding: 28px 22px; min-height: 0; } }

/* ---------- Chaîne WhatsApp ---------- */
.rv-wac { position: relative; overflow: hidden; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #0E3B36 0%, #146B5C 100%); border-radius: var(--rv-r); color: #E3F5EE; }
.rv-wabg { color: #9FE3CF; }
.rv-wabig { position: absolute; right: -30px; bottom: -60px; color: #fff; opacity: .07; pointer-events: none; font-size: 260px; line-height: 1; display: flex; }
.rv-wac > *:not(.rv-wabg):not(.rv-wabig) { position: relative; }
.rv-wat { flex: 1; min-width: 240px; }
.rv-wac .rv-eb { color: #9FE3CF; }
.rv-wac .rv-tag.rv-eb { display: inline-flex; background: rgba(255, 255, 255, .2); color: #fff; letter-spacing: 0; text-transform: none; font-size: var(--rv-fs-sm); }
.rv-wac__title { color: #fff; font-size: var(--rv-fs-h1); margin: 6px 0 10px; max-width: 520px; line-height: 1.15; }
.rv-wac__text { max-width: 520px; margin-bottom: 20px; }
.rv-wab { background: #fff; color: #0E3B36; }
.rv-wab:hover { background: #E3F5EE; color: #0E3B36; }
.rv-wav { display: flex; flex-direction: column; gap: 12px; flex: none; width: 280px; }
.rv-wam { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 12px 16px; color: #fff; font-size: var(--rv-fs-sm); }
.rv-wam .rvi, .rv-wam svg { color: #9FE3CF; fill: #9FE3CF; font-size: 16px; flex: none; }
.rv-wam--2 { margin-left: 28px; }
.rv-wam--3 { margin-left: 8px; }
.rv-wac--hero { justify-content: flex-start; flex-wrap: wrap; }
.rv-wac--hero .rv-wac__ico { width: 72px; height: 72px; font-size: 34px; background: rgba(255, 255, 255, .16); color: #fff; }
.rv-wac--hero .rv-wac__title { margin: 8px 0; }
.rv-wac--hero .rv-wac__text { margin-bottom: 16px; }
@media (max-width: 859px) { .rv-wac { padding: 28px 22px; } .rv-wav { display: none; } .rv-wac__title { font-size: var(--rv-fs-h2); } }

/* ---------- Étapes ---------- */
.rv-steps__title { font-size: var(--rv-fs-h2); color: var(--rv-nuit); }
.rv-steps__l { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: rvst; display: flex; flex-direction: column; gap: 10px; }
.rv-steps__l li { counter-increment: rvst; display: flex; gap: 12px; align-items: center; }
.rv-steps__l--num li::before { content: counter(rvst); flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--rv-pale); color: var(--rv-action); font-weight: 700; display: grid; place-items: center; font-size: var(--rv-fs-sm); }
.rv-steps__l--simple { list-style: decimal; padding-left: 20px; }
.rv-steps__l--simple li { display: list-item; }
.rv-steps__note { margin-top: 12px; }
.rv-auth__blocked { margin-top: 16px; }
/* Classes utilitaires (Avancé > Classes CSS) : visible seulement sous / au-dessus de 860 px (coque mobile). */
@media (min-width: 860px) { .rv-mobonly { display: none !important; } }
@media (max-width: 859px) { .rv-deskonly { display: none !important; } }

/* ---------- Carte d'annonce (mission) ---------- */
.rv-msn { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: linear-gradient(120deg, #EEF3FF 0%, #D9E4FF 100%); border-color: #CFDBFA; }
.rv-msn__i { flex: none; width: 56px; height: 56px; border-radius: var(--rv-r); background: var(--rv-btn, var(--rv-action)); color: #fff; display: grid; place-items: center; font-size: 26px; }
.rv-msn__t { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rv-msn__title { font-size: var(--rv-fs-lead); font-weight: 700; color: var(--rv-nuit); }
.rv-msn__text { color: var(--rv-txt); }
.rv-msn__lock, .rv-msn__lock:hover { opacity: .6; cursor: not-allowed; background: var(--rv-sec); color: #fff; }
@media (max-width: 859px) { .rv-msn { flex-direction: column; align-items: flex-start; padding: 20px; } .rv-msn .rv-btn { width: 100%; } }

/* ==========================================================================
   Parcours complets : sommaire du module, chapitres, rubriques, quiz, badges, attestations
   ========================================================================== */
/* Sommaire du module */
.rv-mp__kicker { margin: 0; }
.rv-mp__desc { max-width: 720px; }
.rv-mp__prog { margin-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.rv-mp__progm { flex: 1; min-width: 220px; }
.rv-mp__progm .rv-toc__row b { color: var(--rv-nuit); }
.rv-mp__rows { margin-top: 20px; padding: 8px; }
.rv-mp__body[hidden] { display: none; }
.rv-crow { display: flex; gap: 12px; align-items: center; padding: 12px 8px; border-radius: 12px; color: inherit; text-decoration: none; transition: background var(--rv-t); }
.rv-crow:hover { background: var(--rv-fond); }
.rv-crow.is-cur { background: var(--rv-pale); }
.rv-crow__i { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rv-crow__i strong { color: var(--rv-nuit); font-weight: 600; }
.rv-crow.is-lock .rv-crow__i strong { color: #6B7385; }
.rv-crow .rv-sm { color: var(--rv-sec); }
.rv-crow .rv-dot.is-l, .rv-step-b .rv-dot.is-l { background: var(--rv-lock-bg, #F1F3F8); border-radius: 50%; }
.rv-crow > .rv-tag { flex: none; }
@media (max-width: 560px) { .rv-crow { flex-wrap: wrap; } .rv-crow > .rv-tag { margin-left: 34px; } }
/* Sommaire latéral : liens */
a.rv-step-b { text-decoration: none; align-items: flex-start; }
a.rv-step-b .rv-dot { margin-top: 1px; }
.rv-step-b:hover { background: var(--rv-fond); }
.rv-step-b.is-lk { color: var(--rv-lock-fg, #9AA1AD); }
.rv-step-b.is-lk span:last-child { color: #7B8496; }
.rv-step-b.is-cur.is-lk { color: var(--rv-nuit); }
/* Blocs des modules sur la page du parcours */
.rv-mods__head { padding: 0; margin: 0 0 12px; }
.rv-pmods { display: grid; gap: 12px; }
.rv-pmod { background: var(--rv-surf); border: 1px solid var(--rv-bord); border-radius: var(--rv-r); box-shadow: var(--rv-sh); }
.rv-pmod > summary { list-style: none; display: flex; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; }
.rv-pmod > summary::-webkit-details-marker { display: none; }
.rv-pmod > summary:focus-visible { outline: 2px solid var(--rv-action); outline-offset: 2px; border-radius: var(--rv-r); }
.rv-pmod.is-lock { opacity: .85; }
.rv-pmod__num { min-width: 44px; height: 40px; padding: 0 8px; border-radius: 12px; background: var(--rv-pale); color: var(--rv-action); display: grid; place-items: center; font-weight: 700; flex: none; }
.rv-pmod.is-done .rv-pmod__num { background: var(--rv-okp); color: var(--rv-ok); }
.rv-pmod.is-lock .rv-pmod__num { background: var(--rv-lock-bg, #F1F3F8); color: var(--rv-lock-fg, #9AA1AD); }
.rv-pmod__main { flex: 1; min-width: 0; }
.rv-pmod__title { display: block; color: var(--rv-nuit); }
.rv-pmod__cnt { display: block; color: var(--rv-sec); }
.rv-pmod__bar { display: block; max-width: 320px; margin-top: 8px; }
.rv-pmod__body { padding: 4px 12px 16px; border-top: 1px solid var(--rv-bord); }
.rv-pmod__desc { padding: 12px 6px 4px; margin: 0 0 8px; color: var(--rv-sec); }
.rv-pmod__btn { margin: 14px 0 0; padding: 0 6px; }
@media (max-width: 560px) { .rv-pmod > summary { flex-wrap: wrap; } .rv-pmod > summary > .rv-tag { margin-left: 58px; } }
/* Bandeau du parcours : progression */
.rv-chero__prog { margin-top: 14px; max-width: 360px; }
.rv-chero__prog .rv-bar { background: rgba(255, 255, 255, .25); }
.rv-chero__prog .rv-bar i { background: #fff; }
.rv-chero__ptx { margin: 6px 0 0; font-size: var(--rv-fs-sm); color: #E6ECFF; }
/* Chapitre */
.rv-read__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-read__meta { margin-top: 8px; gap: 6px 16px; }
.rv-read__meta span { display: inline-flex; gap: 6px; align-items: center; }
.rv-read .rv-note { margin: 20px 0 0; }
.rv-cres { margin-top: 20px; font-size: var(--rv-fs-lead); color: var(--rv-sec); font-style: italic; max-width: 680px; }
.rv-cbody { margin-top: 16px; }
.rv-cbody p { margin: 14px 0 0; }
.rv-read__txt.rv-cbody > h2 { font-size: var(--rv-fs-h2); margin: 32px 0 6px; color: var(--rv-nuit); }
.rv-cl, .rv-read__txt > ul.rv-cl { margin: 12px 0 0; padding-left: 22px; list-style: disc; }
.rv-cl li { margin-top: 8px; }
.rv-cl li::marker { color: var(--rv-rc, var(--rv-action)); }
.rv-bq { margin: 18px 0; padding: 16px 20px; background: var(--rv-pale); border-left: 4px solid var(--rv-action); border-radius: 12px; }
.rv-bq p { margin: 0; font-style: italic; }
.rv-bq cite { display: block; margin-top: 8px; font-style: normal; font-size: var(--rv-fs-sm); font-weight: 600; }
.rv-cbody .rv-lnk, .rv-bq .rv-lnk, .rv-read__meta .rv-lnk, .rv-qz__ref .rv-lnk { display: inline; font-size: inherit; color: var(--rv-action); font-weight: 600; }
.rv-gl { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: var(--rv-fs-body); }
.rv-gl th, .rv-gl td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid rgba(0, 0, 0, .08); }
.rv-gl tr:first-child th, .rv-gl tr:first-child td { border-top: 0; }
.rv-gl th { width: 30%; color: var(--rv-nuit); font-weight: 600; }
/* Rubriques (encadrés) */
.rv-rb { --rv-rc: var(--rv-action); --rv-rb: var(--rv-pale); margin-top: 28px; padding: 18px 22px 20px; border-radius: 16px; border: 1px solid var(--rv-bord); background: var(--rv-surf); }
.rv-rb__h { display: flex; align-items: center; gap: 10px; font-size: var(--rv-fs-h3) !important; margin: 0 !important; color: var(--rv-nuit); }
.rv-rb__i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--rv-rb); color: var(--rv-rc); flex: none; font-size: 18px; }
.rv-rb__b > *:first-child { margin-top: 10px; }
.rv-rb__b p { margin-top: 10px; }
.rv-rb-mots { --rv-rc: #6D28D9; --rv-rb: #F1EAFE; background: #FBF9FF; border-color: #E3D7FB; }
.rv-rb-retenir { --rv-rc: #0F7B53; --rv-rb: var(--rv-okp); background: #F7FCF9; border-color: #BFE3D0; }
.rv-rb-lire { --rv-rc: var(--rv-action); --rv-rb: var(--rv-pale); background: #F7F9FF; border-color: #D3DEFF; }
.rv-rb-reste, .rv-rb-jesus { --rv-rc: #B7791F; --rv-rb: #FBEBC8; background: #FFF9EC; border-color: #EBCB86; }
.rv-rb-jesus { background: #FFF4DB; border-color: #E0B65A; }
.rv-rb-refl { --rv-rc: #C2410C; --rv-rb: #FFF1E0; background: #FFFAF4; border-color: #F6D9BC; }
.rv-rb-quest { --rv-rc: #0E7490; --rv-rb: #E0F4F9; background: #F5FBFD; border-color: #BCE3EE; }
.rv-rb-suite { --rv-rc: var(--rv-nuit); --rv-rb: #E7ECF6; background: var(--rv-fond); }
.rv-cend { align-items: center; }
.rv-cend__tag { align-self: center; }
@media (max-width: 560px) {
	.rv-read { padding: 24px 18px; }
	.rv-rb { padding: 14px; }
	.rv-gl th { width: 38%; }
	.rv-cend { display: grid; grid-template-columns: minmax(0, 1fr); }
	.rv-cend .rv-btn { width: 100%; justify-content: center; }
	.rv-cend__tag { justify-self: center; }
}
/* Quiz */
.rv-qz { min-width: 0; }
.rv-qz__h { margin: 0 0 16px; }
.rv-qz__b > .rv-card + .rv-card, .rv-qz__b > .rv-card + .rv-qz__sh, .rv-qz__b .rv-qz__q { margin-top: 12px; }
.rv-qz__h2 { font-size: var(--rv-fs-h2); margin: 0; }
.rv-qz__sh { font-size: var(--rv-fs-lead); margin: 24px 0 0; }
.rv-qz__sh + .rv-sm { margin-top: 4px; color: var(--rv-sec); }
.rv-qz__q h3 { font-size: var(--rv-fs-h3); margin: 0 0 4px; }
.rv-qz__act { margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.rv-qz__sub { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rv-qz__row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.rv-qz__row > div { flex: 1; min-width: 220px; }
.rv-qz__row p { margin: 6px 0 0; }
.rv-qz__warn { background: var(--rv-warnp) !important; border-color: #F3D9A4 !important; }
.rv-qz__warn .rv-ico { background: var(--rv-surf); color: var(--rv-warn); }
.rv-qz__ok { background: var(--rv-okp) !important; border-color: #BFE3D0 !important; }
.rv-qz__ok .rv-ico { background: var(--rv-surf); color: var(--rv-ok); }
.rv-qz__ref, .rv-qz__exp { margin-top: 8px; color: var(--rv-sec); display: block; }
.rv-qz__relire h3 { font-size: var(--rv-fs-h3); margin: 0 0 4px; }
.rv-qz .rv-cl { margin-top: 12px; }
.rv-qz .rv-opt { align-items: flex-start; margin-top: 10px; }
.rv-opt > b { color: var(--rv-action); flex: none; }
div.rv-opt { cursor: default; }
.rv-note--ok { background: var(--rv-okp); border-color: #BFE3D0; margin-bottom: 16px; }
.rv-mp .rv-lockcard { margin-top: 8px; }
/* Badges */
.rv-bdg { position: relative; display: inline-grid; place-items: center; flex: none; }
.rv-bdg svg { position: absolute; inset: 0; }
.rv-bdg i { position: relative; display: grid; place-items: center; font-style: normal; }
.rv-bdg.is-off { filter: grayscale(1); opacity: .7; }
.rv-bdgs { display: flex; gap: 10px; flex-wrap: wrap; }
.rv-bdgpop .rv-bdg.is-got { animation: rv-bpop .9s cubic-bezier(.2, .9, .3, 1.2) both; }
.rv-bdgpop .rv-bdg.is-got:nth-child(2) { animation-delay: .25s; }
.rv-bdgpop .rv-bdg.is-got:nth-child(3) { animation-delay: .5s; }
@keyframes rv-bpop { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 60% { transform: scale(1.12) rotate(3deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .rv-bdgpop .rv-bdg.is-got { animation: none; } }
.rv-bdgrow { display: flex; gap: 18px; flex-wrap: wrap; }
.rv-bdgi { display: grid; gap: 4px; justify-items: center; text-align: center; width: 120px; font-size: var(--rv-fs-sm); }
.rv-bdgi b, .rv-bdgc b { color: var(--rv-nuit); }
.rv-bdggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rv-bdgc { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 16px 10px; font-size: var(--rv-fs-sm); }
.rv-bdgc.is-lk { opacity: .9; }
.rv-bdgp .rv-sh { margin-top: 28px; }
/* Tableau de bord */
.rv-dash__resume { margin-top: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.rv-dash__rtxt { flex: 1; min-width: 240px; }
.rv-dash__rtxt h2 { font-size: var(--rv-fs-h2); margin: 4px 0 0; }
.rv-dash__rtxt p { margin: 4px 0 0; }
.rv-dash__grid { margin-top: 20px; }
.rv-dash__bar { margin-top: 12px; }
.rv-dash__bar .rv-toc__row { margin-bottom: 6px; }
.rv-dash__bar b { color: var(--rv-nuit); }
.rv-dash__pn { margin-top: 12px; }
.rv-dash .rv-sh { margin-top: 32px; }
.rv-dash__att .rv-ico { background: var(--rv-pale); color: var(--rv-action); }
.rv-dash__att.is-lk .rv-ico { background: var(--rv-lock-bg, #F1F3F8); color: var(--rv-lock-fg, #9AA1AD); }
.rv-dash__att h3 { margin-top: 12px; font-size: var(--rv-fs-h3); }
.rv-dash__att p { margin: 4px 0 0; }
.rv-dash__att .rv-btn, .rv-dash__left { margin-top: 12px; }
/* Attestation (A4 paysage) */
.rv-certp__bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.rv-certf { max-width: 520px; margin-top: 20px; display: grid; gap: 12px; }
.rv-certf label { display: block; font-weight: 600; margin-bottom: 4px; }
.rv-certw { display: grid; place-items: center; }
.rv-cert { width: 100%; max-width: 1123px; aspect-ratio: 297 / 210; background: #fff; border: 1px solid var(--rv-bord); border-radius: 6px; padding: 18px; box-shadow: var(--rv-sh); container-type: inline-size; }
.rv-cert__b { height: 100%; border: 3px double #1E3A8A; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.2cqw 4cqw; color: var(--rv-nuit); }
.rv-cert__h { display: flex; align-items: center; gap: 1.2cqw; }
.rv-cert__mark { width: 4cqw; height: 4cqw; border-radius: 1cqw; background: var(--rv-btn, var(--rv-action)); color: #fff; display: grid; place-items: center; font-size: 2.3cqw; }
.rv-cert__img { height: 4cqw; width: auto; }
.rv-cert__h b { font-size: 2.4cqw; letter-spacing: .12em; }
.rv-cert__h > span:last-child { font-size: 1.3cqw; color: var(--rv-sec); }
.rv-cert__k { margin: 2cqw 0 0; font-size: 1.2cqw; letter-spacing: .3em; color: var(--rv-action); font-weight: 600; }
.rv-cert h1 { font-size: 3.4cqw; margin: .6cqw 0 0; line-height: 1.2; color: inherit; }
.rv-cert__t { font-size: 1.4cqw; color: var(--rv-sec); margin: 1.2cqw 0 0; }
.rv-cert__n { font-size: 3.6cqw; font-weight: 700; margin: .6cqw 0 0; border-bottom: 2px solid #B7791F; padding: 0 3cqw .4cqw; }
.rv-cert__l { list-style: none; padding: 0; margin: 1cqw 0 0; width: 80%; font-size: 1.3cqw; display: grid; gap: .3cqw 3cqw; }
.rv-cert__l.is-two { grid-template-columns: 1fr 1fr; }
.rv-cert__l li { display: flex; justify-content: space-between; gap: 1cqw; text-align: left; border-bottom: 1px dotted var(--rv-bord); }
.rv-cert__l i { font-style: normal; color: var(--rv-sec); white-space: nowrap; }
.rv-cert__f { margin-top: auto; width: 100%; display: flex; justify-content: space-between; font-size: 1.2cqw; color: var(--rv-sec); }
.rv-cert__m { margin: .8cqw 0 0; font-size: 1.05cqw; color: var(--rv-sec); max-width: 80%; }
@media (max-width: 560px) { .rv-cert__l.is-two { grid-template-columns: 1fr; } }
@media print {
	@page { size: A4 landscape; margin: 0; }
	body * { visibility: hidden; }
	.rv-certw, .rv-certw * { visibility: visible; }
	.rv-certw { position: fixed; inset: 0; display: block; }
	.rv-cert { max-width: none; width: 297mm; height: 210mm; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; padding: 8mm; }
	.noprint { display: none !important; }
}
.rv-lockcard[hidden] { display: none !important; }
.rv-study .rv-nav2.rv-cend { display: flex; flex-wrap: wrap; justify-content: space-between; }
.rv-cend .rv-btn { white-space: normal; text-align: center; }
@media (max-width: 560px) {
	.rv-study .rv-nav2.rv-cend { display: grid; grid-template-columns: minmax(0, 1fr); }
	.rv-study .rv-nav2.rv-cend .rv-cend__done, .rv-study .rv-nav2.rv-cend .rv-btn--pri { order: -1; }
}
@media (max-width: 560px) {
	.rv-crow__i { flex-basis: calc(100% - 40px); }
	.rv-pmod__main { flex-basis: calc(100% - 64px); }
	.rv-crow > .rv-tag, .rv-pmod > summary > .rv-tag { margin-top: -4px; }
}
/* Texte des chapitres : même taille de base que le reste du site (jeton --rv-fs-body, réglable dans
   Elementor > Réglages du site > REVIVRE), interligne confortable pour la lecture. */
.rv-read__txt, .rv-read__txt.rv-cbody { font-size: var(--rv-fs-body); line-height: 1.7; }
.rv-cres { font-size: var(--rv-fs-body); line-height: 1.6; }
.rv-gl { font-size: var(--rv-fs-body); }
.rv-bq cite { font-size: var(--rv-fs-sm); }

/* ==========================================================================
   Mode sombre (html[data-theme="dark"]) : couleurs propres aux widgets REVIVRE.
   Les jetons de base (fonds, textes, bordures, couleur d'action) sont remplacés par le thème.
   ========================================================================== */
html[data-theme="dark"] .rv-editor-note { background: #1B2438; color: #B9C3D8; border-color: #3A4766; }
html[data-theme="dark"] .rv-cardw--accent { border-color: #29324D; }
html[data-theme="dark"] .rv-info--streak .rv-info__i { background: #3D2E1C; color: #EA784A; }
html[data-theme="dark"] .rv-verses mark, html[data-theme="dark"] mark { background: #524727; color: #F3EBD2; }
html[data-theme="dark"] .rv-pctl { background: var(--rv-surf); }
html[data-theme="dark"] .rv-cs__v.is-ph { color: #8F98AA; }
html[data-theme="dark"] .rv-rm:hover { background: #391A1A; color: #D48383; }
html[data-theme="dark"] #rv-toast { background: #1B3158; }
html[data-theme="dark"] .rv-appc { background: linear-gradient(120deg, #182035 0%, #1C253E 55%, #202C47 100%); border-color: #2D3854; }
html[data-theme="dark"] .rv-msn { background: linear-gradient(120deg, #192237 0%, #1D2740 100%); border-color: #2D3854; }
html[data-theme="dark"] .rv-quiz__res, html[data-theme="dark"] .rv-qz__ok, html[data-theme="dark"] .rv-note--ok { border-color: #3F6551 !important; }
html[data-theme="dark"] .rv-quiz__res--warn, html[data-theme="dark"] .rv-qz__warn, html[data-theme="dark"] .rv-note--warn { border-color: #71603D !important; }
html[data-theme="dark"] .rv-crow.is-lock .rv-crow__i strong { color: #9298A5; }
html[data-theme="dark"] .rv-step-b.is-lk span:last-child { color: #939AA7; }
html[data-theme="dark"] .rv-rb { background: var(--rv-surf); }
html[data-theme="dark"] .rv-rb-mots { --rv-rc: #AF8CE5; --rv-rb: #251A39; background: #201733; border-color: #372A4F; }
html[data-theme="dark"] .rv-rb-retenir { --rv-rc: #16B278; --rv-rb: #1E3F32; background: #193424; border-color: #3F6551; }
html[data-theme="dark"] .rv-rb-lire { --rv-rc: #7694F1; --rv-rb: #192237; background: #171F34; border-color: #2A344F; }
html[data-theme="dark"] .rv-rb-reste, html[data-theme="dark"] .rv-rb-jesus { --rv-rc: #D18A23; --rv-rb: #493C21; background: #382F1A; border-color: #71603D; }
html[data-theme="dark"] .rv-rb-jesus { background: #3F351D; border-color: #8A6E33; }
html[data-theme="dark"] .rv-rb-refl { --rv-rc: #EA784A; --rv-rb: #3D2E1C; background: #352818; border-color: #624B34; }
html[data-theme="dark"] .rv-rb-quest { --rv-rc: #14A8D1; --rv-rb: #1D3940; background: #182E35; border-color: #375C66; }
html[data-theme="dark"] .rv-rb-suite { --rv-rc: var(--rv-nuit); --rv-rb: #1E283C; background: var(--rv-fond); }
html[data-theme="dark"] .rv-gl th, html[data-theme="dark"] .rv-gl td { border-top-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .rv-bdg.is-off svg circle:first-child { fill: #2B3752; }
html[data-theme="dark"] .rv-wac, html[data-theme="dark"] .rv-wac--hero { filter: brightness(.92); }
/* L'attestation reste sur fond blanc (papier) dans les deux modes. */
html[data-theme="dark"] .rv-cert { --rv-nuit: #172B4D; --rv-sec: #6B7280; --rv-bord: #E4E9F2; --rv-action: #3563F5; --rv-btn: #3563F5; background: #fff; color: #172B4D; }

/* =====================================================================
   2.0.0 — espace lecteur et éléments du site
   ===================================================================== */
.rv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bandeau d'annonce (REV-16) : fixé au-dessus de l'en-tête ; --rv-ann décale la coque. */
.rv-ann { position: fixed; top: var(--rv-admin-bar, 0px); left: 0; right: 0; z-index: 1000; background: var(--rv-hero1, #172B4D); color: #fff; font-size: var(--rv-fs-sm); line-height: 1.4; padding: 8px 48px 8px 16px; text-align: center; }
.rv-ann p { margin: 0; }
.rv-ann a { color: #fff; text-decoration: none; }
.rv-ann a:hover strong, .rv-ann a:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.rv-ann__m { display: none; }
@media (max-width: 767px) { .rv-ann__d { display: none; } .rv-ann__m { display: inline; } .rv-ann p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rv-ann { padding: 8px 44px 8px 12px; } }
.rv-ann__x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
.rv-ann__x:hover, .rv-ann__x:focus-visible { background: rgba(255, 255, 255, .14); }
@media print { .rv-ann, .rv-hltb { display: none !important; } }
/* Pastille de compte : photo ou initiales. */
.rv-av { border-radius: 50%; object-fit: cover; flex: none; vertical-align: middle; display: inline-block; }
.rv-av0 { display: inline-grid; place-items: center; background: var(--rv-pale); color: var(--rv-action); font-weight: 700; line-height: 1; }
.rv-btn--pri .rv-av0 { background: rgba(10, 20, 60, .3); color: #fff; }
.rv-acct__me .rv-av { width: 22px !important; height: 22px !important; font-size: 10px !important; }

/* Fenêtre (avertissement d'inactivité). */
.rv-ov { position: fixed; inset: 0; background: rgba(23, 43, 77, .55); display: grid; place-items: center; z-index: 100001; padding: 16px; }
.rv-mod { background: var(--rv-surf); color: var(--rv-txt); border-radius: 18px; max-width: 460px; width: 100%; padding: 28px; max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.rv-mod h2 { font-size: var(--rv-fs-h2); color: var(--rv-nuit); }
.rv-mod p { margin-top: 10px; }
.rv-mod__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Mon profil (REV-8). */
.rv-prof { display: grid; gap: 20px; }
.rv-prof.is-busy { cursor: progress; }
.rv-prof h2 { font-size: var(--rv-fs-h3); color: var(--rv-nuit); }
.rv-prof__id { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.rv-prof__who { flex: 1; min-width: 220px; }
.rv-prof__name { font-size: var(--rv-fs-h2) !important; }
.rv-prof__pbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rv-prof__pbtns label { cursor: pointer; }
.rv-prof__pbtns label:focus-within { outline: 3px solid var(--rv-action); outline-offset: 2px; }
.rv-prof__phelp { margin-top: 8px; }
.rv-prof__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.rv-prof__form { display: grid; gap: 14px; }
.rv-prof__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.rv-prof__theme .rv-rchips { margin-top: 12px; }
.rv-prof__acts { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 859px) { .rv-prof__grid { grid-template-columns: minmax(0, 1fr); } }

/* Choix en pastilles, étoiles, groupes (avis, profil). */
.rv-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.rv-fs legend { font-weight: 600; color: var(--rv-nuit); margin-bottom: 10px; padding: 0; font-size: var(--rv-fs-ui); }
.rv-rchips { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-rchip { position: relative; cursor: pointer; }
.rv-rchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rv-rchip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--rv-bord); border-radius: 999px; background: var(--rv-surf); color: var(--rv-txt); font-size: var(--rv-fs-ui); transition: all var(--rv-t, 180ms); }
.rv-rchip:hover span { border-color: var(--rv-action); }
.rv-rchip input:checked + span { background: var(--rv-pale); border-color: var(--rv-action); color: var(--rv-action); font-weight: 600; }
.rv-rchip input:focus-visible + span { outline: 3px solid var(--rv-action); outline-offset: 2px; }
.rv-stars { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; --rv-star-on: #F59E0B; }
.rv-star { cursor: pointer; color: #B3BAC7; display: inline-grid; place-items: center; padding: 2px; position: relative; font-size: 30px; }
.rv-star input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rv-star:hover, .rv-star:hover ~ .rv-star, .rv-star:has(input:checked), .rv-star:has(input:checked) ~ .rv-star { color: var(--rv-star-on); }
.rv-stars:hover .rv-star:not(:hover):not(:hover ~ .rv-star) { color: #B3BAC7; }
.rv-star:has(input:focus-visible) { outline: 3px solid var(--rv-action); border-radius: 8px; }
.rv-avis { display: grid; gap: 18px; position: relative; }

/* Nous suivre (REV-12). */
.rv-socw__h { font-size: var(--rv-fs-h2); color: var(--rv-nuit); }
.rv-socw .rv-sub { margin: 4px 0 12px; }
.rv-soc { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.rv-soc__i { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; background: var(--rv-surf); border: 1px solid var(--rv-bord); border-radius: var(--rv-r); color: var(--rv-nuit); font-size: var(--rv-fs-sm); font-weight: 600; text-align: center; box-shadow: var(--rv-sh); transition: border-color var(--rv-t, 180ms), color var(--rv-t, 180ms); text-decoration: none; }
.rv-soc__i:hover, .rv-soc__i:focus-visible { border-color: var(--rv-action); color: var(--rv-action); }
.rv-soc--icons { grid-template-columns: repeat(auto-fit, 56px); }
.rv-soc--icons .rv-soc__i { padding: 14px; }
.rv-soc--icons .rv-soc__i span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Mes favoris (REV-19). */
.rv-favs .rv-sh { margin-bottom: 12px; }
.rv-favs__h { font-size: var(--rv-fs-h2); color: var(--rv-nuit); }
.rv-favs .rv-card { padding: 0; overflow: hidden; }
.rv-favrow { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--rv-bord); }
.rv-favrow:first-child { border-top: 0; }
.rv-favl { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1; color: var(--rv-nuit); text-decoration: none; }
.rv-favl strong { display: block; }
.rv-favl .rv-sm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--rv-sec); }
.rv-favl .rv-ico { flex: none; }
.rv-favs__empty { padding: 18px 20px; margin: 0; }
.rv-vf { margin-left: 8px; border: 0; background: none; color: #B3BAC7; cursor: pointer; padding: 2px 4px; border-radius: 6px; vertical-align: -2px; font-size: 16px; line-height: 1; }
.rv-vf:hover, .rv-vf:focus-visible, .rv-vf.is-on { color: var(--rv-action); }
.rv-v.is-flash { background: #FFF3C4; border-radius: 8px; transition: background 2s; }

/* Surligneur et marque-page (REV-14, REV-21). */
mark.rv-hl { background: var(--rv-hl-jaune, #FFE08A); color: inherit; border-radius: 3px; padding: 0 1px; }
 
/* Connexion : raison de la redirection. */
.rv-auth__why { margin-bottom: 16px; }

/* Page de maintenance (REV-22). */
.rv-mt { --rv-mt1: #0F1F3D; --rv-mt2: #2B4BB0; --rv-mt3: #F3C98B; min-height: 100vh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 32px 20px; color: #fff; background: linear-gradient(180deg, var(--rv-mt1) 0%, var(--rv-mt2) 62%, var(--rv-mt3) 100%); }
.rv-mt__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-mt__in { position: relative; max-width: 640px; text-align: center; padding-bottom: 110px; }
.rv-mt__lg { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; font-size: 20px; color: #fff; }
.rv-mt__mark { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .16); font-size: 22px; }
.rv-mt__h { font-size: var(--rv-fs-display); line-height: 1.1; margin: 28px 0 14px; color: #fff; }
.rv-mt__tx { color: #DCE6FF; font-size: var(--rv-fs-lead); margin: 0 auto; max-width: 540px; }
.rv-mt__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; background: #fff; color: #0F3D2E; border: 0; border-radius: 14px; padding: 14px 22px; font: inherit; font-weight: 600; font-size: var(--rv-fs-body); cursor: pointer; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); text-decoration: none; transition: transform var(--rv-t, 180ms); }
.rv-mt__wa svg { color: #1F9D61; }
.rv-mt__wa:hover { transform: translateY(-1px); }
.rv-mt__sm { margin-top: 20px; color: #E4ECFF; text-shadow: 0 1px 8px rgba(15, 31, 61, .6); font-size: var(--rv-fs-sm); }
.rv-mt__tk { margin-top: 14px; font-size: var(--rv-fs-sm); color: #fff; background: rgba(255, 255, 255, .16); border-radius: 10px; padding: 10px 14px; }
.rv-mt__tk[hidden] { display: none; }
body.rv-blank { margin: 0; padding: 0 !important; background: #0F1F3D; }
body.rv-blank .rv-blank__main { margin: 0; padding: 0; }

/* Mode sombre : éléments 2.0.0. */
html[data-theme="dark"] mark.rv-hl { color: #F3EBD2; }
html[data-theme="dark"] .rv-v.is-flash { background: #3E3720; }
html[data-theme="dark"] html[data-theme="dark"] .rv-vf, html[data-theme="dark"] .rv-star { color: #5D6A84; }
html[data-theme="dark"] .rv-stars:hover .rv-star:not(:hover):not(:hover ~ .rv-star) { color: #5D6A84; }
html[data-theme="dark"] .rv-star:hover, html[data-theme="dark"] .rv-star:hover ~ .rv-star, html[data-theme="dark"] .rv-star:has(input:checked), html[data-theme="dark"] .rv-star:has(input:checked) ~ .rv-star { color: var(--rv-star-on); }
html[data-theme="dark"] .rv-vf.is-on, html[data-theme="dark"] .rv-vf:hover { color: var(--rv-action); }
html[data-theme="dark"] .rv-ann { background: #1B2540; }
html[data-theme="dark"] .rv-ov { background: rgba(0, 0, 0, .6); }
html[data-theme="dark"] .rv-btn--pri .rv-av0 { background: rgba(255, 255, 255, .2); }
.rv-btn[hidden], .rv-prof__cur[hidden] { display: none !important; }
.rv-dash .rv-favs { margin-top: 32px; }
html[data-theme="dark"] .rv-chip.is-on { color: #0F1523; }
html[data-theme="dark"] #rv-toast { background: #26324D; color: #EEF2FA; box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
/* En-tête sur petit écran : pour un visiteur (bouton « Se connecter »), le nom du logo s'efface avant que les boutons ne se chevauchent. */
@media (max-width: 440px) { .rv-top:has(.rv-acct--guest) .rv-logo__text { display: none; } }

/* =====================================================================
   2.0.1
   ===================================================================== */
/* Surligner (jaune) et Marque-page (bleu) : simple <mark> en ligne, la mise en forme ne change pas. */
mark.rv-hl--m { background: #BCE3EE; }
html[data-theme="dark"] mark.rv-hl--m { background: #213D44; color: #E3F4F8; }
.rv-cbody .is-flash { background: #FFF3C4; border-radius: 8px; transition: background 2s; }
html[data-theme="dark"] .rv-cbody .is-flash { background: #3E3720; }
/* Mes surlignés : deux volets dépliables, fermés par défaut, avec leur nombre. */
.rv-favd + .rv-favd { border-top: 1px solid var(--rv-bord); }
.rv-favd > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--rv-nuit); font-size: var(--rv-fs-h3); }
.rv-favd > summary::-webkit-details-marker { display: none; }
.rv-favd > summary > span:first-child { flex: 1; }
.rv-favd > summary .rvi { transition: transform var(--rv-t, 180ms); }
.rv-favd[open] > summary .rvi { transform: rotate(180deg); }
.rv-favd > summary:focus-visible { outline: 3px solid var(--rv-action); outline-offset: -3px; border-radius: 12px; }
.rv-favn { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--rv-pale); color: var(--rv-action); font-size: var(--rv-fs-sm); display: inline-grid; place-items: center; }
.rv-favd .rv-favrow:first-child { border-top: 1px solid var(--rv-bord); }
.rv-favd .rv-favs__empty { padding: 10px 20px 16px; }
.rv-favex { display: block; font-style: italic; margin-top: 2px; color: var(--rv-txt); font-size: var(--rv-fs-sm); }

/* REV-24 · boutons ronds de l'en-tête : une seule apparence (Recherche, clair / sombre, Panier). */
.rv-hb { box-sizing: border-box; min-width: 44px; height: 44px; padding: 0; margin: 0; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--rv-bord); background: var(--rv-surf); color: var(--rv-nuit); cursor: pointer; flex: none; font-size: 20px; line-height: 0; text-decoration: none; transition: border-color var(--rv-t, 180ms), color var(--rv-t, 180ms); }
.rv-hb:hover, .rv-hb:focus-visible { border-color: var(--rv-action); color: var(--rv-action); background: var(--rv-surf); }
.rv-hb:focus-visible { outline: 3px solid var(--rv-action); outline-offset: 2px; }
.rv-hb svg, .rv-hb .rvi { width: 1em; height: 1em; }

/* REV-27 · recherche mobile : la loupe ouvre le champ dans l'en-tête, sans changer de page. */
.rv-sbox .rv-sbox__mbtn, .rv-sbox .rv-sbox__x { display: none; }
@media (max-width: 860px) {
	.rv-sbox--m-button .rv-sbox__mbtn { display: inline-grid; }
	.rv-top.rv-so .elementor-widget:not(.elementor-widget-rv-search-box) { display: none !important; }
	.rv-top.rv-so .e-con:not(:has(.elementor-widget-rv-search-box)) { display: none !important; }
	.rv-top.rv-so .elementor-widget-rv-search-box { flex: 1 1 auto !important; width: 100% !important; max-width: none !important; }
	.rv-top.rv-so .e-con:has(.elementor-widget-rv-search-box) { flex: 1 1 auto; width: 100%; max-width: none; margin: 0; }
	.rv-top.rv-so .rv-sbox--m-button .rv-sbox__form { display: flex; align-items: center; gap: 10px; max-width: none; }
	.rv-top.rv-so .rv-sbox__input { flex: 1; min-width: 0; height: 44px; font-size: 16px; }
	.rv-top.rv-so .rv-sbox .rv-sbox__mbtn { display: none; }
	.rv-top.rv-so .rv-sbox .rv-sbox__x { display: inline-grid; }
}

/* REV-23 · photo de profil toujours ronde ; en-tête : photo + prénom à partir de 768 px, photo seule en dessous. */
.rv-av { aspect-ratio: 1 / 1; border-radius: 50% !important; object-fit: cover; object-position: center; }
@media (max-width: 767px) {
	.rv-acct__me .rv-acct__nm { display: none; }
	.rv-acct__me { width: 44px; height: 44px; padding: 0 !important; justify-content: center; gap: 0; }
	.rv-acct__me .rv-av { width: 26px !important; height: 26px !important; }
}
/* Recadrage de la photo */
.rv-pcrop h2 { font-size: var(--rv-fs-h3); }
.rv-pcv { width: 280px; height: 280px; max-width: 100%; margin: 16px auto 0; border-radius: 50%; overflow: hidden; border: 2px solid var(--rv-action); touch-action: none; cursor: grab; background: var(--rv-fond); }
.rv-pcv:active { cursor: grabbing; }
.rv-pcv canvas { display: block; width: 100%; height: 100%; }
.rv-pcv:focus-visible { outline: 3px solid var(--rv-action); outline-offset: 3px; }
.rv-pcrop input[type=range] { width: 100%; accent-color: var(--rv-action); }
.rv-pcrop .rv-mod__acts { justify-content: flex-end; }
body.rv-pfs-lock { overflow: hidden; }

/* REV-30 · en-tête en deux conteneurs : largeur naturelle (modifiable dans Elementor > Mise en page > Largeur). */
.e-con.e-flex.rv-hdl { --width: auto; min-width: 0; }
.e-con.e-flex.rv-ha { --width: auto; min-width: 0; }
@media (min-width: 861px) { .e-con.e-flex.rv-hdl { --width: 228px; } }

/* =====================================================================
   3.0.0 — outils de lecture (toucher un verset / un paragraphe), favoris, 4 couleurs,
   marque-page, notes privées, « Aa », verset du jour, Reprendre, Réglages, menu du compte.
   ===================================================================== */
:root, body { --rv-hl-jaune: #FFE08A; --rv-hl-vert: #BFE8C8; --rv-hl-bleu: #BCD3FF; --rv-hl-rose: #FFC9DD; --rv-sel: #F1EAFE; --rv-selb: #7C3AED; --rv-selh: #F7F3FF; --rv-bmk: #D92D20; --rv-deep: #172B4D; }
html[data-theme="dark"], html[data-theme="dark"] body { --rv-hl-jaune: #524727; --rv-hl-vert: #2A4F3A; --rv-hl-bleu: #2B4470; --rv-hl-rose: #5A2E45; --rv-sel: rgba(167, 139, 250, .2); --rv-selb: #A78BFA; --rv-selh: rgba(167, 139, 250, .09); --rv-bmk: #F97066; --rv-deep: #26324D; }
mark.rv-hl.rv-hl--vert { background: var(--rv-hl-vert); }
mark.rv-hl.rv-hl--bleu { background: var(--rv-hl-bleu); }
mark.rv-hl.rv-hl--rose { background: var(--rv-hl-rose); }
.rv-verses .rv-v, .rv-cbody p, .rv-cbody li, .rv-cbody td, .rv-cbody th, .rv-cbody cite { position: relative; transition: background .15s; border-radius: 4px; }
.rv-verses .rv-v.rv-rsel, .rv-cbody .rv-rsel { background: var(--rv-sel); box-shadow: -8px 0 0 var(--rv-sel), 8px 0 0 var(--rv-sel), -11px 0 0 var(--rv-selb); }
.rv-cbody blockquote.rv-rsel { background: var(--rv-sel); box-shadow: 0 0 0 3px var(--rv-selb); }
@media (hover: hover) {
	.rv-verses .rv-v:hover:not(.rv-rsel), .rv-cbody p:hover:not(.rv-rsel), .rv-cbody li:hover:not(.rv-rsel) { background: var(--rv-selh); box-shadow: -8px 0 0 var(--rv-selh), 8px 0 0 var(--rv-selh); cursor: pointer; }
}
@media (hover: none) { .rv-verses, .rv-cbody { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } }
.rv-fvs { display: inline-block; color: var(--rv-action); margin-right: 6px; font-size: 13px; vertical-align: 1px; }
.rv-bq cite .rv-fvs { margin: 0 0 0 8px; }
.rv-verses .rv-v.rv-bmk, .rv-cbody p.rv-bmk, .rv-cbody li.rv-bmk { padding-left: 26px; }
.rv-bmk::before { content: ""; position: absolute; left: 6px; top: 4px; width: 11px; height: 20px; background: var(--rv-bmk); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); pointer-events: none; animation: rv-bmkin .28s ease; }
@keyframes rv-bmkin { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .rv-bmk::before { left: 5px; width: 9px; } .rv-verses .rv-v.rv-bmk, .rv-cbody p.rv-bmk, .rv-cbody li.rv-bmk { padding-left: 22px; } }
@media (prefers-reduced-motion: reduce) { .rv-bmk::before { animation: none; } }
.rv-nti { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 8px; vertical-align: -5px; padding: 0; border: 0; border-radius: 7px; background: var(--rv-pale); color: var(--rv-action); cursor: pointer; line-height: 0; font-size: 14px; }
.rv-nti::after { content: ""; position: absolute; inset: -10px; }
.rv-nti:hover { background: var(--rv-action); color: #fff; }
.rv-nti:focus-visible { outline: 3px solid var(--rv-action); outline-offset: 2px; }

/* Barre d'actions. */
.rv-hltb { position: fixed; z-index: 100000; background: var(--rv-deep); color: #fff; border-radius: 14px; padding: 6px 8px 8px; box-shadow: 0 8px 28px rgba(15, 31, 61, .4); max-width: calc(100vw - 16px); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rv-hltb[hidden] { display: none; }
.rv-hltb .rv-hh { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; padding: 0 2px 2px; }
.rv-hltb .rv-hn { font-size: var(--rv-fs-cap, 12px); font-weight: 600; color: #C9D6FF; }
.rv-hltb .rv-hx { border: 0; background: transparent; color: #fff; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.rv-hltb .rv-hbb { display: flex; gap: 2px; align-items: stretch; }
.rv-hltb .rv-hb2 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.15; padding: 6px 8px; min-width: 58px; min-height: 44px; border-radius: 10px; cursor: pointer; text-align: center; }
.rv-hltb .rv-hb2 .rvi { font-size: 20px; }
.rv-hltb .rv-hb2 span { display: block; hyphens: none; overflow-wrap: normal; }
.rv-hltb .rv-hb2:hover, .rv-hltb .rv-hx:hover { background: rgba(255, 255, 255, .16); }
.rv-hltb .rv-hb2.is-on { background: rgba(255, 255, 255, .2); }
.rv-hltb .rv-hbs { display: flex; align-items: stretch; }
.rv-hltb .rv-hbs > .rv-hb2:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rv-hltb .rv-hcol { min-width: 26px; padding: 6px 2px; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 1px solid rgba(255, 255, 255, .18); }
.rv-hltb .rv-hcol .rvi { font-size: 16px; }
.rv-hltb .rv-hcols { display: flex; gap: 10px; justify-content: center; padding: 8px 0 2px; }
.rv-hltb .rv-hsw { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.rv-hltb .rv-hsw span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: #FFE08A; }
.rv-hltb .rv-hsw--vert span { background: #BFE8C8; }
.rv-hltb .rv-hsw--bleu span { background: #BCD3FF; }
.rv-hltb .rv-hsw--rose span { background: #FFC9DD; }
.rv-hltb :focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.rv-hltb.is-mob .rv-hbb { justify-content: space-between; }
.rv-hltb.is-mob .rv-hb2 { flex: 1 1 0; min-width: 0; padding: 6px 2px; }
.rv-hltb.is-mob .rv-hbs { flex: 1.3 1 0; }
.rv-hltb.is-mob .rv-hbs > .rv-hb2:first-child { flex: 1 1 auto; }
@media (max-width: 560px) { .rv-hltb .rv-hbb .rv-hb2 { padding-left: 6px; padding-right: 6px; } }
@media (max-width: 420px) { .rv-hltb .rv-hb2 { font-size: 11.5px; } }
@media (max-width: 400px) { .rv-hltb .rv-hbb .rv-hb2 { padding-left: 3px; padding-right: 3px; } .rv-hltb .rv-hbb .rv-hb2 span { font-size: 10.5px; white-space: nowrap; } }
body.rv-hasbar #rv-toast { bottom: 200px; }
@media (min-width: 861px) { body.rv-hasbar #rv-toast { bottom: 24px; } }

/* Bulle d'aide (une seule fois). */
.rv-aidel { position: fixed; z-index: 99990; left: 12px; right: 12px; bottom: 24px; background: var(--rv-pale); color: var(--rv-txt); border: 1px solid var(--rv-action); border-left-width: 4px; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(15, 31, 61, .25); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 14px; }
.rv-aidel p { margin: 0; font-size: var(--rv-fs-sm); color: var(--rv-nuit); font-weight: 500; line-height: 1.5; }
.rv-aidel__i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rv-surf); color: var(--rv-action); font-size: 22px; }
.rv-aidel .rv-btn { grid-column: 2; justify-self: end; }
.rv-aidel.is-in { position: static; margin: 0 0 20px; box-shadow: none; grid-template-columns: auto 1fr auto; padding: 14px 18px; gap: 16px; }
.rv-aidel.is-in .rv-btn { grid-column: auto; justify-self: auto; }

/* « Aa » : confort de lecture. */
.rv-aab { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--rv-bord); background: var(--rv-surf); color: var(--rv-nuit); border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; }
.rv-aab:hover, .rv-aab[aria-expanded="true"] { border-color: var(--rv-action); color: var(--rv-action); }
.rv-read__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-read__tags .rv-aab { margin-left: auto; height: 40px; }
.rv-aapanel { position: fixed; z-index: 100001; background: var(--rv-surf); color: var(--rv-txt); border: 1px solid var(--rv-bord); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 32px rgba(15, 31, 61, .28); width: min(300px, calc(100vw - 16px)); }
.rv-aapanel .rv-al { font-size: var(--rv-fs-cap, 12px); font-weight: 600; color: var(--rv-sec); margin: 10px 0 6px; }
.rv-aapanel .rv-al:first-child { margin-top: 0; }
.rv-aapanel .rv-arow { display: flex; gap: 8px; }
.rv-aopt { flex: 1; min-height: 44px; border: 1px solid var(--rv-bord); background: var(--rv-fond); color: var(--rv-nuit); border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; display: grid; place-items: center; }
.rv-aopt.is-on { border-color: var(--rv-action); background: var(--rv-pale); color: var(--rv-action); }
html[data-lt="s"] .rv-verses, html[data-lt="s"] .rv-rsp .rv-v { font-size: calc(var(--rv-vfs, 19px) * .9); }
html[data-lt="l"] .rv-verses, html[data-lt="l"] .rv-rsp .rv-v { font-size: calc(var(--rv-vfs, 19px) * 1.2); }
html[data-lt="s"] .rv-read__txt.rv-cbody { font-size: calc(var(--rv-fs-body, 17px) * .9); }
html[data-lt="l"] .rv-read__txt.rv-cbody { font-size: calc(var(--rv-fs-body, 17px) * 1.2); }
html[data-li="a"] .rv-verses, html[data-li="a"] .rv-rsp .rv-v { line-height: 2.2; }
html[data-li="a"] .rv-read__txt.rv-cbody { line-height: 2.1; }
html[data-ln="0"] .rv-verses .rv-v sup, html[data-ln="0"] .rv-rsp .rv-v sup { display: none; }

/* Note privée : fenêtre. */
.rv-ndq { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--rv-action); background: var(--rv-pale); border-radius: 8px; font-style: italic; font-size: var(--rv-fs-sm); color: var(--rv-txt); }
.rv-ndl { display: block; margin-top: 14px; }
.rv-ndx { height: auto; min-height: 140px; padding: 12px 14px; margin-top: 6px; width: 100%; resize: vertical; }
.rv-ndc { text-align: right; margin-top: 4px; }
.rv-ndb { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; flex-wrap: wrap; }
.rv-ndb__del { margin-right: auto; }
.rv-mod__t { font-size: var(--rv-fs-h2); }

/* Mes surlignés, favoris, notes. */
.rv-hdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--rv-hl-jaune); border: 1px solid var(--rv-bord); margin-right: 6px; vertical-align: -1px; }
.rv-hdot--vert { background: var(--rv-hl-vert); }
.rv-hdot--bleu { background: var(--rv-hl-bleu); }
.rv-hdot--rose { background: var(--rv-hl-rose); }
.rv-hlf { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.rv-favrow[hidden] { display: none; }
.rv-favrow .rv-favl .rv-sm { display: block; }
.rv-vfavs__card .rv-favs__empty, .rv-favd .rv-favs__empty { padding: 14px 20px; }
.rv-notes__list { display: grid; gap: 14px; }
.rv-noterow { padding: 16px 20px; display: grid; gap: 10px; }
.rv-noterow__h { display: flex; gap: 12px; align-items: center; }
.rv-noterow__h .rv-sm { display: block; }
.rv-noterow__h .rv-ico { flex: none; }
.rv-noterow__x { margin: 0; font-style: italic; font-size: var(--rv-fs-sm); color: var(--rv-sec); }
.rv-noterow__t { margin: 0; overflow-wrap: anywhere; padding: 12px 14px; background: var(--rv-fond); border-radius: 10px; color: var(--rv-nuit); }
.rv-noterow__a { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-noterow__a .rv-btn.is-on { border-color: var(--rv-err, #B42318); color: var(--rv-err, #B42318); }
.rv-notes__empty[hidden] { display: none; }

/* Verset du jour. */
.rv-vjc { display: grid; gap: 12px; background: linear-gradient(135deg, var(--rv-deep), #2B4BB0); color: #fff; border: 0; }
.rv-vjc__l { font-size: var(--rv-fs-cap, 12px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #C9D6FF; }
.rv-vjc__r { margin: 0; font-weight: 700; color: #fff; }
.rv-vjc blockquote { margin: 0; font-size: var(--rv-fs-lead); line-height: 1.6; color: #fff; border: 0; padding: 0; }
.rv-vjc__a, .rv-vjc__b { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-vjc__b[hidden] { display: none; }
.rv-vjc .rv-btn { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; text-decoration: none; }
.rv-vjc .rv-btn:hover { background: rgba(255, 255, 255, .24); }
.rv-vjc .rv-btn.is-on { background: #fff; color: var(--rv-deep); }

/* Reprendre. */
.rv-rep2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rv-rep2__c { display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none; color: var(--rv-txt); }
.rv-rep2__c .rv-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.rv-rep2__x { min-width: 0; flex: 1; display: grid; gap: 2px; }
.rv-rep2__x b { color: var(--rv-nuit); font-size: var(--rv-fs-body); }
.rv-rep2__x .rv-bar { margin-top: 6px; }
@media (max-width: 700px) { .rv-rep2 { grid-template-columns: 1fr; gap: 10px; } }

/* Réglages. */
.rv-rg { display: grid; gap: 20px; max-width: 760px; }
.rv-rgs h2 { font-size: var(--rv-fs-h3); }
.rv-rgs > .rv-sm { margin-top: 4px; }
.rv-rgs .rv-rchips { margin-top: 12px; align-items: center; }
.rv-rgs .rv-rchip span { min-height: 44px; display: inline-flex; align-items: center; }
.rv-rgl { flex-basis: 100%; font-size: var(--rv-fs-cap, 12px); font-weight: 600; color: var(--rv-sec); }
.rv-rgs .rv-sel, .rv-rgs > p { margin-top: 12px; }
.rv-rsp { margin-top: 16px; padding: 16px; border: 1px dashed var(--rv-bord); border-radius: 12px; background: var(--rv-fond); --rv-vfs: 19px; }
.rv-rsp .rv-v { margin: 0; font-size: var(--rv-vfs); line-height: 1.7; }
.rv-rsp .rv-v sup { color: var(--rv-action); font-weight: 600; margin-right: 4px; }
.rv-rsp cite { display: block; margin-top: 8px; font-size: var(--rv-fs-cap, 12px); color: var(--rv-sec); font-style: normal; }
.rv-soon { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.rv-soon li { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--rv-bord); border-radius: 12px; opacity: .6; cursor: not-allowed; }
.rv-soon li > span:nth-child(2) { flex: 1; min-width: 0; }
.rv-soon b { display: block; color: var(--rv-nuit); }
.rv-soon__tag { margin-left: auto; font-size: var(--rv-fs-cap, 12px); font-weight: 600; color: var(--rv-sec); border: 1px solid var(--rv-bord); border-radius: 999px; padding: 2px 10px; }
.rv-prof__rg { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--rv-txt); flex-wrap: wrap; }
.rv-prof__rg > span:nth-child(2) { flex: 1; min-width: 200px; }
.rv-prof__rg b { display: block; color: var(--rv-nuit); }

/* Logo « Parole ». */
.rv-logo__tw { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rv-logo__chip { font-weight: 600; font-size: var(--rv-fs-cap, 12px); color: var(--rv-action); background: var(--rv-pale); border-radius: 999px; padding: 2px 9px; line-height: 1.5; }
@media (max-width: 560px) { .rv-logo__tw { flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.05; } .rv-logo__chip { background: none; padding: 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; } }

/* Menu du compte. */
.rv-pmw { position: relative; }
.rv-pmw .rv-acct__me .rvi-down { font-size: 14px; }
.rv-pmen { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--rv-surf); border: 1px solid var(--rv-bord); border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 31, 61, .2); padding: 6px; z-index: 100002; display: flex; flex-direction: column; }
.rv-pmen[hidden] { display: none; }
.rv-pmen a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 500; color: var(--rv-txt); text-decoration: none; }
.rv-pmen a:hover, .rv-pmen a:focus-visible { background: var(--rv-fond); }
@media (max-width: 860px) { .rv-pmw .rv-acct__me .rvi-down { display: none; } }
@media print { .rv-aidel, .rv-aapanel, .rv-nti { display: none !important; } }

/* =====================================================================
   4.0.0 — logo (icône de l'application + REVIVRE en Montserrat Black), formulaire de don.
   ===================================================================== */
.rv-logo__app { width: 36px; height: 36px; flex: none; display: block; color: var(--rv-action); }
.rv-logo__text--wm { font-family: Montserrat, system-ui, sans-serif; font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: .01em; white-space: nowrap; color: var(--rv-nuit); }
@media (max-width: 480px) { .rv-logo__app { width: 32px; height: 32px; } .rv-logo__text--wm { font-size: 22px; } }
.rv-don { max-width: 760px; }
.rv-don__f { display: grid; gap: 18px; }
.rv-don .rv-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.rv-don .rv-fs legend { font-weight: 600; color: var(--rv-nuit); margin-bottom: 10px; padding: 0; }
.rv-don__other { margin-top: 10px; max-width: 260px; }
.rv-don__other[hidden] { display: none; }
.rv-don__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .rv-don__two { grid-template-columns: 1fr; } }
.rv-don__ok { text-align: center; }
.rv-don__ok .rv-ico { margin: 0 auto 14px; width: 52px; height: 52px; font-size: 26px; }
.rv-don__ok .rv-sel { justify-content: center; margin-top: 18px; }
.rv-don textarea.rv-field { height: auto; padding: 12px 14px; }
.rv-don > .rv-note { margin: 0 0 16px; }
.rv-don__eq { margin-top: 8px; }
.rv-don__ok h2 { font-size: var(--rv-fs-h2); margin-top: 4px; }
.rv-don__ok p { margin-top: 8px; }
