/* Portfolios : étude de cas + index — s'appuie sur la base .vp de texte.css */
.pf { padding-bottom: 100px; }
.vp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 12px; background: var(--vs); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(109, 66, 245, .9); transition: background-color .2s, transform .3s var(--ease); }
.vp-btn:hover { background: #7d56ff; transform: translateY(-2px); }
.vp-btn--ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; } .vp-btn--ghost:hover { background: var(--s2); }

.pf-hero { padding-top: 34px; max-width: 900px; }
.pf-hero h1 { font-size: clamp(42px, 6vw, 84px); line-height: .95; letter-spacing: -.045em; }
.pf-lead { margin-top: 20px !important; font-size: 19px; line-height: 1.6; color: #e4ddf1; max-width: 62ch; }
.pf-out { margin-top: 18px !important; } .pf-out a { color: var(--violet); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

/* vidéo principale + fiche */
.pf-main { display: grid; grid-template-columns: 1fr 280px; gap: 18px; margin-top: 40px; align-items: stretch; }
.pf-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; }
.pf-yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease), filter .4s; }
.pf-yt:hover img { transform: scale(1.04); filter: brightness(.8); }
.pf-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pf-yt--main { border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(109, 66, 245, .8); }
.pf-yt__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .14); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 30px rgba(0, 0, 0, .35); transition: scale .3s var(--ease); }
.pf-yt__play svg { width: 30px; height: 30px; margin-left: 4px; }
.pf-yt:hover .pf-yt__play, .pf-still__go:hover .pf-yt__play { scale: 1.1; }
.pf-grid .pf-yt__play { width: 52px; height: 52px; } .pf-grid .pf-yt__play svg { width: 22px; height: 22px; }
.pf-yt__note { position: absolute; left: 14px; bottom: 12px; padding: 5px 10px; border-radius: 99px; font-size: 12px; color: #eee; background: rgba(0, 0, 0, .55); }
.pf-still { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--s1); }
.pf-still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-still__go { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 20px; color: #fff; font-weight: 700; text-decoration: none; background: linear-gradient(0deg, rgba(10, 6, 20, .75), transparent 55%); }
.pf-facts { margin: 0; padding: 22px; border-radius: 24px; background: var(--s1); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.pf-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pf-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 16.5px; }

/* récit */
.pf-body { display: grid; grid-template-columns: 1fr 320px; gap: 60px; margin-top: 80px; align-items: start; }
.pf-text { font-size: 17.5px; line-height: 1.75; color: #e4ddf1; max-width: 720px; }
.pf-text section + section { margin-top: 44px; }
.vp .pf-text h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.025em; color: var(--ink); margin: 0 0 14px; max-width: none; }
.vp .pf-text p { margin: 0 0 14px; }
.pf-text ul { margin: 0 0 14px; padding-left: 1.2em; } .pf-text li { margin: 6px 0; }
.pf-text strong { color: #fff; }
.pf-text a { color: var(--violet); }
.pf-side { position: sticky; top: 110px; display: grid; gap: 14px; }
.pf-box { padding: 20px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.pf-box__k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px !important; }
.pf-box b { display: block; font-size: 18px; margin-bottom: 6px; }
.pf-box p { color: #d8d0e6; font-size: 15px; line-height: 1.55; }
.pf-box > a { display: inline-block; margin-top: 10px; color: var(--violet); font-weight: 700; text-decoration: none; }
.pf-terms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-terms a { display: inline-block; padding: 7px 12px; border-radius: 99px; background: var(--s2); border: 1px solid var(--line); font-size: 14px; text-decoration: none; transition: border-color .2s; }
.pf-terms a:hover { border-color: var(--violet); }
.pf-me { display: flex; gap: 12px; align-items: center; }
.pf-me img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.pf-me b { font-size: 15px; margin: 0; } .pf-me a { color: var(--violet); }

/* autres vidéos */
.pf-more, .pf-others { margin-top: 100px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.pf-note { margin-top: 12px !important; font-size: 13.5px; color: var(--muted); }

/* appel à l'action */
.pf-cta { margin-top: 100px; padding: 56px 40px; border-radius: 28px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, #3a1f86, var(--s1) 70%); border: 1px solid var(--line); }
.pf-cta h2 { margin: 0 auto 10px; } .pf-cta p { color: var(--muted); }
.pf-cta__b { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* projet suivant */
.pf-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 60px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-next a { text-decoration: none; }
.pf-next span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pf-next b { font-size: clamp(24px, 3vw, 40px); letter-spacing: -.03em; transition: color .2s; }
.pf-next a:hover b { color: var(--violet); }
.pf-next__all { color: var(--muted); font-weight: 600; }

/* cartes */
.pf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.pf-card { display: flex; flex-direction: column; text-decoration: none; }
.pf-card[hidden] { display: none; }
.pf-card__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--s1); }
.pf-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.pf-card:hover .pf-card__img img { transform: scale(1.05); }
.pf-card__play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .35); opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s var(--ease); }
.pf-card__play svg { width: 18px; height: 18px; margin-left: 2px; }
.pf-card:hover .pf-card__play { opacity: 1; translate: 0 0; }
.pf-card__k { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--head); }
.pf-card b { margin-top: 4px; font-size: 22px; letter-spacing: -.02em; }
.pf-card__t { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* index */
.pf-proof { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px !important; }
.pf-proof > * { padding: 10px 16px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 15px; }
.pf-proof b { color: var(--ink); }
.pf-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.pf-filter button { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; transition: background-color .2s, border-color .2s; }
.pf-filter button[aria-pressed="true"] { background: var(--vs); border-color: var(--vs); }
.pf-cards--index { margin-top: 26px; row-gap: 40px; }
.pf-cards--index .pf-card:first-child { grid-column: span 2; grid-row: span 2; }
.pf-cards--index .pf-card:first-child b { font-size: 30px; }

@media (max-width: 1000px) {
	.pf-main, .pf-body { grid-template-columns: 1fr; }
	.pf-facts { display: grid; grid-template-columns: 1fr 1fr; }
	.pf-side { position: static; }
	.pf-body { gap: 40px; margin-top: 60px; }
	.pf-grid, .pf-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.pf-grid, .pf-cards { grid-template-columns: 1fr; }
	.pf-cards--index .pf-card:first-child { grid-column: auto; grid-row: auto; }
	.pf-yt__play { width: 60px; height: 60px; }
	.pf-yt__note { font-size: 11px; }
	.pf-cta { padding: 40px 20px; }
	.pf-next { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.pf-yt img, .pf-card__img img { transition: none; }
}

/* héros plus compact : la vidéo remonte à l'écran */
.pf-hero { padding-top: 22px; max-width: 1000px; }
.pf-hero h1 { font-size: clamp(38px, 4.6vw, 64px); }
.pf-lead { font-size: 17.5px; margin-top: 16px !important; }
.pf-main { margin-top: 30px; }
.pf-text blockquote { margin: 18px 0 10px; padding: 18px 22px; border-left: 4px solid var(--violet); border-radius: 0 16px 16px 0; background: var(--s1); font-style: italic; color: #efe9f8; }
.pf-src { font-size: 14px; color: var(--muted); } .pf-src a { color: var(--violet); }
