/* =====================================================================
   XCLUSIV237 — habillage inspiré de la démo « Paparazzi » :
   titres à fort contraste, tuiles centrées, images carrées, accent rouge.
   Chargée après app.css.
   ===================================================================== */
:root {
  --red: #b50010;
  --red-dark: #8e000c;
  --radius: 0;
  --f-display: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --f-serif: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --f-sans: "Raleway", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --pap-soft: #fdf3f0;
  --container: 1160px;
}
body { font-weight: 400; color: #333; }
.card-title, .article-title, .page-title, .sec-title, .side-title, .pap-title { font-family: var(--f-display); font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---------- En-tête ---------- */
.site-header { background: #fff; color: #111; position: relative; }
.pap-topbar { background: #000; color: #fff; font-size: .8rem; }
.pap-topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.pap-toplinks { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; overflow: hidden; white-space: nowrap; }
.pap-toplinks a { color: #fff; }
.pap-toplinks a:hover { color: #ddd; }
.pap-topbar .icon-btn { color: #fff; background: none; border: 0; }

.pap-masthead { position: relative; overflow: hidden; background: #1a1a1a center/cover no-repeat; color: #fff; }
.pap-masthead::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); z-index: 1; }
.pap-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pap-video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; }
.pap-masthead-in { position: relative; z-index: 2; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; min-height: 104px; padding-block: 14px; }
.pap-masthead .burger span { background: #fff; }
.pap-left, .pap-right { display: none; }
.pap-brand { text-align: center; color: #fff; }
.pap-brand:hover { color: #fff; }
.pap-logo { display: block; width: min(190px, 52vw); height: auto; margin-inline: auto; }
.pap-tagline { display: none; margin: 8px 0 0; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .92); }
.pap-btn { display: inline-block; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 10px 16px; border: 0; }
.pap-btn:hover { background: var(--red-dark); color: #fff; }
.pap-pill { border-radius: 99px; padding: 9px 18px; font-size: .66rem; }
.pap-social { display: flex; justify-content: flex-end; gap: 12px; }
.pap-social a { color: #fff; display: grid; place-items: center; width: 24px; height: 24px; }
.pap-social a:hover { color: #ddd; }

/* Menu mobile : volet sombre existant, fond assuré ici */
.main-nav { background: var(--black); color: #fff; }

@media (min-width: 1000px) {
  .pap-masthead-in { grid-template-columns: 1fr auto 1fr; min-height: 142px; }
  .pap-masthead .burger { display: none; }
  .pap-left, .pap-right { display: block; }
  .pap-logo { width: 300px; }
  .pap-tagline { display: block; }
  .main-nav { display: block; background: #fff; color: #111; border-top: 0; border-bottom: 1px solid #eee; position: sticky; top: 0; }
  .main-nav .nav-list { justify-content: center; padding: 0; }
  .main-nav .nav-item { border: 0; }
  .main-nav .nav-item > a { color: #111; font-family: var(--f-sans); font-size: .74rem; font-weight: 700; letter-spacing: .03em; padding: 15px 13px; }
  .main-nav .nav-item > a:hover { color: var(--red); }
  .main-nav .sub-toggle { color: #111; }
  .main-nav .sub-menu { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); border-radius: 0; }
  .main-nav .sub-menu a { color: #333; }
  .main-nav .sub-menu a:hover { color: var(--red); background: none; }
}

/* ---------- Titres de section ---------- */
.pap-sec { padding-block: clamp(34px, 5vw, 58px); }
.pap-soft { background: var(--pap-soft); }
.pap-heading { display: flex; align-items: center; gap: 22px; margin: 0 0 clamp(22px, 3vw, 34px); }
.pap-heading::before, .pap-heading::after { content: ""; flex: 1; height: 2px; background: #eee; }
.pap-soft .pap-heading::before, .pap-soft .pap-heading::after { background: var(--red); }
.pap-title { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; color: #111; text-align: center; line-height: 1.15; }
.sec-head { border-bottom: 2px solid #eee; }
.sec-title { font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; color: #111; }
.sec-title span { color: inherit; }

/* ---------- Tuiles d'ouverture ---------- */
.pap-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pap-tiles .pap-tile-main { order: -1; }
.pap-tiles .card-overlay { min-height: 300px; border-radius: 0; }
@media (min-width: 700px) { .pap-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pap-tiles .pap-tile-main { grid-column: 1 / -1; min-height: 460px; } }
@media (min-width: 1000px) {
  .pap-tiles { grid-template-columns: 1fr 2.05fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
  .pap-tiles .pap-tile-main { order: 0; grid-column: 2; grid-row: 1 / 3; min-height: 640px; }
}
.pap-tiles .card-overlay .card-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; color: #fff; background: rgba(0, 0, 0, .3); }
.pap-tiles .card-title { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.22; color: #fff; margin: 6px 0; }
.pap-tiles .pap-tile-main .card-title { font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.2; }
.pap-tiles .meta { color: rgba(255, 255, 255, .85); font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; }
.pap-tiles .pap-btn { margin-top: 14px; }
.card-overlay .badge-cat, .card .badge-cat, .article .badge-cat { background: none; color: inherit; padding: 0; font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; border-radius: 0; }
.pap-tiles .badges, .pap-three .card-overlay .badges { justify-content: center; position: relative; z-index: 3; }

/* ---------- Tendances ---------- */
.pap-trending { display: grid; gap: 24px 40px; }
@media (min-width: 760px) { .pap-trending { grid-template-columns: 1fr 1fr; } }
.pap-trend { display: grid; grid-template-columns: 88px 34px 1fr; align-items: center; gap: 10px; }
.pap-trend-img { display: block; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; }
.pap-trend-img img { width: 100%; height: 100%; object-fit: cover; }
.pap-trend-num { font-family: var(--f-display); font-size: 2.2rem; color: var(--red); text-align: center; line-height: 1; }
.pap-trend .card-title { font-size: 1.05rem; line-height: 1.25; margin: 3px 0; color: #111; }
.pap-trend .badge-cat, .pap-trend .meta { font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; color: #555; }
.pap-trend .badge-cat { background: none; padding: 0; }

/* ---------- Actualités ---------- */
.pap-news { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .pap-news { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .pap-news { grid-template-columns: repeat(6, 1fr); }
  .pap-news .card-news { grid-column: span 2; }
  .pap-news .card-news.pap-news-lg { grid-column: span 3; }
}
.card-news { text-align: center; }
.card-news .card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; border-radius: 0; }
.card-news.pap-news-lg .card-media { aspect-ratio: 4 / 3; }
.card-news .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-news:hover .card-media img { transform: scale(1.03); }
.card-news .badges { justify-content: center; color: #555; }
.card-news .card-title { font-size: 1.22rem; line-height: 1.28; margin: 8px 0; color: #111; }
.card-news.pap-news-lg .card-title { font-size: 1.5rem; }
.card-news .meta { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.card-news .card-excerpt { color: #777; font-size: .86rem; margin: 14px 0 18px; }
.card-news .share { display: flex; justify-content: center; margin-top: 14px; }

/* ---------- Trois colonnes ---------- */
.pap-three { display: grid; gap: 28px; }
@media (min-width: 1000px) { .pap-three { grid-template-columns: 1fr 1.9fr 1fr; align-items: stretch; } }
.pap-three .card-overlay { min-height: 460px; height: 100%; border-radius: 0; }
.pap-three .card-overlay .card-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: rgba(0, 0, 0, .3); padding: 24px; }
.pap-three .card-overlay .card-title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
.pap-three .card-overlay .meta { color: rgba(255, 255, 255, .85); }
.pap-three .pap-btn { margin-top: 14px; }
.pap-col .card-default { margin-bottom: 18px; }
.pap-col .card-default .card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; }
.pap-col .card-default .card-media img { width: 100%; height: 100%; object-fit: cover; }
.pap-col .card-default .card-title { font-size: 1.18rem; line-height: 1.25; color: #111; }
.pap-col .card-list { grid-template-columns: 76px 1fr; padding-block: 10px; border: 0; }
.pap-col .card-list .card-title { font-size: 1rem; line-height: 1.25; color: #111; }
.pap-col .card-list .card-media { border-radius: 0; }

/* ---------- Cartes génériques (rubriques, recherche…) ---------- */
.card-media, .card-overlay, .card-list .card-media, .card-default .card-media { border-radius: 0; }
.card-default { text-align: center; }
.card-default .badges { justify-content: center; color: #555; }
.card-default .card-title { font-size: 1.2rem; line-height: 1.28; color: #111; }
.card-default .card-excerpt { color: #777; }
.card-list .badge-cat { color: #555; }
.card-list .card-title a:hover, .card-default .card-title a:hover { color: var(--red); }
.btn-red { background: var(--red); border-radius: 99px; }
.page-hero { text-align: center; }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); font-style: normal; }
.cat-lead .card-overlay .card-body { text-align: center; }
.cat-lead .badges { justify-content: center; }
.cat-lead .card-title { font-family: var(--f-display); font-weight: 600; }
.chips { justify-content: center; }

/* ---------- Article ---------- */
.pap-hero.article-head { max-width: none; width: 100%; margin: 0; }
.pap-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(320px, 42vw, 460px); padding: 48px 20px; background: #222; color: #fff; text-align: center; overflow: hidden; }
.pap-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.pap-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.pap-hero-in { position: relative; z-index: 1; max-width: 860px; }
.pap-hero .breadcrumb { justify-content: center; color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.pap-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.pap-hero .badges { justify-content: center; gap: 12px; color: #fff; }
.pap-hero .badge-cat { color: #fff; }
.pap-hero .article-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.16; margin: 12px 0 16px; }
.pap-hero .article-meta { justify-content: center; color: rgba(255, 255, 255, .85); border: 0; font-size: .74rem; margin: 0; padding: 0; }
.pap-hero .author-chip, .pap-hero .author-chip strong { color: #fff; }
.pap-hero .info-status { color: #fff; }
.article-hero:empty { display: none; }
.article-layout { padding-top: clamp(26px, 4vw, 44px); }
@media (min-width: 1050px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }
.article-lead { font-size: 1.1rem; color: #555; }
.pap-body { display: block; }
.pap-side-share { display: none; }
@media (min-width: 1050px) {
  .pap-body { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 24px; }
  .pap-side-share { display: block; position: sticky; top: 70px; align-self: start; text-align: center; }
  .pap-side-share .label { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; color: #666; margin-bottom: 10px; }
  .pap-side-share .share { flex-direction: column; align-items: center; }
}
.prose { color: #555; font-size: 1.04rem; line-height: 1.8; }
.prose > p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-size: 2.4rem; line-height: 1; padding: 12px 14px; margin: 6px 16px 4px 0; border: 2px solid #111; color: #111; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-display); color: #111; font-weight: 600; }
.prose blockquote { position: relative; margin: 30px 0; padding: 26px 26px 26px 66px; background: #f7f7f7; border: 0; color: #333; }
.prose blockquote::before { content: "”"; position: absolute; left: 20px; top: 8px; font-family: var(--f-display); font-size: 4rem; line-height: 1; color: var(--red); }
.prose a { color: var(--red); }
.side-title { font-size: 1.8rem; text-transform: uppercase; color: #111; line-height: 1.1; border: 0; margin: 0 0 18px; }
.side-block { margin-bottom: 40px; }
.article-sidebar .card-list { grid-template-columns: 76px 1fr; border: 0; padding-block: 10px; position: relative; }
.article-sidebar .card-num { background: var(--red); color: #fff; font-family: var(--f-sans); font-size: .62rem; font-weight: 700; left: 0; top: 10px; border-radius: 0; }
.article-sidebar .card-title { font-size: 1rem; line-height: 1.25; color: #111; }
.article-sidebar .badge-cat { display: none; }
.pap-follow { text-align: center; }
.pap-follow .pap-social { justify-content: center; }
.pap-follow .pap-social a { color: #111; }

/* ---------- Pied de page ---------- */
.site-footer { background: #111; }
.footer-news-title { font-family: var(--f-display); font-weight: 600; }

/* ---------- Newsletter + bande Instagram ---------- */
.footer-news { background: #000; color: #fff; padding: clamp(36px, 5vw, 50px) 0; border: 0; }
.pap-news-box { text-align: center; max-width: 620px; }
.pap-news-box .footer-news-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: #fff; margin: 0 0 12px; line-height: 1.15; }
.pap-news-sub { color: #a9a9a9; font-size: 1.1rem; margin: 0 0 22px; }
.footer-news .nl-interests { display: none; }
.footer-news .nl-row { display: flex; gap: 0; }
.footer-news .nl-row input[type=email] { flex: 1; min-width: 0; height: 40px; padding: 0 16px; background: #fff; color: #111; border: 0; border-radius: 0; font-size: .9rem; }
.footer-news .nl-row .btn-red { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.footer-news .nl-consent { display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: .68rem; line-height: 1.5; color: #ccc; text-transform: uppercase; letter-spacing: .02em; text-align: center; }
.footer-news .nl-consent a { color: #fff; }
.pap-insta { display: grid; grid-template-columns: repeat(3, 1fr); background: #000; }
@media (min-width: 800px) { .pap-insta { grid-template-columns: repeat(6, 1fr); } }
.pap-insta-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.pap-insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pap-insta-item:hover img { transform: scale(1.05); }
.pap-insta-hover { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s; }
.pap-insta-item:hover .pap-insta-hover, .pap-insta-item:focus .pap-insta-hover { opacity: 1; }
.site-footer { background: #000; }
.pap-news-box .footer-news-title { text-transform: none; letter-spacing: 0; }
.footer-news .nl-row .btn-red { background: var(--red); color: #fff; }
.footer-news .nl-row .btn-red:hover { background: var(--red-dark); }
.logo-footer .pap-logo { width: 220px; margin: 0; }

/* ---------- Nous suivre + Archives ---------- */
.pap-band-sub { text-align: center; color: #666; margin: -14px 0 28px; }
.pap-follow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .pap-follow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pap-follow-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pap-follow-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 10px 22px; background: #fff; color: #111; text-align: center; transition: background .2s, color .2s, transform .2s; }
.pap-follow-card:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.pap-follow-icon { display: grid; place-items: center; width: 40px; height: 40px; }
.pap-follow-icon svg { width: 26px; height: 26px; }
.pap-follow-name { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.pap-follow-cta { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.pap-follow-card:hover .pap-follow-cta { color: #fff; }
.section-archives { background: #fff; }
.pap-years { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 56px; }
.pap-year { display: flex; flex-direction: column; align-items: center; color: #111; }
.pap-year-num { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; line-height: 1.05; transition: color .2s; }
.pap-year:hover .pap-year-num { color: var(--red); }
.pap-year-count { margin-top: 6px; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #777; }
.pap-years-all { text-align: center; margin: 28px 0 0; }

/* ---------- Icônes de partage : noir simple ---------- */
.share { gap: 14px; align-items: center; }
.share .sh { width: 22px; height: 22px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: #111; display: inline-grid; place-items: center; transition: color .2s, transform .2s; }
.share .sh[hidden] { display: none; }
.share .sh:hover { background: none; color: var(--red); transform: translateY(-1px); }
.share .sh svg { width: 16px; height: 16px; color: inherit; fill: currentColor; }
.share .sh.sh-em svg, .share .sh.sh-native svg { width: 17px; height: 17px; }

/* Cartes d'actualité : bouton et partage alignés en bas de chaque carte */
.card-news { display: flex; flex-direction: column; align-items: center; }
.card-news .card-media { width: 100%; }
.card-news .card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-news .pap-btn { margin-top: auto; }
.card-news .card-excerpt + .pap-btn { margin-top: auto; }
.card-news .meta { margin-bottom: 14px; }
.card-news .share { width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eee; }
.card-news .share::before { content: "Partager"; font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #999; margin-right: 4px; }
.card-news .share .sh-em, .card-news .share .sh-native { display: none; }

/* ---------- Bloc vidéo pleine largeur ---------- */
.pap-vblock { --vh: 520px; position: relative; overflow: hidden; background: #111; color: #fff; }
.pap-vblock-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pap-vblock-video { position: absolute; inset: 0; pointer-events: none; }
.pap-vblock-video iframe { position: absolute; top: 50%; left: 50%; width: 100%; min-width: calc(var(--vh) * 1.7778); height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); border: 0; }
.pap-vblock::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.pap-vblock-in { position: relative; z-index: 1; display: grid; gap: 34px; padding-block: 42px; }
.pap-vblock .badge-cat { background: none; padding: 0; color: #fff; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pap-vblock-title { margin: 12px 0 14px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.16; color: #fff; }
.pap-vblock-title a, .pap-vblock-itemtitle a { color: #fff; }
.pap-vblock-title a:hover, .pap-vblock-itemtitle a:hover { color: #f3d9d6; }
.pap-vblock-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.pap-vblock-text { margin: 0 0 24px; max-width: 700px; line-height: 1.7; color: rgba(255, 255, 255, .95); }
.pap-vblock-side { display: grid; gap: 22px; align-content: center; }
.pap-vblock-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; }
.pap-vblock-thumb { display: block; width: 80px; height: 80px; overflow: hidden; }
.pap-vblock-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pap-vblock-itemtitle { margin: 4px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.25; color: #fff; }
@media (min-width: 1000px) {
  .pap-vblock-in { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 60px; align-items: center; min-height: var(--vh); padding-block: 40px; }
}
