/* Formulaire d'inscription au lancement — repris du socle de la maquette B. */
.ai-formulaire {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 480px;
	color: #ffffff;
}

.ai-libelle {
	font-size: 16px;
	font-weight: 700;
}

.ai-ligne {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ai-champ {
	flex: 1 1 220px;
	min-width: 0;
	min-height: 56px;
	box-sizing: border-box;
	padding: 0 18px;
	border: 2px solid #5a7ab8; /* 3,9:1 sur le bleu nuit (WCAG 1.4.11) */
	border-radius: 10px;
	background: #0e2650;
	color: #ffffff;
	caret-color: #61d36b;
	font: inherit;
	font-size: 17px;
	font-weight: 500;
}

.ai-champ::placeholder {
	color: #8fa2c9;
}

.ai-champ:focus-visible,
.ai-envoyer:focus-visible {
	outline: 3px solid #61d36b;
	outline-offset: 3px;
}

.ai-envoyer {
	min-height: 56px;
	padding: 0 26px;
	border: 0;
	border-radius: 10px;
	background: #61d36b;
	color: #081d3f;
	font: inherit;
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
}

.ai-envoyer:hover {
	transform: translateY(-2px);
	background: #7ee087;
}

.ai-envoyer:disabled {
	cursor: progress;
	opacity: 0.7;
	transform: none;
}

.ai-message {
	margin: 0;
	min-height: 1.4em;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.ai-message:empty {
	/* Zone vide : invisible mais présente pour les lecteurs d'écran (région « status »). */
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ai-message--ok {
	color: #ffffff;
}

.ai-message--ok::before {
	/* Le chevron « > » de la marque. */
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -1px;
	background: #61d36b;
	clip-path: polygon(12.5% 16.7%, 33.3% 8.3%, 91.7% 50%, 33.3% 91.7%, 12.5% 83.3%, 58.3% 50%);
}

.ai-message--erreur {
	color: #ffc9bf;
}

.ai-info {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #b3c6f7;
}

.ai-info a {
	color: #ffffff;
	text-underline-offset: 3px;
}

.ai-info a:hover {
	color: #61d36b;
}

.ai-piege {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.ai-envoyer {
		transition: none;
	}
}
