/*
 * Quiz infernal Animateur : page d'accueil (views/landing.php) et conditions (views/terms.php).
 * Tout est sous .qa-landing : rien ne déborde sur le thème.
 */

.qa-landing {
	--qa-violet: #31038a;
	--qa-yellow: #fdd018;
	--qa-red: #ff4343;
	--qa-blue: #087dff;
	--qa-cyan: #07cece;
	--qa-bg: #110428;
	--qa-surface: #1c0a45;
	--qa-surface-2: #27115c;
	--qa-line: #3a2277;
	--qa-ink: #fff8e8;
	--qa-muted: #c7bde3;
	--qa-title: "Bungee", "Atkinson Hyperlegible", system-ui, sans-serif;
	--qa-text: "Atkinson Hyperlegible", system-ui, sans-serif;
	font-family: var(--qa-text);
	color: var(--qa-ink);
	overflow-x: clip;
}
.qa-landing *, .qa-landing *::before, .qa-landing *::after { box-sizing: border-box; }
.qa-landing .qa-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.qa-landing :focus-visible { outline: 3px solid var(--qa-yellow); outline-offset: 3px; border-radius: 6px; }
.qa-landing a { color: var(--qa-yellow); }
.qa-landing a:hover { color: #ffe36b; }

/* ---------- Boutons ---------- */
.qa-landing .qa-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.qa-landing .qa-cta-center { justify-content: center; }
.qa-landing .qa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 54px; padding: .7rem 1.6rem; border-radius: 14px;
	font: 700 1.08rem/1.2 var(--qa-text); text-decoration: none; text-align: center;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.qa-landing .qa-btn-primary {
	background: var(--qa-yellow); color: #1a0633;
	box-shadow: 0 4px 0 #b38f00, 0 14px 34px -12px rgba(253, 208, 24, .65);
}
.qa-landing .qa-btn-primary:hover { color: #1a0633; transform: translateY(-2px); box-shadow: 0 6px 0 #b38f00, 0 18px 40px -12px rgba(253, 208, 24, .75); }
.qa-landing .qa-btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #b38f00; }
.qa-landing .qa-btn-ghost { color: var(--qa-ink); border: 2px solid var(--qa-line); background: rgba(28, 10, 69, .6); }
.qa-landing .qa-btn-ghost:hover { color: var(--qa-ink); border-color: var(--qa-cyan); }

/* ---------- Titres communs ---------- */
.qa-landing .qa-eyebrow {
	margin: 0 0 .6rem; font: 700 .82rem/1.2 var(--qa-text); letter-spacing: .14em; text-transform: uppercase; color: var(--qa-cyan);
}
.qa-landing .qa-eyebrow a { color: inherit; text-decoration: none; }
.qa-landing .qa-eyebrow a:hover { color: var(--qa-yellow); }
.qa-landing .qa-h2 { font: 400 clamp(1.6rem, 4.2vw, 2.5rem)/1.08 var(--qa-title); margin: 0 0 .7rem; text-wrap: balance; }
.qa-landing .qa-sub { color: var(--qa-muted); font-size: 1.1rem; margin: 0 0 2rem; max-width: 60ch; }
.qa-landing .qa-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

/* ---------- Héros ---------- */
.qa-landing .qa-hero { position: relative; isolation: isolate; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.qa-landing .qa-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(560px 360px at 78% 40%, rgba(8, 125, 255, .22), transparent 70%),
		radial-gradient(420px 300px at 90% 85%, rgba(255, 67, 67, .18), transparent 70%);
}
.qa-landing .qa-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.qa-landing .qa-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin: 0 0 1.2rem; }
.qa-landing .qa-badge {
	display: inline-block; padding: .35rem .8rem; border-radius: 999px;
	font: 400 .78rem/1.2 var(--qa-title); letter-spacing: .04em;
	background: var(--qa-red); color: #fff;
	box-shadow: 0 0 0 3px rgba(255, 67, 67, .25), 0 0 26px rgba(255, 67, 67, .55);
	transform: rotate(-2deg);
}
.qa-landing .qa-kicker-name { font-weight: 700; color: var(--qa-muted); letter-spacing: .02em; }
.qa-landing .qa-hero h1 {
	text-wrap: balance;
	font: 400 clamp(2.3rem, 6.4vw, 4.4rem)/.98 var(--qa-title); margin: 0 0 1.2rem; letter-spacing: .005em; overflow-wrap: anywhere;
}
.qa-landing .qa-hot {
	display: block; margin-top: .15em;
	background: linear-gradient(180deg, var(--qa-yellow) 12%, #ff8a2a 55%, var(--qa-red) 92%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 6px 26px rgba(255, 67, 67, .4));
}
.qa-landing .qa-lead { font-size: clamp(1.1rem, 2.3vw, 1.3rem); line-height: 1.55; margin: 0 0 1.8rem; max-width: 44ch; }
.qa-landing .qa-proof { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; color: var(--qa-muted); font-size: .95rem; }
.qa-landing .qa-proof li { display: flex; align-items: center; gap: .45rem; }
.qa-landing .qa-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--qa-cyan); box-shadow: 0 0 10px var(--qa-cyan); flex: none; }

/* ---------- Maquette : écran de la salle + console ---------- */
.qa-landing .qa-stage { position: relative; margin: 0; padding: 0 0 4rem; }
.qa-landing .qa-screen {
	position: relative; aspect-ratio: 16 / 9; width: 86%;
	display: flex; flex-direction: column; gap: 3.2%; padding: 4.2% 4.6%;
	border-radius: 16px; overflow: hidden; container-type: inline-size;
	background:
		radial-gradient(120% 90% at 50% -10%, rgba(123, 60, 255, .55), transparent 60%),
		linear-gradient(160deg, #2a0a74, var(--qa-violet) 45%, #1a0550);
	border: 10px solid #0b0220;
	box-shadow: 0 0 0 1px #3a2277, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 90px -20px rgba(8, 125, 255, .45);
	transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.qa-landing .qa-screen::after {
	/* reflet du projecteur */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, .09), transparent 38%);
}
.qa-landing .qa-screen-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.qa-landing .qa-screen-round {
	font: 400 max(10px, 2.9cqi)/1 var(--qa-title); color: var(--qa-cyan); letter-spacing: .03em;
}
.qa-landing .qa-screen-timer {
	display: inline-flex; align-items: center; gap: .35em;
	font: 400 max(10px, 3.2cqi)/1 var(--qa-title); color: var(--qa-yellow);
	padding: .3em .6em; border-radius: 999px; background: rgba(0, 0, 0, .3);
}
.qa-landing .qa-dot { width: .55em; height: .55em; border-radius: 50%; background: var(--qa-red); animation: qa-blink 1.2s steps(2, jump-none) infinite; }
.qa-landing .qa-screen-q {
	margin: auto 0 0; font: 700 max(13px, 4.6cqi)/1.15 var(--qa-text); color: #fff; text-wrap: balance;
}
.qa-landing .qa-choices { list-style: none; margin: 0 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqi; }
.qa-landing .qa-choices li {
	display: flex; align-items: center; gap: .55em; min-width: 0;
	padding: .55em .7em; border-radius: 1.4cqi;
	font: 700 max(10px, 3cqi)/1.1 var(--qa-text); color: #fff;
	background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .14);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qa-landing .qa-choices b {
	flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: .4em;
	font: 400 1em/1 var(--qa-title); color: #1a0633;
}
.qa-landing .qa-c-a b { background: var(--qa-red); color: #fff; }
.qa-landing .qa-c-b b { background: var(--qa-blue); color: #fff; }
.qa-landing .qa-c-c b { background: var(--qa-yellow); }
.qa-landing .qa-c-d b { background: var(--qa-cyan); }
.qa-landing .qa-screen-foot { display: flex; align-items: center; gap: .8em; font: 700 max(9px, 2.2cqi)/1 var(--qa-text); color: rgba(255, 248, 232, .75); }
.qa-landing .qa-screen-brand { margin-left: auto; letter-spacing: .04em; opacity: .7; }
.qa-landing .qa-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 1.2em; }
.qa-landing .qa-eq i { width: 3px; height: 100%; background: var(--qa-cyan); border-radius: 2px; transform-origin: bottom; animation: qa-eq 1s ease-in-out infinite; }
.qa-landing .qa-eq i:nth-child(2) { animation-delay: -.3s; }
.qa-landing .qa-eq i:nth-child(3) { animation-delay: -.6s; }
.qa-landing .qa-eq i:nth-child(4) { animation-delay: -.15s; }
.qa-landing .qa-eq i:nth-child(5) { animation-delay: -.45s; }

.qa-landing .qa-phone {
	position: absolute; right: 0; bottom: 0; width: clamp(132px, 27%, 190px);
	display: flex; flex-direction: column; gap: .45rem;
	padding: 1.6rem .75rem .9rem; border-radius: 26px;
	background: linear-gradient(170deg, #1f0b4f, #0f0328);
	border: 6px solid #07010f;
	box-shadow: 0 0 0 1px #4a2d8f, 0 30px 60px -18px rgba(0, 0, 0, .9), 0 0 40px -10px rgba(253, 208, 24, .35);
	transform: rotate(4deg);
}
.qa-landing .qa-phone-notch { position: absolute; top: 6px; left: 50%; width: 38%; height: 9px; border-radius: 999px; background: #07010f; transform: translateX(-50%); }
.qa-landing .qa-phone-label { margin: 0; font: 700 .62rem/1 var(--qa-text); letter-spacing: .14em; text-transform: uppercase; color: var(--qa-muted); }
.qa-landing .qa-phone-q { margin: 0; font: 400 1rem/1 var(--qa-title); color: #fff; }
.qa-landing .qa-phone-ans {
	margin: 0 0 .15rem; padding: .35rem .5rem; border-radius: 8px;
	font: 700 .72rem/1.2 var(--qa-text); color: var(--qa-cyan);
	background: rgba(7, 206, 206, .1); border: 1px dashed rgba(7, 206, 206, .5);
}
.qa-landing .qa-pbtn {
	display: block; padding: .5rem .5rem; border-radius: 10px; text-align: center;
	font: 700 .74rem/1.15 var(--qa-text); color: #fff; background: var(--qa-surface-2); border: 1px solid var(--qa-line);
}
.qa-landing .qa-pbtn-play { background: var(--qa-blue); border-color: var(--qa-blue); }
.qa-landing .qa-pbtn-show { background: transparent; border-color: var(--qa-cyan); color: var(--qa-cyan); }
.qa-landing .qa-pbtn-next { background: var(--qa-yellow); border-color: var(--qa-yellow); color: #1a0633; font-size: .85rem; padding: .65rem .5rem; }

@keyframes qa-blink { 50% { opacity: .2; } }
@keyframes qa-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ---------- Fonctionnalités ---------- */
.qa-landing .qa-features {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 1rem;
}
.qa-landing .qa-card {
	--qa-accent: var(--qa-cyan);
	position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: 20px;
	background: linear-gradient(170deg, var(--qa-surface-2), var(--qa-surface) 60%);
	border: 1.5px solid var(--qa-line);
	transition: transform .18s ease, border-color .18s ease;
}
.qa-landing .qa-card::before {
	content: ""; position: absolute; left: 1.3rem; right: 1.3rem; top: -1.5px; height: 3px; border-radius: 0 0 3px 3px; background: var(--qa-accent);
}
.qa-landing .qa-card:hover { transform: translateY(-3px); border-color: var(--qa-accent); }
.qa-landing .qa-card-wide { grid-column: span 2; }
.qa-landing .qa-card h3 { font: 400 1.14rem/1.15 var(--qa-title); margin: .7rem 0 .45rem; }
.qa-landing .qa-card p { margin: 0; color: var(--qa-muted); line-height: 1.5; }
.qa-landing .qa-tag {
	display: inline-block; font: 700 .7rem/1 var(--qa-text); letter-spacing: .12em; text-transform: uppercase;
	color: var(--qa-accent);
}
.qa-landing .qa-t-build { --qa-accent: var(--qa-yellow); }
.qa-landing .qa-t-play { --qa-accent: #ff6b6b; }
.qa-landing .qa-t-score { --qa-accent: var(--qa-cyan); }
.qa-landing .qa-t-look { --qa-accent: #5aa9ff; }
.qa-landing .qa-t-safe { --qa-accent: #b89bff; }

/* ---------- Feuille de réponses ---------- */
.qa-landing .qa-sheet-band {
	background:
		linear-gradient(180deg, transparent, rgba(49, 3, 138, .35) 30%, rgba(49, 3, 138, .35) 70%, transparent);
}
.qa-landing .qa-sheet-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.qa-landing .qa-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.qa-landing .qa-checks li { position: relative; padding-left: 2rem; font-size: 1.08rem; }
.qa-landing .qa-checks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 5px;
	border: 2px solid var(--qa-yellow);
	background: linear-gradient(135deg, transparent 45%, var(--qa-yellow) 45%, var(--qa-yellow) 58%, transparent 58%);
}
.qa-landing .qa-paper {
	position: relative; max-width: 380px; width: 100%; justify-self: center;
	padding: 1.4rem 1.4rem 1.2rem; border-radius: 4px;
	background: #fbfaf6; color: #1b1b1b;
	box-shadow: 0 1px 0 #ddd, 0 30px 60px -20px rgba(0, 0, 0, .75), 14px 14px 0 -2px rgba(253, 208, 24, .9);
	transform: rotate(2.5deg);
	font-family: var(--qa-text);
}
.qa-landing .qa-paper-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .7rem; border-bottom: 2px solid #1b1b1b; }
.qa-landing .qa-paper-logo { font: 400 1rem/1 var(--qa-title); letter-spacing: .02em; }
.qa-landing .qa-paper-total { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .78rem; text-transform: uppercase; }
.qa-landing .qa-paper-total i { width: 46px; height: 30px; border: 2px solid #1b1b1b; border-radius: 4px; }
.qa-landing .qa-paper-team { margin: .9rem 0 .5rem; font-weight: 700; font-size: .78rem; text-transform: uppercase; display: flex; align-items: baseline; gap: .5rem; }
.qa-landing .qa-hand {
	flex: 1; border-bottom: 1.5px solid #555; padding: 0 .2rem .1rem;
	font: italic 700 1.05rem/1.1 "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; text-transform: none; color: #1f3fa8;
}
.qa-landing .qa-paper-round { margin: .8rem 0 .4rem; padding: .25rem .5rem; background: #e6e3da; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.qa-landing .qa-paper-rows { margin: 0; padding: 0 0 0 1.4rem; display: grid; gap: .55rem; font-weight: 700; font-size: .85rem; }
.qa-landing .qa-paper-rows li { display: flex; align-items: center; gap: .6rem; min-height: 26px; }
.qa-landing .qa-paper-rows li::marker { font-weight: 700; }
.qa-landing .qa-boxes { display: flex; gap: .35rem; }
.qa-landing .qa-boxes i { display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid #1b1b1b; border-radius: 3px; font-style: normal; font-size: .72rem; }
.qa-landing .qa-boxes i.on { background: radial-gradient(circle, transparent 52%, #1f3fa8 54%, #1f3fa8 66%, transparent 68%); }
.qa-landing .qa-line { flex: 1; height: 1.5px; background: #777; align-self: flex-end; margin-bottom: 6px; }
.qa-landing .qa-line-short { flex: .5; }
.qa-landing .qa-pts { margin-left: auto; flex: none; width: 32px; height: 24px; border: 1.5px solid #1b1b1b; border-radius: 3px; }
.qa-landing .qa-paper-sub { display: flex; justify-content: flex-end; align-items: center; gap: .6rem; margin: .8rem 0 0; padding-top: .6rem; border-top: 1.5px dashed #999; font-weight: 700; font-size: .75rem; text-transform: uppercase; }
.qa-landing .qa-paper-sub .qa-pts { margin-left: 0; width: 40px; }

/* ---------- Déroulement ---------- */
.qa-landing .qa-steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: qa-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.qa-landing .qa-steps li { counter-increment: qa-step; position: relative; padding: 4.2rem 1.2rem 1.3rem; border-radius: 20px; border: 1.5px dashed var(--qa-line); }
.qa-landing .qa-steps li::before {
	content: counter(qa-step); position: absolute; top: 1.1rem; left: 1.2rem;
	display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px;
	font: 400 1.2rem/1 var(--qa-title); color: #1a0633; background: var(--qa-yellow); transform: rotate(-6deg);
}
.qa-landing .qa-steps li:nth-child(2)::before { background: var(--qa-cyan); transform: rotate(4deg); }
.qa-landing .qa-steps li:nth-child(3)::before { background: var(--qa-red); color: #fff; transform: rotate(-3deg); }
.qa-landing .qa-steps li:nth-child(4)::before { background: var(--qa-blue); color: #fff; transform: rotate(5deg); }
.qa-landing .qa-steps h3 { font: 400 1.15rem/1.15 var(--qa-title); margin: 0 0 .45rem; }
.qa-landing .qa-steps p { margin: 0; color: var(--qa-muted); }

/* ---------- FAQ ---------- */
.qa-landing .qa-faq-wrap { max-width: 820px; }
.qa-landing .qa-faq { display: grid; gap: .6rem; margin-top: 1.5rem; }
.qa-landing .qa-faq details { border-radius: 16px; background: var(--qa-surface); border: 1.5px solid var(--qa-line); }
.qa-landing .qa-faq details[open] { border-color: var(--qa-cyan); }
.qa-landing .qa-faq summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1rem 1.2rem; font-weight: 700; font-size: 1.08rem; border-radius: 16px;
}
.qa-landing .qa-faq summary::-webkit-details-marker { display: none; }
.qa-landing .qa-faq summary::after {
	content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
	font: 400 1.1rem/1 var(--qa-title); color: #1a0633; background: var(--qa-yellow); transition: transform .2s ease;
}
.qa-landing .qa-faq details[open] summary::after { transform: rotate(45deg); }
.qa-landing .qa-faq details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--qa-muted); line-height: 1.6; }

/* ---------- Appel final ---------- */
.qa-landing .qa-final { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); text-align: center; }
.qa-landing .qa-final .qa-wrap {
	padding: clamp(2.2rem, 6vw, 3.8rem) clamp(1.2rem, 4vw, 3rem); border-radius: 28px;
	background:
		radial-gradient(500px 240px at 50% 0%, rgba(255, 67, 67, .3), transparent 70%),
		linear-gradient(160deg, #3a0aa0, var(--qa-violet) 55%, #22056a);
	border: 1.5px solid #5a33b8;
	box-shadow: 0 30px 80px -30px rgba(49, 3, 138, .9);
}
.qa-landing .qa-final h2 { font: 400 clamp(1.6rem, 4.5vw, 2.7rem)/1.08 var(--qa-title); margin: 0 auto .7rem; max-width: 22ch; text-wrap: balance; }
.qa-landing .qa-final p { margin: 0 0 1.6rem; font-size: 1.12rem; }
.qa-landing .qa-final .qa-fine { margin: 1.6rem 0 0; font-size: .9rem; }
.qa-landing .qa-final .qa-fine a { color: var(--qa-muted); }
.qa-landing .qa-final .qa-fine a:hover { color: var(--qa-yellow); }

/* ---------- Conditions d'utilisation ---------- */
.qa-landing.qa-terms-page { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.qa-landing .qa-terms-grid {
	display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 72ch); gap: 1.5rem clamp(2rem, 5vw, 4rem);
	grid-template-areas: ". head" "toc body"; justify-content: center;
}
.qa-landing .qa-terms-head { grid-area: head; }
.qa-landing .qa-terms-head h1 { font: 400 clamp(2rem, 6vw, 3.2rem)/1.02 var(--qa-title); margin: 0 0 .6rem; overflow-wrap: anywhere; }
.qa-landing .qa-terms-date { margin: 0 0 1.2rem; color: var(--qa-cyan); font-weight: 700; font-size: .95rem; }
.qa-landing .qa-terms-intro { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.qa-landing .qa-toc { grid-area: toc; align-self: start; position: sticky; top: 90px; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--qa-surface); border: 1.5px solid var(--qa-line); }
.qa-landing .qa-toc h2 { margin: 0 0 .6rem; font: 700 .78rem/1 var(--qa-text); letter-spacing: .14em; text-transform: uppercase; color: var(--qa-muted); }
.qa-landing .qa-toc ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .3rem; font-size: .95rem; }
.qa-landing .qa-toc a { color: var(--qa-ink); text-decoration: none; }
.qa-landing .qa-toc a:hover { color: var(--qa-yellow); text-decoration: underline; }
.qa-landing .qa-toc li::marker { color: var(--qa-yellow); font-weight: 700; }
.qa-landing .qa-terms { grid-area: body; counter-reset: qa-sec; font-size: 1.06rem; line-height: 1.7; }
.qa-landing .qa-terms section { counter-increment: qa-sec; padding: 1.6rem 0; border-top: 1px solid var(--qa-line); scroll-margin-top: 90px; }
.qa-landing .qa-terms section:first-child { border-top: 0; padding-top: 0; }
.qa-landing .qa-terms h2 { display: flex; align-items: baseline; gap: .7rem; font: 400 1.3rem/1.2 var(--qa-title); margin: 0 0 .7rem; }
.qa-landing .qa-terms h2::before { content: counter(qa-sec, decimal-leading-zero); font-size: .85rem; color: var(--qa-red); }
.qa-landing .qa-terms p { margin: 0 0 .8rem; }
.qa-landing .qa-terms p:last-child { margin-bottom: 0; }
.qa-landing .qa-terms ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.qa-landing .qa-terms ul li { position: relative; padding-left: 1.4rem; }
.qa-landing .qa-terms ul li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--qa-yellow); transform: rotate(45deg); }
.qa-landing .qa-terms-back { margin: 2rem 0 0; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1000px) {
	.qa-landing .qa-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qa-landing .qa-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.qa-landing .qa-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.qa-landing .qa-stage { max-width: 640px; width: 100%; justify-self: center; }
	.qa-landing .qa-screen { transform: none; }
	.qa-landing .qa-sheet-grid { grid-template-columns: minmax(0, 1fr); }
	.qa-landing .qa-terms-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "toc" "body"; }
	.qa-landing .qa-toc { position: static; }
}

/* ---------- Téléphones ---------- */
@media (max-width: 600px) {
	.qa-landing .qa-cta { flex-direction: column; }
	.qa-landing .qa-btn { width: 100%; }
	.qa-landing .qa-features, .qa-landing .qa-steps { grid-template-columns: minmax(0, 1fr); }
	.qa-landing .qa-card-wide { grid-column: auto; }
	.qa-landing .qa-screen { width: 100%; border-width: 6px; border-radius: 12px; }
	.qa-landing .qa-stage { padding-bottom: 9.5rem; }
	.qa-landing .qa-phone { right: 2%; width: 150px; transform: rotate(3deg); }
	.qa-landing .qa-paper { padding: 1.1rem 1rem 1rem; transform: rotate(1.2deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 8px 8px 0 -2px rgba(253, 208, 24, .9); }
	.qa-landing .qa-boxes i { width: 21px; height: 21px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	.qa-landing *, .qa-landing *::before, .qa-landing *::after { animation: none !important; transition: none !important; }
	.qa-landing .qa-card:hover, .qa-landing .qa-btn-primary:hover { transform: none; }
}

/* ---------- Contraste élevé (Windows) ---------- */
@media (forced-colors: active) {
	.qa-landing .qa-hot { color: CanvasText; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
	.qa-landing .qa-btn { border: 2px solid ButtonText; }
}
.qa-landing .qa-btn-soon { cursor: default; opacity: .85; }
