/*
  Landing Pigma — mobile first, un seul code responsive (brief section 4).
  Point de bascule mobile -> desktop : 900px. En dessous : structure de la
  maquette mobile (carrousel, accordéon, menu burger). Au-dessus : structure
  de la maquette desktop (onglets verticaux, bento, rail de navigation).
  Contenu strictement identique dans les deux cas, seule la mise en forme change.
*/

/* ===================== Header ===================== */
.pg-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(14px, 3vw, 30px) clamp(20px, 5vw, 56px);
  position: relative; z-index: 30;
}
.pg-header__logo { height: clamp(26px, 3.6vw, 42px); width: auto; display: block; }
.pg-header__actions { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 14px); }
.pg-header__nav-toggle { display: none; }
.pg-header__connexion {
  display: none;
}
.pg-header__burger {
  display: inline-flex; width: 42px; height: 42px; flex-shrink: 0;
  background: var(--pg-blanc); border: var(--pg-border); border-radius: 9px;
  box-shadow: var(--pg-shadow-sm); align-items: center; justify-content: center;
  cursor: pointer; gap: 4px; padding: 0;
}
.pg-header__burger span {
  display: block; width: 18px; height: 2.5px; background: var(--pg-encre); border-radius: 2px;
  box-shadow: 0 6px 0 var(--pg-encre), 0 -6px 0 var(--pg-encre);
}

@media (min-width: 900px) {
  .pg-header__nav-toggle {
    display: flex; align-items: center; background: var(--pg-blanc);
    border: var(--pg-border); border-radius: 12px; box-shadow: var(--pg-shadow-md);
    overflow: hidden;
  }
  .pg-header__nav-toggle a, .pg-header__nav-toggle span {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 10px 20px; font-weight: 700; font-size: 15px; color: var(--pg-encre);
  }
  .pg-header__nav-toggle a { text-decoration: none; transition: background .18s ease; }
  .pg-header__nav-toggle a:first-child, .pg-header__nav-toggle span:first-child { border-right: var(--pg-border); }
  .pg-header__nav-toggle a:hover { background: var(--pg-lavande); color: var(--pg-encre); }
  .pg-header__nav-toggle span[data-active] { background: var(--pg-turquoise); }
  .pg-header__connexion {
    display: inline-flex; align-items: center; min-height: 44px;
    background: var(--pg-blanc); color: var(--pg-encre); font-weight: 700; font-size: 15px;
    padding: 10px 22px; border: var(--pg-border); border-radius: 10px; box-shadow: var(--pg-shadow-md);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .pg-header__connexion:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pg-encre); color: var(--pg-encre); }
  .pg-header__burger { display: none; }
}

/* ===================== Menu mobile plein écran ===================== */
.pg-mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--pg-encre);
  display: none; flex-direction: column; padding: 20px;
}
.pg-mobile-menu.is-open { display: flex; }
.pg-mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.pg-mobile-menu__logo { height: 24px; filter: brightness(0) invert(1); }
.pg-mobile-menu__close {
  width: 42px; height: 42px; background: transparent; border: 2px solid #fff; border-radius: 9px;
  color: #fff; font-size: 16px; cursor: pointer;
}
.pg-mobile-menu__link {
  display: block; color: #fff; font-weight: 700; font-size: 22px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.15); background: none; border-left: none; border-right: none; border-top: none;
  text-align: left; text-decoration: none; cursor: pointer; font-family: var(--pg-font-display);
}
.pg-mobile-menu__app {
  margin-top: auto; display: flex; justify-content: center; align-items: center; height: 54px;
  background: var(--pg-violet); color: #fff; font-weight: 700; font-size: 16px;
  border: 2px solid #fff; border-radius: 12px; text-decoration: none;
}
@media (min-width: 900px) { .pg-mobile-menu { display: none !important; } }

/* ===================== Hero ===================== */
.pg-hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px;
  padding: 20px 20px 36px;
}
.pg-hero__title {
  position: relative; z-index: 1; margin: 0;
  font-size: clamp(38px, 9vw, 74px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--pg-encre); text-wrap: balance;
}
.pg-hero__title em { font-style: normal; color: var(--pg-violet); }
@media (max-width: 899px) {
  .pg-hero__title { line-height: 1.2; }
  .pg-hero__actions { margin-top: 20px; }
}
.pg-hero__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.pg-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  white-space: nowrap; min-height: 52px; font-weight: 700; font-size: 16px;
  padding: 12px 26px; border: var(--pg-border); border-radius: 12px;
  box-shadow: var(--pg-shadow-md); text-decoration: none; box-sizing: border-box;
  transition: transform .15s ease, box-shadow .15s ease; cursor: pointer;
  font-family: var(--pg-font-display);
}
.pg-btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--pg-encre); }
.pg-btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--pg-encre); }
.pg-btn--primary { background: var(--pg-violet); color: #fff; }
.pg-btn--primary:hover { color: #fff; }
.pg-btn--secondary { background: #fff; color: var(--pg-encre); }
.pg-btn--dark { background: var(--pg-encre); color: #fff; box-shadow: var(--pg-shadow-md); }
.pg-btn--full { width: 100%; }
.pg-hero__demo { position: relative; z-index: 1; }
.pg-hero__tagline {
  position: relative; z-index: 1; text-align: center; font-weight: 800;
  font-size: clamp(16px, 4vw, 24px); color: var(--pg-encre);
}
.pg-mark { background: var(--pg-turquoise); color: var(--pg-encre); padding: 0 8px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Écarts de contenu desktop/mobile assumés (voir AUDIT.md section 1) */
.pg-hero__btn-essai { display: none; }
.pg-hero__btn-demo-desktop { display: none; }
@media (min-width: 900px) {
  .pg-hero__btn-essai { display: inline-flex; }
  .pg-hero__btn-demo-desktop { display: inline-flex; }
  .pg-hero__btn-demo-mobile { display: none; }
}

@media (min-width: 900px) {
  .pg-hero {
    display: grid; grid-template-columns: 0.85fr 1.35fr; align-items: center;
    gap: clamp(24px, 3vw, 44px);
    padding: clamp(24px, 4vh, 52px) clamp(24px, 4vw, 56px) clamp(48px, 7vh, 80px);
    max-width: 1560px; width: 100%; margin: 0 auto; box-sizing: border-box;
  }
  .pg-hero__col-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 3vw, 32px); }
  .pg-hero__col-visual { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); min-width: 0; }
  .pg-hero__actions { flex-wrap: nowrap; }
  .pg-hero__tagline { text-align: center; }
}

/* ===================== fond dégradé + grain (section manifesto) ===================== */
.pg-bg-grain { position: relative; }
.pg-bg-grain::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 20% 8%, rgba(91,61,245,0.26), transparent 60%),
    radial-gradient(55% 35% at 90% 16%, rgba(19,194,164,0.22), transparent 62%),
    radial-gradient(70% 45% at 78% 94%, rgba(91,61,245,0.18), transparent 60%),
    var(--pg-lavande);
}
.pg-bg-grain::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pg-bg-grid {
  background-color: var(--pg-lavande);
  background-image: linear-gradient(rgba(25,18,56,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(25,18,56,.05) 1px, transparent 1px);
  background-size: 64px 32px;
}
@media (min-width: 900px) { .pg-bg-grid { background-size: 120px 40px; } }

/* ===================== Constat / manifeste ===================== */
.pg-constat {
  position: relative;
  padding: 36px 20px; display: flex; flex-direction: column; gap: 20px;
}
.pg-constat p { position: relative; z-index: 1; margin: 0; font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--pg-encre); text-align: justify; }
.pg-constat p.pg-constat__punch { font-weight: 800; font-size: 24px; line-height: 1.22; letter-spacing: -0.02em; }
.pg-constat__cta { position: relative; z-index: 1; align-self: center; width: 100%; }

@media (min-width: 900px) {
  .pg-constat { display: none; } /* remplacé par la révélation au scroll desktop */
  .pg-manifesto { display: block; }
  .pg-manifesto__spacer { height: 230vh; position: relative; }
  .pg-manifesto__sticky {
    position: sticky; top: 0; min-height: 100vh; display: grid; place-items: center;
    padding: clamp(40px, 6vh, 80px) clamp(24px, 8vw, 120px); box-sizing: border-box;
  }
  .pg-manifesto__inner {
    max-width: 1000px; width: 100%; position: relative; z-index: 5;
    display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3.5vw, 44px);
  }
  .pg-manifesto__text { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 32px); width: 100%; text-align: justify; }
  .pg-manifesto__text p { margin: 0; font-weight: 700; font-size: clamp(17px, 2vw, 23px); line-height: 1.5; letter-spacing: -0.01em; color: var(--pg-encre); text-wrap: pretty; }
  .pg-manifesto__text p.pg-manifesto__punch { font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -0.02em; text-wrap: balance; margin-top: 6px; }
  .pg-manifesto__text mark[data-reveal-mark] {
    background-color: transparent;
    background-image: linear-gradient(var(--pg-turquoise), var(--pg-turquoise));
    background-repeat: no-repeat; background-position: left center; background-size: 0% 88%;
    color: var(--pg-encre); padding: 0 6px; border-radius: 4px;
    box-decoration-break: clone; -webkit-box-decoration-break: clone;
    transition: background-size .15s linear;
  }
  @media (prefers-reduced-motion: reduce) {
    .pg-manifesto__text mark[data-reveal-mark] { background-size: 100% 88% !important; }
  }
}
@media (max-width: 899px) { .pg-manifesto { display: none; } }

/* ===================== Édito (modale) ===================== */
.pg-edito {
  position: fixed; inset: 0; z-index: 100; background: rgba(13,10,32,.6);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.pg-edito.is-open { display: flex; }
.pg-edito__card {
  width: 100%; max-width: 350px; max-height: 620px; background: var(--pg-lavande);
  border: var(--pg-border); border-radius: 20px; box-shadow: 6px 6px 0 rgba(13,10,32,.4);
  display: flex; flex-direction: column; overflow: hidden;
}
.pg-edito__head {
  flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: var(--pg-border); background: #fff;
}
.pg-edito__title { font-weight: 800; font-size: 18px; color: var(--pg-encre); letter-spacing: -0.02em; }
.pg-edito__close {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--pg-lavande);
  border: var(--pg-border); box-shadow: 3px 3px 0 var(--pg-encre); cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--pg-encre); display: grid; place-items: center;
}
.pg-edito__body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.pg-edito__body p { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.65; color: #3A3358; }

@media (min-width: 900px) {
  .pg-edito__card { max-width: 760px; max-height: 88vh; border-radius: 20px; box-shadow: 12px 12px 0 rgba(13,10,32,.4); }
  .pg-edito__head { padding: 22px clamp(22px, 4vw, 40px); }
  .pg-edito__title { font-size: clamp(19px, 2.4vw, 24px); }
  .pg-edito__close { width: 40px; height: 40px; }
  .pg-edito__body { padding: clamp(22px, 4vw, 40px); gap: 18px; }
  .pg-edito__body p { font-size: clamp(15px, 1.8vw, 17px); }
}

/* ===================== Produit ===================== */
.pg-produit {
  background: var(--pg-violet); border-top: var(--pg-border); border-bottom: var(--pg-border);
  padding: 36px 0; display: flex; flex-direction: column; gap: 20px;
}
.pg-produit__title { margin: 0 20px; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

.pg-tabs-mobile {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 20px 4px;
  scrollbar-width: none;
}
.pg-tabs-mobile::-webkit-scrollbar { display: none; }
.pg-chip {
  flex-shrink: 0; white-space: nowrap; min-height: 44px; padding: 0 18px;
  font-family: var(--pg-font-display); font-weight: 700; font-size: 14px;
  border: var(--pg-border); border-radius: 999px; cursor: pointer; box-shadow: 3px 3px 0 var(--pg-encre);
  background: #fff; color: var(--pg-encre);
}
.pg-chip[aria-selected="true"] { background: var(--pg-turquoise); }

.pg-tabs-desktop { display: none; }

.pg-tab-stage { margin: 16px 20px 0; }
.pg-tab-panel { display: none; }
.pg-tab-panel.is-active { display: block; }
.pg-tab-panel img { width: 100%; height: auto; display: block; }

/* Cadre générique pour les captures produit et les modules illustrés */
.pg-mock-frame {
  border: var(--pg-border); border-radius: 16px; box-shadow: 4px 4px 0 var(--pg-encre);
  overflow: hidden; background: #fff;
}

@media (min-width: 900px) {
  .pg-produit { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); align-items: center; gap: clamp(32px, 4vw, 48px); }
  .pg-produit__title { margin: 0; text-align: center; max-width: 840px; font-size: clamp(28px, 4.5vw, 46px); }
  .pg-produit__layout { display: flex; flex-wrap: wrap; gap: 28px; width: min(1180px, 100%); align-items: stretch; }
  .pg-tabs-mobile { display: none; }
  .pg-tabs-desktop {
    flex: 1 1 280px; min-width: 260px; display: flex; flex-direction: column; gap: 14px;
    list-style: none; margin: 0; padding: 0;
  }
  .pg-tab-btn {
    display: flex; flex-direction: column; gap: 5px; padding: 15px 18px;
    border: var(--pg-border); border-radius: 12px; cursor: pointer; user-select: none;
    background: #fff; box-shadow: 3px 3px 0 var(--pg-encre); transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    width: 100%; text-align: left; font-family: var(--pg-font-display);
  }
  .pg-tab-btn[aria-selected="true"] { background: var(--pg-turquoise); box-shadow: 6px 6px 0 var(--pg-encre); transform: translate(-2px, -2px); }
  .pg-tab-btn__num { font-family: var(--pg-font-mono); font-size: 13px; color: var(--pg-encre); }
  .pg-tab-btn__label { font-weight: 700; font-size: 17px; color: var(--pg-encre); display: block; }
  .pg-tab-btn__desc { font-size: 13.5px; line-height: 1.4; color: #4A4468; display: block; margin-top: 4px; }
  .pg-tab-stage { flex: 2.2 1 400px; min-width: min(400px, 100%); margin: 0; align-self: center; }
}

/* ===================== Concrètement ===================== */
.pg-concretement {
  background: #fff; border-bottom: var(--pg-border);
  padding: 36px 20px; display: flex; flex-direction: column; gap: 34px;
}
.pg-concretement__title { margin: 0; color: var(--pg-encre); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.pg-concretement__row { display: flex; flex-direction: column; gap: 14px; }
.pg-concretement__num { font-family: var(--pg-font-mono); font-size: 12px; font-weight: 600; color: var(--pg-violet); margin-bottom: 6px; }
.pg-concretement__heading { font-weight: 800; font-size: 20px; line-height: 1.22; color: var(--pg-encre); margin-bottom: 8px; }
.pg-concretement__text { margin: 0; font-size: 16px; line-height: 1.55; color: #4A4468; }
.pg-concretement__visual { position: relative; }
.pg-bento-scaled { position: relative; width: 100%; overflow: hidden; }
.pg-bento-scaled__inner { position: absolute; top: 0; left: 0; transform-origin: top left; }

@media (min-width: 900px) {
  .pg-concretement { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); align-items: center; gap: clamp(14px, 1.8vw, 24px); }
  .pg-concretement__head { max-width: 840px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
  .pg-concretement__title { font-size: clamp(28px, 4.5vw, 46px); }
  .pg-concretement__lead { margin: 0; font-size: clamp(15px, 1.8vw, 17px); line-height: 1.6; color: #4A4468; max-width: 640px; }
  .pg-concretement__rows { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); width: min(1180px, 100%); }
  .pg-concretement__row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 52px); }
  .pg-concretement__row--rev { flex-direction: row-reverse; }
  .pg-concretement__copy { flex: 1 1 300px; max-width: 440px; }
  .pg-concretement__num { font-size: 13px; }
  .pg-concretement__heading { font-size: clamp(21px, 2.6vw, 28px); }
  .pg-concretement__text { font-size: clamp(15px, 1.7vw, 17px); }
  .pg-concretement__visual { flex: 1 1 460px; min-width: 0; display: grid; place-items: center; }
  .pg-concretement__visual .pg-bento-scaled { width: 97%; }
}

/* ===================== Conviction (paie) ===================== */
.pg-conviction { padding: 36px 20px; display: flex; flex-direction: column; gap: 18px; }
.pg-conviction__title { margin: 0; color: var(--pg-encre); font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.pg-conviction__cards { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.pg-conviction__card {
  width: 100%; max-width: 360px; border: var(--pg-border); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; box-sizing: border-box;
}
.pg-conviction__card--subie { background: #fff; box-shadow: 4px 4px 0 var(--pg-encre); }
.pg-conviction__card--maitrisee { background: var(--pg-encre); box-shadow: 4px 4px 0 var(--pg-violet); color: #fff; }
.pg-conviction__card-title { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.pg-conviction__card img { width: 100%; display: block; border: var(--pg-border); border-radius: 8px; }
.pg-conviction__card p { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-tag { border: 1.5px solid var(--pg-encre); border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 12px; }
.pg-tag--peach { background: #FFE2BB; color: #4C3417; }
.pg-tag--mint { background: var(--pg-turquoise); color: #164842; }
.pg-tag--sky { background: #D6F3FF; color: #17384C; }
.pg-tag--lilac { background: #E7E3FF; color: #2A1F63; }
.pg-tag--pink { background: #F9BBFF; color: #4C1744; }
.pg-conviction__arrow {
  width: 44px; height: 44px; background: var(--pg-violet); border: var(--pg-border); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--pg-encre); display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800;
  align-self: center;
}
.pg-conviction__arrow-desktop { display: none; }
@media (min-width: 900px) {
  .pg-conviction__arrow-mobile { display: none; }
  .pg-conviction__arrow-desktop { display: inline; }
  .pg-conviction { background: var(--pg-lavande); padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); align-items: center; gap: clamp(32px, 4vw, 48px); }
  .pg-conviction__title { max-width: 1100px; text-align: center; font-size: clamp(26px, 3.6vw, 40px); }
  .pg-conviction__cards { flex-direction: row; justify-content: center; gap: clamp(16px, 2.5vw, 30px); flex-wrap: wrap; width: min(940px, 100%); }
  .pg-conviction__card { flex: 1 1 300px; }
  .pg-conviction__card--subie { transform: rotate(-.5deg); }
  .pg-conviction__card--maitrisee { transform: rotate(.5deg); }
}

/* ===================== Quatre raisons ===================== */
.pg-raisons { background: #fff; border-bottom: var(--pg-border); padding: 36px 20px; display: flex; flex-direction: column; gap: 12px; }
.pg-raisons__title { margin: 0 0 4px; color: var(--pg-encre); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.pg-raisons__grid { display: flex; flex-direction: column; gap: 16px; }
.pg-raison {
  position: relative; overflow: hidden; border: var(--pg-border); border-radius: 16px; padding: 18px 20px;
  background: var(--pg-lavande); box-shadow: 4px 4px 0 var(--pg-encre);
}
.pg-raison--dark { background: var(--pg-encre); box-shadow: 4px 4px 0 var(--pg-violet); }
.pg-raison__body p { margin: 0 0 10px; }
.pg-raison__body p:last-child { margin-bottom: 0; }
.pg-raison__highlight { color: var(--pg-turquoise); }
.pg-raison__body-punch { color: #fff; font-weight: 800; }
.pg-raison--shine { background: linear-gradient(150deg, #241A54 0%, #191238 55%, #0F0A28 100%); }
.pg-raison__toggle {
  position: relative; z-index: 1; width: 100%; background: transparent; border: none; padding: 0;
  cursor: pointer; display: flex; align-items: center; gap: 12px; text-align: left; font-family: var(--pg-font-display);
}
.pg-raison__num { flex-shrink: 0; font-family: var(--pg-font-mono); font-size: 13px; font-weight: 600; color: var(--pg-violet); }
.pg-raison--dark .pg-raison__num, .pg-raison--shine .pg-raison__num { color: var(--pg-turquoise); }
.pg-raison__title { flex: 1; font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--pg-encre); }
.pg-raison--dark .pg-raison__title, .pg-raison--shine .pg-raison__title { color: #fff; }
.pg-raison__chev { flex-shrink: 0; font-size: 22px; line-height: 1; color: var(--pg-encre); transition: transform .2s ease; }
.pg-raison--dark .pg-raison__chev, .pg-raison--shine .pg-raison__chev { color: #fff; }
.pg-raison[aria-expanded="true"] .pg-raison__chev { transform: rotate(180deg); }
.pg-raison__body { margin: 12px 0 0; font-size: 13px; line-height: 1.55; position: relative; z-index: 1; color: #4A4468; display: none; }
.pg-raison--dark .pg-raison__body, .pg-raison--shine .pg-raison__body { color: #D9D3F2; }
.pg-raison[aria-expanded="true"] .pg-raison__body { display: block; }
.pg-raison__heart { color: var(--pg-turquoise); }
.pg-raison__coq { display: none; }

/* Reflet animé (carte 4 « Une entreprise qui vous ressemble ») */
.pg-raison__shine {
  position: absolute; top: -60%; left: -40%; width: 55%; height: 220%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 42%, rgba(160,130,255,0.55) 50%, rgba(71,234,214,0.35) 54%, rgba(255,255,255,0) 62%);
  transform: rotate(8deg); pointer-events: none; z-index: 0;
  animation: pg-sweep 4.5s ease-in-out infinite;
}
@keyframes pg-sweep {
  0% { transform: translateX(0) rotate(8deg); opacity: 0; }
  12% { opacity: 1; }
  34% { transform: translateX(900%) rotate(8deg); opacity: 0; }
  100% { transform: translateX(900%) rotate(8deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-raison__shine { animation: none; display: none; }
}

@media (min-width: 900px) {
  .pg-raisons { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); align-items: center; gap: clamp(32px, 4vw, 48px); }
  .pg-raisons__title { max-width: 840px; text-align: center; font-size: clamp(28px, 4.5vw, 46px); }
  .pg-raisons__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); width: min(1180px, 100%); align-items: stretch; }
  .pg-raison { box-shadow: 6px 6px 0 var(--pg-encre); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 12px; }
  .pg-raison--dark { box-shadow: 6px 6px 0 var(--pg-violet); }
  .pg-raison--dark:not(.pg-raison--shine) { grid-row: span 2; justify-content: center; }
  .pg-raison--shine { box-shadow: 6px 6px 0 var(--pg-turquoise); grid-column: 1 / -1; }
  .pg-raison__toggle { display: contents; cursor: default; }
  .pg-raison__num { font-size: 14px; }
  .pg-raison__title { font-size: clamp(18px, 2vw, 21px); }
  .pg-raison--shine .pg-raison__title { font-size: clamp(18px, 2.2vw, 24px); }
  .pg-raison--icon { position: relative; }
  .pg-raison--icon .pg-raison__title { padding-right: clamp(60px, 7vw, 78px); }
  .pg-raison__coq {
    display: block; position: absolute; top: clamp(14px, 2vw, 20px); right: clamp(14px, 2vw, 20px);
    width: clamp(58px, 6vw, 72px); height: auto; transform: rotate(2deg);
    filter: drop-shadow(3px 3px 0 rgba(25,18,56,0.22)); overflow: visible;
  }
  .pg-raison__chev { display: none; }
  .pg-raison__body { display: block !important; margin: 0; font-size: 14.5px; line-height: 1.6; }
  .pg-raison--shine .pg-raison__body { font-size: 15px; line-height: 1.65; max-width: 920px; }
  .pg-raison--shine { position: relative; }
}

/* ===================== Conclusion / bandeau / footer ===================== */
.pg-conclusion {
  background: var(--pg-violet); border-bottom: var(--pg-border);
  padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.pg-conclusion__title { margin: 0; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.pg-conclusion__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }

@media (min-width: 900px) {
  .pg-conclusion { padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 64px); gap: clamp(18px, 2.4vw, 26px); }
  .pg-conclusion__title { font-size: clamp(26px, 4vw, 42px); max-width: 840px; }
  .pg-conclusion__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; margin-top: 6px; }
  .pg-conclusion__actions .pg-btn { width: auto; }
}

.pg-setup-banner {
  background: var(--pg-encre); border-bottom: var(--pg-border);
  padding: 32px 20px; text-align: center;
}
.pg-setup-banner__title { margin: 0; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.pg-setup-banner__title em { font-style: normal; color: var(--pg-turquoise); }
@media (min-width: 900px) {
  .pg-setup-banner { padding: clamp(30px, 4vw, 46px) clamp(20px, 5vw, 64px); }
  .pg-setup-banner__title { font-size: clamp(20px, 3vw, 32px); }
}

.pg-footer {
  background: var(--pg-lavande); text-align: center; font-size: 9.5px; color: #4A4468;
  padding: 16px 20px 90px;
}
.pg-footer a { color: #4A4468; text-decoration: underline; }
@media (min-width: 900px) { .pg-footer { font-size: 11px; padding: 16px 20px; } }

/* ===================== CTA collant mobile ===================== */
.pg-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 20px;
  background: var(--pg-lavande); box-shadow: 0 -6px 16px rgba(25,18,56,.18);
  display: none;
}
.pg-sticky-cta.is-visible { display: block; }
@media (min-width: 900px) { .pg-sticky-cta { display: none !important; } }

/* ===================== Rail de navigation (desktop, scroll-spy) ===================== */
.pg-rail { display: none; }
@media (min-width: 900px) {
  .pg-rail {
    position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 50;
    flex-direction: column; gap: 10px; align-items: flex-start; opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
  }
  .pg-rail.is-visible { display: flex; opacity: 1; pointer-events: auto; }
  .pg-rail__item {
    display: flex; align-items: center; width: 38px; height: 38px; border-radius: 12px; box-sizing: border-box;
    overflow: hidden; white-space: nowrap; background: #fff; color: var(--pg-encre);
    border: 2px solid #0D0A20; box-shadow: 3px 3px 0 rgba(13,10,32,.35); text-decoration: none;
    transition: width .3s cubic-bezier(.4,0,.2,1), background .2s ease;
  }
  .pg-rail__item.is-active { background: var(--pg-turquoise); }
  .pg-rail__glyph { width: 38px; flex-shrink: 0; display: grid; place-items: center; font-size: 15px; line-height: 1; }
  .pg-rail__label { font-family: var(--pg-font-display); font-weight: 700; font-size: 13.5px; opacity: 0; transition: opacity .22s ease .08s; padding-right: 12px; }
  .pg-rail__item:hover { width: auto; }
  .pg-rail__item:hover .pg-rail__label { opacity: 1; }
}

/* ===================== Mini-scènes produit animées (JS natif, sans GSAP) ===================== */
.pg-scene {
  position: relative; width: 100%; aspect-ratio: 1440 / 982; overflow: hidden;
}
.pg-scene__screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block; opacity: 0; transition: opacity .4s ease;
}
.pg-scene__screen.is-visible { opacity: 1; }
.pg-scene__cursor {
  position: absolute; top: 0; left: 0; width: 26px; height: 26px; z-index: 40; pointer-events: none;
  opacity: 0; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.3));
  transition: left .8s ease-in-out, top .8s ease-in-out, opacity .3s ease, transform .12s ease;
}
.pg-scene__cursor.is-clicking { transform: scale(.8); }
.pg-scene__scrim {
  position: absolute; inset: 0; background: rgba(20,15,40,.3); opacity: 0; pointer-events: none;
  transition: opacity .35s ease; z-index: 20;
}
.pg-scene__scrim.is-visible { opacity: 1; }
.pg-scene__overlay {
  position: absolute; opacity: 0; pointer-events: none; z-index: 25;
  filter: drop-shadow(0 20px 50px rgba(40,30,80,.28));
  transition: opacity .4s ease, transform .4s ease;
}
.pg-scene__overlay.is-visible { opacity: 1; }
.pg-scene__stage {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.pg-scene__stage.is-visible { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .pg-scene__cursor { transition: none !important; }
  .pg-scene__screen, .pg-scene__scrim, .pg-scene__overlay { transition: none !important; }
}

/* ===================== Utilitaires ===================== */
.pg-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .pg-manifesto__spacer { height: auto; }
  .pg-manifesto__sticky { position: static; min-height: 0; }
}

/* ===================== Blog ===================== */
.pg-blog-hero { padding: clamp(28px, 4.5vw, 56px) 20px clamp(24px, 3.5vw, 36px); position: relative; }
.pg-blog-hero__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.pg-blog-hero__title {
  margin: 0; font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.18;
  letter-spacing: -0.02em; color: var(--pg-encre); max-width: 980px; text-wrap: balance;
}

.pg-blog-featured-wrap { background: var(--pg-lavande); background-image: linear-gradient(rgba(25,18,56,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(25,18,56,.05) 1px, transparent 1px); background-size: 64px 32px; padding: clamp(32px, 4.5vw, 56px) 20px; border-bottom: var(--pg-border); }
.pg-blog-featured { max-width: 1180px; margin: 0 auto; }
.pg-blog-featured a {
  display: flex; flex-direction: column; border: var(--pg-border); border-radius: 18px;
  overflow: hidden; box-shadow: 6px 6px 0 var(--pg-encre); background: var(--pg-blanc);
  text-decoration: none; color: var(--pg-encre); transition: transform .15s ease, box-shadow .15s ease;
}
.pg-blog-featured a:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--pg-encre); color: var(--pg-encre); }
.pg-blog-featured__img { position: relative; min-height: 200px; background: #E7E3FF; border-bottom: var(--pg-border); }
.pg-blog-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-blog-featured__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.pg-blog-featured__meta { font-family: var(--pg-font-mono); font-size: 12px; color: #72808C; }
.pg-blog-featured__title { font-weight: 800; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.22; letter-spacing: -0.02em; color: var(--pg-encre); }
.pg-blog-featured__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: #4A4468; }
.pg-blog-featured__byline { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: #4A4468; }
.pg-blog-featured__avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--pg-turquoise); border: var(--pg-border);
  display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--pg-encre); flex-shrink: 0;
}
@media (min-width: 900px) {
  .pg-blog-featured a { flex-direction: row; }
  .pg-blog-featured__img { flex: 0 0 44%; min-height: 320px; border-bottom: none; border-right: var(--pg-border); }
  .pg-blog-featured__body { padding: 38px; justify-content: center; flex: 1; }
}

.pg-blog-main { background: var(--pg-blanc); padding: clamp(36px, 5vw, 64px) 20px; display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); }
.pg-blog-main__inner { max-width: 1180px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); }
.pg-blog-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-blog-chip {
  min-height: 44px; padding: 0 18px; font-family: var(--pg-font-display); font-weight: 700; font-size: 14px;
  border: var(--pg-border); border-radius: 999px; cursor: pointer; box-shadow: var(--pg-shadow-sm);
  background: var(--pg-blanc); color: var(--pg-encre); transition: background .2s ease, transform .12s ease, box-shadow .12s ease;
}
.pg-blog-chip[aria-pressed="true"] { background: var(--pg-turquoise); }

.pg-blog-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pg-blog-list-head h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--pg-encre); }
.pg-blog-count { font-family: var(--pg-font-mono); font-size: 12.5px; color: #72808C; }

.pg-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.pg-blog-card {
  display: flex; flex-direction: column; border: var(--pg-border); border-radius: 16px; overflow: hidden;
  box-shadow: var(--pg-shadow-lg); background: var(--pg-blanc); text-decoration: none; color: var(--pg-encre);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pg-blog-card:hover { transform: translate(3px, 3px); box-shadow: var(--pg-shadow-sm); color: var(--pg-encre); }
.pg-blog-card__thumb { height: 160px; border-bottom: var(--pg-border); display: flex; overflow: hidden; }
.pg-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-blog-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pg-blog-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pg-blog-card__read { font-family: var(--pg-font-mono); font-size: 11.5px; color: #72808C; }
.pg-blog-card__title { font-weight: 800; font-size: 17.5px; line-height: 1.28; color: var(--pg-encre); }
.pg-blog-card__excerpt { margin: 0; font-size: 14px; line-height: 1.55; color: #4A4468; }
.pg-blog-card__date { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: #72808C; }

.pg-blog-empty {
  border: 2px dashed var(--pg-encre); border-radius: 16px; background: var(--pg-lavande);
  padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}
.pg-blog-empty__icon {
  width: 52px; height: 52px; border-radius: 14px; background: #E7E3FF; border: var(--pg-border);
  box-shadow: var(--pg-shadow-sm); display: grid; place-items: center; font-family: var(--pg-font-mono);
  font-size: 22px; font-weight: 600; color: var(--pg-violet);
}
.pg-blog-empty__title { font-weight: 800; font-size: 19px; color: var(--pg-encre); }
.pg-blog-empty p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4A4468; max-width: 400px; }
.pg-blog-empty button {
  margin-top: 6px; min-height: 46px; padding: 0 22px; background: var(--pg-violet); color: #fff;
  font-family: var(--pg-font-display); font-weight: 700; font-size: 14.5px; border: var(--pg-border);
  border-radius: 10px; box-shadow: var(--pg-shadow-md); cursor: pointer;
}

.pg-blog-footer { background: var(--pg-lavande); text-align: center; font-size: 11px; color: #4A4468; padding: 16px 20px; }
.pg-blog-footer a { color: #4A4468; text-decoration: underline; }
