/* JP Site · « Et toi, ce soir ? » (direction « Cartes à emporter », 09/11/2026) : la section, le bandeau des situations, la pile de trois cartes et les kits de fin d'article. Sans cadre : la lumière, la taille et l'espace découpent. */
.jp-cartes, .jp-situations, .jp-kit, .jp-page-ce-soir { --jp-encre: var(--encre, #f4f2ee); --jp-encre-2: var(--encre-2, #17181a); --jp-papier: var(--papier, #0f1012); --jp-ocre: var(--ocre, #e0a526); --jp-gris: var(--gris, #a7a49c); --jp-gris-clair: var(--gris-clair, #c9c5bb); --jp-muet: #8a877f; --jp-texte: var(--police-texte, Archivo, system-ui, sans-serif); --jp-citation: var(--police-citation, Newsreader, Georgia, serif); --jp-ease: cubic-bezier(.4, 0, .2, 1); font-family: var(--jp-texte); color: var(--jp-encre); }
.jp-cadre { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.jp-cartes p, .jp-cartes h1, .jp-cartes h2, .jp-cartes h3, .jp-kit p, .jp-kit h2, .jp-kit h3 { margin: 0; padding: 0; }

/* Le mot-étiquette : un trait ambré, puis le mot */
.jp-trait { display: flex; align-items: center; gap: 12px; font-family: var(--police-texte, Archivo, system-ui, sans-serif); font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--jp-ocre, var(--ocre, #e0a526)); line-height: 1.3; }
.jp-trait::before { content: ""; flex: 0 0 28px; width: 28px; height: 2px; background: var(--jp-ocre, var(--ocre, #e0a526)); }

/* ---------- La section ---------- */
.jp-cartes { background: var(--jp-papier); padding: 88px 0 96px; scroll-margin-top: 64px; }
.jp-cartes-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.jp-cartes-titre { font-family: var(--jp-texte); font-weight: 800; font-stretch: 72%; font-variation-settings: "wdth" 72; letter-spacing: -.012em; line-height: .96; font-size: clamp(40px, 5vw, 68px); color: var(--jp-encre); margin-top: 12px !important; }
.jp-cartes-intro { font-size: 17px; line-height: 1.5; color: var(--jp-gris); max-width: 42ch; justify-self: end; }

/* ---------- Le bandeau des situations : des pastilles pleines, la situation choisie en ambre ---------- */
.jp-situations-fond { background: var(--jp-papier); }
.jp-situations-liste { list-style: none; margin: 0; padding: 0; }
.jp-situations-strip .jp-situations-liste { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jp-situations-strip .jp-situations-liste::-webkit-scrollbar { display: none; }
.jp-situations-strip .jp-situations-liste li { flex: 0 0 auto; }
.jp-situations-strip .jp-situation { display: inline-block; white-space: nowrap; padding: 12px 16px; font-family: var(--jp-texte); font-weight: 600; font-size: 14px; line-height: 1; color: var(--jp-gris); background: var(--jp-encre-2); text-decoration: none; border: 0; cursor: pointer; transition: background .22s var(--jp-ease), color .22s var(--jp-ease); }
.jp-situations-strip .jp-situation:hover, .jp-situations-strip .jp-situation:focus-visible { color: var(--jp-encre); text-decoration: none; }
.jp-situations-strip .jp-situation.jp-on, .jp-situations-strip .jp-situation[aria-current="true"] { background: var(--jp-ocre); color: #141516; }
.jp-situation:focus-visible { outline: 2px solid var(--jp-ocre); outline-offset: 3px; }
/* Liste compacte (fin d'article, fiche livre) : des phrases, deux colonnes */
.jp-situations-compact .jp-situations-liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.jp-situations-compact .jp-situation { display: block; position: relative; padding: 8px 0 8px 24px; font-family: var(--jp-texte); font-weight: 800; font-stretch: 72%; font-variation-settings: "wdth" 72; letter-spacing: -.01em; line-height: 1.05; font-size: clamp(18px, 1.5vw, 21px); color: var(--jp-muet); text-decoration: none; transition: color .22s; }
.jp-situations-compact .jp-situation::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 3px; background: var(--jp-ocre); transform: translateY(-50%); transition: width .22s var(--jp-ease); }
.jp-situations-compact .jp-situation:hover, .jp-situations-compact .jp-situation:focus-visible { color: var(--jp-encre); text-decoration: none; }
.jp-situations-compact .jp-situation:hover::before { width: 12px; }

/* ---------- Le kit : la pile de cartes et le côté ---------- */
.jp-kit { color: var(--jp-encre); background: transparent; border: 0; padding: 0; scroll-margin-top: 80px; transition: opacity .22s var(--jp-ease); }
.jp-kit.jp-change { opacity: 0; }
.jp-kit a { color: inherit; }
.jp-kit-scene { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; margin-top: 16px; }
.jp-kit-pile { position: relative; height: 560px; perspective: 1200px; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.jp-carte.jp-glisse { transition: none; }
.jp-carte { position: absolute; left: 50%; top: 50%; width: 360px; height: 450px; margin: -225px 0 0 -180px; padding: 28px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; text-align: left; font: inherit; cursor: pointer; border: 0; color: var(--jp-encre); background: #141516 radial-gradient(500px 300px at 30% 0%, rgba(224, 165, 38, .12), transparent 70%); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); transition: transform .7s var(--jp-ease), filter .7s var(--jp-ease); isolation: isolate; }
.jp-carte > * { position: relative; }
.jp-carte-geste { background: #f3f0e9; color: #141516; }
.jp-carte-priere { background: var(--jp-carte-photo, #1a1b1e) center / cover; color: #fff; }
.jp-carte-priere::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 16, 18, .25), rgba(15, 16, 18, .88)); }
.jp-carte-haut { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; opacity: .8; line-height: 1.3; }
.jp-carte-filet { display: block; width: 28px; height: 2px; background: var(--jp-ocre); margin-bottom: 14px; }
.jp-carte-corps { display: block; font-size: 26px; line-height: 1.25; font-variation-settings: "opsz" 30; }
.jp-carte-corps-geste { font-family: var(--jp-texte); font-style: normal; font-size: 19px; font-weight: 600; font-variation-settings: "wdth" 90; line-height: 1.35; }
.jp-carte .jp-priere { font-size: 22px; line-height: 1.35; }
.jp-carte .jp-priere span { display: block; }
.jp-carte-bas { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 12px; opacity: .85; line-height: 1.3; }
.jp-carte-bas b { display: block; font-size: 14px; font-weight: 700; }
.jp-carte-bas > span:first-child { flex: 1 1 auto; white-space: nowrap; }
.jp-carte-haut > span:first-child { white-space: nowrap; }
.jp-carte-source { text-align: right; max-width: 46%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.jp-carte[data-pos="0"] { transform: translateX(0) rotate(0) scale(1); z-index: 3; }
.jp-carte[data-pos="1"] { transform: translateX(120px) rotate(6deg) scale(.92); z-index: 2; filter: brightness(.6); }
.jp-carte[data-pos="2"] { transform: translateX(-120px) rotate(-6deg) scale(.92); z-index: 1; filter: brightness(.5); }
.jp-carte:focus-visible { outline: 2px solid var(--jp-ocre); outline-offset: 4px; }
.jp-citation { font-family: var(--jp-citation); font-weight: 400; font-style: italic; line-height: 1.2; font-variation-settings: "opsz" 24; }

.jp-kit-cote { display: flex; flex-direction: column; align-items: flex-start; }
.jp-kit-pour { font-size: 14px; color: var(--jp-gris); margin-bottom: 6px !important; }
.jp-kit-titre { font-family: var(--jp-texte); font-weight: 800; color: var(--jp-encre); letter-spacing: -.01em; line-height: .98; font-stretch: 72%; font-variation-settings: "wdth" 72; font-size: clamp(26px, 2.6vw, 36px); margin: 8px 0 14px !important; }
.jp-kit-vide { font-size: 17px; color: var(--jp-gris-clair); max-width: 48ch; }
.jp-kit-brouillon { font-size: 13px; color: var(--jp-ocre); margin-bottom: 14px !important; }
.jp-kit-brouillon a { color: var(--jp-ocre); }
.jp-kit-explique { font-size: 15px; color: var(--jp-gris); margin-bottom: 22px !important; max-width: 36ch; }
.jp-kit-points { display: flex; gap: 10px; margin-bottom: 22px; }
.jp-kit-points button { width: 36px; height: 3px; padding: 0; border: 0; background: #3a3b3f; cursor: pointer; transition: background .22s; }
.jp-kit-points button[aria-selected="true"] { background: var(--jp-ocre); }
.jp-kit-points button:focus-visible { outline: 2px solid var(--jp-ocre); outline-offset: 4px; }
.jp-kit-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.jp-kit-plus { font-size: 13px; color: var(--jp-gris); line-height: 1.6; margin-top: 22px !important; max-width: 44ch; }
.jp-kit-plus a { color: var(--jp-encre); text-decoration: none; background: linear-gradient(var(--jp-ocre), var(--jp-ocre)) no-repeat 0 100% / 100% 1px; }
.jp-kit-plus a:hover { color: var(--jp-ocre); }

/* Bouton plein et lien souligné (les deux seuls niveaux) */
.jp-bouton-ocre { font-family: var(--jp-texte, var(--police-texte, Archivo, system-ui, sans-serif)); font-weight: 700; font-size: 14px; color: #141516; letter-spacing: .01em; line-height: 1; text-decoration: none; padding: 15px 22px; background: var(--jp-ocre, var(--ocre, #e0a526)); display: inline-block; border: 0; transition: background .2s; }
.jp-bouton-ocre:hover, .jp-bouton-ocre:focus-visible { background: #f0c45a; color: #141516; text-decoration: none; }
.jp-lien, .jp-bouton-fantome-clair { font-family: var(--jp-texte, var(--police-texte, Archivo, system-ui, sans-serif)); font-weight: 600; font-size: 14px; color: var(--jp-encre, var(--encre, #f4f2ee)); line-height: 1; text-decoration: none; padding: 15px 0; border: 0; background: linear-gradient(var(--jp-ocre, var(--ocre, #e0a526)), var(--jp-ocre, var(--ocre, #e0a526))) no-repeat 0 100% / 100% 2px; display: inline-block; transition: background-size .2s, color .2s; }
.jp-lien:hover, .jp-lien:focus-visible, .jp-bouton-fantome-clair:hover, .jp-bouton-fantome-clair:focus-visible { background-size: 100% 100%; color: #141516; text-decoration: none; }
.jp-bouton-ocre:focus-visible, .jp-lien:focus-visible { outline: 2px solid var(--jp-ocre, var(--ocre, #e0a526)); outline-offset: 4px; }

/* ---------- Kit en fin d'article et de fiche livre : les trois temps côte à côte, sans bordure ---------- */
.jp-kit-article, .jp-kit-livre-page { padding: 72px 0 80px; }
.jp-kit-article .jp-kit-tete, .jp-kit-livre-page .jp-kit-tete { margin-bottom: 28px; }
.jp-source { font-family: var(--jp-texte); font-size: 13px; color: var(--jp-gris); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.jp-kit-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border: 0; background: transparent; }
.jp-kit-col { display: flex; flex-direction: column; min-height: 0; padding: 0; border: 0; }
.jp-kit-h3 { margin-bottom: 0 !important; }
.jp-kit-mot { font-size: clamp(22px, 2vw, 26px); color: var(--jp-encre); line-height: 1.22; font-variation-settings: "opsz" 30; margin: 12px 0 8px !important; max-width: 36ch; }
.jp-kit-geste { font-family: var(--jp-texte); font-weight: 500; font-size: clamp(16px, 1.3vw, 18px); color: var(--jp-encre); line-height: 1.45; margin: 12px 0 8px !important; max-width: 60ch; }
.jp-kit .jp-priere { font-size: clamp(18px, 1.5vw, 21px); color: var(--jp-encre); line-height: 1.45; margin: 12px 0 8px !important; max-width: 48ch; }
/* Sur les cartes, le texte prend la couleur de la carte (blanc sur la photo de la prière), pas l'encre du thème (bleu nuit en Galilée). */
.jp-kit .jp-carte :is(.jp-priere, .jp-kit-mot, .jp-kit-geste) { color: inherit; }
.jp-lien-prier { margin-top: 6px; align-self: flex-start; font-size: 13px; padding: 10px 0; }
.jp-kit-suite { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.jp-kit-suite-seule { grid-template-columns: minmax(0, 560px); }
.jp-kit-carte { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--jp-encre); text-decoration: none; }
.jp-kit-carte:hover .jp-kit-carte-titre, .jp-kit-carte:focus-visible .jp-kit-carte-titre { text-decoration: underline; text-decoration-color: var(--jp-ocre); text-underline-offset: 4px; }
.jp-kit-carte img.jp-kit-vignette, .jp-kit-carte .jp-kit-vignette { width: 88px; height: 88px; object-fit: cover; display: block; }
.jp-kit-carte img.jp-kit-couv, .jp-kit-livre .jp-kit-vignette { object-fit: contain; background: #000; padding: 10px; box-sizing: border-box; }
.jp-kit-carte-texte { display: flex; flex-direction: column; gap: 3px; }
.jp-kit-carte-sur, .jp-kit-carte-sous { font-family: var(--jp-texte); font-size: 13px; color: var(--jp-gris); line-height: 1.4; }
.jp-kit-carte-titre { font-family: var(--jp-texte); font-weight: 700; font-size: 16px; color: var(--jp-encre); line-height: 1.2; font-stretch: 82%; font-variation-settings: "wdth" 82; margin: 4px 0 !important; }
.jp-kit-envoie-accroche { font-family: var(--jp-texte); font-weight: 600; font-size: 22px; color: var(--jp-encre); line-height: 1.3; font-stretch: 85%; font-variation-settings: "wdth" 85; margin: 10px 0 10px !important; }
.jp-kit-envoie-detail { max-width: 48ch; font-family: var(--jp-texte); font-size: 17px; color: var(--jp-gris-clair); line-height: 1.55; margin-bottom: 18px !important; }
.jp-kit-cesoir .jp-situations-compact { margin-top: 12px; }

@media (max-width: 1024px) {
	.jp-cartes-tete { grid-template-columns: 1fr; gap: 14px; }
	.jp-cartes-intro { justify-self: start; }
	.jp-kit-scene { grid-template-columns: 1fr; gap: 28px; }
	.jp-kit-pile { height: 520px; }
	.jp-kit-article .jp-kit-trois, .jp-kit-livre-page .jp-kit-trois { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.jp-cadre { padding: 0 20px; }
	.jp-cartes { padding: 64px 0 72px; }
	.jp-kit-pile { height: 460px; margin: 0 -20px; }
	.jp-carte { width: 280px; height: 380px; margin: -190px 0 0 -140px; padding: 22px; }
	.jp-carte-corps { font-size: 22px; }
	.jp-carte-corps-geste { font-size: 17px; }
	.jp-carte .jp-priere { font-size: 19px; }
	.jp-carte-haut, .jp-carte-bas { font-size: 11px; }
	.jp-carte[data-pos="1"] { transform: translateX(70px) rotate(5deg) scale(.9); }
	.jp-carte[data-pos="2"] { transform: translateX(-70px) rotate(-5deg) scale(.9); }
	.jp-situations-compact .jp-situations-liste { grid-template-columns: 1fr; }
	.jp-kit-suite { grid-template-columns: 1fr; gap: 28px; }
	.jp-kit-article, .jp-kit-livre-page { padding: 56px 0 64px; }
}
@media (prefers-reduced-motion: reduce) { .jp-carte, .jp-kit, .jp-situation, .jp-situation::before, .jp-lien, .jp-bouton-ocre, .jp-kit-points button { transition: none; } }
/* « Un autre mot » (11/11/2026) : même style que les liens soulignés, avec une flèche circulaire */
.jp-kit-autre { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.jp-kit-autre::before { content: "↻"; font-size: 16px; line-height: 1; color: var(--jp-ocre, #e0a526); display: inline-block; transition: transform .35s ease, color .2s; }
.jp-kit-autre:hover::before, .jp-kit-autre:focus-visible::before { transform: rotate(180deg); color: #141516; }
.jp-kit-autre[aria-busy="true"] { opacity: .6; cursor: wait; }
@media (prefers-reduced-motion: reduce) { .jp-kit-autre::before { transition: none; } }

/* Kits tirés d'une prédication (1.19) : le titre de la prédication ouvre la vidéo, comme un lien ; étiquette vide masquée */
.jp-kit-plus .jp-kit-video { font: inherit; color: var(--jp-encre); background: linear-gradient(var(--jp-ocre, var(--ocre, #e0a526)), var(--jp-ocre, var(--ocre, #e0a526))) no-repeat 0 100% / 100% 1px; border: 0; padding: 0; cursor: pointer; text-align: left; }
.jp-kit-plus .jp-kit-video::before { content: "▶"; font-size: .75em; margin-right: .35em; color: var(--jp-ocre, var(--ocre, #e0a526)); }
.jp-kit-plus .jp-kit-video:hover, .jp-kit-plus .jp-kit-video:focus-visible { color: var(--jp-ocre, var(--ocre, #e0a526)); }
.jp-kit-face[hidden] { display: none; }
.jp-carte-haut > span:first-child:empty { visibility: hidden; }
