/*
 * Espace presse (/news/press/) et dossier média (/news/press/media-kit/), univers nuit de la
 * Newsroom (news/news.css). Portée : body.news-page--press ; dossier : body.news-page--press-kit.
 * Rendu : news/src/render.mjs (renderPress, renderMediaKit) et news/src/press-kit-render.mjs.
 */

.news-page--press .news-button svg,
.news-page--press .pk-file svg,
.news-page--press .pk-terms > a svg,
.news-page--press .pk-contact a svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.news-page--press .news-button {
  gap: 10px;
}

/* Lien de fichier : format, dimensions et poids. */
.news-page--press .pk-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #a9c4ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.news-page--press .pk-file:hover {
  color: #d5e2ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-page--press .pk-file svg {
  width: 16px;
  height: 16px;
  color: #67e0b9;
}

/* ---------- Espace presse : 01 annonces et 02 ressources ---------- */

.press-announcements {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--news-line);
}

.press-announcements a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  border-bottom: 1px solid var(--news-line);
  padding: 18px 0;
  text-decoration: none;
}

.press-announcements time {
  color: var(--news-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.press-announcements b {
  grid-column: 1;
  color: #e1e8f5;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.press-announcements a > span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #67e0b9;
}

.press-announcements a:hover b {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.press-resources {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.press-resources li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #dce7f8;
  font-size: 14px;
  line-height: 1.45;
}

.press-resources li::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cb-accent-gradient);
  translate: 0 -2px;
}

.press-resources__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.press-grid .press-resources__actions .news-button {
  margin-top: 0;
}

/* ---------- Dossier média ---------- */

.news-page--press-kit .pk {
  --pk-panel-radius: 24px;
}

.pk-hero {
  padding-block: clamp(56px, 7vw, 112px) clamp(48px, 5vw, 84px);
  background:
    linear-gradient(rgba(110, 144, 204, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 144, 204, .035) 1px, transparent 1px),
    radial-gradient(circle at 30% 10%, rgba(85, 115, 231, .16), transparent 38%);
  background-size: 60px 60px, 60px 60px, auto;
}

.pk-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
}

.pk-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  color: var(--news-muted);
  font-size: 13px;
}

.pk-breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: .6;
}

.pk-breadcrumb a {
  color: var(--news-muted);
  text-decoration: none;
}

.pk-breadcrumb a:hover {
  color: #eef4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pk-breadcrumb [aria-current] {
  color: #dce7f8;
}

.pk-hero h1 {
  margin: 0;
  color: var(--cb-display-ink-dark);
  font-family: var(--cb-display-font);
  font-size: var(--cb-title-hero);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
}

.pk-hero h1 em,
.pk-type__sample em {
  background: var(--cb-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.pk-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--cb-lead-ink-dark);
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: var(--cb-lead-weight);
  letter-spacing: var(--cb-lead-tracking);
  line-height: 1.55;
}

.pk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.pk-actions .news-button {
  min-height: 60px;
  padding: 10px 24px 10px 20px;
  text-align: left;
}

.pk-actions .news-button > span {
  display: grid;
  gap: 2px;
}

.pk-actions small {
  font-size: 12px;
  font-weight: 500;
  opacity: .82;
}

.pk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--news-muted);
  font-size: 13px;
}

.pk-meta span {
  border: 1px solid var(--news-line);
  border-radius: 999px;
  padding: 4px 12px;
}

.pk-zip {
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background: var(--news-panel);
  padding: 24px 26px 14px;
}

.pk-zip__title {
  margin: 0 0 12px;
  color: #e1e8f5;
  font-size: 15px;
  font-weight: 700;
}

.pk-zip ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pk-zip li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid var(--news-line);
  padding: 11px 0;
  font-size: 14px;
}

.pk-zip li span,
.pk-index span,
.pk-media__index,
.pk-toc a span {
  color: #67e0b9;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0;
}

.pk-zip li b {
  color: #dce7f8;
  font-weight: 500;
}

.pk-zip li i {
  color: var(--news-muted);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.pk-zip .pk-file {
  margin-top: 4px;
}

/* Sommaire collant sous l'en-tête fixe. */
.pk-toc {
  position: sticky;
  z-index: 20;
  top: var(--cb-chrome-height, 100px);
  border-block: 1px solid var(--news-line);
  background: rgba(2, 7, 20, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.pk-toc ol {
  display: flex;
  gap: 4px;
  margin: 0 0 0 -14px;
  padding: 8px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.pk-toc ol::-webkit-scrollbar {
  display: none;
}

.pk-toc a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--news-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pk-toc a:hover {
  background: rgba(255, 255, 255, .05);
  color: #eef4ff;
}

.pk-section {
  padding-block: clamp(64px, 7vw, 112px) 0;
  scroll-margin-top: calc(var(--cb-chrome-height, 100px) + 72px);
}

.pk-section--last {
  padding-bottom: clamp(80px, 9vw, 140px);
}

.pk-section__head {
  max-width: 900px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.pk-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--cb-eyebrow-ink-dark);
  font-size: var(--cb-eyebrow-size);
  font-weight: var(--cb-eyebrow-weight);
  letter-spacing: var(--cb-eyebrow-tracking);
  line-height: 1.4;
  text-transform: uppercase;
}

.pk-section h2 {
  margin: 0;
  color: var(--cb-display-ink-dark);
  font-family: var(--cb-display-font);
  font-size: var(--cb-title-section-side);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
}

.pk-section__lead {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--cb-lead-ink-dark);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: var(--cb-lead-weight);
  letter-spacing: var(--cb-lead-tracking);
  line-height: 1.55;
}

/* 01 L'essentiel */
.pk-facts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.pk-facts {
  margin: 0;
  border-top: 1px solid var(--news-line-strong);
}

.pk-facts > div {
  display: grid;
  grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
  gap: 6px 24px;
  border-bottom: 1px solid var(--news-line);
  padding: 16px 0;
}

.pk-facts dt,
.pk-naming dt,
.pk-film__files b {
  color: var(--news-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pk-facts dt {
  padding-top: 3px;
}

.pk-facts dd {
  margin: 0;
  color: #dce7f8;
  font-size: 16px;
  line-height: 1.5;
}

.pk-facts dd a,
.pk-rules a {
  color: #a9c4ff;
  text-underline-offset: 3px;
}

.pk-announcement {
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background: var(--news-panel);
}

.pk-announcement img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
}

.pk-announcement__body {
  padding: 26px 28px 22px;
}

.pk-announcement__label {
  margin: 0;
  color: #67e0b9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pk-announcement h3 {
  margin: 12px 0 0;
  color: #eef4ff;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

.pk-announcement ul,
.pk-rules ul,
.pk-terms ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pk-announcement ul {
  gap: 12px;
  margin-top: 18px;
}

.pk-announcement li {
  position: relative;
  padding-left: 18px;
  color: var(--news-muted);
  font-size: 15px;
  line-height: 1.55;
}

.pk-announcement li::before,
.pk-terms li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cb-accent-gradient);
}

.pk-announcement li b {
  color: #e1e8f5;
  font-weight: 600;
}

.pk-announcement__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

/* 02 À propos */
.pk-texts {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  align-items: start;
}

.pk-text {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background: var(--news-panel);
  padding: 26px 28px;
}

.pk-text header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pk-text h3 {
  margin: 0;
  color: #e1e8f5;
  font-size: 17px;
  font-weight: 600;
}

.pk-text header span {
  color: var(--news-muted);
  font-size: 12px;
}

.pk-text__body {
  flex: 1;
  color: #dce7f8;
  font-size: 15.5px;
  line-height: 1.65;
}

.pk-text__body p {
  margin: 0 0 12px;
}

.pk-copy {
  align-self: flex-start;
  min-height: 40px;
  margin-top: 8px;
  border: 1px solid var(--news-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  padding: 8px 16px;
  color: #eef4ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.pk-copy:hover {
  border-color: rgba(103, 224, 185, .46);
  background: rgba(103, 224, 185, .08);
}

.pk-copy[data-state='done'] {
  border-color: rgba(103, 224, 185, .62);
  color: #9ff0d4;
}

.pk-naming {
  grid-column: 1 / -1;
  border: 1px dashed var(--news-line-strong);
  border-radius: var(--pk-panel-radius);
  padding: 22px 28px;
}

.pk-naming h3 {
  margin: 0 0 14px;
  color: #e1e8f5;
  font-size: 15px;
  font-weight: 700;
}

.pk-naming dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
}

.pk-naming dd {
  margin: 6px 0 0;
  color: #dce7f8;
  font-size: 15px;
  line-height: 1.5;
}

/* 03 Logos */
.pk-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pk-logo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background: var(--news-panel);
}

.pk-logo__stage {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  padding: 8% 12%;
}

.pk-logo--light .pk-logo__stage {
  background: #fbf4e6;
}

.pk-logo--dark .pk-logo__stage {
  background: #07083f;
}

.pk-logo__stage img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

.pk-logo figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 20px 24px 0;
}

.pk-logo figcaption b {
  color: #e1e8f5;
  font-size: 16px;
  font-weight: 600;
}

.pk-logo figcaption span {
  color: var(--news-muted);
  font-size: 13px;
}

.pk-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  padding: 6px 24px 14px;
}

.pk-rules {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 20px 48px;
  margin-top: 28px;
}

.pk-rules ul {
  gap: 10px;
}

.pk-rules li {
  position: relative;
  padding-left: 26px;
  color: #dce7f8;
  font-size: 15px;
  line-height: 1.55;
}

.pk-rules li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #67e0b9;
  font-weight: 700;
}

.pk-rules p {
  margin: 0;
  color: var(--news-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* 04 Couleurs et typographie */
.pk-colours {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
  gap: 20px;
}

.pk-swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pk-swatch {
  display: grid;
  align-content: start;
  gap: 3px;
  border: 1px solid var(--news-line);
  border-radius: 20px;
  background: var(--news-panel);
  padding: 14px 14px 16px;
}

.pk-swatch__chip {
  height: 84px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--pk-swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.pk-swatch b {
  color: #e1e8f5;
  font-size: 15px;
  font-weight: 600;
}

.pk-swatch code,
.pk-type code {
  color: #dce7f8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.pk-swatch > span:not(.pk-swatch__chip) {
  color: var(--news-muted);
  font-size: 12.5px;
}

.pk-copy--chip {
  justify-self: start;
  min-height: 32px;
  margin: 10px 0 0;
  padding: 4px 12px;
  font-size: 12px;
}

.pk-type {
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background: var(--news-panel);
  padding: 26px 28px;
}

.pk-type__sample {
  margin: 0;
  color: #eef4ff;
  font-family: var(--cb-display-font);
  font-size: clamp(64px, 6vw, 96px);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: 1;
}

.pk-type h3 {
  margin: 18px 0 6px;
  color: #e1e8f5;
  font-size: 17px;
  font-weight: 600;
}

.pk-type p:not(.pk-type__sample) {
  margin: 0;
  color: var(--news-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.pk-gradient {
  display: block;
  height: 14px;
  margin: 22px 0 10px;
  border-radius: 999px;
  background: var(--cb-accent-gradient);
}

/* 05–06 Illustrations et écrans */
.pk-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pk-gallery--screens {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pk-media {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--news-line);
  border-radius: 20px;
  background: var(--news-panel);
}

.pk-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #fff;
  object-fit: contain;
}

.pk-gallery--screens .pk-media img {
  aspect-ratio: 2 / 1;
  background: #fff;
  object-fit: cover;
  object-position: top left;
}

.pk-media figcaption {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 6px;
  padding: 16px 18px 4px;
}

.pk-media figcaption b {
  color: #e1e8f5;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.pk-media figcaption span:last-child {
  color: var(--news-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.pk-media .pk-file {
  margin: 0 18px 10px;
}

.pk-note {
  margin: 18px 0 0;
  color: var(--news-muted);
  font-size: 13px;
}

/* 07 Film */
.pk-film {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .65fr);
  gap: 28px;
  align-items: start;
}

.pk-film__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background: #000;
}

.pk-film__files {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--news-line-strong);
}

.pk-film__files li {
  display: grid;
  justify-items: start;
  gap: 4px;
  border-bottom: 1px solid var(--news-line);
  padding: 16px 0 10px;
}

.pk-film__captions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
}

.pk-film__captions i {
  color: var(--news-muted);
  font-size: 12px;
  font-style: normal;
}

.news-page--press .pk-file--inline {
  min-height: 36px;
  font-size: 14px;
}

/* 08 Utilisation et contact */
.pk-use {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 28px 56px;
  align-items: start;
}

.pk-terms ul {
  border-top: 1px solid var(--news-line-strong);
}

.pk-terms li {
  position: relative;
  border-bottom: 1px solid var(--news-line);
  padding: 16px 0 16px 26px;
  color: #dce7f8;
  font-size: 16px;
  line-height: 1.55;
}

.pk-terms li::before {
  top: 1.55em;
}

.pk-terms > a,
.pk-contact a:not(.news-button) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #a9c4ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.pk-terms > a {
  margin-top: 12px;
}

.pk-terms > a:hover,
.pk-contact a:not(.news-button):hover {
  color: #d5e2ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pk-contact {
  display: grid;
  justify-items: start;
  gap: 12px;
  border: 1px solid var(--news-line);
  border-radius: var(--pk-panel-radius);
  background:
    linear-gradient(160deg, rgba(86, 126, 255, .16), rgba(103, 224, 185, .05) 70%),
    var(--news-panel);
  padding: 28px;
}

.pk-contact h3 {
  margin: 0;
  color: #eef4ff;
  font-size: 23px;
  font-weight: 600;
}

.pk-contact p {
  margin: 0 0 6px;
  color: var(--news-muted);
  font-size: 15px;
  line-height: 1.55;
}

.pk-contact__phone {
  color: #dce7f8 !important;
}

@media (prefers-reduced-motion: no-preference) {
  .press-announcements a > span {
    transition: translate .25s var(--news-ease);
  }

  .press-announcements a:hover > span {
    translate: 4px 0;
  }
}

@media (max-width: 1100px) {
  .pk-hero__grid,
  .pk-facts-grid,
  .pk-colours,
  .pk-film,
  .pk-use,
  .pk-texts,
  .pk-rules {
    grid-template-columns: minmax(0, 1fr);
  }

  .pk-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pk-zip {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .pk-breadcrumb ol {
    margin-bottom: 26px;
  }

  .pk-actions .news-button {
    justify-content: flex-start;
  }

  .pk-facts > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .pk-logos,
  .pk-gallery,
  .pk-gallery--screens,
  .pk-naming dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .pk-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pk-text,
  .pk-naming,
  .pk-type,
  .pk-contact,
  .pk-zip {
    padding-inline: 20px;
  }

  .pk-announcement__body {
    padding-inline: 20px;
  }

  .pk-logo figcaption,
  .pk-files {
    padding-inline: 18px;
  }
}
