/* ==== Les commentaires — bannières publicitaires ==== */
:root { --lc-gold: #d8ca6a; --lc-black: #0d0d0d; }

.lc-ad { clear: both; width: 100%; margin: 32px auto; text-align: center; }
.lc-ad__inner { display: inline-block; max-width: 100%; vertical-align: top; }
.lc-ad__label {
	display: block; margin: 0 0 6px; font: 600 10px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
	letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a;
}
.lc-ad__media a, .lc-ad__media picture { display: block; }
.lc-ad__img, .lc-ad__media img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 0; }
.lc-ad__media ins { display: block; }

/* Sous l'en-tête : bandeau pleine largeur sobre */
.lc-ad--header { margin: 0; padding: 14px 16px; background: #f5f5f3; border-bottom: 1px solid rgba(0,0,0,.06); }
[data-scheme="dark"] .lc-ad--header { background: #141414; border-bottom-color: rgba(255,255,255,.06); }
.lc-ad--footer { margin: 40px auto 0; padding: 20px 16px; border-top: 1px solid rgba(0,0,0,.06); }
[data-scheme="dark"] .lc-ad--footer { border-top-color: rgba(255,255,255,.06); }
.lc-ad--sidebar { margin: 0 0 32px; }
.lc-ad--archive { grid-column: 1 / -1; margin: 8px 0 32px; }
.lc-ad--article_top { margin: 0 0 28px; }
.lc-ad--article_inline, .lc-ad--article_inline2 { margin: 28px auto; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.07); border-bottom: 1px solid rgba(0,0,0,.07); }
[data-scheme="dark"] .lc-ad--article_inline, [data-scheme="dark"] .lc-ad--article_inline2 { border-color: rgba(255,255,255,.08); }

/* Choix de l'appareil */
@media (min-width: 720px) { .lc-ad--dev-mobile { display: none !important; } }
@media (max-width: 719px) { .lc-ad--dev-desktop { display: none !important; } }

/* Bandeau fixe mobile */
.lc-ad--mobile_sticky {
	position: fixed; z-index: 9989; left: 0; right: 0; bottom: 0; margin: 0;
	padding: 6px 36px 8px; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}
.lc-ad--mobile_sticky .lc-ad__label { margin-bottom: 4px; font-size: 9px; }
.lc-ad--mobile_sticky .lc-ad__img { max-height: 60px; width: auto; }
[data-scheme="dark"] .lc-ad--mobile_sticky { background: #141414; }
.lc-ad__close {
	position: absolute; top: 4px; right: 8px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 0;
	background: rgba(0,0,0,.06); color: #333; font-size: 18px; line-height: 26px; cursor: pointer;
}
[data-scheme="dark"] .lc-ad__close { background: rgba(255,255,255,.1); color: #eee; }
@media (min-width: 1020px) { .lc-ad--mobile_sticky { display: none !important; } }
.lc-has-tabbar .lc-ad--mobile_sticky { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; border-radius: 0; }

/* ==== Menu fixe en bas — mobile et tablette uniquement ==== */
.lc-tabbar { display: none; }
@media (max-width: 1019px) {
	.lc-tabbar {
		display: block; position: fixed; z-index: 9990; left: 50%; transform: translateX(-50%);
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		width: min(calc(100% - 32px), 340px);
		background: var(--lc-black); border: 1px solid rgba(255,255,255,.07); border-radius: 22px;
		box-shadow: 0 12px 32px rgba(0,0,0,.28);
	}
	.lc-tabbar ul { display: flex; justify-content: space-around; align-items: center; margin: 0; padding: 6px 8px; list-style: none; }
	.lc-tabbar li { margin: 0; padding: 0; list-style: none; }
	.lc-tabbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center;
		width: 60px; height: 48px; border-radius: 0; color: #fff; text-decoration: none;
		-webkit-tap-highlight-color: transparent; transition: color .2s, background-color .2s, transform .12s;
	}
	.lc-tabbar a:active { transform: scale(.9); }
	.lc-tabbar a.is-current { color: var(--lc-gold); }
	.lc-tabbar svg { width: 24px; height: 24px; display: block; }
	.lc-tabbar--labels a { height: 52px; }
	.lc-tabbar span { margin-top: 3px; font: 500 10px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .02em; }
	body.lc-has-tabbar { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	body.lc-has-tabbar .pk-scroll-to-top { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (hover: hover) and (max-width: 1019px) { .lc-tabbar a:hover { color: var(--lc-gold); } }

/* ==== Charte « Les commentaires » : angles droits partout, comme le logo ==== */
:root, [data-scheme="light"], [data-scheme="dark"], [data-scheme="inverse"] {
	--cs-common-border-radius: 0px !important;
	--cs-primary-border-radius: 0px !important;
	--cs-secondary-border-radius: 0px !important;
	--cs-input-border-radius: 0px !important;
	--cs-styled-category-border-radius: 0px !important;
	--cs-light-box-zoom-icon-border-radius: 0px !important;
}
button, .button, input[type="submit"], input[type="button"], input[type="reset"],
input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], input[type="password"], textarea, select,
.wp-block-button__link, .wp-element-button, .cs-button, [class*="cs-button"], .cs-read-more, .cs-entry__category a, .post-categories a,
.pk-button, [class*="pk-button"], .pk-scroll-to-top, .pk-share-buttons-link, .pk-social-links-link, .pk-subscribe-form-wrap input, .pk-subscribe-form-wrap button,
.cnvs-block-button a, [class*="cnvs-button"], .page-numbers, .cs-pagination a, .cs-pagination span, .tagcloud a, .wp-block-tag-cloud a,
.cs-search__input, .cs-search__submit, .cs-header__search-toggle, .cs-site-scheme-toggle, .cs-site-scheme-toggle-element, .wpcf7-submit, .wpforms-submit {
	border-radius: 0 !important;
}
.cs-header__scheme-toggle-element, .cs-header__scheme-toggle-element::before, .cs-header__scheme-toggle-element::after,
.cs-site-scheme-toggle-element::before, .cs-site-scheme-toggle-element::after,
.pk-social-links-icon, .pk-social-links-link, .pk-share-buttons-icon, [class*="pk-social-links-template"] .pk-social-links-item * {
	border-radius: 0 !important;
}
.cs-entry__thumbnail, .cs-entry__thumbnail img, .avatar, img.avatar, .cs-entry__author-avatar img { border-radius: 0 !important; }

/* ==== Menu fixe : coins arrondis + léger dégradé doré, adapté au mode clair et sombre ==== */
@media (max-width: 1019px) {
	.lc-tabbar {
		overflow: hidden;
		background:
			linear-gradient(180deg, rgba(216,202,106,.22) 0%, rgba(216,202,106,.06) 38%, rgba(216,202,106,0) 70%),
			#0d0d0d;
		border: 1px solid rgba(216,202,106,.28);
		box-shadow: 0 -2px 18px rgba(216,202,106,.12), 0 14px 34px rgba(0,0,0,.32);
	}
	/* Mode sombre : fond un peu plus clair que la page et halo doré plus marqué, pour que le menu se détache du noir */
	body[data-scheme="dark"] .lc-tabbar {
		background:
			linear-gradient(180deg, rgba(216,202,106,.30) 0%, rgba(216,202,106,.09) 40%, rgba(216,202,106,0) 75%),
			#1a1a1a;
		border-color: rgba(216,202,106,.42);
		box-shadow: 0 -4px 26px rgba(216,202,106,.20), 0 14px 34px rgba(0,0,0,.6);
	}
	.lc-has-tabbar .lc-ad--mobile_sticky { border-radius: 0; }
}

/* ==== Proposition 2 : halo doré centré en haut + contour doré qui s'efface sur les côtés, coins 12 px ==== */
@media (max-width: 1019px) {
	.lc-tabbar {
		border-radius: 12px;
		border: 1px solid transparent;
		background:
			radial-gradient(70% 120% at 50% 0%, rgba(216,202,106,.30) 0%, rgba(216,202,106,.08) 45%, rgba(216,202,106,0) 75%) padding-box,
			linear-gradient(#0d0d0d, #0d0d0d) padding-box,
			linear-gradient(90deg, rgba(216,202,106,.10) 0%, rgba(216,202,106,.85) 50%, rgba(216,202,106,.10) 100%) border-box;
		box-shadow: 0 -6px 22px -8px rgba(216,202,106,.35), 0 14px 34px rgba(0,0,0,.32);
	}
	body[data-scheme="dark"] .lc-tabbar {
		border-color: transparent;
		background:
			radial-gradient(70% 120% at 50% 0%, rgba(216,202,106,.38) 0%, rgba(216,202,106,.10) 45%, rgba(216,202,106,0) 75%) padding-box,
			linear-gradient(#1a1a1a, #1a1a1a) padding-box,
			linear-gradient(90deg, rgba(216,202,106,.15) 0%, rgba(216,202,106,1) 50%, rgba(216,202,106,.15) 100%) border-box;
		box-shadow: 0 -8px 28px -8px rgba(216,202,106,.45), 0 14px 34px rgba(0,0,0,.6);
	}
}

/* ==== Menu fixe collé au bas de l'écran (style application, comme les grands sites d'info) ==== */
@media (max-width: 1019px) {
	.lc-tabbar, body[data-scheme="dark"] .lc-tabbar {
		left: 0; right: 0; bottom: 0; transform: none; width: 100%;
		border-radius: 0; border: 0; border-top: 1px solid rgba(216,202,106,.45);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: radial-gradient(60% 140% at 50% 0%, rgba(216,202,106,.18) 0%, rgba(216,202,106,0) 70%), #0d0d0d;
		box-shadow: 0 -4px 16px rgba(0,0,0,.18);
	}
	body[data-scheme="dark"] .lc-tabbar { background: radial-gradient(60% 140% at 50% 0%, rgba(216,202,106,.24) 0%, rgba(216,202,106,0) 70%), #161616; }
	.lc-tabbar ul { max-width: 480px; margin: 0 auto; padding: 4px 8px; }
	body.lc-has-tabbar { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
	body.lc-has-tabbar .pk-scroll-to-top { bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important; }
	.lc-has-tabbar .lc-ad--mobile_sticky { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; }
	.lc-has-tabbar .lc-consent { bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* 3e colonne du pied de page : chaîne YouTube */
.cs-footer .cs-footer__col.cs-col-right{display:flex;align-items:center}
.cs-footer .lc-footer-yt{display:flex;align-items:center;gap:14px;text-decoration:none;color:#fff}
.cs-footer .lc-footer-yt__icon{flex:0 0 46px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:#d8ca6a;color:#0d0d0d;transition:background .2s}
.cs-footer .lc-footer-yt__text{display:flex;flex-direction:column;line-height:1.35}
.cs-footer .lc-footer-yt__text strong{font-size:14px;font-weight:700;color:#fff}
.cs-footer .lc-footer-yt__text span{font-size:12px;color:#a8a8a8;margin-top:3px;transition:color .2s}
.cs-footer .lc-footer-yt:hover .lc-footer-yt__icon{background:#fff}
.cs-footer .lc-footer-yt:hover .lc-footer-yt__text span{color:#d8ca6a}

/* Barre du bas : liens légaux + copyright sur une ligne */
.cs-footer .lc-footer-bottom{padding:0 0 28px}
.cs-footer .lc-legal-bar{border-top:1px solid #333;border-bottom:1px solid #333;padding:22px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 36px}
.cs-footer .lc-legal-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 36px}
.cs-footer .lc-legal-nav li{margin:0;padding:0}
.cs-footer .lc-legal-nav a{font-size:14px;font-weight:500;line-height:1.4;color:#fff;text-decoration:none;transition:color .2s}
.cs-footer .lc-legal-nav a:hover,.cs-footer .lc-legal-nav a:focus{color:#d8ca6a}
.cs-footer .lc-copyright{font-size:13px;line-height:1.4;color:#858585}
@media (max-width:1019px){
	.cs-footer .cs-footer__col.cs-col-right{justify-content:center}
	.cs-footer .lc-footer-yt{text-align:left}
	.cs-footer .lc-legal-bar,.cs-footer .lc-legal-nav ul{gap:8px 22px}
	.cs-footer .lc-legal-bar{padding:18px 0;flex-direction:column}
	.cs-footer .lc-legal-nav a{font-size:13px}
	.cs-footer .lc-copyright{font-size:12px;text-align:center}
}
@media (min-width:1020px){
	.cs-footer .cs-footer__col.cs-col-right{max-width:380px;flex-basis:380px}
	.cs-footer .lc-footer-yt__text strong,.cs-footer .lc-footer-yt__text span{white-space:nowrap}
}

/* Catégories : étiquette dorée (texte noir) sur fond clair, doré simple sur fond sombre */
[data-scheme="default"] .cs-meta-category .post-categories{display:inline-flex;flex-wrap:wrap;gap:4px}
[data-scheme="default"] .cs-meta-category .post-categories li::after,[data-scheme="default"] .cs-meta-category .post-categories li::before{content:none !important;display:none !important}
[data-scheme="default"] .cs-meta-category .post-categories a{display:inline-block;background:#d8ca6a;color:#0d0d0d !important;padding:4px 6px;line-height:1;border-radius:0;transition:background .2s,color .2s}
[data-scheme="default"] .cs-meta-category .post-categories a:hover,[data-scheme="default"] .cs-meta-category .post-categories a:focus{background:#0d0d0d;color:#d8ca6a !important}
[data-scheme="dark"] .cs-meta-category .post-categories,[data-scheme="inverse"] .cs-meta-category .post-categories{display:inline-block}
[data-scheme="dark"] .cs-meta-category .post-categories li::after,[data-scheme="inverse"] .cs-meta-category .post-categories li::after{content:","}
[data-scheme="dark"] .cs-meta-category .post-categories li:last-child::after,[data-scheme="inverse"] .cs-meta-category .post-categories li:last-child::after{content:none}
[data-scheme="dark"] .cs-meta-category .post-categories a,[data-scheme="inverse"] .cs-meta-category .post-categories a{background:none;color:#d8ca6a !important;padding:0;line-height:inherit}
[data-scheme="dark"] .cs-meta-category .post-categories a:hover,[data-scheme="inverse"] .cs-meta-category .post-categories a:hover{background:none;color:#fff !important}

/* Articles vidéo importés de YouTube */
.entry-content .lc-chapo{font-size:1.15em;font-weight:600;line-height:1.55}
.entry-content .lc-yt-source{font-size:.9em;color:#777;border-top:1px solid rgba(0,0,0,.1);padding-top:1em}
[data-scheme="dark"] .entry-content .lc-yt-source{color:#a8a8a8;border-top-color:rgba(255,255,255,.12)}
.entry-content .wp-block-embed.lc-yt-short{max-width:360px;margin-left:auto;margin-right:auto}
.entry-content .lc-yt-short .wp-block-embed__wrapper iframe{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-height:none !important;aspect-ratio:auto !important}

/* Bloc principal de la une : onglets de rubriques + rotation */
.lc-tabs{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.lc-tabs li{margin:0!important}
.lc-tabs a{opacity:.55;transition:opacity .2s;padding-bottom:5px;cursor:pointer;position:relative;z-index:3;border-bottom:0!important}
.lc-tabs a::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:currentColor}
.lc-tabs a.is-active,.lc-tabs a:hover{opacity:1}
.lc-tabs a.is-active::after{width:100%}
.lc-tabs a.is-active.is-running::after{width:0;animation:lc-tab-progress 5s linear forwards}
.is-paused .lc-tabs a.is-active::after{animation:none;width:100%}
@keyframes lc-tab-progress{from{width:0}to{width:100%}}
.lc-hero-fade{transition:opacity .25s ease}
.lc-hero-fade.is-out{opacity:.2}
.lc-novideo .cs-video-wrapper,.lc-novideo .cs-video-controls{display:none!important}
.lc-tabs{transition:opacity .3s ease}
.lc-tabs.is-entering{opacity:0}
.lc-tabs li{transition:opacity .35s ease}
.lc-tabs li.is-new{opacity:0}
.lc-hover-video{position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;opacity:0;transition:opacity .4s ease;background:#000}
.lc-hover-video.is-ready{opacity:1}
.lc-hover-video iframe{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0;max-width:none}

/* Pied de page : adresses e-mail sous les réseaux sociaux */
.cs-footer .lc-footer-contacts{list-style:none;margin:22px 0 0;padding:0;font-size:13px;line-height:1.5}
.cs-footer .lc-footer-contacts li{margin:0 0 12px;padding:0}
.cs-footer .lc-footer-contacts__label{display:block;color:#858585;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px}
.cs-footer .lc-footer-contacts a{color:#fff;text-decoration:none;transition:color .2s;white-space:nowrap}
.cs-footer .lc-footer-contacts a:hover,.cs-footer .lc-footer-contacts a:focus{color:#d8ca6a}
@media (max-width:1019px){.cs-footer .lc-footer-contacts{text-align:center}}

/* ==== Accueil : premier bloc (à la une) sur fond blanc en mode clair, textes adaptés ==== */
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 { background-color: #fff !important; }
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .lc-tabs a,
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .cs-entry__post-meta,
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .cs-meta-author-inner,
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .cs-by,
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .cs-author { color: #111 !important; }
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .lc-tabs a { background: transparent !important; }
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .lc-tabs a.is-active { color: #000 !important; }
body:not([data-scheme="dark"]) .cnvs-block-section-1585838846586 .lc-tabs a::after { background: #d8ca6a; height: 3px; }
