/* Pages de contenu : page pilier des arcanes, fiches carte, articles (body.page-content).
   Même charte que l'accueil et les CGU : neutres froids, bleu nuit, or, titres Fraunces, ciel aquarelle en fond.
   Animations : classes posées par assets/js/content.js (html.cx-js, .is-in, .is-active, .is-flipped) ; jouées pour
   tous, même si le système demande de réduire les animations. */

@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-ext.woff2') format('woff2'); font-weight: 700 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Palette : sur les pages de contenu, et sur la barre de navigation partout où elle s'affiche (accueil, pages thèmes) */
body.page-content, .sbar {
	--c-bg: #f5f6f8;
	--c-surface: #ffffff;
	--c-ink: #171e33;
	--c-ink-soft: #5c6678;
	--c-primary: #1b2547;
	--c-primary-dark: #111a38;
	--c-accent: #b08d57;
	--c-gold-light: #d9b872;
	--c-gold-ink: #8a6a37;
	--c-cream: #fbf7ee;
	--c-line: #e1e5ec;
	--c-primary-rgb: 27, 37, 71;
	--c-shadow-rgb: 18, 24, 48;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(var(--c-shadow-rgb), .05), 0 10px 28px rgba(var(--c-shadow-rgb), .08);
	--shadow-lg: 0 24px 54px rgba(var(--c-shadow-rgb), .16);
	--font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--navy-grad: linear-gradient(150deg, #24305c, #111a38);
	--gold-grad: linear-gradient(180deg, #e7c77f, #c9a25a);
}
body.page-content {
	position: relative;
	color: var(--c-ink);
	background: linear-gradient(#fff 0, var(--c-bg) 520px);
}
body.page-content::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(70vh, 640px); z-index: -1; pointer-events: none;
	background: url('../img/illus/ciel-matin.webp') center top / cover no-repeat;
	-webkit-mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 700px) { body.page-content::before { background-image: url('../img/illus/ciel-matin-mobile.webp'); } }

html { scroll-padding-top: calc(var(--sbar-h, 72px) + 5rem); }
.page-content .site-main { max-width: 1140px; padding-top: 1.4rem; }
.page-content h1, .page-content h2, .page-content h3 { color: var(--c-primary); }
.page-content a { color: var(--c-gold-ink); text-underline-offset: 3px; }
.page-content a:hover { color: var(--c-primary); }
.page-content strong { color: var(--c-primary); }
/* Pied de page : liens clairs sur le fond bleu nuit (la couleur dorée des liens de contenu y manquait de contraste) */
.page-content .site-footer a { color: #f6efe2; }
.page-content .site-footer a:hover, .page-content .site-footer a:focus-visible { color: var(--c-gold-light); }
.page-content .footer-links a { border-bottom-color: rgba(217, 184, 114, .55); }
.page-content .site-footer .lang-menu li a { color: var(--c-ink); }

/* ---------- Barre de navigation (logo, menu, fil d'Ariane) ---------- */
.sbar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(225, 229, 236, .9); box-shadow: 0 6px 24px rgba(var(--c-shadow-rgb), .06); }
/* Grand logo sur toute la hauteur à gauche ; à droite, le menu puis le fil d'Ariane sous le bouton */
.sbar__in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo menu" "logo crumbs"; align-items: center; column-gap: 1.6rem; row-gap: .2rem; max-width: 1180px; margin: 0 auto; padding: .6rem 1.25rem; }
.sbar__logo { grid-area: logo; line-height: 0; border-radius: 12px; transition: transform .25s ease; }
.sbar__logo:hover { transform: scale(1.03); }
.sbar__logo svg { display: block; width: auto; height: 76px; border-radius: 12px; box-shadow: 0 8px 20px rgba(var(--c-shadow-rgb), .2); transition: height .3s ease; }
.sbar:not(.has-crumbs) .sbar__logo svg, .sbar.is-scrolled .sbar__logo svg { height: 50px; }
.sbar__menu { grid-area: menu; justify-self: end; display: flex; align-items: center; gap: 1rem; }
/* Bouton de tirage : bleu nuit, mini-éventail de cartes qui s'ouvre au survol */
.sbar__cta { display: inline-flex; align-items: center; gap: .65rem; padding: .5rem 1.25rem .5rem .8rem; border-radius: 999px; background: var(--navy-grad); font-size: .93rem; font-weight: 700; white-space: nowrap; text-decoration: none; box-shadow: 0 0 0 1px rgba(217, 184, 114, .6), 0 10px 24px rgba(var(--c-shadow-rgb), .24); transition: box-shadow .3s ease, translate .3s ease; }
.page-content .sbar__cta, .page-content .sbar__cta:hover { color: #f6efe2; }
.sbar__cta:hover { translate: 0 -1px; box-shadow: 0 0 0 2px var(--c-gold-light), 0 14px 30px rgba(var(--c-shadow-rgb), .3); }
.sbar__cta-fan { position: relative; flex: 0 0 auto; width: 38px; height: 30px; }
.sbar__cta-fan img { position: absolute; left: 10px; bottom: -3px; width: 18px; height: auto; border-radius: 3px; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); transform-origin: 50% 110%; transition: rotate .4s cubic-bezier(.3, 1.5, .5, 1), translate .4s cubic-bezier(.3, 1.5, .5, 1); }
.sbar__cta-fan img:nth-child(1) { rotate: -20deg; }
.sbar__cta-fan img:nth-child(2) { rotate: -5deg; }
.sbar__cta-fan img:nth-child(3) { rotate: 12deg; translate: 2px -1px; }
.sbar__cta:hover .sbar__cta-fan img:nth-child(1) { rotate: -30deg; }
.sbar__cta:hover .sbar__cta-fan img:nth-child(2) { rotate: -10deg; }
.sbar__cta:hover .sbar__cta-fan img:nth-child(3) { rotate: 18deg; translate: 7px -9px; }
.sbar__cta-txt { background: linear-gradient(90deg, #f6efe2 0 40%, #fff3cf 50%, #f6efe2 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sbar-shine 5s ease-in-out infinite; }
@keyframes sbar-shine { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.sbar__list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.sbar__item { position: relative; }
.sbar__link { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border: 0; border-radius: 999px; background: none; font: inherit; font-size: .95rem; font-weight: 650; color: var(--c-primary); text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease; }
.page-content .sbar__link { color: var(--c-primary); }
.sbar__link:hover, .sbar__link[aria-expanded="true"] { background: #f4efe3; }
.sbar__link svg { transition: transform .2s ease; }
.sbar__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.sbar__link[aria-current], .sbar__link.is-cur { box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.sbar__sub { position: absolute; left: 50%; top: calc(100% + .5rem); z-index: 5; min-width: 240px; margin: 0; padding: .5rem; list-style: none; border-radius: 16px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.sbar__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.has-sub:hover > .sbar__sub, .has-sub > [aria-expanded="true"] + .sbar__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.sbar__sub a { display: block; padding: .6rem .8rem; border-radius: 10px; font-size: .93rem; font-weight: 600; color: var(--c-primary); text-decoration: none; }
.sbar__sub a:hover { background: #f7f3ea; color: var(--c-gold-ink); }
.sbar__sub a[aria-current] { background: var(--c-primary); color: #f6efe2; }
.sbar__toggle { display: none; grid-area: toggle; justify-self: end; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; cursor: pointer; }
.sbar__toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--c-primary); transition: transform .25s ease, opacity .2s ease; }
.sbar.is-open .sbar__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sbar.is-open .sbar__toggle span:nth-child(2) { opacity: 0; }
.sbar.is-open .sbar__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sbar__crumbs { grid-area: crumbs; justify-self: end; max-height: 2rem; padding-right: .4rem; overflow: hidden; transition: max-height .25s ease, opacity .2s ease; }
.sbar.is-scrolled .sbar__crumbs { max-height: 0; opacity: 0; }
.sbar__crumbs .crumbs ol { justify-content: flex-end; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--c-ink-soft); }
.crumbs li + li::before { content: '›'; margin-right: .35rem; color: var(--c-accent); }
.crumbs a { color: var(--c-ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--c-primary); text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-primary); font-weight: 600; }

@media (max-width: 960px) {
	.sbar__toggle { display: block; }
	.sbar__menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: .8rem; padding: .8rem 1.25rem 1.2rem; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 80px); overflow-y: auto; }
	.sbar.is-open .sbar__menu { display: flex; }
	.sbar__list { flex-direction: column; align-items: stretch; }
	.sbar__link { width: 100%; justify-content: space-between; padding: .75rem .6rem; border-radius: 10px; font-size: 1rem; }
	.sbar__link[aria-current], .sbar__link.is-cur { box-shadow: inset 3px 0 0 var(--c-accent); }
	.sbar__sub { position: static; min-width: 0; padding: 0 0 .3rem .8rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-sub > [aria-expanded="true"] + .sbar__sub { display: block; transform: none; }
	.has-sub:hover > .sbar__sub { transform: none; }
	.sbar__in { grid-template-columns: auto 1fr; grid-template-areas: "logo toggle" "crumbs crumbs"; padding: .5rem 1rem; }
	.sbar__logo svg, .sbar:not(.has-crumbs) .sbar__logo svg { height: 48px; }
	.sbar.is-scrolled .sbar__logo svg { height: 40px; }
	.sbar__crumbs { justify-self: start; padding: 0; }
	.sbar__crumbs .crumbs ol { justify-content: flex-start; }
	.sbar__cta { justify-content: center; padding: .7rem 1.2rem; }
	.sbar__menu { grid-area: auto; justify-self: stretch; }
}

/* ---------- Révélations au défilement ---------- */
.cx-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.cx-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Structure commune ---------- */
.cx { --cx-gap: clamp(2.6rem, 6vw, 4.4rem); display: flex; flex-direction: column; gap: var(--cx-gap); }

.cx-hero { text-align: center; }
.cx-hero h1 { margin: 0 auto .9rem; max-width: 20em; font-family: var(--font-serif); font-weight: 900; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.cx-hero h1::after { content: ""; display: block; width: .55rem; height: .55rem; margin: 1rem auto 0; rotate: 45deg; background: var(--c-accent); box-shadow: -2.2rem 0 0 -.2rem var(--c-gold-light), 2.2rem 0 0 -.2rem var(--c-gold-light); }
.cx-chapo { max-width: 44rem; margin: 0 auto 1rem; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.65; color: var(--c-ink-soft); text-wrap: pretty; }
.cx-kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-ink); }

.cx-fig { margin: 0; }
.cx-fig img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 44px rgba(var(--c-shadow-rgb), .16); background: var(--c-cream); }
.cx-fig figcaption { margin-top: .6rem; font-size: .88rem; font-style: italic; color: var(--c-ink-soft); text-align: center; }
.cx-fig--hero { margin-top: 1.4rem; }
.cx-prose .cx-fig { margin: 1.8rem 0 .4rem; }

/* Sommaire en barre collante (page pilier, fiches) */
.cx-subnav { position: sticky; top: calc(var(--sbar-h, 64px) + .6rem); z-index: 30; display: flex; align-items: center; gap: .6rem; width: fit-content; max-width: 100%; margin: -1rem auto 0; padding: .4rem; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--c-line); box-shadow: 0 12px 32px rgba(var(--c-shadow-rgb), .12); }
.cx-subnav__kicker { flex: 0 0 auto; padding: 0 .4rem 0 .9rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-ink); }
.cx-subnav ul { display: flex; gap: .2rem; min-width: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.cx-subnav ul::-webkit-scrollbar { display: none; }
.cx-subnav a { display: flex; align-items: center; gap: .45rem; padding: .4rem .8rem .4rem .4rem; border-radius: 999px; white-space: nowrap; font-size: .88rem; font-weight: 650; color: var(--c-primary); text-decoration: none; transition: background .25s ease, color .25s ease; }
.cx-subnav__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fbf3df; color: var(--c-gold-ink); transition: background .25s ease, color .25s ease; }
.cx-subnav a:hover { background: #f6f1e4; color: var(--c-primary); }
.cx-subnav a.is-active { background: var(--c-primary); color: #f6efe2; }
.cx-subnav a.is-active .cx-subnav__ico { background: rgba(217, 184, 114, .22); color: var(--c-gold-light); }
@media (max-width: 1400px) { .cx-subnav__kicker { display: none; } }
@media (max-width: 700px) {
	.cx-subnav { width: 100%; border-radius: 16px; margin-top: -1.4rem; }
	.cx-subnav__kicker { display: none; }
	.cx-subnav a { font-size: .85rem; }
}

/* Titres et textes */
.cx-sec > h2, .cx-h2 { margin: 0 0 .9rem; font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.cx-sec > h2::before, .cx-h2::before { content: ""; display: block; width: 54px; height: 2px; margin-bottom: .85rem; background: linear-gradient(90deg, var(--c-accent), rgba(176, 141, 87, 0)); }
.cx-h2--center { text-align: center; }
.cx-h2--center::before { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, rgba(176, 141, 87, 0), var(--c-accent), rgba(176, 141, 87, 0)); width: 90px; }
.cx-lead { margin: -.2rem 0 1.4rem; color: var(--c-ink-soft); font-size: 1.07rem; line-height: 1.65; }
.cx-lead--center { max-width: 42rem; margin-left: auto; margin-right: auto; text-align: center; }
.cx-prose { --cx-gap: clamp(2.2rem, 5vw, 3.4rem); display: flex; flex-direction: column; gap: var(--cx-gap); }
.cx-prose p, .cx-sec p { margin: 0 0 1em; line-height: 1.8; text-wrap: pretty; }
.cx-dropcap::first-letter { float: left; margin: .08em .14em 0 0; font-family: var(--font-serif); font-weight: 900; font-size: 3.7em; line-height: .8; color: var(--c-gold-ink); }

.cx-list { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.cx-list li { position: relative; margin: .45rem 0; padding: .7rem 1rem .7rem 2.6rem; border-radius: 12px; background: #fff; border: 1px solid var(--c-line); }
.cx-list li::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: .5rem; height: .5rem; rotate: 45deg; background: var(--c-accent); }

/* Encadrés (le saviez-vous, mythe…) */
.cx-box { position: relative; display: flex; gap: 1.1rem; align-items: flex-start; margin: 1.8rem 0 .4rem; padding: 1.4rem 1.6rem; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #fffaf0, #f6ebd3); border: 1px solid #ecdcb7; box-shadow: var(--shadow); }
.cx-box::after { content: "✦"; position: absolute; right: 1rem; bottom: -1.6rem; font-size: 6.5rem; line-height: 1; color: rgba(176, 141, 87, .13); pointer-events: none; }
.cx-box__ico { flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--gold-grad); color: #2a1f08; box-shadow: 0 8px 20px rgba(201, 162, 90, .35); }
.cx-box__title { margin: .2rem 0 .35rem !important; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 800; color: var(--c-gold-ink); }
.cx-box p:last-child { margin-bottom: 0; }
.cx-box--myth { background: var(--navy-grad); border-color: transparent; color: #e1e6f2; box-shadow: var(--shadow-lg); }
.cx-box--myth::after { content: "?"; font-family: var(--font-serif); font-weight: 900; color: rgba(217, 184, 114, .14); }
.cx-box--myth .cx-box__title { color: var(--c-gold-light); }
.page-content .cx-box--myth a { color: var(--c-gold-light); }
.page-content .cx-box--myth strong { color: #fff; }

.cx-steps { counter-reset: st; list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.cx-steps li { counter-increment: st; position: relative; padding: 1.1rem 1.3rem 1.1rem 4.3rem; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.cx-steps li::before { content: counter(st); position: absolute; left: 1.1rem; top: 1.05rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--c-primary); color: var(--c-gold-light); font-family: var(--font-serif); font-weight: 800; box-shadow: 0 0 0 4px #fbf3df; }
.cx-steps h3 { margin: 0 0 .25rem; font-family: var(--font-serif); font-size: 1.12rem; }
.cx-steps p { margin: 0; line-height: 1.6; color: var(--c-ink-soft); }

/* Tableaux */
.cx-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow); }
.cx-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.cx-table th, .cx-table td { padding: .85rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.cx-table thead th { background: var(--c-primary); color: #f6efe2; font-weight: 700; font-size: .84rem; letter-spacing: .04em; white-space: nowrap; }
.cx-table tbody tr:nth-child(even) { background: #fafbfc; }
.cx-table tbody tr:last-child > * { border-bottom: 0; }
.cx-table tbody th { font-family: var(--font-serif); color: var(--c-primary); white-space: nowrap; }
.cx-table__ico { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: .5rem; vertical-align: -6px; border-radius: 8px; background: #fbf3df; color: var(--c-gold-ink); }

/* Appel au tirage illustré */
.cx-cta { position: relative; display: flex; align-items: center; min-height: 360px; overflow: hidden; border-radius: 26px; background: #f4ead6; box-shadow: 0 26px 60px rgba(var(--c-shadow-rgb), .18); }
.cx-cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: scale(1.06); transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.cx-cta.is-in .cx-cta__img img, html:not(.cx-js) .cx-cta__img img { transform: scale(1); }
.cx-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(251, 247, 238, .96) 0%, rgba(251, 247, 238, .86) 36%, rgba(251, 247, 238, 0) 62%); }
.cx-cta__text { position: relative; z-index: 2; max-width: 31rem; padding: clamp(1.8rem, 4vw, 3.2rem); }
.cx-cta h2 { margin: 0 0 .6rem; font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.1; color: var(--c-primary); }
.cx-cta p { margin: 0 0 1.4rem; color: var(--c-ink-soft); line-height: 1.65; }
.cx-cta__btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.page-content .btn { background: var(--gold-grad); color: #241a06; box-shadow: 0 8px 22px rgba(201, 162, 90, .35); }
.page-content .btn:hover { color: #241a06; filter: brightness(1.05); }
.page-content .btn--ghost { background: rgba(255, 255, 255, .6); color: var(--c-primary); box-shadow: inset 0 0 0 1.5px rgba(var(--c-primary-rgb), .3); }
.page-content .btn--ghost:hover { color: var(--c-primary); background: #fff; }
@media (max-width: 700px) {
	.cx-cta { flex-direction: column; align-items: stretch; min-height: 0; }
	.cx-cta__img img { position: static; display: block; aspect-ratio: 2 / 1; height: auto; }
	.cx-cta::before { display: none; }
	.cx-cta__text { max-width: none; text-align: center; }
	.cx-cta__btns { justify-content: center; }
}

/* Bandeau vers un article */
.cx-banner { display: grid; grid-template-columns: minmax(220px, 42%) 1fr; margin-top: 2.2rem; overflow: hidden; border-radius: 22px; background: var(--navy-grad); text-decoration: none; box-shadow: var(--shadow-lg); }
.cx-banner > img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.cx-banner:hover > img { transform: scale(1.06); }
.cx-banner__text { display: flex; flex-direction: column; justify-content: center; gap: .55rem; padding: 1.7rem 2rem; color: rgba(246, 239, 226, .82); line-height: 1.6; }
.cx-banner__kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-light); }
.page-content .cx-banner strong { font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.18; color: #fff; }
.cx-banner__btn { align-self: flex-start; margin-top: .4rem; padding: .6rem 1.15rem; border-radius: 999px; background: var(--gold-grad); color: #241a06; font-weight: 700; transition: transform .25s ease; }
.cx-banner:hover .cx-banner__btn { transform: translateX(4px); }
@media (max-width: 640px) { .cx-banner { grid-template-columns: 1fr; } .cx-banner > img { min-height: 0; aspect-ratio: 16 / 9; } }

/* FAQ : même présentation que sur l'accueil (home.css) — titre centré sous un filet doré à losange, questions à pastille « + » */
.cx-faq__head { max-width: 54rem; margin: 0 auto 1.7rem; text-align: center; text-wrap: balance; }
.cx-rule { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-bottom: .95rem; }
.cx-rule::before, .cx-rule::after { content: ''; width: 54px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--c-accent)); }
.cx-rule::after { background: linear-gradient(270deg, transparent, var(--c-accent)); }
.cx-rule i { width: 8px; height: 8px; background: var(--c-accent); transform: rotate(45deg); }
.cx-faq__head h2 { margin: 0; font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; }
.faq { display: flex; flex-direction: column; gap: .7rem; }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item[open] { border-color: #e2d3ae; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; color: var(--c-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 14px; }
.faq__item summary::after {
	content: ''; flex: 0 0 24px; width: auto; height: 24px; border-radius: 50%; border: 1px solid #e2d3ae; transform: none; transition: transform .25s ease;
	background: linear-gradient(#8a6a37, #8a6a37) center / 10px 1.8px no-repeat, linear-gradient(#8a6a37, #8a6a37) center / 1.8px 10px no-repeat, #f8eed6;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--c-ink-soft); line-height: 1.6; }
@media (max-width: 640px) { .faq__item summary { padding: .9rem 1rem; } }

/* Emplacements publicitaires (ed_ad) : cadre témoin hors production */
/* Marges resserrées : l'écart normal entre sections est ramené à environ 1 rem au-dessus et en dessous de l'annonce */
.cx-ad { width: 100%; margin: calc(1.1rem - var(--cx-gap, 0px)) 0; }
.cx-ad .ad { margin: 0 auto; }
.cx-ad .ad--placeholder { width: 100%; border: 2px dashed #cdd3de; border-radius: 18px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .7) 0 14px, rgba(238, 241, 246, .7) 14px 28px); color: #7a8396; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ap-cards__ad { grid-column: 1 / -1; }
.ap-cards__ad .cx-ad { margin: 0; }
/* Annonce suivie du sommaire collant : garder un vrai espace entre les deux */
.cx-ad + .cx-subnav { margin-top: .9rem; }
.cx-ad--end { margin-bottom: 0; }

/* À lire aussi */
.cx-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.cx-related__list a { display: block; overflow: hidden; height: 100%; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); text-decoration: none; transition: translate .3s ease, box-shadow .3s ease; }
.cx-related__list a:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.cx-related__list a { display: flex; flex-direction: column; }
.cx-related__list img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; transition: transform .8s ease; }
.cx-related__list a:hover img { transform: scale(1.05); }
.cx-related__list span { display: block; padding: 1rem 1.2rem 1.2rem; font-family: var(--font-serif); font-weight: 800; font-size: 1.08rem; line-height: 1.3; color: var(--c-primary); }

.chip { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: #fbf3df; border: 1px solid #ecdcb7; font-size: .86rem; line-height: 1.35; color: #5b4520; }
.chip--rev { background: #eef1f6; border-color: var(--c-line); color: var(--c-ink-soft); }

/* ---------- Page pilier ---------- */
.ap-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.6rem, 5vw, 3.5rem); align-items: center; }
.ap-intro__text p:last-child { margin-bottom: 0; }
.ap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.ap-stats li { position: relative; overflow: hidden; padding: 1.4rem 1.1rem 1.3rem; text-align: center; border-radius: 20px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.ap-stats li:first-child { background: var(--navy-grad); border-color: transparent; }
.ap-stats li:nth-child(4) { background: linear-gradient(135deg, #fffaf0, #f6ebd3); border-color: #ecdcb7; }
.ap-stats strong { display: block; font-family: var(--font-serif); font-weight: 900; font-size: clamp(2.6rem, 5.5vw, 3.6rem); line-height: 1; letter-spacing: -.03em; color: var(--c-gold-ink); font-variant-numeric: tabular-nums; }
.page-content .ap-stats li:first-child strong { color: var(--c-gold-light); }
.ap-stats span { display: block; margin-top: .5rem; font-size: .88rem; line-height: 1.35; color: var(--c-ink-soft); }
.ap-stats li:first-child span { color: rgba(246, 239, 226, .8); }

/* Le voyage : un chemin balisé */
.ap-path { position: relative; display: grid; gap: 1.1rem; list-style: none; margin: 1.8rem 0 0; padding: 0; }
.ap-path::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; border-left: 2px dashed var(--c-gold-light); }
.ap-stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 2.2rem; align-items: center; margin-left: 66px; padding: 1.4rem 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.ap-stop__mark { position: absolute; left: -66px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: var(--c-gold-light); font-family: var(--font-serif); font-weight: 900; font-size: 1.3rem; box-shadow: 0 0 0 6px var(--c-bg), 0 8px 20px rgba(var(--c-shadow-rgb), .25); }
.ap-stop__step { margin: 0 0 .3rem !important; font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--c-gold-ink); }
.ap-stop h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .45rem; font-family: var(--font-serif); font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.2; }
.ap-stop__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fbf3df; color: var(--c-gold-ink); }
.ap-stop__body p:last-child { margin: 0; color: var(--c-ink-soft); line-height: 1.65; }
.ap-stop--start { background: linear-gradient(135deg, #fffaf0, #f6ebd3); border-color: #ecdcb7; }
.ap-stop--start .ap-stop__mark { background: var(--gold-grad); color: #2a1f08; }
.ap-stop__mat { display: block; line-height: 0; }
.ap-stop__mat img { width: 92px; height: auto; border-radius: 8px; rotate: -6deg; border: 3px solid #fff; box-shadow: 0 12px 26px rgba(var(--c-shadow-rgb), .25); transition: rotate .35s ease, translate .35s ease; }
.ap-stop__mat:hover img { rotate: 0deg; translate: 0 -4px; }
.ap-stop--end { display: block; padding: 1rem 1.6rem; background: var(--navy-grad); border-color: transparent; }
.ap-stop--end .ap-stop__mark { background: var(--gold-grad); color: #2a1f08; }
.ap-stop__arrival { margin: 0 !important; font-family: var(--font-serif); font-weight: 800; font-size: 1.1rem; color: #f6efe2; }
/* Éventail des 7 cartes d'une étape (se déploie à l'apparition) */
.ap-fan { display: flex; align-items: flex-end; height: 128px; margin: 0; padding: 0 .4rem; list-style: none; }
.ap-fan li { margin-left: -30px; transform-origin: 50% 140%; rotate: calc((var(--i) - (var(--count) - 1) / 2) * 6deg); transition: rotate .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 40ms + 200ms), margin .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 40ms + 200ms), translate .25s ease; }
.ap-fan li:first-child { margin-left: 0; }
.ap-fan li:hover { translate: 0 -14px; z-index: 2; }
.ap-fan img { display: block; width: 62px; height: auto; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(var(--c-shadow-rgb), .22); }
.cx-js .ap-stop:not(.is-in) .ap-fan li { rotate: 0deg; margin-left: -60px; }
.cx-js .ap-stop:not(.is-in) .ap-fan li:first-child { margin-left: 0; }

/* Les 22 significations */
.ap-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.ap-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: opacity .7s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ap-card:hover { translate: 0 -4px; border-color: var(--c-gold-light); box-shadow: var(--shadow-lg); }
/* Fiche résumée compacte : la carte dans un panneau teinté à gauche, le texte et le bouton à droite */
.ap-card__visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 1rem .6rem; background: radial-gradient(circle at 50% 40%, #fffaf0, #f2e4c4); border-right: 1px solid #ecdcb7; }
.ap-card__visual img { display: block; width: 76px; height: auto; border-radius: 7px; rotate: -4deg; border: 2px solid #fff; box-shadow: 0 10px 20px rgba(var(--c-shadow-rgb), .24); transition: rotate .35s ease, scale .35s ease; }
.ap-card:hover .ap-card__visual img { rotate: 0deg; scale: 1.06; }
.ap-card__num { padding: .12rem .55rem; border-radius: 999px; background: var(--c-primary); color: var(--c-gold-light); font-family: var(--font-serif); font-size: .74rem; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.ap-card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.1rem 1.05rem; }
.ap-card h3 { margin: 0; font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.2; }
.ap-card h3 a { color: var(--c-primary); text-decoration: none; }
.ap-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.ap-card__kw { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 !important; }
.ap-card__kw .chip { font-size: .76rem; padding: .14rem .5rem; }
.ap-card__sens { display: grid; gap: .3rem; margin: .1rem 0 0; }
.ap-card__sens div { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; line-height: 1.4; }
.ap-card__sens dt { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; margin-top: .05rem; border-radius: 50%; background: var(--gold-grad); color: #2a1f08; }
.ap-card__sens .is-rev dt { background: var(--c-primary); color: var(--c-gold-light); }
.ap-card__sens dd { margin: 0; color: var(--c-ink-soft); }
.ap-card__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding: .42rem .95rem; border-radius: 999px; background: var(--c-primary); color: #f6efe2; font-size: .84rem; font-weight: 700; line-height: 1.2; transition: background .25s ease, gap .25s ease; }
.ap-card:hover .ap-card__btn:not(.is-off) { background: var(--gold-grad); color: #241a06; gap: .65rem; }
.ap-card__btn.is-off { background: #eef1f6; color: #8a93a6; cursor: not-allowed; }
.ap-card__btn em { padding: .08rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: .7rem; font-style: normal; font-weight: 700; color: var(--c-gold-ink); }
.cx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Endroit / envers : démonstration animée */
.ap-read { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.6rem, 5vw, 3.5rem); align-items: center; }
.ap-read__text p:last-child { margin-bottom: 0; }
.ap-demo { margin: 0; padding: 1.8rem 1.5rem 1.5rem; text-align: center; border-radius: 26px; background: radial-gradient(circle at 50% 25%, #fffaf0, #f2e6cc); border: 1px solid #ecdcb7; box-shadow: var(--shadow); }
.ap-demo__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ap-demo__side img { display: block; width: min(150px, 100%); height: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 16px 34px rgba(var(--c-shadow-rgb), .25); }
.ap-demo__flip img { transition: rotate 1.2s cubic-bezier(.6, -.25, .3, 1.3), box-shadow 1.2s ease; }
.ap-demo.is-flipped .ap-demo__flip img, html:not(.cx-js) .ap-demo__flip img { rotate: 180deg; box-shadow: 0 -16px 34px rgba(var(--c-shadow-rgb), .25); }
.ap-demo figcaption { margin-top: 1rem; font-size: .9rem; line-height: 1.45; color: var(--c-ink-soft); }
.ap-demo figcaption strong { display: flex; align-items: center; justify-content: center; gap: .3rem; margin-bottom: .25rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-ink); }
.ap-demo__side.is-rev figcaption strong { color: var(--c-primary); }
.ap-demo__side.is-rev figcaption { opacity: .3; transition: opacity .5s ease .7s; }
.ap-demo.is-flipped .ap-demo__side.is-rev figcaption, html:not(.cx-js) .ap-demo__side.is-rev figcaption { opacity: 1; }

@media (max-width: 820px) {
	.ap-intro, .ap-read { grid-template-columns: 1fr; }
	.ap-stop { grid-template-columns: 1fr; margin-left: 52px; padding: 1.2rem; }
	.ap-stop__mark { left: -52px; width: 40px; height: 40px; font-size: 1.1rem; top: 1.6rem; translate: 0 0; }
	.ap-path::before { left: 19px; }
	.ap-fan { justify-content: center; height: 112px; }
	.ap-fan img { width: 50px; }
	.ap-fan li { margin-left: -24px; }
	.ap-stop__mat { justify-self: start; }
}
@media (max-width: 400px) { .ap-cards { grid-template-columns: 1fr; } .ap-card { grid-template-columns: 92px minmax(0, 1fr); } .ap-card__visual img { width: 64px; } .ap-card__num { white-space: normal; text-align: center; font-size: .68rem; } .ap-fan li { margin-left: -28px; } }

/* ---------- Fiche carte ---------- */
.cp-hero__grid { display: grid; grid-template-columns: minmax(240px, 370px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cp-stage { position: relative; padding: 1.4rem 1.6rem; perspective: 1100px; }
.cp-stage__halo { position: absolute; inset: 4% -6%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 184, 114, .5), rgba(217, 184, 114, 0) 66%); filter: blur(8px); transform: translate(calc(var(--tx, 0px) * -1.6), calc(var(--ty, 0px) * -1.6)); pointer-events: none; }
.cp-card { position: relative; margin: 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(-5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; animation: cp-deal 1.1s cubic-bezier(.2, .8, .2, 1) both, cp-float 6s ease-in-out 1.1s infinite; }
.cp-card img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 34px 60px rgba(var(--c-shadow-rgb), .3), 0 0 0 1px rgba(var(--c-shadow-rgb), .06); }
.cp-card__shine { position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(circle at var(--gx, 40%) var(--gy, 30%), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; pointer-events: none; }
@keyframes cp-deal { from { opacity: 0; scale: .82; rotate: -16deg; translate: -40px 30px; } }
@keyframes cp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.cp-hero h1 { margin: 0 0 1rem; font-family: var(--font-serif); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.cp-tagline { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 1.4rem !important; padding: 1rem 1.3rem; border-left: 3px solid var(--c-accent); border-radius: 0 16px 16px 0; background: linear-gradient(90deg, #fbf1da, rgba(251, 241, 218, 0)); font-family: var(--font-serif); font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700; line-height: 1.35 !important; color: var(--c-gold-ink); }
.cp-tagline svg { flex: 0 0 auto; margin-top: .1rem; color: var(--c-gold-light); }
.cp-intro p { font-size: 1.05rem; line-height: 1.8; }
.cp-intro p:last-child { margin-bottom: 0; }

/* Fiche d'identité : quatre tuiles, la première en bleu nuit, la dernière dorée */
.cp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin: 2.8rem 0 0; }
.cp-facts > div { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 1.4rem 1.1rem 1.3rem; text-align: center; border-radius: 22px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: opacity .7s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .3s ease, box-shadow .3s ease; }
.cp-facts > div:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.cp-facts > div::after { content: "✦"; position: absolute; right: .7rem; top: .3rem; font-size: 2.6rem; line-height: 1; color: rgba(176, 141, 87, .12); pointer-events: none; }
.cp-facts > div:first-child { background: var(--navy-grad); border-color: transparent; }
.cp-facts > div:last-child { background: linear-gradient(150deg, #fffaf0, #f3e4c4); border-color: #ecdcb7; }
.cp-facts__ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .85rem; border-radius: 50%; background: var(--gold-grad); color: #2a1f08; box-shadow: 0 0 0 6px #fbf3df, 0 10px 22px rgba(201, 162, 90, .35); }
.cp-facts > div:first-child .cp-facts__ico { box-shadow: 0 0 0 6px rgba(217, 184, 114, .16), 0 10px 22px rgba(0, 0, 0, .3); }
.cp-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-ink); }
.cp-facts > div:first-child dt { color: var(--c-gold-light); }
.cp-facts dd { margin: .35rem 0 0; font-family: var(--font-serif); font-size: 1.08rem; font-weight: 800; line-height: 1.3; color: var(--c-primary); text-wrap: balance; }
.cp-facts > div:first-child dd { color: #fff; }

/* Dualité endroit / envers des mots-clés */
.cp-dual { position: relative; display: grid; grid-template-columns: 1fr 0 1fr; margin: 5.5rem 0 5rem; }
.cp-dual__side { display: flex; flex-direction: column; justify-content: center; min-height: 190px; padding: 1.7rem 7.4rem 1.7rem 1.9rem; border-radius: 22px 0 0 22px; background: linear-gradient(135deg, #fff9ea, #f6e8c8); border: 1px solid #ecdcb7; border-right: 0; }
.cp-dual__side.is-rev { padding: 1.7rem 1.9rem 1.7rem 7.4rem; border-radius: 0 22px 22px 0; background: var(--navy-grad); border: 0; color: #e3e7f2; text-align: right; }
.cp-dual__title { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.3rem !important; line-height: 1.25 !important; }
.is-rev .cp-dual__title { flex-direction: row-reverse; }
.cp-dual__ico { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-grad); color: #2a1f08; box-shadow: 0 6px 16px rgba(201, 162, 90, .4); }
.is-rev .cp-dual__ico { background: rgba(255, 255, 255, .1); color: var(--c-gold-light); box-shadow: inset 0 0 0 1px rgba(217, 184, 114, .4); }
/* Textes agrandis ; côté endroit plus contrasté (étiquettes blanches à texte brun foncé) */
.cp-dual__title strong { display: block; font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; color: #74561f; }
.page-content .is-rev .cp-dual__title strong { color: var(--c-gold-light); }
.cp-dual__title small { display: block; margin-top: .15rem; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 800; color: var(--c-primary); }
.is-rev .cp-dual__title small { color: #fff; }
.cp-dual__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 !important; }
.cp-dual__chips .chip { padding: .38rem .95rem; font-size: 1.02rem; font-weight: 600; }
.is-up .cp-dual__chips .chip { background: #fff; border-color: #dcc28c; color: #3d2c0d; box-shadow: 0 2px 6px rgba(138, 106, 55, .12); }
.is-rev .cp-dual__chips { justify-content: flex-end; }
.is-rev .chip--rev { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #f1f3f9; }
.cp-dual__mid { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
/* Grande carte au centre, inclinée de 3°, qui déborde du cadre et se retourne lentement */
.cp-dual__mid img { flex: 0 0 auto; width: 186px; height: auto; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 26px 50px rgba(var(--c-shadow-rgb), .38); rotate: 3deg; animation: cp-swing 9s cubic-bezier(.6, 0, .3, 1) infinite; }
/* À mi-rotation (carte à l'horizontale) elle rétrécit pour ne pas couvrir les titres de part et d'autre */
@keyframes cp-swing { 0%, 35%, 50%, 85%, 100% { scale: 1; } 42.5%, 92.5% { scale: .58; } 0%, 35%, 100% { box-shadow: 0 26px 50px rgba(var(--c-shadow-rgb), .38); } 0%, 35% { rotate: 3deg; } 50%, 85% { rotate: 183deg; box-shadow: 0 -26px 50px rgba(var(--c-shadow-rgb), .38); } 100% { rotate: 363deg; } }

/* Symboles */
.cp-symbols { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
/* Icône et titre sur une même ligne, texte dessous sur toute la largeur (gain de hauteur) */
.cp-symbols li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .85rem; row-gap: .75rem; align-content: start; padding: 1.2rem 1.35rem 1.25rem; border-radius: 20px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: opacity .7s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .3s ease, border-color .3s ease; }
.cp-symbols li:hover { translate: 0 -3px; border-color: var(--c-gold-light); }
.cp-symbols__emo { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, #fff6e0, #f3e2bb); box-shadow: inset 0 0 0 1px #ecdcb7; font-size: 1.75rem; line-height: 1; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.cp-symbols li:hover .cp-symbols__emo { transform: rotate(-10deg) scale(1.1); }
.cp-symbols h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.2rem, 1.6vw, 1.35rem); line-height: 1.2; text-wrap: balance; }
.cp-symbols p { grid-column: 1 / -1; margin: 0; line-height: 1.6; color: var(--c-ink-soft); }

/* Signification générale : grande carte en parallaxe face à chaque texte */
.cp-mean { display: grid; gap: clamp(2rem, 5vw, 3.2rem); margin-top: 1.4rem; }
.cp-mean__row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.cp-mean__row.is-rev { grid-template-columns: 1fr minmax(150px, 220px); }
.cp-mean__row.is-rev .cp-mean__card { order: 2; }
.cp-mean__card { margin: 0; transform: translate(var(--px, 0px), var(--py, 0px)) rotate(calc(-5deg + var(--pr, 0deg))); will-change: transform; }
.is-rev .cp-mean__card { transform: translate(calc(var(--px, 0px) * -1), var(--py, 0px)) rotate(calc(5deg - var(--pr, 0deg))); }
.cp-mean__card img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 56px rgba(var(--c-shadow-rgb), .28); }
.is-rev .cp-mean__card img { rotate: 180deg; box-shadow: 0 -30px 56px rgba(var(--c-shadow-rgb), .28); }
.cp-mean__text { padding: 1.7rem 1.9rem; border-radius: 22px; background: linear-gradient(160deg, #fffaf0, #fff); border: 1px solid #ecdcb7; box-shadow: var(--shadow); }
.is-rev .cp-mean__text { background: linear-gradient(160deg, #eef1f7, #fff); border-color: var(--c-line); }
.cp-mean__label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem !important; padding: .35rem .85rem; border-radius: 999px; background: var(--gold-grad); color: #2a1f08; font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; line-height: 1.4 !important; }
.is-rev .cp-mean__label { background: var(--c-primary); color: #f6efe2; }
/* Coréen, chinois, japonais, hindi : pas de capitales, les signes ont besoin de plus de taille et de moins d'espacement */
:is(:lang(ko), :lang(zh), :lang(ja), :lang(hi)) .cp-mean__label { padding: .4rem 1rem; font-size: .95rem; font-weight: 700; letter-spacing: .04em; }
.cp-mean__text p:last-child { margin-bottom: 0; }

/* Les six domaines */
.cp-theme__head { display: flex; align-items: center; gap: 1.3rem; margin-bottom: 1.3rem; }
.cp-theme__img { flex: 0 0 auto; width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 14px 32px rgba(var(--c-shadow-rgb), .22); transition: transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.cx-js .cp-theme__head:not(.is-in) .cp-theme__img { transform: scale(.7) rotate(-20deg); }
.cp-theme__kicker { display: flex; align-items: center; gap: .4rem; margin: 0 0 .3rem !important; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--c-gold-ink); line-height: 1.3 !important; }
.cp-theme__head h2 { margin: 0; font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em; }
/* Endroit à gauche (carte qui déborde à gauche), envers à droite (carte qui déborde à droite) : effet miroir */
.cp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding: 0 1.6rem; }
.cp-side { position: relative; min-height: 150px; padding: 1.4rem 1.5rem 1.4rem 4.6rem; border-radius: 20px; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.cp-side--up { background: linear-gradient(160deg, #fffaf0, #fff); border-color: #ecdcb7; }
.cp-side--rev { padding: 1.4rem 4.6rem 1.4rem 1.5rem; background: linear-gradient(200deg, #eef1f7, #fff); text-align: right; }
.cp-side--rev h3 { justify-content: flex-end; }
/* Carte centrée verticalement sur le bloc ; la carte retournée a une ombre inversée pour qu'elle tombe aussi vers le bas */
.cp-side__card { position: absolute; left: -1.6rem; top: 50%; width: 82px; height: auto; border-radius: 8px; border: 3px solid #fff; translate: 0 -50%; rotate: -7deg; box-shadow: 0 14px 28px rgba(var(--c-shadow-rgb), .28); transition: rotate .4s ease, translate .4s ease; }
.cp-side--rev .cp-side__card { left: auto; right: -1.6rem; rotate: 187deg; box-shadow: 0 -14px 28px rgba(var(--c-shadow-rgb), .28); }
.cp-side:hover .cp-side__card { rotate: -2deg; translate: 0 calc(-50% - 4px); }
.cp-side--rev:hover .cp-side__card { rotate: 182deg; }
.cp-side h3 { display: flex; align-items: center; gap: .35rem; margin: 0 0 .5rem; font-family: var(--font); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--c-gold-ink); }
.cp-side--rev h3 { color: var(--c-primary); }
.cp-side p { margin: 0; line-height: 1.7; }

/* Oui ou non : jauge (non à gauche en rouge, oui à droite en vert) */
.cp-gauge { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; margin: 1.2rem 0 .9rem; padding: 3.2rem 1.6rem 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.cp-gauge__end { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; font-size: 1rem; }
.cp-gauge__end.is-no { color: #c2372f; }
.cp-gauge__end.is-yes { color: #23854b; }
.cp-gauge__track { position: relative; height: 18px; border-radius: 999px; background: linear-gradient(90deg, rgba(214, 69, 65, .2), rgba(214, 69, 65, .05) 50%, rgba(46, 160, 90, .05) 50%, rgba(46, 160, 90, .2)); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08); }
.cp-gauge__track::after { content: ""; position: absolute; left: 50%; top: -7px; bottom: -7px; width: 2px; translate: -1px 0; border-radius: 2px; background: #c9cfdb; }
.cp-gauge__fill { position: absolute; top: 0; bottom: 0; width: var(--w, 0%); border-radius: 999px; transition: width 1.3s cubic-bezier(.2, .8, .2, 1) .25s; }
.cp-gauge__fill.is-yes { left: 50%; background: linear-gradient(90deg, #8fd8a8, #23854b); }
.cp-gauge__fill.is-no { right: 50%; background: linear-gradient(270deg, #f1a59f, #c2372f); }
.cp-gauge__needle { position: absolute; top: 50%; left: var(--pos, 50%); z-index: 1; width: 30px; height: 30px; translate: -50% -50%; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); box-shadow: 0 6px 14px rgba(var(--c-shadow-rgb), .3); transition: left 1.3s cubic-bezier(.2, .8, .2, 1) .25s; }
.cp-gauge__needle b { position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 0; padding: .3rem .75rem; border-radius: 999px; background: var(--c-primary); color: #f6efe2; font-size: .82rem; white-space: nowrap; }
.cp-gauge__needle b::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0; border: 6px solid transparent; border-top-color: var(--c-primary); }
/* À l'approche : le curseur balaie la jauge de « non » à « oui », se pose sur la réponse, puis la couleur se remplit */
.cx-js .cp-gauge:not(.is-in) .cp-gauge__fill { width: 0; }
.cx-js .cp-gauge:not(.is-in) .cp-gauge__needle { left: 50%; }
.cx-js .cp-gauge.is-in .cp-gauge__needle { animation: cp-needle 2.4s cubic-bezier(.45, 0, .25, 1) .3s both; }
.cx-js .cp-gauge.is-in .cp-gauge__needle b { animation: cp-pop .45s cubic-bezier(.3, 1.6, .5, 1) 2.5s both; }
.cx-js .cp-gauge.is-in .cp-gauge__fill { transition: width .9s cubic-bezier(.2, .8, .2, 1) 2.2s; }
@keyframes cp-needle { 0% { left: 50%; } 28% { left: 3%; } 62% { left: 97%; } 100% { left: var(--pos, 50%); } }
@keyframes cp-pop { from { opacity: 0; scale: .6; } }
.cx-js .cp-meter[data-reveal] { transform: none; }
.cx-js .cp-meter li { transition: background .4s ease 2.6s, color .4s ease 2.6s, box-shadow .4s ease 2.6s; }
.cx-js .cp-meter:not(.is-in) li.is-on { background: #f1f3f7; color: var(--c-ink-soft); box-shadow: none; }
.cp-meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.cp-meter li { padding: .5rem .3rem; text-align: center; border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--c-ink-soft); }
.cp-meter li:nth-child(1), .cp-meter li:nth-child(2) { background: rgba(214, 69, 65, .07); }
.cp-meter li:nth-child(3) { background: #f1f3f7; }
.cp-meter li:nth-child(4), .cp-meter li:nth-child(5) { background: rgba(46, 160, 90, .08); }
.cp-meter li.is-on { background: var(--c-primary); color: #f6efe2; box-shadow: 0 8px 20px rgba(var(--c-primary-rgb), .3); }

/* Associations */
.cp-combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .9rem; list-style: none; margin: 0; padding: 0; }
.cp-combos li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.cp-combos__pair { position: relative; flex: 0 0 auto; width: 74px; height: 88px; }
.cp-combos__pair img { position: absolute; width: 46px; height: auto; border-radius: 5px; border: 2px solid #fff; box-shadow: 0 5px 12px rgba(var(--c-shadow-rgb), .22); transition: rotate .3s ease, translate .3s ease; }
.cp-combos__pair img:first-child { left: 0; top: 0; rotate: -9deg; }
.cp-combos__pair img:last-child { left: 26px; top: 8px; rotate: 7deg; }
.cp-combos li:hover .cp-combos__pair img:first-child { rotate: -14deg; translate: -3px 0; }
.cp-combos li:hover .cp-combos__pair img:last-child { rotate: 12deg; translate: 3px 0; }
.cp-combos h3 { margin: 0 0 .25rem; font-family: var(--font-serif); font-size: 1.04rem; }
.cp-combos p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--c-ink-soft); }

/* Navigation de fin de page : grandes cartes qui débordent du cadre, « toutes les cartes » au centre en éventail */
.cp-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: stretch; margin-top: 1.4rem; }
.cp-pager__item { position: relative; display: flex; align-items: center; min-height: 150px; padding: 1.3rem 1.5rem 1.3rem 8.2rem; border-radius: 22px; background: linear-gradient(135deg, #fffaf0, #fff 70%); border: 1px solid #ecdcb7; box-shadow: var(--shadow); text-decoration: none; transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
.cp-pager__item--next { justify-content: flex-end; padding: 1.3rem 8.2rem 1.3rem 1.5rem; background: linear-gradient(225deg, #fffaf0, #fff 70%); text-align: right; }
.cp-pager__card { position: absolute; left: 1.4rem; top: 50%; width: 92px; height: auto; border-radius: 8px; border: 3px solid #fff; translate: 0 -50%; rotate: -7deg; box-shadow: 0 16px 30px rgba(var(--c-shadow-rgb), .28); transition: rotate .4s cubic-bezier(.3, 1.5, .5, 1), translate .4s cubic-bezier(.3, 1.5, .5, 1); }
.cp-pager__item--next .cp-pager__card { left: auto; right: 1.4rem; rotate: 7deg; }
a.cp-pager__item:hover { translate: 0 -4px; border-color: var(--c-gold-light); box-shadow: var(--shadow-lg); }
a.cp-pager__item:hover .cp-pager__card { rotate: -2deg; translate: -6px calc(-50% - 6px); }
a.cp-pager__item--next:hover .cp-pager__card { rotate: 2deg; translate: 6px calc(-50% - 6px); }
.cp-pager__txt { display: flex; flex-direction: column; gap: .3rem; }
.cp-pager__item--next .cp-pager__txt { align-items: flex-end; }
.cp-pager__txt small { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-ink); }
.cp-pager__txt strong { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; line-height: 1.15; color: var(--c-primary); }
.cp-pager__txt em { font-size: .9rem; font-style: normal; line-height: 1.4; color: var(--c-ink-soft); }
.cp-pager__txt { align-items: flex-start; }
.cp-pager__soon { margin-top: .2rem; padding: .12rem .55rem; border-radius: 999px; background: #eef1f6; font-size: .72rem; font-weight: 700; color: #6b7487; }
.cp-pager__item.is-off { cursor: default; }
.cp-pager__all { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .8rem; min-width: 210px; padding: 1.1rem 1.4rem 1.2rem; border-radius: 22px; background: var(--navy-grad); box-shadow: var(--shadow-lg); font-weight: 700; text-align: center; text-decoration: none; transition: translate .3s ease; }
.page-content .cp-pager__all, .page-content .cp-pager__all:hover { color: #f6efe2; }
.cp-pager__all:hover { translate: 0 -4px; }
.cp-pager__fan { position: relative; width: 120px; height: 86px; }
.cp-pager__fan img { position: absolute; left: 50%; bottom: 0; width: 50px; height: auto; margin-left: -25px; border-radius: 5px; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); transform-origin: 50% 120%; transition: rotate .4s cubic-bezier(.3, 1.5, .5, 1); }
.cp-pager__fan img:nth-child(1) { rotate: -16deg; }
.cp-pager__fan img:nth-child(3) { rotate: 16deg; }
.cp-pager__fan img:nth-child(2) { z-index: 1; }
.cp-pager__all:hover .cp-pager__fan img:nth-child(1) { rotate: -26deg; }
.cp-pager__all:hover .cp-pager__fan img:nth-child(3) { rotate: 26deg; }
@media (max-width: 860px) {
	.cp-pager { grid-template-columns: 1fr; }
	.cp-pager__all { order: 3; }
	.cp-pager__item { padding-left: 7rem; }
	.cp-pager__item--next { padding: 1.3rem 7rem 1.3rem 1.3rem; }
	.cp-pager__card { width: 74px; left: 1rem; }
	.cp-pager__item--next .cp-pager__card { right: 1rem; }
}

@media (max-width: 860px) {
	.cp-hero__grid { grid-template-columns: 1fr; }
	.cp-stage { width: min(260px, 66vw); margin: 0 auto; }
	.cp-facts { grid-template-columns: 1fr 1fr; }
	.cp-dual { grid-template-columns: 1fr; grid-template-rows: auto 0 auto; margin: 2.4rem 0 1rem; }
	.cp-dual__side { min-height: 0; padding: 1.4rem 1.4rem 5.4rem; border-radius: 22px 22px 0 0; border-right: 1px solid #ecdcb7; border-bottom: 0; }
	.cp-dual__side.is-rev { padding: 5.4rem 1.4rem 1.4rem; border-radius: 0 0 22px 22px; text-align: left; }
	.is-rev .cp-dual__title { flex-direction: row; }
	.is-rev .cp-dual__chips { justify-content: flex-start; }
	.cp-dual__mid img { width: 96px; }
	.cp-duo { padding: 0 .4rem; gap: 1.8rem; }
	.cp-side { padding-left: 4rem; }
	.cp-side--rev { padding: 1.4rem 4rem 1.4rem 1.3rem; }
	.cp-side__card { left: -.6rem; width: 62px; }
	.cp-side--rev .cp-side__card { right: -.6rem; }
	.cp-mean__row, .cp-mean__row.is-rev { grid-template-columns: 1fr; gap: 1.2rem; }
	.cp-mean__row.is-rev .cp-mean__card { order: 0; }
	.cp-mean__card { width: min(190px, 52vw); margin: 0 auto; }
	.cp-duo { grid-template-columns: 1fr; }
	.cp-theme__img { width: 86px; height: 86px; }
	.cp-gauge { grid-template-columns: 1fr; padding: 3.2rem 1.2rem 1.2rem; gap: .6rem; }
	.cp-gauge__end { display: none; }
	.cp-meter li { font-size: .72rem; padding: .5rem .15rem; }
}
@media (max-width: 480px) { .cp-facts { gap: .6rem; } .cp-facts > div { padding: 1.1rem .7rem; } .cp-facts dd { font-size: .95rem; } .cp-combos { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
/* En-tête : texte centré, puis la grande illustration pleine largeur, sans cadre ni légende */
.ar-hero { display: flex; flex-direction: column; align-items: center; gap: clamp(1.6rem, 4vw, 2.6rem); text-align: center; }
.ar-hero__text { max-width: 50rem; }
.ar-hero .ar-meta { justify-content: center; }
.ar-hero .ar-chapo { padding: 0; border: 0; }
.ar-hero .cx-kicker { padding: .35rem .9rem; border-radius: 999px; background: #fbf3df; border: 1px solid #ecdcb7; }
.ar-hero h1 { margin: .9rem 0 1.1rem; font-family: var(--font-serif); font-weight: 900; font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.05; letter-spacing: -.028em; text-wrap: balance; }
.ar-chapo { margin: 0 0 1.4rem !important; padding-left: 1.2rem; border-left: 3px solid var(--c-gold-light); font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.65 !important; color: var(--c-ink-soft); }
.ar-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; font-size: .84rem; color: var(--c-ink-soft); }
.ar-meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .88); border: 1px solid var(--c-line); }
.ar-meta svg { color: var(--c-accent); }
.ar-hero__fig { width: 100%; margin: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 34px 70px rgba(var(--c-shadow-rgb), .24); }
.ar-hero__fig img { display: block; width: 100%; height: auto; transform: scale(1.08); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); }
.ar-hero__fig.is-in img, html:not(.cx-js) .ar-hero__fig img { transform: none; }

.ar-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.ar-toc { position: sticky; top: calc(var(--sbar-h, 64px) + 1rem); z-index: 20; }
.ar-toc__box { padding: 1.1rem 1rem 1.2rem; border-radius: 20px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.ar-toc__title { display: flex; align-items: center; gap: .5rem; margin: 0 .3rem .7rem; list-style: none; cursor: pointer; font-family: var(--font-serif); font-weight: 800; font-size: 1.08rem; color: var(--c-primary); }
.ar-toc__title::-webkit-details-marker { display: none; }
@media (min-width: 900px) { .ar-toc__title { cursor: default; } }
.ar-toc__title svg { color: var(--c-accent); }
.ar-toc ol { display: grid; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.ar-toc a { display: flex; gap: .6rem; padding: .5rem .65rem; border-radius: 11px; font-size: .9rem; line-height: 1.35; color: var(--c-ink-soft); text-decoration: none; transition: background .25s ease, color .25s ease; }
.ar-toc__n { flex: 0 0 auto; padding-top: .05rem; font-family: var(--font-serif); font-weight: 800; font-size: .85rem; color: var(--c-accent); }
.ar-toc a:hover { background: #f7f3ea; color: var(--c-primary); }
.ar-toc a.is-active { background: var(--c-primary); color: #f6efe2; }
.ar-toc a.is-active .ar-toc__n { color: var(--c-gold-light); }
.ar-toc__bar { height: 4px; margin: 1rem .3rem 0; overflow: hidden; border-radius: 4px; background: var(--c-line); }
.ar-toc__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-gold-light)); transform: scaleX(0); transform-origin: left; }

.ar-body { max-width: 740px; }
.ar-sec p { font-size: 1.06rem; }
.ar-h2 { display: flex; align-items: flex-start; gap: .9rem; margin: 0 0 1.1rem; font-family: var(--font-serif); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.15rem); line-height: 1.16; letter-spacing: -.015em; text-wrap: balance; }
/* Filet doré au-dessus du titre (comme les autres pages), et non à côté du numéro */
.ar-h2 { flex-wrap: wrap; row-gap: .85rem; }
.ar-sec > .ar-h2::before { flex: 0 0 100%; width: auto; margin: 0; background: linear-gradient(90deg, var(--c-accent), rgba(176, 141, 87, 0) 54px); }
.ar-h2 > span:last-child { flex: 1 1 0; min-width: 0; }
.ar-h2__n { flex: 0 0 auto; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-top: -.15rem; border-radius: 13px; background: var(--navy-grad); color: var(--c-gold-light); font-size: 1rem; box-shadow: 0 8px 18px rgba(var(--c-shadow-rgb), .2); }

/* Frise : dates au centre, faits en alternance */
.ar-timeline { position: relative; list-style: none; margin: 1.6rem 0 0; padding: .5rem 0; overflow-x: clip; }
.ar-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -1px 0; background: linear-gradient(rgba(217, 184, 114, 0), var(--c-gold-light) 6%, var(--c-accent) 50%, var(--c-gold-light) 94%, rgba(217, 184, 114, 0)); }
.ar-timeline li { position: relative; display: grid; grid-template-columns: 1fr 8rem 1fr; align-items: center; margin-bottom: 1.1rem; }
.ar-timeline__date { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; padding: .45rem .85rem; border-radius: 999px; background: var(--c-primary); color: #f6efe2; font-family: var(--font-serif); font-weight: 800; font-size: .92rem; white-space: nowrap; box-shadow: 0 0 0 5px var(--c-bg), 0 8px 18px rgba(var(--c-shadow-rgb), .2); }
.ar-timeline__card { grid-column: 3; grid-row: 1; position: relative; margin: 0 !important; padding: .95rem 1.15rem; border-radius: 16px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); font-size: .96rem !important; line-height: 1.55 !important; }
.ar-timeline li:nth-child(even) .ar-timeline__card { grid-column: 1; text-align: right; }
.cx-js .ar-timeline li[data-reveal] { transform: translateX(34px); }
.cx-js .ar-timeline li:nth-child(even)[data-reveal] { transform: translateX(-34px); }
.cx-js .ar-timeline li[data-reveal].is-in { transform: none; }
.cx-js .ar-timeline li:not(.is-in) .ar-timeline__date { scale: .6; }
.ar-timeline__date { transition: scale .6s cubic-bezier(.3, 1.6, .5, 1) .15s; }

/* Questions mises en avant */
.ar-questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; list-style: none; margin: 1.3rem 0 0; padding: 0; }
.ar-questions li { position: relative; display: flex; flex-direction: column; min-height: 170px; padding: 1.3rem 1.3rem 1.2rem; overflow: hidden; border-radius: 20px; background: var(--navy-grad); color: #f3efe6; box-shadow: var(--shadow-lg); transition: opacity .7s ease var(--d, 0ms), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .3s ease; }
.ar-questions li:nth-child(even) { background: linear-gradient(150deg, #fffaf0, #f3e4c4); color: var(--c-ink); border: 1px solid #ecdcb7; box-shadow: var(--shadow); }
.ar-questions li:hover { translate: 0 -5px; }
.ar-questions li::after { content: "?"; position: absolute; right: .5rem; bottom: -1.9rem; font-family: var(--font-serif); font-weight: 900; font-size: 8rem; line-height: 1; color: rgba(217, 184, 114, .2); pointer-events: none; }
.ar-questions__n { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-light); }
.ar-questions li:nth-child(even) .ar-questions__n { color: var(--c-gold-ink); }
.ar-questions p { position: relative; z-index: 1; margin: .8rem 0 0 !important; font-family: var(--font-serif); font-size: 1.15rem !important; font-weight: 700; line-height: 1.35 !important; }

@media (max-width: 899px) {
	.ar-hero__fig { border-radius: 20px; }
	.ar-layout { grid-template-columns: 1fr; gap: 1.6rem; }
	.ar-toc { top: calc(var(--sbar-h, 64px) + .5rem); }
	.ar-toc__box { padding: .75rem 1rem; }
	.ar-toc__title { margin: 0; }
	.ar-toc__box[open] .ar-toc__title { margin-bottom: .6rem; }
	.ar-toc__box[open] ol { max-height: 55vh; overflow-y: auto; }
	.ar-toc__bar { margin: .6rem 0 0; }
}
@media (max-width: 640px) {
	.ar-timeline::before { left: 18px; }
	.ar-timeline li { grid-template-columns: 1fr; gap: .5rem; padding-left: 44px; }
	.ar-timeline__date { grid-column: 1; grid-row: 1; justify-self: start; }
	.ar-timeline__card, .ar-timeline li:nth-child(even) .ar-timeline__card { grid-column: 1; grid-row: 2; text-align: left; }
	.ar-timeline li::before { content: ""; position: absolute; left: 12px; top: .9rem; width: 14px; height: 14px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-bg); }
	.cx-js .ar-timeline li[data-reveal], .cx-js .ar-timeline li:nth-child(even)[data-reveal] { transform: translateY(20px); }
}

/* Pas de règle « prefers-reduced-motion » : les animations sont jouées pour tous (choix éditorial). */
