@charset "UTF-8";

/* ==========================================================
   IPM TOOLS-DESIGN | marque-parismatch.css
   Surcouche Paris Match Belgique de la fiche marque (marque.css).
   Roboto et Open Sans Condensed self-hostées (licences libres).
   ========================================================== */

@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans Condensed"; src: url("../fonts/OpenSansCondensed-Light.woff2") format("woff2"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans Condensed"; src: url("../fonts/OpenSansCondensed-LightItalic.woff2") format("woff2"); font-weight: 300 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans Condensed"; src: url("../fonts/OpenSansCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

.marque-shell[data-brand="parismatch"] {
  --b-primary: #1b1a19;
  --b-accent: #d7262c;
  --b-accent2: #f7b500;
  --pm-title: "Open Sans Condensed", "Arial Narrow", sans-serif;
  --pm-base: "Roboto", Helvetica, Arial, sans-serif;
}
[data-theme="dark"] .marque-shell[data-brand="parismatch"] { --b-accent: #ff5a5f; }
[data-brand="parismatch"] ::selection { background: #d7262c; color: #fff; }

/* ---------- Hero ---------- */
.pm-hero__logo { margin-bottom: 34px; }
.pm-hero__logo img { height: 92px; width: auto; max-height: none; }
.pm-hero__logo .is-dark { display: none; }
[data-theme="dark"] .pm-hero__logo .is-light { display: none; }
[data-theme="dark"] .pm-hero__logo .is-dark { display: block; }
.pm-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex; }
.pm-hero__bar span { flex: 1; }
.pm-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.pm-meta li { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.pm-meta b { color: var(--ink); font-weight: 600; }

.pm-note { border-left: 3px solid #d7262c; padding: 14px 18px; background: var(--bg-2); font-size: 14px; line-height: 1.6; color: var(--ink-soft); max-width: 72ch; margin: 18px 0 26px; }
.pm-note strong { color: var(--ink); }
.pm-mt { margin-top: 48px; }
.marque-sec--last { border-bottom: 0; }
[data-brand="parismatch"] .marque-sec__text code, [data-brand="parismatch"] .pm-note code { font-family: var(--f-mono); font-size: 0.88em; padding: 1px 5px; background: var(--bg-2); border: 1px solid var(--line); }
[data-brand="parismatch"] .swatches + .marque-sec__title,
[data-brand="parismatch"] .pm-note + .marque-sec__title { margin-top: 48px; }

/* ---------- Logo ---------- */
.pm-board { margin: 30px 0; padding: 60px; border: 1px solid var(--line); display: grid; place-items: center; min-height: 280px; background: var(--bg-2); }
.pm-board img { height: 150px; width: auto; }
.pm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
@media (max-width: 720px) { .pm-duo { grid-template-columns: 1fr; } }
.pm-duo figure { margin: 0; }
.pm-duo .pm-board { margin: 0; min-height: 220px; padding: 40px; }
.pm-duo .pm-board img { height: 110px; }
.pm-duo figcaption { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }
.pm-board--noir { background: #1b1a19; }
.pm-board--white { background: #fff; }

.pm-clear { position: relative; display: inline-block; padding: 30px; outline: 1px dashed #d7262c; }
.pm-clear img { height: 110px; width: auto; }
.pm-clear__tag { position: absolute; top: -10px; left: 12px; background: var(--bg-2); padding: 0 6px; font-family: var(--f-mono); font-size: 11px; color: #d7262c; }

.logo-variant img { max-height: 54px; max-width: 70%; width: auto; }
.logo-variant { position: relative; }
.logo-variant__cap { position: absolute; left: 10px; bottom: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: rgba(255,255,255,.8); }
.logo-variant--light .logo-variant__cap, .logo-variant--fond .logo-variant__cap { color: #686868; }
.logo-variant--noir { background: #1b1a19; }
.logo-variant--fond { background: #f4f4f4; }
.logo-variant--photo { background: linear-gradient(180deg, rgba(0,27,37,.1), rgba(0,27,37,.6)), linear-gradient(135deg, #c9a98c, #7d6a62 45%, #2a2f38); }
[data-brand="parismatch"] .dont { display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* ---------- Couleurs ---------- */
.swatches--4 { grid-template-columns: repeat(4, 1fr); }
.swatches--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .swatches--4, .swatches--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .swatches--4, .swatches--3 { grid-template-columns: 1fr; } }
.swatch__chip { position: relative; display: flex; align-items: flex-end; padding: 12px 14px; }
.swatch__chip--line { border-bottom: 1px solid var(--line); }
.swatch__var { font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.85); }
.swatch__chip--light .swatch__var { color: rgba(0,0,0,.6); }
.swatch__aa { font-family: var(--f-mono); font-size: 10px; margin-top: 8px; color: var(--muted); }
button.copy { all: unset; cursor: pointer; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); border-bottom: 1px dotted var(--line-strong); }
button.copy:hover, button.copy:focus-visible { color: var(--b-accent); border-color: var(--b-accent); }
button.copy.is-copied { color: #2f8f4e; border-color: transparent; }

.shades { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); margin: 20px 0 8px; }
.shades--8 { grid-template-columns: repeat(8, 1fr); }
.shade { height: 92px; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; font-family: var(--f-mono); font-size: 11px; color: #fff; }
.shade b { font-weight: 600; }
.shade--ink { color: #262729; }
@media (max-width: 760px) { .shades, .shades--8 { grid-template-columns: repeat(3, 1fr); } .shade { height: 74px; } }

/* Puces */
.c-rouge { background: #d7262c; } .c-noir { background: #1b1a19; } .c-blanc { background: #fff; } .c-rouge-logo { background: #ec1c24; }
.c-encre { background: #262729; } .c-texte { background: #525252; } .c-gris { background: #686868; } .c-fond { background: #f4f4f4; }
.c-widget { background: #eeeeee; } .c-galerie { background: #001b25; } .c-gris-clair { background: #bdbdbd; } .c-ligne { background: #e3e3e3; }
.c-pay { background: #f2c93d; } .c-pay-dark { background: #f7b500; } .c-pay-ink { background: #5d3c10; } .c-pay-light { background: #ffe559; }
.s-r1 { background: #e05055; } .s-r2 { background: #d7262c; } .s-r3 { background: #ac1e23; } .s-r4 { background: #80171a; } .s-r5 { background: #7b060a; } .s-r6 { background: #550f11; }
.s-g1 { background: #22252b; } .s-g2 { background: #343a40; } .s-g3 { background: #4a5057; } .s-g4 { background: #858e96; }
.s-g5 { background: #acb5bd; } .s-g6 { background: #cfd4da; } .s-g7 { background: #dee2e6; } .s-g8 { background: #ebedef; }

/* ---------- Typographie ---------- */
.specimen--osc .specimen__big { font-family: var(--pm-title); font-weight: 700; letter-spacing: -0.005em; text-transform: uppercase; }
.specimen--osc .specimen__set { font-family: var(--pm-title); font-weight: 700; }
.specimen--roboto .specimen__big { font-family: var(--pm-base); font-weight: 500; }
.specimen--roboto .specimen__set { font-family: var(--pm-base); font-weight: 400; }
.specimen__meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.type-role__w { flex: 0 0 280px; font-size: 19px; }
.tw-o7 { font-family: var(--pm-title); font-weight: 700; font-size: 22px; } .tw-o3 { font-family: var(--pm-title); font-weight: 300; font-size: 22px; }
.tw-r7 { font-family: var(--pm-base); font-weight: 700; } .tw-r5 { font-family: var(--pm-base); font-weight: 500; }
.tw-r4 { font-family: var(--pm-base); font-weight: 400; } .tw-r3 { font-family: var(--pm-base); font-weight: 300; }

.scale { margin: 26px 0; border-top: 1px solid var(--line); }
.scale__group { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--b-accent); padding: 22px 0 6px; }
.scale__row { display: grid; grid-template-columns: 1fr 240px; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.scale__sample { color: var(--ink); overflow-wrap: anywhere; }
.scale__spec { font-family: var(--f-mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.scale__spec b { display: block; color: var(--ink-soft); font-weight: 600; font-size: 12px; }
@media (max-width: 640px) { .scale__row { grid-template-columns: 1fr; gap: 6px; } }
.s-tag { font-family: var(--pm-base); font-size: 16px; color: #d7262c; }
.s-h1 { font-family: var(--pm-title); font-weight: 700; font-size: 30px; line-height: 32px; }
.s-chapo { font-family: var(--pm-title); font-weight: 400; font-size: 24px; line-height: 32px; }
.s-date { font-family: var(--pm-base); font-size: 16px; line-height: 21px; color: var(--muted); }
.s-text { font-family: var(--pm-base); font-weight: 400; font-size: 20px; line-height: 26px; }
.s-h2 { font-family: var(--pm-title); font-weight: 700; font-size: 27px; line-height: 32px; }
.s-quote { font-family: var(--pm-title); font-weight: 700; font-style: italic; font-size: 24px; line-height: 34px; }
.s-qsig { font-family: var(--pm-base); font-weight: 500; font-size: 20px; line-height: 26px; color: #d7262c; }
.s-cap { font-family: var(--pm-base); font-style: italic; font-size: 16px; line-height: 21px; }
.s-page { font-family: var(--pm-title); font-weight: 700; font-size: 40px; line-height: 45px; color: #d7262c; }
.s-chain { font-family: var(--pm-title); font-weight: 700; font-size: 35px; line-height: 40px; color: #d7262c; }
.s-teaser { font-family: var(--pm-title); font-weight: 700; font-size: 24px; line-height: 26px; }
.s-desc { font-family: var(--pm-base); font-size: 14px; line-height: 19px; }
.s-tags { font-family: var(--pm-title); font-weight: 700; font-size: 11px; line-height: 20px; text-transform: uppercase; }
.s-tags b { background: #d7262c; color: #fff; padding: 2px 6px; margin-right: 6px; }
.s-sig { font-family: var(--pm-base); font-weight: 300; font-size: 13px; }
.s-top { font-family: var(--pm-title); font-weight: 700; font-size: 45px; line-height: 1; color: #d7262c; }
[data-theme="dark"] .s-page, [data-theme="dark"] .s-chain, [data-theme="dark"] .s-tag, [data-theme="dark"] .s-qsig, [data-theme="dark"] .s-top { color: #ff5a5f; }

/* ---------- Composants ---------- */
.comp-board { border: 1px solid var(--line); background: #f4f4f4; color: #525252; padding: 30px; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pm-btn { font-family: var(--pm-base); font-weight: 400; font-size: 13px; line-height: 1; padding: 0.75rem 1.25rem; border-radius: 0.25rem; border: 1px solid #bdbdbd; background: #fff; color: #262729; cursor: pointer; transition: all .3s cubic-bezier(.4,0,.2,1); }
.pm-btn--abo { background: #f7b500; border-color: #f7b500; color: #5d3c10; }
.pm-btn--abo:hover { background: #f6a200; border-color: #f6a200; }
.pm-btn--rouge { background: #d7262c; border-color: #d7262c; color: #fff; }
.pm-btn--rouge:hover { background: #ac1e23; border-color: #ac1e23; }
.pm-btn--dark { background: #262729; border-color: #262729; color: #fff; }
.pm-btn--dark:hover { background: #111; border-color: #111; }
.pm-btn--off { background: #e1e4e8; border-color: #e1e4e8; color: #a6aebc; cursor: not-allowed; }
.pm-btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(215,38,44,.45); }
.pm-pill { font-family: var(--pm-base); font-size: 16px; line-height: 1; padding: .3rem .8rem; border-radius: 9999px; background: #f7b500; color: #5d3c10; }

.pm-teasers { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin: 22px 0; background: #f4f4f4; padding: 16px; border: 1px solid var(--line); }
@media (max-width: 760px) { .pm-teasers { grid-template-columns: 1fr; } }
.pm-teaser { background: #fff; color: #686868; position: relative; }
.pm-teaser__img { aspect-ratio: 4/3; position: relative; }
.pm-teaser__img--1 { background: linear-gradient(140deg, #c7b6a6, #5a4a44); }
.pm-teaser__img--2 { background: linear-gradient(140deg, #9fb4c8, #3a4d63); }
.pm-teaser__img--3 { background: linear-gradient(140deg, #d8c2a0, #6e5a3a); }
.pm-teaser__sec { position: absolute; left: 0; bottom: 0; background: #d7262c; color: #fff; font-family: var(--pm-title); font-weight: 700; font-size: 13px; padding: 4px 10px; text-transform: uppercase; letter-spacing: .02em; }
.pm-teaser__body { padding: 14px 16px 16px; }
.pm-teaser__title { font-family: var(--pm-title); font-weight: 700; font-size: 22px; line-height: 25px; margin: 0 0 10px; color: #262729; }
.pm-teaser__sig { font-family: var(--pm-base); font-weight: 300; font-size: 13px; color: #686868; border-top: 2px solid #d7262c; padding-top: 6px; display: inline-block; }
.pm-teaser--une { background: #1b1a19; color: #fff; }
.pm-teaser--une .pm-teaser__title { color: #fff; font-size: 30px; line-height: 34px; }
.pm-teaser--une .pm-teaser__sig { color: #fff; }

.pm-chain { margin: 22px 0; border: 1px solid var(--line); background: #f4f4f4; padding: 22px; }
.pm-chain__title { font-family: var(--pm-title); font-weight: 700; font-size: 35px; line-height: 40px; color: #d7262c; text-align: center; margin: 0; }
.pm-gallery { margin: 22px 0; background: #001b25; color: #fff; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pm-gallery b { font-family: var(--pm-title); font-weight: 700; font-size: 26px; }
.pm-gallery span { font-family: var(--f-mono); font-size: 12px; opacity: .7; }

/* ---------- Dev ---------- */
.code { position: relative; border: 1px solid var(--line); background: #1b1a19; color: #f1eded; margin: 22px 0; }
.code pre { margin: 0; padding: 22px; overflow-x: auto; font-family: var(--f-mono); font-size: 13px; line-height: 1.65; }
.code .k { color: #ff6b70; } .code .v { color: #f7b500; } .code .c { color: #8d8b88; }
.code__copy { position: absolute; top: 10px; right: 10px; font-family: var(--f-mono); font-size: 11px; color: #f1eded; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 5px 10px; cursor: pointer; }
.code__copy:hover { background: #d7262c; border-color: #d7262c; }
[data-brand="parismatch"] .dl-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { [data-brand="parismatch"] .dl-grid { grid-template-columns: repeat(2, 1fr); } }
.dl-item__prev--noir { background: #1b1a19; } .dl-item__prev--fond { background: #f4f4f4; }
.dl-item__prev--code { background: #1b1a19; color: #ff6b70; font-family: var(--f-mono); font-size: 22px; font-weight: 600; }
.dl-item__prev img { width: auto; max-height: 48px; }
a.dl-item { display: block; color: inherit; }

@media (max-width: 900px) {
  [data-brand="parismatch"] .marque-main { width: 100%; }
  [data-brand="parismatch"] .spec-list li { flex-wrap: wrap; gap: 4px 20px; }
  [data-brand="parismatch"] .spec-list li span:last-child { overflow-wrap: anywhere; }
}

/* ---------- Easter egg 1949 ---------- */
.pm-1949 { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 20px; background: rgba(10,10,10,.93); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease; }
.pm-1949.is-on { opacity: 1; }
.pm-1949__flash { position: fixed; inset: 0; background: #fff; pointer-events: none; animation: pm-flash .6s ease-out forwards; }
@keyframes pm-flash { from { opacity: 1; } to { opacity: 0; } }
.pm-1949__card { max-width: 520px; width: 100%; text-align: center; color: #fff; }
.pm-1949__card img { width: 220px; height: auto; margin: 0 auto 26px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); }
.pm-1949__card .pm-1949__slogan { font-family: "Open Sans Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: clamp(30px, 6vw, 46px); line-height: 1.05; text-transform: uppercase; margin: 0 0 16px; }
.pm-1949__slogan em { font-style: normal; color: #d7262c; }
.pm-1949__card p { font-family: "Roboto", Arial, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.55; margin: 0 0 18px; color: rgba(255,255,255,.85); }
.pm-1949__close { font-family: var(--f-mono); font-size: 12px; background: #d7262c; color: #fff; border: 0; padding: 9px 16px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pm-1949, .pm-1949__flash { transition: none; animation: none; opacity: 0; } .pm-1949.is-on { opacity: 1; } }
