/*
 * Riwaq — vitrine : grande section d'accueil et catalogue des cours.
 * Typographie du site (Spectral), vert nuit, or, crème. Mouvements courts et rares.
 */
@font-face { font-family: 'Amiri'; font-weight: 400; src: url('fonts/amiri-arabic-400-normal.woff2') format('woff2'); font-display: swap; }

/* ================================================================ Section d'accueil */
.rq-hero {
	--rq-header: 120px;
	position: relative; isolation: isolate; overflow: hidden;
	/* Pleine largeur : classe alignfull (gérée par le thème), sans marge haute ni basse. */
	margin-top: 0 !important; margin-bottom: 0 !important;
	min-height: calc(100vh - var(--rq-header)); min-height: calc(100svh - var(--rq-header));
	display: grid; place-items: center; padding: clamp(32px, 6vh, 80px) 20px clamp(60px, 9vh, 100px);
	background: #111c18; color: #faf6ef;
}
.rq-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 55% at 78% 22%, rgba(188, 155, 106, .20), transparent 70%),
		radial-gradient(50% 50% at 12% 88%, rgba(188, 155, 106, .12), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23bc9b6a' stroke-opacity='.13' stroke-width='.7'%3E%3Cpath d='M48 0l14.1 14.1h19.8v19.8L96 48 81.9 62.1v19.8H62.1L48 96 33.9 81.9H14.1V62.1L0 48l14.1-14.1V14.1h19.8z'/%3E%3Cpath d='M48 0l14.1 14.1h19.8v19.8L96 48 81.9 62.1v19.8H62.1L48 96 33.9 81.9H14.1V62.1L0 48l14.1-14.1V14.1h19.8z' transform='translate(26.4 26.4) scale(.45)' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
	background-size: auto, auto, 144px 144px;
}
.rq-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 28, 24, .25) 0%, rgba(17, 28, 24, 0) 30%, rgba(17, 28, 24, .55) 100%); }
.rq-hero-ar { position: absolute; right: -2vw; bottom: -6vh; font-family: 'Amiri', serif; font-size: clamp(180px, 34vw, 520px); line-height: 1; color: #bc9b6a; opacity: .07; user-select: none; }

.rq-hero-in { position: relative; width: min(1120px, 100%); text-align: center; }
.rq-hero-eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #bc9b6a; }
.rq-hero-title { margin: 0 auto 18px; max-width: 900px; font-size: clamp(32px, 5.2vw, 62px); line-height: 1.08; font-weight: 500; letter-spacing: -.01em; color: #faf6ef; text-transform: none; }
.rq-hero-title em { font-style: italic; color: #e2c999; white-space: nowrap; }
.rq-hero-lead { margin: 0 auto 30px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: rgba(250, 246, 239, .82); }

.rq-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: clamp(24px, 4vh, 48px); }
.rq-cta {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px;
	font-size: 16px; font-weight: 600; letter-spacing: .01em; text-decoration: none !important; border: 1px solid transparent;
	transition: transform 160ms var(--rq-ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.rq-cta:active { transform: scale(0.97); }
.rq-cta.is-primary { background: #bc9b6a; color: #111c18 !important; box-shadow: 0 8px 24px rgba(188, 155, 106, .25); }
.rq-cta.is-ghost { border-color: rgba(250, 246, 239, .45); color: #faf6ef !important; }
.rq-cta:focus-visible { outline: 2px solid #e2c999; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.rq-cta.is-primary:hover { background: #cdb07f; }
	.rq-cta.is-ghost:hover { background: rgba(250, 246, 239, .08); border-color: #faf6ef; }
}

.rq-hero-paths { list-style: none; margin: 0 auto 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
.rq-path {
	display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; text-align: left; border-radius: 14px; text-decoration: none !important;
	background: rgba(250, 246, 239, .05); border: 1px solid rgba(188, 155, 106, .28); color: #faf6ef !important;
	transition: transform 200ms var(--rq-ease-out), background-color 200ms ease, border-color 200ms ease;
}
.rq-path strong { display: block; font-size: 17px; font-weight: 600; }
.rq-path small { display: block; margin-top: 2px; font-size: 13px; color: rgba(250, 246, 239, .66); }
.rq-path-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(188, 155, 106, .14); color: #e2c999; }
.rq-path-go { margin-left: auto; flex: none; color: #bc9b6a; opacity: .7; transition: transform 200ms var(--rq-ease-out), opacity 200ms ease; }
.rq-path:active { transform: scale(0.98); }
.rq-path:focus-visible { outline: 2px solid #e2c999; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.rq-path:hover { background: rgba(250, 246, 239, .09); border-color: rgba(188, 155, 106, .6); transform: translateY(-2px); }
	.rq-path:hover .rq-path-go { transform: translateX(3px); opacity: 1; }
}

.rq-hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 14px; color: rgba(250, 246, 239, .7); }
.rq-hero-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.rq-hero-trust li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: #bc9b6a; }

.rq-hero-down { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: rgba(250, 246, 239, .7) !important; border: 1px solid rgba(250, 246, 239, .2); transition: color 160ms ease, border-color 160ms ease; }
.rq-hero-down:hover { color: #faf6ef !important; border-color: rgba(250, 246, 239, .5); }

/* Entrée en cascade, une seule fois au chargement. */
@keyframes rq-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rq-hero-in > * { animation: rq-rise 700ms var(--rq-ease-out) both; }
.rq-hero-in > :nth-child(2) { animation-delay: 60ms; }
.rq-hero-in > :nth-child(3) { animation-delay: 120ms; }
.rq-hero-in > :nth-child(4) { animation-delay: 180ms; }
.rq-hero-in > :nth-child(5) { animation-delay: 240ms; }
.rq-hero-in > :nth-child(6) { animation-delay: 300ms; }

/* Téléphone : la section tient dans l'écran (sous l'en-tête), sans rien de superflu. */
@media (max-width: 820px) {
	.rq-hero { --rq-header: 70px; min-height: calc(100dvh - var(--rq-header)); min-height: calc(100svh - var(--rq-header)); padding: 22px 16px 58px; }
	.rq-hero-title { font-size: clamp(27px, 7.6vw, 34px); margin-bottom: 12px; }
	.rq-hero-lead { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
	.rq-hero-cta { flex-wrap: nowrap; gap: 8px; margin-bottom: 18px; }
	.rq-hero-cta .rq-cta { flex: 1 1 auto; min-height: 48px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
	.rq-hero-paths { grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
	.rq-path { padding: 10px 12px; gap: 12px; border-radius: 12px; }
	.rq-path strong { font-size: 16px; }
	.rq-path small { display: none; }
	.rq-path-ic { width: 34px; height: 34px; border-radius: 10px; }
	.rq-path-ic svg { width: 20px; height: 20px; }
	.rq-hero-trust { gap: 4px 14px; font-size: 12.5px; }
	.rq-hero-down { bottom: 10px; width: 34px; height: 34px; }
}
@media (max-width: 345px) {
	.rq-hero-cta .rq-cta { padding: 0 10px; font-size: 14px; }
}
/* Petits écrans en hauteur : on garde l'essentiel. */
@media (max-width: 820px) and (max-height: 700px) {
	.rq-hero-trust li:nth-child(n+2) { display: none; }
	.rq-hero-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.rq-path { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; text-align: center; }
	.rq-path strong { font-size: 13px; line-height: 1.2; }
	.rq-path-go { display: none; }
	.rq-hero-title { font-size: clamp(25px, 7vw, 30px); }
	.rq-hero-lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ================================================================ Catalogue des cours */
.rq-cat { --rq-ink: #111c18; margin: 0 auto 40px; max-width: 1180px; color: #111c18; }
.rq-cat-head { text-align: center; margin: 8px auto 26px; max-width: 720px; }
.rq-cat-head h1, .rq-cat-head h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.rq-cat-head p { margin: 0; color: #6f6f6a; }
.rq-cat-head .rq-hero-eyebrow { margin-bottom: 8px; }
.rq-cat-filters { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; }
.rq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rq-cat .rq-chip {
	appearance: none; font: inherit; font-size: 15px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
	background: #fff; border: 1px solid #e6dfd3; color: #111c18;
	transition: transform 160ms var(--rq-ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.rq-cat .rq-chip:active { transform: scale(0.97); }
.rq-cat .rq-chip.is-on { background: #111c18; border-color: #111c18; color: #fff; }
@media (hover: hover) and (pointer: fine) { .rq-cat .rq-chip:not(.is-on):hover { border-color: #bc9b6a; } }
.rq-cat-count { text-align: center; margin: 0 0 18px; font-size: 14px; color: #6f6f6a; }
.rq-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.rq-course {
	display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid #e6dfd3; border-radius: 14px; overflow: hidden;
	transition: transform 200ms var(--rq-ease-out), box-shadow 200ms ease, border-color 200ms ease;
}
.rq-course[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .rq-course:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(17, 28, 24, .10); border-color: #d9cdb8; } }
.rq-course-img { display: block; aspect-ratio: 16 / 10; background: #faf6ef; overflow: hidden; }
.rq-course-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rq-course-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.rq-course-body h3 { margin: 0; font-size: 19px; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.rq-tag { align-self: flex-start; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9c7d4f; }
.rq-course-price { margin: 0; color: #6f6f6a; font-size: 14px; }
.rq-course-price strong { color: #111c18; }
.rq-course-cta { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 8px; }
.rq-cta.is-small { min-height: 40px; padding: 0 20px; font-size: 15px; background: #111c18; color: #fff !important; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .rq-cta.is-small:hover { background: #2a3a33; } }
.rq-link { appearance: none; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: #111c18 !important; text-decoration: underline; text-decoration-color: #bc9b6a; text-underline-offset: 3px; cursor: pointer; }
.rq-cat-empty { text-align: center; padding: 30px; color: #6f6f6a; }

@media (prefers-reduced-motion: reduce) {
	.rq-hero-in > * { animation: none; }
	.rq-path, .rq-course, .rq-cta, .rq-cat .rq-chip { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
	.rq-path:hover, .rq-course:hover { transform: none; }
}
@media (max-width: 600px) {
	.rq-cat-filters { align-items: stretch; }
	.rq-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; scroll-snap-type: x proximity; }
	.rq-chips::-webkit-scrollbar { display: none; }
	.rq-cat .rq-chip { flex: none; scroll-snap-align: start; }
}

/* ================================================================ Section d'accueil en clair (choix du 05/11/2026)
   Fond crème vers blanc, motif or transparent : dans la continuité du reste du site. */
.rq-hero { background: linear-gradient(180deg, #faf6ef 0%, #ffffff 100%); color: #111c18; border-bottom: 1px solid #efe7da; }
.rq-hero-bg {
	background:
		radial-gradient(55% 55% at 82% 18%, rgba(188, 155, 106, .16), transparent 70%),
		radial-gradient(45% 50% at 10% 90%, rgba(188, 155, 106, .10), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23bc9b6a' stroke-opacity='.22' stroke-width='.7'%3E%3Cpath d='M48 0l14.1 14.1h19.8v19.8L96 48 81.9 62.1v19.8H62.1L48 96 33.9 81.9H14.1V62.1L0 48l14.1-14.1V14.1h19.8z'/%3E%3Cpath d='M48 0l14.1 14.1h19.8v19.8L96 48 81.9 62.1v19.8H62.1L48 96 33.9 81.9H14.1V62.1L0 48l14.1-14.1V14.1h19.8z' transform='translate(26.4 26.4) scale(.45)' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
	background-size: auto, auto, 144px 144px;
	/* Le motif apparaît et s'efface en fondu, en haut comme en bas. */
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 22%, rgba(0, 0, 0, .6) 62%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 22%, rgba(0, 0, 0, .6) 62%, transparent 100%);
}
.rq-hero-bg::after { display: none; }
.rq-hero-ar { color: #bc9b6a; opacity: .09; }
.rq-hero-title { color: #111c18; }
.rq-hero-title em { color: #9c7d4f; }
.rq-hero-lead { color: #4a5551; }
.rq-cta.is-primary { background: #111c18; color: #fff !important; box-shadow: 0 10px 26px rgba(17, 28, 24, .18); }
.rq-cta.is-ghost { border-color: rgba(17, 28, 24, .28); color: #111c18 !important; background: rgba(255, 255, 255, .6); }
.rq-cta:focus-visible { outline-color: #bc9b6a; }
.rq-path { background: rgba(255, 255, 255, .85); border-color: #e6dfd3; color: #111c18 !important; box-shadow: 0 1px 2px rgba(17, 28, 24, .04); }
.rq-path small { color: #6f6f6a; }
.rq-path-ic { background: #faf6ef; color: #9c7d4f; }
.rq-path-go { color: #9c7d4f; }
.rq-path:focus-visible { outline-color: #bc9b6a; }
.rq-hero-trust { color: #6f6f6a; }
.rq-hero-down { color: #6f6f6a !important; border-color: #e6dfd3; background: #fff; }
.rq-hero-down:hover { color: #111c18 !important; border-color: #bc9b6a; }
@media (hover: hover) and (pointer: fine) {
	.rq-cta.is-primary:hover { background: #2a3a33; }
	.rq-cta.is-ghost:hover { background: #fff; border-color: #111c18; }
	.rq-path:hover { background: #fff; border-color: #d9c7a6; box-shadow: 0 12px 28px rgba(17, 28, 24, .08); }
}

/* Survol cohérent sur tout le site : bouton sombre -> or (texte vert nuit) ; bouton or -> vert nuit (texte blanc). */
@media (hover: hover) and (pointer: fine) {
	.rq-cta.is-primary:hover, .rq-cta.is-small:hover { background: #bc9b6a !important; color: #111c18 !important; box-shadow: 0 10px 26px rgba(188, 155, 106, .30); }
	.rq-cta.is-ghost:hover { background: #fff; border-color: #111c18; }
}

/* Catalogue : 3 fiches par ligne (enfants, femmes, hommes d'une même matière côte à côte). */
@media (min-width: 900px) { .rq-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 600px) and (max-width: 899px) { .rq-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rq-cat { margin-bottom: clamp(56px, 7vw, 104px); }


/* ---------------------------------------------------------------- Heures restantes (espace élève) */
.rq-meter { height: 6px; margin-top: 8px; max-width: 320px; border-radius: 999px; background: #efe9de; overflow: hidden; }
.rq-meter i { display: block; height: 100%; border-radius: inherit; background: var(--rq-gold, #bc9b6a); transition: width 300ms cubic-bezier(0.23, 1, 0.32, 1); }

/* ---------------------------------------------------------------- Boutique : l'offre en quatre portes, titres de rangées */
ul.products > li.rq-row-head { grid-column: 1 / -1; width: 100%; margin: 26px 0 -4px; padding: 0; list-style: none; border: 0; background: none; box-shadow: none; }
ul.products > li.rq-row-head:first-child { margin-top: 4px; }
.rq-row-head h2 { margin: 0; font-size: 22px; }
.rq-row-head p { margin: 2px 0 0; color: #6f6f6a; font-size: 14px; }


/* ---------------------------------------------------------------- Accueil : « Comment ça marche » */
.rq-flow-sec { margin-top: 0 !important; margin-bottom: 0 !important; padding: clamp(48px, 8vh, 88px) 20px; background: #faf6ef; color: #111c18; }
.rq-flow-in { width: min(1120px, 100%); margin: 0 auto; }
.rq-flow-head { text-align: center; margin-bottom: clamp(24px, 4vh, 40px); }
.rq-flow-head .rq-hero-eyebrow { margin-bottom: 10px; color: #9c7d4f; }
.rq-flow-head h2 { margin: 0; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.15; }
.rq-flow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.rq-flow-screen { position: relative; min-height: 340px; border-radius: 18px; overflow: hidden; background: #111c18; color: #faf6ef; }
.rq-flow-scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 26px; opacity: 0; transform: translateY(8px) scale(.985); transition: opacity 280ms var(--rq-ease-out), transform 280ms var(--rq-ease-out); }
.rq-flow-scene.is-on { opacity: 1; transform: none; }
.rq-flow-screen small { display: block; color: #cfc9bd; font-size: 14px; }
.rq-flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rq-flow-steps li { margin: 0; }
.rq-flow-step { position: relative; display: flex; gap: 14px; width: 100%; padding: 11px 14px; font: inherit; text-align: left; color: inherit; cursor: pointer; background: transparent; border: 0; border-radius: 12px; overflow: hidden; transition: background-color 200ms ease; }
.rq-flow-step.is-on { background: #fff; box-shadow: 0 1px 2px rgba(17, 28, 24, .05); }
.rq-flow-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #111c18; background: #f0e7d8; transition: background-color 200ms ease, color 200ms ease; }
.rq-flow-step.is-on .rq-flow-n { background: #111c18; color: #fff; }
.rq-flow-t strong { display: block; font-size: 17px; line-height: 1.3; }
.rq-flow-t small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: #6f6f6a; }
.rq-flow.is-js .rq-flow-step:not(.is-on) .rq-flow-t small { opacity: .75; }
.rq-flow-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #bc9b6a; transform: scaleX(0); transform-origin: left; }
@keyframes rq-flow-fill { to { transform: scaleX(1); } }
.rq-flow.is-js:not(.is-waiting) .rq-flow-step.is-on .rq-flow-bar { animation: rq-flow-fill 5200ms linear forwards; }
.rq-flow.is-paused .rq-flow-bar { animation-play-state: paused !important; }
.rq-flow-cap { display: none; }
.rq-flow-pause { margin: 10px 0 0 14px; padding: 2px 0; font: inherit; font-size: 13px; color: #6f6f6a; background: none; border: 0; border-bottom: 1px solid #d9d0c1; cursor: pointer; }
.rq-flow-facts { list-style: none; margin: clamp(22px, 3vh, 32px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; color: #55564f; }
.rq-flow-facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.rq-flow-facts li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: #bc9b6a; }

/* Scènes : chaque élément entre avec un léger décalage quand sa scène devient active. */
@keyframes rq-sc-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rq-sc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rq-sc-pick { 0%, 55% { background: rgba(250, 246, 239, .1); } 100% { background: #bc9b6a; } }
@keyframes rq-sc-ring { 0%, 60% { box-shadow: 0 0 0 0 rgba(188, 155, 106, 0); } 100% { box-shadow: 0 0 0 2px #bc9b6a; } }
@keyframes rq-sc-press { 0%, 62%, 100% { transform: none; } 72% { transform: scale(.94); } }
@keyframes rq-sc-live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-cards b,
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-credit > *,
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-cal > *,
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-call > *,
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-done li { animation: rq-sc-in 460ms var(--rq-ease-out) both; }
.rq-flow-scene.is-on :nth-child(2) { animation-delay: 70ms !important; }
.rq-flow-scene.is-on :nth-child(3) { animation-delay: 140ms !important; }
.rq-flow-scene.is-on :nth-child(4) { animation-delay: 210ms !important; }

.rq-sc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 104px)); gap: 12px; width: 100%; justify-content: center; }
.rq-sc-cards b { display: block; padding: 10px; aspect-ratio: 3 / 4; border-radius: 12px; background: rgba(250, 246, 239, .08); }
.rq-sc-cards u { display: block; height: 52%; border-radius: 7px; background: rgba(188, 155, 106, .45); text-decoration: none; }
.rq-sc-cards s { display: block; height: 8px; width: 74%; margin-top: 12px; border-radius: 9px; background: rgba(250, 246, 239, .3); }
.rq-sc-cards b.is-pick { background: rgba(250, 246, 239, .14); }
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-cards b.is-pick { animation: rq-sc-in 460ms var(--rq-ease-out) 70ms both, rq-sc-ring 1500ms var(--rq-ease-out) forwards; }
.rq-sc-credit { display: grid; gap: 10px; justify-items: center; width: min(280px, 100%); text-align: center; }
.rq-sc-credit strong { font-size: 52px; line-height: 1; color: #e2c799; font-variant-numeric: tabular-nums; }
.rq-sc-credit span { display: block; width: 100%; height: 7px; border-radius: 9px; background: rgba(250, 246, 239, .12); overflow: hidden; }
.rq-sc-credit i { display: block; height: 100%; border-radius: inherit; background: #bc9b6a; transform-origin: left; }
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-credit i { animation: rq-sc-grow 1100ms var(--rq-ease-out) 300ms both; }
.rq-sc-cal { display: grid; gap: 14px; justify-items: center; width: min(300px, 100%); }
.rq-sc-cal div { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; width: 100%; }
.rq-sc-cal i { aspect-ratio: 1; border-radius: 8px; background: rgba(250, 246, 239, .1); }
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-cal i.is-pick { animation: rq-sc-pick 1100ms ease-out forwards; }
.rq-sc-cal i.is-pick:nth-child(11) { animation-delay: 300ms !important; }
.rq-sc-cal i.is-pick:nth-child(16) { animation-delay: 600ms !important; }
.rq-sc-call { display: grid; gap: 14px; justify-items: center; width: min(320px, 100%); }
.rq-sc-win { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; padding: 8px; border-radius: 14px; background: rgba(250, 246, 239, .08); }
.rq-sc-win b { display: block; aspect-ratio: 4 / 3; border-radius: 9px; background: radial-gradient(circle at 50% 40%, rgba(188, 155, 106, .55) 0 19%, transparent 20%), rgba(250, 246, 239, .08); }
.rq-sc-win em { position: absolute; top: 15px; left: 15px; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: #e2645c; }
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-win em { animation: rq-sc-live 1600ms ease-in-out infinite; }
.rq-sc-call span { padding: 9px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #111c18; background: #bc9b6a; }
.rq-flow:not(.is-waiting) .rq-flow-scene.is-on .rq-sc-call span { animation: rq-sc-in 460ms var(--rq-ease-out) 70ms both, rq-sc-press 1800ms ease-in-out 600ms; }
.rq-sc-done { list-style: none; display: grid; gap: 10px; width: min(280px, 100%); margin: 0; padding: 0; }
.rq-sc-done li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(250, 246, 239, .08); font-size: 16px; }
.rq-sc-done li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; color: #111c18; background: #bc9b6a; }

@media (max-width: 860px) {
	.rq-flow { grid-template-columns: minmax(0, 1fr); }
	.rq-flow-screen { min-height: 264px; }
	.rq-flow.is-js .rq-flow-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
	.rq-flow.is-js .rq-flow-step { justify-content: center; padding: 6px 0 9px; }
	.rq-flow.is-js .rq-flow-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.rq-flow.is-js .rq-flow-cap { display: block; min-height: 94px; margin: 12px 4px 0; text-align: center; }
	.rq-flow-cap strong { display: block; font-size: 18px; }
	.rq-flow-cap span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: #55564f; }
	.rq-flow-pause { display: block; margin: 6px auto 0; }
	.rq-flow-facts { display: grid; justify-content: start; width: fit-content; margin-left: auto; margin-right: auto; }
}
@media (hover: hover) and (pointer: fine) {
	.rq-flow-step:not(.is-on):hover { background: rgba(255, 255, 255, .6); }
}
@media (prefers-reduced-motion: reduce) {
	.rq-flow-scene { transform: none; transition: opacity 200ms ease; }
	.rq-flow-bar { display: none; }
	.rq-flow .rq-flow-scene.is-on *, .rq-flow:not(.is-waiting) .rq-flow-scene.is-on * { animation: none !important; }
	.rq-sc-cal i.is-pick { background: #bc9b6a; }
	.rq-sc-cards b.is-pick { box-shadow: 0 0 0 2px #bc9b6a; }
}

/* ---------------------------------------------------------------- Accueil : langue des signes */
.rq-signs { margin-top: 0 !important; margin-bottom: 0 !important; padding: clamp(36px, 6vh, 60px) 20px; background: #111c18; color: #faf6ef; }
.rq-signs-in { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); width: min(1120px, 100%); margin: 0 auto; }
.rq-signs-ic { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; color: #e2c799; border: 1px solid rgba(226, 199, 153, .45); }
.rq-signs-tx { flex: 1 1 auto; min-width: 0; }
.rq-signs-tx .rq-hero-eyebrow { margin-bottom: 6px; }
.rq-signs h2 { margin: 0 0 8px; color: #faf6ef; font-size: clamp(23px, 2.8vw, 32px); line-height: 1.18; }
.rq-signs p:not(.rq-hero-eyebrow) { margin: 0 0 10px; max-width: 680px; line-height: 1.55; color: #d9d4ca; }
.rq-signs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; font-size: 14px; color: #e2c799; }
.rq-signs li { margin: 0; }
.rq-signs .rq-cta { flex: none; }
@media (max-width: 860px) {
	.rq-signs-in { flex-direction: column; align-items: flex-start; }
	.rq-signs .rq-cta { width: 100%; justify-content: center; }
}


/* ---------------------------------------------------------------- Espace élève : mensualités */
.rq-plan { margin: 2px 0 12px; padding: 10px 12px; background: #faf6ef; border-radius: 10px; font-size: 14px; }
.rq-plan-due { justify-content: space-between; align-items: center; margin-top: 8px; }
.rq-plan details { margin-top: 8px; }
.rq-plan-list { list-style: none; margin: 8px 0 0; padding: 0; }
.rq-plan-list li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 3px 0; border-top: 1px solid #ece4d6; }


/* ---------------------------------------------------------------- Boutique : même langage que l'accueil */
.rq-shopbar { position: relative; left: 50%; width: 100vw; max-width: 100vw !important; margin: 0 0 22px -50vw !important; padding: clamp(30px, 5vh, 54px) 20px clamp(20px, 3vh, 30px); background: #111c18; color: #faf6ef; }
.rq-shopbar > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
body .rq-shopbar .rq-shopbar-head { margin-bottom: 0; }
body .rq-shopbar .rq-hero-eyebrow { color: #e2c799; }
body .rq-shopbar .rq-shopbar-title { color: #faf6ef !important; font-size: clamp(26px, 3.4vw, 40px) !important; }
body .rq-shopbar .rq-search { background: rgba(250, 246, 239, .96); }
body .rq-shopbar .rq-cat-filters { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 8px; }
body .rq-shopbar .rq-chip { background: transparent; border-color: rgba(250, 246, 239, .22); color: #faf6ef; font-size: 14px; padding: 6px 14px; }
body .rq-shopbar .rq-chip.is-on { background: #faf6ef; border-color: #faf6ef; color: #111c18; }
body .rq-shopbar .rq-cat-count { color: #cfc9bd; }
body .rq-shopbar .rq-cat-empty { color: #cfc9bd; }
body .rq-shopbar .rq-link { color: #e2c799; }
ul.products > li.rq-row-head.is-big { margin-top: 46px; padding-bottom: 12px; text-align: center; }
ul.products > li.rq-row-head.is-big:first-child { margin-top: 6px; }
ul.products > li.rq-row-head.is-big + li.rq-row-head { margin-top: 0; }
.rq-row-head.is-big h2 { font-size: clamp(26px, 3vw, 34px); }
.rq-row-head h3 { margin: 0; font-size: 21px; }

body .rq-shopbar .rq-search { display: flex; border-radius: 999px; overflow: hidden; }
body .rq-shopbar .rq-search input { background: transparent !important; box-shadow: none !important; }
/* Mode recherche : un bouton pour effacer, les grandes cartes et les filtres se replient, les résultats viennent tout de suite. */
body .rq-shopbar .rq-search { align-items: center; }
.rq-search-clear { flex: none; margin: 0 6px 0 0; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; color: #111c18; background: #f3ece0; border: 0; border-radius: 999px; cursor: pointer; }
.rq-search-clear[hidden] { display: none; }
.rq-search input::-webkit-search-cancel-button { display: none; }
.rq-shopbar.is-searching .rq-mcards, .rq-shopbar.is-searching .rq-cat-filters { display: none !important; }
body .rq-shopbar.is-searching .rq-cat-count { margin-top: 14px; font-weight: 600; color: #111c18; }
@media (hover: hover) and (pointer: fine) { .rq-search-clear:hover { background: #ebe1cf; } }
@media (hover: hover) and (pointer: fine) { body .rq-shopbar .rq-chip:not(.is-on):hover { border-color: #e2c799; } }


/* ---------------------------------------------------------------- Réservation : encart des formations */
.rq-fcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(18px, 3vw, 36px); align-items: center; margin: 20px 0 26px; padding: clamp(20px, 3vw, 32px); text-align: left; text-decoration: none; border-radius: 18px; background: #111c18; color: #faf6ef !important; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease; }
.rq-fcard .rq-hero-eyebrow { margin: 0 0 8px; color: #e2c799; }
.rq-fcard h3 { margin: 0 0 8px; color: #faf6ef; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.18; }
.rq-fcard-tx p:not(.rq-hero-eyebrow) { margin: 0 0 14px; line-height: 1.55; color: #d9d4ca; }
.rq-fcard-go { display: inline-flex; gap: 8px; font-weight: 600; color: #e2c799; }
.rq-fcard-go span { transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.rq-fcard:active { transform: scale(0.99); }
.rq-fcard:focus-visible { outline: 2px solid #bc9b6a; outline-offset: 3px; }
.rq-fcard-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rq-ft { display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 10px; min-height: 148px; padding: 14px 12px 12px; border-radius: 13px; background: rgba(250, 246, 239, .07); }
.rq-ft b { text-align: center; font-size: 14px; font-weight: 600; color: #faf6ef; }
/* Sur téléphone, la colonne est plus étroite que le dessin : il se réduit au lieu de sortir du cadre. */
.rq-ft { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.rq-ft .rq-art-books, .rq-ft .rq-art-book, .rq-ft .rq-art-seal { max-width: 100%; }
@media (hover: hover) and (pointer: fine) {
	.rq-fcard:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17, 28, 24, .18); }
	.rq-fcard:hover .rq-fcard-go span { transform: translateX(4px); }
}
@media (max-width: 760px) {
	.rq-fcard { grid-template-columns: minmax(0, 1fr); }
	.rq-ft { min-height: 124px; padding: 12px 8px 10px; }
	.rq-ft .rq-art-seal { width: 60px; height: 60px; font-size: 20px; }
	.rq-ft b { font-size: 13px; }
}

.rq-subject { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; }
.rq-subject select { min-height: 38px; padding: 0 8px; font: inherit; font-weight: 400; }


/* ---------------------------------------------------------------- Accueil : un écran par section, avec flèche */
html { scroll-behavior: smooth; }
body.home .rq-screen { --rq-header: var(--rq-h, 120px); position: relative; box-sizing: border-box; display: flex; flex-direction: column; min-height: calc(100vh - var(--rq-header)); min-height: calc(100svh - var(--rq-header)); padding-bottom: 14px !important; margin-top: 0 !important; margin-bottom: 0 !important; scroll-margin-top: var(--rq-header); }
body.home .rq-screen > :first-child { margin-top: auto; }
body.home .rq-screen > .wp-block-buttons { margin-top: 18px; }
/* Dernier écran : pas de flèche pour le pousser vers le haut, il se centre seul et ne colle pas au pied de page. */
body.home .rq-screen-last { padding-bottom: clamp(56px, 7vw, 104px) !important; }
body.home .rq-screen-last > :last-child { margin-bottom: auto; }
body.home .rq-screen > .rq-next { background: rgba(255, 255, 255, .85); }
body.home .rq-signs.rq-screen > .rq-next, body.home .riwaq-sec-dark.rq-screen > .rq-next { background: rgba(17, 28, 24, .7); }
body.home .rq-hero { --rq-header: var(--rq-h, 120px); }
body.home .rq-signs.rq-screen .rq-signs-in { flex-direction: column; align-items: center; text-align: center; }
body.home .rq-signs.rq-screen .rq-signs-ic { width: 96px; height: 96px; }
body.home .rq-signs.rq-screen .rq-signs-ic svg { width: 42px; height: 42px; }
body.home .rq-signs.rq-screen h2 { font-size: clamp(27px, 3.8vw, 44px); }
body.home .rq-signs.rq-screen p:not(.rq-hero-eyebrow) { margin-left: auto; margin-right: auto; }
body.home .rq-signs.rq-screen ul { justify-content: center; }
.rq-next { position: sticky; bottom: 14px; z-index: 3; flex: none; align-self: center; margin-top: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #6f6f6a; border: 1px solid rgba(17, 28, 24, .22); transition: color 160ms ease, border-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.rq-signs .rq-next, .riwaq-sec-dark .rq-next { color: #d9d4ca; border-color: rgba(250, 246, 239, .3); }
.rq-next:active { transform: scale(0.94); }
.rq-next:focus-visible { outline: 2px solid #bc9b6a; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rq-next:hover { color: #111c18; border-color: #bc9b6a; } .rq-signs .rq-next:hover, .riwaq-sec-dark .rq-next:hover { color: #fff; } }
@media (max-width: 860px) { .rq-next { bottom: 10px; width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.rq-signs .rq-cta.is-primary, body.home .rq-signs .rq-cta.is-primary { background: #bc9b6a !important; color: #111c18 !important; }

.rq-late { align-items: center; margin: 4px 0 10px; }

/* ---------------------------------------------------------------- Cartes animées en boucle */
body .rq-shopbar .rq-cat-count { text-align: center; }
.rq-mcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px auto 18px !important; text-align: left; }
.rq-mcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 42%); gap: 16px; align-items: center; min-height: 168px; width: 100%; box-sizing: border-box; padding: 20px 22px; font: inherit; text-align: left; text-decoration: none; cursor: pointer; color: #faf6ef !important; background: rgba(250, 246, 239, .06); border: 1px solid rgba(250, 246, 239, .16); border-radius: 16px; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), border-color 200ms ease, background-color 200ms ease; }
.rq-mc-tx { display: grid; gap: 6px; min-width: 0; }
.rq-mc-tx strong { font-size: clamp(19px, 2vw, 24px); line-height: 1.2; }
.rq-mc-tx span { font-size: 14.5px; line-height: 1.45; color: #d9d4ca; }
.rq-mc-tx em { margin-top: 2px; font-style: normal; font-size: 14px; font-weight: 600; color: #e2c799; }
.rq-mc-art { display: grid; place-items: center; align-self: stretch; min-height: 118px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: rgba(0, 0, 0, .24); overflow: hidden; }
.rq-mcard.is-on { border-color: #e2c799; background: rgba(226, 199, 153, .12); box-shadow: inset 0 0 0 1px #e2c799; }
.rq-mcard.is-gold { color: #111c18 !important; background: #bc9b6a; border-color: #bc9b6a; }
.rq-mcard.is-gold .rq-mc-tx span { color: #111c18; }
.rq-mcard.is-gold .rq-mc-tx em { color: #111c18; }
.rq-mcard.is-gold .rq-mc-art { background: #111c18; }
.rq-mcard:active { transform: scale(0.985); }
.rq-mcard:focus-visible { outline: 2px solid #e2c799; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.rq-mcard:hover { transform: translateY(-2px); border-color: #e2c799; }
}

/* Les visuels. */
.rq-art-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: min(170px, 100%); }
.rq-art-cal i { position: relative; display: block; aspect-ratio: 1; border-radius: 5px; background: rgba(250, 246, 239, .12); }
.rq-art-cal .is-pick { background: #bc9b6a; }
.rq-art-books { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 80px; width: 92px; overflow: hidden; }
.rq-art-books i { display: block; flex: 1; border-radius: 3px 3px 1px 1px; background: #bc9b6a; }
.rq-art-books .is-a { height: 62%; }
.rq-art-books .is-b { height: 84%; background: #e2c799; }
.rq-art-books .is-c { height: 70%; background: #8e7650; }
.rq-art-books .is-d { height: 94%; }
.rq-art-books .is-e { height: 66%; background: #e2c799; }
.rq-art-seal { display: grid; place-items: center; width: 74px; height: 74px; font-family: 'Amiri', serif; font-size: 25px; font-style: normal; line-height: 1; color: #e2c799; border-radius: 50%; border: 1px solid rgba(226, 199, 153, .6); box-shadow: inset 0 0 0 4px #111c18, inset 0 0 0 5px rgba(226, 199, 153, .35); }
.rq-art-pair { display: flex; align-items: center; justify-content: center; gap: 12px; }
.rq-art-list { display: grid; gap: 11px; width: min(110px, 100%); }
.rq-art-list i { position: relative; display: block; height: 8px; margin-left: 22px; border-radius: 9px; background: rgba(250, 246, 239, .3); transform-origin: left; }
.rq-art-list i::before { content: ""; position: absolute; left: -22px; top: -4px; width: 16px; height: 16px; border-radius: 50%; background: #bc9b6a; }
.rq-art-sci { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; direction: rtl; }
.rq-art-sci b { padding: 3px 10px; font-family: 'Amiri', serif; font-size: 17px; font-weight: 400; color: #111c18; background: #e2c799; border-radius: 999px; }
.rq-art-call { display: grid; gap: 8px; justify-items: center; width: min(170px, 100%); }
.rq-art-win { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 100%; padding: 5px; box-sizing: border-box; border-radius: 9px; background: rgba(250, 246, 239, .09); }
.rq-art-win b { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: radial-gradient(circle at 50% 42%, rgba(226, 199, 153, .75) 0 20%, transparent 21%), rgba(250, 246, 239, .09); }
.rq-art-win u { position: absolute; top: 10px; left: 10px; width: 7px; height: 7px; border-radius: 50%; background: #e2645c; }
.rq-art-join { padding: 4px 14px; font-size: 13px; font-weight: 600; color: #111c18 !important; background: #e2c799; border-radius: 999px; }

/* La boucle : 6,4 s. Elle ne joue qu'à l'écran (classe is-in) et jamais si le visiteur demande moins de mouvement. */
@keyframes rq-l-rise { 0%, 6% { opacity: 0; transform: translateY(100%); } 24%, 86% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(40%); } }
@keyframes rq-l-line { 0%, 6% { transform: scaleX(0); } 26%, 86% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes rq-l-pop { 0%, 8% { opacity: 0; transform: scale(.8); } 26%, 86% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes rq-l-seal { 0%, 26% { opacity: 0; transform: scale(.88) rotate(-10deg); } 42%, 86% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: scale(.94); } }
@keyframes rq-l-press { 0%, 40%, 56%, 100% { transform: none; } 48% { transform: scale(.92); } }
@keyframes rq-l-live { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: no-preference) {
	.rq-loop .rq-art-books i, .rq-loop .rq-art-list i, .rq-loop .rq-art-cal .is-pick, .rq-loop .rq-art-sci b, .rq-loop .rq-art-seal, .rq-loop .rq-art-join, .rq-loop .rq-art-win u {
		animation-duration: 6400ms; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-delay: var(--d, 0ms); animation-play-state: paused;
	}
	.rq-loop.is-in .rq-art-books i, .rq-loop.is-in .rq-art-list i, .rq-loop.is-in .rq-art-cal .is-pick, .rq-loop.is-in .rq-art-sci b, .rq-loop.is-in .rq-art-seal, .rq-loop.is-in .rq-art-join, .rq-loop.is-in .rq-art-win u { animation-play-state: running; }
	.rq-loop .rq-art-books i { animation-name: rq-l-rise; }
	.rq-loop .rq-art-list i { animation-name: rq-l-line; }
	.rq-loop .rq-art-cal .is-pick { animation-name: rq-l-pop; }
	.rq-loop .rq-art-sci b { animation-name: rq-l-pop; }
	.rq-loop .rq-art-seal { animation-name: rq-l-seal; }
	.rq-loop .rq-art-join { animation-name: rq-l-press; animation-timing-function: ease-in-out; }
	.rq-loop .rq-art-win u { animation-name: rq-l-live; animation-duration: 1600ms; animation-timing-function: ease-in-out; }
}
@media (max-width: 760px) {
	.rq-mcards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.rq-mcard { grid-template-columns: minmax(0, 1fr) 118px; min-height: 0; padding: 14px; gap: 12px; }
	.rq-mc-art { min-height: 96px; padding: 8px; }
	.rq-mc-tx span { font-size: 14px; }
	.rq-art-seal { width: 54px; height: 54px; font-size: 18px; }
	.rq-art-pair { gap: 6px; }
	.rq-art-pair .rq-art-books { width: 42px; height: 56px; gap: 2px; }
	.rq-art-sci b { font-size: 14px; padding: 1px 7px; }
}


/* ---------------------------------------------------------------- Boucle élaborée : une petite histoire par carte, 8 s */
.rq-art-stage { position: relative; display: grid; gap: 8px; justify-items: center; width: 100%; }
.rq-art-cal { position: relative; }
.rq-art-cur { display: none; }
.rq-art-tag { font-size: 12.5px; font-weight: 600; color: #e2c799; }
.rq-art-track { display: block; width: min(170px, 100%); height: 4px; border-radius: 9px; background: rgba(250, 246, 239, .16); overflow: hidden; }
.rq-art-track i { display: block; height: 100%; border-radius: inherit; background: #e2c799; transform-origin: right; }
.rq-art-book { position: relative; display: flex; width: 84px; height: 62px; perspective: 260px; }
.rq-art-book i { display: grid; gap: 6px; align-content: center; flex: 1; padding: 0 7px; box-sizing: border-box; background: #faf6ef; }
.rq-bk-l { border-radius: 5px 1px 1px 5px; box-shadow: inset -7px 0 8px -7px rgba(17, 28, 24, .4); }
.rq-bk-r { border-radius: 1px 5px 5px 1px; box-shadow: inset 7px 0 8px -7px rgba(17, 28, 24, .4); transform-origin: left center; backface-visibility: hidden; }
.rq-art-book u { display: block; height: 4px; border-radius: 3px; background: #bc9b6a; transform-origin: right; }
.rq-art-foot { position: relative; display: grid; place-items: center; width: 100%; min-height: 26px; }
.rq-art-foot > * { grid-area: 1 / 1; }
.rq-art-wave { display: none; align-items: center; gap: 3px; height: 22px; }
.rq-art-wave i { display: block; width: 4px; height: 100%; border-radius: 3px; background: #e2c799; transform: scaleY(.4); }

@keyframes rq-c-cur { 0%, 6% { opacity: 0; transform: translate(calc(2 * (100% + 5px)), 0) scale(1.5); } 12%, 16% { opacity: 1; transform: translate(calc(2 * (100% + 5px)), 0); } 32%, 36% { opacity: 1; transform: translate(calc(3 * (100% + 5px)), calc(100% + 5px)); } 52%, 56% { opacity: 1; transform: translate(calc(4 * (100% + 5px)), calc(2 * (100% + 5px))); } 62%, 100% { opacity: 0; transform: translate(calc(4 * (100% + 5px)), calc(2 * (100% + 5px))) scale(1.4); } }
@keyframes rq-c-p1 { 0%, 13% { opacity: .15; transform: scale(.7); } 19%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: .15; transform: scale(.7); } }
@keyframes rq-c-p2 { 0%, 33% { opacity: .15; transform: scale(.7); } 39%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: .15; transform: scale(.7); } }
@keyframes rq-c-p3 { 0%, 53% { opacity: .15; transform: scale(.7); } 59%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: .15; transform: scale(.7); } }
@keyframes rq-tag { 0%, 62% { opacity: 0; transform: translateY(8px); } 70%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes rq-b-open { 0%, 8% { transform: rotateY(-178deg); } 26%, 86% { transform: none; } 97%, 100% { transform: rotateY(-178deg); } }
@keyframes rq-b-left { 0%, 8% { opacity: .35; } 20%, 86% { opacity: 1; } 97%, 100% { opacity: .35; } }
@keyframes rq-b-w1 { 0%, 26% { transform: scaleX(0); } 33%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes rq-b-w2 { 0%, 31% { transform: scaleX(0); } 38%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes rq-b-w3 { 0%, 36% { transform: scaleX(0); } 43%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes rq-b-w4 { 0%, 41% { transform: scaleX(0); } 48%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes rq-seal2 { 0%, 54% { opacity: 0; transform: scale(1.7) rotate(-14deg); } 62% { opacity: 1; transform: scale(.94) rotate(0); } 66%, 88% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: scale(.94); } }
@keyframes rq-ring { 0%, 61% { opacity: 0; transform: scale(.9); } 63% { opacity: .9; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes rq-s1 { 0%, 8% { opacity: .22; transform: none; } 14%, 86% { opacity: 1; } 12% { transform: scale(1.08); } 18% { transform: none; } 97%, 100% { opacity: .22; } }
@keyframes rq-s2 { 0%, 21% { opacity: .22; transform: none; } 27%, 86% { opacity: 1; } 25% { transform: scale(1.08); } 31% { transform: none; } 97%, 100% { opacity: .22; } }
@keyframes rq-s3 { 0%, 34% { opacity: .22; transform: none; } 40%, 86% { opacity: 1; } 38% { transform: scale(1.08); } 44% { transform: none; } 97%, 100% { opacity: .22; } }
@keyframes rq-s4 { 0%, 47% { opacity: .22; transform: none; } 53%, 86% { opacity: 1; } 51% { transform: scale(1.08); } 57% { transform: none; } 97%, 100% { opacity: .22; } }
@keyframes rq-s5 { 0%, 60% { opacity: .22; transform: none; } 66%, 86% { opacity: 1; } 64% { transform: scale(1.08); } 70% { transform: none; } 97%, 100% { opacity: .22; } }
@keyframes rq-track { 0%, 6% { transform: scaleX(0); } 68%, 88% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes rq-v-join { 0%, 10% { opacity: 1; transform: none; } 15% { opacity: 1; transform: scale(.9); } 19% { opacity: 1; transform: none; } 25%, 92% { opacity: 0; transform: scale(.94); } 98%, 100% { opacity: 1; transform: none; } }
@keyframes rq-v-t1 { 0%, 22% { opacity: .25; } 30%, 90% { opacity: 1; } 98%, 100% { opacity: .25; } }
@keyframes rq-v-t2 { 0%, 34% { opacity: .25; } 42%, 90% { opacity: 1; } 98%, 100% { opacity: .25; } }
@keyframes rq-v-wave { 0%, 26% { opacity: 0; } 34%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes rq-v-bar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes rq-f-t1 { 0%, 4% { background-color: rgba(250, 246, 239, .07); } 10%, 34% { background-color: rgba(226, 199, 153, .16); } 40%, 100% { background-color: rgba(250, 246, 239, .07); } }
@keyframes rq-f-t2 { 0%, 32% { background-color: rgba(250, 246, 239, .07); } 38%, 58% { background-color: rgba(226, 199, 153, .16); } 64%, 100% { background-color: rgba(250, 246, 239, .07); } }
@keyframes rq-f-t3 { 0%, 56% { background-color: rgba(250, 246, 239, .07); } 62%, 88% { background-color: rgba(226, 199, 153, .16); } 96%, 100% { background-color: rgba(250, 246, 239, .07); } }
@keyframes rq-f-l { 0%, 6% { transform: scaleX(0); } 16%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes rq-f-b { 0%, 32% { opacity: 0; transform: translateY(100%); } 44%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(30%); } }

@media (prefers-reduced-motion: no-preference) {
	.rq-art-cur { display: block; position: absolute; left: 0; top: 0; width: calc((100% - 30px) / 7); aspect-ratio: 1; box-sizing: border-box; border: 2px solid #faf6ef; border-radius: 6px; }
	.rq-art-wave { display: flex; }
	.rq-art-seal { position: relative; }
	.rq-art-seal::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid #e2c799; opacity: 0; }

	/* Horloge commune : 8 s, en pause hors de l'écran. */
	.rq-loop .rq-art-cal .is-pick, .rq-loop .rq-art-cur, .rq-loop .rq-art-tag, .rq-loop .rq-bk-r, .rq-loop .rq-bk-l, .rq-loop .rq-art-book u, .rq-loop .rq-art-seal, .rq-loop .rq-art-seal::after, .rq-loop .rq-art-sci b, .rq-loop .rq-art-track i, .rq-loop .rq-art-join, .rq-loop .rq-art-win b, .rq-loop .rq-art-wave, .rq-loop .rq-art-wave i, .rq-fcard.rq-loop .rq-ft, .rq-fcard.rq-loop .rq-art-list i, .rq-fcard.rq-loop .rq-art-books i {
		animation-duration: 8000ms !important; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-delay: 0ms !important; animation-play-state: paused;
	}
	.rq-loop.is-in .rq-art-cal .is-pick, .rq-loop.is-in .rq-art-cur, .rq-loop.is-in .rq-art-tag, .rq-loop.is-in .rq-bk-r, .rq-loop.is-in .rq-bk-l, .rq-loop.is-in .rq-art-book u, .rq-loop.is-in .rq-art-seal, .rq-loop.is-in .rq-art-seal::after, .rq-loop.is-in .rq-art-sci b, .rq-loop.is-in .rq-art-track i, .rq-loop.is-in .rq-art-join, .rq-loop.is-in .rq-art-win b, .rq-loop.is-in .rq-art-wave, .rq-loop.is-in .rq-art-wave i, .rq-fcard.rq-loop.is-in .rq-ft, .rq-fcard.rq-loop.is-in .rq-art-list i, .rq-fcard.rq-loop.is-in .rq-art-books i { animation-play-state: running; }

	.rq-loop .rq-art-cal .is-pick:nth-child(3) { animation-name: rq-c-p1; }
	.rq-loop .rq-art-cal .is-pick:nth-child(11) { animation-name: rq-c-p2; }
	.rq-loop .rq-art-cal .is-pick:nth-child(19) { animation-name: rq-c-p3; }
	.rq-loop .rq-art-cur { animation-name: rq-c-cur; animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); }
	.rq-loop .rq-art-tag { animation-name: rq-tag; }

	.rq-loop .rq-bk-r { animation-name: rq-b-open; animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); }
	.rq-loop .rq-bk-l { animation-name: rq-b-left; }
	.rq-loop .rq-bk-l u:nth-child(1) { animation-name: rq-b-w1; }
	.rq-loop .rq-bk-l u:nth-child(2) { animation-name: rq-b-w2; }
	.rq-loop .rq-bk-l u:nth-child(3), .rq-loop .rq-bk-r u:nth-child(1) { animation-name: rq-b-w3; }
	.rq-loop .rq-bk-r u:nth-child(2), .rq-loop .rq-bk-r u:nth-child(3) { animation-name: rq-b-w4; }
	.rq-loop .rq-art-seal { animation-name: rq-seal2; }
	.rq-loop .rq-art-seal::after { animation-name: rq-ring; }

	.rq-loop .rq-art-sci .rq-s1 { animation-name: rq-s1; }
	.rq-loop .rq-art-sci .rq-s2 { animation-name: rq-s2; }
	.rq-loop .rq-art-sci .rq-s3 { animation-name: rq-s3; }
	.rq-loop .rq-art-sci .rq-s4 { animation-name: rq-s4; }
	.rq-loop .rq-art-sci .rq-s5 { animation-name: rq-s5; }
	.rq-loop .rq-art-track i { animation-name: rq-track; animation-timing-function: linear; }

	.rq-loop .rq-art-join { animation-name: rq-v-join; }
	.rq-loop .rq-art-win b:nth-of-type(1) { animation-name: rq-v-t1; }
	.rq-loop .rq-art-win b:nth-of-type(2) { animation-name: rq-v-t2; }
	.rq-loop .rq-art-wave { animation-name: rq-v-wave; }
	.rq-loop .rq-art-wave i { animation-name: rq-v-bar; animation-duration: 900ms !important; animation-timing-function: ease-in-out; }
	.rq-loop .rq-art-wave i:nth-child(2n) { animation-delay: -300ms !important; }
	.rq-loop .rq-art-wave i:nth-child(3n) { animation-delay: -600ms !important; }

	.rq-fcard.rq-loop .rq-ft:nth-child(1) { animation-name: rq-f-t1; }
	.rq-fcard.rq-loop .rq-ft:nth-child(2) { animation-name: rq-f-t2; }
	.rq-fcard.rq-loop .rq-ft:nth-child(3) { animation-name: rq-f-t3; }
	.rq-fcard.rq-loop .rq-art-list i { animation-name: rq-f-l; }
	.rq-fcard.rq-loop .rq-art-list i:nth-child(2) { animation-delay: 500ms !important; }
	.rq-fcard.rq-loop .rq-art-list i:nth-child(3) { animation-delay: 1000ms !important; }
	.rq-fcard.rq-loop .rq-art-books i { animation-name: rq-f-b; animation-delay: var(--d, 0ms) !important; }
}
@media (max-width: 760px) {
	.rq-art-pair .rq-art-book { width: 54px; height: 46px; }
	.rq-art-book i { padding: 0 4px; gap: 4px; }
	.rq-art-book u { height: 3px; }
	.rq-art-tag { font-size: 12px; }
	.rq-art-pair .rq-art-seal { width: 48px; height: 48px; font-size: 16px; }
}


/* ---------------------------------------------------------------- Boutique en clair, comme l'accueil */
.rq-shopbar { isolation: isolate; color: #111c18; background: linear-gradient(180deg, #faf6ef 0%, #ffffff 100%); border-bottom: 1px solid #efe7da; }
.rq-shopbar::before { content: ""; position: absolute; inset: 0; z-index: -1; max-width: none; margin: 0; pointer-events: none;
	background: radial-gradient(55% 55% at 82% 18%, rgba(188, 155, 106, .16), transparent 70%), radial-gradient(45% 50% at 10% 90%, rgba(188, 155, 106, .10), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23bc9b6a' stroke-opacity='.22' stroke-width='.7'%3E%3Cpath d='M48 0l14.1 14.1h19.8v19.8L96 48 81.9 62.1v19.8H62.1L48 96 33.9 81.9H14.1V62.1L0 48l14.1-14.1V14.1h19.8z'/%3E%3Cpath d='M48 0l14.1 14.1h19.8v19.8L96 48 81.9 62.1v19.8H62.1L48 96 33.9 81.9H14.1V62.1L0 48l14.1-14.1V14.1h19.8z' transform='translate(26.4 26.4) scale(.45)' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E");
	background-size: auto, auto, 144px 144px;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 16%, rgba(0, 0, 0, .6) 62%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 16%, rgba(0, 0, 0, .6) 62%, transparent 100%);
}
body .rq-shopbar .rq-hero-eyebrow { color: #9c7d4f; }
body .rq-shopbar .rq-shopbar-title { color: #111c18 !important; }
body .rq-shopbar .rq-search { background: #fff; box-shadow: 0 0 0 1px #e6dfd3; }
body .rq-shopbar .rq-chip { background: #fff; border-color: #e6dfd3; color: #111c18; }
body .rq-shopbar .rq-chip.is-on { background: #111c18; border-color: #111c18; color: #faf6ef; }
body .rq-shopbar .rq-cat-count, body .rq-shopbar .rq-cat-empty { margin-left: auto; margin-right: auto; color: #6f6f6a; }
body .rq-shopbar .rq-link { color: #9c7d4f; }
@media (hover: hover) and (pointer: fine) { body .rq-shopbar .rq-chip:not(.is-on):hover { border-color: #bc9b6a; } }

/* Une carte par ligne, sur le modèle de l'encart « Suivez une formation complète ». */
.rq-mcards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rq-mcard { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(18px, 3vw, 36px); min-height: 0; padding: clamp(20px, 3vw, 32px); background: #111c18; border-color: #111c18; border-radius: 18px; }
.rq-mc-tx strong { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.18; }
.rq-mc-tx span { font-size: 16px; line-height: 1.55; }
.rq-mc-tx em { margin-top: 6px; font-size: 16px; }
.rq-mc-art { min-height: 148px; background: rgba(250, 246, 239, .07); border-radius: 13px; }
.rq-mc-art.is-tiles { padding: 0; background: transparent; overflow: visible; }
.rq-mc-art.is-tiles .rq-fcard-art { width: 100%; }
.rq-mcard.is-on { background: #111c18; border-color: #bc9b6a; box-shadow: 0 0 0 1px #bc9b6a; }
.rq-mcard.is-gold .rq-mc-art { background: #111c18; }
.rq-art-cal { width: min(210px, 100%); }
.rq-offer-all { display: block; margin: 0 auto; padding: 6px 14px; font: inherit; font-size: 15px; font-weight: 600; color: #9c7d4f; background: none; border: 0; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .rq-mcard:hover { box-shadow: 0 12px 30px rgba(17, 28, 24, .18); border-color: #111c18; } .rq-mcard.is-gold:hover { border-color: #bc9b6a; } }
@media (max-width: 760px) {
	.rq-mcards { gap: 10px; }
	.rq-mcard { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 14px; }
	.rq-mc-art { min-height: 118px; }
}

/* Encart des formations : le parcours se lit de gauche à droite, un fil relie les trois étapes. */
.rq-fcard-art { position: relative; }
.rq-ft { position: relative; }
.rq-ft-rail { display: none; }
.rq-art-list i::after { content: ""; position: absolute; left: -18px; top: 0; width: 8px; height: 4px; border-left: 2px solid #111c18; border-bottom: 2px solid #111c18; transform: rotate(-45deg) scale(0); }
@keyframes rq-t-lift1 { 0%, 4% { transform: none; } 10%, 30% { transform: translateY(-3px); } 37%, 100% { transform: none; } }
@keyframes rq-t-lift2 { 0%, 33% { transform: none; } 39%, 56% { transform: translateY(-3px); } 62%, 100% { transform: none; } }
@keyframes rq-t-lift3 { 0%, 59% { transform: none; } 65%, 88% { transform: translateY(-3px); } 95%, 100% { transform: none; } }
@keyframes rq-t-check { 0%, 10% { transform: rotate(-45deg) scale(0); } 17%, 88% { transform: rotate(-45deg) scale(1); } 96%, 100% { transform: rotate(-45deg) scale(0); } }
@keyframes rq-t-rail { 0%, 30% { transform: scaleX(0); } 38%, 56% { transform: scaleX(.5); } 64%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); opacity: 0; } }
@keyframes rq-t-dot { 0%, 30% { left: 16.6%; opacity: 0; } 33% { left: 16.6%; opacity: 1; } 38%, 56% { left: 50%; opacity: 1; } 64%, 88% { left: 83.3%; opacity: 1; } 96%, 100% { left: 83.3%; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.rq-ft-rail { display: block; position: absolute; left: 16.6%; right: 16.6%; top: -7px; height: 2px; z-index: 1; pointer-events: none; }
	.rq-ft-rail u { display: block; height: 100%; border-radius: 3px; background: #e2c799; transform: scaleX(0); transform-origin: left; }
	.rq-loop .rq-ft-rail u, .rq-loop .rq-art-list i::after, .rq-fcard-art.rq-tiles .rq-ft { animation-duration: 8000ms !important; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); animation-play-state: paused; }
	.rq-loop.is-in .rq-ft-rail u, .rq-loop.is-in .rq-art-list i::after, .rq-loop.is-in .rq-fcard-art.rq-tiles .rq-ft { animation-play-state: running; }
	.rq-loop .rq-ft-rail u { animation-name: rq-t-rail; }
	.rq-loop .rq-fcard-art .rq-art-list i { animation-name: rq-f-l; animation-duration: 8000ms !important; animation-iteration-count: infinite; animation-play-state: paused; }
	.rq-loop.is-in .rq-fcard-art .rq-art-list i { animation-play-state: running; }
	.rq-loop .rq-fcard-art .rq-art-list i::after { animation-name: rq-t-check; }
	.rq-loop .rq-fcard-art .rq-art-list i:nth-child(2), .rq-loop .rq-fcard-art .rq-art-list i:nth-child(2)::after { animation-delay: 500ms !important; }
	.rq-loop .rq-fcard-art .rq-art-list i:nth-child(3), .rq-loop .rq-fcard-art .rq-art-list i:nth-child(3)::after { animation-delay: 1000ms !important; }
	.rq-fcard-art.rq-tiles .rq-ft:nth-of-type(1) { animation-name: rq-f-t1, rq-t-lift1; }
	.rq-fcard-art.rq-tiles .rq-ft:nth-of-type(2) { animation-name: rq-f-t2, rq-t-lift2; }
	.rq-fcard-art.rq-tiles .rq-ft:nth-of-type(3) { animation-name: rq-f-t3, rq-t-lift3; }
	.rq-loop .rq-fcard-art .rq-art-books i { animation-name: rq-f-b; animation-duration: 8000ms !important; animation-iteration-count: infinite; animation-delay: var(--d, 0ms) !important; animation-play-state: paused; }
	.rq-loop.is-in .rq-fcard-art .rq-art-books i { animation-play-state: running; }
}


/* ---------------------------------------------------------------- Cartes de /institut/ en clair : blanc, sable et or.
   L'encart unique de /reservation/ reste vert nuit. */
.rq-offer-all[hidden] { display: none; }
.rq-mcard { color: #111c18 !important; background: #fff; border: 1px solid #e6dfd3; box-shadow: 0 1px 2px rgba(17, 28, 24, .04); }
.rq-mc-tx span { color: #4a5551; }
.rq-mc-tx em { color: #9c7d4f; }
.rq-mc-art, .rq-mcard .rq-ft { background: #faf6ef; }
.rq-mc-art.is-tiles { background: transparent; }
.rq-mcard .rq-ft b { color: #111c18; }
.rq-mcard.is-on { background: #fff; border-color: #bc9b6a; box-shadow: 0 0 0 1px #bc9b6a; }
.rq-mcard.is-gold { color: #111c18 !important; background: #f3ece0; border-color: #e6d8bf; }
.rq-mcard.is-gold .rq-mc-art { background: #fff; }
.rq-mcard.is-gold .rq-mc-tx em { color: #7d6238; }
.rq-mcard .rq-art-cal i { background: rgba(17, 28, 24, .07); }
.rq-mcard .rq-art-cal .is-pick { background: #bc9b6a; }
.rq-mcard .rq-art-cur { border-color: #111c18 !important; }
.rq-mcard .rq-art-list i { background: rgba(17, 28, 24, .14); }
.rq-mcard .rq-art-list i::after { border-color: #fff; }
.rq-mcard .rq-art-seal { color: #7d6238; border-color: #bc9b6a; }
.rq-mcard .rq-art-seal::after { border-color: #bc9b6a; }
.rq-mcard .rq-art-tag { color: #7d6238; }
.rq-mcard .rq-art-track { background: rgba(17, 28, 24, .1); }
.rq-mcard .rq-art-track i, .rq-mcard .rq-ft-rail u, .rq-mcard .rq-art-wave i { background: #bc9b6a; }
.rq-mcard .rq-art-win { background: rgba(17, 28, 24, .06); }
.rq-mcard .rq-art-win b { background: radial-gradient(circle at 50% 42%, rgba(188, 155, 106, .85) 0 20%, transparent 21%), rgba(17, 28, 24, .06); }
.rq-mcard .rq-art-join { background: #bc9b6a; }
.rq-mcard .rq-art-book i { background: #fff; box-shadow: 0 1px 3px rgba(17, 28, 24, .14); }
@keyframes rq-g-t1 { 0%, 4% { background-color: #faf6ef; } 10%, 34% { background-color: #f3e8d3; } 40%, 100% { background-color: #faf6ef; } }
@keyframes rq-g-t2 { 0%, 32% { background-color: #faf6ef; } 38%, 58% { background-color: #f3e8d3; } 64%, 100% { background-color: #faf6ef; } }
@keyframes rq-g-t3 { 0%, 56% { background-color: #faf6ef; } 62%, 88% { background-color: #f3e8d3; } 96%, 100% { background-color: #faf6ef; } }
@media (prefers-reduced-motion: no-preference) {
	.rq-mcard .rq-fcard-art.rq-tiles .rq-ft:nth-of-type(1) { animation-name: rq-g-t1, rq-t-lift1; }
	.rq-mcard .rq-fcard-art.rq-tiles .rq-ft:nth-of-type(2) { animation-name: rq-g-t2, rq-t-lift2; }
	.rq-mcard .rq-fcard-art.rq-tiles .rq-ft:nth-of-type(3) { animation-name: rq-g-t3, rq-t-lift3; }
}
@media (hover: hover) and (pointer: fine) {
	.rq-mcard:hover { border-color: #bc9b6a; box-shadow: 0 10px 26px rgba(17, 28, 24, .08); }
	.rq-mcard.is-gold:hover { border-color: #bc9b6a; }
}


/* Fondu identique en haut et en bas : blanc sous l'en-tête, sable au milieu, blanc à la fin. */
.rq-hero, .rq-shopbar { background: linear-gradient(180deg, #ffffff 0%, #faf6ef 20%, #faf6ef 72%, #ffffff 100%); border-bottom: 0; }
.rq-hero-bg, .rq-shopbar::before {
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .75) 22%, rgba(0, 0, 0, .75) 72%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .75) 22%, rgba(0, 0, 0, .75) 72%, transparent 100%);
}


/* ---------------------------------------------------------------- Comment ça marche, sur téléphone :
   la progression tourne autour du numéro, sans carte blanche. La barre, invisible, garde le rythme. */
.rq-flow-n { position: relative; }
.rq-flow-ring { display: none; }
@keyframes rq-flow-turn { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (max-width: 860px) {
	.rq-flow.is-js .rq-flow-step, .rq-flow.is-js .rq-flow-step.is-on { overflow: visible; background: transparent; box-shadow: none; }
	.rq-flow.is-js .rq-flow-step { padding: 8px 0; }
	.rq-flow.is-js .rq-flow-bar { opacity: 0; }
	.rq-flow.is-js .rq-flow-n { width: 36px; height: 36px; font-size: 15px; }
	.rq-flow.is-js .rq-flow-ring { display: block; position: absolute; inset: -5px; width: 46px; height: 46px; transform: rotate(-90deg); pointer-events: none; }
	.rq-flow-ring circle { fill: none; stroke: #bc9b6a; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
	.rq-flow.is-js:not(.is-waiting) .rq-flow-step.is-on .rq-flow-ring circle { animation: rq-flow-turn 5200ms linear forwards; }
	.rq-flow.is-paused .rq-flow-ring circle { animation-play-state: paused !important; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
	.rq-flow.is-js .rq-flow-ring { display: none; }
}


/* Encart des formations de /reservation/ : blanc et sable, comme les cartes de /institut/. */
.rq-fcard { color: #111c18 !important; background: #fff; border: 1px solid #e6dfd3; box-shadow: 0 1px 2px rgba(17, 28, 24, .04); }
.rq-fcard h3 { color: #111c18; }
.rq-fcard .rq-hero-eyebrow, .rq-fcard-go { color: #9c7d4f; }
.rq-fcard-tx p:not(.rq-hero-eyebrow) { color: #4a5551; }
.rq-fcard .rq-ft { background: #faf6ef; }
.rq-fcard .rq-ft b { color: #111c18; }
.rq-fcard .rq-art-list i { background: rgba(17, 28, 24, .14); }
.rq-fcard .rq-art-list i::after { border-color: #fff; }
.rq-fcard .rq-art-seal { color: #7d6238; border-color: #bc9b6a; }
.rq-fcard .rq-art-seal::after { border-color: #bc9b6a; }
.rq-fcard .rq-ft-rail u { background: #bc9b6a; }
@media (prefers-reduced-motion: no-preference) {
	.rq-fcard .rq-fcard-art.rq-tiles .rq-ft:nth-of-type(1) { animation-name: rq-g-t1, rq-t-lift1; }
	.rq-fcard .rq-fcard-art.rq-tiles .rq-ft:nth-of-type(2) { animation-name: rq-g-t2, rq-t-lift2; }
	.rq-fcard .rq-fcard-art.rq-tiles .rq-ft:nth-of-type(3) { animation-name: rq-g-t3, rq-t-lift3; }
}
@media (hover: hover) and (pointer: fine) { .rq-fcard:hover { border-color: #bc9b6a; box-shadow: 0 10px 26px rgba(17, 28, 24, .08); } }
/* Mêmes tailles qu'avant le passage de ces deux titres de h2 à h1, et inversement. */
body .entry-content h1.rq-hero-title { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.15; }
body .entry-content h2.riwaq-h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; }
body .entry-content .rq-cat-head h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }

/* Une offre choisie : les autres restent là, en petites cartes, plutôt qu'un lien de retour. */
.rq-mcards.is-picked { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rq-mcards.is-picked .rq-mcard.is-on { grid-column: 1 / -1; order: -1; }
.rq-mcards .rq-mcard.is-mini { display: block; min-height: 0; padding: 14px 18px; }
.rq-mcard.is-mini .rq-mc-art, .rq-mcard.is-mini .rq-mc-tx > span { display: none; }
.rq-mcard.is-mini .rq-mc-tx strong { font-size: 17px; line-height: 1.2; }
.rq-mcard.is-mini .rq-mc-tx em { margin-top: 2px; font-size: 14px; }
.rq-offer-all { display: none !important; }
@media (max-width: 640px) {
	.rq-mcards.is-picked { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Fiches des cours et des formations. */
.rq-fiche .woocommerce-tabs { display: none; }
.rq-fiche .summary > p.price { margin: 4px 0 14px; font-size: 30px; font-weight: 600; color: #111c18; transition: opacity 160ms ease; }
.rq-fiche .summary > p.price.is-set .price-prefix, .rq-fiche .woocommerce-variation-price { display: none; }
.rq-lvl { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px !important; padding: 5px 12px 5px 10px; font-size: 14px; font-weight: 600; color: #6d5530; background: #f6ecd8; border-radius: 999px; }
.rq-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.rq-bars i { display: block; width: 4px; background: #dccdb1; border-radius: 2px; }
.rq-bars i:nth-child(1) { height: 6px; }
.rq-bars i:nth-child(2) { height: 10px; }
.rq-bars i:nth-child(3) { height: 14px; }
.rq-bars i.is-on { background: #8a6d3f; }
.rq-track { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.rq-track a { display: grid; place-items: center; min-height: 36px; padding: 0 14px; font-size: 14px; color: #111c18; text-decoration: none; background: #fff; border: 1px solid #e6dfd3; border-radius: 999px; }
.rq-track a.is-on { color: #faf6ef; background: #111c18; border-color: #111c18; }
.rq-f-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0 !important; padding: 0 !important; list-style: none; }
.rq-f-side li { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 !important; padding: 12px 14px; font-size: 14px; line-height: 1.3; background: #faf6ef; border-radius: 14px; }
.rq-f-side svg { flex: none; color: #8a6d3f; }
.rq-f-side span { text-wrap: balance; }
.rq-f-body { display: grid; gap: 22px; width: min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-width-base, 90vw)); margin: 56px auto 72px; padding: 0; box-sizing: border-box; } /* Même largeur que le haut de la fiche (conteneur Blocksy). */
.rq-f-body h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.25; font-weight: 500; }
.rq-f-body ul { margin: 0; padding: 0; list-style: none; }
.rq-f-body li { margin: 0; }
.rq-f-intro { max-width: 760px; font-size: 18px; line-height: 1.7; }
.rq-f-intro p { margin: 0 0 12px; }
.rq-f-card { padding: 22px; background: #fff; border: 1px solid #efe7da; border-radius: 18px; }
.rq-f-card p { margin: 0 0 8px; }
.rq-f-card p:last-child { margin-bottom: 0; }
.rq-f-card li { display: flex; gap: 10px; padding: 7px 0; }
.rq-f-card li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #8a6d3f; }
.rq-f-wide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rq-f-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rq-f-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.rq-f-lvl h2 { display: flex; align-items: center; gap: 10px; }
.rq-f-path { padding: clamp(24px, 4vw, 40px); background: #faf6ef; border-radius: 22px; }
.rq-f-path ol { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.rq-f-path ol::before { content: ""; position: absolute; top: 19px; left: 19px; right: 12%; height: 2px; background: #bc9b6a; transform: scaleX(0); transform-origin: left; transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1); }
.rq-f-path.is-in ol::before { transform: scaleX(1); }
.rq-f-path li { position: relative; display: grid; gap: 4px; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.rq-f-path.is-in li { opacity: 1; transform: none; }
.rq-f-path li:nth-child(2) { transition-delay: 120ms; }
.rq-f-path li:nth-child(3) { transition-delay: 240ms; }
.rq-f-path li:nth-child(4) { transition-delay: 360ms; }
.rq-f-path b { display: grid; place-items: center; width: 38px; height: 38px; color: #faf6ef; background: #111c18; border-radius: 50%; }
.rq-f-path span { font-size: 14px; color: #6f6f6a; }
@media (min-width: 900px) {
	.rq-fiche .product-entry-wrapper { align-items: flex-start; }
	.rq-fiche .woocommerce-product-gallery { position: sticky; top: 24px; }
}
@media (max-width: 640px) {
	.rq-fiche .summary > p.price { font-size: 26px; }
	.rq-f-body { margin: 36px auto 48px; }
	.rq-f-wide ul, .rq-f-cards { grid-template-columns: minmax(0, 1fr); }
	.rq-f-path ol { grid-template-columns: minmax(0, 1fr); }
	.rq-f-path ol::before { top: 19px; bottom: 19px; left: 18px; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; }
	.rq-f-path.is-in ol::before { transform: scaleY(1); }
	.rq-f-path li { grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; }
	.rq-f-path li b { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
	.rq-f-path ol::before, .rq-f-path li { transition: none; }
	.rq-f-path ol::before { transform: none; }
	.rq-f-path li { opacity: 1; transform: none; }
}
.rq-f-lvl h3, .rq-f-lvl h4 { margin: 14px 0 6px; font-size: 16px; line-height: 1.3; }
.rq-f-lvl li { display: block; padding: 5px 0; font-size: 15px; line-height: 1.45; }
.rq-f-intro { max-width: 860px; }

/* Fiches : blocs visuels. */
.rq-fiche .summary > p.price { margin-bottom: 0; }
.rq-price-note { margin: 2px 0 14px !important; font-size: 14px; color: #6d5530; }
.rq-f-prog ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.rq-f-prog li { display: grid; gap: 12px; align-content: start; min-height: 136px; margin: 0; padding: 18px; font-size: 16px; line-height: 1.4; background: #faf6ef; border-radius: 16px; opacity: 0; transform: translateY(10px); transition: opacity 320ms ease, transform 320ms cubic-bezier(0.23, 1, 0.32, 1); }
.rq-f-prog.is-in li { opacity: 1; transform: none; }
/* Titres de module : lignes équilibrées, pas de mot seul sur la dernière ligne (« 1, 2 et 3 »). */
.rq-f-prog li span { text-wrap: balance; }
/* Ce qui était entre parenthèses (livre, terme arabe) : une petite ligne dorée sous le titre du module. */
.rq-f-prog li span small { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; letter-spacing: .01em; color: #e2c999; }
.rq-f-prog li:nth-child(2) { transition-delay: 70ms; }
.rq-f-prog li:nth-child(3) { transition-delay: 140ms; }
.rq-f-prog li:nth-child(4) { transition-delay: 210ms; }
.rq-f-prog li:nth-child(n+5) { transition-delay: 280ms; }
.rq-f-prog b { font-family: Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1; color: #bc9b6a; }
.rq-f-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rq-f-tile { position: relative; display: grid; gap: 8px; justify-items: start; padding: 20px; font: inherit; color: #111c18; text-align: left; background: #fff; border: 1px solid #e6dfd3; border-radius: 18px; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease; }
.rq-f-tile strong { font-size: 17px; }
.rq-f-tile > b { font-size: 34px; font-weight: 600; line-height: 1.1; }
.rq-f-tile small { font-size: 14px; color: #6f6f6a; }
/* Modes de paiement : des cases d'information, pas des boutons. */
.rq-f-tile.is-static { cursor: default; }
.rq-f-tile.is-static:hover { border-color: #e6dfd3; box-shadow: none; }
.rq-f-tile em { position: absolute; top: 16px; right: 16px; padding: 3px 10px; font-size: 12px; font-style: normal; font-weight: 600; color: #6d5530; background: #f6ecd8; border-radius: 999px; }
.rq-f-tile.is-on { border-color: #111c18; box-shadow: 0 0 0 1px #111c18; }
.rq-f-months { display: flex; flex-wrap: wrap; gap: 3px; }
.rq-f-months i { width: 12px; height: 12px; background: #e9dfcb; border-radius: 3px; transition: background-color 240ms ease; }
.rq-f-rhythm.is-in .rq-f-months i { background: #bc9b6a; }
.rq-f-rhythm ul { margin-top: 14px !important; }
.rq-f-rhythm li { display: flex; gap: 10px; padding: 5px 0; }
.rq-f-rhythm li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #8a6d3f; }
.rq-f-books ul { display: flex; flex-wrap: wrap; gap: 16px; }
.rq-f-books li { display: grid; gap: 8px; width: 112px; margin: 0; padding: 0; font-size: 13px; line-height: 1.3; }
.rq-f-books img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 6px 14px rgba(17, 28, 24, .18); transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.rq-f-mark { display: flex; gap: 10px; font-size: 16px; }
.rq-f-mark svg { flex: none; padding: 4px; width: 26px; height: 26px; box-sizing: border-box; color: #faf6ef; background: #111c18; border-radius: 50%; }
.rq-f-prev { display: inline-block; margin-top: 10px; font-size: 15px; color: #8a6d3f; }
.rq-f-note { margin: 0; padding: 16px 20px; font-size: 15px; line-height: 1.6; background: #faf6ef; border-left: 3px solid #bc9b6a; border-radius: 0 12px 12px 0; }
.rq-f-end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); color: #faf6ef; background: #111c18; border-radius: 22px; }
.rq-f-end h2 { color: #faf6ef; }
.rq-f-end p { margin: 0 0 8px; font-size: 19px; }
.rq-f-end .rq-f-sub { font-size: 15px; color: #cfc9bd; }
.rq-dip { display: block; width: 100%; height: auto; }
.rq-dip .l, .rq-dip .sig { fill: none; stroke: #b9ad97; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 600ms ease 200ms; }
.rq-dip .sig { stroke: #111c18; stroke-width: 1.6; transition-delay: 700ms; }
.rq-dip .l:nth-of-type(2) { transition-delay: 320ms; }
.rq-dip .l:nth-of-type(3) { transition-delay: 440ms; }
.rq-dip .seal { opacity: 0; transform: scale(.9); transform-origin: 204px 138px; transition: opacity 260ms ease 1150ms, transform 260ms cubic-bezier(0.23, 1, 0.32, 1) 1150ms; }
.rq-f-end.is-in .rq-dip .l, .rq-f-end.is-in .rq-dip .sig { stroke-dashoffset: 0; }
.rq-f-end.is-in .rq-dip .seal { opacity: 1; transform: none; }
.rq-f-levels { align-items: start; }
.rq-f-levels .rq-f-lvl { display: block; padding: 0 0 18px; background: #fff; border: 1px solid #efe7da; border-radius: 18px; overflow: hidden; transition: border-color 160ms ease, box-shadow 160ms ease; }
.rq-f-lvl.is-on { border-color: #111c18; box-shadow: 0 0 0 1px #111c18; }
.rq-f-lvl header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; padding: 16px 20px; background: #faf6ef; }
.rq-f-lvl header h2 { margin: 0; font-size: 19px; }
.rq-f-lvl h3 { margin: 14px 20px 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a6d3f; }
.rq-f-lvl ul { padding: 0 20px !important; }
.rq-f-goals li { display: grid; gap: 1px; padding: 6px 0; }
.rq-f-goals b { font-size: 14px; }
.rq-f-goals span { font-size: 15px; color: #4c4c47; }
.rq-f-mods { position: relative; counter-reset: m; }
.rq-f-mods li { position: relative; display: grid; gap: 1px; padding: 6px 0 6px 22px; }
.rq-f-mods li::before { content: ""; position: absolute; top: 12px; left: 3px; width: 9px; height: 9px; background: #bc9b6a; border-radius: 50%; }
.rq-f-mods li::after { content: ""; position: absolute; top: 22px; bottom: -12px; left: 7px; width: 1px; background: #e6dfd3; }
.rq-f-mods li:last-child::after { display: none; }
.rq-f-mods b { font-size: 14px; }
.rq-f-mods span { font-size: 15px; color: #4c4c47; }
@media (hover: hover) and (pointer: fine) {
	.rq-f-tile:hover { border-color: #bc9b6a; }
	.rq-f-books li:hover img { transform: translateY(-3px); }
}
@media (max-width: 640px) {
	.rq-f-end { grid-template-columns: minmax(0, 1fr); }
	.rq-f-prog li { min-height: 0; grid-template-columns: 34px minmax(0, 1fr); align-items: start; }
	.rq-f-books li { width: calc(33.33% - 11px); }
}
@media (prefers-reduced-motion: reduce) {
	.rq-f-prog li { opacity: 1; transform: none; transition: none; }
	.rq-dip .l, .rq-dip .sig { stroke-dashoffset: 0; transition: none; }
	.rq-dip .seal { opacity: 1; transform: none; transition: none; }
}

/* Fiches : prix, professeurs, accroche. */
.rq-price-box { margin: 0 0 18px; padding: 16px 20px; background: #faf6ef; border: 1px solid #e9dfcb; border-radius: 18px; }
.rq-fiche .rq-price-box p.price { margin: 0; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.1; font-weight: 600; color: #111c18; }
.rq-fiche .rq-price-box p.price * { font-size: inherit; }
.rq-fiche .rq-price-box p.price .price-prefix, .rq-fiche .rq-price-box p.price small { font-size: 15px; font-weight: 500; color: #8a6d3f; }
.rq-fiche .rq-price-box .rq-price-note { margin: 4px 0 0 !important; font-size: 15px; color: #6d5530; }
.rq-f-lead { position: relative; max-width: 900px; margin: 0 auto; padding: 8px 12px; text-align: center; }
.rq-f-lead::before { content: ""; display: block; width: 44px; height: 2px; margin: 0 auto 18px; background: #bc9b6a; }
.rq-f-lead p { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; font-weight: 500; color: #111c18; text-wrap: balance; }
.rq-f-body ul.rq-f-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px !important; }
.rq-f-rhythm .rq-f-info li { align-items: center; gap: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.35; background: #faf6ef; border-radius: 14px; }
.rq-f-rhythm .rq-f-info svg { width: 22px; height: 22px; margin: 0; }
.rq-f-teach { padding: clamp(20px, 3vw, 28px); background: #fff; border: 1px solid #efe7da; border-radius: 18px; }
.rq-f-body .rq-f-teach ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rq-f-teach li { display: grid; justify-items: center; gap: 10px; padding: 16px 10px; text-align: center; background: #faf6ef; border-radius: 14px; }
.rq-f-ico { display: grid; place-items: center; width: 46px; height: 46px; color: #faf6ef; background: #111c18; border-radius: 50%; }
.rq-f-teach strong { font-size: 15px; line-height: 1.25; }
.rq-f-teach p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: #6f6f6a; text-align: center; }
@media (max-width: 640px) {
	.rq-f-body ul.rq-f-info { grid-template-columns: minmax(0, 1fr); }
	/* Sur téléphone, trois colonnes écrasaient le texte : une ligne par point, icône à gauche. */
	.rq-f-body .rq-f-teach ul { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.rq-f-teach li { grid-template-columns: 46px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; row-gap: 2px; padding: 12px 14px; text-align: left; }
	.rq-f-teach li .rq-f-ico { grid-row: span 2; }
	.rq-f-teach strong { font-size: 15px; }
}

.rq-fiche .woocommerce-product-details__short-description { margin-bottom: 20px; }
.rq-fiche ul.rq-brief { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.rq-brief li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid #f1eadf; }
.rq-brief li:last-child { border-bottom: 0; }
.rq-brief .rq-f-ico { flex: none; width: 36px; height: 36px; color: #8a6d3f; background: #faf6ef; border: 1px solid #e9dfcb; }
.rq-brief .rq-f-ico svg { width: 18px; height: 18px; }
.rq-brief li > span:last-child { display: grid; min-width: 0; font-size: 15px; line-height: 1.35; }
.rq-brief b { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a6d3f; }

/* Titres : le nom, le texte étudié, la précision. */
.rq-fiche h1.product_title { display: grid; gap: 4px; margin: 0 0 14px !important; }
.rq-t-main { display: block; font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; line-height: 1.1; color: #111c18; }
.rq-t-sub { display: block; font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; line-height: 1.25; color: #8a6d3f; }
.rq-t-note { display: block; font-size: 15px; font-weight: 400; line-height: 1.3; color: #6f6f6a; }
.rq-t-note::first-letter { text-transform: uppercase; }
.woocommerce-loop-product__title .rq-t-main { font-size: 20px; }
.woocommerce-loop-product__title .rq-t-sub { margin-top: 2px; font-size: 15px; }
.woocommerce-loop-product__title .rq-t-note { margin-top: 2px; font-size: 14px; }
.rq-fiche .rq-price-box p.price .prix-personnalise { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 500; color: #8a6d3f; }
.rq-fiche .rq-price-box p.price.is-set .prix-personnalise { display: none; }

/* Fiches : le formulaire en étapes, de Public à L'élève. */
.rq-fiche form.cart { counter-reset: rq-step; }
.rq-fiche .variations tr, .rq-fiche .rq-buy-step { counter-increment: rq-step; }
.rq-fiche .variations, .rq-fiche .variations tbody, .rq-fiche .variations tr, .rq-fiche .variations th, .rq-fiche .variations td { display: block; width: 100%; border: 0; }
.rq-fiche .variations tr { margin-bottom: 18px; }
.rq-fiche .variations th { padding: 0 0 10px !important; text-align: left; }
.rq-fiche .variations td { padding: 0 !important; }
.rq-fiche .variations th label, .rq-fiche .rq-buy-step h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 500; color: #111c18; }
.rq-fiche .variations th label::before, .rq-fiche .rq-buy-step h3::before { content: counter(rq-step); display: grid; place-items: center; flex: none; width: 28px; height: 28px; font-size: 14px; font-weight: 600; color: #faf6ef; background: #111c18; border-radius: 50%; }
.rq-fiche .rq-buy-step { margin: 0 0 16px; padding: 18px; background: #faf6ef; border: 0; border-radius: 18px; }
.rq-fiche .rq-buy-step h3 { margin-bottom: 14px; }
.rq-fiche .rq-buy-step input, .rq-fiche .rq-buy-step select { background: #fff; }
.rq-fiche .rq-prereq { margin: 0 0 16px; }
.rq-fiche .variations th label { display: flex !important; width: auto; }
.rq-fiche form.cart .rq-buy-step { padding: 18px !important; background: #faf6ef !important; border: 0 !important; border-radius: 18px !important; }
.rq-buy-need { margin: 0 0 8px; font-size: 14px; text-align: center; color: #6d5530; }
.rq-f-teach small { font-size: 14px; line-height: 1.3; color: #6f6f6a; }
.rq-mini-logo { display: inline-block; width: auto; height: 20px; margin-left: 6px; vertical-align: -4px; }
.rq-f-end .rq-f-level { display: inline-block; margin: 2px 0 10px; padding: 3px 12px; font-size: 14px; color: #111c18; background: #e2c999; border-radius: 999px; }

/* Fiches : titres de section, supports et prérequis. */
.rq-f-prog > h2, .rq-f-rhythm > h2, .rq-f-teach > h2, .rq-f-books > h2, .rq-f-path > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: clamp(24px, 2.4vw, 30px); }
.rq-f-prog > h2::after, .rq-f-rhythm > h2::after, .rq-f-teach > h2::after, .rq-f-books > h2::after, .rq-f-path > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #bc9b6a, transparent); }
.rq-f-cards { grid-template-columns: minmax(0, 1fr); }
.rq-f-books ul { gap: 14px; }
.rq-f-books li { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; width: min(320px, 100%); font-size: 15px; font-weight: 500; }
.rq-f-card.rq-f-pre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 20px; background: #faf6ef; border: 0; }
.rq-f-pre h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a6d3f; }
.rq-f-pre .rq-f-mark { flex: 1 1 280px; align-items: center; margin: 0; font-size: 15px; }
.rq-f-pre .rq-f-prev { margin: 0; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) {
	.rq-f-card.rq-f-pre { display: grid; }
	.rq-f-books li { width: 100%; }
	.rq-f-pre .rq-f-prev { white-space: normal; }
}

/* Programme : modules sombres, le numéro en grand filigrane doré. */
.rq-f-prog ol { gap: 14px; }
.rq-f-prog li { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 168px; padding: 20px; overflow: hidden; color: #faf6ef; background: #111c18; border-radius: 18px; }
.rq-f-prog li::after { content: attr(data-n); position: absolute; right: 10px; bottom: -22px; font-family: Georgia, serif; font-size: 120px; line-height: 1; color: #bc9b6a; opacity: .22; pointer-events: none; }
.rq-f-prog b { position: relative; z-index: 1; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; color: #e2c999; }
.rq-f-prog span { position: relative; z-index: 1; max-width: 90%; font-size: 18px; font-weight: 500; line-height: 1.3; }
@media (max-width: 640px) {
	.rq-f-prog li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 112px; }
}
.rq-f-prog li { align-content: start; gap: 10px; min-height: 0; padding: 18px 20px 20px; }
.rq-f-prog li::after { font-size: 92px; bottom: -16px; }

/* Fiches : le bouton d'achat, aux couleurs du site. */
.rq-fiche .single_add_to_cart_button { width: 100%; min-height: 58px; font-size: 17px !important; font-weight: 600; letter-spacing: .01em; color: #faf6ef !important; background: #111c18 !important; border: 1px solid #bc9b6a !important; border-radius: 999px !important; box-shadow: 0 10px 24px rgba(17, 28, 24, .18); opacity: 1 !important; transition: background-color 160ms ease, transform 120ms ease; }
.rq-fiche .single_add_to_cart_button.disabled, .rq-fiche .single_add_to_cart_button:disabled { color: #8a6d3f !important; background: #f6ecd8 !important; border-color: #e2c999 !important; box-shadow: none; cursor: not-allowed; }
.rq-fiche .single_add_to_cart_button:not(.disabled):active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
	.rq-fiche .single_add_to_cart_button:not(.disabled):hover { background: #8a6d3f !important; }
}

/* Fiches cours : au niveau des formations. */
.rq-f-whys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rq-f-why { display: flex; gap: 14px; padding: 20px; background: #faf6ef; border-radius: 18px; }
.rq-f-why .rq-f-ico { flex: none; }
.rq-f-why h2 { margin: 0 0 6px; font-size: 19px; }
.rq-f-why p { margin: 0; font-size: 15px; line-height: 1.55; color: #4c4c47; }
.rq-f-tracks ol { display: none; }
.rq-f-lvl header { background: #111c18; color: #faf6ef; }
.rq-f-lvl header h2 { color: #faf6ef; }
.rq-f-lvl header .rq-bars i { background: #4a5a53; }
.rq-f-lvl header .rq-bars i.is-on { background: #e2c999; }
.rq-f-offs .rq-f-off { padding: 18px 20px; background: #fff; border: 1px solid #e6dfd3; border-radius: 18px; }
.rq-f-off h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.rq-f-off h3 svg { color: #8a6d3f; }
.rq-f-body .rq-f-off ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rq-f-off li { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; text-align: center; background: #faf6ef; border-radius: 12px; }
.rq-f-off li span { font-size: 14px; color: #6f6f6a; }
.rq-f-off li b { font-size: 20px; color: #111c18; }
/* Total, et lien vers le panier après l'ajout. */
.rq-fiche .rq-buy-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; padding: 14px 18px; font-size: 15px; background: #fff; border: 1px solid #e9dfcb; border-radius: 14px; }
.rq-fiche .rq-buy-hint { display: none; }
.rq-fiche .cart .added_to_cart, .rq-fiche a.added_to_cart { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 10px 0 0; font-size: 15px; font-weight: 600; color: #111c18 !important; text-decoration: none; background: #f6ecd8; border: 1px solid #e2c999; border-radius: 999px; }
@media (max-width: 640px) {
	.rq-f-whys { grid-template-columns: minmax(0, 1fr); }
}

.rq-f-tracks > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: clamp(24px, 2.4vw, 30px); }
.rq-f-tracks > h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #bc9b6a, transparent); }
/* Sur un cours, Réserver est le bouton principal et le panier le second, de même taille. */
.rq-fiche .riwaq-cta { margin: 10px 0 !important; }
.rq-fiche .riwaq-cta-button { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; font-size: 17px !important; font-weight: 600; color: #faf6ef !important; background: #111c18 !important; border: 1px solid #bc9b6a !important; border-radius: 999px !important; box-shadow: 0 10px 24px rgba(17, 28, 24, .18); text-decoration: none; transition: background-color 160ms ease; }
.rq-fiche .riwaq-cta-button svg { color: #e2c999; }
.rq-fiche .riwaq-cta-note { margin: 6px 0 0; font-size: 13px; text-align: center; color: #6f6f6a; }
.rq-fiche-cours .single_add_to_cart_button:not(.disabled) { color: #111c18 !important; background: #fff !important; border-color: #111c18 !important; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
	.rq-fiche .riwaq-cta-button:hover { background: #8a6d3f !important; }
	.rq-fiche-cours .single_add_to_cart_button:not(.disabled):hover { color: #faf6ef !important; background: #111c18 !important; }
}

/* Fiches cours : niveaux en onglets, modules comme ceux des formations. */
.rq-f-why details { margin-top: 8px; font-size: 15px; color: #4c4c47; }
.rq-f-why summary { font-weight: 600; color: #8a6d3f; cursor: pointer; }
.rq-f-why details p { margin-top: 6px; }
.rq-f-tabs { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; gap: 3px; margin: 0 0 16px; padding: 4px; background: #f3ece0; border-radius: 999px; }
.rq-f-tabs button { min-height: 40px; padding: 0 20px; font: inherit; font-size: 15px; color: #111c18; background: none; border: 0; border-radius: 999px; cursor: pointer; }
.rq-f-tabs button.is-on { color: #faf6ef; background: #111c18; }
.rq-f-tracks.is-tabs .rq-f-levels { display: block; }
.rq-f-tracks.is-tabs .rq-f-lvl { display: none; padding: 0; background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.rq-f-tracks.is-tabs .rq-f-lvl.is-show { display: block; }
.rq-f-tracks.is-tabs .rq-f-lvl header { display: none; }
.rq-f-lvl h3 { margin: 16px 0 8px; }
.rq-f-lvl ul { padding: 0 !important; }
.rq-f-body ul.rq-f-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rq-f-goals li { align-content: start; gap: 6px; padding: 16px 18px; background: #faf6ef; border-radius: 16px; }
.rq-f-goals b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8a6d3f; }
.rq-f-body ul.rq-f-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rq-f-mods li { position: relative; display: grid; align-content: start; gap: 8px; padding: 18px 20px 20px; overflow: hidden; color: #faf6ef; background: #111c18; border-radius: 18px; }
.rq-f-mods li::before { display: none; }
.rq-f-mods li::after, .rq-f-mods li:last-child::after { content: attr(data-n); display: block; top: auto; right: 10px; bottom: -16px; left: auto; width: auto; height: auto; font-family: Georgia, serif; font-size: 92px; line-height: 1; color: #bc9b6a; background: none; opacity: .22; pointer-events: none; }
.rq-f-mods b { position: relative; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #e2c999; }
.rq-f-mods span { position: relative; z-index: 1; max-width: 90%; font-size: 17px; font-weight: 500; line-height: 1.3; color: #faf6ef; }
/* Boutons : même survol partout. */
@media (hover: hover) and (pointer: fine) {
	.rq-fiche .single_add_to_cart_button:not(.disabled):hover, .rq-fiche-cours .single_add_to_cart_button:not(.disabled):hover, .rq-fiche .riwaq-cta-button:hover { color: #111c18 !important; background: #d9bd8c !important; border-color: #bc9b6a !important; }
}
@media (max-width: 640px) {
	.rq-f-body ul.rq-f-goals { grid-template-columns: minmax(0, 1fr); }
}

/* Fiches : indications autour des boutons. */
.rq-fiche .rq-buy-need { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 10px; padding: 6px 14px; font-size: 14px; color: #6d5530; background: #f6ecd8; border-radius: 999px; }
.rq-fiche .rq-buy-need[hidden] { display: none; }
.rq-cta-schools { display: grid; justify-items: center; gap: 8px; margin: 14px 0 0; text-align: center; }
.rq-cta-schools > span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #8a6d3f; }
.rq-fiche .rq-cta-schools ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rq-cta-schools li { margin: 0; padding: 5px 12px; font-size: 14px; color: #111c18; background: #faf6ef; border: 1px solid #e9dfcb; border-radius: 999px; }
.rq-cta-tick { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0 !important; font-size: 14px; color: #4c4c47; }
.rq-cta-tick svg { flex: none; width: 18px; height: 18px; color: #8a6d3f; }
.rq-f-lead p.rq-f-lead-sub { margin-top: 10px; font-size: 17px; font-weight: 400; color: #6f6f6a; }
.rq-fiche .rq-buy-total { margin-bottom: 16px; }
.rq-fiche .rq-buy-need { margin-top: 14px; margin-bottom: 14px; }

/* Total d'un cours : les heures se voient autant que le prix. */
.rq-fiche .rq-buy-total > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; color: #6f6f6a; }
.rq-fiche .rq-buy-total > div:first-child::before { content: ""; align-self: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #111c18 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c999' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.rq-fiche #total_heures_affiche { font-size: 26px; font-weight: 600; line-height: 1.1; color: #111c18; }
.rq-fiche .rq-buy-off:not([hidden]) { display: inline-block; padding: 2px 10px; font-size: 13px; color: #1f6b4a; background: #e8f3ec; border-radius: 999px; }
.rq-course-body h3 .rq-t-main { font-size: 20px; }
.rq-course-body h3 .rq-t-sub { margin-top: 2px; font-size: 15px; }
/* Fiches et cartes : pas de mot seul sur la dernière ligne (demande du propriétaire). */
body.rq-fiche main p, body.rq-fiche main li, body.rq-fiche main h2, body.rq-fiche main h3, body.rq-fiche main summary, .rq-course-body p, .woocommerce-loop-product__title span { text-wrap: pretty; }

/* Téléphone : repères de la fiche sur une colonne, une ligne chacun. */
@media (max-width: 480px) {
	.rq-f-side { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.rq-f-side li { padding: 10px 14px; }
}
.rq-f-lead, .rq-cat-count, .rq-ui :is(div, span, strong, small) { text-wrap: pretty; }

@media (max-width: 600px) { .rq-f-teach { padding: 14px; } }

/* Flèche « section suivante » : sur téléphone, une section ne tient pas dans l'écran ; la flèche collée en bas
   passait sur le texte. Elle reste, à la fin de sa section (13/11/2026). */
@media (max-width: 760px) { .rq-next { position: static; margin-top: 18px; } }
