/* Page Qui suis-je (gabarit page-apropos) — s'appuie sur la base .vp de texte.css */
.ap { 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), box-shadow .3s; }
.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); }
.ap-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ap-muted { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 18px !important; }
.ap-muted a { color: var(--violet); }

/* présentation */
.ap-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding-top: 40px; }
.ap-hero h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: .96; letter-spacing: -.045em; max-width: 14ch; }
.ap-lead { margin-top: 22px !important; font-size: 19px; line-height: 1.6; color: #e4ddf1; max-width: 52ch; }
.ap-photo { position: relative; margin: 0; border-radius: 28px; aspect-ratio: 1; }
.ap-photo::before { content: ""; position: absolute; inset: -2px; border-radius: 30px; background: conic-gradient(from var(--a, 0deg), #6d42f5, #ff7ab6, #ffb23f, #4fd18b, #6d42f5); animation: ap-turn 8s linear infinite; filter: blur(.5px); }
.ap-photo::after { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgba(109, 66, 245, .45), transparent); }
.ap-photo img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; border: 4px solid var(--bg); }
.ap-photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: rgba(18, 13, 28, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); }
.ap-photo figcaption span { color: #d9ffe9; } .ap-photo figcaption span::first-letter { color: var(--green); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ap-turn { to { --a: 360deg; } }

/* chiffres */
.ap-stats { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ap-stats li > *, .ap-stats li { display: block; }
.ap-stats li { padding: 22px 24px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.ap-stats a { text-decoration: none; } .ap-stats li:has(a) { transition: border-color .2s, transform .3s var(--ease); } .ap-stats li:has(a):hover { border-color: var(--violet); transform: translateY(-3px); }
.ap-stats b { display: block; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, #fff, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.ap-sec { padding-top: 110px; }

/* timeline de carrière : une piste de montage verticale, la tête de lecture suit le défilement */
.ap-tl { --p: 0; position: relative; list-style: none; margin: 40px 0 0; padding: 0 0 0 150px; }
.ap-tl::before, .ap-tl::after { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; }
.ap-tl::before { background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 16px); }
.ap-tl::after { background: linear-gradient(180deg, #6d42f5, #ff7ab6 60%, #ffb23f); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 18px rgba(155, 123, 255, .7); }
.ap-tl li { position: relative; padding: 0 0 34px; opacity: .35; transform: translateX(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ap-tl li.is-in { opacity: 1; transform: none; }
.ap-tl li::before { content: ""; position: absolute; left: -39px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); transition: border-color .4s, box-shadow .4s; z-index: 1; }
.ap-tl li.is-in::before { border-color: #ff7ab6; box-shadow: 0 0 0 5px rgba(255, 122, 182, .15); }
.ap-tl__y { position: absolute; left: -150px; top: 17px; width: 100px; text-align: right; font: 700 14px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--head); }
.ap-tl__c { padding: 18px 22px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); border-left: 4px solid var(--c, #9b7bff); max-width: 720px; }
.ap-tl li:nth-child(4n+2) .ap-tl__c { --c: #ffb23f; } .ap-tl li:nth-child(4n+3) .ap-tl__c { --c: #4fd18b; } .ap-tl li:nth-child(4n) .ap-tl__c { --c: #ff7ab6; }
.ap-tl__c b { display: block; font-size: 19px; margin-bottom: 6px; }
.ap-tl__c p { color: #d8d0e6; line-height: 1.6; }

/* outils + méthode */
.ap-two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ap-two h2 { font-size: clamp(28px, 3vw, 42px); }
.ap-tools { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ap-tools li { padding: 10px 16px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); font-weight: 600; }
.ap-steps { list-style: none; counter-reset: s; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.ap-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.ap-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--vs); font-weight: 800; }
.ap-steps span { color: var(--muted); font-size: 15px; }

/* avis */
.ap-avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; align-items: start; }
.ap-avis figure { margin: 0; padding: 24px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.ap-avis blockquote { margin: 0 0 18px; line-height: 1.6; color: #e4ddf1; }
.ap-avis figcaption { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); }
.ap-avis figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ap-avis figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* fin */
.ap-end { margin-top: 110px; padding: 60px 40px; border-radius: 28px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, #3a1f86, var(--s1) 70%); border: 1px solid var(--line); }
.ap-end h2 { margin: 0 auto 10px; } .ap-end p { color: var(--muted); } .ap-end .ap-cta { justify-content: center; }

@media (max-width: 900px) {
	.ap-hero, .ap-two { grid-template-columns: 1fr; gap: 40px; }
	.ap-photo { max-width: 420px; }
	.ap-stats { grid-template-columns: 1fr 1fr; }
	.ap-avis { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ap-hero { padding-top: 20px; }
	.ap-sec { padding-top: 80px; }
	.ap-tl { padding-left: 34px; }
	.ap-tl::before, .ap-tl::after { left: 4px; }
	.ap-tl li::before { left: -35px; }
	.ap-tl__y { position: static; display: block; width: auto; text-align: left; margin: 0 0 8px; }
	.ap-end { padding: 44px 20px; margin-top: 80px; }
	.ap-stats li { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.ap-photo::before { animation: none; }
	.ap-tl li { opacity: 1; transform: none; transition: none; }
	.ap-tl::after { transform: none; }
}

/* timeline : titre collant à gauche, piste à droite */
.ap-sec--tl { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.ap-tl-head { position: sticky; top: 120px; }
.ap-sec--tl .ap-tl { margin-top: 0; }
/* avis : le long à gauche, les deux courts empilés à droite */
.ap-avis { grid-template-columns: 1.15fr 1fr; }
.ap-avis figure:first-child { grid-row: span 2; }
@media (max-width: 900px) {
	.ap-sec--tl { grid-template-columns: 1fr; gap: 10px; }
	.ap-tl-head { position: static; }
	.ap-avis { grid-template-columns: 1fr; } .ap-avis figure:first-child { grid-row: auto; }
}
