/* ==========================================================================
   Jean Rouilly – Mentorat personnalisé
   Sobre, moderne, lumineux. S'appuie sur la palette globale Blocksy
   (--theme-palette-color-1..8), définie par setup/setup.php.
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--jr-primary: var(--theme-palette-color-1, #0e7c7b);
	--jr-primary-dark: var(--theme-palette-color-2, #0a5f5e);
	--jr-text: var(--theme-palette-color-3, #475569);
	--jr-heading: var(--theme-palette-color-4, #1e293b);
	--jr-border: var(--theme-palette-color-5, #f1e4d3);
	--jr-cream: var(--theme-palette-color-6, #fff3e4);
	--jr-bg: var(--theme-palette-color-7, #fffaf4);
	--jr-white: var(--theme-palette-color-8, #ffffff);
	--jr-sun: #f6b23c;
	--jr-coral: #ef7b5a;

	--jr-radius: 20px;
	--jr-shadow: 0 1px 2px rgb(30 41 59 / 4%), 0 12px 32px -12px rgb(30 41 59 / 14%);
	--jr-section-y: clamp(3.5rem, 8vw, 6.5rem);

	--theme-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--jr-font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

body {
	font-family: var(--theme-font-family);
	font-size: 17px;
	line-height: 1.7;
	color: var(--jr-text);
	background-color: var(--jr-bg);
}

h1, h2, h3, h4,
.site-title,
.ct-menu-link {
	font-family: var(--jr-font-heading);
}

h1, h2, h3, h4 {
	color: var(--jr-heading);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

h1 { font-size: clamp(2.3rem, 5.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }

/* --- Utilitaires ------------------------------------------------------- */

.jr-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin-bottom: 0.75rem !important;
	font-family: var(--jr-font-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jr-primary);
}

.jr-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--jr-sun), var(--jr-coral));
}

.jr-eyebrow + h1,
.jr-eyebrow + h2,
.jr-eyebrow + .jr-statement {
	margin-top: 0.5rem !important;
}

.jr-lead {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.6;
}

.jr-todo {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--jr-sun);
	border-radius: 8px;
	background: var(--jr-cream);
	font-weight: 600;
}

.jr-eyebrow + h1,
.jr-eyebrow + h2,
.jr-eyebrow + .jr-statement {
	margin-top: 0.5rem !important;
}

/* Textes courants limités en largeur mais alignés à gauche de la colonne
   (la mise en page « contrainte » de WordPress les centrerait sinon). */
.is-layout-constrained > .jr-lead,
.is-layout-constrained > .jr-section-lead {
	max-width: min(46rem, var(--wp--style--global--content-size, 100%));
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 100%)) / 2)) !important;
	margin-right: auto !important;
}

/* Phrase clé de l'accueil */
.jr-keyline {
	position: relative;
	margin: 1.25rem 0 1rem !important;
	padding-left: 1.1rem;
	border-left: 4px solid var(--jr-sun);
	font-family: var(--jr-font-heading);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--jr-heading);
}

/* --- Boutons ------------------------------------------------------------ */

.wp-block-button__link,
.wpcf7-submit {
	padding: 0.95em 1.7em;
	border-radius: 999px;
	font-family: var(--jr-font-heading);
	font-weight: 700;
	background: var(--jr-primary);
	color: var(--jr-white);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wp-block-button__link:hover,
.wpcf7-submit:hover {
	background: var(--jr-primary-dark);
	color: var(--jr-white);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -10px rgb(14 124 123 / 60%);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--jr-primary);
	border: 2px solid currentColor;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--jr-primary);
	color: var(--jr-white);
	border-color: var(--jr-primary);
}

.wp-block-buttons {
	gap: 0.85rem;
	margin-top: 2rem;
}

/* --- Sections ----------------------------------------------------------- */

.jr-hero,
.jr-section,
.jr-cta {
	padding-top: var(--jr-section-y);
	padding-bottom: var(--jr-section-y);
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.jr-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(4rem, 11vw, 8rem);
	padding-bottom: clamp(4rem, 11vw, 8rem);
	background:
		radial-gradient(60rem 30rem at 100% 0%, rgb(246 178 60 / 28%), transparent 60%),
		radial-gradient(40rem 26rem at 0% 100%, rgb(14 124 123 / 14%), transparent 65%),
		linear-gradient(180deg, var(--jr-cream), var(--jr-bg));
}

.jr-hero::after {
	content: "";
	position: absolute;
	right: -6rem;
	top: 50%;
	width: 22rem;
	height: 22rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, var(--jr-sun), var(--jr-coral));
	opacity: 0.18;
	transform: translateY(-50%);
	animation: jr-float 9s ease-in-out infinite;
	pointer-events: none;
}

.jr-hero > * {
	position: relative;
	z-index: 1;
}

.jr-hero--page {
	padding-top: clamp(3rem, 8vw, 5.5rem);
	padding-bottom: clamp(3rem, 8vw, 5rem);
}

.jr-hero--page h1 {
	font-size: clamp(2rem, 4.5vw, 3rem);
}

/* Accueil : texte + portrait */
.jr-hero--home::after {
	display: none;
}

.jr-hero__cols {
	gap: clamp(2rem, 5vw, 4.5rem);
	margin-bottom: 0;
}

.jr-portrait {
	position: relative;
	max-width: 440px;
	margin: 0 0 0 auto !important;
}

.jr-portrait::before {
	content: "";
	position: absolute;
	inset: -14px -14px 14px 14px;
	border-radius: 32px;
	background: linear-gradient(135deg, var(--jr-sun), var(--jr-coral));
	opacity: 0.9;
	z-index: 0;
}

.jr-portrait img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 30px 60px -30px rgb(30 41 59 / 45%);
}

.jr-portrait figcaption {
	position: absolute;
	z-index: 2;
	left: -1.5rem;
	bottom: 1.75rem;
	margin: 0;
	padding: 0.8rem 1.15rem;
	border-radius: 14px;
	background: var(--jr-white);
	box-shadow: var(--jr-shadow);
	font-size: 0.85rem;
	line-height: 1.35;
	text-align: left;
	color: var(--jr-text);
}

.jr-portrait figcaption strong {
	font-family: var(--jr-font-heading);
	font-size: 1rem;
	color: var(--jr-heading);
}

@media (max-width: 781px) {
	.jr-portrait {
		max-width: 320px;
		margin: 1rem auto 0 !important;
	}

	.jr-portrait figcaption {
		left: 50%;
		bottom: -1.25rem;
		transform: translateX(-50%);
		white-space: nowrap;
	}
}

.jr-section--tinted {
	background: var(--jr-cream);
}

.jr-conviction {
	text-align: center;
}

.jr-conviction .jr-eyebrow {
	justify-content: center;
}

.jr-statement {
	max-width: 52rem;
	margin-left: auto !important;
	margin-right: auto !important;
	font-family: var(--jr-font-heading);
	font-size: clamp(1.4rem, 2.8vw, 2rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--jr-heading);
}

.jr-statement strong {
	background: linear-gradient(transparent 62%, rgb(246 178 60 / 45%) 0);
}

/* --- Cartes ------------------------------------------------------------- */

.jr-cards {
	gap: 1.5rem;
	margin-top: 2.25rem;
}

.jr-card {
	position: relative;
	padding: 2rem 1.75rem;
	border: 1px solid var(--jr-border);
	border-radius: var(--jr-radius);
	background: var(--jr-white);
	box-shadow: var(--jr-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jr-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgb(30 41 59 / 4%), 0 22px 40px -16px rgb(30 41 59 / 22%);
}

.jr-card > :first-child { margin-top: 0; }
.jr-card > :last-child { margin-bottom: 0; }
.jr-card h3 { margin-bottom: 0.6rem; }

.jr-cards--numbered {
	counter-reset: jr-card;
}

.jr-cards--numbered > .jr-card {
	counter-increment: jr-card;
	padding-top: 4.5rem;
}

.jr-cards--numbered > .jr-card::before {
	content: counter(jr-card, decimal-leading-zero);
	position: absolute;
	top: 1.6rem;
	left: 1.75rem;
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--jr-sun), var(--jr-coral));
	color: var(--jr-white);
	font-family: var(--jr-font-heading);
	font-size: 0.85rem;
	font-weight: 800;
}

.jr-tags {
	margin-top: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--jr-primary);
}

.jr-checklist {
	padding-left: 0;
	list-style: none;
}

.jr-checklist li {
	position: relative;
	padding-left: 1.8rem;
	margin-bottom: 0.45rem;
}

.jr-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 50%;
	background: var(--jr-primary)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E")
		center / 75% no-repeat;
}

/* --- Engagement & appel à l'action ------------------------------------- */

.jr-engagement {
	background: linear-gradient(135deg, var(--jr-primary), var(--jr-primary-dark));
	color: rgb(255 255 255 / 88%);
}

.jr-engagement h2,
.jr-engagement h3 {
	color: var(--jr-white);
}

.jr-engagement .jr-eyebrow {
	color: var(--jr-sun);
}

.jr-pledges {
	gap: 1.5rem;
	margin-top: 2rem;
}

.jr-pledges > .wp-block-column {
	padding: 1.75rem;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: var(--jr-radius);
	background: rgb(255 255 255 / 7%);
}

.jr-pledges h3 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0;
}

.jr-pledges h3::before {
	content: "";
	flex: none;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--jr-sun);
	box-shadow: 0 0 0 5px rgb(246 178 60 / 25%);
}

.jr-pledges p { margin-bottom: 0; }

.jr-cta {
	text-align: center;
	background:
		radial-gradient(40rem 20rem at 50% 120%, rgb(246 178 60 / 30%), transparent 70%),
		var(--jr-bg);
}

.jr-cta .wp-block-buttons {
	justify-content: center;
}

/* --- Contact ------------------------------------------------------------ */

.jr-contact {
	gap: 2.5rem;
}

.jr-contact__aside h3 {
	margin-top: 0;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form p {
	margin-bottom: 1.1rem;
}

.wpcf7 label {
	display: block;
	font-weight: 600;
	color: var(--jr-heading);
	font-size: 0.95rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.8rem 1rem;
	border: 1.5px solid var(--jr-border);
	border-radius: 12px;
	background: var(--jr-bg);
	font: inherit;
	font-weight: 400;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 select {
	height: auto;
	min-height: 3.2rem;
	line-height: 1.4;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--jr-primary);
	box-shadow: 0 0 0 4px rgb(14 124 123 / 15%);
}

.wpcf7 .jr-form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 0 1rem;
}

.wpcf7-acceptance label {
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--jr-text);
}

.wpcf7-submit {
	border: 0;
	cursor: pointer;
}

/* Coordonnées directes (page Contact) */
.jr-direct {
	margin-top: 2rem;
	padding: 1.5rem 1.6rem;
	border: 1px solid var(--jr-border);
	border-radius: var(--jr-radius);
	background: var(--jr-white);
	box-shadow: var(--jr-shadow);
}

.jr-direct h3 {
	margin: 0 0 1rem;
}

.jr-direct__line {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 0.75rem !important;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.jr-direct__line:last-child {
	margin-bottom: 0 !important;
}

.jr-direct__line::before {
	content: "";
	flex: none;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 12px;
	background: var(--jr-cream) var(--jr-icon) center / 1.1rem no-repeat;
}

.jr-direct__line a {
	color: var(--jr-heading);
	text-decoration: none;
}

.jr-direct__line a:hover {
	color: var(--jr-primary);
}

.jr-direct__line--phone { --jr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.jr-direct__line--mail { --jr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.jr-direct__line--whatsapp { --jr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z'/%3E%3C/svg%3E"); }
.jr-direct__line--linkedin { --jr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-4 0v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect x='2' y='9' width='4' height='12'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E"); }

/* Ligne « ou directement » sous les appels à l'action */
.jr-cta__direct {
	margin-top: 1.25rem !important;
	font-size: 0.95rem;
}

.jr-cta__direct a {
	font-weight: 700;
	color: var(--jr-primary);
	text-decoration: none;
}

.jr-cta__direct a:hover {
	text-decoration: underline;
}

/* --- Introduction : pourquoi le mentorat / mes convictions -------------- */

.jr-intro {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.jr-intro > * {
	margin: 0 !important;
}

.jr-intro__beliefs {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--jr-radius);
	background: var(--jr-cream);
}

.jr-intro__beliefs .jr-statement {
	margin: 0 0 1.5rem !important;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	text-align: left;
}

.jr-section-lead {
	max-width: 48rem;
	font-size: 1.08rem;
}

/* Grilles de cartes : les colonnes vides se replient, les cartes occupent
   toute la largeur disponible (auto-fit au lieu de l'auto-fill de WordPress). */
.jr-cards.is-layout-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)) !important;
}

.jr-cards--duo.is-layout-grid,
.jr-prices.is-layout-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)) !important;
}

/* --- Tarifs ----------------------------------------------------------- */

.jr-prices {
	gap: 1.5rem;
	margin-top: 2rem;
}

.jr-price {
	position: relative;
	margin: 0 !important;
	padding: 2rem 1.75rem;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: var(--jr-radius);
	background: rgb(255 255 255 / 7%);
}

.jr-price h3 {
	margin-top: 0;
}

.jr-price p:last-child {
	margin-bottom: 0;
}

.jr-price--free {
	border: 0;
	background: var(--jr-white);
	color: var(--jr-text);
	box-shadow: 0 24px 48px -24px rgb(0 0 0 / 45%);
}

.jr-engagement .jr-price--free h3 {
	color: var(--jr-heading);
}

.jr-badge {
	display: inline-block;
	margin: 0 0 0.9rem !important;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--jr-sun), var(--jr-coral));
	color: var(--jr-white);
	font-family: var(--jr-font-heading);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.jr-tarifs {
	scroll-margin-top: 2rem;
}

/* --- Mon parcours -------------------------------------------------------- */

.jr-parcours__cols {
	gap: clamp(2rem, 5vw, 4rem);
	margin-top: 2rem;
}

.jr-stats {
	display: grid;
	gap: 0.75rem;
	margin: 1.75rem 0 !important;
}

.jr-stats > .jr-stat {
	margin: 0 !important;
}

.jr-stat {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	padding: 0.9rem 1.1rem;
	border-radius: 14px;
	background: var(--jr-white);
	box-shadow: var(--jr-shadow);
}

.jr-stat p {
	margin: 0 !important;
}

.jr-stat__value {
	flex: none;
	min-width: 5.2rem;
	font-family: var(--jr-font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--jr-primary);
	letter-spacing: -0.02em;
}

.jr-stat__label {
	font-size: 0.92rem;
	line-height: 1.4;
}

.jr-distinction {
	padding-left: 1rem;
	border-left: 3px solid var(--jr-sun);
	font-size: 0.92rem;
	line-height: 1.55;
}

.jr-distinction strong {
	color: var(--jr-heading);
}

.jr-timeline {
	position: relative;
	padding-left: 2rem;
}

.jr-timeline::before {
	content: "";
	position: absolute;
	left: 0.45rem;
	top: 0.6rem;
	bottom: 0.6rem;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(var(--jr-sun), var(--jr-coral) 40%, var(--jr-border));
}

.jr-timeline__item {
	position: relative;
	margin: 0 0 1.75rem !important;
}

.jr-timeline__item:last-child {
	margin-bottom: 0 !important;
}

.jr-timeline__item::before {
	content: "";
	position: absolute;
	left: -2rem;
	top: 0.3rem;
	width: 1rem;
	height: 1rem;
	border: 3px solid var(--jr-cream);
	border-radius: 50%;
	background: var(--jr-primary);
	box-shadow: 0 0 0 2px var(--jr-primary);
}

.jr-timeline__item:first-child::before {
	background: var(--jr-sun);
	box-shadow: 0 0 0 2px var(--jr-sun);
}

.jr-timeline__date {
	margin: 0 0 0.2rem !important;
	font-family: var(--jr-font-heading);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jr-primary);
}

.jr-timeline__item h3 {
	margin: 0 0 0.4rem !important;
	font-size: 1.12rem;
}

.jr-timeline__item p:last-child {
	margin: 0 !important;
	font-size: 0.95rem;
}

/* --- Témoignages -------------------------------------------------------- */

.jr-quotes {
	gap: 1.5rem;
	margin-top: 2rem;
}

.jr-quote {
	position: relative;
	height: 100%;
	margin: 0 !important;
	padding: 2.75rem 2rem 1.75rem !important;
	border: 1px solid var(--jr-border) !important;
	border-radius: var(--jr-radius);
	background: var(--jr-white);
	box-shadow: var(--jr-shadow);
}

.jr-quote::before {
	content: "“";
	position: absolute;
	top: -0.2rem;
	left: 1.5rem;
	font-family: Georgia, serif;
	font-size: 5rem;
	line-height: 1;
	background: linear-gradient(135deg, var(--jr-sun), var(--jr-coral));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.jr-quote p {
	font-size: 1.02rem;
	line-height: 1.7;
	font-style: normal;
	color: var(--jr-text);
}

.jr-quote cite {
	display: block;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--jr-border);
	font-style: normal;
	font-size: 0.88rem;
	line-height: 1.45;
}

.jr-quote cite strong {
	font-family: var(--jr-font-heading);
	font-size: 1rem;
	color: var(--jr-heading);
}

.jr-source {
	margin-top: 1.25rem !important;
	font-size: 0.85rem;
	text-align: right;
}

.jr-source a {
	color: var(--jr-primary);
}

/* --- Pour qui ? ---------------------------------------------------------- */

.jr-card--audience {
	border-top: 4px solid transparent;
	background:
		linear-gradient(var(--jr-white), var(--jr-white)) padding-box,
		linear-gradient(90deg, var(--jr-sun), var(--jr-coral)) border-box;
}

/* --- FAQ (blocs « Détails » natifs) -------------------------------------- */

.jr-faq .wp-block-details {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	border-bottom: 1px solid var(--jr-border);
}

.jr-faq .wp-block-details:first-of-type {
	margin-top: 1.5rem !important;
	border-top: 1px solid var(--jr-border);
}

.jr-faq summary {
	position: relative;
	padding: 1.25rem 3rem 1.25rem 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--jr-font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--jr-heading);
}

.jr-faq summary::-webkit-details-marker {
	display: none;
}

.jr-faq summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--jr-cream);
	color: var(--jr-primary);
	font-size: 1.3rem;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.jr-faq details[open] summary::after {
	content: "−";
	background: var(--jr-primary);
	color: var(--jr-white);
}

.jr-faq summary:hover {
	color: var(--jr-primary);
}

.jr-faq summary:focus-visible {
	outline: 2px solid var(--jr-primary);
	outline-offset: 4px;
	border-radius: 6px;
}

.jr-faq details > p {
	margin: 0 0 1rem !important;
	max-width: 48rem;
}

.jr-faq details > p:last-child {
	margin-bottom: 1.4rem;
}

/* --- Bouton WhatsApp flottant ------------------------------------------- */

.jr-whatsapp {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 50;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.8rem 1.15rem 0.8rem 0.9rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	font-family: var(--jr-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 28px -8px rgb(0 0 0 / 35%);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jr-whatsapp:hover,
.jr-whatsapp:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -8px rgb(0 0 0 / 40%);
}

.jr-whatsapp svg {
	width: 1.5rem;
	height: 1.5rem;
	flex: none;
}

@media (max-width: 689px) {
	.jr-whatsapp {
		right: 1rem;
		bottom: 1rem;
		padding: 0.85rem;
	}

	.jr-whatsapp__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

@media print {
	.jr-whatsapp { display: none; }
}

/* --- Anti-spam : champ piège invisible ----------------------------------- */

.wpcf7 .jr-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- En-tête & pied de page (Blocksy) ----------------------------------- */

.ct-header .site-title a {
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ct-header .site-description {
	color: var(--jr-primary);
	font-weight: 600;
}

.ct-footer {
	font-size: 0.9rem;
}

/* --- Animations --------------------------------------------------------- */

@keyframes jr-float {
	0%, 100% { transform: translateY(-50%) scale(1); }
	50% { transform: translateY(-56%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
	.jr-hero::after { animation: none; }
	.jr-card,
	.wp-block-button__link { transition: none; }
}

@media (max-width: 689px) {
	.jr-hero::after {
		width: 14rem;
		height: 14rem;
		right: -5rem;
		top: 12%;
	}
}

@media (max-width: 999px) {
	.is-layout-constrained > .jr-lead,
	.is-layout-constrained > .jr-section-lead {
		margin-left: auto !important;
	}
}
