/* Produrable Core — styles des sections (variables du thème Produrable, avec replis). */

/* Verdicts */
.pd-verdict {
	display: inline-block;
	color: #fff;
	font: 900 11px/1.2 var(--pd-sans, Montserrat, sans-serif);
	letter-spacing: .08em;
	padding: 4px 8px;
}
.pd-verdict--overlay { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* Encadré Agricheck dans l'article */
.pd-checkbox {
	border: 2px solid var(--pd-v, #2e7d32);
	background: var(--pd-card, #fff);
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pd-checkbox__head { display: flex; align-items: center; gap: 10px; }
.pd-checkbox__brand { font: 900 20px/1 var(--pd-sans, Montserrat, sans-serif); letter-spacing: -.02em; color: var(--pd-ink, #1c211b); }
.pd-checkbox__brand span { color: var(--pd-ocre, #c0562f); }
.pd-checkbox .pd-verdict { font-size: 13px; padding: 5px 10px; }
.pd-checkbox__label { font: 700 12px/1.3 var(--pd-sans, Montserrat, sans-serif); text-transform: uppercase; letter-spacing: .06em; color: var(--pd-mute, #6b6f66); }
.pd-checkbox__claim { margin: 0; font: 600 18px/1.4 var(--pd-serif, Georgia, serif); color: var(--pd-ink, #1c211b); }
.pd-checkbox__facts { margin: 0; font: 400 16px/1.55 var(--pd-serif, Georgia, serif); color: var(--pd-ink2, #41463f); }
.pd-checkbox__sources { margin: 0; padding-left: 1.2em; font-size: 14px; }

/* Proverbe */
.pd-proverbe { color: var(--pd-ink2, #41463f); }
.pd-proverbe strong { color: var(--pd-ocre, #c0562f); font-weight: 700; }

/* Cours des marchés */
.pd-markets { background: var(--pd-card, #fff); border: 1px solid var(--pd-line, #e4e1d8); padding: 18px; }
.pd-markets__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.pd-markets__title { margin: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pd-markets__note { font-size: 12px; color: var(--pd-mute, #6b6f66); }
.pd-markets__list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-markets__item { flex: 1 0 132px; border: 1px solid var(--pd-line2, #efece4); background: var(--pd-card2, #faf8f3); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.pd-markets__name { font-size: 12px; font-weight: 700; color: var(--pd-ink2, #41463f); }
.pd-markets__where { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--pd-mute, #6b6f66); }
.pd-markets__price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pd-markets__price small { font-size: 11px; font-weight: 600; color: var(--pd-mute, #6b6f66); }
.pd-markets__change { font-size: 12px; font-weight: 700; }
.pd-markets__source { margin: 10px 0 0; font-size: 11px; color: var(--pd-mute, #6b6f66); }
.pd-markets__source a, .pd-markets__source a:hover { color: inherit; text-decoration: none; }
.pd-markets__change--up { color: #2e7d32; }
.pd-markets__change--down { color: #b2442a; }
.pd-markets__change--eq { color: var(--pd-mute, #6b6f66); }
/* Carte teintée selon la tendance : vert hausse, rouge baisse ; plus marqué au survol. */
.pd-markets__item { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.pd-markets__item--up { --pd-trend: #2e7d32; }
.pd-markets__item--down { --pd-trend: #b2442a; }
.pd-markets__item--up, .pd-markets__item--down { background: color-mix(in srgb, var(--pd-trend) 7%, var(--pd-card2, #faf8f3)); border-color: color-mix(in srgb, var(--pd-trend) 22%, var(--pd-line2, #efece4)); box-shadow: inset 0 3px 0 var(--pd-trend); }
.pd-markets__item--up:hover, .pd-markets__item--down:hover { background: color-mix(in srgb, var(--pd-trend) 14%, var(--pd-card2, #faf8f3)); border-color: color-mix(in srgb, var(--pd-trend) 45%, var(--pd-line2, #efece4)); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .pd-markets__item { transition: none; } .pd-markets__item:hover { transform: none; } }

/* Défilement continu (téléphone) */
.pd-markets__list.is-marquee { overflow: hidden; display: block; padding-bottom: 0; }
.pd-marquee__track { display: flex; gap: 10px; width: max-content; animation: pd-marquee-rtl 30s linear infinite; }
.is-marquee--ltr .pd-marquee__track { animation-name: pd-marquee-ltr; }
.pd-marquee__track .pd-markets__item { flex: 0 0 140px; }
.pd-markets__list.is-marquee:hover .pd-marquee__track,
.pd-markets__list.is-marquee:active .pd-marquee__track { animation-play-state: paused; }
@keyframes pd-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
@keyframes pd-marquee-ltr { from { transform: translateX(calc(-50% - 5px)); } to { transform: translateX(0); } }

/* Agenda */
.pd-agenda__item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--pd-line2, #efece4); color: var(--pd-ink, #1c211b); }
.pd-agenda__item:hover { color: var(--pd-green, #2e7d32); }
.pd-agenda__date { flex: none; width: 56px; height: 56px; background: var(--pd-green-base, #2e7d32); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.pd-agenda__date b { font-size: 20px; font-weight: 900; }
.pd-agenda__date small { font-size: 10px; font-weight: 700; text-transform: uppercase; }
.pd-agenda__text { display: flex; flex-direction: column; gap: 3px; }
.pd-agenda__text strong { font-size: 14px; font-weight: 700; line-height: 1.25; }
.pd-agenda__text small { font-size: 12px; color: var(--pd-mute, #6b6f66); }

/* Chiffres clés */
.pd-stats { display: flex; flex-wrap: wrap; gap: 1px; background: var(--pd-line, #e4e1d8); border: 1px solid var(--pd-line, #e4e1d8); border-top: 3px solid var(--pd-ink, #1c211b); }
.pd-stat { flex: 1 1 170px; background: var(--pd-card, #fff); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.pd-stat__n { font: 900 clamp(34px, 4vw, 50px)/1 var(--pd-sans, Montserrat, sans-serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--pd-ink, #1c211b); }
.pd-stat b { font: 700 14px var(--pd-sans, Montserrat, sans-serif); color: var(--pd-ink, #1c211b); }
.pd-stat small { font-size: 12px; color: var(--pd-mute, #6b6f66); }
