/*
 * Tunnel Aniwalls — mobile-first.
 * Les media queries ne font qu'élargir : le petit écran est le cas par défaut.
 * Couleurs et typos alignées sur la page d'accueil.
 */

.aw-tunnel {
	--aw-green: #0d2b1d;
	--aw-ivory: #fffff0;
	--aw-muted: #504e4a;
	--aw-line: rgba(13, 43, 29, 0.14);
	--aw-radius: 4px;

	/* Hauteur du bandeau cookies, mesurée par le JS. Il est `position: fixed`
	   avec un z-index de 999999 : sans cette réserve il recouvrait 41 des 53 px
	   du bouton « Continuer », et la totalité d'« Ajouter au panier ». */
	--aw-cookie-h: 0px;

	max-width: 760px;
	margin: 0 auto;
	padding: 0 16px calc(96px + var(--aw-cookie-h));
	font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--aw-green);
	-webkit-text-size-adjust: 100%;
}

/* Blocksy déclare `figure, textarea { display: block }` — une règle auteur qui
   bat le `[hidden] { display: none }` du navigateur. Résultat : la miniature
   vide s'affichait dès l'étape 1 sous forme d'image cassée, et la zone de dépôt
   restait visible après le choix de la photo. Ce garde-fou vaut pour tout
   élément du tunnel, présent ou futur. */
.aw-tunnel [hidden] { display: none !important; }

/* Masquage visuel qui PRÉSERVE le focus clavier, contrairement à [hidden]. */
.aw-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------ étapes */

.aw-steps {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	counter-reset: aw;
}

.aw-steps__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--aw-muted);
	opacity: 0.55;
	border-top: 2px solid var(--aw-line);
	padding-top: 10px;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

/* `is-done` et `is-current` produisaient des valeurs identiques : à l'étape 4
   les quatre pastilles étaient pixel pour pixel les mêmes. */
.aw-steps__item.is-done {
	opacity: 1;
	border-top-color: rgba(13, 43, 29, .45);
	color: rgba(13, 43, 29, .62);
	font-weight: 400;
}

.aw-steps__item.is-done::after {
	content: "✓";
	font-size: 10px;
	line-height: 1;
}

.aw-steps__item.is-current {
	opacity: 1;
	border-top-color: var(--aw-green);
	border-top-width: 3px;
	color: var(--aw-green);
	font-weight: 600;
}

/* Les étapes non atteintes tombaient à 2,67:1 en 11 px majuscule. */
.aw-steps__item { opacity: 1; color: rgba(13, 43, 29, .58); }

.aw-steps__item::before {
	content: attr(data-step-label);
	display: none;
}

/* ------------------------------------------------------------------- texte */

/* Le titre reçoit le focus au changement d'étape pour être annoncé ; il ne
   doit pas pour autant afficher un anneau, l'utilisateur n'ayant rien visé. */
.aw-h:focus { outline: none; }
.aw-h:focus-visible { outline: 3px solid rgba(13, 43, 29, .45); outline-offset: 3px; }

.aw-h {
	font-family: "Times New Roman", Times, serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -0.3px;
	margin: 0 0 8px;
}

.aw-h3 {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 15px;
	margin: 0 0 12px;
}

.aw-lead {
	font-size: 15px;
	line-height: 1.6;
	color: var(--aw-muted);
	margin: 0 0 20px;
}

.aw-note {
	font-size: 13px;
	line-height: 1.5;
	color: var(--aw-muted);
	margin: 10px 0 0;
}

.aw-error {
	background: #fdecea;
	border: 1px solid #f2b8b2;
	color: #7f2318;
	font-size: 14px;
	line-height: 1.5;
	padding: 12px 14px;
	border-radius: var(--aw-radius);
	margin: 0 0 18px;
}

.aw-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 13px;
	color: var(--aw-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* ------------------------------------------------------------------ upload */

.aw-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 40px 20px;
	border: 1.5px dashed var(--aw-line);
	border-radius: var(--aw-radius);
	background: rgba(13, 43, 29, 0.02);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.aw-drop:focus-within {
	border-color: var(--aw-green);
	border-style: solid;
	outline: 3px solid rgba(13, 43, 29, .35);
	outline-offset: 2px;
}

.aw-drop:active,
.aw-drop.is-over {
	border-color: var(--aw-green);
	background: rgba(13, 43, 29, 0.05);
}

.aw-drop__icon { color: var(--aw-green); opacity: 0.7; line-height: 0; }
.aw-drop__title { font-size: 16px; font-weight: 500; }
.aw-drop__hint { font-size: 13px; color: var(--aw-muted); }

.aw-thumb { margin: 0; }

.aw-thumb img {
	display: block;
	width: 100%;
	max-height: 340px;
	object-fit: contain;
	border-radius: var(--aw-radius);
	background: rgba(13, 43, 29, 0.04);
}

.aw-thumb figcaption {
	text-align: center;
	padding-top: 10px;
}

/* ------------------------------------------------------------------ styles */

.aw-styles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 8px;
}

.aw-style {
	display: flex;
	flex-direction: column;
	text-align: left;
	gap: 2px;
	padding: 0 0 12px;
	background: none;
	border: 1.5px solid transparent;
	border-radius: var(--aw-radius);
	cursor: pointer;
	font: inherit;
	color: inherit;
	overflow: hidden;
	transition: border-color 0.15s ease;
}

/* La bordure non sélectionnée était transparente et la sélectionnée un filet
   d'1 px : 1,32:1 de contraste, invisible. Le libellé porte désormais l'état. */
.aw-style { border-color: rgba(13, 43, 29, .16); }
.aw-style:hover { border-color: rgba(13, 43, 29, .42); }

.aw-style[aria-checked="true"] {
	border-color: var(--aw-green);
	border-width: 2px;
}

.aw-style[aria-checked="true"] .aw-style__label {
	color: var(--aw-ivory);
	background: var(--aw-green);
	border-radius: 3px;
	margin: 0 6px;
	padding: 4px 8px;
}

.aw-style[aria-checked="true"] .aw-style__label::before {
	content: "✓ ";
	font-weight: 700;
}

.aw-style:focus-visible {
	outline: 3px solid rgba(13, 43, 29, .45);
	outline-offset: 2px;
}

.aw-style__media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 5;
	background: rgba(13, 43, 29, 0.06);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 8px;
}

.aw-style__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aw-style__ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Times New Roman", Times, serif;
	font-size: 40px;
	color: rgba(13, 43, 29, 0.28);
}

.aw-style__label { font-size: 14px; font-weight: 500; padding: 0 8px; }
.aw-style__blurb { font-size: 12px; line-height: 1.4; color: var(--aw-muted); padding: 0 8px; }

/* ----------------------------------------------------- porte d'entrée */

.aw-gate {
	border-top: 1px solid var(--aw-line);
	margin-top: 22px;
	padding-top: 20px;
}

.aw-gate__label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-green);
	margin-bottom: 7px;
}

.aw-gate__input {
	font: inherit;
	font-size: 16px; /* 16px minimum : en dessous, iOS zoome au focus */
	width: 100%;
	min-height: 48px;
	color: var(--aw-green);
	background: #fff;
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius);
	padding: 12px 13px;
}

.aw-gate__input:focus-visible {
	border-color: var(--aw-green);
	outline: 3px solid rgba(13, 43, 29, .45);
	outline-offset: 1px;
}

.aw-gate__input[readonly] {
	background: rgba(13, 43, 29, .04);
	color: var(--aw-muted);
}

.aw-gate__input.is-invalid { border-color: #b5654a; }

.aw-gate__hint {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--aw-muted);
	margin: 8px 0 0;
}

.aw-gate__count {
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-green);
	margin: 8px 0 0;
}

.aw-gate__count:empty { display: none; }

.aw-gate__error {
	font-size: 13px;
	line-height: 1.5;
	color: #8A3D25;
	margin: 8px 0 0;
}

.aw-restyle__cost {
	display: block;
	font-size: 12px;
	color: var(--aw-muted);
	font-weight: 400;
}

.aw-restyle__count {
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-green);
	margin: 0 0 10px;
}

.aw-restyle__count:empty { display: none; }

/* La photo du client pendant la génération. */
.aw-loading__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
	filter: saturate(.55);
}

/* --------------------------------------------------------------- attente */

.aw-loading { text-align: center; padding: 8px 0 20px; }

.aw-loading__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	max-width: 320px;
	margin: 0 auto 22px;
	border-radius: var(--aw-radius);
	background: rgba(13, 43, 29, 0.07);
	overflow: hidden;
}

.aw-loading__shimmer {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 240, 0.55) 50%, transparent 80%);
	transform: translateX(-100%);
	animation: aw-shimmer 1.6s ease-in-out infinite;
}

@keyframes aw-shimmer {
	to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	.aw-loading__shimmer { animation: none; opacity: 0.4; transform: none; }
}

/* --------------------------------------------------------------- aperçu */

.aw-preview { margin: 0 0 22px; }

.aw-preview__img {
	display: block;
	width: 100%;
	border-radius: var(--aw-radius);
	background: rgba(13, 43, 29, 0.04);
}

.aw-preview__cap {
	font-size: 12px;
	color: var(--aw-muted);
	text-align: center;
	padding-top: 8px;
}

.aw-restyle { margin-bottom: 26px; }

.aw-restyle__label {
	display: block;
	font-size: 13px;
	color: var(--aw-muted);
	margin-bottom: 10px;
}

.aw-restyle__list {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.aw-chip {
	flex: 0 0 auto;
	padding: 9px 14px;
	min-height: 40px;
	font: inherit;
	font-size: 13px;
	background: none;
	color: var(--aw-green);
	border: 1px solid var(--aw-line);
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
}

.aw-chip[aria-pressed="true"] {
	background: var(--aw-green);
	border-color: var(--aw-green);
	color: var(--aw-ivory);
}

.aw-chip:disabled { opacity: 0.45; cursor: default; }

/* --------------------------------------------------------------- options */

.aw-options { border-top: 1px solid var(--aw-line); padding-top: 22px; }

.aw-field { margin-bottom: 18px; }

.aw-field__label {
	display: block;
	font-size: 13px;
	color: var(--aw-muted);
	margin-bottom: 8px;
}

.aw-field__opts { display: flex; flex-wrap: wrap; gap: 8px; }

.aw-opt {
	padding: 10px 14px;
	min-height: 44px;
	font: inherit;
	font-size: 14px;
	background: none;
	color: var(--aw-green);
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius);
	cursor: pointer;
}

.aw-opt[aria-pressed="true"] {
	border-color: var(--aw-green);
	box-shadow: inset 0 0 0 1px var(--aw-green);
}

.aw-opt:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.aw-price {
	font-family: "Times New Roman", Times, serif;
	font-size: 26px;
	font-weight: 600;
	margin: 4px 0 0;
}

/* --------------------------------------------------------------- cadres */

/*
 * Les 4 finitions étaient du texte seul, et l'aperçu ne changeait jamais : le
 * client choisissait son cadre à l'aveugle sur un produit vendu pour son
 * apparence. Le cadre est donc dessiné AUTOUR de son propre tableau — pas une
 * photo générique de cadre — et la matière se retrouve en pastille sur le
 * bouton correspondant.
 *
 * Les matières sont déclarées une fois et servent aux deux usages.
 */
.aw-tunnel {
	--aw-f-blanc: linear-gradient(135deg, #fdfdfb 0%, #eceae4 46%, #f7f6f2 60%, #dedbd3 100%);
	--aw-f-bois: linear-gradient(135deg, #d8b68a 0%, #bd9460 40%, #cba775 58%, #a87c4c 100%);
	--aw-f-bois-fonce: linear-gradient(135deg, #7a5636 0%, #3a2a1a 40%, #6a4830 58%, #3d2a1a 100%);
	--aw-f-noir: linear-gradient(135deg, #3a3a3a 0%, #1b1b1b 45%, #2e2e2e 60%, #0c0c0c 100%);
}

/* Pastille de matière sur le bouton de finition. */
.aw-opt[data-key="cadre"] {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.aw-opt__swatch {
	width: 20px;
	height: 20px;
	border-radius: 3px;
	flex: 0 0 auto;
	box-shadow: inset 0 0 0 1px rgba(13, 43, 29, .22);
}

.aw-opt__swatch[data-frame="blanc"] { background: var(--aw-f-blanc); }
.aw-opt__swatch[data-frame="bois"] { background: var(--aw-f-bois); }
.aw-opt__swatch[data-frame="bois-fonce"] { background: var(--aw-f-bois-fonce); }
.aw-opt__swatch[data-frame="noir"] { background: var(--aw-f-noir); }

/* Le cadre composé sur l'aperçu : baguette, puis passe-partout, puis l'œuvre. */
/* La baguette doit épouser l'œuvre, pas la largeur du conteneur : sinon
   `object-fit: contain` laisse la boîte plus large que le tableau et la
   matière du cadre apparaît EN TRAVERS de l'image. */
.aw-preview.has-frame {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	padding: 3.4%;
	border-radius: 2px;
	box-shadow: 0 10px 26px rgba(13, 43, 29, .22), 0 2px 6px rgba(13, 43, 29, .14);
	transition: background .18s ease;
}

/* Le passe-partout. Attention : `border-width` n'accepte PAS de pourcentage —
   un `border: 4.5% solid` est purement et simplement ignoré. On le dessine donc
   en ombre intérieure, qui elle ne déplace rien dans la mise en page. */
.aw-preview.has-frame .aw-preview__img {
	width: auto;
	max-width: 100%;
	max-height: 62vh;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	box-shadow:
		inset 0 0 0 16px #FBFAF6,
		inset 0 0 0 17px rgba(0, 0, 0, .14),
		0 0 12px rgba(0, 0, 0, .12);
}

@media (max-width: 520px) {
	.aw-preview.has-frame .aw-preview__img {
		box-shadow:
			inset 0 0 0 10px #FBFAF6,
			inset 0 0 0 11px rgba(0, 0, 0, .14),
			0 0 10px rgba(0, 0, 0, .1);
	}
}

.aw-preview[data-frame="blanc"] { background: var(--aw-f-blanc); }
.aw-preview[data-frame="bois"] { background: var(--aw-f-bois); }
.aw-preview[data-frame="bois-fonce"] { background: var(--aw-f-bois-fonce); }
.aw-preview[data-frame="noir"] { background: var(--aw-f-noir); }

@media (prefers-reduced-motion: reduce) {
	.aw-preview.has-frame { transition: none; }
}

/* ------------------------------------------------------ schéma d'échelle */

.aw-scale {
	margin: 4px 0 22px;
	padding: 16px 14px 12px;
	background: rgba(13, 43, 29, .035);
	border: 1px solid var(--aw-line);
	border-radius: var(--aw-radius);
}

.aw-scale__title {
	font-size: 13px;
	font-weight: 500;
	color: var(--aw-green);
	margin: 0 0 12px;
}

.aw-scale__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

/* Les formats non choisis restent lisibles sans capter l'attention. */
.aw-scale__box {
	fill: rgba(13, 43, 29, .06);
	stroke: rgba(13, 43, 29, .34);
	stroke-width: .6;
	transition: fill .16s ease, stroke .16s ease;
}

.aw-scale__box.is-active {
	fill: rgba(13, 43, 29, .82);
	stroke: var(--aw-green);
	stroke-width: 1.2;
}

/* Des teintes légèrement distinctes : sans elles, les pièces fusionnent en
   une tache et le meuble cesse d'être reconnaissable, donc de servir de repère. */
.aw-scale__sofa rect { stroke: none; }
.aw-scale__sofa-back { fill: rgba(13, 43, 29, .17); }
.aw-scale__sofa-seat { fill: rgba(13, 43, 29, .11); }
.aw-scale__sofa-arm  { fill: rgba(13, 43, 29, .21); }
.aw-scale__sofa-leg  { fill: rgba(13, 43, 29, .3); }

.aw-scale__floor {
	stroke: rgba(13, 43, 29, .28);
	stroke-width: .7;
}

.aw-scale__caption {
	fill: rgba(13, 43, 29, .55);
	font-family: Roboto, sans-serif;
	font-size: 7px;
}

.aw-scale__note {
	font-size: 12.5px;
	color: var(--aw-muted);
	margin: 10px 0 0;
	min-height: 1.2em;
}

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

/* --------------------------------------------------------------- actions */

.aw-actions {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

.aw-actions--sticky .aw-sticky-price {
	flex: 1 1 auto;
	align-self: center;
	font-family: "Times New Roman", Times, serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--aw-green);
	text-align: left;
}

.aw-actions--sticky {
	position: sticky;
	bottom: var(--aw-cookie-h);
	background: var(--aw-ivory);
	padding: 12px 0 max(12px, env(safe-area-inset-bottom));
	margin-left: -16px;
	margin-right: -16px;
	padding-left: 16px;
	padding-right: 16px;
	border-top: 1px solid var(--aw-line);
	z-index: 5;
}

.aw-btn {
	flex: 1 1 auto;
	min-height: 48px;
	padding: 13px 20px;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	border-radius: var(--aw-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.aw-btn--primary { background: var(--aw-green); color: var(--aw-ivory); }
.aw-btn--ghost { background: none; color: var(--aw-green); border-color: var(--aw-line); flex: 0 0 auto; }
/* `opacity: .4` donnait 2,39:1 sur le CTA principal — sous le seuil AA de 4,5,
   pour un bouton qui passe l'essentiel de sa vie désactivé. Couleurs explicites
   plutôt qu'une opacité : 5,6:1 mesuré, et l'état reste lisiblement inactif. */
.aw-btn:disabled { cursor: not-allowed; }

.aw-btn--primary:disabled {
	background: #6E7B70;
	color: #FFFFF0;
	border-color: #6E7B70;
}

.aw-btn--ghost:disabled { opacity: 0.55; }
.aw-btn.is-busy { opacity: 0.65; cursor: progress; }

/* ---------------------------------------------------------------- desktop */

@media (min-width: 640px) {
	.aw-tunnel { padding-bottom: 60px; }
	.aw-h { font-size: 32px; }
	.aw-styles { grid-template-columns: repeat(4, 1fr); }
	.aw-steps__item { font-size: 12px; }
	.aw-actions { justify-content: flex-end; }
	.aw-btn { flex: 0 0 auto; min-width: 190px; }
	.aw-actions--sticky .aw-sticky-price {
	flex: 1 1 auto;
	align-self: center;
	font-family: "Times New Roman", Times, serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--aw-green);
	text-align: left;
}

.aw-actions--sticky { position: static; border-top: 0; padding: 0; margin: 24px 0 0; }
	.aw-preview__img { max-height: 560px; object-fit: contain; }
}

/* ------------------------------------------------------------------ support
   Choix entre le tirage papier et le fichier à imprimer, en tête d'étape 4.
   Deux cartes plutôt que deux pastilles : ce n'est pas une option de plus du
   même produit, ce sont deux produits, et le client doit pouvoir comparer ce
   qu'il reçoit avant de choisir.
   ------------------------------------------------------------------------ */
.aw-support {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0 0 26px;
}

@media (min-width: 620px) {
	.aw-support { grid-template-columns: 1fr 1fr; }
}

.aw-support__opt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	padding: 16px 18px;
	text-align: left;
	background: transparent;
	border: 1px solid rgba(13, 43, 29, .22);
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	color: #0D2B1D;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.aw-support__opt:hover { border-color: rgba(13, 43, 29, .5); }

.aw-support__opt[aria-checked="true"] {
	border-color: #0D2B1D;
	background: rgba(13, 43, 29, .045);
	/* Deuxième trait plutôt qu'une bordure plus épaisse : la carte ne bouge
	   pas d'un pixel quand on change de choix. */
	box-shadow: inset 0 0 0 1px #0D2B1D;
}

.aw-support__opt:focus-visible {
	outline: 2px solid #0D2B1D;
	outline-offset: 2px;
}

.aw-support__title { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.aw-support__desc  { font-size: 13.5px; line-height: 1.5; color: rgba(13, 43, 29, .72); }

.aw-support__points {
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: rgba(13, 43, 29, .66);
}

.aw-support__points li { position: relative; padding-left: 15px; }
.aw-support__points li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .58em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: .55;
}

.aw-support__price {
	margin-top: 4px;
	font-weight: 600;
	font-size: 15px;
}

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

/* -------------------------------------------------------------- inscription
   Repliée par défaut : la plupart des clients ne gravent rien, et trois
   champs de plus sur l'écran du choix de style feraient hésiter.
   -------------------------------------------------------------------------- */
.aw-inscription { margin: 22px 0 4px; }

.aw-inscription__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	background: transparent;
	border: 1px dashed rgba(13, 43, 29, .35);
	border-radius: 999px;
	font: 500 14px/1 Roboto, system-ui, sans-serif;
	color: #0D2B1D;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.aw-inscription__toggle:hover { border-color: #0D2B1D; background: rgba(13, 43, 29, .04); }
.aw-inscription__toggle:focus-visible { outline: 2px solid #0D2B1D; outline-offset: 2px; }
.aw-inscription__toggle[aria-expanded="true"] { border-style: solid; background: rgba(13, 43, 29, .05); }

.aw-inscription__plus { font-size: 16px; line-height: 1; opacity: .7; }
.aw-inscription__free {
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(13, 43, 29, .1);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .6px;
}

.aw-inscription__champs {
	margin-top: 14px;
	padding: 18px;
	background: rgba(13, 43, 29, .035);
	border-radius: 6px;
}
.aw-inscription__intro {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(13, 43, 29, .72);
}
.aw-inscription__ligne { margin-bottom: 13px; }
.aw-inscription__label {
	display: block;
	margin-bottom: 5px;
	font: 500 12.5px/1.2 Roboto, system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: .7px;
	color: rgba(13, 43, 29, .62);
}
.aw-inscription__input {
	width: 100%;
	padding: 10px 12px;
	background: #FFFFF0;
	border: 1px solid rgba(13, 43, 29, .22);
	border-radius: 4px;
	font: 400 15px/1.3 Roboto, system-ui, sans-serif;
	color: #0D2B1D;
}
.aw-inscription__input:focus {
	outline: none;
	border-color: #0D2B1D;
	box-shadow: 0 0 0 2px rgba(13, 43, 29, .12);
}

.aw-inscription__pos { display: flex; gap: 8px; flex-wrap: wrap; }
.aw-inscription__opt {
	padding: 8px 13px;
	background: transparent;
	border: 1px solid rgba(13, 43, 29, .22);
	border-radius: 4px;
	font: 400 13.5px/1 Roboto, system-ui, sans-serif;
	color: #0D2B1D;
	cursor: pointer;
}
.aw-inscription__opt[aria-checked="true"] {
	border-color: #0D2B1D;
	background: #0D2B1D;
	color: #FFFFF0;
}
.aw-inscription__opt:focus-visible { outline: 2px solid #0D2B1D; outline-offset: 2px; }

/* Rendu de la saisie dans la police même du cartel : le client voit ce qu'il
   obtiendra avant de payer une génération. */
.aw-inscription__apercu {
	margin: 14px 0 0;
	padding-top: 13px;
	border-top: 1px solid rgba(13, 43, 29, .14);
	font-family: "EB Garamond", Garamond, "Times New Roman", serif;
	font-size: 19px;
	letter-spacing: .5px;
	text-align: center;
	color: #0D2B1D;
}

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

/* ------------------------------------------------ attente : pendant ce temps
 *
 * Deux minutes à regarder un rond tourner, c'est une minute de trop. La carte
 * occupe ce temps sans le masquer : la ligne de progression reste au-dessus,
 * elle seule prouve qu'il se passe quelque chose.
 *
 * Hauteur fixe et superposition des diapositives : sans ça, chaque rotation
 * ferait sauter la page sous le doigt du visiteur.
 */
.aw-meanwhile {
	position: relative;
	max-width: 340px;
	margin: 28px auto 0;
	padding: 18px 16px 16px;
	border: 1px solid rgba(13, 43, 29, .12);
	border-radius: 10px;
	background: #FBFAF6;
}

.aw-meanwhile__title {
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #6E7B70;
}

.aw-meanwhile__slide {
	position: absolute;
	left: 16px;
	right: 16px;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;

	/* Toutes les diapositives à la même hauteur, sinon la carte se dilate et
	   se contracte à chaque rotation, sous le doigt du visiteur. */
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 206px;
}

.aw-meanwhile__slide[data-on] {
	position: relative;
	left: auto;
	right: auto;
	opacity: 1;
	visibility: visible;
}

.aw-meanwhile__slide img {
	display: block;
	/* Hauteur fixe plutôt que largeur : les styles n'ont pas tous le même
	   rapport (201x300 et 224x300), une largeur commune donnerait deux
	   hauteurs différentes. */
	height: 150px;
	width: auto;
	margin: 0 auto 10px;
	border-radius: 6px;
}

.aw-meanwhile__slide figcaption,
.aw-meanwhile__slide--texte p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #6E7B70;
	text-align: center;
}

.aw-meanwhile__slide figcaption strong,
.aw-meanwhile__fort {
	display: block;
	color: #0D2B1D;
	font-weight: 600;
}

.aw-meanwhile__slide--texte {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

/* Une attente sans fin doit finir par proposer une porte. */
.aw-stuck {
	max-width: 420px;
	margin: 26px auto 0;
	padding-top: 20px;
	border-top: 1px solid rgba(13, 43, 29, .12);
}

.aw-stuck__msg {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.6;
	color: #0D2B1D;
	text-align: center;
}

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