/*
Theme Name:   Leyonto TV
Theme URI:    https://leyontotv.com/
Description:  Thème enfant Astra sur mesure pour Leyonto TV — chaîne de contenus islamiques (vidéos courtes, longs métrages, lives, dou'a, dons). Conception mobile first, palette Rouge & Or.
Author:       Elimboo
Author URI:   https://elimboo.com
Template:     astra
Version:      1.4.3
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  leyonto
Tags:         mobile-first, video, custom-menu, custom-colors, translation-ready
*/

/* =========================================================================
   1. JETONS DE DESIGN
   ========================================================================= */
:root {
	/* Palette — Rouge & Or sur nuit chaude */
	--lt-nuit: #14100d;
	--lt-nuit-2: #1e1813;
	--lt-nuit-3: #2b211a;
	--lt-rouge: #a31621;
	--lt-rouge-clair: #c8202d;
	--lt-rouge-sombre: #7a0f18;
	--lt-or: #c9a227;
	--lt-or-clair: #e9cd7a;
	--lt-or-pale: #f4e6bd;
	--lt-sable: #faf6ef;
	--lt-sable-2: #f1e9dc;
	--lt-encre: #241e19;
	--lt-gris: #6e6357;
	--lt-blanc: #ffffff;

	/* Rôles */
	--lt-fond: var(--lt-sable);
	--lt-texte: var(--lt-encre);
	--lt-texte-doux: var(--lt-gris);
	--lt-trait: rgba(36, 30, 25, 0.12);
	--lt-trait-or: rgba(201, 162, 39, 0.35);

	/* Typographie */
	--lt-display: "Amiri", "Iowan Old Style", Georgia, serif;
	--lt-ui: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--lt-t-xs: 0.8125rem;
	--lt-t-sm: 0.9375rem;
	--lt-t-base: 1.0625rem;
	--lt-t-lg: 1.1875rem;
	--lt-t-xl: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem);
	--lt-t-2xl: clamp(1.7rem, 1.3rem + 2vw, 2.5rem);
	--lt-t-3xl: clamp(2.1rem, 1.5rem + 3.2vw, 3.6rem);
	--lt-t-4xl: clamp(2.6rem, 1.6rem + 4.6vw, 4.6rem);

	/* Rythme */
	--lt-wrap: 1180px;
	--lt-wrap-etroit: 760px;
	--lt-marge: clamp(1.15rem, 4vw, 2.5rem);
	--lt-section: clamp(3.25rem, 8vw, 6.5rem);
	--lt-r-sm: 6px;
	--lt-r-md: 12px;
	--lt-r-lg: 20px;

	--lt-ombre: 0 18px 40px -24px rgba(20, 16, 13, 0.55);
	--lt-ombre-forte: 0 30px 70px -30px rgba(20, 16, 13, 0.7);
	--lt-transition: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* =========================================================================
   2. BASE
   ========================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

html body.lt-body {
	margin: 0;
	background: var(--lt-fond);
	color: var(--lt-texte);
	font-family: var(--lt-ui);
	font-size: var(--lt-t-base);
	line-height: 1.65;
	font-weight: 400;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

html body.lt-body h1,
html body.lt-body h2,
html body.lt-body h3,
html body.lt-body h4 {
	font-family: var(--lt-display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: inherit;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

html body.lt-body h1 { font-size: var(--lt-t-3xl); }
html body.lt-body h2 { font-size: var(--lt-t-2xl); }
html body.lt-body h3 { font-size: var(--lt-t-xl); }
html body.lt-body h4 { font-size: var(--lt-t-lg); }

p { margin: 0 0 1.15em; max-width: 68ch; }

a { color: var(--lt-rouge); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lt-rouge-clair); }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--lt-or);
	outline-offset: 3px;
	border-radius: 3px;
}

.lt-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.lt-skip {
	position: absolute; top: -100px; left: 1rem; z-index: 9999;
	background: var(--lt-or); color: var(--lt-nuit);
	padding: 0.7rem 1.1rem; border-radius: var(--lt-r-sm); font-weight: 600;
}
.lt-skip:focus { top: 1rem; }

/* =========================================================================
   3. STRUCTURE
   ========================================================================= */
.lt-wrap {
	width: 100%;
	max-width: var(--lt-wrap);
	margin-inline: auto;
	padding-inline: var(--lt-marge);
}
.lt-wrap--etroit { max-width: var(--lt-wrap-etroit); }

.lt-section { padding-block: var(--lt-section); }
.lt-section--serre { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.lt-section--nuit { background: var(--lt-nuit); color: var(--lt-sable); }
.lt-section--nuit h2,
.lt-section--nuit h3,
.lt-section--nuit h4 { color: var(--lt-sable); }
.lt-section--sable2 { background: var(--lt-sable-2); }

.lt-grid { display: grid; gap: clamp(1.1rem, 3vw, 2rem); }
@media (min-width: 640px) { .lt-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .lt-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lt-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .lt-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lt-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* En-tête de section : le khatim (étoile à 8 branches) sert de repère */
.lt-titre-bloc { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.lt-titre-bloc p { color: var(--lt-texte-doux); font-size: var(--lt-t-lg); margin-bottom: 0; }
.lt-section--nuit .lt-titre-bloc p { color: rgba(250, 246, 239, 0.72); }
.lt-titre-bloc--centre { margin-inline: auto; text-align: center; }
.lt-titre-bloc--centre p { margin-inline: auto; }

.lt-khatim {
	width: 26px; height: 26px; display: block; margin-bottom: 1rem;
	color: var(--lt-or);
}
.lt-titre-bloc--centre .lt-khatim { margin-inline: auto; }

/* =========================================================================
   4. BOUTONS
   ========================================================================= */
.lt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
	min-height: 52px;
	padding: 0.85rem 1.5rem;
	font-family: var(--lt-ui);
	font-size: var(--lt-t-sm);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: background var(--lt-transition), color var(--lt-transition),
		border-color var(--lt-transition), transform var(--lt-transition);
}
.lt-btn:active { transform: translateY(1px); }

.lt-btn--or { background: var(--lt-or); color: var(--lt-nuit); }
.lt-btn--or:hover { background: var(--lt-or-clair); color: var(--lt-nuit); }

.lt-btn--rouge { background: var(--lt-rouge); color: var(--lt-blanc); }
.lt-btn--rouge:hover { background: var(--lt-rouge-clair); color: var(--lt-blanc); }

.lt-btn--contour { border-color: var(--lt-or); color: var(--lt-or); background: transparent; }
.lt-btn--contour:hover { background: var(--lt-or); color: var(--lt-nuit); }

.lt-btn--encre { border-color: var(--lt-encre); color: var(--lt-encre); background: transparent; }
.lt-btn--encre:hover { background: var(--lt-encre); color: var(--lt-sable); }

.lt-btn--large { width: 100%; }
@media (min-width: 560px) { .lt-btn--large { width: auto; } }

.lt-btns { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 560px) { .lt-btns { flex-direction: row; flex-wrap: wrap; align-items: center; } }

/* =========================================================================
   5. EN-TÊTE + NAVIGATION
   ========================================================================= */
.lt-header {
	position: sticky; top: 0; z-index: 900;
	background: var(--lt-nuit);
	border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}
.lt-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-height: 68px;
}
.lt-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.lt-logo img, .lt-logo svg { height: 42px; width: auto; }
.lt-logo__txt { display: flex; flex-direction: column; line-height: 1; }
.lt-logo__nom {
	font-family: var(--lt-display); font-size: 1.3rem; font-weight: 700;
	color: var(--lt-or-clair); letter-spacing: 0.04em;
}
.lt-logo__sous { font-size: 0.6875rem; color: rgba(250, 246, 239, 0.6); letter-spacing: 0.06em; }

.lt-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.lt-burger {
	width: 46px; height: 46px; display: grid; place-items: center;
	background: transparent; border: 1px solid rgba(201, 162, 39, 0.4);
	border-radius: var(--lt-r-sm); cursor: pointer; color: var(--lt-or-clair);
}
.lt-burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.lt-burger span::before,
.lt-burger span::after {
	content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
	transition: transform var(--lt-transition), opacity var(--lt-transition);
}
.lt-burger span::before { top: -6px; }
.lt-burger span::after { top: 6px; }
.lt-burger[aria-expanded="true"] span { background: transparent; }
.lt-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.lt-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.lt-nav { display: none; }
.lt-nav__liste { list-style: none; margin: 0; padding: 0; }
.lt-nav__liste a {
	display: block; padding: 0.9rem 0; color: var(--lt-sable); text-decoration: none;
	font-weight: 500; border-bottom: 1px solid rgba(250, 246, 239, 0.08);
}
.lt-nav__liste a:hover,
.lt-nav__liste .current-menu-item > a { color: var(--lt-or-clair); }

/* Tiroir mobile */
.lt-drawer {
	position: fixed; inset: 68px 0 0 0; z-index: 890;
	background: var(--lt-nuit); padding: 1.25rem var(--lt-marge) 2.5rem;
	overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
	transition: opacity var(--lt-transition), transform var(--lt-transition), visibility var(--lt-transition);
}
.lt-drawer.est-ouvert { transform: none; opacity: 1; visibility: visible; }
.lt-drawer .lt-btns { margin-top: 1.5rem; }
.lt-drawer__contact { margin-top: 1.75rem; color: rgba(250, 246, 239, 0.7); font-size: var(--lt-t-sm); }
.lt-drawer__contact a { color: var(--lt-or-clair); }

@media (min-width: 1024px) {
	.lt-burger, .lt-drawer { display: none; }
	.lt-nav { display: block; }
	.lt-nav__liste { display: flex; align-items: center; gap: 1.4rem; }
	.lt-nav__liste li { position: relative; }
	.lt-nav__liste a {
		padding: 0.45rem 0; border-bottom: 0; font-size: var(--lt-t-sm);
	}
	.lt-nav__liste .menu-item-has-children > a::after { content: " ▾"; color: var(--lt-or); font-size: 0.7em; }
	.lt-nav__liste .sub-menu {
		position: absolute; top: 100%; left: -1rem; min-width: 230px;
		background: var(--lt-nuit-2); border: 1px solid rgba(201, 162, 39, 0.25);
		border-radius: var(--lt-r-md); padding: 0.5rem; list-style: none; margin: 0;
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity var(--lt-transition), transform var(--lt-transition), visibility var(--lt-transition);
		box-shadow: var(--lt-ombre-forte);
	}
	.lt-nav__liste li:hover > .sub-menu,
	.lt-nav__liste li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.lt-nav__liste .sub-menu a { padding: 0.55rem 0.75rem; border-radius: var(--lt-r-sm); }
	.lt-nav__liste .sub-menu a:hover { background: rgba(201, 162, 39, 0.12); }
}

/* Bandeau direct */
.lt-bandeau {
	background: linear-gradient(90deg, var(--lt-rouge-sombre), var(--lt-rouge));
	color: var(--lt-blanc);
}
.lt-bandeau__inner {
	display: flex; align-items: center; justify-content: center; gap: 0.75rem;
	padding: 0.55rem 0; font-size: var(--lt-t-xs); text-align: center; flex-wrap: wrap;
}
.lt-bandeau a { color: var(--lt-or-pale); font-weight: 600; }

.lt-pastille {
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.lt-pastille::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
	box-shadow: 0 0 0 0 currentColor; animation: lt-pulse 2.2s infinite;
}
@keyframes lt-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* =========================================================================
   6. HÉROS — l'arc du mihrab comme signature visuelle
   ========================================================================= */
.lt-hero {
	position: relative; background: var(--lt-nuit); color: var(--lt-sable);
	overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem);
}
.lt-hero__motif {
	position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
	background-repeat: repeat; background-size: 190px;
}
.lt-hero__inner { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
	.lt-hero__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

.lt-hero__eyebrow {
	font-family: var(--lt-display); font-size: 1.15rem; color: var(--lt-or);
	margin-bottom: 0.9rem; direction: rtl; unicode-bidi: isolate;
}
.lt-hero h1 { color: var(--lt-sable); font-size: var(--lt-t-4xl); margin-bottom: 1rem; }
.lt-hero h1 em { font-style: normal; color: var(--lt-or-clair); }
.lt-hero__chapeau {
	font-size: var(--lt-t-lg); color: rgba(250, 246, 239, 0.78); max-width: 34rem;
	margin-bottom: 1.75rem;
}
.lt-hero__preuve {
	display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2.25rem;
	padding-top: 1.5rem; border-top: 1px solid rgba(201, 162, 39, 0.25);
}
.lt-hero__preuve div strong {
	display: block; font-family: var(--lt-display); font-size: 1.6rem; color: var(--lt-or-clair);
}
.lt-hero__preuve div span { font-size: var(--lt-t-xs); color: rgba(250, 246, 239, 0.65); }

/* Masque en arc (mihrab) */
.lt-arc {
	position: relative;
	border-radius: 50% 50% var(--lt-r-lg) var(--lt-r-lg) / 32% 32% var(--lt-r-lg) var(--lt-r-lg);
	overflow: hidden;
	box-shadow: var(--lt-ombre-forte);
	border: 1px solid rgba(201, 162, 39, 0.3);
}
.lt-arc img { width: 100%; height: 100%; object-fit: cover; }
.lt-hero__media { position: relative; }
.lt-hero__media .lt-arc { aspect-ratio: 4 / 5; max-height: 560px; }
.lt-hero__media::after {
	content: ""; position: absolute; inset: auto -14px -14px auto;
	width: 120px; height: 120px; border: 2px solid var(--lt-or); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
	opacity: 0.5; z-index: -1;
}
.lt-hero__legende {
	margin-top: 0.85rem; font-size: var(--lt-t-xs); color: rgba(250, 246, 239, 0.55);
}

/* =========================================================================
   7. CARTES
   ========================================================================= */
.lt-carte {
	background: var(--lt-blanc); border: 1px solid var(--lt-trait);
	border-radius: var(--lt-r-md); overflow: hidden; display: flex; flex-direction: column;
	transition: border-color var(--lt-transition), box-shadow var(--lt-transition);
}
.lt-carte:hover { border-color: var(--lt-trait-or); box-shadow: var(--lt-ombre); }
.lt-carte__corps { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.lt-carte__titre { font-size: var(--lt-t-lg); margin-bottom: 0.5rem; }
.lt-carte__titre a { color: inherit; text-decoration: none; }
.lt-carte__titre a:hover { color: var(--lt-rouge); }
.lt-carte__extrait { font-size: var(--lt-t-sm); color: var(--lt-texte-doux); margin-bottom: 1rem; }
.lt-carte__pied {
	margin-top: auto; display: flex; align-items: center; gap: 0.75rem;
	font-size: var(--lt-t-xs); color: var(--lt-texte-doux);
}
.lt-section--nuit .lt-carte { background: var(--lt-nuit-2); color: var(--lt-sable); border-color: rgba(201, 162, 39, 0.2); }
.lt-section--nuit .lt-carte__titre { color: var(--lt-sable); }
.lt-section--nuit .lt-carte__extrait,
.lt-section--nuit .lt-carte__pied { color: rgba(250, 246, 239, 0.65); }

/* Vignette vidéo (façade YouTube : on ne charge l'iframe qu'au clic) */
.lt-vignette {
	position: relative; aspect-ratio: 16 / 9; background: var(--lt-nuit-3);
	display: block; width: 100%; border: 0; padding: 0; cursor: pointer; overflow: hidden;
}
.lt-vignette img { width: 100%; height: 100%; object-fit: cover; }
.lt-vignette::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20, 16, 13, 0) 45%, rgba(20, 16, 13, 0.75) 100%);
}
.lt-vignette__play {
	position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--lt-rouge); display: grid; place-items: center;
	box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.28);
	transition: transform var(--lt-transition), background var(--lt-transition);
}
.lt-vignette:hover .lt-vignette__play { transform: translate(-50%, -50%) scale(1.08); background: var(--lt-rouge-clair); }
.lt-vignette__play svg { width: 20px; height: 20px; fill: var(--lt-blanc); margin-left: 3px; }
.lt-vignette__duree {
	position: absolute; z-index: 2; right: 0.6rem; bottom: 0.6rem;
	background: rgba(20, 16, 13, 0.85); color: var(--lt-or-pale);
	font-size: 0.75rem; padding: 0.15rem 0.45rem; border-radius: 4px;
}
.lt-vignette__format {
	position: absolute; z-index: 2; left: 0.6rem; top: 0.6rem;
	background: var(--lt-or); color: var(--lt-nuit);
	font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 4px;
}

.lt-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--lt-r-md); overflow: hidden; }
.lt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Carte thématique illustrée */
.lt-theme {
	position: relative; display: block; overflow: hidden; border-radius: var(--lt-r-md);
	min-height: 260px; color: var(--lt-sable); text-decoration: none; isolation: isolate;
}
.lt-theme img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lt-theme::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(160deg, rgba(163, 22, 33, 0.55), rgba(20, 16, 13, 0.92));
}
.lt-theme__corps { padding: 1.5rem 1.35rem; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; min-height: 260px; }
.lt-theme h3 { color: var(--lt-sable); margin-bottom: 0.4rem; font-size: var(--lt-t-xl); }
.lt-theme p { font-size: var(--lt-t-sm); color: rgba(250, 246, 239, 0.8); margin: 0; }
.lt-theme:hover h3 { color: var(--lt-or-clair); }

/* =========================================================================
   8. FORMULAIRES
   ========================================================================= */
.lt-form { display: grid; gap: 1.1rem; }
.lt-champ { display: grid; gap: 0.4rem; }
.lt-champ label { font-size: var(--lt-t-sm); font-weight: 600; }
.lt-champ .lt-aide { font-size: var(--lt-t-xs); color: var(--lt-texte-doux); font-weight: 400; }
.lt-champ input,
.lt-champ select,
.lt-champ textarea {
	width: 100%; min-height: 52px; padding: 0.8rem 1rem;
	font-family: var(--lt-ui); font-size: var(--lt-t-base); color: var(--lt-encre);
	background: var(--lt-blanc); border: 1px solid var(--lt-trait);
	border-radius: var(--lt-r-sm); transition: border-color var(--lt-transition);
}
.lt-champ textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.lt-champ input:focus,
.lt-champ select:focus,
.lt-champ textarea:focus { border-color: var(--lt-or); }
.lt-champ--pot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.lt-radios { display: grid; gap: 0.6rem; }
@media (min-width: 620px) { .lt-radios--3 { grid-template-columns: repeat(3, 1fr); } }
.lt-radio {
	display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.85rem 1rem;
	border: 1px solid var(--lt-trait); border-radius: var(--lt-r-sm);
	background: var(--lt-blanc); cursor: pointer; font-size: var(--lt-t-sm);
	transition: border-color var(--lt-transition), background var(--lt-transition);
}
.lt-radio input { margin-top: 0.2rem; accent-color: var(--lt-rouge); }
.lt-radio:has(input:checked) { border-color: var(--lt-or); background: #fffdf6; }
.lt-radio strong { display: block; }
.lt-radio span { color: var(--lt-texte-doux); font-size: var(--lt-t-xs); }

.lt-consentement { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--lt-t-sm); }
.lt-consentement input { margin-top: 0.3rem; accent-color: var(--lt-rouge); width: 20px; height: 20px; }

.lt-form__msg {
	display: none; padding: 0.95rem 1.15rem; border-radius: var(--lt-r-sm);
	font-size: var(--lt-t-sm); border: 1px solid transparent;
}
.lt-form__msg.est-visible { display: block; }
.lt-form__msg--ok { background: #eef7ec; border-color: #b7d9ad; color: #23561a; }
.lt-form__msg--ko { background: #fdeeee; border-color: #e6b3b3; color: #7a1c1c; }

.lt-form-carte {
	background: var(--lt-blanc); border: 1px solid var(--lt-trait);
	border-top: 4px solid var(--lt-rouge);
	border-radius: var(--lt-r-md); padding: clamp(1.25rem, 4vw, 2.25rem);
	box-shadow: var(--lt-ombre);
}

/* =========================================================================
   9. BLOCS ÉDITORIAUX
   ========================================================================= */
.lt-duo { display: grid; gap: clamp(1.75rem, 5vw, 3.25rem); align-items: center; }
@media (min-width: 860px) {
	.lt-duo { grid-template-columns: 1fr 1fr; }
	.lt-duo--inverse .lt-duo__media { order: 2; }
}
.lt-duo__media img { border-radius: var(--lt-r-md); width: 100%; }

.lt-liste-atouts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }
.lt-liste-atouts li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--lt-t-sm); }
.lt-liste-atouts li::before {
	content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 0.28rem;
	background: var(--lt-or); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.lt-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: etape; }
@media (min-width: 800px) { .lt-etapes { grid-template-columns: repeat(3, 1fr); } }
.lt-etapes li { counter-increment: etape; padding-top: 1rem; border-top: 2px solid var(--lt-trait-or); }
.lt-etapes li::before {
	content: counter(etape); font-family: var(--lt-display); font-size: 1.5rem;
	color: var(--lt-or); display: block; margin-bottom: 0.35rem;
}
.lt-etapes h3 { font-size: var(--lt-t-lg); margin-bottom: 0.35rem; }
.lt-etapes p { font-size: var(--lt-t-sm); color: var(--lt-texte-doux); margin: 0; }
.lt-section--nuit .lt-etapes p { color: rgba(250, 246, 239, 0.68); }

.lt-citation {
	border-left: 3px solid var(--lt-or); padding-left: 1.25rem; margin: 2rem 0;
	font-family: var(--lt-display); font-size: var(--lt-t-xl); line-height: 1.4;
}
.lt-citation cite { display: block; font-family: var(--lt-ui); font-size: var(--lt-t-sm); font-style: normal; color: var(--lt-texte-doux); margin-top: 0.6rem; }

/* Accordéon */
.lt-accordeon { border-top: 1px solid var(--lt-trait); }
.lt-accordeon details { border-bottom: 1px solid var(--lt-trait); }
.lt-accordeon summary {
	cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
	font-weight: 600; font-size: var(--lt-t-base);
}
.lt-accordeon summary::-webkit-details-marker { display: none; }
.lt-accordeon summary::after {
	content: "+"; position: absolute; right: 0.35rem; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; color: var(--lt-or); line-height: 1;
}
.lt-accordeon details[open] summary::after { content: "–"; }
.lt-accordeon .lt-accordeon__corps { padding: 0 0 1.35rem; color: var(--lt-texte-doux); font-size: var(--lt-t-sm); }
.lt-accordeon .lt-accordeon__corps p:last-child { margin-bottom: 0; }

/* Filtres */
.lt-filtres { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.lt-filtre {
	border: 1px solid var(--lt-trait); background: transparent; color: var(--lt-texte);
	border-radius: 999px; padding: 0.5rem 1rem; font-size: var(--lt-t-sm); font-family: var(--lt-ui);
	cursor: pointer; text-decoration: none; min-height: 42px; display: inline-flex; align-items: center;
}
.lt-filtre:hover { border-color: var(--lt-or); color: var(--lt-texte); }
.lt-filtre.est-actif { background: var(--lt-encre); color: var(--lt-sable); border-color: var(--lt-encre); }

/* Fil d'Ariane */
.lt-ariane { font-size: var(--lt-t-xs); color: var(--lt-texte-doux); padding-block: 1rem 0; }
.lt-ariane a { color: var(--lt-texte-doux); }
.lt-ariane a:hover { color: var(--lt-rouge); }
.lt-ariane span[aria-hidden] { margin-inline: 0.4rem; color: var(--lt-or); }

/* En-tête de page interne */
.lt-page-tete {
	background: var(--lt-nuit); color: var(--lt-sable);
	padding-block: clamp(2.5rem, 6vw, 4.25rem); position: relative; overflow: hidden;
}
.lt-page-tete__motif { position: absolute; inset: 0; opacity: 0.12; background-size: 190px; }
.lt-page-tete h1 { color: var(--lt-sable); margin-bottom: 0.5rem; position: relative; }
.lt-page-tete p { color: rgba(250, 246, 239, 0.75); font-size: var(--lt-t-lg); margin: 0; position: relative; max-width: 46rem; }
.lt-page-tete .lt-ariane { color: rgba(250, 246, 239, 0.6); position: relative; padding-bottom: 1.15rem; }
.lt-page-tete .lt-ariane a { color: rgba(250, 246, 239, 0.6); }
.lt-page-tete .lt-ariane a:hover { color: var(--lt-or-clair); }

/* Contenu long (pages légales, articles) */
.lt-prose { max-width: 68ch; }
.lt-prose h2 { margin-top: 2.5rem; font-size: var(--lt-t-xl); }
.lt-prose h3 { margin-top: 1.9rem; font-size: var(--lt-t-lg); }
.lt-prose ul, .lt-prose ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.lt-prose li { margin-bottom: 0.45rem; }
.lt-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: var(--lt-t-sm); }
.lt-prose th, .lt-prose td { border: 1px solid var(--lt-trait); padding: 0.65rem 0.8rem; text-align: left; }
.lt-prose th { background: var(--lt-sable-2); }
.lt-prose blockquote { margin: 1.75rem 0; padding-left: 1.25rem; border-left: 3px solid var(--lt-or); color: var(--lt-texte-doux); }
.lt-prose img { border-radius: var(--lt-r-md); margin-block: 1.5rem; }

/* Encadré */
.lt-encart {
	background: var(--lt-sable-2); border-left: 4px solid var(--lt-or);
	border-radius: 0 var(--lt-r-sm) var(--lt-r-sm) 0;
	padding: 1.15rem 1.35rem; margin-block: 1.75rem; font-size: var(--lt-t-sm);
}
.lt-encart p:last-child { margin-bottom: 0; }
.lt-encart strong { color: var(--lt-encre); }

/* Dons */
.lt-dons { display: grid; gap: 1rem; }
@media (min-width: 700px) { .lt-dons { grid-template-columns: repeat(2, 1fr); } }
.lt-don {
	background: var(--lt-blanc); border: 1px solid var(--lt-trait); border-radius: var(--lt-r-md);
	padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.lt-don__op { font-size: var(--lt-t-xs); color: var(--lt-texte-doux); letter-spacing: 0.04em; }
.lt-don__num { font-family: var(--lt-display); font-size: 1.5rem; color: var(--lt-encre); word-break: break-word; }
.lt-don__copier {
	margin-top: auto; align-self: flex-start; background: transparent; cursor: pointer;
	border: 1px solid var(--lt-trait); border-radius: 999px; padding: 0.45rem 0.95rem;
	font-family: var(--lt-ui); font-size: var(--lt-t-xs); color: var(--lt-texte);
	min-height: 40px;
}
.lt-don__copier:hover { border-color: var(--lt-or); }
.lt-don__copier.est-copie { background: var(--lt-or); border-color: var(--lt-or); color: var(--lt-nuit); }

.lt-montants { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lt-montant {
	border: 1px solid var(--lt-trait-or); border-radius: 999px; padding: 0.55rem 1.1rem;
	font-size: var(--lt-t-sm); background: transparent; cursor: pointer; font-family: var(--lt-ui);
	min-height: 44px;
}
.lt-montant.est-actif { background: var(--lt-or); border-color: var(--lt-or); color: var(--lt-nuit); font-weight: 600; }

/* Réseaux sociaux */
.lt-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.lt-socials a {
	width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	border: 1px solid rgba(201, 162, 39, 0.35); color: var(--lt-or-clair);
	transition: background var(--lt-transition), color var(--lt-transition);
}
.lt-socials a:hover { background: var(--lt-or); color: var(--lt-nuit); }
.lt-socials svg { width: 19px; height: 19px; fill: currentColor; }

/* Pagination */
.lt-pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 2.5rem; }
.lt-pagination .page-numbers {
	min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 0.75rem;
	border: 1px solid var(--lt-trait); border-radius: var(--lt-r-sm);
	text-decoration: none; color: var(--lt-texte); font-size: var(--lt-t-sm);
}
.lt-pagination .page-numbers.current { background: var(--lt-encre); color: var(--lt-sable); border-color: var(--lt-encre); }
.lt-pagination .page-numbers:hover { border-color: var(--lt-or); }

/* =========================================================================
   10. PIED DE PAGE
   ========================================================================= */
.lt-footer { background: var(--lt-nuit); color: rgba(250, 246, 239, 0.78); }
.lt-footer__haut { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.lt-footer__cols { display: grid; gap: 2.25rem; }
@media (min-width: 700px) { .lt-footer__cols { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .lt-footer__cols { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
html body.lt-body .lt-footer h3 {
	color: var(--lt-or-clair); font-family: var(--lt-ui); font-size: var(--lt-t-sm);
	font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem;
}
html body.lt-body .lt-footer .lt-logo__nom { color: var(--lt-or); }
html body.lt-body .lt-footer p { color: rgba(250, 246, 239, 0.82); }
.lt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.lt-footer a { color: rgba(250, 246, 239, 0.78); text-decoration: none; font-size: var(--lt-t-sm); }
.lt-footer a:hover { color: var(--lt-or-clair); }
.lt-footer p { font-size: var(--lt-t-sm); }
.lt-footer__bas {
	border-top: 1px solid rgba(250, 246, 239, 0.12); padding-block: 1.35rem;
	display: flex; flex-direction: column; gap: 0.6rem;
	font-size: var(--lt-t-xs); color: rgba(250, 246, 239, 0.55);
}
@media (min-width: 800px) { .lt-footer__bas { flex-direction: row; align-items: center; justify-content: space-between; } }
.lt-signature a { color: var(--lt-or); font-weight: 600; font-size: inherit; }

/* Barre d'action fixe mobile */
.lt-barre-mobile {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: var(--lt-nuit-2); border-top: 1px solid rgba(201, 162, 39, 0.28);
	padding-bottom: env(safe-area-inset-bottom);
}
.lt-barre-mobile a {
	display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
	padding: 0.55rem 0.25rem; color: rgba(250, 246, 239, 0.8);
	font-size: 0.6875rem; text-decoration: none; text-align: center;
}
.lt-barre-mobile a:hover, .lt-barre-mobile a:focus-visible { color: var(--lt-or-clair); }
.lt-barre-mobile svg { width: 20px; height: 20px; fill: currentColor; }
.lt-barre-mobile a.est-rouge { color: var(--lt-or-clair); }
@media (min-width: 1024px) { .lt-barre-mobile { display: none; } }
@media (max-width: 1023px) { html body.lt-body { padding-bottom: 66px; } }

/* Retour haut de page */
.lt-haut {
	position: fixed; right: 1rem; bottom: 80px; z-index: 870;
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
	background: var(--lt-or); color: var(--lt-nuit); border: 0; cursor: pointer;
	opacity: 0; visibility: hidden; transition: opacity var(--lt-transition), visibility var(--lt-transition);
	box-shadow: var(--lt-ombre);
}
.lt-haut.est-visible { opacity: 1; visibility: visible; }
.lt-haut svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 1024px) { .lt-haut { bottom: 1.5rem; } }

/* Impression */

/* =========================================================================
   11. Contrastes — chaque conteneur affirme sa couleur de texte
   Les titres héritent (`color: inherit`) : un bloc qui pose un fond doit
   donc poser sa couleur de texte, sinon ses titres reprennent celle du body.
   ========================================================================= */

html body.lt-body .lt-header,
html body.lt-body .lt-drawer,
html body.lt-body .lt-hero,
html body.lt-body .lt-page-tete,
html body.lt-body .lt-section--nuit,
html body.lt-body .lt-footer,
html body.lt-body .lt-barre-mobile,
html body.lt-body .lt-theme {
	color: var(--lt-sable);
}

html body.lt-body .lt-carte,
html body.lt-body .lt-form-carte,
html body.lt-body .lt-encart,
html body.lt-body .lt-don,
html body.lt-body .lt-radio,
html body.lt-body .lt-accordeon,
html body.lt-body .lt-prose {
	color: var(--lt-encre);
}

html body.lt-body .lt-section--nuit .lt-carte,
html body.lt-body .lt-section--nuit .lt-accordeon {
	color: var(--lt-sable);
}

/* Le fond clair du contenu principal ne doit jamais hériter d'un texte clair. */
html body.lt-body #contenu {
	color: var(--lt-texte);
}

html body.lt-body #contenu .lt-hero,
html body.lt-body #contenu .lt-page-tete,
html body.lt-body #contenu .lt-section--nuit,
html body.lt-body #contenu .lt-theme {
	color: var(--lt-sable);
}

@media print {
	.lt-header, .lt-footer, .lt-barre-mobile, .lt-haut, .lt-bandeau { display: none !important; }
	html body.lt-body { background: #fff; color: #000; padding: 0; }
}
