/**
 * Page "Expérience TV" (Découvrir) — intégration fidèle de la référence
 * Claude Design (claude-design-reference/Decouvrir/TNT Plus France - Découvrir.dc.html).
 * Réutilise les tokens de variables.css et les composants globaux de
 * components.css / front-page.css (rail, channel-card, mock, cta...).
 */

@keyframes tpGlowPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* ================= HERO ================= */
.tp-dtv-hero { position: relative; z-index: 1; padding: clamp(48px, 6vw, 86px) 0 clamp(60px, 7vw, 110px); overflow: hidden; }
.tp-dtv-hero__glow {
	position: absolute; left: 50%; top: -140px; width: min(1100px, 120vw); height: 520px; margin-left: calc(min(1100px, 120vw) / -2);
	pointer-events: none; background: radial-gradient(closest-side, rgba(15, 122, 61, .42), transparent 72%); filter: blur(30px);
	opacity: 0; transition: opacity 1.6s ease;
}
.tp-dtv-hero__glow.is-shown { opacity: 1; }
.tp-dtv-hero__head { position: relative; max-width: 1180px; margin: 0 auto; text-align: center; }
.tp-dtv-hero__title {
	font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6vw, 80px); line-height: 1.02; letter-spacing: -.034em;
	margin: 0 auto 24px; max-width: 900px; text-wrap: pretty;
}
.tp-dtv-hero__lead { font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.68; color: var(--tp-text-muted); margin: 0 auto 34px; max-width: 640px; text-wrap: pretty; }

/* Interface TNT Plus (mockup principal du hero) */
.tp-dtv-hero-ui {
	position: relative; max-width: 1240px; margin: clamp(46px, 5vw, 78px) auto 0;
	opacity: 0; transform: perspective(1600px) translateY(70px) scale(.94);
	transition: opacity 1.5s var(--tp-ease), transform 1.5s var(--tp-ease);
}
.tp-dtv-hero-ui.is-shown { opacity: 1; transform: perspective(1600px) translateY(0) scale(1); }
.tp-dtv-hero-ui__frame { border-radius: 16px; padding: 8px; background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02)); box-shadow: 0 60px 140px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .05); }
.tp-dtv-hero-ui__inner { border-radius: 10px; overflow: hidden; background: #060806; }
.tp-dtv-hero-ui__topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.tp-dtv-hero-ui__pills { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; }
.tp-dtv-hero-ui__pill { padding: 6px 11px; border-radius: 5px; color: #8b928c; }
.tp-dtv-hero-ui__pill--active { background: rgba(15, 122, 61, .85); color: #fff; }
.tp-dtv-hero-ui__search { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9.5px; color: #6f766f; border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; padding: 6px 12px; }
.tp-dtv-hero-ui__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.tp-dtv-hero-ui__rail { border-right: 1px solid rgba(255, 255, 255, .06); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.tp-dtv-hero-ui__rail-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--tp-green-300); }
.tp-dtv-hero-ui__channel { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); transition: background .3s ease, border-color .3s ease; }
.tp-dtv-hero-ui__channel:hover { background: rgba(15, 122, 61, .14); border-color: rgba(31, 140, 74, .45); }
.tp-dtv-hero-ui__chip { position: relative; width: 34px; height: 24px; border-radius: 4px; overflow: hidden; flex: none; background: #101310; }
.tp-dtv-hero-ui__chip img { width: 100%; height: 100%; object-fit: cover; }
.tp-dtv-hero-ui__channel-label { min-width: 0; }
.tp-dtv-hero-ui__channel-name { display: block; font-size: 12.5px; font-weight: 600; color: var(--tp-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-dtv-hero-ui__channel-num { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; color: var(--tp-text-mute3); }

.tp-dtv-hero-ui__stage { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; }
.tp-dtv-hero-ui__screen { position: relative; flex: 1; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #080a08; }
.tp-dtv-hero-ui__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-dtv-hero-ui__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .5) 0%, rgba(3, 4, 3, .06) 38%, rgba(3, 4, 3, .94) 100%); }
.tp-dtv-hero-ui__live { position: absolute; left: 16px; top: 15px; }
.tp-dtv-hero-ui__program { position: absolute; left: 18px; right: 18px; bottom: 15px; }
.tp-dtv-hero-ui__eyebrow { font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--tp-green-mist); margin-bottom: 6px; }
.tp-dtv-hero-ui__title { font-family: var(--font-display); font-size: clamp(17px, 2vw, 25px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 10px; }
.tp-dtv-hero-ui__row { display: flex; align-items: center; gap: 12px; }
.tp-dtv-hero-ui__play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tp-green-700); color: #fff; font-size: 11px; flex: none; }
.tp-dtv-hero-ui__row .tp-progress { min-width: 60px; }
.tp-dtv-hero-ui__row .tp-mono-label { flex: none; }

/* ================= HEADROW (label + titre + sous-titre, empilés) réutilisé sur plusieurs sections ================= */
.tp-dtv-headrow { margin-bottom: clamp(48px, 6vw, 64px); }
.tp-dtv-headrow__text { font-size: 16.5px; line-height: 1.7; color: var(--tp-text-muted); margin: 28px 0 0; max-width: 600px; text-wrap: pretty; }
.tp-dtv-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; color: var(--tp-green-300); margin-bottom: 18px; }
.tp-dtv-eyebrow__line { width: 22px; height: 1px; background: var(--tp-green-500); }

/* ================= LE DIRECT (guide TV réel) ================= */
.tp-dtv-guide-frame { border-radius: 16px; padding: 7px; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .02)); box-shadow: 0 44px 100px rgba(0, 0, 0, .66); }
.tp-dtv-guide-inner { border-radius: 11px; overflow: hidden; background: #060806; padding-bottom: 6px; }
.tp-dtv-guide-topbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.tp-dtv-guide-topbar__status { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; color: var(--tp-green-mist); }
.tp-dtv-guide-inner .tp-rail { padding: 16px 18px 4px; gap: 14px; }
.tp-dtv-guide-inner .tp-channel-card { width: 250px; }
.tp-dtv-guide-inner .tp-rail-track { margin: 14px auto 4px; }
.tp-dtv-guide-fallback { text-align: center; padding: 30px 18px; }

/* ================= UNIVERS (sélecteur de catégories) ================= */
.tp-uni__layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.tp-uni__list { display: flex; flex-direction: column; gap: 2px; max-width: 340px; }
.tp-uni__item {
	cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 15px 4px 15px 4px; border: 0; background: none; width: 100%; text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, .06); opacity: .42; transition: opacity .45s ease, padding-left .45s ease; font: inherit;
}
.tp-uni__item.is-active { opacity: 1; padding-left: 12px; }
.tp-uni__item-bar { width: 10px; height: 1px; background: var(--tp-green-500); flex: none; transition: width .45s var(--tp-ease); }
.tp-uni__item.is-active .tp-uni__item-bar { width: 34px; }
.tp-uni__item-name { font-family: var(--font-display); font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.02em; color: #8b928c; transition: color .45s ease; }
.tp-uni__item.is-active .tp-uni__item-name { color: #fff; }
.tp-uni__item-num { margin-left: auto; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; color: #4d534e; }

/* Grande carte seule sur sa ligne, deux petites cartes alignées en dessous
   (0, 1 ou 2 selon les contenus réels disponibles) — jamais de grille
   implicite à colonnes variables qui pouvait replacer une petite carte à
   côté de la grande selon la largeur disponible. */
.tp-uni__composition { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tp-uni__stage { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #080a08; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
.tp-uni__stage-layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--tp-ease), transform 1.4s var(--tp-ease); pointer-events: none; }
.tp-uni__stage-layer.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.tp-uni__stage-layer img { width: 100%; height: 100%; object-fit: cover; }
.tp-uni__stage-layer--empty { background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(6, 8, 6, .96)); }
.tp-uni__stage-scrim { position: absolute; inset: 0; pointer-events: none; }
.tp-uni__stage-scrim--v { background: linear-gradient(180deg, rgba(3, 4, 3, .34) 0%, rgba(3, 4, 3, 0) 34%, rgba(3, 4, 3, .92) 100%); }
.tp-uni__stage-scrim--h { background: linear-gradient(90deg, rgba(6, 26, 14, .5), transparent 55%); }
.tp-uni__stage-copy { position: absolute; left: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px); right: clamp(16px, 2.4vw, 30px); }
.tp-uni__stage-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--tp-green-mist); margin-bottom: 9px; }
.tp-uni__stage-title { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.08; margin-bottom: 8px; }
.tp-uni__stage-text { font-size: 14px; color: #c3c9c4; max-width: 420px; line-height: 1.6; }

/* Roulement dans la grande carte : fondu du contenu interne (bg/fg), sans
   toucher au fondu existant entre catégories (.tp-uni__stage-layer). */
.tp-uni__stage-media { position: absolute; inset: 0; }
.tp-uni__stage-bg { transition: opacity .3s ease; }
.tp-uni__stage-badge { position: absolute; left: clamp(16px, 2.4vw, 30px); top: clamp(16px, 2.4vw, 30px); z-index: 2; }
.tp-uni__stage-badge[hidden] { display: none; }

/* Traitement éditorial des affiches portrait (Cinéma/Replay) : fond flouté
   et assombri de la même affiche, affiche nette posée à droite plutôt
   qu'un cover brutal qui couperait l'essentiel du visuel. */
.tp-uni__stage-fg { display: none; }
.tp-uni__stage-layer.is-poster .tp-uni__stage-bg { filter: blur(30px) brightness(.5) saturate(1.15); transform: scale(1.18); }
.tp-uni__stage-layer.is-poster .tp-uni__stage-fg {
	display: block; position: absolute; left: auto; right: clamp(18px, 4vw, 52px); top: 50%; transform: translateY(-50%);
	width: auto; height: 84%; max-width: 40%; object-fit: contain; border-radius: 10px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .07);
	transition: opacity .3s ease;
}
.tp-uni__stage-media.is-fading .tp-uni__stage-bg,
.tp-uni__stage-media.is-fading .tp-uni__stage-fg { opacity: 0; }

/* Précédent/suivant — petits, sombres, bordure verte discrète. */
.tp-uni__arrow {
	appearance: none; border: 1px solid rgba(31, 140, 74, .35); background: rgba(4, 6, 4, .72); padding: 0;
	color: rgba(255, 255, 255, .72); width: 34px; height: 34px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.tp-uni__arrow svg { width: 15px; height: 15px; display: block; }
.tp-uni__arrow:hover { color: var(--tp-green-300); border-color: var(--tp-green-500); background: rgba(8, 14, 9, .85); }
.tp-uni__arrow--prev { left: 12px; }
.tp-uni__arrow--next { right: 12px; }
.tp-uni__stage.is-static .tp-uni__arrow { display: none; }

/* Rangée des petites cartes : 0, 1 ou 2 selon les contenus réels — jamais
   de case vide pour "remplir". Une seule carte réelle garde le même format
   que dans une rangée de deux (grille à 2 colonnes fixes, alignée à
   gauche) : elle ne s'étire jamais en une deuxième grande carte. */
.tp-uni__satellites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tp-uni__satellites[hidden] { display: none; }
.tp-uni__satellite[hidden] { display: none; }

.tp-uni__satellite { position: relative; aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden; background: #0d100d; transition: transform .5s var(--tp-ease); cursor: pointer; }
.tp-uni__satellite:hover { transform: translateY(-6px); }
.tp-uni__satellite img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.tp-uni__satellite-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 38%, rgba(3, 4, 3, .92)); }
.tp-uni__satellite-copy { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.tp-uni__satellite-tag { font-family: var(--font-mono); font-size: 8px; letter-spacing: .16em; color: var(--tp-green-mist); margin-bottom: 5px; }
.tp-uni__satellite-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; }

/* Desktop uniquement : la composition (grande carte + petites cartes) est
   réduite pour rester visuellement équilibrée avec la hauteur de la liste
   de catégories à gauche, au lieu de la dépasser largement. Cadrages
   toujours "paysage", mêmes proportions entre les deux petites cartes ;
   aucune réduction de la largeur ni des tailles de police. Sur mobile,
   navigation et composition sont empilées (plus de contrainte de hauteur
   commune) : les ratios d'origine, plus généreux, restent inchangés. */
@media (min-width: 900px) {
	.tp-uni__stage { aspect-ratio: 21 / 8; }
	.tp-uni__satellite { aspect-ratio: 5 / 2; }
}

/* ================= ZAPPEZ ================= */
.tp-zap { position: relative; z-index: 1; background: #010201; border-top: 1px solid var(--tp-border-soft); padding: clamp(60px, 7vw, 110px) 0; overflow: hidden; }
.tp-zap__head { max-width: 720px; }
.tp-zap__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.034em; margin: 14px 0 0; }
.tp-zap__viewport {
	margin-top: clamp(34px, 4vw, 58px); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory; padding: 0 var(--tp-gutter); scrollbar-width: none;
}
.tp-zap__viewport::-webkit-scrollbar { display: none; }
.tp-zap__track { display: flex; gap: clamp(14px, 1.6vw, 26px); align-items: flex-end; width: max-content; will-change: transform; }
.tp-zap__card { scroll-snap-align: center; flex: none; width: clamp(230px, 23vw, 330px); transition: transform .6s var(--tp-ease); }
.tp-zap__card:hover { transform: translateY(-10px); }
.tp-zap__card-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0d100d; box-shadow: 0 30px 70px rgba(0, 0, 0, .7); }
.tp-zap__card-frame img { width: 100%; height: 100%; object-fit: cover; }
.tp-zap__card-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .2) 0%, transparent 40%, rgba(3, 4, 3, .94) 100%); }
.tp-zap__card-copy { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.tp-zap__card-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tp-zap__card-meta { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; color: var(--tp-green-mist); }

/* ================= REPLAY ================= */
.tp-dtv-replay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tp-dtv-replay-main { grid-column: span 2; min-width: 0; position: relative; border-radius: 14px; overflow: hidden; background: #080a08; aspect-ratio: 16 / 10; box-shadow: 0 40px 90px rgba(0, 0, 0, .62); }
.tp-dtv-replay-main img { width: 100%; height: 100%; object-fit: cover; }
.tp-dtv-replay-main__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .3), rgba(3, 4, 3, 0) 36%, rgba(3, 4, 3, .95)); }
.tp-dtv-replay-main__tag { position: absolute; left: 16px; top: 15px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--tp-green-mist); background: rgba(3, 4, 3, .6); border: 1px solid rgba(31, 140, 74, .45); padding: 5px 10px; border-radius: 4px; }
.tp-dtv-replay-main__foot { position: absolute; left: clamp(16px, 2vw, 26px); right: clamp(16px, 2vw, 26px); bottom: clamp(16px, 2vw, 26px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.tp-dtv-replay-main__title { font-family: var(--font-display); font-size: clamp(19px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; margin-bottom: 8px; }
.tp-dtv-replay-main__meta { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; color: var(--tp-green-mist); }
.tp-dtv-replay-main__cta { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: #fff; background: var(--tp-green-700); padding: 12px 22px; border-radius: var(--tp-radius-pill); box-shadow: 0 14px 34px rgba(11, 92, 46, .45); }

.tp-hoverzoom { position: relative; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; background: #0d100d; }
.tp-hoverzoom__inner { position: absolute; inset: 0; transition: transform .8s var(--tp-ease); }
.tp-hoverzoom__inner img { width: 100%; height: 100%; object-fit: cover; }
.tp-hoverzoom:hover .tp-hoverzoom__inner { transform: scale(1.07); }
.tp-hoverzoom__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(3, 4, 3, .9)); }
.tp-hoverzoom__veil { position: absolute; inset: 0; pointer-events: none; background: rgba(3, 4, 3, .5); opacity: 0; transition: opacity .5s ease; display: grid; place-items: center; }
.tp-hoverzoom:hover .tp-hoverzoom__veil { opacity: 1; }
.tp-hoverzoom__play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(15, 122, 61, .92); color: #fff; font-size: 13px; }
.tp-hoverzoom__dur { position: absolute; right: 9px; top: 9px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; color: var(--tp-text); background: rgba(3, 4, 3, .72); padding: 3px 7px; border-radius: 3px; }
.tp-dtv-replay-card__title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--tp-white); margin-top: 10px; }
.tp-dtv-replay-card__meta { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; color: var(--tp-text-mute3); margin-top: 4px; }

/* ================= MULTI-ÉCRANS (narration) ================= */
.tp-stage { position: relative; z-index: 1; border-top: 1px solid var(--tp-border-soft); background: #010201; }
.tp-stage__head { max-width: 700px; padding: clamp(56px, 6vw, 96px) 0 0; }
.tp-stage__lead { font-size: 16.5px; line-height: 1.7; color: var(--tp-text-muted); margin: 18px 0 0; max-width: 520px; text-wrap: pretty; }
.tp-stage__stack { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 90px); display: grid; place-items: center; }
.tp-stage__wrap { width: 100%; max-width: 1240px; }
.tp-stage__row { position: relative; display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: space-between; gap: clamp(10px, 1.6vw, 28px); }

.tp-stage__timeline { position: absolute; left: 6%; right: 6%; bottom: -38px; height: 26px; touch-action: pan-y; cursor: pointer; }
.tp-stage__timeline-line { position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: linear-gradient(90deg, transparent, rgba(31, 140, 74, .5), rgba(31, 140, 74, .5), transparent); }
.tp-stage__step { position: absolute; top: 12px; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.tp-stage__step-mark { width: 5px; height: 5px; border-radius: 50%; background: rgba(31, 140, 74, .55); transition: background .5s ease, transform .5s ease, box-shadow .5s ease; }
.tp-stage__step.is-active .tp-stage__step-mark { background: #2fb168; transform: scale(1.5); box-shadow: 0 0 12px rgba(31, 156, 82, .75); }
.tp-stage__dot {
	position: absolute; top: 12px; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--tp-green-500);
	box-shadow: 0 0 18px rgba(31, 156, 82, .9); cursor: grab; transition: transform .35s var(--tp-ease), box-shadow .35s ease; touch-action: none;
}
.tp-stage__dot.is-dragging { cursor: grabbing; transform: scale(1.25); box-shadow: 0 0 0 8px rgba(15, 122, 61, .18), 0 0 22px rgba(31, 156, 82, .95); }
.tp-stage__hint { position: absolute; right: 0; top: 28px; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: #5f665f; white-space: nowrap; pointer-events: none; transition: opacity .6s ease; }
.tp-stage__hint.is-hidden { opacity: 0; }

.tp-stage__item { cursor: pointer; min-width: 0; transition: opacity .8s ease, transform .9s var(--tp-ease), filter .8s ease; }
.tp-stage__item--tv { flex: 1.7; }
.tp-stage__item--laptop { flex: 1.25; }
.tp-stage__item--tablet { flex: .7; }
.tp-stage__item--phone { flex: .42; }
.tp-stage__frame { border-radius: 10px; padding: 6px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)); box-shadow: 0 40px 90px rgba(0, 0, 0, .7); }
.tp-stage__item--laptop .tp-stage__frame { border-radius: 8px; padding: 5px; box-shadow: 0 30px 70px rgba(0, 0, 0, .65); }
.tp-stage__item--tablet .tp-stage__frame { border-radius: 10px; padding: 5px; box-shadow: 0 26px 60px rgba(0, 0, 0, .6); }
.tp-stage__item--phone .tp-stage__frame { border-radius: 12px; padding: 4px; box-shadow: 0 22px 54px rgba(0, 0, 0, .6); }
.tp-stage__screen { position: relative; overflow: hidden; background: #080a08; }
.tp-stage__item--tv .tp-stage__screen { aspect-ratio: 16 / 9; border-radius: 5px; }
.tp-stage__item--laptop .tp-stage__screen { aspect-ratio: 16 / 10; border-radius: 4px; }
.tp-stage__item--tablet .tp-stage__screen { aspect-ratio: 3 / 4; border-radius: 6px; }
.tp-stage__item--phone .tp-stage__screen { aspect-ratio: 9 / 17; border-radius: 9px; }
.tp-stage__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-stage__item--tv .tp-stage__screen img { object-position: top; }
.tp-stage__item--laptop .tp-stage__screen img { object-position: top; }
.tp-stage__item--tablet .tp-stage__screen img { object-position: top; }
.tp-stage__item--phone .tp-stage__screen img { object-position: top; }
.tp-stage__screen-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .34), transparent 45%, rgba(3, 4, 3, .85)); }
.tp-stage__item--laptop .tp-stage__screen-scrim,
.tp-stage__item--tablet .tp-stage__screen-scrim,
.tp-stage__item--phone .tp-stage__screen-scrim { background: linear-gradient(180deg, transparent 42%, rgba(3, 4, 3, .89)); }
.tp-stage__stand { height: 8px; width: 26%; margin: 0 auto; background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent); border-radius: 0 0 5px 5px; }
.tp-stage__label { text-align: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; color: var(--tp-text-mute3); margin-top: 10px; }

.tp-stage__footrow { margin-top: clamp(76px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.tp-stage__caption { font-family: var(--font-display); font-size: clamp(16px, 1.7vw, 22px); font-weight: 700; color: var(--tp-white); transition: opacity .5s ease; }
.tp-stage__footnote { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: #4d534e; margin-left: auto; }

/* ================= INTERFACE (onglets liés au scroll) ================= */
.tp-uiface { position: relative; }
.tp-uiface__layout { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: clamp(20px, 2.4vw, 38px); align-items: center; }
.tp-uiface__annos { display: flex; flex-direction: column; gap: 26px; max-width: 220px; }
.tp-uiface__annos--right { margin-left: auto; }
.tp-uiface__anno { display: flex; align-items: center; gap: 0; opacity: .4; transition: opacity .6s ease; }
.tp-uiface__anno.is-active { opacity: 1; }
.tp-uiface__anno-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--tp-green-mist); white-space: nowrap; }
.tp-uiface__anno-line { flex: 1; height: 1px; min-width: 24px; background: linear-gradient(90deg, rgba(31, 140, 74, .65), rgba(31, 140, 74, .15)); margin-left: 12px; }
.tp-uiface__annos--right .tp-uiface__anno-line { background: linear-gradient(90deg, rgba(31, 140, 74, .15), rgba(31, 140, 74, .65)); margin-left: 0; margin-right: 12px; }

.tp-uiface__screen { grid-column: span 2; min-width: 0; border-radius: 14px; padding: 7px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)); box-shadow: 0 50px 110px rgba(0, 0, 0, .72); }
.tp-uiface__screen-inner { border-radius: 9px; overflow: hidden; background: #060806; }
.tp-uiface__chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.tp-uiface__chrome-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.tp-uiface__chrome-url { margin-left: 14px; font-family: var(--font-mono); font-size: 9px; color: var(--tp-text-mute3); border: 1px solid rgba(255, 255, 255, .08); border-radius: 5px; padding: 4px 12px; }
.tp-uiface__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; }
.tp-uiface__tab { padding: 6px 12px; border-radius: 5px; color: #8b928c; transition: background .5s ease, color .5s ease; }
.tp-uiface__tab.is-active { background: rgba(15, 122, 61, .85); color: #fff; }
.tp-uiface__tabs-search { margin-left: auto; padding: 6px 12px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .08); color: var(--tp-text-mute3); }
.tp-uiface__panels { position: relative; aspect-ratio: 16 / 9; background: #070907; }
.tp-uiface__panel { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .8s ease; display: grid; grid-template-rows: 1fr auto; }
.tp-uiface__panel.is-active { opacity: 1; pointer-events: auto; }
.tp-uiface__panel-visual { position: relative; overflow: hidden; }
.tp-uiface__panel-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tp-uiface__panel-visual--empty { background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(6, 8, 6, .97)); }
.tp-uiface__panel-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .25), transparent 40%, rgba(3, 4, 3, .92)); }
.tp-uiface__panel-copy { position: absolute; left: 16px; bottom: 14px; }
.tp-uiface__panel-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--tp-green-mist); margin-bottom: 6px; }
.tp-uiface__panel-title { font-family: var(--font-display); font-size: clamp(15px, 1.7vw, 22px); font-weight: 700; color: #fff; }

/* ================= LE SERVICE S'ADAPTE ================= */
.tp-adapt { position: relative; z-index: 1; border-top: 1px solid var(--tp-border-soft); }
.tp-adapt__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 4vw, 60px); }
.tp-adapt__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -.03em; margin: 0; }
.tp-adapt__stage { position: relative; display: grid; place-items: center; min-height: clamp(360px, 42vw, 520px); }
.tp-adapt__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(31, 140, 74, .16); }
.tp-adapt__ring--outer { width: min(560px, 88vw); height: min(560px, 88vw); }
.tp-adapt__ring--inner { width: min(380px, 66vw); height: min(380px, 66vw); border-color: rgba(31, 140, 74, .1); }
.tp-adapt__glow { position: absolute; width: min(420px, 70vw); height: min(300px, 50vw); background: radial-gradient(closest-side, rgba(15, 122, 61, .22), transparent 72%); filter: blur(24px); animation: tpGlowPulse 9s ease-in-out infinite; }
.tp-adapt__frame {
	position: relative; z-index: 2; width: clamp(240px, 34vw, 440px); aspect-ratio: 16 / 9; border-radius: 12px; padding: 6px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .02)); box-shadow: 0 40px 100px rgba(0, 0, 0, .75);
	transition: width 1.1s var(--tp-ease), aspect-ratio 1.1s var(--tp-ease), border-radius .8s ease;
}
.tp-adapt__frame-inner { position: relative; height: 100%; border-radius: 7px; overflow: hidden; background: #080a08; }
.tp-adapt__frame-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tp-adapt__frame-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .3), transparent 42%, rgba(3, 4, 3, .9)); }
.tp-adapt__frame-foot { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.tp-adapt__frame-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; color: var(--tp-green-mist); transition: opacity .5s ease; }
.tp-adapt__chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tp-adapt__chip {
	pointer-events: auto; cursor: pointer; position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px;
	padding: 9px 14px; border-radius: var(--tp-radius-pill); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .02);
	transition: border-color .5s ease, background .5s ease, transform .6s var(--tp-ease); font: inherit;
}
.tp-adapt__chip.is-active { border-color: rgba(31, 140, 74, .7); background: rgba(15, 122, 61, .24); }
.tp-adapt__chip-glyph { font-size: 14px; color: var(--tp-text-mute2); line-height: 1; }
.tp-adapt__chip.is-active .tp-adapt__chip-glyph { color: var(--tp-white); }
.tp-adapt__chip-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; color: var(--tp-text-mute2); white-space: nowrap; }
.tp-adapt__chip.is-active .tp-adapt__chip-label { color: var(--tp-white); }
.tp-adapt__note { text-align: center; margin-top: clamp(26px, 3vw, 44px); font-size: 15px; color: var(--tp-text-muted); max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }

@media (max-width: 760px) {
	.tp-adapt__chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; grid-column: 1 / -1; pointer-events: auto; }
	.tp-adapt__chip { position: static; transform: none; }
	.tp-adapt__ring { display: none; }
}

/* ================= SYNTHÈSE ================= */
.tp-synth { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(26px, 3vw, 46px) clamp(30px, 3.4vw, 56px); }
.tp-synth__item { display: flex; gap: 15px; align-items: flex-start; }
.tp-synth__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(31, 140, 74, .35); color: var(--tp-green-300); font-size: 14px; line-height: 1; }
.tp-synth__title { display: block; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--tp-white); margin-bottom: 6px; }
.tp-synth__text { display: block; font-size: 14px; line-height: 1.65; color: #8b928c; }

/* ================= TRANSITION VERS LES OFFRES ================= */
.tp-dtv-cta-offer { position: relative; z-index: 1; padding: clamp(70px, 8vw, 130px) 0; overflow: hidden; }
.tp-dtv-cta-offer__glow { position: absolute; left: 50%; top: 20%; width: min(900px, 110vw); height: 420px; margin-left: calc(min(900px, 110vw) / -2); pointer-events: none; background: radial-gradient(closest-side, rgba(15, 122, 61, .3), transparent 72%); filter: blur(30px); }
.tp-dtv-cta-offer__body { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.tp-dtv-cta-offer__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.03; letter-spacing: -.032em; margin: 0 0 20px; text-wrap: pretty; }
.tp-dtv-cta-offer__text { font-size: 17px; line-height: 1.68; color: var(--tp-text-muted); margin: 0 auto 34px; max-width: 520px; text-wrap: pretty; }
.tp-dtv-cta-offer__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.tp-dtv-cta-offer__fine { margin-top: 22px; text-align: center; }

/* ================= Réduction de mouvement — composants propres à cette page ================= */
@media (prefers-reduced-motion: reduce) {
	.tp-dtv-hero__glow, .tp-dtv-hero-ui,
	.tp-uni__item, .tp-uni__item-bar, .tp-uni__item-name, .tp-uni__stage-layer,
	.tp-uni__stage-bg, .tp-uni__stage-fg, .tp-uni__satellite img,
	.tp-zap__card, .tp-hoverzoom__inner, .tp-hoverzoom__veil,
	.tp-stage__item, .tp-stage__dot, .tp-stage__step-mark, .tp-stage__caption,
	.tp-uiface__anno, .tp-uiface__tab, .tp-uiface__panel,
	.tp-adapt__glow, .tp-adapt__frame, .tp-adapt__chip, .tp-adapt__frame-label {
		animation: none !important;
		transition: none !important;
	}
	.tp-dtv-hero__glow, .tp-dtv-hero-ui { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 640px) {
	.tp-dtv-hero-ui__stage { min-height: 220px; }
	.tp-stage__row { gap: 8px; }
	.tp-uni__satellites { grid-template-columns: 1fr; }
}
