/*
 * 60ans.iut.fr — habillage chargé par YOOtheme après le style compilé par le customizer.
 *
 * Le customizer porte les couleurs et les polices de base (style « UIkit » + variables).
 * Ici : polices auto-hébergées, en-tête, sections « Secondary » (marine) et « Primary » (rouge),
 * boutons, formulaires, et les éléments du groupe « 60 ans » (.s60-*).
 */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url(../assets/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(../assets/fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url(../assets/fonts/barlow-sc-800.woff2) format("woff2"); }

:root {
	--s60-marine: #07133a;
	--s60-marine-2: #0d1f5c;
	--s60-nuit: #030a22;
	--s60-rouge: #e31421;
	--s60-rouge-vif: #ff3341;
	--s60-papier: #f4f2ed;
	--s60-glace: #c4cff3;
	--s60-gris: #4c5370;
	--s60-display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
	--s60-texte: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--s60-expo: cubic-bezier(.16, 1, .3, 1);
	--s60-facette: polygon(0 0, 100% 33%, 100% 100%, 0 67%);
	/* Couleur d'accent : rouge sur fond clair, rouge vif sur marine, blanc sur rouge */
	--s60-accent: var(--s60-rouge);
	--s60-texte-doux: var(--s60-gris);
	--s60-titre: var(--s60-marine);
}
.uk-section-secondary, .uk-light, .uk-offcanvas-bar, .tm-header, .tm-header-mobile { --s60-accent: var(--s60-rouge-vif); --s60-texte-doux: var(--s60-glace); --s60-titre: #fff; }
.uk-section-primary { --s60-accent: #fff; --s60-texte-doux: rgba(255, 255, 255, .88); --s60-titre: #fff; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:focus-visible { outline: 3px solid var(--s60-rouge-vif); outline-offset: 3px; }
::selection { background: var(--s60-rouge); color: #fff; }
em { color: var(--s60-accent); }

/* ───────── En-tête ───────── */
.tm-header .uk-navbar-container,
.tm-header-mobile .uk-navbar-container { transition: background-color .5s, box-shadow .5s; }
.tm-header .uk-navbar-container:not(.uk-navbar-transparent),
.tm-header-mobile .uk-navbar-container:not(.uk-navbar-transparent) {
	background: rgba(7, 19, 58, .9);
	-webkit-backdrop-filter: saturate(1.5) blur(16px);
	backdrop-filter: saturate(1.5) blur(16px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.tm-header .uk-logo, .tm-header-mobile .uk-logo, .uk-offcanvas-bar .uk-logo { color: #fff; }
.uk-logo svg { width: auto; height: 2.3rem; }
.tm-header-mobile .uk-logo svg { height: 1.9rem; }
.uk-logo .s60-logo__rouge { fill: var(--s60-rouge-vif); }
.uk-navbar-nav > li > a { position: relative; font-family: var(--s60-texte); font-weight: 600; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.uk-navbar-nav > li:not(.s60-menu-inscription) > a::after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: calc(50% - 1em);
	height: 2px;
	background: var(--s60-rouge-vif);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--s60-expo);
}
.uk-navbar-nav > li > a:hover::after,
.uk-navbar-nav > li.uk-active > a::after { transform: scaleX(1); transform-origin: left; }
.uk-navbar-nav > li.s60-menu-inscription { display: flex; align-items: center; margin-left: 10px; }
.uk-navbar-nav > li.s60-menu-inscription > a {
	height: auto;
	min-height: 0;
	padding: .8em 1.35em;
	border-radius: 999px;
	background: var(--s60-rouge);
	color: #fff !important;
	box-shadow: 0 12px 30px -12px rgba(227, 20, 33, .7);
	transition: transform .45s var(--s60-expo), background-color .3s;
}
.uk-navbar-nav > li.s60-menu-inscription > a:hover { transform: translateY(-2px); background: var(--s60-rouge-vif); }
.uk-offcanvas-bar { background: var(--s60-marine); }
.uk-offcanvas-bar .uk-nav > li > a { font-family: var(--s60-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .03em; }
.uk-offcanvas-bar .uk-nav > li.s60-menu-inscription > a { color: var(--s60-rouge-vif); }

/* ───────── Sections ───────── */
.uk-section-muted { background-color: var(--s60-papier); }
.uk-section-secondary {
	position: relative;
	isolation: isolate;
	background: radial-gradient(90% 70% at 50% 50%, var(--s60-marine-2), var(--s60-marine) 55%, var(--s60-nuit));
}
/* Trame de facettes reprise du logo, sur les sections marine (sauf bannière et carte) */
.uk-section-secondary:not(.s60-sans-trame)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='53.2' height='30.8'%3E%3Cpath d='M0 0l26.6 15.4L53.2 0M.5 0v30.8M26.6 0v30.8' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 53.2px 30.8px;
	opacity: .07;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent);
	pointer-events: none;
}
.uk-section-primary { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #f0283a, var(--s60-rouge) 45%, #b70d1a); }
/* Sections pleine largeur (bannière, bandeau, carte) : ni marge verticale ni gouttière latérale */
.s60-sans-marge.uk-section { padding-top: 0; padding-bottom: 0; }
.s60-sans-marge > .uk-container { max-width: none; padding-left: 0; padding-right: 0; }
/* Le bandeau incliné déborde en largeur : coupé ici, mais libre de chevaucher les sections voisines */
.s60-section-bandeau { position: relative; z-index: 3; overflow-x: clip; }
/* En-tête des pages intérieures : section marine avec en-tête transparent */
.s60-entete-page { padding-top: clamp(8rem, 16vw, 12rem); }

/* ───────── Boutons (éléments 60 ans et boutons natifs) ───────── */
.s60-bouton, .uk-button-primary, .uk-button-default, .uk-button-secondary {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: 1em 1.65em;
	border: 0;
	border-radius: 999px;
	font: 600 1.0625rem/1 var(--s60-texte);
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none !important;
	white-space: nowrap;
	transition: transform .45s var(--s60-expo), box-shadow .45s var(--s60-expo), background-color .3s, color .3s;
}
.s60-bouton, .uk-button-primary {
	--ombre: rgba(227, 20, 33, .55);
	background: var(--s60-rouge) !important;
	color: #fff !important;
	box-shadow: 0 12px 30px -12px var(--ombre);
}
.s60-bouton::before, .uk-button-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
	transform: translateX(-110%);
	transition: transform .8s var(--s60-expo);
}
.s60-bouton:hover, .uk-button-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px var(--ombre); }
.s60-bouton:hover::before, .uk-button-primary:hover::before { transform: translateX(110%); }
.s60-bouton:active { transform: translateY(0) scale(.98); }
.s60-bouton svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .45s var(--s60-expo); }
.s60-bouton:hover svg:last-child { transform: translateX(4px); }
.s60-bouton--fantome, .uk-button-default { --ombre: transparent; background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.uk-light .s60-bouton--fantome, .uk-section-secondary .s60-bouton--fantome { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
.s60-bouton--fantome:hover { background: rgba(127, 127, 127, .1) !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.s60-bouton--blanc { --ombre: rgba(3, 10, 34, .45); background: #fff !important; color: var(--s60-rouge) !important; }
.s60-bouton--petit { padding: .75em 1.2em; font-size: .95rem; }
.uk-button-secondary { background: var(--s60-marine); color: #fff; }
.s60-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.s60-actions--gauche, .uk-text-left .s60-actions { justify-content: flex-start; }

/* ───────── Titre 60 ans ───────── */
.s60-surtitre { display: flex; align-items: center; gap: .65em; margin: 0 0 1.4rem; font: 800 .85rem/1 var(--s60-display); letter-spacing: .26em; text-transform: uppercase; color: var(--s60-accent); }
.s60-surtitre::before { content: ""; width: .7em; height: 1.05em; background: currentColor; clip-path: var(--s60-facette); }
.uk-text-center .s60-surtitre, .uk-text-center.s60-titre .s60-surtitre { justify-content: center; }
.s60-grand { max-width: 18ch; margin: 0; font-family: var(--s60-display); font-weight: 800; line-height: .94; letter-spacing: -.012em; text-wrap: balance; color: var(--s60-titre); }
.s60-grand--grand { font-size: clamp(2.5rem, 6.4vw, 5.6rem); }
.s60-grand--moyen { font-size: clamp(2.1rem, 4.6vw, 4rem); max-width: 22ch; }
.s60-grand--petit { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 28ch; line-height: 1.02; }
/* !important : UIkit force « em » en blanc sur fond sombre avec des sélecteurs très spécifiques */
.s60-grand em { font-style: normal; color: var(--s60-accent) !important; }
.uk-text-center .s60-grand { margin-inline: auto; }
.s60-chapo { margin-top: 1.6rem; max-width: 46rem; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; font-weight: 600; color: var(--s60-titre); }
.s60-chapo > :last-child { margin-bottom: 0; }
.uk-text-center .s60-chapo { margin-inline: auto; }
.uk-text-lead { font-family: var(--s60-texte); font-weight: 600; line-height: 1.45; color: var(--s60-titre); }

/* ───────── Bannière ───────── */
.s60-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	padding: 6.5rem clamp(1rem, 4vw, 3rem) 5.5rem;
	background:
		radial-gradient(60% 50% at 50% 42%, rgba(40, 70, 190, .45), transparent 70%),
		radial-gradient(120% 90% at 50% 40%, var(--s60-marine-2) 0%, var(--s60-marine) 45%, var(--s60-nuit) 100%);
	color: #fff;
	text-align: center;
}
.s60-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: -1; background: linear-gradient(transparent, rgba(3, 10, 34, .85)); pointer-events: none; }
.s60-hero__facettes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; max-width: none; }
.s60-hero__contenu { display: flex; flex-direction: column; align-items: center; }
.s60-hero__surtitre { display: flex; align-items: center; gap: 1rem; margin: 0; font: 800 clamp(.85rem, 1.4vw, 1rem)/1 var(--s60-display); letter-spacing: .38em; text-indent: .38em; color: var(--s60-glace); }
.s60-hero__surtitre i { width: clamp(3rem, 12vw, 9rem); height: 2px; background: linear-gradient(90deg, transparent, var(--s60-rouge-vif), transparent); }
.s60-hero__nombre {
	margin: .12em 0 .02em;
	font: 800 clamp(9rem, min(54vw, 52vh), 34rem)/.8 var(--s60-display);
	font-size: clamp(9rem, min(54vw, 52svh), 34rem);
	letter-spacing: -.035em;
	background: linear-gradient(180deg, #fff 35%, #aebdf0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	user-select: none;
}
/* Avec JavaScript, le nombre est dessiné en facettes sur le canvas : le texte ne fait que réserver la place */
.s60-js [uk-s60-hero] .s60-hero__nombre { visibility: hidden; }
.s60-js [uk-s60-hero].s60-sans-mosaique .s60-hero__nombre { visibility: visible; }
.s60-hero--statique .s60-hero__facettes { display: none; }
.s60-hero__titre { margin: 0; font: 800 clamp(1.45rem, 3.3vw, 2.7rem)/1.05 var(--s60-display); letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; color: #fff; }
.s60-hero__titre em { font-style: normal; color: var(--s60-rouge-vif) !important; }
.s60-hero__infos { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.75rem; margin: 1.1rem 0 2.1rem; padding: 0; list-style: none; font-weight: 600; color: var(--s60-glace); }
.s60-hero__infos li { display: flex; align-items: center; gap: .5em; }
.s60-hero__infos svg { width: 1.2em; height: 1.2em; fill: none; stroke: var(--s60-rouge-vif); stroke-width: 1.8; stroke-linecap: round; }
.s60-hero__defiler { position: absolute; left: 50%; bottom: 1.5rem; width: 1.6rem; height: 2.6rem; margin-left: -.8rem; border-radius: 1rem; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); opacity: 0; animation: s60-fondu 1s 2.2s forwards; }
.s60-hero__defiler span { position: absolute; left: 50%; top: .5rem; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: s60-molette 2.2s 2.5s ease-in-out infinite; }
.s60-apparait { animation: s60-monte 1.1s var(--d, 0s) var(--s60-expo) both; }
@keyframes s60-monte { from { opacity: 0; transform: translateY(26px); } }
@keyframes s60-fondu { to { opacity: 1; } }
@keyframes s60-molette { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } 61% { transform: translateY(0); opacity: 0; } }
@supports (animation-timeline: scroll()) {
	.s60-hero__contenu, .s60-hero__facettes { animation: s60-sortie linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
	@keyframes s60-sortie { to { opacity: .1; transform: translateY(14vh) scale(.97); } }
}

/* ───────── Frise ───────── */
.s60-frise { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 2rem; margin-bottom: 0; padding: 0; list-style: none; }
.s60-frise::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; height: 2px; background: linear-gradient(90deg, var(--s60-titre), var(--s60-accent)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s .2s var(--s60-expo); }
.s60-frise.s60-vu::before { transform: scaleX(1); }
.s60-frise > li { position: relative; display: flex; flex-direction: column; padding-top: 2.4rem; color: var(--s60-texte-doux); font-size: 1rem; line-height: 1.5; }
.s60-frise > li::before { content: ""; position: absolute; top: 0; left: 0; width: .8rem; height: 1.2rem; background: var(--s60-titre); clip-path: var(--s60-facette); transform: scale(0); transition: transform .8s var(--s60-expo); }
.s60-frise > li:last-child::before { background: var(--s60-accent); }
.s60-frise.s60-vu > li::before { transform: none; }
.s60-frise.s60-vu > li:nth-child(2)::before { transition-delay: .5s; }
.s60-frise.s60-vu > li:nth-child(3)::before { transition-delay: 1s; }
.s60-frise.s60-vu > li:nth-child(n+4)::before { transition-delay: 1.4s; }
.s60-frise strong { font: 800 clamp(2.6rem, 4.5vw, 3.6rem)/1 var(--s60-display); color: var(--s60-titre); }
.s60-frise > li:last-child strong { color: var(--s60-accent); }
.s60-frise__titre { margin: .35rem 0 .4rem; font-weight: 600; color: var(--s60-titre); font-size: 1.1rem; }
.s60-frise__texte > :last-child { margin-bottom: 0; }
@media (max-width: 720px) {
	.s60-frise { grid-template-columns: 1fr; gap: 2.25rem; padding-left: 2rem; }
	.s60-frise::before { left: .38rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--s60-titre), var(--s60-accent)); transform: scaleY(0); transform-origin: top; }
	.s60-frise.s60-vu::before { transform: scaleY(1); }
	.s60-frise > li { padding-top: 0; }
	.s60-frise > li::before { left: -2rem; top: .6rem; }
}

/* ───────── Chiffres clés ───────── */
.s60-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1px; margin-bottom: 0; padding: 0; list-style: none; background: rgba(7, 19, 58, .14); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(7, 19, 58, .5); }
.s60-chiffres > li { padding: clamp(1.6rem, 3vw, 2.4rem); background: #fff; }
.s60-chiffres strong { display: block; font: 800 clamp(3.6rem, 7vw, 5.6rem)/.9 var(--s60-display); font-variant-numeric: tabular-nums; color: var(--s60-marine); }
.s60-chiffres > li:nth-child(even) strong { color: var(--s60-rouge); }
.s60-chiffres span { display: block; margin-top: .7rem; max-width: 24ch; color: var(--s60-gris); font-size: 1rem; line-height: 1.45; }

/* ───────── Bandeau défilant ───────── */
.s60-bandeau { position: relative; z-index: 2; padding: 1.15rem 0; overflow: hidden; background: var(--s60-rouge); color: #fff; }
.s60-bandeau--incline { margin-block: -2.2rem; transform: rotate(-2.2deg) scale(1.05); box-shadow: 0 24px 50px -24px rgba(227, 20, 33, .8); }
.s60-bandeau--marine { background: var(--s60-marine); }
.s60-bandeau--blanc { background: #fff; color: var(--s60-marine); }
.s60-bandeau__piste { display: flex; width: max-content; animation: s60-defile 90s linear infinite; }
.s60-bandeau--lent .s60-bandeau__piste { animation-duration: 140s; }
.s60-bandeau--rapide .s60-bandeau__piste { animation-duration: 50s; }
.s60-bandeau:hover .s60-bandeau__piste { animation-play-state: paused; }
.s60-bandeau ul { display: flex; margin: 0; padding: 0; list-style: none; }
.s60-bandeau li { display: flex; align-items: center; white-space: nowrap; font: 800 clamp(1.15rem, 2.3vw, 1.7rem)/1 var(--s60-display); letter-spacing: .03em; text-transform: uppercase; }
.s60-bandeau li::after { content: ""; width: .5em; height: .75em; margin: 0 1.1em; background: currentColor; opacity: .6; clip-path: var(--s60-facette); }
@keyframes s60-defile { to { transform: translateX(-50%); } }

/* ───────── Compte à rebours ───────── */
.s60-compteur { margin: clamp(2rem, 5vw, 4rem) 0; }
.s60-compteur__chiffres { display: flex; justify-content: center; align-items: flex-start; gap: clamp(.6rem, 2.6vw, 2.2rem); }
.s60-compteur__bloc { display: flex; flex-direction: column; align-items: center; }
.s60-compteur__bloc > span { margin-top: .9rem; font-size: clamp(.68rem, 1.4vw, .85rem); font-weight: 600; letter-spacing: .22em; text-indent: .22em; text-transform: uppercase; color: var(--s60-texte-doux); }
.s60-compteur__nombre { display: flex; font: 800 clamp(3.4rem, 13.5vw, 11rem)/1 var(--s60-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--s60-titre); }
.s60-chiffre { position: relative; display: block; width: .54em; height: 1em; overflow: hidden; }
.s60-chiffre > span { position: absolute; inset: 0; display: flex; justify-content: center; }
.uk-section-secondary .s60-chiffre > span, .uk-light .s60-chiffre > span { background: linear-gradient(180deg, #fff 45%, #b7c4f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s60-chiffre > .s60-entre { animation: s60-chiffre-entre .7s var(--s60-expo) both; }
.s60-chiffre > .s60-sort { animation: s60-chiffre-sort .7s var(--s60-expo) both; }
@keyframes s60-chiffre-entre { from { transform: translateY(70%); opacity: 0; filter: blur(6px); } }
@keyframes s60-chiffre-sort { to { transform: translateY(-70%); opacity: 0; filter: blur(6px); } }
.s60-compteur__sep { width: clamp(.45rem, 1.2vw, .9rem); height: clamp(.7rem, 1.8vw, 1.35rem); margin-top: clamp(1.6rem, 5.5vw, 4.6rem); background: var(--s60-accent); clip-path: var(--s60-facette); animation: s60-battement 2s ease-in-out infinite; }
@keyframes s60-battement { 50% { opacity: .35; } }
@media (max-width: 520px) { .s60-compteur__sep { display: none; } }
.s60-compteur__fini { display: none; margin: 0; font: 800 clamp(2rem, 6vw, 4rem)/1.05 var(--s60-display); text-wrap: balance; color: var(--s60-titre); }
.s60-compteur.en-cours .s60-compteur__chiffres, .s60-compteur.passe .s60-compteur__chiffres { display: none; }
.s60-compteur.en-cours .s60-compteur__fini--en-cours, .s60-compteur.passe .s60-compteur__fini--passe { display: block; }
.s60-compteur__alt { margin: 1.2rem 0 0; font-size: .95rem; color: var(--s60-texte-doux); }
.s60-compteur__alt a { color: var(--s60-titre); text-decoration: underline; text-underline-offset: .2em; }

/* ───────── Carte du lieu ───────── */
.s60-lieu { position: relative; isolation: isolate; background: var(--s60-nuit); color: #fff; }
.s60-lieu__carte { position: relative; height: min(80vh, 760px); min-height: 460px; }
.s60-lieu__fond { position: absolute; inset: 0; background: radial-gradient(50% 60% at 60% 50%, rgba(40, 70, 190, .3), transparent), var(--s60-nuit); }
.s60-lieu__carte::after { content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none; background: linear-gradient(var(--s60-nuit), transparent 14%, transparent 86%, var(--s60-nuit)); }
.s60-lieu__legende { position: absolute; right: clamp(1rem, 4vw, 3rem); top: 2rem; z-index: 460; display: flex; align-items: center; gap: .6em; margin: 0; padding: .55em .9em; border-radius: 999px; background: rgba(3, 10, 34, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 600; color: var(--s60-glace); }
.s60-lieu__legende i { width: .55em; height: .55em; border-radius: 50%; background: #e8eeff; box-shadow: 0 0 0 4px rgba(91, 123, 255, .3); }
.s60-lieu__fiche {
	position: absolute;
	z-index: 470;
	left: clamp(1rem, 4vw, 3rem);
	top: 50%;
	width: min(27rem, 100% - 2 * clamp(1rem, 4vw, 3rem));
	translate: 0 -50%;
	padding: clamp(1.6rem, 3vw, 2.4rem);
	border-radius: 26px;
	background: rgba(7, 19, 58, .74);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .7);
	text-align: left;
	--s60-accent: var(--s60-rouge-vif);
}
.s60-lieu__titre { margin: 0; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--s60-display); text-wrap: balance; color: #fff; }
.s60-lieu__adresse { margin: .8rem 0 0; color: var(--s60-glace); }
.s60-lieu__infos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0; padding: 1.2rem 0; border-block: 1px solid rgba(255, 255, 255, .12); }
.s60-lieu__infos dt { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--s60-rouge-vif); }
.s60-lieu__infos dd { margin: .25rem 0 0; font-weight: 600; line-height: 1.35; color: #fff; }
.s60-lieu .s60-bouton--fantome { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); color: #fff !important; }
@media (max-width: 860px) {
	.s60-lieu__carte { height: 62svh; min-height: 380px; }
	.s60-lieu__fiche { position: relative; top: auto; left: auto; translate: none; width: auto; margin: -5rem clamp(1rem, 4vw, 3rem) 0; }
	.s60-lieu { padding-bottom: 4rem; }
	.s60-lieu__legende { top: 1rem; }
}
.s60-lieu .leaflet-container { background: var(--s60-nuit) !important; font: inherit; outline: 0; }
/* Filtre posé tuile par tuile : sur le conteneur, il casse le mix-blend-mode anti-joints de Leaflet */
.s60-lieu .leaflet-container .leaflet-tile { filter: grayscale(1) invert(1) contrast(.9) brightness(.75) sepia(1) hue-rotate(190deg) saturate(2.6); }
.s60-lieu .leaflet-container canvas, .s60-lieu .leaflet-container img { max-width: none !important; }
.s60-lieu .leaflet-bar { border: 0 !important; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6) !important; border-radius: 14px !important; overflow: hidden; }
.s60-lieu .leaflet-bar a { width: 38px !important; height: 38px !important; line-height: 36px !important; background: rgba(7, 19, 58, .88) !important; color: #fff !important; border-color: rgba(255, 255, 255, .1) !important; font: 400 20px/36px var(--s60-texte) !important; text-decoration: none; }
.s60-lieu .leaflet-bar a:hover { background: var(--s60-rouge) !important; }
.s60-lieu .leaflet-control-attribution { background: rgba(3, 10, 34, .7) !important; color: #8d98c4 !important; font-size: 11px !important; border-radius: 8px 0 0 0; }
.s60-lieu .leaflet-control-attribution a { color: #c4cff3 !important; }
.s60-lieu .leaflet-bottom.leaflet-right { margin-bottom: 1.5rem; }
@media (max-width: 860px) { .s60-lieu .leaflet-bottom.leaflet-right { margin-bottom: 5.5rem; } }
.s60-repere { position: relative; }
.s60-repere__coeur { position: absolute; inset: 8px; display: grid; place-items: center; border-radius: 50%; background: var(--s60-rouge); box-shadow: 0 0 0 3px #fff, 0 10px 30px rgba(227, 20, 33, .7); }
.s60-repere__coeur svg { width: 58%; height: 58%; }
.s60-repere__onde { position: absolute; inset: 8px; border-radius: 50%; background: var(--s60-rouge-vif); animation: s60-onde 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.s60-repere__onde + .s60-repere__onde { animation-delay: 1.2s; }
@keyframes s60-onde { from { transform: scale(1); opacity: .6; } to { transform: scale(3.2); opacity: 0; } }

/* ───────── Appel final ───────── */
.s60-appel { position: relative; padding: clamp(3rem, 8vw, 6rem) 0; color: #fff; }
.s60-appel__fond { position: absolute; left: 50%; top: 50%; z-index: -1; translate: -50% -48%; font: 800 clamp(20rem, 62vw, 56rem)/.8 var(--s60-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .16); user-select: none; pointer-events: none; }
.s60-appel__titre { margin: 0; font: 800 clamp(3.2rem, 10vw, 8.5rem)/.9 var(--s60-display); letter-spacing: -.015em; color: inherit; }
.s60-appel__texte { max-width: 34ch; margin: 1.5rem auto 2.4rem; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; text-wrap: balance; }
.uk-text-left .s60-appel__texte { margin-left: 0; }
.uk-section-primary .s60-appel { color: #fff; }

/* ───────── Pied de page ───────── */
.s60-pied .uk-logo, .s60-pied-logo { color: #fff; }
.s60-pied-logo svg { height: 2.2rem; width: auto; }
.s60-pied-logo .s60-logo__rouge { fill: var(--s60-rouge-vif); }
.s60-pied-logo .s60-logo__badge { display: none; }
.s60-pied .uk-subnav > * > a { text-transform: none; font-size: .95rem; font-weight: 400; color: var(--s60-glace); }
.s60-pied .uk-subnav > * > a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.s60-pied-note { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #7f8bb8 !important; }

/* ───────── Formulaires Formidable : habillés par ses variables CSS (classe doublée pour passer devant son style) ───────── */
.frm_forms.with_frm_style.with_frm_style {
	--font: var(--s60-texte);
	--font-size: 1rem;
	--label-color: var(--s60-marine);
	--border-color: rgba(7, 19, 58, .2);
	--border-color-active: var(--s60-rouge);
	--border-radius: 12px;
	--field-height: 52px;
	--field-pad: 12px 16px;
	--submit-bg-color: var(--s60-rouge);
	--submit-border-color: var(--s60-rouge);
	--submit-text-color: #fff;
	--submit-hover-bg-color: var(--s60-rouge-vif);
	--submit-hover-border-color: var(--s60-rouge-vif);
	--submit-hover-color: #fff;
	--submit-active-bg-color: #b70d1a;
	--submit-active-border-color: #b70d1a;
	--submit-active-color: #fff;
	--submit-border-radius: 999px;
	--submit-font-size: 1.0625rem;
	--submit-weight: 600;
	--submit-padding: 1em 1.8em;
	--submit-height: auto;
	max-width: 46rem;
}
.frm_forms .frm_button_submit { box-shadow: 0 12px 30px -12px rgba(227, 20, 33, .55); transition: transform .45s var(--s60-expo), background-color .3s; }
.frm_forms .frm_button_submit:hover { transform: translateY(-2px); }
.frm_forms input:focus, .frm_forms select:focus, .frm_forms textarea:focus { box-shadow: 0 0 0 3px rgba(227, 20, 33, .15) !important; }
.frm_forms .frm_submit { margin-top: 1rem; }
/* Erreurs hors du flux, dans la marge sous le champ : Formidable les retire quand on quitte le champ,
   et si elles poussaient la mise en page, le bouton « Envoyer » remonterait pendant le clic, qui serait perdu. */
.frm_forms .frm_form_field { position: relative; }
.frm_forms .frm_form_field > .frm_error { position: absolute; left: 0; top: 100%; margin-top: 2px; font-size: .8rem; line-height: 1.2; }
.frm_message, .frm_error_style { border-radius: 14px; }

/* ───────── Apparitions au défilement ───────── */
.s60-js [uk-s60-apparition] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--s60-expo), transform 1.2s var(--s60-expo); }
.s60-js [uk-s60-apparition].s60-vu { opacity: 1; transform: none; }
/* Dans le builder, tout reste visible pendant l'édition */
.yo-builder-preview [uk-s60-apparition], html.uk-customizer [uk-s60-apparition] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.s60-hero *, .s60-hero *::before, .s60-hero *::after, .s60-bandeau *, .s60-compteur *, .s60-repere * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
	.s60-js [uk-s60-apparition] { opacity: 1; transform: none; transition: none; }
	.s60-bandeau__piste { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
	.s60-bandeau ul { flex-wrap: wrap; justify-content: center; row-gap: .8rem; padding-inline: 1rem; }
	.s60-bandeau ul + ul { display: none; }
	.s60-bandeau li { font-size: 1rem; }
}
