/*
Theme Name: Julia Harmonie
Theme URI: https://julia-coach.com/
Author: Julia Coaching
Description: Thème bohème et lumineux pour coach : tons crème, lilas et sauge, grands titres fins, portraits en ovale, journal et newsletter. Compatible avec l’extension Julia Réservations. Textes et photos : Apparence › Personnaliser › Julia Harmonie.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: julia-harmonie
*/

:root {
	--cream: #FBF5F0;
	--blush: #F1E3D8;
	--lilac: #DCD0EA;
	--lilac-deep: #C7B5DE;
	--sage: #D8E0DA;
	--charcoal: #3D3A38;
	--ink: #463B36;
	--muted: #6B5E57;
	--gold: #B08D57;
	--gold-ink: #7E6236;
	--line: #E6D7CB;
	--white: #FFFFFF;
	--serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
	--sans: 'Jost', system-ui, sans-serif;
	--shadow: 0 26px 50px -30px rgba(61, 58, 56, .45);

	/* Couleurs reprises par l'extension Julia Réservations */
	--deep: #463B36;
	--accent-bright: #C7B5DE;
	--accent: #7E6236;
	--leaf: #5E6F63;
	--sage-soft: #E7EDE9;
	--peach: #F6ECE3;
}
/* Variable « sage » attendue par l'extension de réservation (teinte plus claire) */
.jresa { --sage: #E7EDE9; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); }
a:hover { color: var(--ink); }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.jh-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 999px; }
.jh-skip:focus { left: 12px; }

.jh-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Typographie ---------- */
.jh-label { display: inline-block; margin: 0 0 16px; font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.jh-label a { color: inherit; text-decoration: none; }
.jh-label a:hover { color: var(--ink); }
.jh-h2 { margin: 0 0 22px; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; color: var(--ink); }
.jh-h2 em, .jh-hero__title em, .jh-journal__title em { font-style: italic; }
.jh-caps { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5.2vw, 64px); line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.jh-text p { margin: 0 0 1em; color: var(--muted); font-size: 15px; }
.jh-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.jh-link:hover { color: var(--gold-ink); }

.jh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.jh-btn:hover { transform: translateY(-2px); }
.jh-btn--dark { background: var(--ink); color: var(--cream); }
.jh-btn--dark:hover { background: var(--charcoal); color: var(--white); }
.jh-btn--lilac { background: var(--lilac-deep); color: var(--ink); }
.jh-btn--lilac:hover { background: var(--ink); color: var(--cream); }
.jh-btn--light { border-color: rgba(251, 245, 240, .6); color: var(--cream); }
.jh-btn--light:hover { background: var(--cream); color: var(--ink); }

/* ---------- En-tête ---------- */
.jh-header { position: relative; z-index: 30; background: var(--lilac); }
.jh-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-height: 68px; }
.jh-logo { margin-right: auto; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1; color: var(--ink); text-decoration: none; }
.jh-logo:hover { color: var(--ink); }
.custom-logo-link { margin-right: auto; }
.custom-logo-link img { max-height: 54px; width: auto; }
.jh-nav { display: flex; }
.jh-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin: 0; padding: 0; list-style: none; font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; }
.jh-menu li { position: relative; }
.jh-menu a { position: relative; display: inline-block; padding: 10px 0; color: var(--ink); text-decoration: none; }
.jh-menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.jh-menu > li > a:hover::after, .jh-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.jh-menu > li.jh-menu-cta > a { padding: 9px 20px; border: 1px solid var(--ink); border-radius: 999px; }
.jh-menu > li.jh-menu-cta > a::after { display: none; }
.jh-menu > li.jh-menu-cta > a:hover { background: var(--ink); color: var(--lilac); }
.jh-menu .sub-menu { position: absolute; top: 100%; left: -16px; z-index: 10; min-width: 220px; margin: 0; padding: 10px 0; list-style: none; background: var(--cream); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.jh-menu li:hover > .sub-menu, .jh-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.jh-menu .sub-menu a { display: block; padding: 8px 18px; }
.jh-sub-toggle { display: none; }
.jh-social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.jh-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--ink); }
.jh-social a:hover { color: var(--gold-ink); }

.jh-menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.jh-burger { position: relative; width: 18px; height: 12px; }
.jh-burger span { position: absolute; left: 0; width: 100%; height: 1.4px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.jh-burger span:nth-child(1) { top: 0; }
.jh-burger span:nth-child(2) { top: 5px; }
.jh-burger span:nth-child(3) { top: 10px; }
.jh-menu-toggle[aria-expanded="true"] .jh-burger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.jh-menu-toggle[aria-expanded="true"] .jh-burger span:nth-child(2) { opacity: 0; }
.jh-menu-toggle[aria-expanded="true"] .jh-burger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Bandeau défilant */
.jh-ribbon { overflow: hidden; padding: 9px 0; background: var(--blush); border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.jh-ribbon__track { display: inline-flex; animation: jh-marquee 60s linear infinite; }
.jh-ribbon__track span { padding-right: 4em; }
@keyframes jh-marquee { to { transform: translateX(-50%); } }

/* ---------- Accueil : haut de page ---------- */
.jh-hero { background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%); padding: 64px 0 90px; overflow: hidden; }
.jh-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.jh-hero__left { position: relative; padding-bottom: 60px; }
.jh-hero__img { width: 88%; aspect-ratio: 4 / 5; object-fit: cover; }
.jh-hero__arch { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; border: 6px solid var(--cream); }
.jh-hero__text { text-align: center; }
.jh-hero__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; color: var(--ink); }
.jh-hero__lead { max-width: 440px; margin: 24px auto 0; font-size: 15px; color: var(--muted); }
.jh-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 32px; }
.jh-scroll { display: flex; justify-content: center; width: 26px; height: 52px; margin: 40px auto 0; padding-top: 9px; border: 1px solid var(--ink); border-radius: 999px; }
.jh-scroll__dot { width: 4px; height: 8px; border-radius: 4px; background: var(--ink); animation: jh-scroll 2s ease-in-out infinite; }
@keyframes jh-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.jh-hero__right { align-self: start; margin-top: 30px; }
.jh-hero__square { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- Portrait ovale + mot vertical ---------- */
.jh-portrait { position: relative; display: flex; align-items: center; min-height: 440px; }
.jh-portrait__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-end; width: 58%; padding-right: 10px; background: var(--blush); }
.jh-vertical { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.jh-oval { position: relative; z-index: 1; width: 72%; margin: 0; padding: 8px; border: 1px solid var(--gold); border-radius: 999px; }
.jh-oval img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; border-radius: 999px; }

/* ---------- À propos ---------- */
.jh-about { padding: 110px 0; border-top: 1px solid var(--line); }
.jh-about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.jh-about__media { position: relative; }
.jh-about__media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid var(--gold); }
.jh-about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Mon accompagnement ---------- */
.jh-care { padding: 110px 0; background: var(--sage); text-align: center; }
.jh-care__head p { max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: 14px; }
.jh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 940px; margin: 56px auto 0; }
.jh-card { padding: 34px 26px 30px; background: var(--cream); transition: transform .3s ease, box-shadow .3s ease; }
.jh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.jh-card__icon { display: inline-flex; color: var(--gold); }
.jh-card h3 { margin: 12px 0 8px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 25px; line-height: 1.15; color: var(--ink); }
.jh-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.jh-care__cta { margin: 48px 0 0; }

/* ---------- Rubriques image + texte ---------- */
.jh-feature { padding: 110px 0; overflow: hidden; }
.jh-feature + .jh-feature { padding-top: 0; }
.jh-feature__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: center; }
.jh-feature--reverse .jh-feature__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.jh-feature__text { max-width: 520px; }
.jh-feature__media { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.jh-feature__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.jh-feature__media--circle::before { content: ""; position: absolute; top: -50px; right: -70px; width: 260px; height: 260px; border-radius: 50%; background: var(--blush); }
.jh-feature__media--arch img { border-radius: 999px 999px 0 0; }
.jh-feature__media--arch::before { content: ""; position: absolute; left: -60px; bottom: -40px; width: 230px; height: 230px; border-radius: 50%; background: var(--sage); }

/* ---------- Témoignage & conviction ---------- */
.jh-quotes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.jh-quotes__grid { display: grid; max-width: 1200px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.jh-quotes__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jh-quotes__grid--1 { grid-template-columns: minmax(0, 1fr); }
.jh-quote { margin: 0; padding: 64px 48px; text-align: center; }
.jh-quote + .jh-quote { border-left: 1px solid var(--line); }
.jh-quote__title { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; color: var(--ink); }
.jh-quote blockquote { margin: 0 auto; max-width: 420px; }
.jh-quote blockquote p { margin: 0; font-size: 15px; color: var(--muted); }
.jh-quote figcaption { margin-top: 18px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }

/* ---------- Journal ---------- */
.jh-journal { position: relative; padding: 110px 0 120px; background: var(--charcoal); color: #EFE6DE; text-align: center; overflow: hidden; }
.jh-journal__head { position: relative; margin-bottom: 60px; }
.jh-journal__title { position: relative; display: inline-block; margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 7.4vw, 96px); line-height: 1; color: #FBF5F0; }
.jh-journal__title::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 1.9em; height: 1.9em; border-radius: 50%; background: rgba(251, 245, 240, .1); transform: translate(-70%, -58%); }
.jh-journal__title { z-index: 0; isolation: isolate; }
.jh-journal__sub { margin: 18px 0 0; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: #D9CDC3; }
.jh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }
.jh-post { display: flex; flex-direction: column; background: var(--cream); color: var(--ink); text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.jh-post:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.jh-post__media { display: block; overflow: hidden; }
.jh-post__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.jh-post:hover .jh-post__media img { transform: scale(1.05); }
.jh-post__body { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 10px; padding: 26px 24px 30px; }
.jh-post__meta { margin: 0; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.jh-post__title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.2; }
.jh-post__title a { color: var(--ink); text-decoration: none; }
.jh-post__title a:hover { color: var(--gold-ink); }
.jh-post__excerpt { flex: 1; margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.jh-post__more { margin-top: 6px; padding-bottom: 3px; font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.jh-journal__all { margin: 48px 0 0; }

/* ---------- Newsletter ---------- */
.jh-news { padding: 100px 0; text-align: center; }
.jh-news__text { max-width: 520px; margin: 18px auto 34px; font-size: 14px; color: var(--muted); }
.jh-news__form { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 18px 28px; max-width: 760px; margin: 0 auto; }
.jh-news__field { display: flex; flex: 1 1 200px; flex-direction: column; gap: 4px; text-align: left; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.jh-news__field input { width: 100%; min-height: 42px; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 15px; letter-spacing: normal; text-transform: none; }
.jh-news__field input:focus { outline: none; border-bottom-color: var(--gold); }
.jh-news__plugin { max-width: 640px; margin: 0 auto; }
.jh-news__thanks { margin: 0 auto; max-width: 520px; font-family: var(--serif); font-style: italic; font-size: 22px; }

/* ---------- Bandeau photo & pied de page ---------- */
.jh-band { height: clamp(220px, 30vw, 420px); background-color: var(--blush); background-position: center; background-size: cover; }
.jh-footer { background: var(--cream); }
.jh-footer__main { display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; border-bottom: 1px solid var(--line); }
.jh-footer__side { display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.jh-footer__side:first-child { border-right: 1px solid var(--line); }
.jh-footer__side:last-child { border-left: 1px solid var(--line); }
.jh-social--col { flex-direction: column; }
.jh-footer__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); transition: background .25s ease, color .25s ease; }
.jh-footer__icon:hover { background: var(--ink); color: var(--cream); }
.jh-footer__center { padding: 56px 24px; text-align: center; }
.jh-logo--footer { display: inline-block; margin: 0 0 12px; font-size: 44px; }
.jh-footer__center p { max-width: 440px; margin: 0 auto 26px; font-size: 14px; color: var(--muted); }
.jh-footer__links { background: var(--sage); padding: 46px 0 22px; }
.jh-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.jh-footer__head { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }
.jh-footlinks { margin: 0; padding: 0; list-style: none; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.jh-footlinks li { margin: 0; }
.jh-footlinks a, .jh-footlinks span { display: inline-block; padding: 6px 0; color: var(--ink); text-decoration: none; }
.jh-footlinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jh-footer__copy { margin: 34px 0 0; text-align: center; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- Pages & articles : haut de page ---------- */
.jh-phero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.jh-phero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.jh-phero__left img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.jh-phero__title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; color: var(--ink); }
.jh-phero__lead { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.jh-crumbs span[aria-hidden] { margin: 0 6px; }
.jh-phero--simple { padding: 70px 0 60px; }
.jh-phero--simple .jh-phero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }

/* ---------- Contenu des pages et articles ---------- */
.jh-prose { max-width: 780px; padding-top: 80px; padding-bottom: 80px; font-size: 17px; line-height: 1.85; color: var(--ink); }
.jh-prose > *:first-child { margin-top: 0; }
.jh-prose p { margin: 0 0 1.3em; }
.jh-prose > p:first-of-type { font-family: var(--serif); font-size: 23px; line-height: 1.55; }
.jh-prose h1, .jh-prose h2 { margin: 2em 0 .6em; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; color: var(--ink); }
.jh-prose h3 { margin: 1.7em 0 .5em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 27px; line-height: 1.2; }
.jh-prose h4 { margin: 1.5em 0 .5em; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.jh-prose a { color: var(--gold-ink); text-underline-offset: 3px; }
.jh-prose strong { font-weight: 500; }
.jh-prose ul, .jh-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.jh-prose li { margin-bottom: .5em; }
.jh-prose ul li::marker { color: var(--gold); }
.jh-prose ol li::marker { color: var(--gold-ink); font-family: var(--serif); font-style: italic; }
.jh-prose blockquote { position: relative; margin: 2em 0; padding: 34px 36px; background: var(--blush); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.4; text-align: center; }
.jh-prose blockquote p { margin: 0; }
.jh-prose blockquote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.jh-prose img { height: auto; }
.jh-prose figure { margin: 2em 0; }
.jh-prose figcaption, .jh-prose .wp-element-caption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.jh-prose hr { width: 60px; margin: 3em auto; border: 0; border-top: 1px solid var(--gold); }
.jh-prose table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: 15px; }
.jh-prose th, .jh-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.jh-prose th { font-weight: 500; background: var(--blush); }
.jh-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.jh-prose .alignwide { max-width: 1100px; margin-left: calc(50% - min(550px, 50vw - 24px)); margin-right: calc(50% - min(550px, 50vw - 24px)); }
.jh-prose .alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.jh-prose .alignleft { float: left; max-width: 50%; margin: .3em 1.6em 1em 0; }
.jh-prose .alignright { float: right; max-width: 50%; margin: .3em 0 1em 1.6em; }
.jh-prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.jh-prose--wide { max-width: 1140px; }
.jh-pagelinks { margin-top: 2em; font-weight: 500; }

.jh-single__foot { max-width: 780px; padding-bottom: 90px; }
.jh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.jh-tags a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.jh-tags a:hover { background: var(--lilac); border-color: var(--lilac); }
.jh-author { display: flex; gap: 24px; align-items: center; margin-bottom: 40px; padding: 28px; background: var(--blush); }
.jh-author img { flex: none; width: 96px; height: 120px; object-fit: cover; border-radius: 999px; }
.jh-author p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.jh-author .jh-author__name { margin-bottom: 4px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.jh-postnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.jh-postnav a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); text-decoration: none; transition: background .25s ease; }
.jh-postnav a:hover { background: var(--white); }
.jh-postnav span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.jh-postnav strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--ink); }
.jh-postnav__next { text-align: right; }
.jh-comments { padding-top: 0; font-size: 15px; }
.jh-comments .comment-reply-title, .jh-comments .comments-title { font-family: var(--serif); font-weight: 300; font-size: 32px; }
.jh-comments .comment-list { margin: 0 0 40px; padding: 0; list-style: none; }
.jh-comments .comment-body { margin-bottom: 18px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.jh-comments .comment-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jh-comments .comment-form p { margin: 0 0 16px; }
.jh-comments label { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.jh-comments input[type="text"], .jh-comments input[type="email"], .jh-comments input[type="url"], .jh-comments textarea { width: 100%; max-width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink); }
.jh-comments .comment-form-cookies-consent label { display: inline; text-transform: none; letter-spacing: normal; }
.jh-comments .submit { min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: inherit; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }

/* Liste d'articles */
.jh-blog { padding-top: 80px; padding-bottom: 110px; }
.jh-bloggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.jh-bloggrid .jh-post { border: 1px solid var(--line); }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--lilac); border-color: var(--lilac); }
.jh-empty { text-align: center; }

/* ---------- Pages « Tarifs » et « Mon parcours » ---------- */
.jh-prose--tarifs, .jh-prose--parcours { max-width: 1080px; }
.jh-prose--tarifs > p, .jh-prose--tarifs > h1, .jh-prose--tarifs > h2, .jh-tsection > p, .jh-tsection > h2,
.jh-prose--parcours > p, .jh-prose--parcours > h1, .jh-prose--parcours > h2 { max-width: 780px; }
.jh-tsection { margin: 72px 0 0; }
.jh-tsection > h2 { margin-top: 0; }
.jh-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 32px 0 8px; }
.jh-offer { display: flex; flex-direction: column; padding: 34px 30px 30px; background: var(--white); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.jh-offer:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.jh-offer > h3 { margin: 0 0 12px; font-size: 27px; }
.jh-offer p { margin: 0 0 .8em; font-size: 15px; line-height: 1.7; }
.jh-offer > *:last-child { margin-bottom: 0; }
.jh-offer ul { margin: 0; padding-left: 1.1em; font-size: 15px; }
.jh-offer--priced { align-items: center; text-align: center; background: var(--cream); border-color: var(--lilac-deep); }
.jh-offer--priced::before { content: ""; width: 1px; height: 36px; margin-bottom: 16px; background: var(--gold); }
.jh-price { display: inline-block; margin: 4px 0; font-family: var(--serif); font-weight: 300; font-size: 38px; line-height: 1.15; color: var(--ink); }
.jh-offer--priced ul { padding: 0; list-style: none; }
.jh-offer--priced li { margin-bottom: .35em; }
.jh-offer--priced li::before { content: "·"; margin-right: 8px; color: var(--gold); }
.jh-prose .jh-offer .jh-offer__cta { margin-top: auto; color: var(--cream); text-decoration: none; }
.jh-offer--priced .jh-offer__cta { margin-top: 20px; }
.jh-prose ul.jh-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 24px 0 8px; padding: 0; list-style: none; }
.jh-prose ul.jh-checklist li { position: relative; margin: 0; padding: 18px 18px 18px 56px; background: var(--sage); font-size: 15px; line-height: 1.5; }
.jh-prose ul.jh-checklist li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1px solid var(--gold-ink); border-radius: 50%; background: radial-gradient(circle, var(--gold-ink) 0 3px, transparent 3.5px); }
.jh-prose ul.jh-checklist li p { margin: 0; }
.jh-prose .jh-portrait-img { position: relative; max-width: 380px; margin: 48px auto; padding: 8px; border: 1px solid var(--gold); border-radius: 999px; }
.jh-prose .jh-portrait-img img { width: 100%; border-radius: 999px; }
.jh-prose p.jh-callout { max-width: 780px; margin: 40px auto; padding: 34px; background: var(--lilac); font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; text-align: center; }
.jh-prose p.jh-callout strong { font-weight: 400; }
.jh-steps { position: relative; counter-reset: jh-step; margin: 56px 0 0; padding-left: 74px; }
.jh-steps::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 1px; background: var(--gold); }
.jh-step { position: relative; counter-increment: jh-step; max-width: 800px; padding-bottom: 46px; }
.jh-step:last-child { padding-bottom: 0; }
.jh-step::before { content: counter(jh-step, decimal-leading-zero); position: absolute; left: -74px; top: -4px; display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border: 1px solid var(--gold); border-radius: 50%; background: var(--cream); font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.jh-step > h2, .jh-step > h3 { margin-top: 0; }

/* ---------- Apparitions au défilement ---------- */
.jh-js .jh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.jh-js .jh-reveal.is-visible { opacity: 1; transform: none; }
.jh-js .jh-reveal[data-delay="1"] { transition-delay: .1s; }
.jh-js .jh-reveal[data-delay="2"] { transition-delay: .2s; }
.jh-js .jh-reveal[data-delay="3"] { transition-delay: .3s; }
.jh-hero__text > * { animation: jh-rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.jh-hero__text > *:nth-child(2) { animation-delay: .12s; }
.jh-hero__text > *:nth-child(3) { animation-delay: .24s; }
.jh-hero__text > *:nth-child(4) { animation-delay: .36s; }
.jh-hero__text > *:nth-child(5) { animation-delay: .48s; }
@keyframes jh-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Tablette ---------- */
@media (max-width: 1040px) {
	.jh-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
	.jh-hero__right { display: none; }
	.jh-about__grid, .jh-phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.jh-about__media, .jh-phero__left { display: none; }
	.jh-feature__grid, .jh-feature--reverse .jh-feature__grid { gap: 48px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.jh-js .jh-menu-toggle { display: inline-flex; }
	.jh-social--head { display: none; }
	.jh-nav { flex-basis: 100%; }
	.jh-js .jh-menu-panel { width: 100%; max-height: 0; overflow: hidden; transition: max-height .4s ease; }
	.jh-js .jh-menu-panel.is-open { max-height: 80vh; overflow-y: auto; }
	.jh-menu-panel .jh-menu { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0 0 16px; font-size: 12px; }
	.jh-menu-panel .jh-menu > li { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(70, 59, 54, .15); }
	.jh-menu-panel .jh-menu > li > a { flex: 1; padding: 15px 0; }
	.jh-menu-panel .jh-menu > li > a::after { display: none; }
	.jh-menu-panel .jh-menu > li.jh-menu-cta { border-top: 0; padding-top: 12px; }
	.jh-menu-panel .jh-menu > li.jh-menu-cta > a { flex: none; padding: 12px 24px; }
	.jh-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
	.jh-sub-toggle svg { transition: transform .3s ease; }
	.jh-menu li.is-open > .jh-sub-toggle svg { transform: rotate(45deg); }
	.jh-menu .sub-menu { position: static; flex-basis: 100%; min-width: 0; max-height: 0; padding: 0 0 0 14px; overflow: hidden; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: max-height .35s ease; }
	.jh-menu li.is-open > .sub-menu { max-height: 600px; padding-bottom: 10px; }

	.jh-hero { padding: 40px 0 70px; }
	.jh-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.jh-hero__text { order: -1; }
	.jh-hero__left { max-width: 420px; margin: 0 auto; width: 100%; }
	.jh-scroll { display: none; }
	.jh-about, .jh-care, .jh-feature, .jh-journal, .jh-news { padding-top: 80px; padding-bottom: 80px; }
	.jh-about__grid, .jh-phero__grid, .jh-feature__grid, .jh-feature--reverse .jh-feature__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.jh-portrait { max-width: 400px; width: 100%; margin: 0 auto; min-height: 380px; }
	.jh-feature--reverse .jh-feature__media { order: 2; }
	.jh-feature__media--circle::before { right: -30px; width: 200px; height: 200px; }
	.jh-feature__media--arch::before { left: -30px; width: 180px; height: 180px; }
	.jh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.jh-posts { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
	.jh-quotes__grid--2 { grid-template-columns: minmax(0, 1fr); }
	.jh-quote + .jh-quote { border-left: 0; border-top: 1px solid var(--line); }
	.jh-quote { padding: 48px 28px; }
	.jh-phero { padding: 40px 0 56px; }
	.jh-phero__text { text-align: center; }
	.jh-footer__main { grid-template-columns: 70px minmax(0, 1fr) 70px; }
	.jh-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; text-align: center; }
	.jh-prose { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 560px) {
	body { font-size: 15px; }
	.jh-caps { font-size: clamp(26px, 8vw, 40px); letter-spacing: .04em; overflow-wrap: anywhere; }
	.jh-cards { grid-template-columns: minmax(0, 1fr); }
	.jh-logo { font-size: 28px; }
	.jh-prose { font-size: 16px; }
	.jh-prose > p:first-of-type { font-size: 20px; }
	.jh-steps { padding-left: 56px; }
	.jh-steps::before { left: 17px; }
	.jh-step::before { left: -56px; width: 36px; height: 36px; font-size: 16px; }
	.jh-author { flex-direction: column; text-align: center; }
	.jh-footer__main { grid-template-columns: minmax(0, 1fr); }
	.jh-footer__side { padding: 20px 0; border: 0 !important; }
	.jh-footer__side:last-child { display: none; }
	.jh-footer__center { padding-top: 10px; }
	.jh-social--col { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.jh-js .jh-reveal { opacity: 1; transform: none; }
}
