/* WPMalter — Page À propos (page-apropos.php).
   « Moi, c'est Maxime. » Page de marque personnelle.
   Construit sur les tokens (../../colors_and_type.css) + styles.css (Nav, Footer,
   .doors, .cta-final, .pill, .eyebrow, .inline-link…). Ce fichier ne contient que
   les sections spécifiques à la page À propos. */

/* ============================================================================
   HERO — 2 colonnes : texte (gauche) · portrait (droite) · bande de preuve
   ============================================================================ */
.ap-hero { position:relative; overflow:hidden; padding-top:72px; padding-bottom:56px; }
.ap-hero .hero-halo::before { width:720px; height:720px; left:-220px; top:-330px; transform:none; opacity:.8; }
.ap-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center; }
.ap-hero[data-photo="left"] .ap-hero-grid { grid-template-columns:0.95fr 1.05fr; }
.ap-hero[data-photo="left"] .ap-hero-copy { order:2; }
.ap-hero[data-photo="left"] .ap-hero-media { order:1; }

.ap-hero .eyebrow { display:block; margin-bottom:18px; }
.ap-hero h1 { font-family:var(--wpm-font-display); font-weight:700; font-size:clamp(40px,5.4vw,68px); line-height:1.02; letter-spacing:-0.045em; margin:0 0 22px; }
.ap-hero .lede { font-size:clamp(17px,1.9vw,20px); line-height:1.65; color:var(--wpm-text-secondary); margin:0 0 30px; max-width:46ch; }
.ap-hero .lede b { color:var(--wpm-text-primary); font-weight:600; }
.ap-hero-cta { display:flex; gap:14px; flex-wrap:wrap; }

/* portrait */
.ap-hero-media { position:relative; }
.ap-portrait { position:relative; width:100%; aspect-ratio:1 / 1.16; border-radius:var(--wpm-radius-lg); overflow:hidden;
  background:var(--wpm-surface-1); border:1px solid var(--wpm-border); box-shadow:var(--wpm-shadow-xl), 0 0 70px rgba(83,58,253,.22); }
.ap-portrait img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 24%; }
.ap-portrait-tag { position:absolute; left:14px; bottom:14px; z-index:1; display:inline-flex; align-items:center; gap:7px;
  font-family:var(--wpm-font-mono); font-size:11.5px; color:#fff; background:rgba(11,10,24,.55); backdrop-filter:blur(6px);
  padding:6px 12px; border-radius:var(--wpm-radius-pill); border:1px solid rgba(255,255,255,.16); }
.ap-portrait-tag svg { width:13px; height:13px; }
.ap-portrait-float { position:absolute; right:-16px; top:26px; z-index:2; background:var(--wpm-surface-1); border:1px solid var(--wpm-border);
  border-radius:var(--wpm-radius-md); box-shadow:var(--wpm-shadow-lg); padding:11px 15px; display:flex; align-items:center; gap:11px; }
.ap-portrait-float .star { color:var(--wpm-peach-400); font-size:13px; letter-spacing:1px; line-height:1; }
.ap-portrait-float .ttl { font-family:var(--wpm-font-display); font-weight:700; font-size:14px; letter-spacing:-0.01em; color:var(--wpm-text-primary); }
.ap-portrait-float .sub { font-size:11.5px; color:var(--wpm-text-muted); margin-top:2px; }

/* bande de preuve compacte */
.ap-proof { margin-top:8px; }
.ap-proof-band { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px 0;
  background:var(--wpm-surface-1); border:1px solid var(--wpm-border); border-radius:var(--wpm-radius-lg);
  box-shadow:var(--wpm-shadow-md); padding:22px 18px; }
.ap-proof-item { display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 26px; flex:1 1 auto; min-width:120px; }
.ap-proof-item .n { font-family:var(--wpm-font-display); font-weight:700; font-size:clamp(24px,3vw,34px); line-height:1; letter-spacing:-0.03em;
  background:linear-gradient(135deg,var(--wpm-brand-300),var(--wpm-brand-500)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.ap-proof-item .l { font-size:12.5px; color:var(--wpm-text-muted); margin-top:8px; }
.ap-proof-sep { width:1px; align-self:stretch; background:var(--wpm-border-subtle); }

/* ============================================================================
   SOUS-NAV STICKY — suit le scroll, surligne la section active
   ============================================================================ */
.ap-subnav { position:sticky; top:67px; z-index:80; border-top:1px solid var(--wpm-border-subtle); border-bottom:1px solid var(--wpm-border-subtle);
  background:color-mix(in srgb, var(--wpm-bg) 88%, transparent); backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px); }
.ap-subnav-inner { display:flex; align-items:center; gap:6px; height:52px; overflow-x:auto; scrollbar-width:none; }
.ap-subnav-inner::-webkit-scrollbar { display:none; }
.ap-subnav a { position:relative; font-family:var(--wpm-font-body); font-size:13.5px; font-weight:500; color:var(--wpm-text-secondary);
  padding:8px 14px; border-radius:var(--wpm-radius-sm); white-space:nowrap; transition:color var(--wpm-dur-fast) var(--wpm-ease); }
.ap-subnav a:hover { color:var(--wpm-text-primary); }
.ap-subnav a.active { color:var(--wpm-text-primary); }
.ap-subnav a.active::after { content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:2px; border-radius:2px; background:var(--wpm-brand); }
.ap-subnav .spacer { flex:1; }
.ap-subnav .sub-cta { font-weight:600; color:var(--wpm-brand-text); }
.ap-subnav .sub-cta:hover { color:var(--wpm-link-hover); }

/* anchored sections clear the sticky chrome */
.ap-anchor { scroll-margin-top:128px; }

/* ============================================================================
   TIMELINE — l'arc narratif (2019 → Le déclic → 2026)
   ============================================================================ */
.ap-story { position:relative; }
.ap-story-head { max-width:680px; margin:0 auto 64px; text-align:center; }
.ap-story-head .eyebrow { display:block; margin-bottom:14px; }
.ap-story-head h2 { font-family:var(--wpm-font-display); font-size:clamp(28px,3.6vw,40px); line-height:1.14; letter-spacing:-0.03em; margin:0; }

.ap-timeline { max-width:920px; margin:0 auto; position:relative; }
/* the rail line */
.ap-timeline::before { content:""; position:absolute; left:88px; top:18px; bottom:64px; width:2px;
  background:linear-gradient(var(--wpm-brand) 0%, color-mix(in srgb, var(--wpm-brand) 35%, transparent) 60%, transparent 100%); }

.ap-mile { position:relative; display:grid; grid-template-columns:178px 1fr; gap:36px; padding-bottom:72px; }
.ap-mile:last-child { padding-bottom:0; }

/* left rail : year marker */
.ap-mile-rail { position:relative; }
.ap-mile-node { position:absolute; left:80px; top:6px; width:18px; height:18px; border-radius:50%; background:var(--wpm-brand);
  box-shadow:0 0 0 5px var(--wpm-bg), 0 0 0 6px color-mix(in srgb, var(--wpm-brand) 40%, transparent); z-index:1; }
.ap-mile.is-pivot .ap-mile-node { background:var(--wpm-accent-warm); box-shadow:0 0 0 5px var(--wpm-bg), 0 0 18px var(--wpm-accent-warm); }
.ap-mile-year { font-family:var(--wpm-font-display); font-weight:700; font-size:30px; letter-spacing:-0.03em; color:var(--wpm-text-primary); line-height:1; }
.ap-mile-yearsub { font-family:var(--wpm-font-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--wpm-brand-text); margin-top:8px; }

/* content */
.ap-mile-body { position:relative; }
.ap-mile-watermark { position:absolute; right:0; top:-26px; font-family:var(--wpm-font-display); font-weight:800; font-size:120px; line-height:1;
  letter-spacing:-0.05em; color:var(--wpm-text-primary); opacity:.035; pointer-events:none; user-select:none; z-index:0; }
.ap-mile-eyebrow { position:relative; z-index:1; display:inline-flex; align-items:center; gap:8px; font-family:var(--wpm-font-mono);
  font-size:12px; letter-spacing:.04em; color:var(--wpm-brand-text); margin-bottom:12px; }
.ap-mile h3 { position:relative; z-index:1; font-family:var(--wpm-font-display); font-size:clamp(22px,2.6vw,28px); line-height:1.18;
  letter-spacing:-0.02em; margin:0 0 18px; color:var(--wpm-text-primary); max-width:22ch; }
.ap-mile-body p { position:relative; z-index:1; font-size:16.5px; line-height:1.78; color:var(--wpm-text-secondary); margin:0 0 16px; max-width:60ch; }
.ap-mile-body p:last-child { margin-bottom:0; }
.ap-mile-body p strong { color:var(--wpm-text-primary); font-weight:600; }
.ap-mile-body em { color:var(--wpm-text-muted); font-style:italic; }
.ap-mile-signature { font-family:var(--wpm-font-display); font-weight:600; font-size:18px; letter-spacing:-0.01em; color:var(--wpm-brand-text) !important; }

/* timeline marker minimal variant (tweak) */
.ap-timeline[data-marker="minimal"]::before { left:9px; }
.ap-timeline[data-marker="minimal"] .ap-mile { grid-template-columns:40px 1fr; gap:28px; }
.ap-timeline[data-marker="minimal"] .ap-mile-node { left:1px; }
.ap-timeline[data-marker="minimal"] .ap-mile-year { font-size:15px; }
.ap-timeline[data-marker="minimal"] .ap-mile-yearsub { display:none; }
.ap-timeline[data-marker="minimal"] .ap-mile-rail { padding-left:28px; padding-top:0; }

/* ============================================================================
   POURQUOI WPMALTER — prose + capture inbox Malt (preuve)
   ============================================================================ */
.ap-why { background:var(--wpm-surface-2); }
.ap-why-grid { max-width:1040px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:48px; }
.ap-why-lead { max-width:760px; margin:0 auto; text-align:center; }
.ap-why-lead .eyebrow { display:block; margin-bottom:14px; }
.ap-why-lead h2 { font-family:var(--wpm-font-display); font-size:clamp(26px,3.4vw,38px); line-height:1.16; letter-spacing:-0.025em; margin:0 0 26px; }
.ap-why-prose { max-width:680px; margin:0 auto; }
.ap-why-prose p { font-size:16.5px; line-height:1.8; color:var(--wpm-text-secondary); margin:0 0 18px; }
.ap-why-prose p:last-child { margin-bottom:0; }
.ap-why-prose p strong { color:var(--wpm-text-primary); font-weight:600; }

/* highlighted "bullshit" contrast block */
.ap-why-callout { max-width:680px; margin:8px auto 0; background:var(--wpm-surface-1); border:1px solid var(--wpm-border); border-radius:var(--wpm-radius-lg); padding:26px 30px; }
.ap-why-callout p { font-size:16px; line-height:1.7; color:var(--wpm-text-primary); margin:0; font-weight:500; }

/* inbox proof */
.ap-inbox { max-width:980px; margin:8px auto 0; }
.ap-inbox-frame { position:relative; border-radius:var(--wpm-radius-lg); overflow:hidden; border:1px solid var(--wpm-border);
  background:var(--wpm-surface-1); box-shadow:var(--wpm-shadow-xl); }
.ap-inbox-chrome { display:flex; align-items:center; gap:12px; padding:12px 16px; background:var(--wpm-surface-2);
  border-bottom:1px solid var(--wpm-border-subtle); }
.ap-inbox-dots { display:flex; gap:8px; flex-shrink:0; }
.ap-inbox-dots i { width:12px; height:12px; border-radius:50%; display:block; }
.ap-inbox-dots .r { background:#FF5F57; } .ap-inbox-dots .y { background:#FEBC2E; } .ap-inbox-dots .g { background:#28C840; }
.ap-inbox-url { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; font-family:var(--wpm-font-mono); font-size:12px;
  color:var(--wpm-text-muted); background:var(--wpm-bg); border:1px solid var(--wpm-border-subtle); border-radius:var(--wpm-radius-pill);
  padding:6px 14px; max-width:340px; margin-right:42px; }
.ap-inbox-url svg { width:12px; height:12px; }
.ap-inbox-shot { display:block; position:relative; }
.ap-inbox-shot img { display:block; width:100%; height:auto; }
/* fade the bottom so the long list reads as "and more" */
.ap-inbox-shot::after { content:""; position:absolute; left:0; right:0; bottom:0; height:120px; pointer-events:none;
  background:linear-gradient(transparent, var(--wpm-surface-1)); }
.ap-inbox-badge { position:absolute; top:14px; right:14px; z-index:2; }
.ap-inbox-cap { max-width:680px; margin:24px auto 0; }
.ap-inbox-cap p { font-size:15px; line-height:1.7; color:var(--wpm-text-secondary); margin:0; text-align:center; }
.ap-inbox-cap p strong { color:var(--wpm-text-primary); font-weight:600; }
.ap-why-close { max-width:680px; margin:36px auto 0; text-align:center; }
.ap-why-close p { font-family:var(--wpm-font-display); font-weight:600; font-size:clamp(18px,2.2vw,22px); line-height:1.4;
  letter-spacing:-0.015em; color:var(--wpm-text-primary); margin:0; }

/* ============================================================================
   EN DEHORS DU TRAVAIL — prose humanisante + facettes
   ============================================================================ */
.ap-life-head { max-width:680px; margin:0 auto 44px; text-align:center; }
.ap-life-head .eyebrow { display:block; margin-bottom:14px; }
.ap-life-head h2 { font-family:var(--wpm-font-display); font-size:clamp(26px,3.4vw,38px); line-height:1.16; letter-spacing:-0.025em; margin:0; }
.ap-life-grid { max-width:980px; margin:0 auto; display:grid; grid-template-columns:1.15fr 0.85fr; gap:52px; align-items:start; }
.ap-life-prose p { font-size:16.5px; line-height:1.8; color:var(--wpm-text-secondary); margin:0 0 18px; }
.ap-life-prose p:last-child { margin-bottom:0; }
.ap-life-prose p strong { color:var(--wpm-text-primary); font-weight:600; }
.ap-facets { display:flex; flex-direction:column; gap:14px; }
.ap-facet { display:flex; gap:15px; align-items:flex-start; background:var(--wpm-surface-1); border:1px solid var(--wpm-border);
  border-radius:var(--wpm-radius-md); padding:18px 20px; transition:var(--wpm-transition); }
.ap-facet:hover { border-color:var(--wpm-border-strong); transform:translateY(-2px); box-shadow:var(--wpm-shadow-md); }
.ap-facet-ico { flex-shrink:0; width:40px; height:40px; border-radius:var(--wpm-radius-sm); background:var(--wpm-brand-surface);
  color:var(--wpm-brand-text); display:flex; align-items:center; justify-content:center; }
.ap-facet-ico svg { width:19px; height:19px; }
.ap-facet .t { font-family:var(--wpm-font-display); font-weight:600; font-size:15px; letter-spacing:-0.01em; color:var(--wpm-text-primary); }
.ap-facet .d { font-size:13px; line-height:1.5; color:var(--wpm-text-muted); margin-top:3px; }

/* ============================================================================
   BOSSER AVEC MOI — réutilise .doors / .door (styles.css)
   ============================================================================ */
.ap-doors-head { max-width:680px; margin:0 auto 52px; text-align:center; }
.ap-doors-head .wpm-overline { color:var(--wpm-brand-text); margin-bottom:14px; }
.ap-doors-head h2 { font-family:var(--wpm-font-display); font-size:clamp(28px,3.6vw,40px); line-height:1.12; letter-spacing:-0.03em; margin:0 0 12px; }
.ap-doors-head .sub { font-size:17px; line-height:1.6; color:var(--wpm-text-secondary); }
.door .door-kick-line { font-size:13px; line-height:1.55; color:var(--wpm-text-secondary); margin:0 0 18px; flex:1; }
.door .door-kick-line b { color:var(--wpm-text-primary); font-weight:600; }

/* ============================================================================
   YOUTUBE — embed lazy (poster → iframe au clic)
   ============================================================================ */
.ap-yt { background:var(--wpm-surface-2); }
.ap-yt-head { max-width:720px; margin:0 auto 44px; text-align:center; }
.ap-yt-head .eyebrow { display:block; margin-bottom:14px; }
.ap-yt-head h2 { font-family:var(--wpm-font-display); font-size:clamp(26px,3.4vw,38px); line-height:1.14; letter-spacing:-0.025em; margin:0 0 14px; }
.ap-yt-head .sub { font-size:16.5px; line-height:1.65; color:var(--wpm-text-secondary); }
.ap-yt-stage { max-width:860px; margin:0 auto; }
.ap-yt-embed { position:relative; aspect-ratio:16 / 9; border-radius:var(--wpm-radius-lg); overflow:hidden; border:1px solid var(--wpm-border);
  box-shadow:var(--wpm-shadow-xl), 0 0 70px rgba(83,58,253,.18); background:radial-gradient(120% 100% at 50% 0%, #1a1530 0%, #0c0a1c 60%, #08070f 100%); }
.ap-yt-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.ap-yt-poster { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  cursor:pointer; border:0; background:transparent; width:100%; }
.ap-yt-poster::before { content:""; position:absolute; width:420px; height:420px; left:50%; top:-120px; transform:translateX(-50%); border-radius:50%;
  background:radial-gradient(circle, rgba(83,58,253,.4), transparent 64%); filter:blur(70px); pointer-events:none; }
.ap-yt-mark { position:relative; z-index:1; display:flex; align-items:center; gap:11px; font-family:var(--wpm-font-display); font-weight:700;
  font-size:22px; letter-spacing:-0.02em; color:#fff; }
.ap-yt-mark img { height:30px; width:auto; }
.ap-yt-mark b { color:var(--wpm-brand-300); }
.ap-yt-play { position:relative; z-index:1; width:84px; height:84px; border-radius:50%; background:#ff0033; color:#fff; display:flex;
  align-items:center; justify-content:center; box-shadow:0 12px 34px rgba(255,0,51,.45); transition:transform var(--wpm-dur-base) var(--wpm-ease); }
.ap-yt-poster:hover .ap-yt-play { transform:scale(1.06); }
.ap-yt-play svg { width:34px; height:34px; margin-left:4px; }
.ap-yt-cap { position:relative; z-index:1; font-family:var(--wpm-font-mono); font-size:12.5px; letter-spacing:.04em; color:rgba(230,237,246,.7); }
.ap-yt-foot { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:24px; }

/* ============================================================================
   CTA FINAL — réutilise .cta-final (styles.css)
   ============================================================================ */
.ap-cta .cta-final-inner { max-width:620px; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width:980px){
  .ap-hero-grid { grid-template-columns:1fr; gap:40px; }
  .ap-hero[data-photo="left"] .ap-hero-copy { order:1; }
  .ap-hero[data-photo="left"] .ap-hero-media { order:2; }
  .ap-hero-media { max-width:440px; margin:0 auto; }
  .ap-life-grid { grid-template-columns:1fr; gap:36px; }
}
@media (max-width:760px){
  .ap-proof-sep { display:none; }
  .ap-proof-item { flex:1 0 42%; padding:6px 8px; }
  .ap-timeline::before { left:9px; }
  .ap-mile { grid-template-columns:1fr; gap:0; padding-left:34px; }
  .ap-mile-rail { margin-bottom:14px; }
  .ap-mile-node { left:1px; top:4px; }
  .ap-mile-year { font-size:20px; display:inline-block; }
  .ap-mile-yearsub { display:inline-block; margin:0 0 0 12px; }
  .ap-mile-watermark { display:none; }
}
@media (max-width:640px){
  .ap-inbox-url { display:none; }
  .ap-portrait-float { right:8px; }
}
