/* Institut HR — jours lunaires et offres sur l'accueil */
.hrv-modal-bg, .hrv-inline {
	--g: linear-gradient(135deg, #F7E6B5 0%, #E4C077 26%, #CFA04A 52%, #E9CB88 78%, #FAEFCF 100%);
	--ink: #2E2620; --muted: #7A6B58; --bronze: #A06F1E;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
}
.hrv-modal-bg *, .hrv-inline * { box-sizing: border-box; }
.hrv-modal-bg {
	position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(36, 28, 20, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	opacity: 0; transition: opacity .35s ease;
}
.hrv-modal-bg.is-on { opacity: 1; }
@property --hrv-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.hrv-modal, .hrv-card {
	position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto;
	border: 3px solid transparent; border-radius: 28px;
	background: linear-gradient(160deg, #FFFDF8, #FBF5EA 60%, #F6EDDC) padding-box,
		conic-gradient(from var(--hrv-a), #C29034, #E4C077 45deg, #FFFBEF 80deg, #F1D48C 110deg, #C99A42 170deg, #B0802A 250deg, #D6AB55 320deg, #C29034) border-box;
	box-shadow: 0 40px 90px -40px rgba(60, 40, 10, .7);
	animation: hrv-turn 6s linear infinite;
}
.hrv-modal { transform: translateY(14px) scale(.98); transition: transform .4s cubic-bezier(.2, .9, .3, 1.1); }
.hrv-modal-bg.is-on .hrv-modal { transform: none; }
.hrv-card { max-width: 1100px; max-height: none; margin: 0 auto; }
@keyframes hrv-turn { to { --hrv-a: 360deg; } }
.hrv-close {
	position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 26px; line-height: 1; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4);
}
.hrv-media { line-height: 0; border-radius: 25px 25px 0 0; overflow: hidden; }
.hrv-media img { display: block; width: 100%; height: auto; max-height: 52vh; object-fit: cover; }
.hrv-card .hrv-media img { max-height: 420px; }
.hrv-body { position: relative; padding: 26px 30px 24px; text-align: center; overflow: hidden; }
.hrv-body::after {
	content: "HR"; position: absolute; z-index: 0; right: 4%; bottom: -24px; pointer-events: none;
	font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 200px; line-height: .8; color: rgba(201, 151, 58, .07);
}
.hrv-body > * { position: relative; z-index: 1; }
.hrv-limited {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 16px; border-radius: 999px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
	background: linear-gradient(135deg, #2E2620, #5A4222); border: 1px solid rgba(241, 211, 138, .8);
	animation: hrv-blink 1.6s ease-in-out infinite;
}
.hrv-dot { width: 8px; height: 8px; border-radius: 50%; background: #F1D38A; box-shadow: 0 0 0 0 rgba(241, 211, 138, .8); animation: hrv-ping 1.6s ease-out infinite; }
@keyframes hrv-blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 199, 123, 0); } 50% { box-shadow: 0 0 0 6px rgba(233, 199, 123, .28); } }
@keyframes hrv-ping { 0% { box-shadow: 0 0 0 0 rgba(241, 211, 138, .8); } 80%, 100% { box-shadow: 0 0 0 9px rgba(241, 211, 138, 0); } }
.hrv-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.hrv-title {
	margin: 0 0 12px; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(30px, 6vw, 44px); line-height: 1.08; letter-spacing: -.01em;
	background: linear-gradient(135deg, #2E2620 0%, #6B4A12 45%, #A06F1E 70%, #2E2620 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hrv-title::after { content: ""; display: block; width: 70px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--g); }
.hrv-text { max-width: 52ch; margin: 0 auto 22px; font-size: 15.5px; line-height: 1.6; color: #5A4E40; }
.hrv-insts { display: grid; gap: 16px; text-align: left; }
.hrv-insts--2 { grid-template-columns: 1fr 1fr; }
.hrv-inst { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid rgba(201, 151, 58, .35); box-shadow: 0 14px 30px -22px rgba(110, 76, 22, .6); }
.hrv-inst-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; }
.hrv-flag { font-size: 18px; }
.hrv-month { margin-left: auto; font-size: 12px; color: var(--muted); }
.hrv-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.hrv-day {
	display: flex; flex-direction: column; align-items: center; padding: 10px 4px 9px; border-radius: 16px; text-align: center;
	background: linear-gradient(160deg, #FFFBF2, #F6E7C8); border: 1px solid rgba(201, 151, 58, .45);
}
.hrv-day.is-past { opacity: .4; }
.hrv-wd { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hrv-num { font-family: "Fraunces", Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.05; color: var(--ink); }
.hrv-mo { font-size: 12px; color: var(--muted); }
.hrv-n { margin-top: 5px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--g); text-shadow: 0 1px 1px rgba(96, 62, 10, .45); }
.hrv-n sup { font-size: 8px; }
.hrv-btn {
	display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px;
	font-weight: 700; font-size: 15px; color: #fff !important; text-decoration: none !important; text-align: center;
	background: var(--g); background-size: 160% 160%; text-shadow: 0 1px 2px rgba(96, 62, 10, .45);
	box-shadow: 0 14px 28px -14px rgba(110, 76, 22, .95), inset 0 1px 0 rgba(255, 255, 255, .45); transition: background-position .5s, transform .2s;
}
.hrv-btn:hover { background-position: 100% 50%; transform: translateY(-1px); }
.hrv-btn--solo { max-width: 320px; margin: 6px auto 0; }
.hrv-offers { padding: 0 30px 18px; }
.hrv-offers-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); text-align: center; }
.hrv-offer-mini {
	display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; text-decoration: none !important; color: var(--ink) !important;
	background: #fff; border: 1px solid rgba(201, 151, 58, .4); transition: transform .2s, box-shadow .2s;
}
.hrv-offer-mini:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -20px rgba(110, 76, 22, .7); }
.hrv-offer-thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.hrv-offer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hrv-offer-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hrv-offer-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze); }
.hrv-offer-only { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; margin-top: 5px; padding: 3px 10px; border-radius: 999px; background: #fdecea; border: 1px solid #e8b4ad; color: #9b2c22; font-size: 12px; font-weight: 700; line-height: 1.35; }
.hrv-offer-only--big { font-size: 13.5px; padding: 5px 14px; margin: 0 auto 4px; }
.hrv-only-wrap { text-align: center; margin: 4px 0 14px; }
.hrv-offer-txt strong { font-family: "Fraunces", Georgia, serif; font-size: 17px; font-weight: 600; }
.hrv-offer-lim { font-size: 12px; font-weight: 600; color: #8A5B13; }
.hrv-arrow { font-size: 26px; color: var(--bronze); }
.hrv-pdf { margin: 0; padding: 18px 0 0; text-align: center; }
.hrv-pdf a { color: var(--bronze); font-weight: 600; }
.hrv-later { display: block; margin: 0 auto 18px; padding: 8px 14px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hrv-inline { margin: 24px 16px; }
@media (max-width: 640px) {
	.hrv-body { padding: 20px 18px 18px; }
	.hrv-insts--2 { grid-template-columns: 1fr; }
	.hrv-offers { padding: 0 18px 14px; }
	.hrv-body::after { font-size: 140px; }
}
@media (prefers-reduced-motion: reduce) {
	.hrv-modal, .hrv-card, .hrv-limited, .hrv-dot { animation: none; }
}

/* Alerte « places limitées » : clignotement doux + reflet qui passe */
.hrv-alert {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 16px; padding: 10px 20px 10px 12px;
	border-radius: 999px; text-align: left; color: #fff;
	background: linear-gradient(135deg, #8E2F22 0%, #B5443A 45%, #C9622F 100%);
	border: 1.5px solid rgba(241, 211, 138, .9);
	box-shadow: 0 12px 26px -12px rgba(142, 47, 34, .9);
	animation: hrv-alert 1.4s ease-in-out infinite;
}
.hrv-alert-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: 18px;
	background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
	animation: hrv-tilt 2.8s ease-in-out infinite;
}
.hrv-alert-txt { display: flex; flex-direction: column; line-height: 1.2; }
.hrv-alert-txt b { font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hrv-alert-txt span { font-size: 13px; font-weight: 600; color: #FCE7C2; }
.hrv-alert-shine {
	position: absolute; top: 0; bottom: 0; left: -40%; width: 35%; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	animation: hrv-shine 2.6s ease-in-out infinite;
}
@keyframes hrv-alert {
	0%, 100% { transform: scale(1); box-shadow: 0 12px 26px -12px rgba(142, 47, 34, .9), 0 0 0 0 rgba(201, 98, 47, .55); }
	50% { transform: scale(1.04); box-shadow: 0 12px 26px -12px rgba(142, 47, 34, .9), 0 0 0 10px rgba(201, 98, 47, 0); }
}
@keyframes hrv-tilt { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(180deg); } 86% { transform: rotate(180deg); } 94% { transform: rotate(360deg); } }
@keyframes hrv-shine { 0% { left: -40%; } 60%, 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .hrv-alert, .hrv-alert-icon, .hrv-alert-shine { animation: none; } }
.hrv-inst.is-closed .hrv-day { opacity: .55; filter: grayscale(.4); }
.hrv-closed { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #F7F1E3; border: 1px dashed rgba(160, 111, 30, .5); }
.hrv-closed p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #5A4E40; }
.hrv-closed-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 700; font-style: normal; color: #fff; background: var(--bronze); }
.hrv-btn--ghost { color: var(--bronze) !important; text-shadow: none; background: #fff; border: 1.5px solid rgba(201, 151, 58, .7); box-shadow: none; }
.hrv-day { position: relative; }
.hrv-day.is-off { background: #F1EEE9; border-color: #E2DCD2; filter: grayscale(1); opacity: .55; }
.hrv-day.is-off .hrv-n { background: #BDB4A6; }
.hrv-day.is-on { border: 2px solid #C9973A; box-shadow: 0 0 0 4px rgba(233, 199, 123, .3), 0 12px 24px -14px rgba(110, 76, 22, .8); transform: translateY(-2px); animation: hrv-dayglow 2s ease-in-out infinite; }
@keyframes hrv-dayglow { 0%, 100% { box-shadow: 0 0 0 3px rgba(233, 199, 123, .25), 0 12px 24px -14px rgba(110, 76, 22, .8); } 50% { box-shadow: 0 0 0 7px rgba(233, 199, 123, .15), 0 12px 24px -14px rgba(110, 76, 22, .8); } }
.hrv-off, .hrv-onlbl { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hrv-off { color: #8D8578; }
.hrv-onlbl { color: #8A5B13; }
.hrv-inst.is-closed .hrv-day.is-off { opacity: .5; }
.hrv-closed--partial { background: #FBF3E2; border-style: solid; border-color: rgba(201, 151, 58, .45); }
@media (prefers-reduced-motion: reduce) { .hrv-day.is-on { animation: none; } }
.hrv-day { position: relative; }
.hrv-day.is-off { background: #F1EEE9; border-color: #E2DCD2; filter: grayscale(1); opacity: .55; }
.hrv-day.is-off .hrv-n { background: #BDB4A6; }
.hrv-day.is-on { border: 2px solid #C9973A; transform: translateY(-2px); animation: hrv-dayglow 2s ease-in-out infinite; }
@keyframes hrv-dayglow { 0%, 100% { box-shadow: 0 0 0 3px rgba(233, 199, 123, .25), 0 12px 24px -14px rgba(110, 76, 22, .8); } 50% { box-shadow: 0 0 0 7px rgba(233, 199, 123, .15), 0 12px 24px -14px rgba(110, 76, 22, .8); } }
.hrv-off, .hrv-onlbl { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hrv-off { color: #8D8578; }
.hrv-onlbl { color: #8A5B13; }
.hrv-closed--partial { background: #FBF3E2; border-style: solid; border-color: rgba(201, 151, 58, .45); }
@media (prefers-reduced-motion: reduce) { .hrv-day.is-on { animation: none; } }
