/* ==========================================================================
   ELR Transport — styles complémentaires à theme.json
   Couleurs et polices : voir theme.json (variables --wp--preset--*)
   ========================================================================== */

:root {
	--elr-vert: var(--wp--preset--color--vert, #00C833);
	--elr-bleu: var(--wp--preset--color--bleu, #0066FF);
	--elr-anthracite: var(--wp--preset--color--anthracite, #0B0F14);
	--elr-gris-clair: var(--wp--preset--color--gris-clair, #E8ECF1);
	--elr-route: linear-gradient(100deg, var(--elr-vert) 0%, var(--elr-bleu) 100%);
	--elr-rayon: 18px;
	--elr-trans: 220ms cubic-bezier(.2, .7, .2, 1);
	--elr-header-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--elr-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--elr-vert); color: var(--elr-anthracite); }

/* ---------- En-tête collant ---------- */
.elr-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
}
.elr-header {
	background-color: #0B0F14 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	transition: padding var(--elr-trans), background-color var(--elr-trans);
}
.elr-est-defile .elr-header { padding-top: .55rem !important; padding-bottom: .55rem !important; background-color: rgba(11, 15, 20, .86) !important; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.elr-header .wp-block-navigation a { opacity: .88; transition: opacity var(--elr-trans), color var(--elr-trans); }
.elr-header .wp-block-navigation a:hover,
.elr-header .wp-block-navigation .current-menu-item > a { opacity: 1; }
.elr-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 2rem clamp(1.25rem, 5vw, 2.5rem);
}
.elr-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.35rem; }
@media (max-width: 600px) { .elr-header__cta { display: none !important; } }

/* ---------- Logo ---------- */
.elr-logo a { display: inline-flex; line-height: 0; }
.elr-logo__svg { height: 64px; width: auto; display: block; margin-block: -6px; }
.elr-footer .elr-logo__svg { height: 96px; }
@media (max-width: 600px) { .elr-logo__svg { height: 50px; } }
.elr-logo img { max-height: 52px; width: auto; }

/* ---------- Styles de blocs ---------- */
.is-style-elr-surtitre {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: var(--wp--preset--font-size--xs) !important;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--elr-vert);
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: .25rem !important;
}
.is-style-elr-surtitre::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--elr-vert);
	box-shadow: -8px 0 0 -0 transparent;
}
.has-text-align-center.is-style-elr-surtitre { display: flex; justify-content: center; }

.is-style-elr-souligne { position: relative; padding-bottom: .9rem; }
.is-style-elr-souligne::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 120px;
	height: 4px;
	border-radius: 4px;
	background:
		linear-gradient(90deg, var(--elr-vert) 0 46%, transparent 46% 54%, var(--elr-bleu) 54% 100%);
}
.has-text-align-center.is-style-elr-souligne::after { left: 50%; translate: -50% 0; }

.is-style-elr-carte {
	background: #fff;
	border: 1px solid var(--wp--preset--color--gris-clair);
	border-radius: var(--elr-rayon);
	padding: clamp(1.35rem, 2.4vw, 2rem);
	box-shadow: var(--wp--preset--shadow--doux);
	transition: transform var(--elr-trans), box-shadow var(--elr-trans), border-color var(--elr-trans);
}

.is-style-elr-carte-sombre {
	background: linear-gradient(160deg, #151B23 0%, #0B0F14 100%);
	color: #E8ECF1;
	border: 1px solid #222B36;
	border-radius: var(--elr-rayon);
	padding: clamp(1.35rem, 2.4vw, 2rem);
}
.is-style-elr-carte-sombre p { color: #AAB4C2; }

.is-style-elr-coches { list-style: none; padding-left: 0; }
.is-style-elr-coches li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.is-style-elr-coches li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .28em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--elr-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B0F14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

.is-style-elr-arrondi img { border-radius: var(--elr-rayon); box-shadow: var(--wp--preset--shadow--fort); }

/* Bouton contour : couleur cohérente sur fond sombre */
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); }
.elr-bouton-sombre .wp-block-button__link { box-shadow: none; }
.elr-bouton-sombre .wp-block-button__link:hover { background: #000 !important; color: #fff !important; }
.wp-block-button__link { transition: transform var(--elr-trans), background-color var(--elr-trans), box-shadow var(--elr-trans); }

/* ---------- Haut de page (hero) ---------- */
.elr-hero { position: relative; overflow: hidden; isolation: isolate; }
.elr-hero::before {
	/* Traînées lumineuses façon « vitesse » */
	content: "";
	position: absolute;
	inset: -20% -10%;
	z-index: -1;
	background:
		linear-gradient(100deg, transparent 0 30%, rgba(0, 200, 51, .16) 30.2% 30.6%, transparent 31% 100%),
		linear-gradient(100deg, transparent 0 48%, rgba(0, 102, 255, .22) 48.2% 48.5%, transparent 48.8% 100%),
		linear-gradient(100deg, transparent 0 62%, rgba(255, 255, 255, .06) 62.1% 62.3%, transparent 62.5% 100%),
		linear-gradient(100deg, transparent 0 76%, rgba(0, 200, 51, .12) 76.1% 76.4%, transparent 76.7% 100%);
	background-size: 220% 100%;
	animation: elr-vitesse 9s linear infinite;
	opacity: .9;
}
.elr-hero::after {
	/* Route en perspective en bas */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34%;
	z-index: -1;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 60px, transparent 60px 140px) center 78% / 100% 3px no-repeat,
		linear-gradient(180deg, transparent, rgba(0, 0, 0, .45));
	mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	animation: elr-marquage 1.4s linear infinite;
}
@keyframes elr-vitesse { from { background-position: 0 0; } to { background-position: -220% 0; } }
@keyframes elr-marquage { from { background-position: 0 78%, 0 0; } to { background-position: -140px 78%, 0 0; } }

.elr-hero__titre { text-wrap: balance; letter-spacing: -.035em; }
.elr-texte-vert { color: var(--elr-vert); }
.elr-texte-route {
	background: var(--elr-route);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.elr-hero__valeurs {
	list-style: none;
	padding: 0;
	margin-top: var(--wp--preset--spacing--40) !important;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.6rem;
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #AAB4C2;
}
.elr-hero__valeurs li { display: inline-flex; align-items: center; gap: .6rem; }
.elr-hero__valeurs li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--elr-vert); box-shadow: 0 0 0 4px rgba(0, 200, 51, .18); }
.elr-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .45); }

/* Carte « suivi en temps réel » d'exemple */
.elr-suivi-demo {
	background: rgba(21, 27, 35, .78);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 22px;
	padding: 1.5rem;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
	backdrop-filter: blur(10px);
	transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
	transition: transform 600ms cubic-bezier(.2, .7, .2, 1);
	max-width: 440px;
	margin-inline: auto;
}
.elr-suivi-demo:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.elr-suivi-demo__entete { display: flex; align-items: center; gap: .6rem; font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: .85rem; }
.elr-suivi-demo__pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--elr-vert); animation: elr-pulse 1.8s ease-out infinite; }
.elr-suivi-demo__ref { margin-left: auto; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7D8796; border: 1px solid #2A3442; padding: .2rem .55rem; border-radius: 99px; }
.elr-suivi-demo__trajet { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin: 1.4rem 0 1.1rem; }
.elr-suivi-demo__trajet small { display: block; color: #7D8796; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.elr-suivi-demo__trajet strong { font-family: var(--wp--preset--font-family--montserrat); font-size: 1.05rem; }
.elr-suivi-demo__fleche { width: 100%; height: 24px; }
.elr-suivi-demo__fleche path:first-child { animation: elr-tirets 1s linear infinite; }
.elr-suivi-demo__barre { height: 8px; background: #1F2833; border-radius: 99px; overflow: hidden; }
.elr-suivi-demo__barre span { display: block; height: 100%; background: var(--elr-route); border-radius: inherit; animation: elr-remplir 2.2s cubic-bezier(.2, .7, .2, 1) both; }
.elr-suivi-demo__etapes { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; font-size: .9rem; color: #C5CDD8; }
.elr-suivi-demo__etapes li { display: flex; align-items: center; gap: .7rem; }
.elr-suivi-demo__etapes li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #2A3442; flex: none; }
.elr-suivi-demo__etapes li.ok::before { background: var(--elr-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B0F14' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--elr-vert); }
.elr-suivi-demo__etapes li.cours::before { border-color: var(--elr-bleu); box-shadow: inset 0 0 0 4px #151B23, inset 0 0 0 10px var(--elr-bleu); }
.elr-suivi-demo__etapes time { margin-left: auto; color: #7D8796; font-variant-numeric: tabular-nums; }
@keyframes elr-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 200, 51, .6); } 100% { box-shadow: 0 0 0 12px rgba(0, 200, 51, 0); } }
@keyframes elr-tirets { to { stroke-dashoffset: -20; } }
@keyframes elr-remplir { from { width: 0; } }

/* ---------- Chiffres clés (chevauchent le hero) ---------- */
.elr-chiffres { position: relative; z-index: 2; margin-top: -3.5rem !important; }
.elr-chiffre { text-align: left; }
.elr-chiffre__nombre {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 800;
	font-size: clamp(2.2rem, 4vw, 3rem);
	line-height: 1;
	letter-spacing: -.03em;
	margin-bottom: .6rem !important;
	background: var(--elr-route);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}

/* ---------- Icônes (dessinées pour ELR ; couleur = dégradé vert → bleu) ---------- */
.elr-ico { position: relative; }
.elr-ico::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	margin-bottom: 1.1rem;
	background: linear-gradient(135deg, rgba(0, 200, 51, .13), rgba(0, 102, 255, .13));
}
.is-style-elr-carte-sombre.elr-ico::before { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px #222B36; }
.elr-ico::after {
	content: "";
	position: absolute;
	top: clamp(1.35rem, 2.4vw, 2rem);
	left: clamp(1.35rem, 2.4vw, 2rem);
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, var(--elr-vert), var(--elr-bleu));
	-webkit-mask: var(--elr-ico) center / 26px 26px no-repeat;
	mask: var(--elr-ico) center / 26px 26px no-repeat;
}
.elr-ico--camion { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h12v10H2z'/%3E%3Cpath d='M14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='17.5' r='1.9'/%3E%3Ccircle cx='17' cy='17.5' r='1.9'/%3E%3C/svg%3E"); }
.elr-ico--palette { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9'/%3E%3C/svg%3E"); }
.elr-ico--chrono { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13.5' r='7.5'/%3E%3Cpath d='M12 9.5v4l2.8 2M9.5 2.5h5M19 6l1.5-1.5'/%3E%3C/svg%3E"); }
.elr-ico--calendrier { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M8 14.5h3'/%3E%3C/svg%3E"); }
.elr-ico--europe { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.6 2.7 3.9 5.7 3.9 9s-1.3 6.3-3.9 9c-2.6-2.7-3.9-5.7-3.9-9S9.4 5.7 12 3z'/%3E%3C/svg%3E"); }
.elr-ico--bouclier { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.7-3.2 8.2-7.5 9.5-4.3-1.3-7.5-4.8-7.5-9.5V6z'/%3E%3Cpath d='M8.7 12l2.3 2.3 4.4-4.6'/%3E%3C/svg%3E"); }
.elr-ico--pin { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.8-5.9-6.8-11.1a6.8 6.8 0 0 1 13.6 0C18.8 15.1 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.9' r='2.4'/%3E%3C/svg%3E"); }
.elr-ico--feuille { --elr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19.5C5 10.5 10.5 4.5 20 4.5c0 9.4-5.6 15-14.2 15'/%3E%3Cpath d='M5 19.5l7.5-7.5'/%3E%3C/svg%3E"); }


/* ---------- Services ---------- */
.elr-service h3 { margin-top: 0; }
.elr-service { height: 100%; }

/* ---------- Zone / carte ---------- */
.elr-zone { position: relative; overflow: hidden; }
.elr-zone .is-style-elr-coches li { color: #C5CDD8; }
.elr-carte { width: 100%; height: auto; max-width: 560px; margin-inline: auto; display: block; overflow: visible; }
.elr-carte__ville { font: 600 11px var(--wp--preset--font-family--poppins), sans-serif; fill: #C5CDD8; }
.elr-carte__rouen { font: 800 13px var(--wp--preset--font-family--montserrat), sans-serif; fill: #fff; letter-spacing: .12em; }
.elr-carte__ligne { stroke-dasharray: 400; stroke-dashoffset: 400; animation: elr-tracer 1.6s cubic-bezier(.3, .6, .2, 1) forwards; animation-delay: var(--d, 0s); }
.elr-carte__pulse { transform-box: fill-box; transform-origin: center; animation: elr-onde 2s ease-out infinite; }
@keyframes elr-tracer { to { stroke-dashoffset: 0; } }
@keyframes elr-onde { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }

/* ---------- Étapes ---------- */
.elr-etapes { counter-reset: etape; position: relative; }
.elr-etape {
	position: relative;
	background: #fff;
	border-radius: var(--elr-rayon);
	padding: 1.6rem;
	border: 1px solid var(--wp--preset--color--gris-clair);
}
.elr-etape h3 { margin-top: .4rem; }
.elr-etape__num {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 900;
	font-size: 2.6rem;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--elr-bleu);
	margin: 0 !important;
}
.elr-etape:first-child .elr-etape__num { -webkit-text-stroke-color: var(--elr-vert); }
.elr-etape::after {
	content: "";
	position: absolute;
	top: 2.5rem;
	right: -1.25rem;
	width: 1.25rem;
	height: 2px;
	background: var(--elr-route);
}
.elr-etape:last-child::after { display: none; }
@media (max-width: 781px) { .elr-etape::after { display: none; } }

/* ---------- Engagements ---------- */
.elr-engagement { padding-left: calc(clamp(1.35rem, 2.4vw, 2rem) + 72px) !important; }
.elr-engagement::before { position: absolute; left: clamp(1.35rem, 2.4vw, 2rem); top: clamp(1.35rem, 2.4vw, 2rem); margin: 0; }
.elr-engagement h3 { margin-top: 0; color: #fff; }
.elr-engagement p { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.elr-faq .wp-block-details summary {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--md);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.elr-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.elr-faq .wp-block-details summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wp--preset--color--gris-fond);
	color: var(--elr-bleu);
	font-size: 1.3rem;
	transition: transform var(--elr-trans), background var(--elr-trans);
}
.elr-faq .wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--elr-vert); color: var(--elr-anthracite); }
.elr-faq .wp-block-details p { margin-top: .8rem; }

/* ---------- Bandeau devis ---------- */
.elr-cta { position: relative; overflow: hidden; isolation: isolate; }
.elr-cta::before {
	content: "";
	position: absolute;
	right: -5%;
	top: -40%;
	width: 55%;
	height: 180%;
	z-index: -1;
	background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 18px, transparent 18px 46px);
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.elr-cta .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.elr-cta h2 { margin: 0; }

/* ---------- Bandeau de titre des pages ---------- */
.elr-bandeau-titre { position: relative; overflow: hidden; }
.elr-bandeau-titre::after {
	content: "";
	position: absolute;
	right: 4%;
	bottom: 2.2rem;
	width: 160px;
	height: 40px;
	background:
		linear-gradient(var(--elr-vert), var(--elr-vert)) 0 0 / 70% 6px no-repeat,
		linear-gradient(var(--elr-vert), var(--elr-vert)) 30% 50% / 80% 6px no-repeat,
		linear-gradient(var(--elr-bleu), var(--elr-bleu)) 10% 100% / 60% 6px no-repeat;
	opacity: .5;
	border-radius: 6px;
}

/* ---------- Pied de page ---------- */
.elr-footer .wp-block-heading.elr-footer__titre { font-size: .8rem !important; letter-spacing: .16em; text-transform: uppercase; }
.elr-footer__liens { list-style: none; padding: 0; }
.elr-footer__liens li { margin-bottom: .55rem; }
.elr-footer a { color: #C5CDD8; text-decoration: none; transition: color var(--elr-trans); }
.elr-footer a:hover { color: var(--elr-vert); }
.elr-footer__valeurs { color: var(--elr-vert); font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.elr-footer__legal a { color: #7D8796; }
.elr-vitesse-trait {
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--elr-vert) 0 18%, transparent 18% 20%, var(--elr-bleu) 20% 32%, transparent 32% 34%, #2A3442 34% 100%);
}


@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.elr-carte__ligne { stroke-dashoffset: 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.elr-suivi-demo { transform: none; margin-top: 1rem; }
	.elr-chiffres { margin-top: -2.5rem !important; }
	.elr-bandeau-titre::after { display: none; }
}

/* ---------- Le moment animé : arrivée sur le site ----------
   Le titre, puis la carte de suivi, puis les étapes qui se cochent une à une. */
@media (prefers-reduced-motion: no-preference) {
	.elr-hero__titre, .elr-hero .wp-block-buttons, .elr-hero__valeurs { animation: elr-entree 700ms cubic-bezier(.2, .7, .2, 1) both; }
	.elr-hero .wp-block-buttons { animation-delay: 120ms; }
	.elr-hero__valeurs { animation-delay: 220ms; }
	.elr-suivi-demo { animation: elr-carte-entree 900ms 250ms cubic-bezier(.2, .7, .2, 1) both; }
	.elr-suivi-demo__barre span { animation-delay: 700ms; }
	.elr-suivi-demo__etapes li { animation: elr-entree 500ms both; }
	.elr-suivi-demo__etapes li:nth-child(1) { animation-delay: 1000ms; }
	.elr-suivi-demo__etapes li:nth-child(2) { animation-delay: 1500ms; }
	.elr-suivi-demo__etapes li:nth-child(3) { animation-delay: 2000ms; }
}
@keyframes elr-entree { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes elr-carte-entree { from { opacity: 0; transform: perspective(1200px) rotateY(-24deg) translateX(60px); } }

/* La carte de France se dessine quand elle arrive à l'écran (navigateurs récents) */
@supports (animation-timeline: view()) {
	.elr-carte__ligne { animation-timeline: view(); animation-range: entry 20% cover 45%; animation-delay: 0s; animation-fill-mode: both; }
}

/* Suivi rapide sous le haut de page */
.elr-suivi-rapide {
	position: relative;
	z-index: 2;
	margin-top: -3.25rem !important;
	border-radius: 20px;
	box-shadow: 0 30px 60px -30px rgba(11, 15, 20, .45), 0 0 0 1px rgba(11, 15, 20, .06);
	gap: 1.25rem 2rem;
}
.elr-suivi-rapide h2 { margin: 0; }
.elr-suivi-rapide > .elr-suivi { flex: 1 1 420px; max-width: 640px; }

/* Transitions fluides entre les pages (le haut de page reste en place) */
@view-transition { navigation: auto; }
.elr-header-wrap { view-transition-name: elr-entete; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
