/* Page « Promesses » : promesses de 2017 citées, en face de ce qui a été fait. Reprend style.css et registre.css. */
.pm-compte { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 26px; }
.pm-compte p { margin: 0; padding: 18px 22px; border-radius: 22px; background: #F5F5F7; min-width: 220px; }
.pm-compte b { display: block; font-size: clamp(44px, 6vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 780; color: var(--bleu); font-variant-numeric: tabular-nums; }
.pm-compte span { display: block; margin-top: 6px; font-size: 15px; color: var(--texte-2); }
.pm-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pm-liste { grid-template-columns: 1fr 1fr; } }
.pm { display: flex; flex-direction: column; padding: 24px 24px 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 10px 30px rgba(0,0,0,.04); opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ressort), transform .8s var(--ressort); }
.pm.vu { opacity: 1; transform: none; }
.pm[hidden] { display: none; }
.pm-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.pm-th { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--texte-3); }
.pm-etat { padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: #E7F6EC; color: #0A7A3B; }
.pm-etat.plus { background: var(--bleu); color: #fff; }
.pm-promesse { margin: 0 0 16px; font-size: 16.5px; line-height: 1.5; color: var(--texte-2); }
.pm-promesse cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; }
.pm-promesse cite a { color: var(--texte-3); text-decoration: underline; text-underline-offset: 2px; }
.pm-fait { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--trait); font-size: 19px; line-height: 1.35; font-weight: 700; letter-spacing: -.015em; color: var(--texte); }
.pm-fait svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #0A7A3B; stroke: #fff; stroke-width: 3; fill: none; box-sizing: border-box; }
.pm-src { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--texte-3); }
.pm-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pm-note { margin: 30px 0 0; font-size: 14px; color: var(--texte-3); }
.pmp .rg-cats { margin-top: 4px; }
/* v9 : photos, comme sur les premières pages */
.pmp { padding-top: 0; }
.pm-hero { position: relative; height: min(68vh, 640px); overflow: hidden; background: #000; }
.pm-hero img { width: 100%; height: 100%; object-fit: cover; animation: zoom 3s var(--ressort) both; }
.pm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(255,255,255,1)); }
.pm-hero-credit { position: absolute; z-index: 1; right: 16px; bottom: 34px; margin: 0; font-size: 11px; color: rgba(0,0,0,.55); }
.pmp .rg-tete { margin-top: -120px; position: relative; z-index: 1; }
.pm-groupes { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.pm-groupe[hidden] { display: none; }
.pm-partager { align-self: flex-start; }
@media (max-width: 639px) { .pm-hero { height: 52vh; } .pmp .rg-tete { margin-top: -70px; } }
.ds-partager { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; background: #1D1D1F; color: #fff; }
.ds-partager svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ds-partager:disabled { opacity: .6; cursor: progress; }

/* En-tête de thème : grande photo, titre posé dessus, une coche par promesse tenue */
.pm-g-photo { position: relative; margin: 0 0 18px; border-radius: 28px; overflow: hidden; background: #111; isolation: isolate; }
.pm-g-photo img { display: block; width: 100%; height: clamp(300px, 34vw, 420px); object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ressort); }
.pm-groupe.vu .pm-g-photo img { transform: none; }
.pm-g-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.18) 52%, rgba(0,0,0,.86) 100%), linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 62%); }
.pm-g-texte { position: absolute; z-index: 1; left: clamp(22px, 3.4vw, 40px); right: clamp(22px, 3.4vw, 40px); bottom: clamp(20px, 3vw, 34px); color: #fff; }
.pm-g-num { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
.pm-g-photo h2 { margin: 0; font-size: clamp(46px, 7vw, 92px); line-height: .9; letter-spacing: -.055em; font-weight: 790; color: #fff; }
.pm-g-bilan { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 0; font-size: clamp(15px, 1.5vw, 17px); font-weight: 600; }
.pm-g-coches { display: inline-flex; gap: 6px; }
.pm-g-coches i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1FA45A; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.pm-g-coches i.plus { background: var(--bleu); }
.pm-g-coches svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pm-g-bilan span { opacity: .92; }
.pm-g-photo figcaption { position: absolute; z-index: 1; top: 14px; right: 16px; font-size: 10.5px; color: rgba(255,255,255,.78); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media (max-width: 639px) { .pm-g-photo { border-radius: 22px; } .pm-g-photo img { height: 340px; } }

