/* Page publique d'inscription -- AVR Capital + ARCANO / NARTEX (2026-09-16) */

:root {
	--avr: #0b2f66;
	--avr-soft: #e8edf5;
	--accent: #0b2f66;
	--accent-ink: #ffffff;
	--ink: #1b2230;
	--muted: #5c6678;
	--line: #d9dee7;
	--bg: #f5f6f8;
	--panel: #ffffff;
	--danger: #a4262c;
	--ok: #1e7a46;
	--serif: "Didot", "Bodoni 72", "Libre Baskerville", Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body.brand-nartex {
	--accent: #ab2430;
	--accent-soft: #f7e9ea;
}
body.brand-arcano {
	--accent: #0b2f66;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* --- bandeau ------------------------------------------------------- */
.top { background: var(--panel); border-bottom: 3px solid var(--accent); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.logo-avr { height: 46px; width: auto; display: block; }
.top-right { display: flex; align-items: center; gap: 22px; }
.logo-brand { height: 40px; width: auto; display: block; }
.wordmark {
	font-family: var(--serif);
	font-size: 22px;
	letter-spacing: .32em;
	color: var(--avr);
	padding-left: .32em;
	border-left: 1px solid var(--line);
	padding: 2px 0 2px 18px;
}
.lang { display: flex; gap: 2px; font-size: 13px; }
.lang a { color: var(--muted); text-decoration: none; padding: 4px 7px; border-radius: 3px; letter-spacing: .06em; }
.lang a:hover { color: var(--ink); background: var(--bg); }
.lang a[aria-current="true"] { color: var(--accent); font-weight: 600; }

/* --- evenement ----------------------------------------------------- */
main.wrap { padding-top: 48px; padding-bottom: 28px; }
.event { margin-bottom: 26px; }
.kicker {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
}
h1 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(28px, 5vw, 40px);
	line-height: 1.15;
	margin: 0 0 14px;
	color: var(--avr);
}
body.brand-nartex h1 { color: var(--ink); }
.when { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.where::before { content: "·"; margin: 0 8px; }
.text { color: var(--ink); max-width: 62ch; }

/* --- carte / formulaire ------------------------------------------- */
.card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 28px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.center { text-align: center; }
.lead { font-size: 18px; margin: 6px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); letter-spacing: .01em; }
.req { color: var(--accent); }
input[type="text"], input[type="email"] {
	width: 100%;
	font: inherit;
	color: var(--ink);
	background: #fff;
	border: 1px solid #c4cbd6;
	border-radius: 4px;
	padding: 11px 12px;
	transition: border-color .15s, box-shadow .15s;
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
button {
	font: inherit;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--accent-ink);
	background: var(--accent);
	border: 0;
	border-radius: 4px;
	padding: 13px 28px;
	cursor: pointer;
	margin-top: 4px;
}
button:hover { filter: brightness(1.12); }
button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.privacy { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.alert {
	border-left: 3px solid var(--danger);
	background: #fbeeee;
	color: var(--danger);
	padding: 10px 14px;
	border-radius: 3px;
	margin: 0 0 20px;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; padding: 8px 0; }
.done h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 12px 0 6px; color: var(--avr); }
.done p { margin: 0; color: var(--muted); }
.tick {
	width: 54px; height: 54px; margin: 0 auto;
	border-radius: 50%;
	border: 2px solid var(--ok);
	position: relative;
}
.tick::after {
	content: "";
	position: absolute; left: 18px; top: 11px;
	width: 12px; height: 22px;
	border: solid var(--ok);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; padding-top: 12px; padding-bottom: 36px; }
.foot a { color: var(--muted); }

@media (max-width: 560px) {
	.top-in { min-height: 70px; }
	.logo-avr { height: 36px; }
	.logo-brand { height: 30px; }
	.wordmark { font-size: 16px; padding-left: 12px; }
	.top-right { gap: 10px; }
	.row { grid-template-columns: 1fr; gap: 0; }
	.card { padding: 20px; }
	main.wrap { padding-top: 30px; }
}
