/* GT Core — une seule feuille pour mobile et desktop. Angles nets partout, aucune dépendance. */

@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/press-start-2p-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/press-start-2p-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Jetons ---------- */

.gt-body {
	--red: #E52528;
	--teal: #027897;
	--teal-d: #015A72;
	--yellow: #FFED00;
	--ink: #06252E;
	--ink-2: #0C3642;
	--paper: #F1F7F8;
	--tint: #D9EAEE;
	--white: #FFFFFF;
	--mute: #3C5861;
	--copper: #C8742B;
	--copper-l: #EDB07A;
	--copper-d: #8A4A16;

	--pixel: "Press Start 2P", ui-monospace, "Courier New", monospace;
	--text: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--b: 3px;
	--gap: 24px;
	--head: 78px;
	--dock: 68px;

	margin: 0;
	background: var(--ink);
	color: var(--ink);
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	padding-bottom: var(--dock);
}

html:has(.gt-body) { scroll-padding-top: calc(var(--head, 78px) + 16px); scroll-behavior: smooth; }

/* Remise à zéro en :where() : spécificité nulle, donc chaque classe .gt-* garde la main. */
.gt-body *, .gt-body *::before, .gt-body *::after { box-sizing: border-box; border-radius: 0 !important; }
:where(.gt-body) :where(h1, h2, h3, p, ul, ol, dl, dd, fieldset, table) { margin: 0; padding: 0; }
:where(.gt-body) :where(ul, ol) { list-style: none; }
:where(.gt-body) :where(fieldset) { border: 0; min-width: 0; }
:where(.gt-body) :where(legend) { padding: 0; }
:where(.gt-body) :where(a) { color: inherit; }
:where(.gt-body) :where(button, input) { font: inherit; color: inherit; }
:where(.gt-body) :where(button) { cursor: pointer; }
:where(.gt-body) :where(svg) { display: block; }
.gt-body [hidden] { display: none !important; }

.gt-body :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gt-header :focus-visible, .gt-hero :focus-visible, .gt-section--ink :focus-visible, .gt-section--arcade :focus-visible,
.gt-section--red :focus-visible, .gt-footer :focus-visible, .gt-dock :focus-visible, .gt-game :focus-visible { outline-color: var(--yellow); }

.gt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gt-skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--yellow); color: var(--ink); padding: 12px 16px; font-weight: 700; border: var(--b) solid var(--ink); }
.gt-skip:focus { top: 12px; }

.gt-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.gt-wrap--narrow { width: min(800px, 100% - 40px); }

/* ---------- Boutons ---------- */

.gt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 48px; padding: 12px 18px;
	font-family: var(--pixel); font-size: 11px; line-height: 1.5; text-decoration: none; text-align: center;
	border: var(--b) solid var(--ink); background: var(--white); color: var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform .08s linear, box-shadow .08s linear;
}
.gt-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.gt-btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.gt-btn--call { background: var(--yellow); }
.gt-btn--dark { background: var(--ink); color: var(--white); }
.gt-btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.gt-btn--plain { background: transparent; border-color: transparent; box-shadow: none; text-decoration: underline; }
.gt-btn--plain:hover, .gt-btn--plain:active { transform: none; box-shadow: none; }
.gt-btn--xl { min-height: 60px; padding: 16px 24px; font-size: 12px; }
.gt-btn--sm { min-height: 40px; padding: 8px 12px; font-size: 10px; box-shadow: 3px 3px 0 #000; gap: 8px; }
.gt-btn--sm:hover { box-shadow: 5px 5px 0 #000; }
.gt-btn--sm:active { box-shadow: 0 0 0 #000; }
.gt-btn .gt-ico { flex: none; }
.gt-link { background: none; border: 0; padding: 0; text-decoration: underline; }

/* ---------- En-tête ---------- */

.gt-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--white); }
.gt-header__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; height: 52px; width: min(1120px, 100% - 24px); margin-inline: auto; }
.gt-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.gt-brand__van { width: 40px; height: 32px; }
.gt-brand__name { font-family: var(--pixel); font-size: 10px; white-space: nowrap; }
.gt-nav { display: none; justify-content: center; gap: 4px; }
.gt-nav a { padding: 8px 12px; font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: var(--b) solid transparent; }
.gt-nav a:hover { border-bottom-color: var(--white); }
.gt-nav a[aria-current="true"] { border-bottom-color: var(--yellow); color: var(--yellow); }
.gt-header__end { display: flex; align-items: center; gap: 10px; justify-self: end; }
.gt-hud { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; background: var(--ink-2); border: 2px solid var(--teal); color: var(--yellow); }
.gt-hud__score { font-family: var(--pixel); font-size: 10px; letter-spacing: 1px; }
.gt-hud.is-unlocked { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.gt-hud.is-bump { animation: gt-bump .3s steps(3); }
.gt-btn__long { display: none; }
.gt-header .gt-btn--call { display: none; }

/* Le tuyau de progression : la camionnette avance avec le défilement. */
.gt-run { position: relative; height: 26px; background:
	linear-gradient(var(--copper-l) 0 2px, var(--copper) 2px 6px, var(--copper-d) 6px 8px) bottom / 100% 8px no-repeat, var(--ink); overflow: hidden; }
.gt-run__van { position: absolute; left: 0; bottom: 8px; width: 23px; height: 18px; transform: translateX(calc(var(--p, 0) * (100vw - 23px))); will-change: transform; }
.gt-run__van svg { width: 100%; height: 100%; }
.gt-run::after { content: ""; position: absolute; right: 0; bottom: 8px; width: 2px; height: 16px; background: var(--paper); box-shadow: -4px -5px 0 3px var(--yellow); }

/* ---------- Héros ---------- */

.gt-hero { position: relative; background: var(--teal); color: var(--white); text-align: center; overflow: hidden; }
.gt-hero__in { position: relative; z-index: 1; padding: clamp(80px, 9vw, 104px) 0 clamp(56px, 8vw, 88px); }
.gt-hero__who { font-weight: 700; font-size: 17px; color: var(--yellow); }
.gt-hero h1 { margin: 20px auto 0; max-width: 22em; font-family: var(--pixel); font-weight: 400; font-size: clamp(22px, 5.2vw, 46px); line-height: 1.4; text-shadow: 4px 4px 0 var(--ink); text-wrap: balance; }
.gt-hero__lead { margin: 24px auto 0; max-width: 34em; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; text-wrap: pretty; }
.gt-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.gt-hero__cta .gt-btn { flex: 1 1 300px; max-width: 440px; }

.gt-facts { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(40px, 6vw, 64px); text-align: left; }
.gt-facts li { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--paper); color: var(--ink); border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.gt-facts strong { font-family: var(--pixel); font-weight: 400; font-size: 15px; line-height: 1.5; }
.gt-facts small, .gt-card__from small, .gt-zone__price small { font-family: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.gt-facts span { font-size: 16px; line-height: 1.45; }

/* Sol : un tuyau de cuivre à brides, posé sur l'encre. */
.gt-ground { height: 40px; background:
	repeating-linear-gradient(90deg, transparent 0 112px, var(--copper-d) 112px 116px, var(--copper-l) 116px 120px, var(--copper) 120px 132px, var(--copper-d) 132px 136px, transparent 136px 160px) 0 0 / 160px 24px repeat-x,
	linear-gradient(transparent 0 4px, var(--copper-l) 4px 8px, var(--copper) 8px 16px, var(--copper-d) 16px 20px, transparent 20px 24px) 0 0 / 100% 24px no-repeat,
	linear-gradient(transparent 0 24px, var(--ink) 24px); }

/* ---------- Pièces ---------- */

.gt-coin { position: absolute; top: 20px; z-index: 2; width: 44px; height: 44px; padding: 4px; background: none; border: 0; animation: gt-bob 1.2s steps(2) infinite; }
.gt-coin--l { left: max(12px, 50% - 590px); }
.gt-coin--r { right: max(12px, 50% - 590px); animation-delay: .6s; }
.gt-coin:hover { animation-play-state: paused; transform: scale(1.15); }
.gt-coin.is-got { animation: gt-got .45s steps(5) forwards; pointer-events: none; }
.gt-coin.is-gone { display: none; }

/* ---------- Sections ---------- */

.gt-section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.gt-section--paper { background: var(--paper); }
.gt-section--tint { background: var(--tint); }
.gt-section--ink { background: var(--ink); color: var(--paper); }
.gt-section--arcade { background: var(--ink-2); color: var(--paper); border-block: var(--b) solid var(--teal); }
.gt-section--red { background: var(--red); color: var(--white); text-align: center; }

.gt-section h2 { max-width: 24em; margin-inline: auto; font-family: var(--pixel); font-weight: 400; font-size: clamp(16px, 2.5vw, 26px); line-height: 1.6; text-align: center; text-wrap: balance; }
.gt-section h2::after { content: ""; display: block; width: 12px; height: 12px; margin: 24px auto 0; background: var(--yellow); box-shadow: -24px 0 0 var(--red), 24px 0 0 var(--teal); }
.gt-section--ink h2::after, .gt-section--arcade h2::after { box-shadow: -24px 0 0 var(--red), 24px 0 0 var(--paper); }
.gt-section--red h2::after { box-shadow: -24px 0 0 var(--white), 24px 0 0 var(--ink); }
.gt-lead { max-width: 38em; margin: 24px auto 0; font-size: clamp(18px, 1.8vw, 20px); line-height: 1.5; text-align: center; text-wrap: pretty; }
.gt-section h3 { font-size: 20px; line-height: 1.3; }

/* Étapes */
.gt-steps { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-top: 48px; counter-reset: none; }
.gt-steps li { position: relative; padding: 28px 24px 24px; background: var(--white); border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.gt-steps__n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--red); color: var(--white); font-family: var(--pixel); font-size: 18px; border: var(--b) solid var(--ink); }
.gt-steps p { margin-top: 10px; }

/* Cartes prestations */
.gt-cards { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-top: 48px; }
.gt-card { display: flex; flex-direction: column; background: var(--white); border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 24px 24px 0; }
.gt-card__ico { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; background: var(--teal); color: var(--white); border: var(--b) solid var(--ink); }
.gt-card__lead { margin-top: 8px; color: var(--mute); }
.gt-card__from { margin-top: 16px; font-family: var(--pixel); font-size: 13px; line-height: 1.6; }
.gt-card__list { margin: 16px 0 24px; border-top: 2px solid var(--ink); }
.gt-card__list li { padding: 9px 0; border-bottom: 1px solid var(--tint); font-size: 16px; line-height: 1.4; }
.gt-card__more { margin: auto -24px 0; padding: 16px 24px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; text-align: center; border-top: var(--b) solid var(--ink); transition: background .1s linear, color .1s linear; }
.gt-card__more:hover { background: var(--yellow); color: var(--ink); }

/* ---------- Tarifs ---------- */

.gt-tools { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; align-items: end; }
.gt-seg legend, .gt-search label, .gt-opts legend, .gt-range label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.gt-seg { display: grid; grid-template-columns: repeat(3, 1fr); }
.gt-seg legend { grid-column: 1 / -1; float: left; width: 100%; }
.gt-seg label { position: relative; margin-left: calc(var(--b) * -1); }
.gt-seg label:first-of-type { margin-left: 0; }
.gt-seg input, .gt-opts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gt-seg span, .gt-opts span { display: grid; place-items: center; min-height: 54px; padding: 8px 10px; background: var(--white); border: var(--b) solid var(--ink); font-weight: 700; text-align: center; line-height: 1.3; }
.gt-seg input:checked + span, .gt-opts input:checked + span { background: var(--ink); color: var(--yellow); }
.gt-seg input:focus-visible + span, .gt-opts input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; position: relative; z-index: 1; }
.gt-search input { width: 100%; height: 54px; padding: 0 16px; background: var(--white); border: var(--b) solid var(--ink); font-size: 17px; -webkit-appearance: none; appearance: none; }
.gt-search input::placeholder { color: var(--mute); opacity: 1; }
.gt-hint { margin-top: 12px; font-size: 15px; color: var(--mute); }

.gt-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; margin-top: 32px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.gt-tabs::-webkit-scrollbar { display: none; }
.gt-tabs button { min-height: 60px; padding: 10px 12px; margin-left: calc(var(--b) * -1); background: var(--white); border: var(--b) solid var(--ink); font-weight: 700; font-size: 15px; line-height: 1.25; scroll-snap-align: start; }
.gt-tabs button:first-child { margin-left: 0; }
.gt-tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.gt-tabs button:focus-visible { position: relative; z-index: 1; outline-offset: -6px; outline-color: var(--red); }
.gt-count { margin-top: 24px; font-weight: 700; }

.gt-panel { margin-top: 40px; }
.gt-js .gt-tabs:not([hidden]) + .gt-count + .gt-panels .gt-panel { margin-top: 0; }
.gt-js .gt-panels.is-tabbed .gt-panel > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gt-panel__intro { margin-top: 8px; color: var(--mute); }
.gt-js .gt-panels.is-tabbed .gt-panel__intro { margin-top: 20px; }
.gt-panel__note { margin-top: 16px; font-size: 15px; color: var(--mute); }

.gt-table { width: 100%; margin-top: 16px; border-collapse: collapse; background: var(--white); border: var(--b) solid var(--ink); }
.gt-table thead th { padding: 12px 16px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; text-align: left; }
.gt-table tbody th, .gt-table tbody td { padding: 16px; border-top: 1px solid var(--tint); vertical-align: top; text-align: left; font-weight: 400; }
.gt-table tbody tr:hover > * { background: var(--paper); }
.gt-table__label { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; }
.gt-table__desc { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--mute); }
.gt-table .gt-table__num { width: 1%; text-align: right; white-space: nowrap; }
.gt-table tbody th { padding-right: 8px; }
.gt-table tbody td { padding-left: 4px; }
.gt-table td .gt-price { font-family: var(--pixel); font-size: 13px; line-height: 1.8; }
.gt-table td .gt-price--quote { font-family: var(--text); font-size: 15px; font-weight: 700; }
.gt-price.is-flip { animation: gt-flip .18s steps(2); }

/* Simulateur */
.gt-sim { margin-top: 64px; padding: clamp(20px, 4vw, 40px); background: var(--tint); border: var(--b) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.gt-sim h3 { font-family: var(--pixel); font-weight: 400; font-size: clamp(13px, 1.6vw, 16px); line-height: 1.6; text-align: center; }
.gt-sim__lead { margin-top: 12px; text-align: center; color: var(--mute); }
.gt-sim__grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
.gt-opts { display: grid; gap: 0; }
.gt-opts legend { float: left; width: 100%; }
.gt-opts label { position: relative; margin-top: calc(var(--b) * -1); clear: both; }
.gt-opts label:first-of-type { margin-top: 0; }
.gt-range { display: grid; grid-template-columns: 1fr auto; align-content: start; align-items: baseline; }
.gt-range output { font-family: var(--pixel); font-size: 15px; }
.gt-range input { grid-column: 1 / -1; width: 100%; height: 48px; margin: 6px 0 0; background: transparent; -webkit-appearance: none; appearance: none; }
.gt-range input::-webkit-slider-runnable-track { height: 12px; background: var(--white); border: var(--b) solid var(--ink); }
.gt-range input::-moz-range-track { height: 6px; background: var(--white); border: var(--b) solid var(--ink); }
.gt-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 36px; margin-top: -15px; background: var(--yellow); border: var(--b) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.gt-range input::-moz-range-thumb { width: 22px; height: 30px; background: var(--yellow); border: var(--b) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.gt-range p { grid-column: 1 / -1; margin-top: 8px; font-size: 15px; color: var(--mute); }
.gt-sim__out { display: grid; grid-template-columns: 1fr; margin-top: 32px; background: var(--white); border: var(--b) solid var(--ink); }
.gt-sim__out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--tint); }
.gt-sim__out > div:first-child { border-top: 0; }
.gt-sim__out dt { font-weight: 700; font-size: 15px; }
.gt-sim__out dd { font-family: var(--pixel); font-size: 13px; white-space: nowrap; }
.gt-sim__out .is-main { background: var(--yellow); }
.gt-sim__foot { margin-top: 16px; font-size: 15px; color: var(--mute); text-align: center; }

.gt-rules { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-top: 64px; }
.gt-rules article { padding-top: 20px; border-top: 6px solid var(--ink); }
.gt-rules p { margin-top: 10px; }

/* ---------- Zones ---------- */

.gt-map { width: min(320px, 78vw); height: auto; margin: 48px auto 0; }
.gt-map text { font-family: var(--pixel); font-size: 9px; }
.gt-map__t { fill: var(--paper); }
.gt-map__c, .gt-map__k { fill: var(--ink); }
.gt-map__k { font-size: 7px !important; }
.gt-zones { display: grid; grid-template-columns: 1fr; gap: var(--gap); margin-top: 48px; }
.gt-zone { padding: 24px; background: var(--ink-2); border: var(--b) solid var(--paper); }
.gt-zone h3 { font-family: var(--pixel); font-weight: 400; font-size: 14px; color: var(--yellow); }
.gt-zone__price { margin-top: 16px; font-family: var(--pixel); font-size: 18px; line-height: 1.6; }
.gt-zone__note { min-height: 1.5em; margin-top: 6px; font-size: 15px; color: #A9C7CF; }
.gt-zone__towns { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--teal); font-size: 16px; }
.gt-zones__foot { max-width: 44em; margin: 32px auto 0; font-size: 15px; text-align: center; color: #A9C7CF; }

/* ---------- Zone bonus ---------- */

.gt-arcade { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; justify-items: center; text-align: center; }
.gt-arcade__screen { position: relative; width: 240px; height: 300px; background: var(--teal); border: 6px solid var(--paper); box-shadow: 8px 8px 0 #000; overflow: hidden; }
.gt-arcade__pipe { position: absolute; height: 16px; background: linear-gradient(var(--copper-l) 0 4px, var(--copper) 4px 12px, var(--copper-d) 12px 16px); border-inline: 8px solid var(--copper-d); }
.gt-arcade__pipe--a { left: 24px; bottom: 36px; width: 100px; }
.gt-arcade__pipe--b { right: 20px; bottom: 132px; width: 92px; }
.gt-arcade__pipe--c { left: 44px; bottom: 228px; width: 84px; }
.gt-arcade__hero { position: absolute; left: 46px; bottom: 52px; animation: gt-hop 1.1s steps(6) infinite alternate; }
.gt-arcade__text h2 { text-align: center; }
.gt-arcade__text p { max-width: 30em; margin: 20px auto 0; }
.gt-arcade__how, .gt-arcade__keys { font-size: 15px; color: #A9C7CF; }
.gt-arcade__cta { margin-top: 28px !important; }

/* ---------- FAQ ---------- */

.gt-faq { margin-top: 48px; }
.gt-faq details { background: var(--white); border: var(--b) solid var(--ink); margin-top: calc(var(--b) * -1); }
.gt-faq details:first-child { margin-top: 0; }
.gt-faq summary { display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; }
.gt-faq summary::-webkit-details-marker { display: none; }
.gt-faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--yellow); font-family: var(--pixel); font-size: 12px; }
.gt-faq details[open] summary::after { content: "-"; background: var(--yellow); color: var(--ink); }
.gt-faq summary:focus-visible { outline-offset: -6px; }
.gt-faq h3 { font-size: 18px; }
.gt-faq details p { padding: 0 20px 22px; max-width: 42em; }

/* ---------- Contact ---------- */

.gt-contact__tel { margin-top: 40px; }
.gt-contact__tel a { font-family: var(--pixel); font-size: clamp(22px, 6.4vw, 56px); line-height: 1.3; text-decoration: none; text-shadow: 4px 4px 0 var(--ink); white-space: nowrap; }
.gt-contact__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.gt-contact__cta .gt-btn { flex: 1 1 300px; max-width: 440px; }
.gt-contact__meta { margin-top: 32px; font-size: 18px; font-weight: 700; }
.gt-contact__meta li + li { margin-top: 6px; }

/* ---------- Pied de page ---------- */

.gt-footer { background: var(--ink); color: #A9C7CF; text-align: center; font-size: 15px; padding: 48px 0; }
.gt-footer__name { font-family: var(--pixel); font-size: 12px; color: var(--white); margin-bottom: 16px !important; }
.gt-footer p + p { margin-top: 8px; }
.gt-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 20px !important; }

/* ---------- Barre mobile ---------- */

.gt-dock { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--dock); padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box !important; background: var(--ink); border-top: var(--b) solid var(--teal); color: var(--white); }
.gt-dock a, .gt-dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 700; line-height: 1; text-decoration: none; color: inherit; }
.gt-dock a[aria-current="true"] { color: var(--yellow); }
.gt-dock .gt-dock__call { margin: -14px 4px 8px; background: var(--yellow); color: var(--ink); border: var(--b) solid var(--ink); box-shadow: 0 0 0 var(--b) var(--yellow); }
.gt-dock .gt-dock__call:active { transform: translateY(3px); }

/* ---------- Toast et dialogues ---------- */

.gt-toast { position: fixed; top: calc(var(--head) + 12px); right: 16px; z-index: 110; font-family: var(--pixel); font-size: 14px; color: var(--yellow); text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink); opacity: 0; pointer-events: none; }
.gt-toast.is-on { animation: gt-toast .9s steps(9) forwards; }

.gt-dialog { width: min(460px, 100vw - 32px); padding: 32px 28px; background: var(--paper); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.gt-dialog::backdrop { background: rgba(6, 37, 46, .86); }
.gt-dialog h2 { font-family: var(--pixel); font-weight: 400; font-size: 16px; line-height: 1.6; }
.gt-dialog__cta { display: grid; gap: 12px; margin-top: 24px; }
.gt-promo { background: var(--yellow); text-align: center; }
.gt-promo[open] { animation: gt-pop .25s steps(4); }
.gt-promo p { margin-top: 16px; }
.gt-promo__code { padding: 18px 12px; background: var(--ink); color: var(--yellow); font-family: var(--pixel); font-size: clamp(13px, 4vw, 18px); line-height: 1.6; letter-spacing: 2px; user-select: all; overflow-wrap: anywhere; }
.gt-promo__terms { font-size: 15px; }

/* Plein écran sur mobile, borne centrée à partir de 640 px. */
.gt-game { padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: var(--ink); color: var(--white); border: 0; box-shadow: none; overflow: hidden; }
.gt-game[open] { display: flex; flex-direction: column; }
.gt-game__bar { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "t s c" "a b b"; align-items: center; gap: 8px 12px; padding: 10px 12px; border-bottom: var(--b) solid var(--teal); }
.gt-game__bar h2 { grid-area: t; font-size: 12px; color: var(--yellow); }
.gt-game__bar p { font-family: var(--pixel); font-size: 9px; line-height: 1.6; }
.gt-game__bar p:nth-of-type(1) { grid-area: a; }
.gt-game__bar p:nth-of-type(2) { grid-area: b; text-align: right; }
.gt-game__bar output { color: var(--yellow); }
.gt-game__btn { min-height: 36px; padding: 6px 10px; background: var(--ink-2); border: 2px solid var(--paper); font-weight: 700; font-size: 14px; }
.gt-game__btn[aria-pressed="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.gt-game__stage { position: relative; flex: 1; min-height: 0; background: var(--teal); touch-action: none; user-select: none; -webkit-user-select: none; }
.gt-game__stage:focus { outline: none; }
.gt-game__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.gt-game__side { position: absolute; top: 0; bottom: 0; width: 50%; display: flex; align-items: flex-end; padding: 20px; background: transparent; border: 0; color: rgba(255, 255, 255, .55); font-size: 30px; -webkit-tap-highlight-color: transparent; }
.gt-game__side--l { left: 0; justify-content: flex-start; }
.gt-game__side--r { right: 0; justify-content: flex-end; }
.gt-game__side.is-down { color: var(--yellow); }
.gt-game__side:focus-visible { outline-offset: -6px; }
.gt-game__over { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; background: rgba(6, 37, 46, .88); text-align: center; }
.gt-game__over p { max-width: 20em; }
.gt-game__title { font-family: var(--pixel); font-size: 20px; line-height: 1.5; color: var(--yellow); text-shadow: 3px 3px 0 #000; }
.gt-game__over .gt-btn { min-width: 220px; }

/* ---------- Animations (pas à pas, comme sur une borne) ---------- */

@keyframes gt-bob { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes gt-got { to { transform: translateY(-48px) scale(1.4); opacity: 0; } }
@keyframes gt-bump { 50% { transform: translateY(-4px); } }
@keyframes gt-flip { 0% { opacity: .2; transform: translateY(-3px); } }
@keyframes gt-toast { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-36px); } }
@keyframes gt-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.06); } }
@keyframes gt-hop { from { transform: translateY(0); } to { transform: translateY(-76px); } }

/* ---------- À partir de 640 px ---------- */

@media (min-width: 640px) {
	.gt-facts, .gt-cards { grid-template-columns: repeat(2, 1fr); }
	.gt-tools { grid-template-columns: 1fr 1fr; gap: var(--gap); }
	.gt-header .gt-btn--call { display: inline-flex; }
	.gt-btn__long { display: inline; }
	.gt-btn__short { display: none; }
	.gt-brand__name { font-size: 11px; }
	.gt-hud__score { font-size: 11px; }
	.gt-game { margin: auto; width: 440px; height: min(780px, 100dvh - 32px); border: 4px solid var(--paper); box-shadow: 8px 8px 0 #000; }
}

/* ---------- À partir de 960 px : la barre mobile disparaît ---------- */

@media (min-width: 960px) {
	.gt-body { --head: 90px; padding-bottom: 0; }
	.gt-dock { display: none; }
	.gt-nav { display: flex; }
	.gt-header__in { height: 64px; width: min(1120px, 100% - 40px); }
	.gt-brand__van { width: 50px; height: 40px; }
	.gt-facts, .gt-cards { grid-template-columns: repeat(4, 1fr); }
	.gt-steps, .gt-zones, .gt-rules, .gt-sim__grid { grid-template-columns: repeat(3, 1fr); }
	.gt-tabs { grid-auto-columns: 1fr; overflow: visible; }
	.gt-sim__out { grid-template-columns: repeat(5, 1fr); }
	.gt-sim__out > div { flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border-top: 0; border-left: 1px solid var(--tint); text-align: center; }
	.gt-sim__out > div:first-child { border-left: 0; }
	.gt-sim__out dd { font-size: 15px; }
	.gt-table tbody th, .gt-table tbody td { padding: 18px 24px; }
	.gt-table thead th { padding: 12px 24px; }
	.gt-table td .gt-price { font-size: 15px; }
	.gt-table__desc { max-width: 60em; }
	.gt-arcade { grid-template-columns: auto minmax(0, 520px); justify-content: center; gap: 72px; text-align: left; }
	.gt-arcade__text h2 { text-align: left; margin-inline: 0; }
	.gt-arcade__text h2::after { margin-left: 24px; }
	.gt-arcade__text p { margin-inline: 0; }
	.gt-coin { top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html:has(.gt-body) { scroll-behavior: auto; }
	.gt-body *, .gt-body *::before, .gt-body *::after { animation: none !important; transition: none !important; }
	.gt-coin.is-got { visibility: hidden; }
}

@media print {
	.gt-header, .gt-dock, .gt-coin, .gt-section--arcade, .gt-tabs, .gt-tools, .gt-sim, .gt-toast { display: none !important; }
	.gt-body { padding: 0; background: #fff; }
	.gt-panel { display: block !important; break-inside: avoid; }
}
