/*
 * JDP Theme - Hero v3 (refonte fidèle source-v3).
 * Contient : layout, phone mockup, 8 platform screens, trust strip, live activity.
 * @since 0.3.0
 */

/* ============================================================
 * HERO LAYOUT
 * ============================================================ */
.jdp-hero-v3 {
	position: relative;
	padding: var(--sp-12) 0 var(--sp-16);
	background: #F7F7F9;
	overflow: hidden;
}
/* Hauteur réelle du header, mesurée au runtime et exposée par main.js
 * (initHeroViewportFit + ResizeObserver). La valeur ci-dessous n'est que l'état
 * initial avant exécution du JS, et le secours si le JS est indisponible : le
 * dimensionnement effectif est dynamique (s'adapte à l'écran), pas une valeur figée. */
:root { --jdp-header-h: 106px; }
/* Hero (home ET hubs) : plein écran. Occupe exactement l'espace restant sous le
 * header sticky, quelle que soit sa hauteur et la taille de l'écran ou du navigateur.
 * 100dvh suit le viewport en direct (barre d'adresse mobile incluse) ; centrage vertical. */
#jdp-hero.jdp-hero-v3 {
	min-height: calc(100vh - var(--jdp-header-h));
	min-height: calc(100dvh - var(--jdp-header-h));
	display: flex;
	align-items: center;
}
#jdp-hero.jdp-hero-v3 > .jdp-container { width: 100%; }
.jdp-hero-halo {
	position: absolute;
	right: -10%;
	top: -20%;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: var(--platform-bg, var(--accent));
	opacity: 0.08;
	filter: blur(60px);
	transition: background 1s ease;
	pointer-events: none;
	z-index: 0;
}
.jdp-hero-dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(47,51,59,0.07) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
}
.jdp-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: var(--sp-12);
	align-items: center;
}

.jdp-hero-content { display: flex; flex-direction: column; gap: var(--sp-5); }
.jdp-hero-title {
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: clamp(38px, 5vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	margin: var(--sp-3) 0 0;
	color: var(--jdp-dark);
	text-wrap: balance;
	max-width: 16ch;
}
.jdp-hero-title-orange { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.jdp-hero-sub { font-size: 18px; line-height: 1.55; color: var(--fg2); margin: 0; max-width: 46ch; }
/* H1 SEO injecté dans le hero des hubs (remplace le H2 platform).
 * Texte typiquement plus long (60-80 chars), on réduit la taille pour confort.
 * Hérite de .jdp-hero-title mais sans gradient. */
.jdp-hero-title.jdp-hub-hero-h1 {
	font-size: clamp(32px, 4.4vw, 52px);
	/* Le H1 SEO des hubs est long : il doit occuper toute la largeur de la colonne
	   (comme la home), pas être bridé par le max-width: 16ch hérité (qui le tassait
	   à gauche et coupait les mots en plein milieu, ex. « follo-wers »). */
	max-width: none;
	text-wrap: balance;
	hyphens: manual;
	-webkit-hyphens: manual;
	overflow-wrap: break-word;
	word-break: normal;
	background: none;
	-webkit-background-clip: initial;
	-webkit-text-fill-color: initial;
	color: var(--jdp-dark);
}
/* Emphasis solide (gradient text banni). Conservé pour rétro-compat markup. */
.jdp-hero-title-gradient {
	color: var(--accent);
	font-weight: 800;
}

.jdp-hero-bullets {
	list-style: none;
	padding: 0;
	margin: var(--sp-3) 0 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}
.jdp-hero-bullet {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-size: 16px;
	color: var(--jdp-dark);
	font-weight: 500;
}
.jdp-hero-bullet-check {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: var(--radius-full);
	background: var(--accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.jdp-hero-actions {
	display: flex;
	gap: var(--sp-3);
	align-items: center;
	flex-wrap: wrap;
	margin-top: var(--sp-2);
}

.jdp-hero-quickstats {
	display: flex;
	gap: var(--sp-5);
	align-items: center;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--fg2);
	margin-top: var(--sp-3);
}
.jdp-hero-quickstats strong { color: var(--jdp-dark); }
.jdp-hero-quickstats-sep { color: var(--jdp-separator); }

.jdp-hero-mockup-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 640px;
	overflow: visible;
}

/* Buttons specifiques au hero (jdp-btn--dark, jdp-btn--ghost--light/dark) */
.jdp-btn--dark {
	background: var(--jdp-black);
	color: var(--jdp-white);
	border: 0;
	border-radius: var(--radius-full);
	padding: 12px 24px;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background var(--dur-normal), transform var(--dur-fast);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	text-decoration: none;
}
.jdp-btn--dark:hover {
	background: var(--jdp-dark);
	transform: translateY(-1px);
}
.jdp-btn--lg { padding: 16px 28px; font-size: 16px; }
.jdp-btn--sm { padding: 9px 16px; font-size: 13px; }
.jdp-btn--ghost--light {
	background: transparent;
	color: var(--jdp-dark);
	border: 1px solid var(--jdp-separator);
	border-radius: var(--radius-full);
	padding: 11px 22px;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 14px;
	transition: background var(--dur-normal);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}
.jdp-btn--ghost--light:hover { background: rgba(0,0,0,0.04); }

/* ============================================================
 * iPhone 17 Pro mockup (statique, no 3D rotation)
 * ============================================================ */
.jdp-phone-showcase { position: relative; width: 308px; height: 624px; overflow: visible; }

.jdp-iphone {
	width: 308px;
	height: 624px;
	border-radius: 52px;
	position: relative;
	overflow: visible;
	background: linear-gradient(135deg, #B9B5AE 0%, #8E8A82 22%, #D6D2CB 50%, #7E7A74 78%, #B9B5AE 100%);
	padding: 6px;
	box-shadow:
		0 50px 80px -20px rgba(15,15,18,0.30),
		0 30px 50px -15px rgba(15,15,18,0.20),
		0 10px 20px -5px rgba(15,15,18,0.08),
		inset 0 0 0 1px rgba(255,255,255,0.5),
		inset 0 -1px 0 0 rgba(0,0,0,0.3);
}
.jdp-iphone-rim {
	width: 100%;
	height: 100%;
	border-radius: 47px;
}
.jdp-iphone-bezel {
	width: 100%;
	height: 100%;
	border-radius: 47px;
	background: #0A0A0B;
	padding: 3px;
	position: relative;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.jdp-iphone-screen {
	width: 100%;
	height: 100%;
	border-radius: 44px;
	overflow: hidden;
	background: #fff;
	position: relative;
}
.jdp-iphone-island {
	position: absolute;
	top: 11px;
	left: 50%;
	transform: translateX(-50%);
	width: 116px;
	height: 34px;
	background: #000;
	border-radius: 999px;
	z-index: 10;
	box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 0 0 0.5px rgba(255,255,255,0.08);
}
.jdp-iphone-btn {
	position: absolute;
	border-radius: 2px;
	background: linear-gradient(90deg, #6E6A65 0%, #B9B5AE 50%, #6E6A65 100%);
}
.jdp-iphone-btn--action  { left: -2px; top: 88px;  width: 4px; height: 30px; }
.jdp-iphone-btn--volup   { left: -2px; top: 142px; width: 4px; height: 56px; }
.jdp-iphone-btn--voldown { left: -2px; top: 214px; width: 4px; height: 56px; }
.jdp-iphone-btn--power   { right: -2px; top: 168px; width: 4px; height: 84px; }

/* ============================================================
 * Live Activity cards (top + bottom, attachées au phone)
 * ============================================================ */
.jdp-live-activity {
	position: absolute;
	z-index: 30;
	background: #fff;
	border-radius: 16px;
	padding: 10px 14px 10px 10px;
	box-shadow: 0 25px 50px rgba(15,15,18,0.22), 0 10px 20px rgba(15,15,18,0.12);
	border: 1px solid rgba(0,0,0,0.06);
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-family: var(--font-sans);
	pointer-events: auto;
}
.jdp-live-activity--top {
	top: -30px;
	right: -100px;
	min-width: 200px;
	max-width: 230px;
}
.jdp-live-activity--bottom {
	bottom: -20px;
	left: -100px;
	padding: 10px 13px;
}
.jdp-live-activity-icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.jdp-live-activity-icon-bg {
	position: absolute;
	inset: 0;
	background: var(--platform-bg, var(--accent));
}
.jdp-live-activity-icon-svg {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.jdp-live-activity-eyebrow {
	font-size: 10px;
	color: var(--fg2);
	font-weight: 600;
	letter-spacing: 0.04em;
}
.jdp-live-activity-stat {
	display: flex;
	align-items: baseline;
	gap: 5px;
	line-height: 1;
}
.jdp-live-activity-stat-value {
	font-weight: 800;
	font-size: 22px;
	color: var(--jdp-dark);
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.jdp-live-activity-stat-label { font-size: 11px; color: var(--fg2); font-weight: 600; }
.jdp-live-activity-pill {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #E9F8EA;
	color: #1DB954;
	font-size: 10px;
	font-weight: 800;
	padding: 3px 7px;
	border-radius: 999px;
}
.jdp-live-activity-pill-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #1DB954;
	animation: jdp-pulse 1.5s ease-in-out infinite;
}
@keyframes jdp-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.4; }
}
.jdp-live-activity-star {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: linear-gradient(135deg, #FFD86A 0%, #E68A1C 100%);
	color: #fff;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(230,138,28,0.35);
	flex-shrink: 0;
}
.jdp-live-activity-rating { font-weight: 800; font-size: 14px; color: var(--jdp-dark); font-variant-numeric: tabular-nums; }
.jdp-live-activity-rating-count { font-size: 10.5px; color: var(--fg2); }

@media (prefers-reduced-motion: reduce) {
	.jdp-live-activity-pill-dot { animation: none; }
}

/* ============================================================
 * Phone Cycle (home) : screens layered + slide transition
 * ============================================================ */
.jdp-phone-showcase--cycle .jdp-iphone-screen { position: relative; }
.jdp-platform-screen-wrap {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translate3d(100%, 0, 0);
	transition: transform 480ms cubic-bezier(0.32, 0.72, 0, 1), opacity 360ms ease-out;
	will-change: transform, opacity;
	pointer-events: none;
}
.jdp-platform-screen-wrap.is-active {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
	z-index: 2;
}
.jdp-platform-screen-wrap.is-leaving {
	opacity: 0;
	transform: translate3d(-15%, 0, 0);
	z-index: 1;
}
/* Hub mode (single screen) garde le layout normal (pas absolute). */
.jdp-phone-showcase:not(.jdp-phone-showcase--cycle) .jdp-platform-screen-wrap {
	position: relative;
	opacity: 1;
	transform: none;
	transition: none;
}
@media (prefers-reduced-motion: reduce) {
	.jdp-platform-screen-wrap { transition: none; }
}

/* ============================================================
 * Hub 3D : idle float + mousemove tilt (scoped .jdp-hub-hero)
 * ============================================================ */
.jdp-hub-hero .jdp-hero-mockup-wrap {
	perspective: 1200px;
	perspective-origin: 50% 50%;
}
.jdp-hub-hero .jdp-phone-showcase {
	transform-style: preserve-3d;
	transition: transform 350ms cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
	animation: jdp-phone-float 6s ease-in-out infinite;
}
/* JS active la classe is-tilting pendant mousemove pour pause l'idle float. */
.jdp-hub-hero .jdp-phone-showcase.is-tilting { animation: none; }
@keyframes jdp-phone-float {
	0%, 100% { transform: rotateY(-2deg) translateY(-3px); }
	50%      { transform: rotateY(2deg)  translateY(3px); }
}
@media (max-width: 1024px) {
	.jdp-hub-hero .jdp-phone-showcase { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
	.jdp-hub-hero .jdp-phone-showcase { animation: none; transition: none; }
}

/* ============================================================
 * Platform Screens (8 mockups inside phone)
 * ============================================================ */
.jdp-platform-screen { width: 100%; height: 100%; display: flex; flex-direction: column; }
.jdp-screen { flex: 1; display: flex; flex-direction: column; background: #fff; min-height: 0; }

/* ============================================================
 * Trust Strip
 * ============================================================ */
.jdp-trust-strip {
	margin-top: var(--sp-6);
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2) var(--sp-3);
	padding: 10px 14px;
	background: var(--bg, #fff);
	border: 1px solid var(--border);
	border-radius: var(--radius-md, 12px);
	box-shadow: var(--shadow-sm);
	width: fit-content;
	max-width: 100%;
}
.jdp-trust-qualifier {
	font-size: 13px;
	font-weight: 700;
	color: var(--fg1);
}
.jdp-trust-stars { display: inline-flex; gap: 2px; align-items: center; }
.jdp-trust-star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 3px;
	background: #DCDCE6;
	color: #fff;
}
.jdp-trust-star--on { background: #00B67A; }
.jdp-trust-star svg { width: 12px; height: 12px; fill: currentColor; display: block; }
.jdp-trust-score { font-size: 13px; color: var(--fg2); }
.jdp-trust-score strong { color: var(--fg1); font-weight: 700; }
.jdp-trust-count { font-size: 12px; color: var(--fg3); }
.jdp-trust-divider { width: 1px; height: 28px; background: var(--jdp-separator); flex-shrink: 0; }
.jdp-trust-event-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #E9F8EA;
	border: 1px solid #BDE9C4;
	border-radius: 12px;
	padding: 8px 14px;
	font-size: 12.5px;
	animation: jdp-activity-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes jdp-activity-pop {
	from { opacity: 0; transform: translateY(8px) scale(0.96); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.jdp-trust-event-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #22C55E;
	box-shadow: 0 0 0 4px rgba(34,197,94,0.22);
	display: inline-block;
}
.jdp-trust-event-label { color: #0E7C3A; display: inline-flex; align-items: center; gap: 6px; }
.jdp-trust-event-label b { font-variant-numeric: tabular-nums; }
.jdp-trust-event-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #0E7C3A;
	font-weight: 500;
}
.jdp-trust-event-check {
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #fff;
	color: #22C55E;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #BDE9C4;
}
.jdp-trust-payments {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
/* Vu dans la presse : eyebrow + 4 logos médias en grayscale subtil */
.jdp-trust-press {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}
.jdp-press-eyebrow {
	font-size: 10px;
	font-weight: 700;
	color: var(--fg2, #6b7280);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.jdp-press-logos {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
/* Chaque logo dans un wrapper de largeur fixe pour gap visuel uniforme.
 * Le SVG est centré dans son box, indépendamment de sa largeur réelle.
 * Portée limitée à .jdp-press-logos (ancienne bande de logos SVG) : la bande
 * défilante .jdp-press-marquee affiche du texte, dont la largeur doit rester
 * naturelle, sinon les libellés débordent de leur boîte et se chevauchent. */
.jdp-press-logos .jdp-press-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 78px;
	height: 24px;
	opacity: 1;
	transition: transform 200ms ease;
}
.jdp-press-logos .jdp-press-logo:hover { transform: translateY(-1px); }
.jdp-press-logos .jdp-press-logo svg { max-height: 18px; max-width: 78px; width: auto; height: auto; display: block; }
.jdp-press-logos .jdp-press-bfmtv { width: 36px; }
.jdp-press-logos .jdp-press-bfmtv svg { max-height: 22px; max-width: 22px; }
/* Badges paiement uniformes (SVG inline), taille fixe pour cohérence visuelle */
.jdp-pay-badge {
	height: 28px;
	min-width: 44px;
	padding: 0 9px;
	background: #fff;
	border: 1px solid var(--jdp-separator);
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	gap: 4px;
}
.jdp-pay-badge svg { height: 14px; width: auto; display: block; }
.jdp-pay-ssl svg { height: 13px; width: auto; }
.jdp-pay-ssl-text { font-size: 10px; font-weight: 800; color: #22C55E; letter-spacing: 0.04em; }
.jdp-pay-ssl { gap: 4px; }
/* Legacy fallback : si les anciennes classes sont encore référencées */
.jdp-trust-payment-box { display: none; }

/* ============================================================
 * Hero home : écran d'app iPhone (port standalone redesign-home-v2)
 * Scopé hero-app-* pour ne pas entrer en conflit avec phone-mockup.php
 * (frame iPhone 17 Pro, mockup app de la home).
 * ============================================================ */
.jdp-app-phone {
	position: relative;
	width: 280px;
	height: 580px;
	/* Châssis titane orange (Cosmic Orange) : dégradé métallique, arêtes qui captent la lumière. */
	background: linear-gradient(145deg, #e6a064 0%, #7a3c18 28%, #c46f37 50%, #5d2c0f 72%, #e29a5b 100%);
	border: 2px solid #3a1c0a;
	border-radius: 52px;
	padding: 9px;
	transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) rotate(-2deg);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.10),
		0 2px 4px rgba(0, 0, 0, 0.16),
		0 30px 60px -16px rgba(0, 0, 0, 0.28),
		0 80px 140px -30px rgba(0, 0, 0, 0.34);
	transition: transform 600ms var(--ease-out-quart);
}
@media (min-width: 1280px) {
	.jdp-app-phone { width: 300px; height: 610px; }
}
@media (hover: hover) and (pointer: fine) {
	.jdp-app-phone:hover {
		transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) rotate(-1deg);
	}
}
.jdp-app-screen {
	position: relative;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #FDF1DE 0%, #FFFFFF 60%);
	border-radius: 44px;
	overflow: hidden;
}
/* Reflet verre diagonal subtil (coin haut-gauche), réalisme premium. */
.jdp-app-screen::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.05) 16%, rgba(255, 255, 255, 0) 36%);
}
.jdp-app-notch {
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	width: 84px;
	height: 26px;
	background: #000000;
	border-radius: 999px;
	z-index: 6;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.jdp-app-notch::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 11px;
	transform: translateY(-50%);
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: radial-gradient(circle at 35% 30%, #2b313d 0%, #090c12 62%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.jdp-app-notch::before {
	content: none;
}
/* Boutons latéraux (chrome iPhone) : action + volumes à gauche, power à droite. Même métal titane orange que le châssis. */
.jdp-app-btn {
	position: absolute;
	z-index: 1;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #3f1c08 0%, #d9894c 48%, #7a3c18 100%);
}
.jdp-app-btn--action,
.jdp-app-btn--vol-up,
.jdp-app-btn--vol-down {
	left: -4px;
	box-shadow: -1.5px 0 2.5px rgba(0, 0, 0, 0.32);
}
.jdp-app-btn--action   { top: 92px;  height: 30px; }
.jdp-app-btn--vol-up   { top: 150px; height: 52px; }
.jdp-app-btn--vol-down { top: 212px; height: 52px; }
.jdp-app-btn--power {
	right: -4px;
	top: 168px;
	height: 80px;
	background: linear-gradient(270deg, #3f1c08 0%, #d9894c 48%, #7a3c18 100%);
	box-shadow: 1.5px 0 2.5px rgba(0, 0, 0, 0.32);
}
@media (min-width: 1280px) {
	.jdp-app-btn--action   { top: 100px; height: 32px; }
	.jdp-app-btn--vol-up   { top: 160px; height: 56px; }
	.jdp-app-btn--vol-down { top: 228px; height: 56px; }
	.jdp-app-btn--power    { top: 178px; height: 86px; }
}
.jdp-app-content {
	padding: 52px 13px 13px;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

/* Header profil */
.jdp-app-profile {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0 3px 2px;
}
.jdp-app-avatar {
	width: 34px;
	height: 34px;
	border-radius: var(--radius-full);
	background: linear-gradient(135deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--jdp-white);
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
	box-shadow: 0 2px 6px -1px rgba(221,42,123,0.4);
}
.jdp-app-profile-body { flex: 1; min-width: 0; }
.jdp-app-handle {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--jdp-dark);
	letter-spacing: -0.01em;
	line-height: 1.1;
}
.jdp-app-handle svg { width: 13px; height: 13px; color: #1DA1F2; flex-shrink: 0; }
.jdp-app-sub {
	font-size: 10.5px;
	color: var(--fg2);
	margin-top: 1px;
}
.jdp-app-live {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	background: rgba(18,198,75,0.1);
	border-radius: var(--radius-full);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #0f9d40;
	flex-shrink: 0;
}
.jdp-app-live-dot {
	width: 6px;
	height: 6px;
	border-radius: var(--radius-full);
	background: #12c64b;
	animation: jdp-app-live-pulse 1.8s ease-in-out infinite;
}
@keyframes jdp-app-live-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Carte commande en cours */
.jdp-app-delivery {
	background: linear-gradient(135deg, #FFFFFF 0%, rgba(230,138,28,0.10) 130%);
	border: 1px solid #F3D9B0;
	border-radius: 15px;
	padding: 12px 13px;
	box-shadow: 0 1px 2px rgba(230,138,28,0.06), 0 6px 16px -6px rgba(230,138,28,0.18);
}
.jdp-app-delivery-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 9px;
}
.jdp-app-delivery-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fg2);
}
.jdp-app-delivery-pct {
	font-size: 14px;
	font-weight: 800;
	color: var(--accent);
	letter-spacing: -0.01em;
}
.jdp-app-progress {
	height: 6px;
	background: rgba(230,138,28,0.16);
	border-radius: var(--radius-full);
	overflow: hidden;
}
.jdp-app-progress-fill {
	height: 100%;
	width: 72%;
	background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
	border-radius: var(--radius-full);
	transform-origin: left center;
	animation: jdp-app-progress-fill 1400ms var(--ease-out-expo) 700ms both;
}
@keyframes jdp-app-progress-fill {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}
.jdp-app-delivery-foot {
	font-size: 10px;
	color: var(--fg2);
	margin-top: 8px;
}
.jdp-app-delivery-foot strong { color: var(--jdp-dark); font-weight: 700; }

.jdp-app-section-label {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fg2);
	padding: 2px 3px 0;
}

/* 3 cards notifications empilées */
.jdp-app-notif {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 11px;
	background: var(--jdp-white);
	border: 1px solid var(--jdp-separator);
	border-radius: 13px;
	box-shadow: 0 1px 2px rgba(10,10,10,0.04), 0 4px 12px -4px rgba(10,10,10,0.05);
	animation: jdp-app-notif-float 6s ease-in-out infinite alternate;
}
.jdp-app-notif-1 { animation-delay: 0s; }
.jdp-app-notif-2 { animation-delay: 0.8s; }
.jdp-app-notif-3 { animation-delay: 1.6s; }
@keyframes jdp-app-notif-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-4px); }
}
.jdp-app-notif-icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--jdp-white);
}
.jdp-app-notif-icon svg { width: 17px; height: 17px; }
.jdp-app-notif-body { flex: 1; min-width: 0; }
.jdp-app-notif-network {
	font-size: 11px;
	font-weight: 700;
	color: var(--jdp-dark);
	letter-spacing: -0.005em;
	line-height: 1.2;
}
.jdp-app-notif-gain {
	font-size: 13px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1.25;
	margin-top: 1px;
	letter-spacing: -0.01em;
}
.jdp-app-notif-time {
	font-size: 10px;
	color: var(--fg2);
	margin-top: 2px;
}
.jdp-app-notif--ig .jdp-app-notif-icon { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); }
.jdp-app-notif--tt .jdp-app-notif-icon { background: linear-gradient(135deg, #25F4EE 0%, #000000 50%, #FE2C55 100%); }
.jdp-app-notif--yt .jdp-app-notif-icon { background: linear-gradient(135deg, #FF0000 0%, #C4302B 100%); }

.jdp-app-spacer { flex: 1; }
.jdp-app-home-bar {
	width: 110px;
	height: 5px;
	background: rgba(0,0,0,0.18);
	border-radius: var(--radius-full);
	margin: 4px auto 2px;
}

/* Phone entrance reveal */
@keyframes jdp-app-phone-reveal {
	from {
		opacity: 0;
		transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) rotate(-2deg) translateY(20px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) rotate(-2deg) translateY(0) scale(1);
	}
}
.jdp-app-phone {
	animation: jdp-app-phone-reveal 800ms var(--ease-out-expo) 350ms both;
}

/* Flottement léger idle du mockup (home uniquement), démarre après le reveal.
 * emil : ease-in-out (mouvement à l'écran), lent et subtil, sur un wrapper (le
 * téléphone garde son propre transform 3D). Désactivé en prefers-reduced-motion. */
@keyframes jdp-mockup-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}
.jdp-hero-v3:not(.jdp-hub-hero) .jdp-hero-mockup-wrap {
	animation: jdp-mockup-float 6s ease-in-out 1.2s infinite;
	will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
	.jdp-hero-v3:not(.jdp-hub-hero) .jdp-hero-mockup-wrap { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
	.jdp-app-phone {
		transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) rotate(-2deg);
		animation: none;
		opacity: 1;
	}
	.jdp-app-live-dot,
	.jdp-app-progress-fill,
	.jdp-app-notif { animation: none; }
	.jdp-app-progress-fill { transform: scaleX(1); }
}

/* ============================================================
 * Hero home : stagger entrance (Emil) eyebrow -> H1 -> ... -> mockup
 * Scopé #jdp-hero pour ne pas affecter les hubs.
 * ============================================================ */
@keyframes jdp-hero-reveal {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}
#jdp-hero .jdp-eyebrow,
#jdp-hero .jdp-hero-title,
#jdp-hero .jdp-hero-bullets,
#jdp-hero .jdp-hero-actions,
#jdp-hero .jdp-trust-strip {
	animation: jdp-hero-reveal 700ms var(--ease-out-expo) both;
}
#jdp-hero .jdp-eyebrow      { animation-delay: 100ms; }
#jdp-hero .jdp-hero-title   { animation-delay: 200ms; }
#jdp-hero .jdp-hero-bullets { animation-delay: 360ms; }
#jdp-hero .jdp-hero-actions { animation-delay: 480ms; }
#jdp-hero .jdp-trust-strip  { animation-delay: 600ms; }
@media (prefers-reduced-motion: reduce) {
	#jdp-hero .jdp-eyebrow,
	#jdp-hero .jdp-hero-title,
	#jdp-hero .jdp-hero-bullets,
	#jdp-hero .jdp-hero-actions,
	#jdp-hero .jdp-trust-strip {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 1100px) {
	.jdp-hero-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
	.jdp-hero-mockup-wrap { min-height: 540px; }
	.jdp-hero-title { font-size: 42px; }
	.jdp-live-activity--top { top: -20px; right: -40px; }
	.jdp-live-activity--bottom { left: -40px; }
}
@media (max-width: 700px) {
	.jdp-hero-title { font-size: 32px; }
	.jdp-phone-showcase { width: 268px; height: 544px; transform: scale(0.92); }
	.jdp-iphone { width: 268px; height: 544px; }
	.jdp-live-activity--top, .jdp-live-activity--bottom { display: none; }
	.jdp-trust-strip { gap: var(--sp-2); }
	.jdp-trust-divider { display: none; }
	/* Hero home : on masque l'écran d'app en mobile (comme le standalone v2). */
	#jdp-hero .jdp-hero-mockup-wrap { display: none; }
}
