/* Ateliers & Chantiers réunis — Yvon Le Corre
   Valeurs figées de la maquette (README de handoff, « Design Tokens »). */

/* Caveat (licence SIL OFL), hébergée sur le site : aucune requête vers Google. */
@font-face {
	font-family: "Caveat";
	src: url("../fonts/caveat-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Caveat";
	src: url("../fonts/caveat-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	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;
}

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

:root {
	--bg: #1c1614;
	--panel: #0f2338;
	--accent: #d3b15c;
	--ink: #f1efe9;
	--ink-strong: #f6f5f1;
	--muted: rgba(241, 239, 233, 0.82);
	--faint: rgba(241, 239, 233, 0.55);
	--rule: rgba(241, 239, 233, 0.16);
	--line-strong: rgba(241, 239, 233, 0.24);
	--nav-bg: rgba(28, 22, 20, 0.92);
	--error: #e8a58c;
	--radius: 4px;
	--maxw: 1320px;
	--gutter: clamp(24px, 5vw, 88px);
	--section-y: clamp(64px, 11vh, 140px);
	--font-display: "Plantin", "Plantin MT Pro", Georgia, serif;
	--hand: "Caveat", cursive;
	--plate-filter: sepia(0.14) saturate(0.86) contrast(1.04) brightness(0.96);
	--hero-bg: radial-gradient(120% 85% at 50% 0%, #0f2338 0%, #1c1614 62%);
	--bleed-h: clamp(360px, 85vh, 940px);
	--btn-pad: 16px 30px;
	--nav-top: 0px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-display);
	-webkit-font-smoothing: antialiased;
}
.acr-page { background: var(--bg); color: var(--ink); overflow-x: clip; min-height: 100vh; }
.acr-page *, .acr-page *::before, .acr-page *::after { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { opacity: 0.82; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(211, 177, 92, 0.3); }
img { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: 80px; }
.acr-hidden, .acr-hidden * { display: none !important; }
[hidden] { display: none !important; }
.acr-tnum { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.acr-gold { color: var(--accent); }
.acr-ink { color: var(--ink-strong); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Typographie ──────────────────────────────────────────────────────── */

.acr-eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.acr-eyebrow--tight { letter-spacing: 0.2em; }
.acr-kicker { margin: 0; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.acr-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.015em; max-width: 22ch; color: var(--ink-strong); }
.acr-measure-18 { max-width: 18ch; }
.acr-measure-60 { max-width: 60ch; }
.acr-measure-62 { max-width: 62ch; }
.acr-text { margin: 0; font-size: 16px; line-height: 1.8; text-align: justify; hyphens: auto; color: var(--muted); }
.acr-caption { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--faint); }
.acr-hand { margin: 0; font-family: var(--hand); line-height: 1.2; color: var(--accent); }
.acr-rule { width: 100%; height: 1px; border: 0; margin: 0; background: var(--rule); }
.acr-note { font-size: 13px; color: var(--faint); }
.acr-num { font-variant-numeric: tabular-nums; opacity: 0.72; margin-right: 10px; }
.acr-link-underline { align-self: flex-start; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* ── Boutons ──────────────────────────────────────────────────────────── */

.acr-btn {
	display: inline-block;
	padding: var(--btn-pad);
	border: 1px solid rgba(241, 239, 233, 0.4);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	font-family: inherit;
	font-size: 13px;
	line-height: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
.acr-btn--primary { border-color: var(--accent); background: rgba(211, 177, 92, 0.16); }
.acr-btn--ghost:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }
.acr-btn--sm { padding: 9px 18px; font-size: 12px; }
.acr-btn--video { font-size: 12.5px; }
.acr-btn--block { display: block; text-align: center; }

/* ── Mise en page ─────────────────────────────────────────────────────── */

.acr-wrap { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.acr-section { border-top: 1px solid var(--rule); }
.acr-section--panel { background: var(--panel); }
.acr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.acr-cols--center { align-items: center; }
.acr-stack { display: flex; flex-direction: column; gap: 24px; }
.acr-stack--sm { gap: 20px; }
.acr-stack--md { gap: 22px; }
.acr-stack--lg { gap: clamp(32px, 5vh, 56px); }
.acr-figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.acr-plate { width: 100%; border: 6px solid var(--panel); outline: 1px solid var(--rule); border-radius: var(--radius); filter: var(--plate-filter); }
.acr-graded { filter: var(--plate-filter); }

/* ── Menu fixe ────────────────────────────────────────────────────────── */

.acr-nav {
	position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 30;
	background: var(--nav-bg);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--rule);
}
.acr-nav--below-progress { --nav-top: 2px; }
.admin-bar .acr-nav { top: calc(var(--nav-top) + 32px); }
.acr-nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 14px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.acr-nav__logo { display: block; flex: none; }
.acr-nav__logo img { height: 36px; width: auto; }
.acr-nav__links { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 38px); flex-wrap: wrap; justify-content: flex-end; }
.acr-nav__link { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.acr-nav__link:hover { opacity: 1; color: var(--accent); }
@media (max-width: 600px) {
	.acr-nav__inner { gap: 12px; }
	.acr-nav__logo img { height: 28px; }
	.acr-nav__link { display: none; }
}

/* ── Barre de progression ─────────────────────────────────────────────── */

.ylc-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--rule); z-index: 31; }
.admin-bar .ylc-progress { top: 32px; }
.ylc-progress__bar { height: 100%; width: 0; background: var(--accent); }
@media (max-width: 782px) {
	.admin-bar .acr-nav { top: calc(var(--nav-top) + 46px); }
	.admin-bar .ylc-progress { top: 46px; }
}

/* ── Couverture ───────────────────────────────────────────────────────── */

.ylc-hero {
	min-height: 100vh;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: clamp(20px, 3vh, 34px);
	padding: clamp(110px, 17vh, 180px) var(--gutter) clamp(64px, 10vh, 110px);
	text-align: center;
	background: var(--hero-bg);
}
.ylc-hero__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 7.6vw, 104px); line-height: 1; letter-spacing: -0.015em; color: var(--ink-strong); }
.ylc-hero__sub { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(32px, 6vw, 84px); line-height: 1.04; color: var(--accent); }
.ylc-hero__lead { margin: 0; max-width: 56ch; font-size: 16.5px; line-height: 1.85; color: var(--muted); text-wrap: pretty; }
.ylc-hero__hand { font-size: 26px; }
.ylc-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.ylc-hero__actions:first-of-type { margin-top: 8px; }

/* ── Le livre ─────────────────────────────────────────────────────────── */

.ylc-book { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, 40%)), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ylc-book__spacer { height: clamp(48px, 9vh, 120px); }
.ylc-specs { margin: 0; display: flex; flex-direction: column; max-width: 60ch; }
.ylc-specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.ylc-specs dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.ylc-specs dd { margin: 0; font-family: var(--font-display); font-size: 18px; text-align: right; color: var(--ink); }
.ylc-credits { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ylc-credits > div { display: flex; flex-direction: column; gap: 10px; padding: 22px clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule); }
.ylc-credits dt { margin: 0; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.ylc-credits dd { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* ── Vidéo ────────────────────────────────────────────────────────────── */

.ylc-video { position: relative; border-top: 1px solid var(--rule); }
.ylc-bleed { width: 100%; height: var(--bleed-h); object-fit: cover; }
.ylc-video iframe { display: block; width: 100%; height: var(--bleed-h); border: 0; background: #000; }
.ylc-video__overlay { position: absolute; bottom: 0; left: 0; right: 0; }
.ylc-video__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 6vh, 64px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ylc-video__text { display: flex; flex-direction: column; gap: 12px; max-width: 52ch; }
.ylc-video__title { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); line-height: 1.14; color: var(--ink-strong); }

/* ── L'objet ──────────────────────────────────────────────────────────── */

.ylc-objet { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 48px); }
.ylc-objet__head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.ylc-objet__line { flex: 1; min-width: 40px; height: 1px; background: var(--rule); }
.ylc-objet__meta { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.ylc-objet__fig { max-width: 760px; width: 100%; margin: 0 auto; gap: 12px; }
.ylc-objet__img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ── Citation ─────────────────────────────────────────────────────────── */

.ylc-quote { margin: 0 auto; padding-top: clamp(56px, 9vh, 120px); padding-bottom: clamp(56px, 9vh, 120px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.ylc-quote blockquote { margin: 0; max-width: 30ch; font-family: var(--font-display); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; color: var(--ink-strong); text-wrap: balance; }

/* ── Carrousel des planches ───────────────────────────────────────────── */

.ylc-carousel { position: relative; }
.ylc-carousel:focus-visible { outline-offset: -2px; }
.ylc-carousel__stage { position: relative; width: 100%; height: var(--bleed-h); overflow: hidden; background: var(--panel); }
.ylc-carousel__track { display: flex; height: 100%; transition: transform 720ms cubic-bezier(0.4, 0, 0.2, 1); }
.ylc-carousel__slide { flex: 0 0 100%; height: 100%; }
.ylc-carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.ylc-carousel__scrim { position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(28, 22, 20, 0.85) 0%, transparent 100%); pointer-events: none; }
.ylc-carousel__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--accent); border-radius: var(--radius);
	background: var(--nav-bg); color: var(--accent);
	font-family: var(--font-display); font-size: 22px; line-height: 1; cursor: pointer;
}
.ylc-carousel__arrow:hover { background: var(--accent); color: var(--bg); }
.ylc-carousel__arrow--prev { left: clamp(12px, 2.5vw, 34px); }
.ylc-carousel__arrow--next { right: clamp(12px, 2.5vw, 34px); }
.ylc-carousel__dots { position: absolute; left: 0; right: 0; bottom: clamp(16px, 3vh, 32px); display: flex; justify-content: center; gap: 14px; }
.ylc-carousel__dots button { width: 26px; padding: 10px 0; border: 0; background: transparent; cursor: pointer; transition: width 300ms; }
.ylc-carousel__dots span { display: block; width: 100%; height: 2px; background: rgba(241, 239, 233, 0.35); transition: background 300ms; }
.ylc-carousel__dots [aria-current="true"] { width: 54px; }
.ylc-carousel__dots [aria-current="true"] span { background: var(--accent); }
.ylc-carousel__meta { padding-top: 22px; padding-bottom: clamp(56px, 8vh, 104px); display: flex; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; align-items: baseline; }
.ylc-carousel__label { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.ylc-carousel__caption { margin: 0; flex: 1; min-width: 260px; max-width: 62ch; font-size: 14px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.ylc-carousel__count { font-size: 11.5px; letter-spacing: 0.14em; color: var(--faint); }
@media (max-width: 600px) {
	.ylc-carousel__arrow { width: 40px; height: 40px; font-size: 18px; }
	.ylc-carousel__dots { gap: 8px; }
	.ylc-carousel__dots button { width: 16px; }
	.ylc-carousel__dots [aria-current="true"] { width: 32px; }
	.ylc-carousel__caption { min-width: 0; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ylc-carousel__track { transition: none; } }

/* ── L'éditeur ────────────────────────────────────────────────────────── */

.ylc-editeur__logo { margin: 0; }
.ylc-editeur__logo img { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.ylc-editeur__quote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--ink-strong); padding-top: 20px; border-top: 1px solid var(--rule); }
.ylc-editeur__quote.acr-no-rule { padding-top: 0; border-top: 0; }

/* ── Appel à souscrire ────────────────────────────────────────────────── */

.ylc-cta { background: var(--hero-bg); border-top: 1px solid var(--rule); }
.ylc-cta__inner { max-width: 1000px; margin: 0 auto; padding: clamp(64px, 11vh, 150px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.ylc-cta__inner--plain { padding-top: var(--section-y); padding-bottom: var(--section-y); gap: 24px; }
.ylc-cta__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink-strong); }
.ylc-cta__text { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.85; color: var(--muted); text-wrap: pretty; }
.ylc-cta__hand { font-size: 28px; }

/* ── Pied de page du livre ────────────────────────────────────────────── */

.ylc-footer { padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(40px, 7vh, 80px); display: flex; flex-direction: column; gap: 26px; }
.ylc-footer__top { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.ylc-footer__title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 3vw, 38px); line-height: 1.06; color: var(--ink-strong); }
.ylc-footer__title span { font-style: italic; font-size: 0.62em; color: var(--accent); }
.ylc-footer__house { margin: 0; max-width: 40ch; font-size: 13.5px; line-height: 1.8; color: var(--faint); }
.ylc-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11.5px; letter-spacing: 0.08em; color: var(--faint); }
.ylc-footer__bottom a { color: var(--faint); }
.ylc-footer__bottom a:hover { color: var(--accent); opacity: 1; }

/* ── Page de la maison ────────────────────────────────────────────────── */

.acr-house-hero { min-height: 86vh; gap: clamp(24px, 4vh, 40px); padding: clamp(120px, 18vh, 180px) var(--gutter) clamp(64px, 10vh, 110px); }
.acr-house-hero__logo { margin: 0; line-height: 0; }
.acr-house-hero__logo img { width: min(560px, 80vw); height: auto; margin: 0 auto; }
.acr-house-hero__lead { margin: 0; max-width: 34ch; font-style: italic; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; color: var(--ink-strong); text-wrap: balance; }
.acr-publishers { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.acr-publishers li { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.acr-founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.acr-portrait { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.acr-portrait--jvg { object-position: 62% top; }
.acr-founder__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; color: var(--ink-strong); }
.acr-awards__head { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; }
.acr-awards__titles { flex: 1 1 320px; }
.acr-medal { margin: 0; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.acr-medal img { width: clamp(160px, 18vw, 240px); aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); }
.acr-awards { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.acr-awards > div { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 36px); }
.acr-awards > div:first-child { padding-left: 0; }
.acr-awards > div + div { border-left: 1px solid var(--rule); }
.acr-awards dt { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px); font-weight: 300; line-height: 1; color: var(--accent); }
.acr-awards dd { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.acr-awards__book { font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; color: var(--ink-strong); }
.acr-awards__what { font-size: 14px; line-height: 1.7; color: var(--muted); }
@media (max-width: 700px) {
	.acr-awards > div { padding-left: 0; }
	.acr-awards > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}
.acr-house-book { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: 0; }
.acr-house-book span { font-style: italic; color: var(--accent); }
.acr-house-footer { padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(40px, 7vh, 80px); display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.acr-house-footer > img { height: 56px; width: auto; }
.acr-house-footer__contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.acr-house-footer__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.acr-house-footer__contact a { font-size: 15px; }
.acr-house-footer__contact .acr-house-footer__legal { font-size: 12px; color: var(--faint); }

/* ── En-tête collant (Souscription, CGV) ──────────────────────────────── */

.acr-bar { position: sticky; top: 0; z-index: 20; background: rgba(28, 22, 20, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.admin-bar .acr-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .acr-bar { top: 0; } }
.acr-bar__inner { max-width: 1240px; margin: 0 auto; padding: 14px clamp(20px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.acr-bar__back { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.acr-bar__title { font-family: var(--font-display); font-size: 20px; color: var(--ink-strong); }

/* ── CGV et mentions légales ──────────────────────────────────────────── */

.acr-legal { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) clamp(20px, 4vw, 56px) clamp(64px, 10vh, 120px); display: flex; flex-direction: column; gap: clamp(40px, 6vh, 64px); }
.acr-legal [id] { scroll-margin-top: 96px; }
.acr-legal__intro { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.acr-legal__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; color: var(--ink-strong); text-wrap: balance; }
.acr-legal__lead { margin: 0; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.acr-legal__cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.acr-toc { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 960px) { .acr-toc { position: sticky; top: 96px; } .admin-bar .acr-toc { top: 128px; } }
.acr-toc__group { display: flex; flex-direction: column; gap: 10px; }
.acr-toc__head { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.acr-toc a { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.acr-toc a:hover { color: var(--accent); opacity: 1; }
.acr-toc__n { font-variant-numeric: tabular-nums; color: rgba(241, 239, 233, 0.5); }

.acr-legal__body { flex: 1 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 14px; counter-reset: acr-art; }
.acr-legal__body h2 { margin: clamp(34px, 5vh, 58px) 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--ink-strong); }
.acr-legal__body > h2:first-child { margin-top: 0; }
.acr-legal__body h3 { margin: 22px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.acr-legal__body h2.acr-numbered ~ h3::before { counter-increment: acr-art; content: counter(acr-art, decimal-leading-zero); font-variant-numeric: tabular-nums; opacity: 0.6; margin-right: 10px; }
.acr-legal__body p { margin: 0; font-size: 15.5px; line-height: 1.8; text-align: justify; hyphens: auto; color: var(--muted); }
.acr-legal__body ul, .acr-legal__body ol { margin: 0; color: var(--muted); line-height: 1.8; }
.acr-legal__body .wp-block-table { margin: 0; }
.acr-legal__body table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule); table-layout: auto; }
.acr-legal__body td { padding: 12px 16px 12px 0; border: 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-strong); vertical-align: top; }
.acr-legal__body td:first-child { width: 200px; font-size: 14px; color: rgba(241, 239, 233, 0.6); }
.acr-legal__body mark.acr-todo { background: none; color: var(--accent); border-bottom: 1px dashed var(--accent); }
.acr-legal__updated { margin-top: 34px !important; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13px !important; line-height: 1.7; color: var(--faint) !important; text-align: left !important; }
@media (max-width: 520px) { .acr-legal__body td:first-child { width: 40%; } }

/* ── Souscription ─────────────────────────────────────────────────────── */

.acr-sub-wrap { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vh, 80px) clamp(20px, 4vw, 56px) clamp(64px, 10vh, 120px); }
.acr-sub { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.acr-sub__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: clamp(40px, 6vh, 56px); }
.acr-sub__intro { display: flex; flex-direction: column; gap: 18px; }
.acr-sub__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; color: var(--ink-strong); }
.acr-sub__lead { margin: 0; max-width: 56ch; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.acr-sub__print { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: 14px; color: var(--muted); }
.acr-sub__print .acr-btn { text-wrap: balance; }
.acr-sub__print-meta { opacity: 0.7; white-space: nowrap; }

.acr-step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.acr-step legend { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 0 0 14px; margin-bottom: 6px; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); color: var(--ink-strong); }
.acr-step__n { font-size: 14px; letter-spacing: 0.14em; color: var(--accent); font-variant-numeric: tabular-nums; }

.acr-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.acr-qty-row__text { display: flex; flex-direction: column; gap: 4px; }
.acr-qty-row__name { font-size: 16px; color: var(--ink-strong); }
.acr-qty-row__price { font-size: 13.5px; color: rgba(241, 239, 233, 0.6); }
.acr-qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.acr-qty__btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; font-family: inherit; }
.acr-qty__btn:hover { color: var(--accent); }
.acr-qty__btn:disabled { opacity: 0.35; cursor: default; color: var(--ink); }
.acr-qty__value { min-width: 40px; text-align: center; font-size: 17px; color: var(--ink-strong); }

.acr-grid { display: grid; gap: 18px; }
.acr-grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.acr-grid--160 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.acr-sub .form-row { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.acr-sub .acr-field--full { grid-column: 1 / -1; }
.acr-sub .form-row label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(241, 239, 233, 0.6); line-height: 1.4; }
.acr-sub .form-row label .required, .acr-sub .form-row label .optional { display: none; }
.acr-sub .acr-hint { letter-spacing: 0; text-transform: none; color: rgba(241, 239, 233, 0.55); }
.acr-sub .woocommerce-input-wrapper { display: block; }
.acr-sub input.input-text {
	width: 100%; padding: 13px 14px;
	border: 1px solid var(--line-strong); border-radius: var(--radius);
	background: transparent; color: var(--ink-strong);
	font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none;
}
.acr-sub input.input-text:focus { border-color: var(--accent); outline: none; }
.acr-sub input.input-text::placeholder { color: rgba(241, 239, 233, 0.38); }
.acr-sub input[type="checkbox"], .acr-sub input[type="radio"] { accent-color: var(--accent); }
.acr-sub .woocommerce-invalid input.input-text, .acr-sub .acr-invalid input.input-text { border-color: var(--error); }
.acr-err, .acr-sub .checkout-inline-error-message { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--error); margin: 0; }

.acr-shipbox { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--accent); border-radius: var(--radius); }
.acr-shipbox__label { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--ink-strong); }
.acr-shipbox__price { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.acr-check { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--ink-strong); cursor: pointer; }
.acr-check input { width: 18px; height: 18px; margin: 0; flex: none; }
.acr-gift { padding: 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: rgba(15, 35, 56, 0.5); }

/* Paiement express (Stripe) : bloc et séparateur dans le rythme de la page.
   Les champs de suivi de commande, invisibles, ne doivent pas compter comme un bloc. */
.acr-sub__main #wc-stripe-express-checkout-element { margin-top: 0 !important; }
.acr-sub__main > wc-order-attribution-inputs { display: contents; }
.acr-sub__main #wc-stripe-express-checkout-button-separator { margin: 0 !important; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }

/* Paiement (WooCommerce + Stripe) */
.acr-sub #payment { background: transparent; border-radius: 0; display: flex; flex-direction: column; gap: 20px; }
.acr-sub .wc_payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.acr-sub .wc_payment_method > label { font-size: 15.5px; color: var(--ink-strong); cursor: pointer; }
.acr-sub .wc_payment_method:only-child > input, .acr-sub .wc_payment_method:only-child > label { display: none; }
.acr-sub .payment_box { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.acr-sub .wc_payment_method:only-child .payment_box { margin-top: 0; }
.acr-sub .payment_box p { margin: 0 0 12px; }
.acr-sub .place-order { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.acr-sub .woocommerce-terms-and-conditions-wrapper { margin-top: 4px; }
.acr-sub .form-row label.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); cursor: pointer; letter-spacing: 0; text-transform: none; }
.acr-sub .woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.acr-sub .woocommerce-terms-and-conditions-checkbox-text a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.acr-sub #place_order {
	width: 100%; padding: 18px 30px;
	border: 1px solid var(--accent); border-radius: var(--radius);
	background: transparent; color: var(--accent);
	font: inherit; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
}
.acr-sub #place_order:hover { background: rgba(211, 177, 92, 0.12); }
.acr-sub #place_order:active { background: rgba(211, 177, 92, 0.22); }
.acr-alert { font-size: 13.5px; color: var(--error); margin-top: -36px; }
.acr-sub .blockUI.blockOverlay { background: var(--bg) !important; }

/* Messages WooCommerce */
.acr-sub-wrap .woocommerce-error, .acr-sub-wrap .woocommerce-message, .acr-sub-wrap .woocommerce-info, .acr-sub-wrap .woocommerce-NoticeGroup ul {
	list-style: none; margin: 0 0 32px; padding: 16px 18px;
	border: 1px solid var(--error); border-radius: var(--radius);
	color: var(--error); font-size: 14.5px; line-height: 1.6;
}
.acr-sub-wrap .woocommerce-message, .acr-sub-wrap .woocommerce-info { border-color: var(--accent); color: var(--ink); }
.acr-sub-wrap .woocommerce-NoticeGroup { flex-basis: 100%; }
.acr-sub-wrap .woocommerce-NoticeGroup .woocommerce-error { margin: 0; }

/* Récapitulatif */
.acr-recap { flex: 1 1 320px; min-width: 0; align-self: flex-start; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--rule); border-radius: var(--radius); }
@media (min-width: 960px) { .acr-recap { position: sticky; top: 96px; } .admin-bar .acr-recap { top: 128px; } }
.acr-recap__book { display: flex; gap: 16px; align-items: center; }
.acr-recap__book > div { display: flex; flex-direction: column; gap: 4px; }
.acr-recap__thumb { width: 92px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); outline: 1px solid var(--rule); filter: var(--plate-filter); flex: none; }
.acr-recap__title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; color: var(--ink-strong); }
.acr-recap__sub { font-size: 13px; color: rgba(241, 239, 233, 0.6); }
.acr-recap__rows { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.acr-recap__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.acr-recap__rows dt { font-size: 14.5px; color: var(--muted); }
.acr-recap__rows dd { margin: 0; font-size: 14.5px; color: var(--ink-strong); }
.acr-recap__rows dd.acr-gold { color: var(--accent); }
.acr-recap__rows .acr-recap__total { align-items: baseline; padding: 18px 0 0; border-bottom: 0; }
.acr-recap__total dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.acr-recap__total dd { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 44px); line-height: 1; }
.acr-recap__hand { font-size: 24px; }

/* Confirmation */
.acr-done { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vh, 80px) 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.acr-done__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; color: var(--ink-strong); }
.acr-done__text { margin: 0; max-width: 48ch; font-size: 16px; line-height: 1.85; color: var(--muted); text-wrap: pretty; }
.acr-done__hand { font-size: 28px; }

/* Gabarit de repli */
.acr-generic .acr-legal__body { max-width: 900px; }
