/* =====================================================================
   Dons LNCV — Widgets front autonomes (non intrusifs pour le thème).
   Styles limités au sélecteur de devise : aucun sélecteur d'élément global,
   couleurs en dur (palette LNCV) pour ne pas dépendre du design system complet.
   ===================================================================== */
.cur-switch {
	display: inline-flex; vertical-align: middle;
	background: #F4F6F8; border: 1px solid #E4E8EF; border-radius: 999px;
	padding: 3px; gap: 2px;
}
.cur-switch button {
	border: none; background: transparent; cursor: pointer;
	padding: 5px 12px; border-radius: 999px;
	font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4;
	color: #64748B;
}
.cur-switch button:hover { color: #13233A; }
.cur-switch button.active { background: #ea5522; color: #fff; }

.lncv-cur-select {
	font-family: inherit; font-size: 13px;
	padding: 6px 10px; border: 1px solid #E4E8EF; border-radius: 8px;
	background: #fff; color: #13233A; cursor: pointer;
}

/* --- Galerie de campagne (scopée sous .lncv) --- */
.lncv .lncv-feat {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 4px;
}
.lncv .lncv-gallery { padding: 10px 12px 0; }
.lncv .lncv-gal-thumbs {
	display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px;
	scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.lncv .lncv-gal-thumbs::-webkit-scrollbar { height: 6px; }
.lncv .lncv-gal-thumbs::-webkit-scrollbar-thumb { background: #E4E8EF; border-radius: 999px; }
.lncv .lncv-gal-thumb {
	flex: 0 0 auto; width: 84px; height: 60px; padding: 0; cursor: pointer;
	border: 2px solid transparent; border-radius: 10px; overflow: hidden;
	background: #F4F6F8; scroll-snap-align: start; transition: border-color .15s ease;
}
.lncv .lncv-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lncv .lncv-gal-thumb:hover { border-color: #cbd5e1; }
.lncv .lncv-gal-thumb.active { border-color: #ea5522; }

/* =====================================================================
   Fil d'Ariane [lncv_breadcrumb] — autonome (icônes SVG, couleurs en dur).
   Chargé partout : fonctionne en en-tête / pied / contenu, sans le design
   system complet. Affichage EN LIGNE (jamais une liste à puces).
   ===================================================================== */
.lncv .lncv-crumbs { font-family: inherit; font-size: 13px; line-height: 1.4; margin: 0 0 1rem; }
.lncv .lncv-crumbs-list { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; list-style: none !important; margin: 0 !important; padding: 0 !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lncv .lncv-crumbs-list::-webkit-scrollbar { display: none; }
.lncv .lncv-crumbs-list > li { margin: 0 !important; padding: 0 !important; list-style: none !important; display: inline-flex; align-items: center; }
.lncv .lncv-crumbs-list > li::before, .lncv .lncv-crumbs-list > li::marker { content: none !important; }
.lncv .lncv-crumb { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; min-width: 0; box-sizing: border-box; }
.lncv .lncv-crumb a { display: inline-flex; align-items: center; gap: 5px; color: #64748B !important; text-decoration: none !important; padding: 4px 9px; border-radius: 999px; white-space: nowrap; max-width: 220px; transition: background .15s, color .15s; box-shadow: none !important; background: transparent; }
.lncv .lncv-crumb a:hover { background: #F4F6F8 !important; color: #cf3f12 !important; text-decoration: none !important; }
.lncv .lncv-crumb-ic { width: 16px; height: 16px; flex: 0 0 auto; }
.lncv .lncv-crumb a .lncv-crumb-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lncv .lncv-crumb-sep { width: 15px; height: 15px; color: #9aa6b6; flex: 0 0 auto; opacity: .85; }
.lncv .lncv-crumb.is-current { flex: 0 1 auto; min-width: 0; }
.lncv .lncv-crumb.is-current > span { display: inline-flex; align-items: center; gap: 5px; color: #13233A; font-weight: 600; padding: 4px 4px; min-width: 0; }
.lncv .lncv-crumb.is-current .lncv-crumb-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
@media (max-width: 600px) {
	.lncv .lncv-crumb a { max-width: 130px; }
	.lncv .lncv-crumb.is-current .lncv-crumb-txt { max-width: 170px; }
}

/* =====================================================================
   Formulaire newsletter [lncv_newsletter] — autonome (anti-thème).
   Soumission AJAX (lncv-front.js) : aucune page rechargée.
   ===================================================================== */
.lncv .lncv-news { box-sizing: border-box; background: #fff; border: 1px solid #E4E8EF; border-radius: 14px; padding: 1.5rem; font-family: inherit; color: #13233A; }
.lncv .lncv-news * { box-sizing: border-box; }
.lncv .lncv-news-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1rem; }
.lncv .lncv-news-ic { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: #fdeee8; color: #cf3f12; }
.lncv .lncv-news-ic svg { width: 24px; height: 24px; }
.lncv .lncv-news-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: #13233A; line-height: 1.25; }
.lncv .lncv-news-text { margin: 0; font-size: 13px; color: #64748B; line-height: 1.55; }
.lncv .lncv-news-form { margin: 0; }
.lncv .lncv-news-form input[type=email], .lncv .lncv-news-form input[type=text] { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid #E4E8EF; border-radius: 8px; background: #fff; color: #13233A; font-size: 14px; font-family: inherit; line-height: 1.3; margin: 0; }
.lncv .lncv-news-form input::placeholder { color: #94a3b8; }
.lncv .lncv-news-form input:focus { outline: none; border-color: #ea5522; box-shadow: 0 0 0 3px #fdeee8; }
.lncv .lncv-news-form input[name=first_name] { margin-bottom: 8px; }
.lncv .lncv-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.lncv .lncv-news-row { display: flex; gap: 8px; align-items: stretch; }
.lncv .lncv-news-row input[type=email] { flex: 1 1 auto; min-width: 0; }
.lncv .lncv-news-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; border: none !important; border-radius: 8px !important; background: #ea5522 !important; color: #fff !important; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; padding: 11px 18px; cursor: pointer; transition: background .15s; box-shadow: none !important; text-transform: none; }
.lncv .lncv-news-btn:hover { background: #cf3f12 !important; color: #fff !important; }
.lncv .lncv-news-btn:disabled { opacity: .7; cursor: default; }
.lncv .lncv-news-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.lncv .lncv-news-btn .lncv-wspin { animation: lncv-wspin .9s linear infinite; }
@keyframes lncv-wspin { to { transform: rotate(360deg); } }
.lncv .lncv-news-note { font-size: 11px; color: #64748B; margin: 8px 0 0; line-height: 1.5; }
.lncv .lncv-news-msg { font-size: 13px; margin-top: 10px; display: none; align-items: center; gap: 6px; }
.lncv .lncv-news-msg svg { width: 16px; height: 16px; flex: 0 0 auto; }
.lncv .lncv-news-msg.is-ok, .lncv .lncv-news-msg.is-err, .lncv .lncv-news-msg.is-info { display: flex; }
.lncv .lncv-news-msg.is-ok { color: #136728; }
.lncv .lncv-news-msg.is-err { color: #A32D2D; }
.lncv .lncv-news-msg.is-info { color: #185FA5; }
.lncv .lncv-news.is-done .lncv-news-row, .lncv .lncv-news.is-done .lncv-news-note { opacity: .55; }
/* Variante inline (bandeau large : accroche à gauche, formulaire à droite) */
@media (min-width: 721px) {
	.lncv .lncv-news-inline { display: flex; align-items: center; gap: 1.75rem; }
	.lncv .lncv-news-inline .lncv-news-head { flex: 1 1 auto; margin-bottom: 0; }
	.lncv .lncv-news-inline .lncv-news-form { flex: 1 1 360px; }
}
@media (max-width: 600px) {
	.lncv .lncv-news-row { flex-direction: column; }
	.lncv .lncv-news-btn { width: 100%; }
}
