/**
 * Page d'accueil — styles spécifiques aux sections (hero, catégories,
 * guide TV, multi-écrans, offres, étapes, accès, FAQ, CTA).
 */

/* ================= HERO ================= */
.tp-hero { position: relative; z-index: 1; }
.tp-hero__grid {
	padding: 70px var(--tp-gutter) 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 40px;
	align-items: center;
	min-height: 78vh;
}
.tp-hero__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(46px, 5.4vw, 80px);
	line-height: .98;
	letter-spacing: -.028em;
	margin: 0 0 22px;
	text-wrap: balance;
}
.tp-hero__rule { width: 96px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--tp-green-500), rgba(15, 122, 61, 0)); margin-bottom: 26px; }
.tp-hero__lead { font-size: 18.5px; line-height: 1.6; color: var(--tp-text-muted); max-width: 470px; margin: 0 0 34px; text-wrap: pretty; }
.tp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tp-hero__price { font-size: 14px; color: var(--tp-text-mute2); padding-left: 6px; }
.tp-hero__price strong { color: var(--tp-white); font-weight: 700; }

.tp-hero__visual { position: relative; height: 600px; min-width: 0; }
.tp-hero__glow {
	position: absolute; left: 6%; top: 6%; width: 90%; height: 82%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(11, 92, 46, .55), rgba(11, 92, 46, .16) 45%, transparent 72%);
	filter: blur(44px);
}

/* ---- Device mock — bezel générique ---- */
.tp-mock__frame {
	border-radius: 16px;
	padding: 10px;
	background: linear-gradient(150deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
	box-shadow: 0 40px 90px rgba(0, 0, 0, .8);
}
.tp-mock__screen {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 9px;
	overflow: hidden;
	background: #050705;
}
.tp-mock__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-mock__screen--placeholder { background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(6, 8, 6, .95)); }
.tp-mock__screen--sm, .tp-mock__screen--tile { aspect-ratio: 16 / 10; border-radius: 5px; background: linear-gradient(150deg, rgba(15, 122, 61, .4), rgba(6, 8, 6, .9)); }
.tp-mock__screen--phone { aspect-ratio: auto; height: 100%; }

.tp-mock__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 3, .92) 0%, rgba(3, 4, 3, .45) 52%, rgba(3, 4, 3, .15) 100%); }
.tp-mock__scrim--soft { background: linear-gradient(0deg, rgba(3, 4, 3, .9), rgba(3, 4, 3, .15) 60%); }

.tp-mock__stand { width: 120px; height: 9px; margin: 0 auto; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); }
.tp-mock__base { width: 230px; height: 5px; margin: 4px auto 0; border-radius: var(--tp-radius-pill); background: rgba(255, 255, 255, .09); }
.tp-mock__stand--sm { width: 70px; height: 6px; border-radius: 0 0 6px 6px; background: rgba(255, 255, 255, .12); }
.tp-mock__stand--webtv { width: auto; height: 8px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)); }

.tp-mock--tv { position: absolute; right: 0; top: 44px; width: min(660px, 100%); }
.tp-mock__topbar { position: absolute; left: 22px; top: 20px; pointer-events: none; display: flex; align-items: center; gap: 9px; }
.tp-mock__program { position: absolute; left: 22px; right: 22px; top: 56px; pointer-events: none; }
.tp-mock__program-title { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -.01em; color: #fff; margin-top: 7px; }

/* ---- WebTV mock ---- */
.tp-mock--webtv { position: absolute; left: 0; bottom: 48px; width: min(400px, 92%); z-index: 3; }
.tp-mock__frame--webtv { border-radius: 12px 12px 4px 4px; padding: 8px 8px 10px; }
.tp-webtv__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #060806; padding: 11px; display: flex; flex-direction: column; gap: 9px; }
.tp-webtv__header { display: flex; align-items: center; gap: 8px; }
.tp-webtv__header--sm { gap: 6px; }
.tp-webtv__brand { font-family: var(--font-display); font-size: 9px; font-weight: 800; letter-spacing: .08em; color: #fff; }
.tp-webtv__brand--xs { font-size: 8px; }
.tp-webtv__brand--xxs { font-size: 7px; }
.tp-webtv__meta { margin-left: auto; font-size: 8px; color: var(--tp-text-mute2); }
.tp-webtv__grid { flex: 1; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 7px; }
.tp-webtv__tile { position: relative; border-radius: 5px; overflow: hidden; background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(6, 8, 6, .95)); }
.tp-webtv__tile--hero { grid-row: span 2; }
.tp-webtv__tile--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-webtv__tag { position: absolute; left: 8px; bottom: 7px; pointer-events: none; font-size: 8.5px; font-weight: 700; color: #fff; }
.tp-webtv__tile--g1 { background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(6, 8, 6, .95)); }
.tp-webtv__tile--g2 { background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(6, 8, 6, .95)); }
.tp-webtv__tile--g3, .tp-webtv__tile--accent { background: linear-gradient(150deg, rgba(15, 122, 61, .4), rgba(6, 8, 6, .9)); }
.tp-webtv__tile--more {
	border-radius: 5px; border: 1px solid rgba(31, 140, 74, .4); background: rgba(15, 122, 61, .14);
	display: grid; place-items: center; font-size: 8px; color: var(--tp-green-mist);
}

/* ---- Smartphone mock ---- */
.tp-mock--phone { position: absolute; left: min(330px, 58%); bottom: 0; width: 152px; z-index: 4; }
.tp-mock__frame--phone { border-radius: 20px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .9); }
.tp-phone__screen {
	position: relative; aspect-ratio: 9 / 18; border-radius: 15px; overflow: hidden; background: #060806;
	padding: 10px 8px; display: flex; flex-direction: column; gap: 7px;
}
.tp-phone__top { display: flex; align-items: center; justify-content: space-between; }
.tp-phone__dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.tp-phone__hero { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(150deg, rgba(15, 122, 61, .4), rgba(6, 8, 6, .9)); }
.tp-phone__resume { position: absolute; left: 6px; bottom: 5px; pointer-events: none; font-size: 7.5px; font-weight: 700; color: #fff; }
.tp-phone__rows { display: flex; flex-direction: column; gap: 6px; }
.tp-phone__row { display: flex; gap: 6px; align-items: center; }
.tp-phone__thumb { width: 20px; height: 14px; border-radius: 3px; flex: none; background: rgba(255, 255, 255, .16); }
.tp-phone__thumb--active { background: rgba(15, 122, 61, .3); }
.tp-phone__bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.tp-phone__dock { margin-top: auto; display: flex; justify-content: space-between; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
.tp-phone__dock-item { width: 11px; height: 11px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.tp-phone__dock-item.is-active { background: var(--tp-green-500); }

/* ---- Tablette mock (hero) ---- */
.tp-mock--tablet { position: absolute; right: 32px; bottom: 6px; width: 200px; z-index: 2; }
.tp-mock__frame--tablet { border-radius: 14px; padding: 7px; box-shadow: 0 24px 60px rgba(0, 0, 0, .75); }
.tp-mock__frame--tablet .tp-mock__screen { aspect-ratio: 4 / 3; border-radius: 9px; }
.tp-mock__tablet-caption { position: absolute; left: 11px; bottom: 10px; pointer-events: none; }
.tp-mock__tablet-title { font-size: 10px; font-weight: 700; color: #fff; margin-top: 3px; }

/* ================= CATÉGORIES ================= */
.tp-section__head .tp-h2 { max-width: 640px; }
.tp-bento {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 14px;
}
.tp-bento__card {
	position: relative; min-height: 250px; border-radius: var(--tp-radius-lg); overflow: hidden;
	border: 1px solid var(--tp-border-2); background: var(--tp-bg-elevated);
	transition: transform .35s ease, border-color .35s ease;
}
.tp-bento__card:hover { transform: translateY(-4px); border-color: rgba(31, 140, 74, .45); }
.tp-bento__card--xl { grid-column: span 2; grid-row: span 2; min-height: 420px; border-color: var(--tp-border-2); }
.tp-bento__card--xl:hover { border-color: rgba(31, 140, 74, .5); }
.tp-bento__card--wide { grid-column: span 2; border-color: rgba(31, 140, 74, .3); }
.tp-bento__card--wide:hover { border-color: rgba(31, 140, 74, .6); }
.tp-bento__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-bento__card--wide .tp-bento__img--right { object-position: right center; }
.tp-bento__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(3, 4, 3, .95) 10%, rgba(3, 4, 3, .4) 70%); }
.tp-bento__card--xl .tp-bento__scrim { background: linear-gradient(0deg, rgba(3, 4, 3, .96) 8%, rgba(3, 4, 3, .45) 55%, rgba(4, 20, 10, .35) 100%); }
.tp-bento__scrim--side { background: linear-gradient(90deg, rgba(3, 4, 3, .96) 10%, rgba(4, 24, 12, .55) 100%); }
.tp-bento__copy { position: absolute; inset: 0; pointer-events: none; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.tp-bento__card--xl .tp-bento__copy { padding: 30px; }
.tp-bento__copy--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px; }
.tp-bento__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0 0 5px; color: #fff; }
.tp-bento__title--xl { font-size: 32px; letter-spacing: -.015em; margin: 0 0 10px; }
.tp-bento__title--md { font-size: 24px; margin: 10px 0 6px; }
.tp-bento__text { font-size: 13.5px; color: var(--tp-text-muted); margin: 0; }
.tp-bento__card--xl .tp-bento__text { font-size: 15px; line-height: 1.6; color: #c2c7c3; max-width: 340px; }

/* ================= +200 / GUIDE TV ================= */
.tp-section--stat { padding-top: 130px; padding-bottom: 120px; overflow: hidden; }
.tp-stat-glow {
	position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
	width: 1000px; height: 560px;
	background: radial-gradient(circle, rgba(11, 92, 46, .4), transparent 66%);
	filter: blur(40px);
}
.tp-stat-head { position: relative; text-align: center; }
.tp-stat-number {
	font-family: var(--font-display); font-weight: 800;
	font-size: clamp(110px, 18vw, 270px); line-height: .84; letter-spacing: -.045em;
	background: linear-gradient(180deg, #ffffff 25%, var(--tp-green-700) 115%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

.tp-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }

/* Conteneur de repère pour les voiles de bord et les flèches latérales —
   le scroll reste porté uniquement par .tp-rail. */
.tp-rail-wrap { position: relative; }
.tp-rail-wrap__fade {
	position: absolute;
	top: 0;
	bottom: 4px;
	width: 46px;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transition: opacity .3s ease;
}
.tp-rail-wrap__fade--left { left: 0; background: linear-gradient( 90deg, var( --tp-bg ) 0%, rgba( 3, 4, 3, 0 ) 100% ); }
.tp-rail-wrap__fade--right { right: 0; background: linear-gradient( 270deg, var( --tp-bg ) 0%, rgba( 3, 4, 3, 0 ) 100% ); }
.tp-rail-wrap.is-scrollable-left .tp-rail-wrap__fade--left,
.tp-rail-wrap.is-scrollable-right .tp-rail-wrap__fade--right { opacity: 1; }

.tp-rail {
	display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	/* Scrollbar native masquée : remplacée par le scrubber .tp-rail-track sous le rail. */
	scrollbar-width: none;
}
.tp-rail::-webkit-scrollbar { display: none; }

/* Flèches latérales : posées à cheval sur le bord du rail, jamais sur le texte
   des cartes (centrées verticalement, fond entièrement transparent). */
.tp-rail-arrow {
	appearance: none; background: none; border: none; margin: 0; padding: 11px;
	position: absolute; top: 50%; z-index: 3;
	display: inline-flex; align-items: center; justify-content: center; line-height: 0;
	color: rgba(255, 255, 255, .45); cursor: pointer;
	transition: opacity .18s ease, transform .18s ease, color .25s ease;
	animation: tpRailArrowLeft 2.4s ease-in-out infinite;
}
.tp-rail-arrow svg { width: 16px; height: 16px; display: block; }
.tp-rail-arrow:hover { color: var(--tp-green-300); }
.tp-rail-arrow--left  { left: 0; transform: translate(-50%, -50%); }
.tp-rail-arrow--right { right: 0; transform: translate(50%, -50%); animation-name: tpRailArrowRight; }
.tp-rail-arrow.is-hidden-edge {
	opacity: 0;
	pointer-events: none;
	animation: none;
}
.tp-rail-arrow--left.is-hidden-edge  { transform: translate(-50%, -50%) scale(.8); }
.tp-rail-arrow--right.is-hidden-edge { transform: translate(50%, -50%) scale(.8); }
@keyframes tpRailArrowLeft {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .45; }
	50%      { transform: translate(calc(-50% - 3px), -50%) scale(1.06); opacity: .7; }
}
@keyframes tpRailArrowRight {
	0%, 100% { transform: translate(50%, -50%) scale(1); opacity: .45; }
	50%      { transform: translate(calc(50% + 3px), -50%) scale(1.06); opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
	.tp-rail-arrow { animation: none; }
}

/* Scrubber : seul indicateur/contrôleur de progression sous les cartes. */
.tp-rail-track {
	position: relative; width: 130px; height: 24px; margin: 10px auto 0;
	display: flex; align-items: center; cursor: pointer;
}
.tp-rail-track::before {
	content: ''; position: absolute; left: 0; right: 0; top: 50%;
	height: 2px; transform: translateY(-50%); border-radius: 999px;
	background: rgba(255, 255, 255, .07); pointer-events: none;
}
.tp-rail-track__dot {
	position: absolute; top: 50%; left: 0; width: 22px; height: 22px;
	transform: translate(-50%, -50%);
	display: flex; align-items: center; justify-content: center;
	cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none;
	transition: left .3s cubic-bezier(.4, 0, .2, 1); /* position pilotée en JS via style.left */
}
.tp-rail-track__dot:active,
.tp-rail-track__dot.is-dragging { cursor: grabbing; }
.tp-rail-track__dot.is-dragging { transition: none; } /* pendant le drag : suivi immédiat, sans délai */
.tp-rail-track__dot-visual {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--tp-green-400);
	box-shadow: 0 0 7px rgba(31, 156, 82, .65), 0 0 2px rgba(47, 158, 93, .9);
	transition: transform .2s ease, box-shadow .2s ease;
}
.tp-rail-track__dot:hover .tp-rail-track__dot-visual {
	transform: scale(1.15);
	box-shadow: 0 0 10px rgba(31, 156, 82, .8), 0 0 3px rgba(47, 158, 93, 1);
}
.tp-rail-track__dot.is-dragging .tp-rail-track__dot-visual {
	transform: scale(1.25);
}

@media (max-width: 640px) {
	/* Priorité absolue au swipe tactile natif : flèches retirées, le scrubber
	   continue d'indiquer (et de piloter) la progression. */
	.tp-rail-arrow { display: none; }
}

.tp-channel-card {
	flex: none; width: 250px; border-radius: 14px;
	border: 1px solid var(--tp-border-2); background: linear-gradient(165deg, #0a0d0b, #050605);
	overflow: hidden; transition: border-color .3s ease, transform .3s ease;
}
.tp-channel-card:hover { border-color: rgba(31, 140, 74, .55); transform: translateY(-3px); }
.tp-channel-card > * { transition: opacity .25s ease; }
.tp-channel-card.is-updating > * { opacity: 0; }
.tp-channel-card__visual { position: relative; background: #070907; }
.tp-channel-card__visual .tp-live-badge--sm { position: absolute; left: 12px; top: 12px; z-index: 2; }
.tp-channel-card__time { position: absolute; right: 12px; top: 12px; font-size: 9px; letter-spacing: .14em; color: #c2c7c3; z-index: 2; }

/* Visuel réel du programme (fourni par la source EPG officielle) */
.tp-channel-card__visual--image { aspect-ratio: 16 / 9; border-radius: 14px 14px 0 0; overflow: hidden; }
.tp-channel-card__visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-channel-card__visual-scrim {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, transparent 55%, rgba(3, 4, 3, .82) 100%);
}

/* Repli discret quand la source ne fournit aucun visuel : jamais de grand vide */
.tp-channel-card__visual--empty {
	height: 64px; border-radius: 14px 14px 0 0; overflow: hidden; position: relative;
	background: linear-gradient(135deg, rgba(15, 122, 61, .16), #060806 75%);
	display: flex; align-items: center; justify-content: center;
}
.tp-channel-card__visual-fallback-logo { max-width: 70px; max-height: 24px; object-fit: contain; opacity: .55; }
.tp-channel-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.tp-channel-card__row { display: flex; align-items: center; gap: 10px; }
.tp-channel-card__logo {
	width: 60px; height: 38px; flex: none; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .05); display: grid; place-items: center; overflow: hidden;
	font-family: var(--font-mono); font-size: 7px; letter-spacing: .06em; color: var(--tp-text-mute3); text-align: center;
}
.tp-channel-card__logo--img {
	background: rgba(255, 255, 255, .92);
	border-color: rgba(255, 255, 255, .16);
	padding: 4px;
	object-fit: contain;
	font-size: 0;
}
.tp-channel-card__name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--tp-white); }
.tp-channel-card__prog {
	font-size: 13.5px; font-weight: 600; color: var(--tp-text-soft); line-height: 1.35; min-height: 36px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp-channel-card__meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--tp-text-mute3); margin-top: -4px; white-space: nowrap; }
.tp-channel-card .tp-progress span { transition: width .6s ease; }

/* Chaîne sans programme "maintenant" valide : emplacement stable, aucun faux programme */
.tp-channel-card--pending { border-color: var(--tp-border-2); }
.tp-channel-card--pending:hover { border-color: rgba(255, 255, 255, .16); transform: none; }
.tp-channel-card--pending .tp-channel-card__body { padding-bottom: 20px; }
.tp-channel-card__pending {
	font-size: 13px; font-style: italic; color: var(--tp-text-mute3); min-height: 36px; display: flex; align-items: center;
}
.tp-channel-card__next {
	font-size: 12px; color: var(--tp-text-mute2); padding-top: 8px; border-top: 1px solid var(--tp-border-2);
	display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap;
}
.tp-channel-card__next[hidden] { display: none; }

/* ================= MULTI-ÉCRANS ================= */
.tp-device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; max-width: 440px; }
.tp-device-pill {
	display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--tp-radius-md);
	border: 1px solid var(--tp-border-2); background: rgba(255, 255, 255, .02); color: var(--tp-green-400);
	transition: border-color .3s ease; font-size: 14.5px; font-weight: 600;
}
.tp-device-pill:hover { border-color: rgba(31, 140, 74, .5); }
.tp-device-pill span:last-child { color: var(--tp-white); }

.tp-ms-visual { position: relative; height: 540px; min-width: 0; }
.tp-ms-glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(11, 92, 46, .45), transparent 68%); filter: blur(40px); }

.tp-ms-mock--tv { position: absolute; right: 0; top: 10px; width: 86%; }
.tp-ms-mock--tv .tp-mock__frame { border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.tp-ms-mock--tv .tp-mock__screen { border-radius: 7px; }
.tp-ms-mock__overlay { position: absolute; left: 16px; right: 16px; top: 14px; pointer-events: none; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.tp-ms-mock__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }

.tp-ms-mock--webtv { position: absolute; left: 0; bottom: 96px; width: 44%; z-index: 2; }
.tp-mock__frame--webtv-sm { border-radius: 9px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .85); }
.tp-webtv__screen--sm { border-radius: 5px; padding: 8px; gap: 6px; }
.tp-webtv__grid--sm { grid-template-columns: 1.6fr 1fr; grid-template-rows: none; gap: 6px; }
.tp-webtv__tile-stack { display: flex; flex-direction: column; gap: 6px; }
.tp-webtv__tile-stack .tp-webtv__tile { flex: 1; }
.tp-webtv__tile--label {
	border-radius: 4px; background: rgba(15, 122, 61, .2); border: 1px solid rgba(31, 140, 74, .35);
	display: grid; place-items: center; font-size: 6.5px; color: var(--tp-green-mist);
}

.tp-ms-mock--phone { position: absolute; left: 38%; bottom: 0; width: 112px; z-index: 3; }
.tp-mock__frame--phone-sm { border-radius: 16px; padding: 5px; box-shadow: 0 20px 50px rgba(0, 0, 0, .9); }
.tp-phone__screen--sm { border-radius: 12px; padding: 8px 7px; gap: 6px; }
.tp-mock__screen--tile { border-radius: 5px; }
.tp-phone__resume--sm { font-size: 6.5px; }
.tp-phone__rows--sm { display: flex; flex-direction: column; gap: 5px; }
.tp-phone__rows--sm .tp-phone__bar:nth-child(1) { background: rgba(255, 255, 255, .12); }
.tp-phone__rows--sm .tp-phone__bar:nth-child(2) { background: rgba(255, 255, 255, .09); }
.tp-phone__rows--sm .tp-phone__bar:nth-child(3) { background: rgba(255, 255, 255, .07); }

.tp-ms-mock--tablet { position: absolute; right: 24px; bottom: 14px; width: 170px; }
.tp-mock__frame--tablet-sm { border-radius: 11px; padding: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .8); }
.tp-webtv__screen--tablet { position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: #060806; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.tp-webtv__grid--quad { flex: 1; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.tp-webtv__tile--more-sm { font-size: 6.5px; }

/* ================= CE QUI EST INCLUS ================= */
.tp-features-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.tp-features {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
	background: var(--tp-border-soft); border: 1px solid var(--tp-border-soft); border-radius: var(--tp-radius-lg); overflow: hidden;
}
.tp-feature-cell { padding: 30px 26px; background: var(--tp-bg-card-2); transition: background .3s ease; color: var(--tp-green-400); }
.tp-feature-cell:hover { background: #0a120c; }
.tp-feature-cell__title { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; margin: 20px 0 8px; color: var(--tp-white); }
.tp-feature-cell__text { font-size: 14px; line-height: 1.6; color: var(--tp-text-mute2); margin: 0; }
.tp-features__more { display: flex; justify-content: center; margin-top: 24px; }

@media (max-width: 900px) {
	.tp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.tp-features { grid-template-columns: 1fr; }
}

/* ================= NOS OFFRES ================= */
.tp-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 760px) {
	.tp-offers { grid-template-columns: 1fr; }
}
.tp-offer-card {
	position: relative; border-radius: var(--tp-radius-xl); overflow: hidden;
	border: 1px solid var(--tp-border); background: linear-gradient(160deg, #0a0c0a, #050605);
	padding: 38px; display: flex; flex-direction: column;
	transition: border-color .3s ease;
}
.tp-offer-card:hover { border-color: rgba(31, 140, 74, .4); }
.tp-offer-card--featured { border-color: rgba(31, 140, 74, .45); background: linear-gradient(160deg, rgba(11, 92, 46, .32), #050605 60%); }
.tp-offer-card__glow { position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(15, 122, 61, .5), transparent 66%); filter: blur(34px); }
.tp-offer-card__head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.tp-offer-card__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; margin: 0 0 26px; }
.tp-offer-card--featured .tp-offer-card__title { margin: 0; }
.tp-offer-card__text { position: relative; font-size: 15.5px; line-height: 1.6; color: var(--tp-text-muted); margin: 0 0 30px; max-width: 400px; }
.tp-offer-card__price { position: relative; display: flex; align-items: flex-end; gap: 8px; margin-bottom: 28px; }
.tp-offer-card__amount { font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -.03em; color: var(--tp-white); }
.tp-offer-card__period { font-size: 15px; color: var(--tp-text-mute2); padding-bottom: 9px; }
.tp-offer-card__list { position: relative; display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.tp-offer-card__list span { display: flex; gap: 11px; font-size: 14.5px; color: var(--tp-text-soft); }
.tp-offer-card__cta { position: relative; margin-top: auto; text-align: center; }

/* ================= TROIS ÉTAPES ================= */
.tp-steps { position: relative; }
.tp-steps__line {
	position: absolute; left: 6%; right: 6%; top: 31px; height: 1px;
	background: linear-gradient(90deg, rgba(31, 140, 74, .9), rgba(15, 122, 61, .2));
	transform-origin: left; animation: tpLine 1.4s .2s ease-out both;
}
.tp-steps__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.tp-step__num {
	display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
	border: 1px solid rgba(31, 140, 74, .4); background: var(--tp-bg-card);
	font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--tp-green-300);
}
.tp-step__num--active { border-color: rgba(31, 140, 74, .6); box-shadow: 0 0 30px rgba(11, 92, 46, .5); }
.tp-step__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 26px 0 10px; }
.tp-step__text { font-size: 15px; line-height: 1.65; color: var(--tp-text-mute2); margin: 0; max-width: 320px; }

/* ================= ACCÈS ================= */
.tp-split--reverse { direction: rtl; }
.tp-split--reverse > * { direction: ltr; }
.tp-access-visual { position: relative; height: 470px; min-width: 0; }
.tp-access-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(11, 92, 46, .4), transparent 68%); filter: blur(38px); }

.tp-access-mock--tv { position: absolute; right: 0; top: 0; width: 78%; }
.tp-access-mock--tv .tp-mock__frame { border-radius: 11px; padding: 7px; box-shadow: 0 30px 70px rgba(0, 0, 0, .8); }
.tp-access-mock--tv .tp-mock__screen { border-radius: 6px; }
.tp-access-mock__label { position: absolute; left: 14px; top: 12px; pointer-events: none; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tp-access-mock__caption { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #fff; }

.tp-access-mock--web { position: absolute; left: 0; bottom: 70px; width: 56%; z-index: 2; }
.tp-access-mock--web .tp-mock__frame { border-radius: 9px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .85); }
.tp-access-mock--web .tp-mock__screen { aspect-ratio: 16 / 10; border-radius: 5px; }
.tp-access-mock__tag { position: absolute; left: 12px; top: 10px; }
.tp-access-mock__caption--bottom { position: absolute; left: 12px; bottom: 10px; font-size: 11px; }

.tp-access-mock--app { position: absolute; left: 46%; bottom: 0; width: 118px; z-index: 3; }
.tp-access-mock--app .tp-mock__frame--phone-sm { border-radius: 17px; padding: 5px; box-shadow: 0 22px 55px rgba(0, 0, 0, .9); }
.tp-access-mock--app .tp-mock__screen--phone { aspect-ratio: 9 / 18; border-radius: 13px; }
.tp-access-mock__brand { position: absolute; left: 8px; top: 8px; }
.tp-access-mock--app .tp-access-mock__caption--bottom { font-size: 8px; font-weight: 700; }

.tp-access-list { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--tp-border-2); }
.tp-access-row {
	padding: 22px 0; border-bottom: 1px solid var(--tp-border-2);
	display: flex; gap: 22px; align-items: baseline; transition: padding-left .3s ease;
}
.tp-access-row:hover { padding-left: 10px; }
.tp-access-row__num { font-family: var(--font-mono); font-size: 11px; color: var(--tp-green-400); flex: none; }
.tp-access-row__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 6px; }
.tp-access-row__text { font-size: 14.5px; color: var(--tp-text-mute2); margin: 0; }

/* ================= FAQ ================= */
.tp-faq { border-top: 1px solid var(--tp-border-2); }
.tp-faq__item { border-bottom: 1px solid var(--tp-border-2); }
.tp-faq__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px 8px; background: transparent; border: 0; cursor: pointer; text-align: left;
	font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--tp-text);
	transition: color .25s ease, background .25s ease;
}
.tp-faq__question:hover { color: var(--tp-green-300); background: rgba(15, 122, 61, .07); }
.tp-faq__sign {
	flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(31, 140, 74, .5);
	display: grid; place-items: center; color: var(--tp-green-300); font-size: 15px; line-height: 1; position: relative;
}
.tp-faq__sign::before, .tp-faq__sign::after {
	content: ""; position: absolute; background: currentColor; transition: transform .25s ease;
}
.tp-faq__sign::before { width: 10px; height: 1.5px; }
.tp-faq__sign::after { width: 1.5px; height: 10px; }
.tp-faq__item.is-open .tp-faq__sign::after { transform: scaleY(0); }
.tp-faq__answer { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .45s var(--tp-ease), opacity .35s ease; }
.tp-faq__item.is-open .tp-faq__answer { max-height: 320px; opacity: 1; }
.tp-faq__answer p { margin: 0; padding: 0 8px 26px; font-size: 15.5px; line-height: 1.7; color: var(--tp-text-mute2); max-width: 760px; }

/* ================= CTA FINAL ================= */
.tp-section--cta { padding: 0 var(--tp-gutter) 140px; overflow: hidden; }
.tp-cta {
	position: relative; max-width: var(--tp-container); margin: 0 auto; border-radius: var(--tp-radius-xxl);
	overflow: hidden; border: 1px solid rgba(31, 140, 74, .3); background: var(--tp-bg-card);
	padding: 100px clamp(24px, 4vw, 48px); text-align: center;
}
.tp-cta__glow { position: absolute; pointer-events: none; border-radius: 50%; }
.tp-cta__glow--top {
	left: 50%; top: -30%; transform: translateX(-50%);
	width: 1100px; height: 480px;
	background: radial-gradient(circle, rgba(15, 122, 61, .22), transparent 68%);
	filter: blur(60px);
}
.tp-cta__glow--bottom {
	left: 50%; bottom: -240px; transform: translateX(-50%);
	width: 900px; height: 560px;
	background: radial-gradient(circle, rgba(15, 122, 61, .5), transparent 62%);
	filter: blur(46px);
}
.tp-cta__body { position: relative; }
.tp-cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 74px); line-height: 1; letter-spacing: -.03em; margin: 0 0 26px; }
.tp-cta__text { font-size: 18px; color: var(--tp-text-muted); margin: 0 0 38px; }

@media (max-width: 640px) {
	.tp-hero__visual { height: 460px; }
	.tp-mock--tablet { display: none; }
	.tp-stat-number { font-size: clamp(80px, 26vw, 140px); }
	.tp-ms-visual, .tp-access-visual { height: 420px; }
	.tp-cta { padding: 70px 24px; }
}
