:root{--ea-u:1px;--ea-t:var(--ea-u);--ea-tv:1vw}@media (min-width:1441px){:root{--ea-u:calc(100vw / 1440)}html{font-size:calc(16 * var(--ea-t,1px))}}
/* ==========================================================================
   ELEMANTRA — Page d'attente pré-lancement (module ea-maintenance, 2026-11-15)
   Gabarit : templates/maintenance/page.php. Grammaire du site :
   - fond Secondaire #121212, texte Principal #F4F4F9, surtitre Dust #BE9B88 ;
   - titres Gravesend en capitales (typographies « Titre de hero »,
     « Sous-titre », « Libellé » du kit 151), texte Transducer (« Texte courant »,
     « Mention » ; plus de « Chapô » depuis le 2026-11-22) ;
   - bouton Principal du kit (fond Accentué #114B5F, survol Blue #6A8EAE) ;
   - champ souligné ea-formulaire, case de consentement en mention ;
   - photo nette, sans voile, halo, vignette ni dégradé.
   Ordinateur (≥ 1024 px) : texte à gauche, photo pleine hauteur à droite.
   Mobile et tablette : en-tête noir, photo, puis texte.
   ========================================================================== */

:root {
	--ea-principal: #F4F4F9;
	--ea-secondaire: #121212;
	--ea-accent: #114B5F;
	--ea-blue: #6A8EAE;
	--ea-dust: #BE9B88;
	--ea-red: #881600;
	--ea-doux: rgba(244, 244, 249, .78);
	--ea-filet: rgba(244, 244, 249, .16);
	--ea-titre: "gravesend-sans", "Helvetica Neue", Arial, sans-serif;
	--ea-texte: "transducer-variable", "Helvetica Neue", Arial, sans-serif;
	--ea-gouttiere: calc(32 * var(--ea-u,1px));
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body.ea-maint {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--ea-secondaire);
	color: var(--ea-principal);
	font-family: var(--ea-texte);
	font-weight: 300;
	font-size: calc(17 * var(--ea-t,1px));
	line-height: 1.8;
	letter-spacing: .045em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.ea-maint a { color: inherit; }
.ea-maint img { display: block; max-width: 100%; height: auto; }

/* États « avant » / « après » l'ouverture (bascule par data-ouvert). */
body[data-ouvert="0"] .ea-maint__apres,
body[data-ouvert="1"] .ea-maint__avant { display: none !important; }

/* --- En-tête : barre noire et logo blanc (grammaire du header 145) ------- */
.ea-maint__entete {
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc(64 * var(--ea-u,1px));
	padding: 0 var(--ea-gouttiere);
	background: var(--ea-secondaire);
}
.ea-maint__logo { width: calc(180 * var(--ea-u,1px)); height: auto; }
.ea-maint__logo-texte { font-family: var(--ea-titre); font-weight: 600; letter-spacing: .08em; }

/* --- Grille ----------------------------------------------------------------- */
.ea-maint__grille {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
.ea-maint__visuel { min-width: 0; background: var(--ea-secondaire); }
.ea-maint .ea-maint__image {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: 50% 40%;
}
.ea-maint__contenu {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: calc(48 * var(--ea-u,1px)) var(--ea-gouttiere) calc(32 * var(--ea-u,1px));
}
.ea-maint__bloc { max-width: calc(560 * var(--ea-u,1px)); }

/* --- Textes ----------------------------------------------------------------- */
.ea-maint__surtitre {
	margin: 0 0 calc(16 * var(--ea-u,1px));
	color: var(--ea-dust);
	font-family: var(--ea-titre);
	font-weight: 600;
	font-size: calc(17 * var(--ea-t,1px));
	line-height: 1.3;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.ea-maint__titre {
	margin: 0;
	color: var(--ea-principal);
	font-family: var(--ea-titre);
	font-weight: 500;
	font-size: calc(36 * var(--ea-t,1px));
	line-height: 1.125;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-wrap: balance;
}
/* Retour Kevin 2026-11-22 : le paragraphe sous le titre n'est plus un chapô plus
   grand, c'est du texte courant (Transducer 300, 17 px, interligne 1,8, espacement
   .045em, Principal), exactement comme .ea-maint__intro : il hérite de body.ea-maint.
   Seule sa marge est propre. Les anciennes tailles 1024 (18 px) et 1440 (22 px / 1,4)
   sont supprimées. */
.ea-maint__chapo { margin: calc(16 * var(--ea-u,1px)) 0 0; }

/* --- Compte à rebours ------------------------------------------------------- */
.ea-maint__rebours { margin-top: calc(48 * var(--ea-u,1px)); }
.ea-maint__libelle {
	margin: 0 0 calc(16 * var(--ea-u,1px));
	color: var(--ea-doux);
	font-size: calc(14 * var(--ea-t,1px));
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: .02em;
}
.ea-maint__compteur {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: calc(8 * var(--ea-u,1px));
	max-width: calc(480 * var(--ea-u,1px));
}
.ea-maint__case {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}
.ea-maint__nombre {
	font-family: var(--ea-titre);
	font-weight: 500;
	font-size: calc(36 * var(--ea-t,1px));
	line-height: 1;
	letter-spacing: .02em;
	font-variant-numeric: tabular-nums;
}
.ea-maint__unite {
	margin-top: calc(8 * var(--ea-u,1px));
	color: var(--ea-doux);
	font-size: calc(14 * var(--ea-t,1px));
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: .02em;
}
/* ELEMANTRA 22/11 : harmonisation en 4 niveaux (validée par Kevin) : N4, date et série 15 → 14 px */
.ea-maint__date {
	margin: calc(24 * var(--ea-u,1px)) 0 0;
	font-family: var(--ea-titre);
	font-weight: 600;
	font-size: calc(14 * var(--ea-t,1px));
	line-height: 1.35;
	letter-spacing: .08em;
	text-transform: uppercase;
}
body[data-ouvert="1"] .ea-maint__date { margin-top: calc(32 * var(--ea-u,1px)); }
.ea-maint__date > span:not(.ea-maint__sep),
.ea-maint__date time { white-space: nowrap; }

/* --- Inscription (grammaire ea-formulaire) --------------------------------- */
.ea-maint__inscription {
	margin-top: calc(48 * var(--ea-u,1px));
	padding-top: calc(40 * var(--ea-u,1px));
	border-top: calc(1 * var(--ea-u,1px)) solid var(--ea-filet);
	scroll-margin-top: calc(24 * var(--ea-u,1px));
}
.ea-maint__sous-titre {
	margin: 0;
	font-family: var(--ea-titre);
	font-weight: 500;
	font-size: calc(20 * var(--ea-t,1px));
	line-height: 1.3;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.ea-maint__intro { margin: calc(8 * var(--ea-u,1px)) 0 0; }
.ea-maint__form { position: relative; margin-top: calc(24 * var(--ea-u,1px)); }
/* ELEMANTRA 22/11 : harmonisation en 4 niveaux (validée par Kevin) : N3, champ email 16 → 17 px */
.ea-maint__champ {
	display: block;
	width: 100%;
	margin: 0;
	padding: calc(12 * var(--ea-u,1px)) 0;
	border: 0;
	border-bottom: calc(1 * var(--ea-u,1px)) solid rgba(244, 244, 249, .55);
	border-radius: 0;
	background: transparent;
	color: var(--ea-principal);
	font-family: var(--ea-texte);
	font-weight: 300;
	font-size: calc(17 * var(--ea-t,1px));
	line-height: 1.5;
	letter-spacing: .02em;
	-webkit-appearance: none;
	appearance: none;
}
.ea-maint__champ::placeholder { color: var(--ea-doux); opacity: 1; }
.ea-maint__champ:focus { outline: none; border-bottom-color: var(--ea-principal); }
.ea-maint__champ:focus-visible { outline: calc(2 * var(--ea-u,1px)) solid var(--ea-blue); outline-offset: calc(4 * var(--ea-u,1px)); }
.ea-maint__champ:-webkit-autofill {
	-webkit-text-fill-color: var(--ea-principal);
	-webkit-box-shadow: 0 0 0 calc(40 * var(--ea-u,1px)) var(--ea-secondaire) inset;
	caret-color: var(--ea-principal);
}
.ea-maint__consentement {
	display: flex;
	align-items: flex-start;
	gap: calc(10 * var(--ea-u,1px));
	margin-top: calc(20 * var(--ea-u,1px));
	color: var(--ea-doux);
	font-size: calc(14 * var(--ea-t,1px));
	font-weight: 300;
	line-height: 1.45;
	letter-spacing: .02em;
	cursor: pointer;
}
.ea-maint__consentement input {
	flex: none;
	width: calc(16 * var(--ea-u,1px));
	height: calc(16 * var(--ea-u,1px));
	margin: calc(2 * var(--ea-u,1px)) 0 0;
	accent-color: var(--ea-accent);
}
.ea-maint__bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: calc(48 * var(--ea-u,1px));
	margin-top: calc(28 * var(--ea-u,1px));
	padding: calc(12 * var(--ea-u,1px)) calc(24 * var(--ea-u,1px));
	border: calc(2 * var(--ea-u,1px)) solid var(--ea-accent);
	border-radius: 0;
	background: var(--ea-accent);
	color: var(--ea-principal);
	font-family: var(--ea-texte);
	font-weight: 400;
	font-size: calc(15 * var(--ea-t,1px));
	line-height: 1.125;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, border-color .3s;
	-webkit-appearance: none;
	appearance: none;
}
.ea-maint__bouton:hover,
.ea-maint__bouton:focus-visible { background: var(--ea-blue); border-color: var(--ea-blue); }
.ea-maint__bouton:focus-visible { outline: calc(2 * var(--ea-u,1px)) solid var(--ea-principal); outline-offset: calc(3 * var(--ea-u,1px)); }
.ea-maint__bouton[disabled] { cursor: wait; opacity: .8; }
.ea-maint__suite { margin: 0; }
/* ELEMANTRA 22/11 : harmonisation en 4 niveaux (validée par Kevin) : N4, message 15 → 14 px */
.ea-maint__message {
	margin: calc(16 * var(--ea-u,1px)) 0 0;
	font-size: calc(14 * var(--ea-t,1px));
	line-height: 1.6;
	letter-spacing: .02em;
}
.ea-maint__message:empty { display: none; }
.ea-maint__message.is-ok { padding-left: calc(12 * var(--ea-u,1px)); border-left: calc(2 * var(--ea-u,1px)) solid var(--ea-blue); }
.ea-maint__message.is-erreur { padding-left: calc(12 * var(--ea-u,1px)); border-left: calc(2 * var(--ea-u,1px)) solid var(--ea-red); }
.ea-maint__form.is-envoye .ea-maint__champ,
.ea-maint__form.is-envoye .ea-maint__consentement,
.ea-maint__form.is-envoye .ea-maint__bouton { display: none; }
.ea-maint__form.is-envoye .ea-maint__message { margin-top: 0; }

.ea-maint__sr,
.ea-maint__piege {
	position: absolute !important;
	width: calc(1 * var(--ea-u,1px));
	height: calc(1 * var(--ea-u,1px));
	margin: calc(-1 * var(--ea-u,1px));
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.ea-maint__piege { left: calc(-10000 * var(--ea-u,1px)); }

/* --- Pied : réseaux et liens légaux ---------------------------------------- */
.ea-maint__pied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: calc(8 * var(--ea-u,1px)) calc(24 * var(--ea-u,1px));
	margin-top: calc(64 * var(--ea-u,1px));
	padding-top: calc(16 * var(--ea-u,1px));
}
.ea-maint__reseaux {
	display: flex;
	gap: calc(4 * var(--ea-u,1px));
	margin: 0 0 0 calc(-11 * var(--ea-u,1px));
	padding: 0;
	list-style: none;
}
.ea-maint__reseaux a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(44 * var(--ea-u,1px));
	height: calc(44 * var(--ea-u,1px));
	color: var(--ea-doux);
	transition: color .3s;
}
.ea-maint__reseaux a:hover,
.ea-maint__reseaux a:focus-visible { color: var(--ea-principal); }
.ea-maint__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0 calc(24 * var(--ea-u,1px));
	margin: 0;
	font-size: calc(14 * var(--ea-t,1px));
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: .02em;
}
.ea-maint__legal a {
	display: inline-flex;
	align-items: center;
	min-height: calc(44 * var(--ea-u,1px));
	color: var(--ea-doux);
	text-decoration: underline;
	text-decoration-thickness: calc(1 * var(--ea-u,1px));
	text-decoration-color: rgba(244, 244, 249, .4);
	text-underline-offset: calc(4 * var(--ea-u,1px));
	transition: color .3s;
}
.ea-maint__legal a:hover,
.ea-maint__legal a:focus-visible { color: var(--ea-principal); }
.ea-maint a:focus-visible { outline: calc(2 * var(--ea-u,1px)) solid var(--ea-blue); outline-offset: calc(2 * var(--ea-u,1px)); }

/* La série sur sa propre ligne à toutes les tailles : jamais de « · » en fin de ligne. */
.ea-maint__date .ea-maint__sep { display: none; }
.ea-maint__date > span:not(.ea-maint__sep) { display: block; margin-top: calc(4 * var(--ea-u,1px)); }

/* --- Petits téléphones (iPhone SE) ----------------------------------------- */
@media (max-width: 400px) {
	:root { --ea-gouttiere: calc(32 * var(--ea-u,1px)); } /* gouttière mobile du site (K8) */
	.ea-maint__logo { width: calc(160 * var(--ea-u,1px)); }
}

/* Coordinateur 2026-11-15 : bouton pleine largeur sur mobile, comme sur tout le site (K8). */
@media (max-width: 767px) {
	.ea-maint__bouton { display: flex; width: 100%; }
}

/* --- Tablette (768 – 1023 px) ---------------------------------------------- */
@media (min-width: 768px) {
	:root { --ea-gouttiere: calc(48 * var(--ea-u,1px)); }
	.ea-maint .ea-maint__image { aspect-ratio: 4 / 3; object-position: 50% 30%; }
	.ea-maint__contenu { padding-top: calc(64 * var(--ea-u,1px)); padding-bottom: calc(40 * var(--ea-u,1px)); }
	.ea-maint__bloc { max-width: calc(600 * var(--ea-u,1px)); }
	.ea-maint__titre { font-size: calc(48 * var(--ea-t,1px)); }
	.ea-maint__nombre { font-size: calc(48 * var(--ea-t,1px)); }
	.ea-maint__compteur { gap: calc(16 * var(--ea-u,1px)); }
	.ea-maint__sous-titre { font-size: calc(24 * var(--ea-t,1px)); line-height: 1.125; }
}

/* --- Ordinateur (≥ 1024 px) : texte à gauche, photo à droite --------------- */
@media (min-width: 1024px) {
	.ea-maint__entete {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
		width: 50%;
		height: calc(96 * var(--ea-u,1px));
		justify-content: flex-start;
		padding: 0 clamp(calc(48 * var(--ea-u,1px)), 6vw, calc(112 * var(--ea-u,1px)));
		background: transparent;
	}
	.ea-maint__logo { width: calc(200 * var(--ea-u,1px)); }
	.ea-maint__grille {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		min-height: 100vh;
		min-height: 100svh;
	}
	.ea-maint__visuel {
		order: 2;
		position: sticky;
		top: 0;
		height: 100vh;
		height: 100svh;
	}
	.ea-maint .ea-maint__image {
		height: 100%;
		aspect-ratio: auto;
		object-position: 50% 42%;
	}
	.ea-maint__contenu {
		order: 1;
		min-height: 100vh;
		min-height: 100svh;
		padding: calc(128 * var(--ea-u,1px)) clamp(calc(48 * var(--ea-u,1px)), 6vw, calc(112 * var(--ea-u,1px))) calc(24 * var(--ea-u,1px));
	}
	.ea-maint__titre { font-size: clamp(calc(36 * var(--ea-t,1px)), calc(4 * var(--ea-tv,1vw)), calc(72 * var(--ea-t,1px))); }
	/* ELEMANTRA 22/11 : harmonisation en 4 niveaux, N1 : nombres à la taille du titre (était clamp(40px, 3.6vw, 56px)). */
	.ea-maint__nombre { font-size: clamp(calc(36 * var(--ea-t,1px)), calc(4 * var(--ea-tv,1vw)), calc(72 * var(--ea-t,1px))); }
	.ea-maint__compteur { gap: calc(24 * var(--ea-u,1px)); max-width: calc(520 * var(--ea-u,1px)); }
	.ea-maint__rebours { margin-top: calc(40 * var(--ea-u,1px)); }
	.ea-maint__inscription { margin-top: calc(40 * var(--ea-u,1px)); padding-top: calc(32 * var(--ea-u,1px)); }
	.ea-maint__bouton { margin-top: calc(24 * var(--ea-u,1px)); }
	.ea-maint__pied { margin-top: calc(48 * var(--ea-u,1px)); }
}

@media (prefers-reduced-motion: reduce) {
	.ea-maint * { transition: none !important; }
	/* Audit accessibilité 2026-11-21 (M8) : compteur figé à la minute, secondes
	   masquées (la case vide garde la grille des trois autres). */
	.ea-maint__case--secondes { visibility: hidden; }
}
