/* ══════════════════════════════════════════════════════════════════════════
   PAGE PUBLIQUE D'UN CV — /portfolio/{slug}  (refonte 11/11/2026)

   Maquette validée : l'esprit « Resuma » (en-tête centré, formes
   flottantes, bulle de présentation, compteurs colorés, frise reliée,
   tuiles de projets, avion en papier) aux couleurs de Whileresume
   (violet #8A63C1, Montserrat, cartes blanches, fond #FBFCFE).

   Préfixe `pfv-` : rien ici ne touche le reste du site.
   ══════════════════════════════════════════════════════════════════════════ */

.pfv-body {
  margin: 0;
  background: #FBFCFE;
  color: #1E1B2E;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pfv-body *, .pfv-body *::before, .pfv-body *::after { box-sizing: border-box; }
.pfv-body a { color: #6B47A6; }
.pfv-body a:hover { color: #4F3285; }
.pfv-wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── Boutons ─────────────────────────────────────────────────────────── */
.pfv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 100px; border: 2px solid transparent;
  font: 700 15px/1 'Montserrat', sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .15s, border-color .15s, transform .15s;
}
.pfv-btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.pfv-btn--primary { background: #8A63C1; color: #fff !important; box-shadow: 0 8px 22px rgba(138, 99, 193, .3); }
.pfv-btn--primary:hover { filter: brightness(.93); }
.pfv-btn--ghost { background: #fff; color: #4F3285 !important; border-color: #E2D8F3; }
.pfv-btn--ghost:hover { border-color: #8A63C1; }
.pfv-btn--ghost.is-liked { border-color: #BE185D; color: #BE185D !important; }
.pfv-btn--light { background: #fff; color: #4F3285 !important; }
.pfv-btn:focus-visible, .pfv-round:focus-visible { outline: 3px solid #C9B6E8; outline-offset: 2px; }
.pfv-btn form, form .pfv-btn { margin: 0; }

/* ── Barre du haut ───────────────────────────────────────────────────── */
.pfv-top { background: #fff; border-bottom: 1px solid #EEF1F7; position: sticky; top: 0; z-index: 20; }
.pfv-top__in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pfv-top__nav { display: flex; align-items: center; gap: 10px; }
.pfv-top .pfv-btn--primary { box-shadow: none; }
.pfv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1E1B2E !important; }
.pfv-brand__img { height: 30px; width: auto; display: block; }
.pfv-brand__txt { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

/* ── En-tête ─────────────────────────────────────────────────────────── */
.pfv-hero { position: relative; overflow: hidden; background: #F5F0FC; padding: 64px 0 132px; }
.pfv-deco { position: absolute; inset: 0; pointer-events: none; }
.pfv-deco__i { position: absolute; }
.pfv-deco--1 { left: 6%; top: 50px; }
.pfv-deco--2 { left: 13%; top: 290px; }
.pfv-deco--3 { left: 3%; top: 450px; }
.pfv-deco--4 { right: 9%; top: 46px; }
.pfv-deco--5 { right: 4%; top: 240px; }
.pfv-deco--6 { right: 15%; top: 420px; }
.pfv-deco--7 { right: 7%; top: 510px; }
.pfv-hero__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.pfv-avatar { position: relative; }
.pfv-avatar__ring {
  width: 136px; height: 136px; border-radius: 50%; padding: 6px; background: #fff;
  box-shadow: 0 0 0 4px #8A63C1, 0 14px 34px rgba(107, 71, 166, .22);
}
.pfv-avatar__img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pfv-avatar__ini {
  width: 100%; height: 100%; border-radius: 50%; background: #8A63C1; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 800; letter-spacing: .02em;
}
.pfv-avatar__statut {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px;
  background: #fff; color: #047857; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(30, 27, 46, .1);
}
.pfv-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }

.pfv-name { margin: 34px 0 0; font-size: 46px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.pfv-job { margin: 10px 0 0; font-size: 19px; font-weight: 600; color: #4F3285; }
.pfv-meta { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.pfv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 100px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.pfv-chip--white { background: #fff; color: #3F3A52; }
.pfv-chip__ico { color: #8A63C1; flex-shrink: 0; }
.pfv-chip--violet { background: #F2EDFA; color: #4F3285; }
.pfv-chip--outline { background: #fff; color: #3F3A52; border: 1.5px solid #E6E1EE; }

.pfv-bubble {
  position: relative; margin-top: 34px; max-width: 760px; background: #fff; border-radius: 22px;
  padding: 26px 32px; box-shadow: 0 10px 30px rgba(30, 27, 46, .07);
  font-size: 16px; line-height: 1.75; color: #3F3A52; white-space: pre-line; text-align: left;
}
.pfv-bubble::before {
  content: ""; position: absolute; top: -11px; left: 50%; width: 22px; height: 22px; background: #fff;
  transform: translateX(-50%) rotate(45deg); border-radius: 4px 0 0 0;
}
.pfv-hero__actions { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Compteurs ───────────────────────────────────────────────────────── */
.pfv-stats-wrap { position: relative; margin-top: -72px; z-index: 2; }
.pfv-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border-radius: 22px; box-shadow: 0 14px 40px rgba(30, 27, 46, .08); overflow: hidden;
}
.pfv-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfv-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pfv-stat { padding: 26px 16px; text-align: center; }
.pfv-stat + .pfv-stat { border-left: 1px solid #EEF1F7; }
.pfv-stat__n { font-family: 'Quicksand', 'Montserrat', sans-serif; font-size: 40px; font-weight: 700; line-height: 1; }
.pfv-stat__l { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: #5B6170; }

/* ── Sections ────────────────────────────────────────────────────────── */
.pfv-section { padding-top: 84px; }
.pfv-section--tight { padding-top: 40px; }
.pfv-hero + .pfv-section { padding-top: 64px; }
.pfv-eyebrow {
  display: block; text-align: center; margin-bottom: 8px;
  font-family: 'Quicksand', 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: #6B47A6;
}
.pfv-eyebrow--left { text-align: left; }
.pfv-title { margin: 0 0 32px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; text-align: center; }
.pfv-card { background: #fff; border: 1px solid #EEF1F7; border-radius: 20px; }
.pfv-pad { padding: 26px; border-radius: 22px; }
.pfv-stack { display: flex; flex-direction: column; gap: 22px; }
.pfv-stack--lg { gap: 34px; }
.pfv-h3 { margin: 0; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.pfv-mini { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pfv-tile { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.pfv-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* Ce que je recherche */
.pfv-look { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pfv-look--1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.pfv-look--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pfv-look--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pfv-look__card { padding: 22px; }
.pfv-look__l { margin-top: 16px; font-size: 13px; font-weight: 600; color: #5B6170; }
.pfv-look__v { margin-top: 4px; font-size: 17px; font-weight: 700; line-height: 1.35; }

/* Compétences */
.pfv-skills { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pfv-skills--one { grid-template-columns: minmax(0, 1fr); }
.pfv-langs { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.pfv-lang__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pfv-lang__row span { color: #5B6170; font-weight: 600; }
.pfv-gauge { margin-top: 8px; height: 8px; border-radius: 100px; background: #EEF1F7; overflow: hidden; }
.pfv-gauge span { display: block; height: 100%; border-radius: 100px; background: #0891B2; }

/* Parcours */
.pfv-parcours { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pfv-parcours--one { grid-template-columns: minmax(0, 860px); justify-content: center; }
.pfv-coltitle { margin: 0 0 20px; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pfv-count { font-size: 12.5px; font-weight: 700; color: #6B47A6; background: #F2EDFA; padding: 3px 10px; border-radius: 100px; }
.pfv-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.pfv-tl__item { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
.pfv-tl__item[hidden] { display: none; }
.pfv-tl__item::before {
  content: ""; position: absolute; left: 25px; top: 56px; bottom: -26px; width: 2px;
  background: repeating-linear-gradient(#D9CCEE 0 6px, transparent 6px 11px);
}
.pfv-tl__item:last-child::before { display: none; }
.pfv-tl__ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.pfv-exp { padding: 20px 22px; }
.pfv-exp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pfv-exp__role { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.pfv-exp__org { margin-top: 5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #6B47A6; }
.pfv-exp__lieu { color: #5B6170; font-weight: 500; }
.pfv-tag { font-size: 11.5px; font-weight: 700; color: #3F3A52; background: #F1F2F6; padding: 3px 9px; border-radius: 100px; }
.pfv-dates { flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: #5B6170; background: #F8F7FB; padding: 6px 11px; border-radius: 100px; white-space: nowrap; }
.pfv-puces { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pfv-puces li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; font-size: 14px; line-height: 1.55; color: #3F3A52; }
.pfv-puces__ico { color: #8A63C1; margin-top: 2px; }
.pfv-techs { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pfv-techs li { font-size: 12px; font-weight: 700; color: #047857; background: #ECFDF5; padding: 4px 10px; border-radius: 8px; }
.pfv-more { margin-top: 22px; padding-left: 70px; }
.pfv-more .pfv-btn svg { transition: transform .2s; }
.pfv-more .is-open svg { transform: rotate(180deg); }
.pfv-edu { padding: 18px 20px; }
.pfv-edu__school { margin-top: 5px; font-size: 14px; font-weight: 600; color: #6B47A6; }
.pfv-edu__dates { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #5B6170; }

/* Projets */
.pfv-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pfv-project { border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.pfv-project__tile { position: relative; height: 150px; overflow: hidden; }
.pfv-project__rings { position: absolute; right: -20px; top: -20px; }
.pfv-project__wave { position: absolute; left: 24px; bottom: 22px; }
.pfv-project__ico {
  position: absolute; left: 24px; top: 22px; width: 54px; height: 54px; border-radius: 16px; background: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(30, 27, 46, .08);
}
.pfv-project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pfv-project__name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.pfv-project__desc { margin: 0; font-size: 14.5px; line-height: 1.65; color: #3F3A52; }
.pfv-project .pfv-techs { margin-top: 2px; }
.pfv-project__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; text-decoration: none; }

/* Contact */
.pfv-contact {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center;
  border-radius: 28px; padding: 40px; overflow: hidden;
}
.pfv-contact__title { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pfv-contact__txt { margin: 12px 0 0; font-size: 15.5px; line-height: 1.7; color: #3F3A52; }
.pfv-contact__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.pfv-contact__actions form { margin: 0; }
.pfv-contact__deco { height: 220px; }

/* Partager */
.pfv-share {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: #F5F0FC; border-radius: 22px; padding: 22px 24px;
}
.pfv-share__head { display: flex; flex-direction: column; gap: 4px; }
.pfv-share__head strong { font-size: 15px; }
.pfv-share__label { font-size: 13px; color: #5B6170; }
.pfv-share__row { flex: 1 1 360px; display: flex; gap: 8px; min-width: 0; }
.pfv-share__row .pfv-btn { box-shadow: none; }
.pfv-share__url {
  flex: 1; min-width: 0; height: 46px; border: 1.5px solid #E2D8F3; border-radius: 14px; padding: 0 14px;
  font: 13px ui-monospace, Menlo, monospace; color: #3F3A52; background: #fff;
}
.pfv-share__nets { display: flex; gap: 8px; }
.pfv-round {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid #E2D8F3; background: #fff; color: #4F3285 !important;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.pfv-round:hover { border-color: #8A63C1; }
.pfv-round[hidden] { display: none; }

/* Pied */
.pfv-foot { margin-top: 72px; background: #1E1B2E; color: #fff; }
.pfv-foot__in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.pfv-foot__brand { display: flex; align-items: center; gap: 14px; color: #fff !important; text-decoration: none; }
.pfv-foot__brand img { height: 28px; width: auto; }
.pfv-foot__brand span { display: flex; flex-direction: column; gap: 3px; }
.pfv-foot__brand strong { font-size: 16px; }
.pfv-foot__brand small { font-size: 13.5px; color: #C9C5D6; }

/* Barre fixe : téléphone seulement */
.pfv-sticky { display: none; }

/* ── Écrans moyens ───────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .pfv-parcours, .pfv-skills { grid-template-columns: minmax(0, 1fr); }
  .pfv-look, .pfv-look--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pfv-projects, .pfv-contact { grid-template-columns: minmax(0, 1fr); }
  .pfv-contact__deco { display: none; }
  .pfv-contact { padding: 28px 22px; }
  .pfv-stats, .pfv-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfv-stats--3 .pfv-stat:last-child { grid-column: 1 / -1; }
  .pfv-stat:nth-child(odd) { border-left: 0; }
  .pfv-stat:nth-child(n+3) { border-top: 1px solid #EEF1F7; }
  .pfv-deco--3, .pfv-deco--5, .pfv-deco--7 { display: none; }
}

/* ── Téléphone ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .pfv-wrap { padding: 0 16px; }
  .pfv-hide-sm { display: none !important; }
  .pfv-brand__txt { font-size: 17px; }
  .pfv-hero { padding: 44px 0 100px; }
  .pfv-name { font-size: 32px; }
  .pfv-job { font-size: 17px; }
  .pfv-bubble { padding: 20px; font-size: 15px; }
  .pfv-hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .pfv-section { padding-top: 56px; }
  .pfv-hero + .pfv-section { padding-top: 48px; }
  .pfv-title { font-size: 26px; margin-bottom: 24px; }
  .pfv-look, .pfv-look--2, .pfv-look--3 { grid-template-columns: minmax(0, 1fr); }
  .pfv-pad { padding: 20px; }
  .pfv-tl__item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .pfv-tl__item::before { left: 19px; top: 44px; }
  .pfv-tl__ico { width: 40px; height: 40px; border-radius: 13px; }
  .pfv-tl__ico svg { width: 18px; height: 18px; }
  .pfv-exp { padding: 16px; }
  .pfv-exp__head { flex-direction: column; }
  .pfv-more { padding-left: 52px; }
  .pfv-contact__title { font-size: 24px; }
  .pfv-contact__actions .pfv-btn, .pfv-contact__actions form { width: 100%; }
  .pfv-share__nets { width: 100%; justify-content: center; }
  .pfv-foot { margin-bottom: 72px; }
  .pfv-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff;
    border-top: 1px solid #EEF1F7; box-shadow: 0 -8px 24px rgba(30, 27, 46, .06);
  }
  .pfv-sticky .pfv-btn { flex: 1; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pfv-btn, .pfv-more .pfv-btn svg { transition: none; }
}
