/*
 * Fabien recommande : CSS de la maquette C « atelier », branché sur les blocs.
 *
 * Pourquoi tant de CSS hors theme.json : la maquette repose sur des cartes
 * inclinées, des rubans adhésifs, des ombres décalées, une méthode épinglée et
 * des papiers qui s'envolent, que theme.json ne sait pas exprimer. Les couleurs,
 * polices et tailles viennent toutes des presets (alias ci-dessous) : changer
 * une couleur dans theme.json la change partout.
 * Les noms de classes reprennent ceux de la maquette pour garder la
 * correspondance ligne à ligne avec maquettes/c-atelier/styles.css.
 */

:root {
	--sand: var(--wp--preset--color--fond);
	--sand-2: var(--wp--preset--color--fond-alterne);
	--plum: var(--wp--preset--color--texte);
	--plum-soft: var(--wp--preset--color--texte-doux);
	--mustard: var(--wp--preset--color--accent);
	--sky: var(--wp--preset--color--ciel);
	--paper: var(--wp--preset--color--papier);
	--f-display: var(--wp--preset--font-family--titres);
	--f-body: var(--wp--preset--font-family--texte);
	--f-mono: var(--wp--preset--font-family--mono);
	--line: var(--wp--custom--trait);
	--shadow: var(--wp--custom--ombre);
	--radius: var(--wp--custom--rayon);
	--bounce: var(--wp--custom--rebond);
	--header-h: 64px;
	--check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 1024px) { :root { --header-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) :focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.bloc--echeance :focus-visible, .bloc--duels :focus-visible, .bloc--footer :focus-visible,
.sit--plum :focus-visible, .bloc--marquee :focus-visible { outline-color: var(--mustard); }

/* Pas d'espace entre en-tête, contenu et pied de page (blockGap sur .wp-site-blocks). */
body .wp-site-blocks > * + * { margin-block-start: 0; }
/* Les sections composées dans une page se touchent, comme dans la maquette. */
body .wp-block-post-content > .bloc, body main .bloc { margin-block: 0; }
h1, h2, h3 { letter-spacing: .005em; }

/* Dans les sections de la maquette, l'espacement vient de la maquette, pas de blockGap.
   Les zones de texte libre (.bloc--texte) gardent l'espacement de theme.json. */
body .bloc:not(.bloc--texte) :where(.is-layout-flow, .is-layout-constrained) > *,
body .bloc:not(.bloc--texte).is-layout-flow > *,
body .bloc:not(.bloc--texte).is-layout-constrained > *,
body .site-header :where(.is-layout-flow, .is-layout-constrained) > * { margin-block-start: 0; margin-block-end: 0; }
.bloc:not(.bloc--texte) ul.wp-block-list, .bloc:not(.bloc--texte) ol.wp-block-list, .bloc--footer ul { padding: 0; margin: 0; list-style: none; }
/* Pages de texte : puces carrées du style « Puces carrées », comme dans les articles. */
.bloc--texte ul.is-style-puces { display: flex; flex-direction: column; gap: .55rem; padding: 0; list-style: none; }
.bloc--texte ul.is-style-puces li { position: relative; margin: 0; padding-left: 1.8rem; }
.bloc--texte ul.is-style-puces li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 12px; height: 12px; background: var(--mustard); border: 2px solid var(--plum); border-radius: 3px; transform: rotate(8deg); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sections ---------- */
.bloc { position: relative; padding-block: 4rem; }
@media (min-width: 720px) { .bloc { padding-block: 5.5rem; } }

h1, h2 { text-wrap: balance; }
.bloc__head { position: relative; margin-bottom: 3.4rem !important; max-width: 56rem; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w__i { display: inline-block; will-change: transform; }
.bloc__head .sub { margin-top: 1rem !important; font-size: 1.1rem; }
.kicker {
	display: inline-block; font-family: var(--f-mono); font-size: .8rem; font-weight: 700; line-height: 1.6;
	text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem !important;
	padding: .3rem .7rem; background: var(--mustard); color: var(--plum);
	border: 2px solid var(--plum); border-radius: 6px; transform: rotate(-1.5deg);
}
.kicker--plum { background: var(--plum); color: var(--sand); }

/* ---------- Boutons (bloc Bouton) ---------- */
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 52px; text-align: center; text-decoration: none; cursor: pointer;
	transition: box-shadow .18s ease, background-color .18s ease; will-change: transform;
}
.wp-block-button__link:active { box-shadow: 1px 1px 0 var(--plum); }
.is-style-papier > .wp-block-button__link { background: var(--paper); }
.is-style-prune > .wp-block-button__link { background: var(--plum); color: var(--sand); box-shadow: 4px 4px 0 var(--mustard); }
.is-style-prune > .wp-block-button__link:hover { box-shadow: 7px 7px 0 var(--mustard); }
.is-style-petit > .wp-block-button__link { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; box-shadow: 3px 3px 0 var(--plum); }
.is-style-petit > .wp-block-button__link:hover { box-shadow: 6px 6px 0 var(--plum); }
.is-style-lien > .wp-block-button__link,
.is-style-lien-affilie > .wp-block-button__link {
	min-height: 44px; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0;
	color: inherit; text-decoration: underline; text-align: left; justify-content: flex-start;
}
.is-style-lien > .wp-block-button__link { font-weight: 800; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.is-style-lien-affilie > .wp-block-button__link { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.is-style-lien > .wp-block-button__link:hover, .is-style-lien-affilie > .wp-block-button__link:hover { box-shadow: none; text-decoration-thickness: 3px; }
.cq-fleche > .wp-block-button__link::after {
	content: ""; width: 1.2em; height: 1.2em; flex: none; background: currentColor;
	-webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}

/* Boutons écrits par les blocs du thème (sélecteur) : même dessin. */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px;
	background: var(--mustard); color: var(--plum);
	border: var(--line) solid var(--plum); box-shadow: 4px 4px 0 var(--plum);
	font: 800 1rem/1.2 var(--f-body); text-decoration: none; text-align: center;
	cursor: pointer; transition: box-shadow .18s ease, background-color .18s ease; will-change: transform;
}
.btn:hover { box-shadow: 7px 7px 0 var(--plum); }
.btn:active { box-shadow: 1px 1px 0 var(--plum); }
.btn--paper { background: var(--paper); }
.btn--small { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; box-shadow: 3px 3px 0 var(--plum); }
.aff { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.aff:hover { text-decoration-thickness: 3px; }

/* ---------- En-tête ---------- */
header.wp-block-template-part:has(.site-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.site-header { background: var(--sand); border-bottom: var(--line) solid var(--plum); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; line-height: 1; color: var(--plum); flex: none; }
.logo__txt { display: flex; flex-direction: column; gap: .25rem; }
.logo__name { font-family: var(--f-display); font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.logo__sub { font-family: var(--f-mono); font-size: .62rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo em { font-style: normal; background: var(--mustard); padding: 0 .3rem; border-radius: 6px; box-decoration-break: clone; }
@media (max-width: 719px) { .logo__mark { width: 32px; height: 32px; } .logo__name { font-size: 1.15rem; } }

/* Menu : burger rond moutarde jusqu'à 1023 px, une ligne au-delà. */
.site-header .wp-block-navigation__responsive-container-open {
	width: 48px; height: 48px; border: var(--line) solid var(--plum); border-radius: 50%;
	background: var(--mustard); color: var(--plum); align-items: center; justify-content: center;
}
@media (max-width: 599px) { .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.site-header .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
@media (min-width: 600px) and (max-width: 1023px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
	.site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* Menu ouvert : panneau qui se déroule sous l'en-tête, comme la maquette (pas de plein écran). */
.site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--header-h) + var(--line)); bottom: auto;
	max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--header-h)); overflow-y: auto;
	background: var(--sand); color: var(--plum); padding: 0 var(--wp--preset--spacing--gouttiere) 1rem;
	border-bottom: var(--line) solid var(--plum); animation: none;
}
.site-header .is-menu-open .wp-block-navigation__responsive-dialog, .site-header .is-menu-open .wp-block-navigation__responsive-close { margin: 0; max-width: none; }
.site-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0 !important; align-items: stretch; }
.site-header .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 0 !important; width: 100%; margin-bottom: 1rem; }
.site-header .is-menu-open .wp-block-navigation__responsive-container-content { gap: 0 !important; }
.site-header .is-menu-open .wp-block-navigation-item { width: 100%; }
.site-header .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: .8rem 0 !important; font-weight: 700; font-size: 1.0625rem; line-height: 1.6; text-decoration: none; border-bottom: 2px dashed var(--plum); }
.site-header .is-menu-open .wp-block-navigation-item__content:hover { background: var(--sand-2); }
.site-header .is-menu-open .nav__cta { width: 100%; }
.site-header .is-menu-open .nav__cta .wp-block-button, .site-header .is-menu-open .nav__cta .wp-block-button__link { width: 100%; }
/* La croix prend la place du bouton rond, dans l'en-tête resté visible. */
.site-header .wp-block-navigation__responsive-container-close {
	position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + (var(--header-h) - 48px) / 2); right: var(--wp--preset--spacing--gouttiere);
	width: 48px; height: 48px; border-radius: 50%; background: var(--mustard); border: var(--line) solid var(--plum); color: var(--plum);
	display: inline-flex; align-items: center; justify-content: center;
}
.site-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.2px; }
@media (min-width: 1024px) {
	.site-header .wp-block-navigation__container { gap: clamp(.55rem, 1.2vw, 1.1rem); }
	.site-header .wp-block-navigation { gap: clamp(.55rem, 1.2vw, 1.2rem); }
	.site-header .wp-block-navigation-item__content { padding: .4rem 0; font-weight: 700; font-size: .88rem; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 3px; }
	.site-header .wp-block-navigation-item__content:hover { text-decoration-color: var(--mustard); }
	.site-header .nav__cta .wp-block-button__link { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.logo__sub { display: none; }
	.logo__name { font-size: 1.15rem; }
	.site-header .wp-block-navigation-item__content { font-size: .78rem; }
	.site-header .nav__cta .wp-block-button__link { padding: .4rem .7rem; font-size: .8rem; min-height: 42px; }
}

/* ---------- Héros ---------- */
.bloc.bloc--hero { padding-block: 2.5rem 0; overflow: clip; }
.hero__in { position: relative; display: grid; gap: 3rem; align-items: center; padding-bottom: 4rem; }
.hero__txt { position: relative; z-index: 3; max-width: 44rem; }
.eyebrow {
	display: inline-block; font-family: var(--f-mono); font-size: .8rem; font-weight: 700; line-height: 1.45;
	background: var(--sky); border: 2px solid var(--plum); border-radius: 14px; padding: .45rem .8rem; margin-bottom: 1.4rem !important;
	transform: rotate(-1deg);
}
.bloc--hero h1 { position: relative; }
.lead { font-size: 1.15rem; margin-top: 1.5rem !important; max-width: 38rem; font-weight: 500; }
.bloc .hero__cta { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem !important; }
.hero__cta .wp-block-button, .hero__cta .wp-block-button__link { width: 100%; }
.proofs { display: flex; flex-direction: column; gap: .6rem; margin-top: 2rem !important; font-weight: 700; }
.proofs li { position: relative; display: flex; align-items: center; gap: .6rem; }
.proofs li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--mustard); border: 2px solid var(--plum); }
.proofs li::after { content: ""; position: absolute; left: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--plum); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
@media (min-width: 720px) {
	.bloc .hero__cta { flex-direction: row; flex-wrap: wrap; }
	.hero__cta .wp-block-button, .hero__cta .wp-block-button__link { width: auto; }
	.proofs { flex-direction: row; flex-wrap: wrap; gap: .8rem 1.8rem; }
}
@media (min-width: 1024px) {
	.bloc.bloc--hero { padding-top: 3rem; }
	.hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; padding-bottom: 5rem; }
}

/* Feuilles */
.hero__visual { position: relative; z-index: 2; padding: 2.4rem .4rem 6.4rem; }
.sheets { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 900px; --k: .62; }
.sheet { position: absolute; left: var(--x); top: var(--y); width: calc(var(--w) * var(--k)); }
/* Sur ordinateur, une feuille peut avoir sa propre position (--xd) pour s'écarter du texte sous la vidéo. */
@media (min-width: 1024px) { .sheet { left: var(--xd, var(--x)); } }
/* Sur téléphone et tablette, une feuille peut descendre (--ym) pour laisser le lien vers la chaîne lisible. */
@media (max-width: 1023px) { .sheet { top: var(--ym, var(--y)); } }
.sheet__m, .sheet__in { will-change: transform; }
.sheet__in { transform: rotate(var(--r)); filter: drop-shadow(4px 5px 0 var(--plum)); }
.paper {
	position: relative; aspect-ratio: 3 / 4; background: var(--paper); padding: 12% 11%;
	display: flex; flex-direction: column; gap: 9%; overflow: hidden;
	clip-path: polygon(0 1.2%, 6% 0, 31% 1.4%, 64% 0, 100% 1%, 99% 38%, 100% 71%, 98.4% 100%, 52% 98.8%, 22% 100%, 0 98.6%, 1.2% 52%);
}
.paper--b { clip-path: polygon(1% 0, 40% 1.5%, 73% 0, 99% 1.2%, 100% 46%, 98.6% 99%, 70% 100%, 35% 98.6%, 2% 100%, 0 62%, 1.4% 30%); }
.tag { font-family: var(--f-mono); font-size: clamp(.5rem, .9vw, .72rem); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--mustard); border: 1.5px solid var(--plum); padding: .15em .45em; align-self: flex-start; line-height: 1.2; }
.tag--sky { background: var(--sky); }
.bars, .rows { display: flex; flex-direction: column; gap: 9px; }
.bars i, .rows i { display: block; height: 5px; background: var(--plum); opacity: .8; border-radius: 3px; }
.bars i:nth-child(1) { width: 100%; } .bars i:nth-child(2) { width: 82%; } .bars i:nth-child(3) { width: 92%; } .bars i:nth-child(4) { width: 60%; }
.rows i { height: 7px; background: var(--sky); border: 1px solid var(--plum); }
.rows i:nth-child(odd) { width: 100%; } .rows i:nth-child(even) { width: 88%; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.grid i { height: 12px; border: 1.5px solid var(--plum); background: var(--paper); }
.total { margin-top: auto; height: 14px; width: 55%; align-self: flex-end; background: var(--mustard); border: 1.5px solid var(--plum); }
.stamp { position: absolute; right: 8%; bottom: 10%; font-family: var(--f-mono); font-weight: 700; font-size: clamp(.55rem, 1vw, .8rem); text-transform: uppercase; color: var(--plum); border: 2px solid var(--plum); padding: .1em .4em; transform: rotate(-14deg); background: var(--mustard); }
@media (min-width: 720px) { .sheets { --k: .85; } }
@media (min-width: 1024px) { .hero__visual { padding: 3.6rem 3.4rem 7rem; } .sheets { --k: 1.05; } }
@media (max-width: 719px) { .sheets { --k: .5; } .hero__visual { padding: 2.2rem 0 4.6rem; } }

/* Écran vidéo (bloc Vidéo lue sur place) */
.cq-video { position: relative; z-index: 5; }
.screen { position: relative; display: block; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 18px; box-shadow: 9px 9px 0 var(--plum); transform: rotate(1.5deg); overflow: hidden; }
.screen__bar { display: flex; align-items: center; gap: 6px; padding: .5rem .8rem; background: var(--mustard); border-bottom: var(--line) solid var(--plum); font-family: var(--f-mono); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.screen__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--plum); }
.screen__bar span { margin-left: auto; }
.screen__view, .vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--plum); overflow: hidden; }
.screen__view picture, .vcard__thumb picture { position: absolute; inset: 0; }
.screen__view img, .vcard__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen__fallback { position: absolute; inset: 0; display: grid; place-items: start start; padding: 1rem; font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); line-height: 1.05; color: var(--sand); }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--mustard); color: var(--plum); border: var(--line) solid var(--plum); box-shadow: 3px 3px 0 var(--plum); display: grid; place-items: center; transition: transform .25s var(--bounce); }
.play svg { width: 30px; height: 30px; margin-left: 3px; }
.vcard__thumb:hover .play, .screen__play:hover .play { transform: scale(1.12) rotate(-6deg); }
.dur { position: absolute; right: 8px; bottom: 8px; font-family: var(--f-mono); font-size: .8rem; font-weight: 700; background: var(--plum); color: var(--sand); padding: .15rem .5rem; border-radius: 6px; }
.screen__cap { margin: 0 !important; display: block; padding: .8rem 1rem 1rem; font-weight: 800; line-height: 1.3; color: var(--plum); }
.screen__view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--plum); }
.screen__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; color: inherit; }
.screen__play:focus-visible { outline: 4px solid var(--plum); outline-offset: -8px; border-radius: 0; }
.screen__more { position: relative; z-index: 5; margin-top: 1.1rem !important; }
.screen__more a { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 719px) { .play { width: 54px; height: 54px; margin: -27px 0 0 -27px; } }

/* Bandeau défilant */
.bloc--marquee { background: var(--mustard); border-top: var(--line) solid var(--plum); overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.bloc .marquee__group { display: flex; flex: none; align-items: center; }
.marquee__group li {
	font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 2.5vw, 3rem); padding: .7rem 1.4rem; white-space: nowrap;
	display: inline-flex; align-items: center; gap: 2.8rem;
}
.marquee__group li::after { content: ""; width: .6em; height: .6em; background: var(--plum); border-radius: 50%; flex: none; }

/* ---------- Tests en vidéo : étiquettes collées ---------- */
.bloc--tests { background: var(--sand-2); border-block: var(--line) solid var(--plum); }
.tests, .articles { display: grid; gap: 2rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.tests > li, .articles > li { display: flex; }
.vcard { position: relative; display: flex; flex-direction: column; gap: .7rem; width: 100%; padding: .9rem .9rem 1.2rem; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 16px; box-shadow: var(--shadow); transition: transform .3s var(--bounce), box-shadow .25s ease; }
.tests > li:nth-child(odd) .vcard { transform: rotate(-.6deg); }
.tests > li:nth-child(even) .vcard { transform: rotate(.6deg); }
.vcard::before { content: ""; position: absolute; top: -13px; left: 50%; width: 80px; height: 24px; margin-left: -40px; background: var(--mustard); border: 2px solid var(--plum); transform: rotate(-3deg); z-index: 2; transition: transform .3s var(--bounce); transform-origin: 0 50%; }
.tests > li:nth-child(3n+2) .vcard::before { background: var(--sky); transform: rotate(4deg); }
.tests > li:nth-child(3n) .vcard::before { background: var(--paper); }
.tests > li .vcard:hover { transform: rotate(0) translateY(-6px); box-shadow: 9px 11px 0 var(--plum); }
.vcard:hover::before { transform: rotate(-24deg) translate(-26px, -6px); }
.vcard__thumb { border: 2px solid var(--plum); border-radius: 10px; background: var(--sky); }
.vcard__thumb img { transition: transform .4s ease; }
.vcard:hover .vcard__thumb img { transform: scale(1.05); }
.tests > li:nth-child(4n+2) .vcard__thumb { background: var(--mustard); }
.tests > li:nth-child(4n+3) .vcard__thumb { background: var(--sand); }
.tests > li:nth-child(4n) .vcard__thumb { background: var(--plum); }
.tests > li:nth-child(4n) .thumb__fb { color: var(--sand); }
.thumb__fb { position: absolute; inset: 0; display: grid; place-items: start start; padding: .9rem 1rem; font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1; color: var(--plum); }
.vcard__cat, .acard__vid { align-self: flex-start; font-family: var(--f-mono); font-size: .72rem; font-weight: 700; line-height: 1.6; text-transform: uppercase; letter-spacing: .06em; background: var(--sky); border: 2px solid var(--plum); padding: .1rem .5rem; border-radius: 6px; }
.vcard__cat a { text-decoration: none; }
.vcard__cat a:hover { text-decoration: underline; }
.vcard .wp-block-post-title { font-size: 1.25rem; line-height: 1.12; }
.vcard__lire.wp-block-read-more {
	align-self: flex-start; margin-top: auto !important; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem;
	border-radius: 999px; background: var(--mustard); color: var(--plum); border: var(--line) solid var(--plum); box-shadow: 3px 3px 0 var(--plum);
	font-weight: 800; font-size: .95rem; text-decoration: none; transition: box-shadow .18s ease;
}
.vcard__lire.wp-block-read-more:hover { box-shadow: 6px 6px 0 var(--plum); }
.bloc .tests__cta { margin-top: 2.6rem !important; }
.tests__cta .wp-block-buttons { gap: 1rem 1.6rem; align-items: center; }
@media (min-width: 720px) { .tests { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tests { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Échéance ---------- */
.bloc--echeance { background: var(--plum); color: var(--sand); overflow: clip; }
.echeance__in { display: grid; gap: 2.5rem; align-items: center; }
.echeance__txt { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.echeance__txt h2 { font-size: clamp(1.7rem, 1rem + 3vw, 3.2rem); }
.echeance__txt p { font-size: 1.1rem; max-width: 38rem; }
.pilllinks { display: flex; flex-wrap: wrap; gap: .7rem; }
.pilllinks a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 2px solid var(--sand); border-radius: 999px; font-weight: 700; text-decoration: none; }
.pilllinks a:hover { background: var(--mustard); color: var(--plum); border-color: var(--mustard); }
.countdown { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; background: var(--mustard); color: var(--plum); border: var(--line) solid var(--sand); border-radius: 28px; padding: 1.2rem 1rem 1rem; transform: rotate(-2deg); box-shadow: 8px 8px 0 var(--sky); }
.countdown__j, .countdown__n { font-family: var(--f-display); line-height: .9; font-size: clamp(5rem, 3rem + 14vw, 13rem); }
.countdown__n { font-variant-numeric: tabular-nums; display: inline-block; }
.countdown__lbl { flex-basis: 100%; text-align: center; margin-top: .6rem; font-family: var(--f-mono); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 1024px) { .echeance__in { grid-template-columns: 1.2fr 1fr; } }

/* ---------- Situations : cartes empilées ---------- */
.bloc--situations { padding-bottom: 6rem; }
.stack { display: flex; flex-direction: column; gap: 1.5rem; }
.sit {
	--i: 0; position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 12px);
	display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
	padding: 1.4rem 1.2rem; border: var(--line) solid var(--plum); border-radius: var(--radius);
	box-shadow: var(--shadow); transform-origin: 50% 0;
}
.sit:nth-child(2) { --i: 1; } .sit:nth-child(3) { --i: 2; } .sit:nth-child(4) { --i: 3; } .sit:nth-child(5) { --i: 4; }
.sit--sky { background: var(--sky); }
.sit--mustard { background: var(--mustard); }
.sit--paper { background: var(--paper); }
.sit--plum { background: var(--plum); color: var(--sand); box-shadow: 5px 5px 0 var(--mustard); }
.sit__num { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 6vw, 8rem); line-height: .85; }
.sit__body { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.bloc .sit__sous { font-family: var(--f-mono); font-size: .8rem; font-weight: 400; line-height: 1; letter-spacing: .02em; margin-top: -.4rem !important; }
.sit__body p { font-size: 1.05rem; max-width: 36rem; }
.sit__link a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; min-height: 44px; }
.sit__link a::after { content: ""; width: 1.2em; height: 1.2em; flex: none; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.sit--plum .sit__link a { color: var(--mustard); }
@media (min-width: 720px) { .bloc--situations { padding-bottom: 5.5rem; } }
@media (min-width: 720px) { .sit { grid-template-columns: 9rem 1fr; padding: 2rem; min-height: 16rem; top: calc(var(--header-h) + 24px + var(--i) * 18px); } }

/* ---------- Méthode : section phare ---------- */
.bloc.bloc--methode { background: var(--sand-2); border-block: var(--line) solid var(--plum); padding: 0; }
.methode__pin { position: relative; z-index: 4; padding-block: 4rem; }
.methode__body { position: relative; }
.mline { position: absolute; left: 26px; top: 8px; bottom: 8px; width: 4px; background: color-mix(in srgb, var(--plum) 20%, transparent); border-radius: 2px; }
.mline i { display: block; width: 100%; height: 100%; background: var(--plum); border-radius: 2px; transform-origin: 50% 0; }
.msteps { display: flex; flex-direction: column; gap: 1.6rem; }
.mstep { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: .6rem 1rem; align-items: start; }
.mstep__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: var(--line) solid var(--plum); font-family: var(--f-display); font-size: 1.6rem; line-height: 1; position: relative; z-index: 1; }
.mstep__txt { padding-right: 2.9rem; }
.mstep__txt p { margin-top: .5rem !important; max-width: 36rem; }
.wp-block-cq-etape-visuel { display: contents; }
.mstep__ck { position: absolute; right: 0; top: -6px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--mustard); border: var(--line) solid var(--plum); border-radius: 10px; transform: rotate(6deg); }
.mstep__ck svg { width: 26px; height: 26px; }
.mvis { grid-column: 1 / -1; margin-left: 72px; }
.mv-win { background: var(--paper); border: var(--line) solid var(--plum); border-radius: 14px; box-shadow: 4px 4px 0 var(--plum); overflow: hidden; }
.mv-bar { display: flex; gap: 6px; padding: .45rem .7rem; background: var(--mustard); border-bottom: var(--line) solid var(--plum); }
.mv-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--plum); }
.mv-body { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; padding: 1rem; }
.mv-player { position: relative; aspect-ratio: 16 / 7; background: var(--sky); display: grid; place-items: center; border-bottom: 2px solid var(--plum); }
.play--sm { position: static; margin: 0; width: 46px; height: 46px; }
.play--sm svg { width: 22px; height: 22px; }
.mv-track { position: relative; height: 12px; margin: 2.2rem 1rem 1.2rem; background: var(--sand-2); border: 2px solid var(--plum); border-radius: 8px; }
.mv-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; background: var(--plum); border-radius: 6px; }
.mv-head { position: absolute; left: 60%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--mustard); border: 2.5px solid var(--plum); }
.mv-mark { position: absolute; left: var(--p); bottom: 18px; transform: translateX(-50%); font-family: var(--f-mono); font-size: .66rem; font-weight: 700; text-transform: uppercase; background: var(--sky); border: 2px solid var(--plum); padding: .05rem .35rem; border-radius: 5px; white-space: nowrap; }
.mv-mark::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 10px; background: var(--plum); }
.crit { display: flex; flex-direction: column; gap: .55rem; padding: 1rem; margin: 0; list-style: none; font-weight: 700; }
.crit li { display: flex; align-items: center; gap: .7rem; }
.crit__box { display: grid; place-items: center; width: 28px; height: 28px; border: 2.5px solid var(--plum); border-radius: 7px; background: var(--mustard); flex: none; }
.crit__box svg { width: 18px; height: 18px; }
.upd { display: flex; flex-direction: column; gap: .9rem; padding: 1rem; }
.upd__row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0; }
.upd__lbl { font-family: var(--f-mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; min-width: 6.5rem; }
.upd__val { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-weight: 700; }
.upd__old { opacity: .7; text-decoration-thickness: 3px; }
.upd__new { background: var(--mustard); padding: .1rem .5rem; border: 2px solid var(--plum); border-radius: 6px; font-weight: 800; }
.upd__old2, .upd__new2 { display: block; width: 90px; padding: 6px 0; border-radius: 6px; text-decoration: line-through; }
.upd__old2 i, .upd__new2 i { display: block; height: 10px; border-radius: 5px; background: var(--plum); }
.upd__old2 { opacity: .6; position: relative; }
.upd__old2::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; background: var(--plum); transform: rotate(-6deg); }
.upd__new2 i { background: var(--mustard); border: 2px solid var(--plum); height: 14px; }
.msheet { display: none; }

/* Méthode épinglée (ordinateur, mouvement autorisé : classe posée par motion.js) */
.mpin-on .methode__pin { height: 100svh; padding-block: calc(var(--header-h) + .8rem) 1.2rem; display: flex; align-items: center; }
.mpin-on .methode__wrap { display: flex; flex-direction: column; gap: 1.4rem; width: 100%; }
.mpin-on .bloc--methode .bloc__head { margin-bottom: 0 !important; }
.mpin-on .bloc--methode .bloc__head h2 { font-size: clamp(1.8rem, 1rem + 2.2vw, 3rem); }
.mpin-on .bloc--methode .bloc__head .kicker { margin-bottom: .6rem !important; }
.mpin-on .methode__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: stretch; }
.mpin-on .msteps { gap: .5rem; padding-left: 1.6rem; }
.mpin-on .mline { left: 0; top: 0; bottom: 0; width: 6px; }
.mpin-on .mstep { grid-template-columns: auto 1fr; gap: 0 1.1rem; padding: .35rem 3.2rem .35rem 0; align-items: center; }
.mpin-on .mstep__n { width: 4.6rem; height: 4.6rem; font-size: 2.8rem; background: transparent; border-color: transparent; }
.mpin-on .mstep__txt { padding-right: 0; }
.mpin-on .mstep__txt h3 { font-size: 1.35rem; }
.mpin-on .mstep__txt p { margin-top: .25rem !important; font-size: .93rem; line-height: 1.4; }
.mpin-on .mstep__ck { top: 50%; margin-top: -20px; }
.mpin-on .msheet { display: block; min-height: 20rem; }
.mpin-on .mvis { z-index: 6; position: absolute; grid-column: auto; margin: 0; left: calc(50% + 1rem); right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 8% 7%; transform-origin: 50% 0; }
.mpin-on .mv-win { width: 100%; }
/* La section épinglée garde toute la largeur (pin-spacer inséré par GSAP). */
.pin-spacer { max-width: none !important; }
@media (max-width: 899px) { .mpin-on .methode__pin { height: auto; } }

/* ---------- Sélecteur ---------- */
.bloc--selecteur { background: var(--sky); border-block: var(--line) solid var(--plum); }
.selecteur__grid { display: grid; gap: 2rem; }
.quiz-col { display: flex; flex-direction: column; gap: 1.2rem; }
.quiz { display: flex; flex-direction: column; gap: 1.6rem; }
.quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz legend { display: flex; align-items: center; gap: .7rem; font-family: var(--f-display); font-size: 1.5rem; margin-bottom: .9rem; padding: 0; }
.qn { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--plum); color: var(--sky); font-size: 1.1rem; flex: none; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1.1rem; border: var(--line) solid var(--plum); border-radius: 999px; background: var(--paper); font-weight: 700; transition: background-color .15s ease, box-shadow .15s ease; box-shadow: 3px 3px 0 var(--plum); }
.pills input:hover + span { background: var(--sand); }
.pills input:checked + span { background: var(--plum); color: var(--paper); box-shadow: 3px 3px 0 var(--mustard); }
.pills input:focus-visible + span { outline: 3px solid var(--plum); outline-offset: 3px; }
.result { position: relative; background: var(--paper); border: var(--line) solid var(--plum); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.2rem; min-height: 16rem; display: flex; flex-direction: column; justify-content: center; transform: rotate(.8deg); }
.result p { margin: 0; }
.result__empty { font-weight: 600; }
.result__card { transform-origin: 50% 50%; display: flex; flex-direction: column; align-items: flex-start; }
.result__card[hidden], .result__alt[hidden], .result__empty[hidden], .quiz__back[hidden] { display: none; }
.result .kicker { margin-bottom: .6rem !important; }
.result__name { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 6vw, 6rem); line-height: .95; }
.result__status { display: inline-block; margin-top: .6rem !important; font-family: var(--f-mono); font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border: 2px solid var(--plum); border-radius: 999px; }
.result__status.is-mine { background: var(--plum); color: var(--sand); }
.result__status.is-study { background: var(--paper); border-style: dashed; }
.result__verdict { margin-top: .8rem !important; font-size: 1.15rem; font-weight: 600; }
.result__alt { margin-top: .6rem !important; font-family: var(--f-mono); font-size: .85rem; font-weight: 700; }
.result__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; margin-top: 1.4rem; }
.result__note { margin-top: 1.2rem !important; font-size: .9rem; border-top: 2px dashed var(--plum); padding-top: .8rem; align-self: stretch; }
.qprog { display: none; }
.quiz-js .qprog { display: flex; flex-direction: column; gap: .5rem; }
.qprog__t { font-family: var(--f-mono); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.qprog__bar { display: block; height: 14px; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 999px; overflow: hidden; }
.qprog__bar i { display: block; height: 100%; width: 33.33%; background: var(--plum); border-radius: 999px; }
.quiz-js .quiz fieldset { display: none; }
.quiz-js .quiz fieldset.is-current { display: block; }
.quiz__back { align-self: flex-start; }
@media (min-width: 1024px) {
	.selecteur__grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
	.result { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Recommandations ---------- */
.recos__head { display: none; }
.recos { display: flex; flex-direction: column; gap: 1.4rem; }
.reco {
	position: relative; display: grid; gap: .9rem; padding: 1.3rem 1.1rem; background: var(--paper);
	border: var(--line) solid var(--plum); border-radius: 18px; box-shadow: var(--shadow);
	transition: transform .3s var(--bounce), box-shadow .25s ease;
}
.reco:nth-child(odd) { transform: rotate(-.5deg); }
.reco:nth-child(even) { transform: rotate(.5deg); }
.reco::before { content: ""; position: absolute; top: -13px; left: 24px; width: 74px; height: 24px; background: var(--mustard); border: 2px solid var(--plum); transform: rotate(-4deg); z-index: 1; transition: transform .3s var(--bounce); }
.reco:nth-child(even)::before { left: auto; right: 24px; background: var(--sky); transform: rotate(3deg); }
.reco:hover { transform: rotate(0) translateX(6px); box-shadow: 9px 9px 0 var(--plum); }
.reco:hover::before { transform: rotate(-12deg) translateY(-3px); }
.lbl { display: block; font-family: var(--f-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem !important; }
.reco__cat { font-weight: 700; }
.reco__nom { font-family: var(--f-display); font-size: 2rem; line-height: 1.22; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .75rem; font-weight: 700; line-height: 1.25; padding: .3rem .65rem; border: 2px solid var(--plum); border-radius: 8px; transform: rotate(-1.5deg); }
.status--mine { background: var(--plum); color: var(--sand); }
.status--trial { background: var(--sky); }
.status--study { background: var(--paper); border-style: dashed; }
.bloc .reco__act { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; }
@media (min-width: 1024px) {
	.recos__head, .reco { grid-template-columns: 1fr .9fr 1.1fr 1.5fr 1.3fr 1.3fr; gap: 1rem; align-items: center; }
	.recos__head { display: grid; padding: 0 1.1rem .8rem; margin-bottom: 0 !important; font-family: var(--f-mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
	.reco { padding: 1.2rem 1.1rem; }
	.reco .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.bloc .reco__act { flex-direction: column; align-items: flex-start; }
}

/* ---------- Duels ---------- */
.bloc--duels { background: var(--plum); color: var(--sand); overflow: clip; }
.duels { display: grid; gap: 1.2rem; }
.duel { position: relative; display: block; height: 100%; min-height: 11rem; padding: 1.4rem 1.2rem; border: var(--line) solid var(--sand); border-radius: var(--radius); color: var(--plum); overflow: hidden; transition: transform .25s var(--bounce), box-shadow .2s ease; box-shadow: 5px 5px 0 var(--mustard); }
.duel--sky { background: var(--sky); } .duel--mustard { background: var(--mustard); box-shadow: 5px 5px 0 var(--sky); } .duel--paper { background: var(--paper); }
.duel__tag { display: inline-block; margin-bottom: .8rem !important; font-family: var(--f-mono); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border: 2px solid var(--plum); background: var(--paper); padding: .1rem .5rem; border-radius: 6px; }
.duel--paper .duel__tag { background: var(--mustard); }
.duel h3 { max-width: 85%; }
.duel h3 a { text-decoration: none; }
.duel h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.duel h3 a:focus-visible { outline: none; }
.duel:has(a:focus-visible) { outline: 3px solid var(--mustard); outline-offset: 4px; }
.duel p:not(.duel__tag) { margin-top: .6rem !important; font-weight: 600; max-width: 85%; }
.duel::after { content: "VS"; position: absolute; right: -.15em; bottom: -.3em; font-family: var(--f-display); font-size: 6rem; line-height: 1; opacity: .16; transition: transform .5s var(--bounce), opacity .3s ease; pointer-events: none; }
.duel:hover { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 9px 9px 0 var(--mustard); }
.duel:hover::after { transform: rotate(-12deg) scale(1.25); opacity: .3; }
@media (min-width: 720px) { .duels { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Derniers articles ---------- */
.bloc--articles { background: var(--sand-2); border-block: var(--line) solid var(--plum); }
.acard { position: relative; display: flex; flex-direction: column; gap: .9rem; width: 100%; padding: 1.6rem 1.2rem 1.3rem; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 16px; box-shadow: var(--shadow); transition: transform .3s var(--bounce), box-shadow .25s ease; }
.articles > li:nth-child(odd) .acard { transform: rotate(-.6deg); }
.articles > li:nth-child(even) .acard { transform: rotate(.6deg); }
.acard::before { content: ""; position: absolute; top: -13px; left: 28px; width: 76px; height: 24px; background: var(--mustard); border: 2px solid var(--plum); transform: rotate(-3deg); transform-origin: 0 50%; transition: transform .3s var(--bounce); }
.articles > li:nth-child(3n+2) .acard::before { background: var(--sky); transform: rotate(4deg); }
.articles > li:nth-child(3n) .acard::before { background: var(--paper); }
.articles > li .acard:hover { transform: rotate(0) translateY(-6px); box-shadow: 9px 11px 0 var(--plum); }
.acard:hover::before { transform: rotate(-22deg) translate(-22px, -6px); }
.acard__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.acard__vid { background: var(--plum); color: var(--sand); border-color: var(--plum); }
.acard .wp-block-post-title { line-height: 1.12; }
.bloc--alist .acard .wp-block-post-title, .bloc--more .acard .wp-block-post-title { font-size: 1.3rem; }
.acard .wp-block-post-title a { text-decoration: none; }
.acard .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.acard .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.acard .vcard__cat a, .acard .wp-block-cq-statut-test { position: relative; z-index: 1; }
.acard .status { align-self: flex-start; }
.acard__date { margin-top: auto !important; font-family: var(--f-mono); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bloc .articles__cta { margin-top: 2.4rem !important; }
@media (min-width: 720px) { .articles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 1rem; max-width: 56rem; }
.faq details { background: var(--paper); border: var(--line) solid var(--plum); border-radius: 18px; box-shadow: 4px 4px 0 var(--plum); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem; cursor: pointer; font-weight: 800; font-size: 1.1rem; list-style: none; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--plum);
	background: linear-gradient(var(--plum), var(--plum)) center / 14px 3px no-repeat, linear-gradient(var(--plum), var(--plum)) center / 3px 14px no-repeat, var(--mustard);
}
.faq details[open] summary::after { background: linear-gradient(var(--plum), var(--plum)) center / 14px 3px no-repeat, var(--mustard); }
.faq details > p { padding: 0 1.1rem 1.3rem; max-width: 46rem; }

/* ---------- À propos ---------- */
.bloc--apropos { background: var(--sky); border-top: var(--line) solid var(--plum); }
.apropos__in { display: grid; gap: 2.5rem; align-items: center; }
.bloc .portrait { position: relative; margin: 0 auto; max-width: 360px; width: 86%; transform: rotate(-3deg); }
.portrait img { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border: var(--line) solid var(--plum); border-radius: 12px; box-shadow: 9px 9px 0 var(--plum); background: var(--paper); }
.portrait::after { content: ""; position: absolute; top: -16px; left: 50%; width: 110px; height: 32px; background: var(--mustard); border: 2px solid var(--plum); transform: translateX(-50%) rotate(4deg); }
.apropos__txt { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.apropos__txt p { font-size: 1.1rem; max-width: 38rem; }
.apropos__txt .apropos__side { font-size: .95rem; opacity: .9; }
.apropos__side a { font-weight: 700; text-underline-offset: 3px; }
.bloc .apropos__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
@media (min-width: 1024px) { .apropos__in { grid-template-columns: 380px 1fr; gap: 5rem; } }

/* ---------- Lettre d'information ---------- */
.bloc--newsletter { background: var(--mustard); border-block: var(--line) solid var(--plum); }
.news__in { display: grid; gap: 2rem; align-items: center; }
.news__txt { display: flex; flex-direction: column; gap: 1rem; }
.news__txt p { font-size: 1.1rem; max-width: 36rem; }
.bloc--newsletter .cq-form-envoyer { background: var(--plum); color: var(--sand); box-shadow: 4px 4px 0 var(--mustard); }
.bloc--newsletter .cq-form-envoyer:hover { box-shadow: 7px 7px 0 var(--mustard); }
@media (min-width: 1024px) { .news__in { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Pied de page ---------- */
.bloc.bloc--footer { background: var(--plum); color: var(--sand); padding-block: 3.5rem 2rem; overflow: clip; }
.transparence { background: var(--sand); color: var(--plum); border: var(--line) solid var(--mustard); border-radius: var(--radius); padding: 1.2rem; font-weight: 600; transform: rotate(-.6deg); box-shadow: 6px 6px 0 var(--mustard); }
.transparence::before { content: "Transparence. "; font-weight: 800; }
.footer__cols { display: grid; gap: 2rem; margin-top: 2.5rem !important; }
.bloc--footer .footer__h { font-family: var(--f-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mustard); margin-bottom: .8rem !important; font-weight: 700; line-height: 1.2; }
.bloc--footer .wp-block-navigation { gap: 0; }
.bloc--footer .wp-block-navigation__container { gap: 0; align-items: flex-start; }
.bloc--footer .wp-block-navigation-item__content, .footer__chaine a { display: inline-block; padding: .35rem 0; text-decoration: underline; text-underline-offset: 3px; }
.footer__big { font-family: var(--f-display); font-size: clamp(2.4rem, 1rem + 8vw, 5.5rem); line-height: .95; color: var(--mustard); }
.copy { margin-top: 2.5rem !important; font-family: var(--f-mono); font-size: .85rem; }
.footer__bas { margin-top: 2.5rem !important; column-gap: 1.5rem; row-gap: .4rem; align-items: baseline; }
.footer__bas .copy { margin: 0 !important; }
.copy--credit a { display: inline-block; padding: .35rem 0; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } .footer__big { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__cols { grid-template-columns: 1fr 1fr 1fr 1.6fr; } .footer__big { grid-column: auto; align-self: end; text-align: right; } }

/* ---------- Pages, articles, listes ---------- */
.bloc--page-tete, .bloc--article-tete { padding-bottom: 1.5rem; }
.bloc--page-tete h1, .bloc--article-tete h1 { max-width: 50rem; }
.fil-ariane { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; margin-bottom: 1.4rem !important; }
.fil-ariane a { text-underline-offset: 3px; }

.bloc--texte { padding-top: 1rem; }
.bloc--texte .wp-block-post-content { font-size: 1.1rem; }
.bloc--texte .wp-block-post-content > :is(h2, h3) { margin-top: 2.6rem; }
.bloc--texte .wp-block-post-content h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.bloc--texte .wp-block-post-content h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.bloc--texte .wp-block-post-content a:not(.wp-block-button__link) { text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
.bloc--texte .wp-block-post-content ul:not(.wp-block-gallery), .bloc--texte .wp-block-post-content ol { padding-left: 1.4rem; }
.bloc--texte .wp-block-post-content li + li { margin-top: .4rem; }
.bloc--texte .wp-block-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 14px; overflow: hidden; font-size: .98rem; }
.bloc--texte .wp-block-table :is(th, td) { padding: .7rem .8rem; border: 0; border-bottom: 1.5px solid color-mix(in srgb, var(--plum) 25%, transparent); text-align: left; vertical-align: top; }
.bloc--texte .wp-block-table thead th { background: var(--mustard); font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: var(--line) solid var(--plum); }
.bloc--texte .wp-block-table { overflow-x: auto; }
.bloc--texte blockquote { margin-inline: 0; padding: 1rem 1.2rem; border-left: 6px solid var(--mustard); background: var(--paper); border-radius: 0 14px 14px 0; }
.is-style-encadre { padding: 1.2rem 1.3rem; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 18px; box-shadow: 4px 4px 0 var(--plum); }
.is-style-etiquette { display: inline-block; font-family: var(--f-mono); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .6rem; background: var(--sky); border: 2px solid var(--plum); border-radius: 6px; }
.bloc--texte .faq, .bloc--texte .wp-block-details { max-width: none; }
.bloc--texte .wp-block-details { padding: 0 1.1rem; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 18px; box-shadow: 4px 4px 0 var(--plum); }
.bloc--texte .wp-block-details summary { padding: 1rem 0; font-weight: 800; cursor: pointer; }
.bloc--texte .wp-block-details > :last-child { padding-bottom: 1rem; }


.article__suite { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem); margin-bottom: 2.6rem !important; }

.bloc--liste { padding-bottom: 5rem; }
.bloc--liste .bloc__head h1 { font-size: var(--wp--preset--font-size--titre-1); }
.liste__outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 3rem !important; }
.filtres { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.filtres li { margin: 0; }
.filtres a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: var(--line) solid var(--plum); border-radius: 999px; background: var(--paper); font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--plum); }
.filtres a:hover, .filtres .current-cat a { background: var(--plum); color: var(--paper); box-shadow: 3px 3px 0 var(--mustard); }
.recherche .wp-block-search__inside-wrapper { gap: .6rem; }
.recherche .wp-block-search__input { min-height: 48px; padding: .5rem 1.1rem; background: var(--paper); border: var(--line) solid var(--plum); border-radius: 999px; font: inherit; color: var(--plum); }
.recherche .wp-block-search__button { margin: 0; min-height: 48px; }
.pagination { margin-top: 3rem !important; gap: .6rem; font-weight: 800; }
.pagination a, .pagination .current { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: var(--line) solid var(--plum); border-radius: 999px; background: var(--paper); text-decoration: none; }
.pagination .current { background: var(--plum); color: var(--paper); }
.bloc--404 { min-height: 60vh; }
.bloc--404 .wp-block-buttons { margin-top: 2rem !important; gap: 1rem; }
.bloc--404 .recherche { margin-top: 2rem !important; max-width: 34rem; }

/* ---------- Fil conducteur : une feuille blanche (créée par motion.js) ---------- */
.fil-slot { position: absolute; pointer-events: none; display: block; }
.fil-slot--hero { right: 4%; bottom: .4rem; width: 76px; height: 98px; }
.fil-slot--tag { right: .6rem; top: -1.1rem; width: 36px; height: 46px; }
.fil-slot--count { right: -10px; top: -26px; width: 44px; height: 56px; }
.fil-slot--plane { right: 1rem; top: -1.4rem; width: 84px; height: 56px; }
.fil-slot--flat { right: 1.5rem; top: 1.2rem; width: 62px; height: 80px; }
.fil { position: fixed; left: 0; top: 0; z-index: 3; display: none; pointer-events: none; filter: drop-shadow(4px 5px 0 var(--plum)); will-change: transform; }
.fil-on .fil { display: block; }
.fil__in { position: absolute; inset: 0; background: var(--paper); display: flex; flex-direction: column; gap: 9%; padding: 16% 13%; overflow: hidden; clip-path: polygon(0 1%, 100% 0, 99% 100%, 1% 99%); transition: clip-path .6s cubic-bezier(.3, 1.4, .5, 1); }
.fil__in i { display: block; height: 4px; background: var(--plum); opacity: .7; border-radius: 2px; transition: opacity .3s ease; }
.fil__in i:nth-child(2) { width: 82%; } .fil__in i:nth-child(3) { width: 92%; } .fil__in i:nth-child(4) { width: 55%; }
.fil__fold { position: absolute; right: 0; bottom: 0; width: 22%; aspect-ratio: 1; background: var(--sand-2); border-top: 2px solid var(--plum); border-left: 2px solid var(--plum); clip-path: polygon(0 0, 100% 100%, 0 100%); transform: scale(0); transform-origin: 100% 100%; transition: transform .4s var(--bounce); }
.fil[data-shape="tag"] .fil__fold, .fil[data-shape="sheet"] .fil__fold { transform: scale(1); }
.fil[data-shape="plane"] .fil__in { clip-path: polygon(0 56%, 100% 0, 62% 100%, 44% 70%); }
.fil[data-shape="plane"] .fil__in i, .fil[data-shape="sheet"] .fil__in i, .fil[data-shape="tag"] .fil__in i { opacity: 0; }
.fil[data-shape="tag"] .fil__in, .fil[data-shape="sheet"] .fil__in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.fil-on .msheet { background: transparent; }
@media (max-width: 719px) {
	.fil-slot--hero { width: 50px; height: 64px; right: 6%; bottom: .2rem; }
	.fil-slot--plane { width: 60px; height: 40px; }
	.fil-slot--flat { width: 44px; height: 56px; top: .8rem; right: 1rem; }
}
@media (min-width: 720px) {
	.fil-slot--tag { right: 1rem; top: .2rem; width: 56px; height: 72px; }
	.fil-slot--count { right: -14px; top: -34px; width: 60px; height: 76px; }
}

/* ---------- Mouvement réduit : tout visible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
	.marquee__track { width: auto; }
	.bloc .marquee__group { flex-wrap: wrap; }
	.fil { display: none !important; }
	.wp-block-button__link, .btn, .vcard, .acard, .reco, .duel, .duel::after, .play, .vcard::before, .acard::before, .reco::before { transition: none; }
}

/* Fil d'Ariane : le dernier niveau (titre de la page) tient sur une ligne, coupé si besoin. */
.fil-ariane [aria-current="page"], .crumbs [aria-current="page"] { display: inline-block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
/* Lettre : comme la maquette, sans astérisque (les champs restent obligatoires). */
.bloc--newsletter .cq-form .req { display: none; }
.bloc--newsletter .cq-form .fhint { font-size: .92rem; }
.bloc--newsletter .cq-form .fhint a { font-weight: 700; text-underline-offset: 3px; }

/* Comme la maquette (h1, h2, h3, p { margin: 0 }) : hors des zones de texte libre,
   aucune marge de navigateur sur les titres, paragraphes, listes et figures. */
:where(.bloc:not(.bloc--texte), .site-header, .wp-block-template-part) :where(p, h1, h2, h3, h4, ul, ol, figure, dl) { margin-block: 0; }
/* Maquette : ligne d'état (1,4em) réservée sous le bouton de la lettre, liens d'À propos limités à 38rem. */
.bloc--newsletter .cq-form { padding-bottom: calc(1.4em + 1rem); }
.bloc .apropos__links { max-width: 38rem; }

.apropos__links .is-style-lien > .wp-block-button__link { font-size: 1.1rem; }

/* Logo « La feuille signée » : 48 px de haut dans l'en-tête (44 au minimum), grand dans le pied de page. */
.logo .logo__img { display: block; height: 48px; width: auto; }
@media (max-width: 719px) { .logo .logo__img { height: 44px; } }
.bloc--footer .footer__big.logo { justify-self: start; }
.bloc--footer .footer__big .logo__img { height: clamp(72px, 4rem + 4vw, 120px); }
@media (min-width: 1024px) { .bloc--footer .footer__big.logo { justify-self: end; } }

.screen__view img, .vcard__thumb img { object-fit: cover; }

/* ---------- Texte d'introduction des pages de liste (Articles, Vidéos, Contact) ---------- */
.bloc--intro { padding-block: 2.5rem 3.5rem; font-size: 1.1rem; }
.bloc--intro :is(h2) { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin-top: 2.4rem; }
.bloc--intro a:not(.wp-block-button__link) { text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
.bloc--intro ul:not(.is-style-puces) { padding-left: 1.4rem; }
.bloc--intro li + li { margin-top: .4rem; }
.bloc--intro .wp-block-image img, .bloc--texte .wp-block-post-content .wp-block-image.intro-image img { display: block; width: 100%; height: auto; border: var(--line) solid var(--plum); border-radius: 16px; box-shadow: 6px 6px 0 var(--plum); background: var(--sand); }
.bloc--intro .wp-block-image, .wp-block-image.intro-image { margin-block: 1.6rem; }
