:root {
	--tf-paper: #f6f9ff;
	--tf-white: #ffffff;
	--tf-ink: #0d1b33;
	--tf-text: #2b3a55;
	--tf-muted: #5d6f8c;
	--tf-blue: #2f8cf6;
	--tf-blue-deep: #0e3d7a;
	--tf-blue-soft: #e3efff;
	--tf-accent: #3499fe;   /* Twin brand blue, sampled from the Jira SEO-112 reference */
	--tf-accent-dark: #1f7fe6;
	--tf-night: #0a1f5c;
	--tf-night-2: #1340a8;
	--tf-btn-on-dark: #ffffff;   /* reference: white button on the dark blue banner */
	--tf-btn-on-dark-hover: #e6f1ff;
	--tf-accent-soft: #8cc6ff;
	--tf-line: #d6e2f3;
	--tf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
	--tf-font-mark: Georgia, serif;
	--tf-shadow: 0 14px 40px rgba(14, 61, 122, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 90px; }
body.tf { margin: 0; background: var(--tf-paper); color: var(--tf-text); font: 400 17px/1.7 var(--tf-font); padding-bottom: 80px; }
.tf img { max-width: 100%; height: auto; display: block; }
.tf a { color: var(--tf-blue-deep); text-underline-offset: 3px; }
.tf h1, .tf h2, .tf h3 { color: var(--tf-ink); line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.tf :focus-visible { outline: 3px solid var(--tf-accent); outline-offset: 3px; }
.tf-inner { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.tf-skip { position: absolute; top: -60px; left: 12px; z-index: 50; background: var(--tf-ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.tf-skip:focus { top: 8px; }
.tf-strip { background: var(--tf-night); color: #fff; font-size: 14px; }
.tf-strip .tf-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.tf-age { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--tf-btn-on-dark); color: var(--tf-night); font-weight: 800; font-size: 13px; }
.tf-age--big { min-width: 44px; height: 30px; font-size: 15px; }
.tf-login { color: #fff !important; text-decoration: none; font-weight: 700; padding: 5px 14px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; }
.tf-login:hover { background: rgba(255, 255, 255, .12); }

.tf-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--tf-line); }
.tf-head-row { display: flex; align-items: center; min-height: 68px; gap: 20px; }
.tf-logo img { width: 103px; height: 36px; }
.tf-menu { margin-left: auto; }
.tf-menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.tf-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--tf-ink); font-weight: 650; text-decoration: none; font-size: 15px; }
.tf-menu a:hover, .tf-menu a[aria-current="page"] { background: var(--tf-blue-soft); color: var(--tf-blue-deep); }
.tf-menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--tf-line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.tf-menu-toggle i { display: block; width: 20px; height: 2px; background: var(--tf-ink); }

.tf-hero { position: relative; overflow: hidden; color: #e8efff; background: radial-gradient(120% 90% at 85% 10%, var(--tf-night-2) 0%, var(--tf-night) 60%, #071640 100%); }
.tf-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, rgba(7, 22, 64, .35)); pointer-events: none; }
.tf-hero--doc { background: linear-gradient(160deg, #ffffff 0%, var(--tf-blue-soft) 100%); color: var(--tf-text); border-bottom: 1px solid var(--tf-line); }
.tf-hero--doc::after { display: none; }
.tf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.tf-hero--doc .tf-hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 30px; padding-bottom: 26px; }
.tf-hero h1 { font-size: clamp(30px, 4.4vw, 50px); margin: 6px 0 16px; }
.tf-hero:not(.tf-hero--doc) h1 { color: #fff; }
.tf-hero:not(.tf-hero--doc) .tf-hero-copy p { color: #d9e4ff; }
.tf-hero:not(.tf-hero--doc) .tf-hero-copy a { color: #fff; }
.tf-hero:not(.tf-hero--doc) .tf-crumbs, .tf-hero:not(.tf-hero--doc) .tf-crumbs a { color: #aebee6; }
.tf-hero-copy p { color: var(--tf-text); font-size: 18px; max-width: 60ch; }
.tf-art { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(var(--tf-shadow)); }
.tf-crumbs { font-size: 14px; color: var(--tf-muted); }
.tf-crumbs a { color: var(--tf-muted); }

.tf-slider { position: relative; }
.tf-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; box-shadow: var(--tf-shadow); }
.tf-track::-webkit-scrollbar { display: none; }
.tf-slide { scroll-snap-align: start; position: relative; display: grid; place-items: center; min-height: 300px; padding: 26px 26px 64px; text-decoration: none; overflow: hidden; }
.tf-slide--gift { background: linear-gradient(135deg, #3aa0ff, var(--tf-night-2)); }
.tf-slide--wheel { background: linear-gradient(135deg, #1b5fd6, #081d55); }
.tf-slide--reels { background: linear-gradient(135deg, #3499fe, #1864cc); }
.tf-slide .tf-art { max-width: 240px; filter: none; }
.tf-slide-label { position: absolute; left: 20px; bottom: 18px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--tf-ink); font-weight: 800; }
.tf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.tf-dot { width: 26px; height: 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; }
.tf-dot[aria-current="true"] { background: #fff; }

.tf-read { max-width: 820px; padding-top: 30px; padding-bottom: 56px; }
.tf-sec { padding: 26px 0; border-bottom: 1px solid var(--tf-line); }
.tf-sec h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 14px; }
.tf-sec h3 { font-size: 20px; margin: 22px 0 8px; }
.tf-actionbar { margin: 22px 0 0; }
.tf-action__btn, .tf-offercard-cta, .tf-dock-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border-radius: 14px; background: var(--tf-accent); color: #fff !important; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(43, 142, 243, .32); transition: background .2s, transform .2s; }
.tf-action__btn:hover, .tf-offercard-cta:hover, .tf-dock-btn:hover { background: var(--tf-accent-dark); transform: translateY(-1px); }
.tf-offercard { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 22px; margin: 26px 0 4px; padding: 22px; border-radius: 22px; background: radial-gradient(110% 120% at 90% 0%, var(--tf-night-2), var(--tf-night)); box-shadow: var(--tf-shadow); }
.tf-offercard .tf-art { max-width: 140px; filter: none; }
.tf-offercard-cta { justify-self: start; background: var(--tf-btn-on-dark); color: var(--tf-night) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.tf-offercard-cta:hover { background: var(--tf-btn-on-dark-hover); }
.tf-box { margin: 22px 0; padding: 16px 20px; border-radius: 16px; background: var(--tf-white); border: 1px solid var(--tf-line); box-shadow: inset 5px 0 0 var(--tf-blue); transition: transform .2s, box-shadow .2s; }
.tf-box:hover { transform: translateX(3px); box-shadow: inset 8px 0 0 var(--tf-blue); }
.tf-box--astuce { box-shadow: inset 5px 0 0 var(--tf-accent-soft); }
.tf-box ul, .tf-box ol { margin: 0; }
.tf-table { margin: 22px 0; overflow-x: auto; border-radius: 16px; border: 1px solid var(--tf-line); background: var(--tf-white); }
.tf-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tf-table th, .tf-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tf-line); }
.tf-table thead th { background: var(--tf-blue-soft); color: var(--tf-blue-deep); }
.tf-table tbody tr:last-child td { border-bottom: 0; }
.tf-table code { overflow-wrap: anywhere; }
.tf-faq-item { margin: 10px 0; border-radius: 14px; background: var(--tf-white); border: 1px solid var(--tf-line); }
.tf-faq-item summary { cursor: pointer; padding: 15px 18px; font-weight: 700; color: var(--tf-ink); }
.tf-faq-item > div { padding: 0 18px 12px; }

.tf-foot { background: var(--tf-night); color: #c9d6ea; font-size: 15px; }
.tf-foot a { color: #fff; }
.tf-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-top: 42px; padding-bottom: 42px; }
.tf-foot-id img { width: 97px; height: 34px; }
.tf-logo-inv { filter: brightness(0) invert(1); }
.tf-foot-risk { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; }
.tf-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tf-foot-notice { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #e4ecf8; font-size: 14px; }
.tf-notice { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: #f1f5fb; border: 1px solid var(--tf-line); color: var(--tf-text); font-size: 15px; }
.tf-notice p { margin: 0; }
.tf-notice-i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--tf-blue-deep); color: var(--tf-blue-deep); font: 800 14px/1 var(--tf-font-mark); }
.tf-foot-help { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }
.tf-foot-help p { margin: 0 0 12px; color: #fff; font-weight: 700; }
.tf-rg-logos { display: flex !important; flex-wrap: wrap; gap: 12px !important; }
.tf-rg-logos img { height: 44px; width: auto; }

.tf-dock { position: fixed; right: 20px; bottom: 20px; z-index: 25; transition: transform .25s, opacity .25s; }
.tf-dock.is-off { transform: translateY(150%); opacity: 0; pointer-events: none; }
.tf-lost { padding-top: 64px; padding-bottom: 96px; max-width: 760px; }
.tf-lost h1 { font-size: clamp(30px, 5vw, 46px); }

@media (max-width: 980px) {
	.tf-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.tf-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
	.tf-menu-toggle { display: flex; }
	.tf-menu { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--tf-line); padding: 8px 16px 14px; }
	.tf-menu.is-open { display: block; }
	.tf-menu ul { flex-direction: column; }
	.tf-slide { min-height: 240px; }
	.tf-offercard { grid-template-columns: 1fr; }
	.tf-offercard .tf-art { max-width: 100px; }
	.tf-action__btn, .tf-offercard-cta { width: 100%; }
	.tf-dock { left: 12px; right: 12px; bottom: 12px; }
	.tf-dock-btn { width: 100%; }
}
@media (max-width: 560px) {
	.tf-foot-grid { grid-template-columns: 1fr; }
	.tf-table table, .tf-table tbody, .tf-table tr, .tf-table td { display: block; width: 100%; }
	.tf-table thead { display: none; }
	.tf-table tr { padding: 10px 14px; border-bottom: 1px solid var(--tf-line); }
	.tf-table td { padding: 2px 0; border: 0; }
	.tf-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--tf-blue-deep); }
}
@media (prefers-reduced-motion: reduce) { .tf * { transition: none !important; } }

/* media slots (content v5+) */
.tf-hero-img { width: 100%; max-width: 560px; justify-self: center; border-radius: 22px; box-shadow: 0 24px 60px rgba(3, 12, 40, .45); aspect-ratio: 16 / 10; object-fit: cover; }
.tf-slide--photo { padding: 0; }
.tf-slide-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.tf-slide--photo .tf-slide-label { z-index: 1; }
.tf-offercard-img { width: 140px; height: 140px !important; object-fit: cover; border-radius: 16px; }
.tf-fig { margin: 24px 0 4px; }
.tf-fig-img { width: 100%; border-radius: 16px; border: 1px solid var(--tf-line); box-shadow: var(--tf-shadow); }
.tf-fig figcaption { margin-top: 8px; font-size: 14px; color: var(--tf-muted); }
@media (max-width: 780px) { .tf-offercard-img { width: 100px; height: 100px !important; } }

.tf-rg-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.tf-rg-link:hover { background: rgba(255, 255, 255, .14); }

/* media shapes: portrait phone frames stay phone-sized, panoramas keep their centre */
.tf-fig-img.is-tall { width: auto; max-width: min(100%, 340px); max-height: 640px; margin: 0 auto; }
.tf-fig:has(.is-tall) figcaption { text-align: center; }
.tf-hero-img.is-tall { width: auto; max-width: 300px; max-height: 520px; aspect-ratio: auto; object-fit: contain; }
.tf-offercard-img.is-tall { object-position: top; }
.tf-slide-img.is-wide { object-position: 50% 45%; }
.cta { clear: both; }
.tf-foot-nav a, .tf-foot-legal a { text-decoration: none; }
.tf-foot-nav a:hover, .tf-foot-legal a:hover { text-decoration: underline; }

/* ---- hero v2 (2026-10-21): full-bleed stage on the home page, compact action hero on inner pages ---- */
.tf-stage { position: relative; overflow: hidden; min-height: clamp(460px, 62vh, 620px); background: var(--tf-night); color: #fff; isolation: isolate; }
.tf-stage .tf-track { position: absolute; inset: 0; z-index: -2; border-radius: 0; box-shadow: none; }
.tf-stage .tf-slide { min-height: 100%; padding: 0; }
.tf-stage .tf-slide-img { object-position: 60% 50%; }
.tf-stage-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 22, 64, .96) 0%, rgba(10, 31, 92, .82) 38%, rgba(10, 31, 92, .25) 72%, rgba(10, 31, 92, .1) 100%),
              linear-gradient(0deg, rgba(7, 22, 64, .85) 0%, rgba(7, 22, 64, 0) 38%); }
.tf-stage-body { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: inherit; padding-top: 56px; padding-bottom: 40px; pointer-events: none; }
.tf-stage-body > * { pointer-events: auto; }
.tf-stage h1, .tf-hero--page h1 { hyphens: manual; }
.tf-stage h1 { max-width: 16ch; margin: 0 0 26px; color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.tf-stage-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 34px; }
.tf-stage-fine { flex: 1 1 100%; margin: 0; color: #c9d6f2; font-size: 13px; }
.tf-hero .tf-hero-copy .tf-stage-fine { color: #c9d6f2; font-size: 13px; max-width: none; }
.tf-go { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 30px; border-radius: 14px; background: var(--tf-btn-on-dark); color: var(--tf-night) !important; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 14px 32px rgba(0, 0, 0, .25); transition: transform .2s, background .2s; }
.tf-go:hover { background: var(--tf-btn-on-dark-hover); transform: translateY(-1px); }
.tf-go--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .55); box-shadow: none; backdrop-filter: blur(4px); }
.tf-go--ghost:hover { background: rgba(255, 255, 255, .18); }
.tf-stage .tf-dots { justify-content: flex-start; gap: 8px; margin: 0; flex-wrap: wrap; }
.tf-stage .tf-dot { width: auto; height: auto; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(7, 22, 64, .45); color: #dce6ff; font: 700 14px/1 var(--tf-font); backdrop-filter: blur(4px); }
.tf-stage .tf-dot[aria-current="true"] { background: #fff; color: var(--tf-night); border-color: #fff; }
.tf-hero--page .tf-hero-grid { padding-top: 40px; padding-bottom: 40px; }
.tf-hero--page h1 { margin-bottom: 22px; }
.tf-hero--page .tf-stage-acts { margin-bottom: 0; }
.tf-chapo { margin: 0 0 6px; padding: 4px 0 18px; border-bottom: 1px solid var(--tf-line); font-size: 18px; color: var(--tf-text); }
.tf-chapo p:first-child { font-size: 19px; color: var(--tf-ink); }
@media (max-width: 780px) {
  .tf-stage { min-height: 520px; }
  .tf-stage-veil { background: linear-gradient(0deg, rgba(7, 22, 64, .97) 0%, rgba(7, 22, 64, .82) 55%, rgba(7, 22, 64, .35) 100%); }
  .tf-stage-body { justify-content: flex-end; padding-top: 120px; padding-bottom: 28px; }
  .tf-stage h1 { font-size: 32px; margin-bottom: 18px; }
  .tf-stage-acts { margin-bottom: 22px; }
  .tf-stage-acts .tf-go { flex: 1 1 100%; padding: 14px 12px; }
  .tf-hero--page .tf-stage-acts .tf-go { flex: 1 1 100%; }
  .tf-stage .tf-dot { padding: 8px 12px; font-size: 13px; }
}

/* ---- full-width sticky offer bar (ui-copy v7) ---- */
.tf-dock--bar { left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, #071640, var(--tf-night-2)); border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 -12px 34px rgba(7, 22, 64, .35); }
.tf-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "offer btn" "fine btn"; align-items: center; column-gap: 24px; row-gap: 2px; padding-top: 12px; padding-bottom: 12px; }
.tf-bar-offer { grid-area: offer; margin: 0; color: #fff; font-weight: 800; font-size: 18px; line-height: 1.3; }
.tf-bar-fine { grid-area: fine; margin: 0; color: #aebee6; font-size: 12px; }
.tf-dock--bar .tf-dock-btn { grid-area: btn; min-height: 52px; padding: 12px 34px; background: var(--tf-accent); color: #fff !important; box-shadow: 0 10px 26px rgba(52, 153, 254, .35); }
.tf-dock--bar .tf-dock-btn:hover { background: var(--tf-accent-dark); }
/* room for the fixed bar lives inside the night-blue footer, not under it (no light strip below the footer) */
body.tf:has(.tf-dock--bar) { padding-bottom: 0; }
body.tf:has(.tf-dock--bar) .tf-foot { padding-bottom: 96px; }

/* ---- desktop sidebar: TOC + promo card (ui-copy v7) ---- */
.tf-layout { display: grid; grid-template-columns: minmax(0, 820px) 300px; justify-content: center; gap: 48px; }
.tf-layout .tf-read { max-width: none; padding-left: 0; padding-right: 0; }
.tf-side { padding-top: 30px; }
.tf-side-sticky { position: sticky; top: 88px; display: grid; gap: 14px; }
.tf-side-toc { padding: 18px 18px 12px; border: 1px solid var(--tf-line); border-radius: 18px; background: var(--tf-white); }
.tf-side-title { margin: 0 0 8px; color: var(--tf-ink); font-weight: 800; font-size: 15px; }
.tf-side-toc ol { list-style: none; margin: 0; padding: 0; max-height: max(150px, calc(100vh - 640px)); overflow-y: auto; counter-reset: toc; }
.tf-side-toc li { counter-increment: toc; }
.tf-side-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 4px; border-radius: 8px; color: var(--tf-text); font-size: 14px; line-height: 1.35; text-decoration: none; }
.tf-side-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--tf-accent); font-weight: 800; font-size: 12px; padding-top: 2px; }
.tf-side-toc a:hover, .tf-side-toc a[aria-current="true"] { background: var(--tf-blue-soft); color: var(--tf-blue-deep); }
.tf-sidecard { overflow: hidden; padding: 0 18px 16px; border-radius: 18px; background: radial-gradient(120% 90% at 100% 0, var(--tf-night-2), var(--tf-night)); color: #e4ecff; box-shadow: var(--tf-shadow); }
.tf-sidecard-img { display: block; width: calc(100% + 36px) !important; max-width: none !important; height: 112px !important; margin: 0 -18px 14px; object-fit: cover; object-position: top; }
.tf-sidecard-title { margin: 0 0 6px; color: #fff; font-weight: 800; font-size: 18px; }
.tf-sidecard-offer { margin: 0 0 14px; color: var(--tf-accent-soft); font-weight: 700; font-size: 15px; line-height: 1.4; }
.tf-sidecard-go { display: flex; justify-content: center; min-height: 48px; align-items: center; border-radius: 12px; background: var(--tf-btn-on-dark); color: var(--tf-night) !important; font-weight: 800; text-decoration: none; }
.tf-sidecard-go:hover { background: var(--tf-btn-on-dark-hover); }
.tf-sidecard-notice { margin: 10px 0 6px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #e4ecff; font-size: 12.5px; line-height: 1.45; }
.tf-sidecard-fine { margin: 0; color: #aebee6; font-size: 11.5px; }
@media (max-width: 1099px) { .tf-layout { display: block; } .tf-side { display: none; } .tf-layout .tf-read { max-width: 820px; margin: 0 auto; } }

/* ---- exit-intent dialog (desktop, once per session) ---- */
.tf-exit { width: min(520px, calc(100vw - 32px)); padding: 30px 30px 22px; border: 0; border-radius: 22px; background: radial-gradient(120% 90% at 100% 0, var(--tf-night-2), var(--tf-night)); color: #e4ecff; box-shadow: 0 30px 80px rgba(3, 12, 40, .55); }
.tf-exit::backdrop { background: rgba(7, 22, 64, .6); backdrop-filter: blur(3px); }
.tf-exit-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tf-exit-title { margin: 0 0 12px; color: #fff; font-weight: 800; font-size: 26px; line-height: 1.2; }
.tf-exit-text { margin: 0 0 6px; font-size: 16px; }
.tf-exit-go { display: flex; justify-content: center; align-items: center; min-height: 54px; margin: 18px 0 10px; border-radius: 14px; background: var(--tf-btn-on-dark); color: var(--tf-night) !important; font-weight: 800; font-size: 17px; text-decoration: none; }
.tf-exit-notice { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.45; }
.tf-exit-no { display: block; margin: 0 auto 10px; border: 0; background: none; color: #aebee6; font: 600 14px var(--tf-font); text-decoration: underline; cursor: pointer; }
.tf-exit-fine { margin: 0; color: #9fb0d8; font-size: 12px; text-align: center; }

@media (max-width: 780px) {
  .tf-dock--bar { left: 0; right: 0; bottom: 0; }
  .tf-bar { grid-template-columns: 1fr; grid-template-areas: "offer" "btn" "fine"; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
  .tf-bar-offer { font-size: 14px; line-height: 1.25; }
  .tf-bar-fine { font-size: 11px; }
  .tf-dock--bar .tf-dock-btn { width: 100%; min-height: 44px; padding: 10px 16px; }
  body.tf:has(.tf-dock--bar) .tf-foot { padding-bottom: 130px; }
}

/* ---- home hero v3 (2026-10-21, Jira reference): H1 line, rounded banner card with offer + white CTA, dots inside, section chips below ---- */
.tf-home-top { background: var(--tf-white); padding: 26px 0 8px; border-bottom: 1px solid var(--tf-line); }
.tf-home-top .tf-hero-copy h1 { margin: 0 0 18px; color: var(--tf-ink); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -.01em; hyphens: manual; max-width: 40ch; }
.tf-banner { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(340px, 42vw, 470px); border-radius: 22px; background: var(--tf-night); color: #fff; box-shadow: 0 18px 44px rgba(10, 31, 92, .18); }
.tf-banner .tf-track { position: absolute; inset: 0; z-index: -2; border-radius: 0; box-shadow: none; }
.tf-banner .tf-slide { min-height: 100%; padding: 0; }
.tf-banner .tf-slide-img { object-position: 62% 50%; }
.tf-banner-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 22, 64, .9) 0%, rgba(10, 31, 92, .62) 42%, rgba(10, 31, 92, .08) 78%); }
.tf-banner-body { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: inherit; padding: 40px clamp(24px, 6vw, 72px) 56px; pointer-events: none; }
.tf-banner-body > * { pointer-events: auto; }
.tf-banner-head { margin: 0 0 6px; color: #fff; font-weight: 800; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.02em; text-shadow: 0 6px 28px rgba(0, 0, 0, .3); }
.tf-banner-sub { margin: 0 0 26px; color: #fff; font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); }
.tf-banner .tf-stage-acts { margin: 0; max-width: 420px; }
.tf-banner .tf-go { min-width: 210px; text-transform: uppercase; letter-spacing: .03em; }
.tf-banner .tf-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; margin: 0; }
.tf-banner .tf-dot { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); }
.tf-banner .tf-dot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tf-banner .tf-dot[aria-current="true"] { width: 40px; background: #fff; }
.tf-chips { display: flex; gap: 10px; overflow-x: auto; padding: 16px 0 12px; scrollbar-width: none; }
.tf-chips::-webkit-scrollbar { display: none; }
.tf-chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; background: #f3f6f9; color: var(--tf-ink) !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.tf-chip:first-child { background: var(--tf-accent); color: #fff !important; }
.tf-chip:hover { background: var(--tf-blue-soft); color: var(--tf-blue-deep) !important; }
@media (max-width: 780px) {
  .tf-home-top { padding-top: 18px; }
  .tf-home-top .tf-hero-copy h1 { font-size: 22px; margin-bottom: 12px; }
  .tf-banner { min-height: 400px; border-radius: 18px; }
  .tf-banner-veil { background: linear-gradient(0deg, rgba(7, 22, 64, .94) 0%, rgba(7, 22, 64, .7) 55%, rgba(7, 22, 64, .15) 100%); }
  .tf-banner-body { justify-content: flex-end; padding: 120px 20px 40px; }
  .tf-banner-head { font-size: 40px; }
  .tf-banner-sub { font-size: 20px; margin-bottom: 18px; }
  .tf-banner .tf-go { width: 100%; }
}
@media (max-width: 780px) and (max-height: 700px) {   /* short phones: keep the hero CTA above the sticky bar */
  .tf-home-top .tf-hero-copy h1 { font-size: 19px; margin-bottom: 10px; }
  .tf-banner { min-height: 300px; }
  .tf-banner-body { padding: 56px 18px 30px; }
  .tf-banner-head { font-size: 32px; }
  .tf-banner-sub { font-size: 17px; margin-bottom: 14px; }
}

/* ---- footer RG logos (TZ §8): official marks on tiles that keep their own colours ---- */
.tf-rg-logos { align-items: center; }
.tf-rg-logo { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 10px 16px; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.tf-rg-logo--light { background: #fff; }
.tf-rg-logo--dark { background: #12285f; border: 1px solid rgba(255, 255, 255, .22); }
.tf-rg-logo img { height: 40px !important; width: auto !important; max-width: 200px; }
.tf-rg-logo:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

/* ---- rich CTA tiles (R-53, ui-copy cta_tiles) ---- */
.tf-offercard[data-tile] { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; overflow: hidden; isolation: isolate;
  margin: 28px 0 6px; padding: 26px 28px; border-radius: 22px; color: #e4ecff; box-shadow: 0 18px 40px rgba(10, 31, 92, .22); background: var(--tf-night); }
.tf-offercard[data-tile]::before { content: ""; position: absolute; inset: 0; z-index: -2; background: center 40% / cover no-repeat; opacity: .9; }
.tf-offercard[data-tile="a"]::before { background-image: url("/media/m-accueil-hero-01.webp"); }
.tf-offercard[data-tile="b"]::before { background-image: url("/media/m-accueil-hero-02.webp"); }
.tf-offercard[data-tile]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 22, 64, .95) 0%, rgba(10, 31, 92, .85) 55%, rgba(10, 31, 92, .55) 100%); }
.tf-tile-title { margin: 0 0 6px; color: #fff; font-weight: 800; font-size: 23px; line-height: 1.2; }
.tf-tile-text { margin: 0 0 16px; color: #d9e4ff; font-size: 16px; line-height: 1.45; max-width: 52ch; }
.tf-offercard[data-tile] .tf-offercard-cta { min-height: 50px; padding: 12px 26px; }
.tf-tile-fine { margin: 10px 0 0; color: #aebee6; font-size: 12px; }
.tf-tile-visual { align-self: stretch; display: flex; align-items: center; }
.tf-tile-img { width: 210px; height: 150px !important; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); }
@media (max-width: 780px) {
  .tf-offercard[data-tile] { grid-template-columns: 1fr; padding: 22px 18px; }
  .tf-tile-title { font-size: 20px; }
  .tf-tile-visual { display: none; }
  .tf-offercard[data-tile] .tf-offercard-cta { width: 100%; }
}
