/*
 * Lavaspi Core : jetons de design et composants communs (module SOCLE).
 * Chargé sur tout le front. Source des valeurs : 0 - Diagnostic/charte-lavaspi.json (cible).
 *
 * Règles :
 * - aucun reset global : rien ne cible html, body, h1 ou a hors d'un conteneur .lvs ;
 * - la base typographique ne s'applique qu'à l'intérieur de .lvs, en spécificité basse
 *   (:where) pour que les réglages des widgets Elementor gardent la main ;
 * - les composants (.lvs-btn, .lvs-carte...) marchent aussi hors de .lvs.
 */

/* ---------------------------------------------------------------------------
 * 1. Jetons (contrat technique, ne pas renommer)
 * ------------------------------------------------------------------------- */
:root {
	--lvs-vert: #3F9B6D;          /* marque, grandes surfaces, pictos ; jamais en couleur de texte (3,43:1 sur blanc) */
	--lvs-vert-fonce: #2D7C55;    /* boutons, liens, prix */
	--lvs-vert-nuit: #276040;     /* survol */
	--lvs-menthe: #E3F1EA;        /* fonds teintés */
	--lvs-encre: #000000;
	--lvs-titre: #111111;
	--lvs-texte: #333333;
	--lvs-texte-2: #6B6B6B;
	--lvs-fond: #FFFFFF;
	--lvs-fond-2: #F5F5F5;
	--lvs-bordure: #EAEAEA;
	--lvs-amazon: #FF9900;        /* bouton marchand Amazon, texte #111 */
	--lvs-police: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--lvs-police-accent: 'Abril Fatface', Georgia, serif;
	--lvs-rayon: 16px;
	--lvs-rayon-pilule: 999px;
	--lvs-rayon-champ: 10px;
	--lvs-ombre: 0 8px 22px rgba(0, 0, 0, .10);
	--lvs-ombre-signature: -6px 6px 0 #000;

	/* Jetons complémentaires (socle) */
	--lvs-amazon-survol: #E68A00;
	--lvs-bordure-champ: #6B6B6B;  /* contour de champ : 5,3:1 sur blanc (WCAG 1.4.11) */
	--lvs-univers-clean: #5DA48C;
	--lvs-univers-shamp: #ECECE5;
	--lvs-univers-win: #37A1E4;
	--lvs-largeur: 1200px;
	--lvs-gouttiere: 24px;
	--lvs-espace-section: 80px;
	--lvs-taille-texte: 17px;
	--lvs-taille-petit: 14px;
	--lvs-focus: var(--lvs-vert-fonce);
	--lvs-transition: .2s ease;
}

@media (max-width: 767px) {
	:root {
		--lvs-gouttiere: 16px;
		--lvs-espace-section: 48px;
		--lvs-taille-texte: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * 2. Base typographique optionnelle : uniquement dans .lvs
 * ------------------------------------------------------------------------- */
.lvs {
	font-family: var(--lvs-police);
	font-size: var(--lvs-taille-texte);
	line-height: 1.6;
	color: var(--lvs-texte);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.lvs :where(*, *::before, *::after) { box-sizing: border-box; }

.lvs :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--lvs-police);
	color: var(--lvs-titre);
	text-transform: none;
	letter-spacing: normal;
	margin: 0 0 .5em;
}
.lvs :where(h1) { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; font-weight: 700; }
.lvs :where(h2) { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 700; }
.lvs :where(h3) { font-size: clamp(20px, 2vw, 24px); line-height: 1.3; font-weight: 600; }
.lvs :where(h4) { font-size: 20px; line-height: 1.35; font-weight: 600; }
.lvs :where(h5, h6) { font-size: 17px; line-height: 1.4; font-weight: 600; }

.lvs :where(p, ul, ol) { margin: 0 0 1em; }
.lvs :where(p:last-child, ul:last-child, ol:last-child) { margin-bottom: 0; }
.lvs :where(a) { color: var(--lvs-vert-fonce); text-underline-offset: .15em; }
.lvs :where(a:hover) { color: var(--lvs-vert-nuit); }
.lvs :where(img, svg, video) { max-width: 100%; height: auto; }
.lvs :where(small) { font-size: var(--lvs-taille-petit); }

/* Conteneur centré à la largeur de la charte */
.lvs-conteneur {
	width: 100%;
	max-width: calc(var(--lvs-largeur) + 2 * var(--lvs-gouttiere));
	margin-inline: auto;
	padding-inline: var(--lvs-gouttiere);
}

/* ---------------------------------------------------------------------------
 * 3. Boutons : .lvs-btn + variante obligatoire
 *    Sélecteurs renforcés (:is(a, button, input)) pour passer devant OceanWP et
 *    WooCommerce (.button, .woocommerce a.button) sans !important.
 * ------------------------------------------------------------------------- */
.lvs-btn,
:is(a, button, input, span, label, div).lvs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 14px 28px;
	border: 2px solid transparent;
	border-radius: var(--lvs-rayon-pilule);
	font-family: var(--lvs-police);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--lvs-transition), color var(--lvs-transition), border-color var(--lvs-transition);
}

:is(a, button, input, span, label, div).lvs-btn.lvs-btn--principal,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--principal:visited {
	background-color: var(--lvs-vert-fonce);
	border-color: var(--lvs-vert-fonce);
	color: #fff;
}
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--principal:hover,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--principal:active {
	background-color: var(--lvs-vert-nuit);
	border-color: var(--lvs-vert-nuit);
	color: #fff;
}

:is(a, button, input, span, label, div).lvs-btn.lvs-btn--secondaire,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--secondaire:visited {
	background-color: transparent;
	border-color: var(--lvs-titre);
	color: var(--lvs-titre);
}
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--secondaire:hover,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--secondaire:active {
	background-color: var(--lvs-titre);
	border-color: var(--lvs-titre);
	color: #fff;
}

:is(a, button, input, span, label, div).lvs-btn.lvs-btn--amazon,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--amazon:visited {
	background-color: var(--lvs-amazon);
	border-color: var(--lvs-amazon);
	color: #111;
}
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--amazon:hover,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--amazon:active {
	background-color: var(--lvs-amazon-survol);
	border-color: var(--lvs-amazon-survol);
	color: #111;
}

:is(a, button, input, span, label, div).lvs-btn.lvs-btn--sur-photo,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--sur-photo:visited {
	background-color: #fff;
	border-color: #fff;
	color: var(--lvs-titre);
}
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--sur-photo:hover,
:is(a, button, input, span, label, div).lvs-btn.lvs-btn--sur-photo:active {
	background-color: var(--lvs-menthe);
	border-color: var(--lvs-menthe);
	color: var(--lvs-titre);
}

/* Tailles et largeur */
.lvs-btn.lvs-btn--petit { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.lvs-btn.lvs-btn--grand { min-height: 56px; padding: 16px 32px; font-size: 17px; }
.lvs-btn.lvs-btn--bloc { display: flex; width: 100%; }

/* Icône éventuelle dans un bouton */
.lvs-btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: currentColor; }

/* Désactivé */
.lvs-btn[disabled],
.lvs-btn[aria-disabled="true"],
.lvs-btn.is-disabled {
	opacity: .55;
	cursor: not-allowed;
	pointer-events: none;
}

/* ---------------------------------------------------------------------------
 * 4. Cartes
 * ------------------------------------------------------------------------- */
.lvs-carte {
	position: relative;
	display: block;
	background: var(--lvs-fond);
	color: var(--lvs-texte);
	border: 1px solid var(--lvs-bordure);
	border-radius: var(--lvs-rayon);
	box-shadow: var(--lvs-ombre);
	padding: 24px;
}
.lvs-carte--plate { box-shadow: none; }
.lvs-carte--teintee { background: var(--lvs-menthe); border-color: transparent; box-shadow: none; }
.lvs-carte--grise { background: var(--lvs-fond-2); border-color: transparent; box-shadow: none; }
/* Sur fond menthe, le vert des liens et des prix (#2D7C55) ne fait que 4,37:1 : on passe au vert nuit (6,37:1, WCAG AA). */
.lvs-carte--teintee :where(a),
.lvs-carte--teintee .lvs-prix { color: var(--lvs-vert-nuit); }

/* Signature : bordure noire 2 px et ombre décalée, réservée aux encadrés forts
   (produit mis en avant, verdict, offre). La marge gauche laisse place à l'ombre. */
.lvs-carte--signature {
	border: 2px solid var(--lvs-encre);
	box-shadow: var(--lvs-ombre-signature);
	margin-left: 6px;
	margin-bottom: 6px;
}

.lvs-carte :where(img) { border-radius: calc(var(--lvs-rayon) - 6px); }

/* Carte entièrement cliquable : le lien principal porte .lvs-carte__lien */
.lvs-carte__lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

@media (max-width: 767px) {
	.lvs-carte { padding: 18px; }
}

/* ---------------------------------------------------------------------------
 * 5. Badges et pastilles
 * ------------------------------------------------------------------------- */
.lvs-badge {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: 6px 12px;
	border-radius: var(--lvs-rayon-pilule);
	background: var(--lvs-vert-fonce);
	color: #fff;
	font-family: var(--lvs-police);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
}
.lvs-badge--clair { background: var(--lvs-menthe); color: var(--lvs-vert-nuit); }
.lvs-badge--encre { background: var(--lvs-encre); color: #fff; }
.lvs-badge--amazon { background: var(--lvs-amazon); color: #111; }
/* Esprit « tests » : fond vert profond (blanc dessus : 5,09:1), bordure noire. Le vert de marque #3F9B6D ne porte jamais de texte blanc ni ne sert de couleur de texte (3,43:1). */
.lvs-badge--signature { background: var(--lvs-vert-fonce); color: #fff; border: 2px solid var(--lvs-encre); }
.lvs-badge--accent { font-family: var(--lvs-police-accent); font-weight: 400; font-size: 15px; letter-spacing: .01em; }

.lvs-pastille {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	min-width: 28px;
	height: 28px;
	padding: 0 10px;
	border-radius: var(--lvs-rayon-pilule);
	background: var(--lvs-menthe);
	color: var(--lvs-vert-nuit);
	font-family: var(--lvs-police);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
/* Point de couleur devant le texte (univers produit) */
.lvs-pastille--clean::before,
.lvs-pastille--shamp::before,
.lvs-pastille--win::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: 0 0 10px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.lvs-pastille--clean::before { background: var(--lvs-univers-clean); }
.lvs-pastille--shamp::before { background: var(--lvs-univers-shamp); }
.lvs-pastille--win::before { background: var(--lvs-univers-win); }
/* Pastille ronde numérotée (étapes, rang dans un comparatif) */
.lvs-pastille--rond { width: 32px; min-width: 32px; height: 32px; padding: 0; background: var(--lvs-vert-fonce); color: #fff; }

/* ---------------------------------------------------------------------------
 * 6. Grille
 *    Par défaut : colonnes automatiques de 260 px minimum. Variantes à colonnes fixes
 *    qui se replient en tablette et en mobile. Réglable par --lvs-grille-min.
 * ------------------------------------------------------------------------- */
.lvs-grille {
	display: grid;
	gap: var(--lvs-gouttiere);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--lvs-grille-min, 260px)), 1fr));
	align-items: stretch;
}
.lvs-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lvs-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lvs-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
	.lvs-grille--3,
	.lvs-grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.lvs-grille--2,
	.lvs-grille--3,
	.lvs-grille--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
 * 7. Mentions, prix, accent, utilitaires
 * ------------------------------------------------------------------------- */
.lvs-mention {
	display: block;
	font-family: var(--lvs-police);
	font-size: 13px;
	line-height: 1.4;
	color: var(--lvs-texte-2);
	font-weight: 400;
	font-style: normal;
}

.lvs-prix {
	font-family: var(--lvs-police);
	font-weight: 700;
	color: var(--lvs-vert-fonce);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.lvs-prix--barre { font-weight: 400; color: var(--lvs-texte-2); text-decoration: line-through; }

.lvs-accent { font-family: var(--lvs-police-accent); font-weight: 400; letter-spacing: .01em; }

/* Masqué à l'écran, lu par les lecteurs d'écran */
.lvs-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------------------------------------------------------------------------
 * 8. Focus visible (clavier)
 * ------------------------------------------------------------------------- */
.lvs-btn:focus-visible,
.lvs-carte__lien:focus-visible,
.lvs :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
[class*="lvs-"]:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--lvs-focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #fff;
}
/* Sur photo ou fond foncé : contour blanc doublé de noir */
.lvs-btn--sur-photo:focus-visible {
	outline-color: #fff;
	box-shadow: 0 0 0 5px var(--lvs-encre);
}
/* Carte cliquable : le contour suit la carte entière */
.lvs-carte__lien:focus-visible { outline: none; box-shadow: none; }
.lvs-carte__lien:focus-visible::after { outline: 3px solid var(--lvs-focus); outline-offset: 2px; }

/* ---------------------------------------------------------------------------
 * 9. Préférences système
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	[class*="lvs-"],
	[class*="lvs-"]::before,
	[class*="lvs-"]::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (forced-colors: active) {
	.lvs-btn { border-color: ButtonText; }
	.lvs-badge,
	.lvs-pastille { border: 1px solid CanvasText; }
}

/* ---------------------------------------------------------------------------
 * 10. Vidéo YouTube en vignette : code court [lvs_video] (socle/video.php)
 *     Ici plutôt que dans une feuille à part : lvs-base est dans le <head>,
 *     le cadre 16/9 est donc réservé avant l'affichage (pas de saut de mise en page).
 * ------------------------------------------------------------------------- */
.lvs-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 24px; border-radius: var(--lvs-rayon, 16px); overflow: hidden; background: #000; }
.lvs-video__lien { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.lvs-video__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.lvs-video__jouer { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); }
.lvs-video__jouer svg { width: 100%; height: 100%; display: block; }
.lvs-video__fond { fill: #212121; fill-opacity: .85; transition: fill var(--lvs-transition, .2s ease); }
.lvs-video__lien:hover .lvs-video__fond, .lvs-video__lien:focus-visible .lvs-video__fond { fill: #FF0000; fill-opacity: 1; }
.lvs-video__titre { position: absolute; left: 0; right: 0; top: 0; padding: 12px 16px 28px; font-size: 15px; font-weight: 600; line-height: 1.35; background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); }
.lvs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Le cadre coupe ce qui dépasse (overflow: hidden) : le contour de focus est donc tracé à l'intérieur, blanc doublé de noir. */
.lvs-video__lien:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: inset 0 0 0 3px #000; }

/* ---------------------------------------------------------------------------
 * 11. FAQ des articles de test (conteneur .lv-faq des articles convertis, 1.3.0)
 *     Le fond menthe et l'ombre étaient posés widget par widget dans Elementor ;
 *     la conversion des articles les retire, la règle vit donc ici, une fois.
 * ------------------------------------------------------------------------- */
.lv-faq { background-color: #3F9B6D33; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------------------
 * 12. Grand tableau comparatif « stylé » (.lvs-comparo) et encart vidéo + bouton
 *     (.lvs-combo-video). Classes posées à la main dans le contenu d'un article :
 *     tableaux larges « dataTable » des articles du blog (déployé le 16/11/2026).
 *     Sélecteurs volontairement lourds : ils passent devant les règles
 *     .lvs-art .lvs-art-tableau du gabarit d'article 5387 (dont des !important).
 * ------------------------------------------------------------------------- */
.lvs-comparo { position: relative; margin: 8px 0 28px; }
.lvs-comparo .lvs-comparo__indice { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--lvs-vert-nuit, #276040); }
.lvs-comparo .lvs-comparo__indice > span[aria-hidden] { display: inline-block; font-size: 18px; animation: lvs-comparo-glisse 1.6s ease-in-out infinite; }
.lvs-comparo .lvs-comparo__indice-mobile { display: none; }
@keyframes lvs-comparo-glisse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .lvs-comparo .lvs-comparo__indice > span[aria-hidden] { animation: none; } }

/* Cadre défilant dans les deux sens : l'en-tête reste visible en descendant, le modèle en défilant à droite. */
.lvs-comparo > .lvs-art-tableau-enveloppe.lvs-comparo__defil {
	position: relative; margin: 0; max-width: 100%; max-height: min(640px, 72vh);
	overflow: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
	border: 2px solid var(--lvs-encre, #000); border-radius: var(--lvs-rayon, 16px);
	box-shadow: var(--lvs-ombre-signature, -6px 6px 0 #000); background: #fff;
	margin-left: 6px; width: calc(100% - 6px);
	scrollbar-width: thin; scrollbar-color: var(--lvs-vert, #3F9B6D) var(--lvs-menthe, #E3F1EA);
}
.lvs-comparo > .lvs-comparo__defil:focus-visible { outline: 3px solid var(--lvs-vert-fonce, #2D7C55); outline-offset: 3px; }
/* Fondu à droite : il reste du tableau à voir. */
.lvs-comparo::after { content: ""; position: absolute; top: 34px; right: 2px; bottom: 2px; width: 28px; pointer-events: none; border-radius: 0 14px 14px 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95)); }

.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table { font-size: 14px; line-height: 1.3; font-family: var(--lvs-police); }
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table :is(th, td) {
	min-width: 0; padding: 10px 14px !important; white-space: nowrap; vertical-align: middle;
	border-bottom: 1px solid #E4ECE7 !important; background: #fff; color: var(--lvs-texte, #333);
}
/* En-tête figé */
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table thead th {
	position: sticky; top: 0; z-index: 2; min-width: 96px; max-width: 150px; white-space: normal;
	padding: 12px 14px !important; background: var(--lvs-vert-fonce, #2D7C55); color: #fff;
	font-size: 11.5px; font-weight: 700; line-height: 1.25; letter-spacing: .05em; text-transform: uppercase;
	border-bottom: 0 !important; vertical-align: bottom;
}
/* Zébrage léger, survol de ligne */
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tbody tr:nth-child(even) > * { background: #F6FAF7; }
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tbody tr:hover > * { background: var(--lvs-menthe, #E3F1EA); }
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tbody tr:last-child > * { border-bottom: 0 !important; }
/* 1re colonne figée, ombre de séparation */
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tr > :first-child {
	position: sticky; left: 0; z-index: 1; min-width: 180px; max-width: 200px; white-space: normal;
	box-shadow: 6px 0 8px -6px rgba(0, 0, 0, .22), inset -1px 0 0 #DCE6E0;
}
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tbody th { color: var(--lvs-titre, #111); font-weight: 600; font-size: 14.5px; }
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table thead tr > :first-child { z-index: 3; background: var(--lvs-vert-nuit, #276040); }
/* Colonnes Note et Offre centrées (repérées par leur contenu : la position varie selon l'article) */
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table td:has(> .lvs-comparo__note),
.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table td[data-label*="offre"] { text-align: center; }

/* Note qualité/prix en pastille */
.lvs-comparo .lvs-comparo__note { display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 58px; padding: 5px 10px; border-radius: var(--lvs-rayon-pilule, 999px); font-weight: 700; font-size: 15px; line-height: 1; color: #fff; background: var(--lvs-vert-fonce, #2D7C55); }
.lvs-comparo .lvs-comparo__note small { font-size: 10.5px; font-weight: 600; opacity: .85; }
.lvs-comparo .lvs-comparo__note--bon { background: #4E8F6A; }
.lvs-comparo .lvs-comparo__note--moyen { background: #E3F1EA; color: var(--lvs-vert-nuit, #276040); }
.lvs-comparo .lvs-comparo__note--bas { background: #EFEFEF; color: #555; }

/* Bouton marchand compact (même famille que les boutons Amazon du site) */
.lvs-comparo .lvs-comparo__defil table.lvs-comparo__table td > a[rel~="sponsored"] {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 14px;
	border-radius: var(--lvs-rayon-pilule, 999px); background: var(--lvs-amazon, #FF9900); color: #111 !important;
	font-size: 13.5px; font-weight: 600; line-height: 1; text-decoration: none !important; white-space: nowrap;
	transition: background-color var(--lvs-transition, .2s ease);
}
.lvs-comparo .lvs-comparo__defil table.lvs-comparo__table td > a[rel~="sponsored"]::after {
	content: ""; width: 13px; height: 13px; flex: 0 0 13px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lvs-comparo .lvs-comparo__defil table.lvs-comparo__table td > a[rel~="sponsored"]:hover { background: var(--lvs-amazon-survol, #E68A00); }
.lvs-comparo .lvs-comparo__defil table.lvs-comparo__table td > a[rel~="sponsored"]:focus-visible { outline: 3px solid var(--lvs-encre, #000); outline-offset: 2px; }
.lvs-comparo .lvs-comparo__defil table.lvs-comparo__table td[data-label*="offre"]:empty::after { content: "—"; color: #9A9A9A; }

/* Oui / non : l'émoji d'origine reste dans la page, affiché en pastille sobre */
.lvs-comparo .lvs-comparo__oui, .lvs-comparo .lvs-comparo__non { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0; line-height: 0; vertical-align: middle; }
.lvs-comparo .lvs-comparo__oui { background: var(--lvs-menthe, #E3F1EA); }
.lvs-comparo .lvs-comparo__non { background: #F2F2F2; }
.lvs-comparo .lvs-comparo__oui::before { content: ""; width: 13px; height: 13px; background: var(--lvs-vert-fonce, #2D7C55);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.lvs-comparo .lvs-comparo__non::before { content: ""; width: 10px; height: 10px; background: #8A8A8A;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E") center / contain no-repeat; }
.lvs-comparo .lvs-comparo__nc { color: #8A8A8A; font-size: 13px; }

@media (max-width: 767px) {
	.lvs-comparo .lvs-comparo__indice-ordi { display: none; }
	.lvs-comparo .lvs-comparo__indice-mobile { display: inline; }
	.lvs-comparo > .lvs-art-tableau-enveloppe.lvs-comparo__defil { max-height: 70vh; border-radius: 12px; }
	.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table { font-size: 13px; }
	.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table :is(th, td) { padding: 8px 10px !important; }
	.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table thead th { min-width: 84px; font-size: 10.5px; padding: 10px !important; }
	.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tr > :first-child { min-width: 118px; max-width: 128px; }
	.lvs-comparo .lvs-comparo__defil table.lvs-art-tableau.lvs-comparo__table tbody th { font-size: 13px; }
	.lvs-comparo .lvs-comparo__note { min-width: 50px; font-size: 14px; padding: 4px 8px; }
}

/* Encart vidéo + bouton : vidéo à gauche, accroche et bouton à droite ; empilés sur téléphone. */
.lvs-combo-video { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: center;
	margin: 8px 0 28px 6px; padding: 18px; background: var(--lvs-menthe, #E3F1EA);
	border: 2px solid var(--lvs-encre, #000); border-radius: 20px; box-shadow: var(--lvs-ombre-signature, -6px 6px 0 #000); }
.lvs-combo-video .lvs-combo-video__media .lvs-video { margin: 0; border: 2px solid var(--lvs-encre, #000); border-radius: 14px; }
.lvs-combo-video__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lvs-combo-video .lvs-combo-video__surtitre { display: inline-block; margin: 0; padding: 6px 12px; border-radius: var(--lvs-rayon-pilule, 999px); background: var(--lvs-vert-fonce, #2D7C55); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1; letter-spacing: .03em; }
.lvs-combo-video .lvs-combo-video__titre { margin: 0; font-family: var(--lvs-police); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--lvs-titre, #111); }
.lvs-combo-video .lvs-combo-video__desc { margin: 0; font-size: 15px; line-height: 1.45; color: var(--lvs-texte, #333); }
.lvs-combo-video :is(a).lvs-btn.lvs-combo-video__btn { margin-top: 6px; white-space: nowrap; }
.lvs-combo-video :is(a).lvs-btn.lvs-combo-video__btn svg { flex: 0 0 18px; }
@media (max-width: 640px) {
	.lvs-combo-video { grid-template-columns: 1fr; gap: 16px; padding: 14px; margin-left: 6px; }
	.lvs-combo-video .lvs-combo-video__titre { font-size: 20px; }
	.lvs-combo-video :is(a).lvs-btn.lvs-combo-video__btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
 * 13. Pour / Contre sous les produits d'un article (.lvs-pourcontre)
 *     Enveloppe posée dans le contenu (widget texte), texte inchangé.
 *     Tous les articles du blog au motif « Pour » / « Contre » en gras + listes (16/11/2026).
 * ------------------------------------------------------------------------- */
.lvs-pourcontre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 8px; max-width: 820px; font-family: var(--lvs-police); }
.lvs-pourcontre .lvs-pourcontre__carte { margin: 0; padding: 18px 20px 16px; border-radius: var(--lvs-rayon, 16px); border: 1px solid transparent; }
.lvs-pourcontre .lvs-pourcontre__carte--pour { background: var(--lvs-menthe, #E3F1EA); border-color: #CFE6DA; }
.lvs-pourcontre .lvs-pourcontre__carte--contre { background: #FBF1F0; border-color: #F1DCDA; }
.lvs-pourcontre .lvs-pourcontre__carte p.lvs-pourcontre__titre { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; font-size: 17px; line-height: 1.2; color: var(--lvs-titre, #111); }
.lvs-pourcontre .lvs-pourcontre__titre strong { font-weight: 700; }
.lvs-pourcontre .lvs-pourcontre__titre::before { content: ""; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 15px 15px; }
.lvs-pourcontre .lvs-pourcontre__carte--pour .lvs-pourcontre__titre::before { background-color: var(--lvs-vert-fonce, #2D7C55);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.lvs-pourcontre .lvs-pourcontre__carte--contre .lvs-pourcontre__titre::before { background-color: #B4423A;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.lvs-pourcontre .lvs-pourcontre__carte ul.lvs-pourcontre__liste { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.lvs-pourcontre .lvs-pourcontre__carte ul.lvs-pourcontre__liste > li { position: relative; list-style: none !important; margin: 0 0 8px !important; padding: 0 0 0 28px !important; font-size: 15.5px; line-height: 1.45; color: var(--lvs-texte, #333); }
.lvs-pourcontre .lvs-pourcontre__carte ul.lvs-pourcontre__liste > li:last-child { margin-bottom: 0 !important; }
.lvs-pourcontre .lvs-pourcontre__carte ul.lvs-pourcontre__liste > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; }
.lvs-pourcontre .lvs-pourcontre__carte--pour ul.lvs-pourcontre__liste > li::before { background: var(--lvs-vert-fonce, #2D7C55);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.lvs-pourcontre .lvs-pourcontre__carte--contre ul.lvs-pourcontre__liste > li::before { background: #B4423A;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 13px 13px no-repeat; }
@media (max-width: 640px) {
	.lvs-pourcontre { grid-template-columns: 1fr; gap: 12px; }
	.lvs-pourcontre .lvs-pourcontre__carte { padding: 16px 16px 14px; }
	.lvs-pourcontre .lvs-pourcontre__carte ul.lvs-pourcontre__liste > li { font-size: 15px; }
}

/* Centrage (retours de Rémy, 16/11/2026, agent T) : bloc centré dans la colonne, titre centré,
   liste centrée en bloc de largeur fixe 300 px, identique dans Pour et Contre (retour Rémy 16/11 soir : largeurs différentes). */
.lvs-pourcontre { margin-left: auto !important; margin-right: auto !important; }
.lvs-pourcontre .lvs-pourcontre__carte p.lvs-pourcontre__titre { justify-content: center; text-align: center; }
.lvs-pourcontre .lvs-pourcontre__carte ul.lvs-pourcontre__liste { width: 100%; max-width: 300px; margin-left: auto !important; margin-right: auto !important; text-align: left; }
@media (max-width: 640px) {
	.lvs-pourcontre { max-width: 460px; justify-items: stretch; }
	.lvs-pourcontre .lvs-pourcontre__carte { width: 100%; margin: 0 auto; }
}

/* ---------------------------------------------------------------------------
 * 14. Bouton marchand dans l'encart « avis final » des tests (.lv-verdict .lv-cta-achat)
 *     Le code court [lvs_amazon] est posé DANS l'encart, en bas (retours de Rémy, 16/11/2026, agent T).
 * ------------------------------------------------------------------------- */
.lv-verdict .lv-cta-achat { text-align: center; margin-top: 4px; }
.lv-verdict .lv-cta-achat .lvs-aff-bouton { align-items: center; margin: 8px 0 0; }
.lv-verdict .lv-cta-achat .lvs-aff-cta { align-items: center; }


/* ---------------------------------------------------------------------------
 * 15. Cartes d'articles sur mobile (retour Rémy 16/11/2026 soir, agent ZF) :
 *     image ENTIÈRE (format 1200 x 630) au-dessus du texte, plus de vignette carrée rognée.
 *     « À lire aussi » du gabarit Article (.lvs-art-lies, CSS du gabarit 5387 neutralisé ici)
 *     et liste compacte du blog (.lvs-guides--compact-mobile, lvs-vitrine.css).
 * ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	body .lvs-art .lvs-art-lies .elementor-post .elementor-post__card { display: block !important; }
	body .lvs-art .lvs-art-lies .elementor-post .elementor-post__thumbnail__link { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
	body .lvs-art .lvs-art-lies .elementor-posts-container .elementor-post .elementor-post__thumbnail { position: relative !important; width: 100% !important; height: 0 !important; min-height: 0 !important; padding-bottom: 52.5% !important; }
	body .lvs-art .lvs-art-lies .elementor-post .elementor-post__thumbnail img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; transform: none !important; }
	.lvs-guides--compact-mobile .lvs-guides__item:not(.lvs-guides__item--une) .lvs-guide-carte { display: flex !important; flex-direction: column; }
	.lvs-guides--compact-mobile .lvs-guides__item:not(.lvs-guides__item--une) .lvs-guide-carte__image { aspect-ratio: 1200 / 630 !important; width: 100%; margin-bottom: 12px; border-radius: 14px; }
	.lvs-guides--compact-mobile .lvs-guides__item:not(.lvs-guides__item--une) .lvs-guide-carte__titre { font-size: 18px; }
}

/* Vidéo [lvs_video] dans un widget Elementor (17/11/2026) : en flex colonne, sous 768 px, le widget
   prenait une hauteur intrinsèque nulle (aspect-ratio sans largeur définie) : la vignette débordait
   et le titre suivant la recouvrait, le clic n'atteignait plus le lien. Largeur définie = hauteur juste. */
.e-con > .elementor-widget:has(.lvs-video), .e-con-inner > .elementor-widget:has(.lvs-video) { width: 100%; }

/* Articles : espace avant un H2 réduit (17/11/2026, Rémy) : marge haute 18 px -> 8 px, soit 38 -> 28 px
   avec l'écart de 20 px du conteneur. */
body.single-post .lvs-art-contenu .elementor-widget-heading h2.elementor-heading-title { margin-top: 8px; }

/* FAQ-ARTICLES-1.3.6 DEBUT */

/* ---------------------------------------------------------------------------
 * FAQ des articles : widget Elementor « Accordéon imbriqué » (n-accordion)
 * Variante A « Cartes douces », choisie par Rémy le 17/11/2026.
 * Portée : tous les articles (body.single-post), aucune fiche produit ni page.
 * Le widget, ses textes et son Schéma FAQ ne changent pas : seul le rendu change.
 * L'icône est dessinée en CSS ; celle du widget est masquée (évite aussi le
 * « + » géant, Pièges techniques § 3). Sélecteurs vérifiés sur Elementor 4.3.6.
 * Les !important ne servent qu'à masquer les icônes du widget, qu'Elementor
 * affiche avec une spécificité de 6 classes.
 * ------------------------------------------------------------------------- */
body.single-post .elementor-widget-n-accordion .e-n-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: var(--lvs-police);
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item {
	margin: 0;
	background: var(--lvs-fond);
	border: 1px solid var(--lvs-bordure);
	border-radius: 12px;
	transition: border-color var(--lvs-transition), box-shadow var(--lvs-transition);
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item:hover { border-color: #BFDCCB; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item[open] {
	border-color: var(--lvs-vert);
	box-shadow: 0 6px 20px rgba(17, 17, 17, .06);
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	list-style: none;
	cursor: pointer;
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title::-webkit-details-marker { display: none; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title:focus-visible {
	outline: 2px solid var(--lvs-focus);
	outline-offset: 3px;
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-header { flex: 1; min-width: 0; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-text {
	margin: 0;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--lvs-titre);
	letter-spacing: 0;
	text-transform: none;
}

/* Icône : pastille menthe, « + » vert ; ouverte : pastille verte, « − » blanc */
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon {
	order: 2;
	flex: 0 0 32px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--lvs-menthe);
	transition: background-color var(--lvs-transition);
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon > span { display: none !important; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon::before,
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--lvs-vert-fonce);
	transition: transform .25s ease, background-color var(--lvs-transition);
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon::after { transform: rotate(90deg); }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon { background: var(--lvs-vert-fonce); }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon::before,
body.single-post .elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon::after { background: #fff; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon::after { transform: rotate(0deg); }

/* Réponse */
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con {
	padding: 0 20px 20px;
	border: 0;
	background: transparent;
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con .elementor-widget-text-editor {
	font-family: var(--lvs-police);
	font-size: 16px;
	line-height: 1.7;
	color: var(--lvs-texte);
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con p { margin: 0 0 .8em; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con p:last-child { margin-bottom: 0; }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con a {
	color: var(--lvs-vert-fonce);
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con a:hover { color: var(--lvs-vert-nuit); }
body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con strong { color: var(--lvs-titre); }

@media (max-width: 767px) {
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title { padding: 16px; }
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-text { font-size: 16px; }
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con { padding: 0 16px 16px; }
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item > .e-con .elementor-widget-text-editor { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item,
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon,
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon::before,
	body.single-post .elementor-widget-n-accordion .e-n-accordion-item-title-icon::after { transition: none; }
}
/* FAQ-ARTICLES-1.3.6 FIN */
