/* Formulaire de demande — iframe affiliés et landing pages. Couleurs : --c bouton, --x texte, --b fond, --r arrondi */
.tla { --c: #E4590B; --x: #1D2B24; --b: #FFFFFF; --r: 14px; --ci: #fff; --line: rgba(0,0,0,.13); --soft: rgba(0,0,0,.035);
	--rs: calc(var(--r) * .7);
	font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--x); -webkit-font-smoothing: antialiased; }
.tla *, .tla *::before, .tla *::after { box-sizing: border-box; }
.tla [hidden] { display: none !important; }
.tla svg { width: 22px; height: 22px; flex: 0 0 auto; }
.tla-card { background: var(--b); border-radius: var(--r); padding: 22px; }
.tla-framed .tla-card { border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.tla-head { margin-bottom: 14px; }
.tla-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.22; letter-spacing: -.01em; }
.tla-trust { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 600; opacity: .85; }
.tla-trust li { display: inline-flex; align-items: center; gap: 5px; }
.tla-trust svg { width: 16px; height: 16px; color: var(--c); stroke-width: 2.6; }
.tla-prog { height: 6px; border-radius: 99px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tla-prog span { display: block; height: 100%; background: var(--c); border-radius: 99px; transition: width .3s ease; }
.tla-si { margin: 6px 0 12px; font-size: 13px; opacity: .7; }
.tla-form { margin: 0; }
.tla-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .tla-step { display: none; }
.js .tla-step.is-on { display: block; animation: tla-in .25s ease; }
@keyframes tla-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .tla-step.is-on { animation: none; } .tla-prog span { transition: none; } }
.tla-sr, .tla-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tla-q { margin: 2px 0 10px; font-size: 18px; font-weight: 750; line-height: 1.3; }
.tla-q-sm { font-size: 15px; margin-bottom: 8px; }
.tla-hint { margin: -6px 0 10px; font-size: 14px; opacity: .7; }
.tla-tiles { display: grid; gap: 10px; margin-bottom: 4px; }
.tla-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tla-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tla-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 104px; padding: 14px 8px;
	border: 1.5px solid var(--line); border-radius: var(--rs); background: var(--b); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.tla-tile:hover { border-color: var(--c); }
.tla-tile:active { transform: scale(.98); }
.tla-tile input { position: absolute; opacity: 0; pointer-events: none; }
.tla-ti { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--c); background: var(--soft); }
.tla-ti svg { width: 25px; height: 25px; }
.tla-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tla-tl { font-weight: 750; font-size: 15.5px; line-height: 1.2; }
.tla-ts { font-size: 12.5px; opacity: .7; line-height: 1.25; }
.tla-tile:has(input:checked) { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }
.tla-tile:has(input:checked) .tla-ti { background: var(--c); color: var(--ci); }
.tla-tile:has(input:focus-visible) { outline: 2px solid var(--c); outline-offset: 2px; }
.tla-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tla-chip { border: 1.5px solid var(--line); background: var(--b); color: var(--x); border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tla-chip:hover, .tla-chip.on { border-color: var(--c); }
.tla-chip.on { background: var(--c); color: var(--ci); }
.tla-l { display: block; font-size: 14px; font-weight: 650; margin: 0 0 5px; }
.tla-opt { font-weight: 400; opacity: .7; }
.tla-in { display: block; width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: var(--rs); background: var(--b); color: var(--x); padding: 0 14px; font: inherit; font-size: 16px; margin-bottom: 12px; }
textarea.tla-in { height: auto; min-height: 64px; padding: 10px 14px; resize: vertical; }
select.tla-in { appearance: auto; }
.tla-in:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.tla-in.bad { border-color: #d03b3b; }
.tla-geo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 12px; }
.tla-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tla-pill { cursor: pointer; }
.tla-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tla-pill span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; font-weight: 650; }
.tla-pill input:checked + span { background: var(--c); border-color: var(--c); color: var(--ci); }
.tla-pill input:focus-visible + span { outline: 2px solid var(--c); outline-offset: 2px; }
.tla-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.tla-full { grid-column: 1 / -1; }
.tla-cgu { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; margin: 2px 0 12px; cursor: pointer; opacity: .9; }
.tla-cgu input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--c); flex: 0 0 auto; }
.tla-err { color: #c62828; font-size: 13.5px; font-weight: 650; margin: -6px 0 10px; }
.tla-gen { margin: 10px 0 0; }
.tla-nav { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.tla-nav button { font: inherit; cursor: pointer; border: 0; }
.tla-nav .tla-next, .tla-nav .tla-send { font-weight: 800; font-size: 17px; }
.tla-prev { background: none; color: var(--x); opacity: .7; font-weight: 600; padding: 12px 4px; }
.tla-prev:hover { opacity: 1; }
.tla-next, .tla-send { flex: 1; height: 54px; border-radius: var(--rs); background: var(--c); color: var(--ci); font-size: 17px !important; font-weight: 800; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 30%, transparent); transition: filter .15s, transform .1s; }
.tla-next:hover, .tla-send:hover { filter: brightness(.93); }
.tla-next:active, .tla-send:active { transform: translateY(1px); }
.tla-send:disabled { opacity: .6; cursor: wait; }
.js .tla-send { display: none; }
.js .tla-form.is-last .tla-send { display: block; }
.js .tla-form.is-last .tla-next { display: none; }
.tla-complet .tla-send, .js .tla-complet .tla-send { display: block; }
.tla-legal { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 12px; line-height: 1.4; opacity: .65; }
.tla-legal svg { width: 14px; height: 14px; margin-top: 1px; }
.tla-legal a { color: inherit; }
.tla-sec + .tla-sec { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.tla-h { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin: 0 0 12px; }
.tla-h span { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.tla-complet .tla-tile { min-height: 84px; }
.tla-complet .tla-q { margin-top: 18px; }
.tla-complet .tla-h + .tla-q { margin-top: 2px; }
.tla-complet .tla-hint { margin-top: -6px; }
.tla-done { text-align: center; padding: 10px 4px 4px; }
.tla-done:focus { outline: none; }
.tla-ok { width: 64px; height: 64px; border-radius: 50%; background: #0ca30c; color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tla-ok svg { width: 34px; height: 34px; stroke-width: 2.6; }
.tla-dt { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.tla-dm { font-size: 16.5px; margin: 0 0 14px; }
.tla-dw { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: color-mix(in srgb, var(--c) 10%, var(--b)); border-radius: var(--rs); padding: 12px 14px; font-size: 14.5px; font-weight: 650; margin: 0 0 10px; }
.tla-dw svg { color: var(--c); }
.tla-df { font-size: 14px; margin: 0; opacity: .8; }
.tla-nw { white-space: nowrap; }
.tla-done.is-preview::after { content: "Aperçu : rien n'a été envoyé"; display: block; margin-top: 10px; font-size: 12px; opacity: .6; }

/* Compact (colonne latérale ~300 px) */
.tla-compact .tla-card { padding: 18px; }
.tla-compact .tla-title { font-size: 20px; }
.tla-compact .tla-trust { flex-direction: column; gap: 3px; }
.tla-compact .tla-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tla-compact .tla-tile { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 12px; gap: 10px; }
.tla-compact .tla-ti { width: 34px; height: 34px; flex: 0 0 34px; }
.tla-compact .tla-ts { display: none; }
.tla-compact .tla-geo, .tla-compact .tla-grid { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 420px) {
	.tla-card { padding: 16px; }
	.tla-title { font-size: 20px; }
	.tla-c3 { grid-template-columns: minmax(0, 1fr); }
	.tla-c3 .tla-tile { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 12px; gap: 10px; }
	.tla-c3 .tla-ti { width: 36px; height: 36px; flex: 0 0 36px; }
	.tla-tile { min-height: 92px; }
	.tla-geo, .tla-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Page iframe */
html.tla-page, html.tla-page body { margin: 0; padding: 0; background: transparent; }
html.tla-page body { padding: 4px 8px 26px; }
