/* Filtre — socle : en-tête, pied, fil d'Ariane, titres de section, boutons,
   pastilles, cadres d'image, barres, listes ✓/✕, FAQ, cartes, pagination. */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--fe-header-h) + 24px);
	-webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--fe-bg);
	color: var(--fe-ink);
	font-family: var(--fe-sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--fe-link); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--fe-acc); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fe-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fe-ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.fe-skip:focus { left: 8px; color: #fff; }

.fe-wrap { max-width: var(--fe-wrap); margin-left: auto; margin-right: auto; padding-left: var(--fe-gutter); padding-right: var(--fe-gutter); }
.fe-wrapwide { max-width: 1264px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
@media (max-width: 720px) { .fe-wrapwide { padding-left: 10px; padding-right: 10px; } }

/* ---------------------------------------------------------------- En-tête */

.fe-header {
	position: sticky; top: 0; z-index: 10;
	background: rgba(247, 248, 245, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--fe-line);
}
.admin-bar .fe-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fe-header { top: 0; position: sticky; } }

.fe-header__in {
	max-width: var(--fe-wrap); margin: 0 auto; padding: 16px var(--fe-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 72px;
}

.fe-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--fe-ink); white-space: nowrap; }
.fe-logo:hover { color: var(--fe-ink); }
.fe-logo__tld { color: var(--fe-acc); }

.fe-goutte { display: flex; align-items: flex-end; justify-content: center; flex: none; }
.fe-goutte__d { position: relative; display: block; border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.fe-goutte__r { position: absolute; display: block; border-radius: 50%; }
.fe-goutte--header { width: 30px; height: 34px; }
.fe-goutte--header .fe-goutte__d { width: 24px; height: 24px; background: var(--fe-drop); }
.fe-goutte--header .fe-goutte__r { left: 6px; top: 10px; width: 6px; height: 6px; background: rgba(255, 255, 255, .85); }
.fe-goutte--footer { width: 28px; height: 32px; }
.fe-goutte--footer .fe-goutte__d { width: 22px; height: 22px; background: var(--fe-drop-footer); }
.fe-goutte--footer .fe-goutte__r { left: 5px; top: 9px; width: 5px; height: 5px; background: var(--fe-footer); }
.fe-goutte--byline .fe-goutte__d { width: 16px; height: 16px; margin-top: 4px; background: var(--fe-drop); }
.fe-goutte--byline .fe-goutte__r { left: 4px; top: 7px; width: 4px; height: 4px; background: rgba(255, 255, 255, .85); }
.fe-goutte--author .fe-goutte__d { width: 22px; height: 22px; margin-top: 6px; background: var(--fe-drop); }
.fe-goutte--author .fe-goutte__r { left: 5px; top: 9px; width: 5px; height: 5px; background: rgba(255, 255, 255, .85); }

.fe-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; line-height: 20px; }
.fe-nav a.is-on { color: var(--fe-link); font-weight: 700; }
.fe-nav__cta { background: var(--fe-ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 600; white-space: nowrap; }
.fe-nav .fe-nav__cta:hover { color: #fff; background: #24332c; }

.fe-menu-btn {
	display: none; align-items: center; gap: 10px; height: 36px; padding: 0 14px;
	border: 0; border-radius: 10px; background: var(--fe-ink); color: #fff;
	font: 600 15px/1 var(--fe-sans); cursor: pointer;
}
.fe-menu-btn__bars, .fe-menu-btn__bars::before, .fe-menu-btn__bars::after { display: block; width: 16px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.fe-menu-btn__bars { position: relative; }
.fe-menu-btn__bars::before, .fe-menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.fe-menu-btn__bars::before { top: -5px; }
.fe-menu-btn__bars::after { top: 5px; }
.fe-menu-btn[aria-expanded="true"] .fe-menu-btn__bars { background: transparent; }
.fe-menu-btn[aria-expanded="true"] .fe-menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.fe-menu-btn[aria-expanded="true"] .fe-menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
	.fe-header__in { position: relative; padding-top: 14px; padding-bottom: 14px; min-height: 64px; }
	.fe-menu-btn { display: inline-flex; }
	.fe-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 6px var(--fe-gutter) 20px;
		background: var(--fe-bg); border-bottom: 1px solid var(--fe-line);
		box-shadow: 0 24px 40px -24px rgba(20, 40, 30, .25);
		font-size: 17px;
	}
	.fe-nav a { padding: 13px 0; border-bottom: 1px solid var(--fe-line-2); }
	.fe-nav .fe-nav__cta { margin-top: 14px; padding: 14px 18px; text-align: center; border-bottom: 0; }
	.fe-header.is-open .fe-nav { display: flex; }
}
@media (max-width: 380px) {
	.fe-logo { font-size: 16px; }
	.fe-menu-btn__txt { display: none; }
}

/* ---------------------------------------------------------------- Pied de page */

.fe-footer { background: var(--fe-footer); color: var(--fe-footer-ink); }
.fe-footer a:hover { color: #fff; }
.fe-footer__in { max-width: var(--fe-wrap); margin: 0 auto; padding: 64px var(--fe-gutter) 32px; display: flex; flex-direction: column; gap: 48px; }
.fe-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.fe-footer__brand { display: flex; flex-direction: column; gap: 12px; grid-column: span 2; max-width: 400px; }
@media (max-width: 560px) { .fe-footer__brand { grid-column: auto; } }
.fe-footer__logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #fff; }
.fe-footer__pos { font-size: 15px; line-height: 1.6; }
.fe-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fe-footer__h { font-weight: 700; color: #fff; }
.fe-footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--fe-footer-line); font-size: 13px; }
.fe-footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.fe-footer__legal .is-on { color: #fff; }

/* ---------------------------------------------------------------- Fil d'Ariane */

.fe-ariane { max-width: var(--fe-wrap); margin: 0 auto; padding: 40px var(--fe-gutter) 0; font-size: 14px; color: var(--fe-ink-3); }
.fe-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.fe-ariane li { display: flex; gap: 8px; }
.fe-ariane li + li::before { content: "›"; }
.fe-ariane li:last-child > span, .fe-ariane__cur { color: var(--fe-ink); }
@media (max-width: 720px) { .fe-ariane { padding-top: 24px; } }

/* ---------------------------------------------------------------- Titres de section */

.fe-eyebrow { font: 500 13px var(--fe-mono); letter-spacing: .08em; color: var(--fe-acc-text); text-transform: uppercase; }
.fe-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fe-sechead__l { display: flex; flex-direction: column; gap: 8px; }
.fe-sechead__note { font-size: 15px; color: var(--fe-ink-2); max-width: 380px; }
.fe-h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.fe-h2--tight { line-height: 1.05; }
.fe-seclink { font-weight: 700; color: var(--fe-link); }

/* ---------------------------------------------------------------- Boutons, pastilles */

.fe-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fe-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; }
.fe-btn--acc { background: var(--fe-acc); color: #fff; }
.fe-btn--acc:hover { background: var(--fe-acc-hover); color: #fff; }
.fe-btn--ghost { background: #fff; border: 1px solid var(--fe-line-btn); }
.fe-btn--ring { background: #fff; box-shadow: inset 0 0 0 1px var(--fe-line-btn); font-weight: 700; }
.fe-btn--700 { font-weight: 700; }
.fe-btn--white { align-self: flex-start; background: #fff; color: var(--fe-ink); padding: 14px 22px; font-weight: 700; font-size: 15px; }
.fe-btn--white:hover { color: var(--fe-link); }
.fe-btn--dark { background: var(--fe-dark); color: #fff; font-weight: 700; }

.fe-pill { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: var(--fe-tint); color: var(--fe-tint-ink); font-size: 14px; font-weight: 600; padding: 7px 14px 7px 10px; border-radius: 99px; }
.fe-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fe-dot); }

.fe-badge { align-self: flex-start; background: var(--fe-badge); color: var(--fe-badge-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; line-height: normal; }
.fe-badge--lg { font-size: 14px; padding: 6px 14px; }

.fe-tag { align-self: flex-start; background: var(--fe-tint); color: var(--fe-tint-ink); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.fe-tag--md { align-self: center; font-size: 14px; padding: 6px 14px; }
a.fe-tag:hover { color: var(--fe-ink); }

/* ---------------------------------------------------------------- Cadres d'image */

.fe-cadre { position: relative; overflow: hidden; }
.fe-cadre__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fe-ph {
	--fe-ph-s: 8px;
	--fe-ph-1: var(--fe-ph-a);
	--fe-ph-2: var(--fe-ph-b);
	background: repeating-linear-gradient(135deg, var(--fe-ph-1) 0 var(--fe-ph-s), var(--fe-ph-2) var(--fe-ph-s) calc(var(--fe-ph-s) * 2));
	display: flex; align-items: flex-end; padding: 14px;
	color: var(--fe-ph-ink);
}
.fe-ph--alt { --fe-ph-1: var(--fe-ph-alt-a); --fe-ph-2: var(--fe-ph-alt-b); color: var(--fe-ph-alt-ink); }
.fe-ph--dark { --fe-ph-1: var(--fe-dark-ph-a); --fe-ph-2: var(--fe-dark-ph-b); color: var(--fe-dark-soft-2); }
.fe-ph--s6 { --fe-ph-s: 6px; }
.fe-ph--s7 { --fe-ph-s: 7px; }
.fe-ph--s8 { --fe-ph-s: 8px; }
.fe-ph--s9 { --fe-ph-s: 9px; }
.fe-ph__label { font: 400 12px var(--fe-mono); }
.fe-ar-16-10 { aspect-ratio: 16 / 10; }
.fe-ar-16-9 { aspect-ratio: 16 / 9; }
.fe-r0 { border-radius: 0; }

/* ---------------------------------------------------------------- Barres, listes */

.fe-bar { display: block; flex: 1; min-width: 0; height: 6px; border-radius: 3px; background: var(--fe-track); overflow: hidden; }
.fe-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--fe-bar-c); }
.fe-bar--8 { height: 8px; border-radius: 4px; }
.fe-bar--crit { flex: none; background: var(--fe-block-track); }
.fe-bar--crit > span { background: var(--fe-acc); }

.fe-pcl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fe-pc { display: flex; gap: 8px; }
.fe-pc__m { flex: none; font-weight: 800; }
.fe-pc--pro .fe-pc__m { color: var(--fe-pos); }
.fe-pc--con .fe-pc__m { color: var(--fe-neg); }

/* ---------------------------------------------------------------- FAQ */

.fe-faq { display: flex; flex-direction: column; gap: 10px; }
.fe-faq__item { background: #fff; border-radius: 18px; box-shadow: var(--fe-shadow); }
.fe-faq__q {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 20px 24px; font-size: 17px; font-weight: 700;
	border-radius: 18px;
}
.fe-faq__t { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.fe-faq__q::-webkit-details-marker { display: none; }
.fe-faq__q::marker { content: ""; }
.fe-faq__sign { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fe-tint); color: var(--fe-tint-ink); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.fe-faq__sign::before { content: "+"; }
.fe-faq__item[open] .fe-faq__sign::before { content: "−"; }
.fe-faq__a { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--fe-ink-2); }
@media (max-width: 720px) {
	.fe-faq__q { padding: 18px 18px; gap: 16px; font-size: 16px; }
	.fe-faq__a { padding: 0 18px 20px; }
}

/* ---------------------------------------------------------------- Cartes */

.fe-scorechip { position: absolute; top: 10px; right: 10px; background: #fff; color: var(--fe-ink); font-weight: 800; font-size: 14px; padding: 4px 9px; border-radius: 8px; }

/* Carte d'avis (accueil, alternatives) */
.fe-acard { background: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--fe-shadow); transition: box-shadow .2s ease; }
.fe-acard:hover { color: var(--fe-ink); box-shadow: var(--fe-shadow-hover); }
.fe-acard .fe-cadre { border-radius: 12px; }
.fe-acard .fe-ph { --fe-ph-s: 7px; }
.fe-acard__t { font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.fe-acard__x { font-size: 14px; line-height: 1.5; color: var(--fe-ink-2); text-wrap: pretty; }
.fe-acard__l { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--fe-link); }
.fe-acard__tag { font-size: 13px; font-weight: 700; color: var(--fe-acc-text); }
.fe-acard--alt { border-radius: 24px; padding: 22px; }
.fe-acard--alt .fe-cadre { border-radius: 14px; }
.fe-acard--alt .fe-ph { --fe-ph-s: 8px; }
.fe-acard--alt .fe-acard__t { font-size: 20px; letter-spacing: -.015em; line-height: 1.2; }
.fe-acard--alt .fe-acard__x { font-size: 15px; }

/* Carte d'article (blog, « À lire aussi ») */
.fe-pcard { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--fe-shadow); transition: box-shadow .2s ease; }
.fe-pcard:hover { color: var(--fe-ink); box-shadow: var(--fe-shadow-hover); }
.fe-pcard .fe-ph { padding: 12px; }
.fe-pcard .fe-ph__label { font-size: 11px; }
.fe-pcard__b { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fe-pcard__meta { font-size: 13px; font-weight: 700; color: var(--fe-acc-text); }
.fe-pcard__t { font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; text-wrap: pretty; }
.fe-pcard__x { font-size: 15px; line-height: 1.55; color: var(--fe-ink-2); text-wrap: pretty; }
.fe-pcard__d { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--fe-ink-3); }

/* Carte blanche générique */
.fe-card { background: #fff; border-radius: 22px; box-shadow: var(--fe-shadow); }
.fe-scroll { position: relative; overflow-x: auto; }

/* ---------------------------------------------------------------- Pagination, vide, encart */

.fe-pager { max-width: var(--fe-wrap); margin: 0 auto; padding: 24px var(--fe-gutter) 80px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.fe-pager__btn { min-width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 0 0 1px var(--fe-line); }
.fe-pager__btn.is-on { background: var(--fe-dark); color: #fff; box-shadow: none; }
.fe-pager__txt { padding: 0 18px; }
.fe-pager__gap { padding: 0 4px; color: var(--fe-ink-3); }

.fe-empty { background: #fff; border-radius: 22px; padding: 48px; text-align: center; font-size: 17px; color: var(--fe-ink-2); }

.fe-cta { margin-bottom: 96px; }
.fe-cta__a { background: var(--fe-block); border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.fe-cta__a:hover { color: var(--fe-ink); }
.fe-cta__a:hover .fe-btn--dark { background: var(--fe-dark-hover); }
.fe-cta__l { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.fe-eyebrow--cta { color: var(--fe-block-ink-2); }
.fe-cta__t { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.fe-cta__x { font-size: 17px; line-height: 1.55; color: var(--fe-ink-guide); }

/* Lien d'intérêts (champ facultatif `relation` de la fiche), en-tête de la page d'avis. */
.fe-rel { background: var(--fe-tint); border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.55; color: var(--fe-ink-guide); }
.fe-rel p { margin: 0; }
.fe-rel__t { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fe-tint-ink); }
.fe-rel a { color: var(--fe-link); font-weight: 600; }
