/* ==========================================================================
   Le Petit Niçois
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Archivo:wght@400;500;600;700;800;900&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --rouge-une: #C8102E;
  --rouge-encre: #9B0C23;
  --papier: #F7F7F7;
  --blanc: #FFFFFF;
  --encre: #121212;
  --gris-plomb: #5C5C5C;
  --grege: #E2E2E2;
  --azur: #1A7FA8;

  --font-display: 'Alfa Slab One', serif;
  --font-article: 'Fraunces', 'Georgia', serif;
  --font-titre: 'Archivo', system-ui, sans-serif;
  --font-ui: 'Archivo', system-ui, sans-serif;

  --conteneur: 1200px;
  --gouttiere: 24px;
}

/* --- Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; background: var(--grege); }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--rouge-une);
  outline-offset: 2px;
}

.conteneur {
  max-width: var(--conteneur);
  margin: 0 auto;
  padding-inline: var(--gouttiere);
}

@media (max-width: 767px) {
  .conteneur { padding-inline: 16px; }
}

/* --- Bandeau flash ------------------------------------------------------ */

.topbar {
  display: flex;
  align-items: stretch;
  background: var(--encre);
  color: var(--blanc);
  min-height: 34px;
  overflow: hidden;
}

.flash-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 14px;
  background: var(--rouge-une);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
}

.flash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: flash-pulse 1.4s ease-out infinite;
}

.flash-piste {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.flash-liste {
  display: flex;
  align-items: center;
  flex: none;
  list-style: none;
  margin: 0;
  padding: 0 18px;
  animation: flash-scroll 38s linear infinite;
}

.topbar:hover .flash-liste { animation-play-state: paused; }

.flash-liste li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.flash-liste li + li::before {
  content: '◆';
  margin-inline: 18px;
  font-size: 7px;
  color: var(--rouge-une);
}

.flash-liste a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blanc);
  opacity: 0.92;
}

.flash-liste a:hover { opacity: 1; text-decoration: underline; }

.flash-date {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

@keyframes flash-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes flash-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 600px) {
  .flash-date { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .flash-dot { animation: none; }
  .flash-liste { animation: none; }
  .flash-liste[aria-hidden='true'] { display: none; }
  .flash-piste { overflow-x: auto; }
}

/* --- Header type journal (2 barres collées) ----------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--rouge-une);
  color: var(--blanc);
}

.admin-bar .site-head { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .site-head { top: 46px; }
}

.site-head a:focus-visible,
.site-head button:focus-visible,
.site-head input:focus-visible {
  outline-color: var(--blanc);
}

.head-barre {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 0 24px;
}

.head-barre-une {
  min-height: 108px;
  max-height: 124px;
  position: relative;
  overflow: hidden;
  transition: max-height 0.22s ease, min-height 0.22s ease, opacity 0.18s ease;
}

.head-barre-deux {
  min-height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.head-logo-mini {
  display: none;
  flex: none;
  margin: 0 10px 0 0;
  line-height: 0;
}

.head-logo-mini img {
  display: block;
  height: 32px;
  width: auto;
  background: #fff;
  padding: 2px 4px;
}

.site-head.is-compact .head-barre-une {
  min-height: 0;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

.site-head.is-compact .head-barre-deux {
  border-top: 0;
}

.site-head.is-compact .head-logo-mini {
  display: block;
}

.head-gauche,
.head-droite,
.head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.head-droite { margin-left: auto; }
.head-gauche { flex: 0 0 auto; }

.head-outil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--blanc);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.head-outil svg { width: 18px; height: 18px; flex: none; }

.head-outil:hover,
.head-outil[aria-expanded='true'] {
  color: var(--blanc);
  background: rgba(255, 255, 255, 0.12);
}

.head-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  line-height: 0;
}

.head-logo a { display: block; }

.head-logo img {
  display: block;
  height: 92px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
}

.head-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.head-lang [aria-current='true'] {
  border-bottom: 1px solid var(--blanc);
  padding-bottom: 1px;
}

.head-lang-off {
  opacity: 0.38;
  cursor: default;
}

.head-abo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  margin-inline: 6px;
  background: var(--blanc);
  color: var(--rouge-une);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.head-abo:hover {
  background: var(--papier);
  color: var(--rouge-encre);
}

.head-compte {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.head-compte svg { width: 22px; height: 22px; }

.head-raccourcis {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.head-raccourcis::-webkit-scrollbar { display: none; }

.head-raccourcis ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.head-raccourcis a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.head-raccourcis a:hover,
.head-raccourcis a[aria-current],
.head-raccourcis .current-menu-item > a {
  border-bottom-color: var(--blanc);
}

.head-raccourcis-rubriques {
  display: flex;
  align-items: center;
  padding-right: 10px;
  margin-right: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.head-raccourcis-hot {
  display: flex;
  align-items: center;
}

.head-raccourcis-hot a { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

.head-actions { margin-left: auto; flex: none; }

.head-panneau {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--rouge-encre);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.head-panneau[hidden] { display: none; }

.head-panneau-inner { padding: 28px 0 32px; }

.head-panneau h2 {
  margin: 0 0 16px;
  font-family: var(--font-titre);
  font-size: 22px;
  font-weight: 800;
}

.head-panneau-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.head-edition { list-style: none; margin: 0; padding: 0; }

.head-edition li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.head-edition a {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
}

.head-edition a:hover { color: #fff; }

.head-edition-heure {
  flex: none;
  width: 88px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.head-panneau-lien {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blanc);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.head-services-liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.head-services-liste a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.head-services-liste a:hover {
  background: var(--blanc);
  color: var(--rouge-une);
}

.head-cherche-form {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}

.head-cherche-form input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.2);
  color: var(--blanc);
  font-family: var(--font-ui);
  font-size: 16px;
}

.cherche-preview {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 90;
  background: var(--blanc);
  color: var(--encre);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.22);
  max-height: min(70vh, 440px);
  overflow: auto;
}

.cherche-preview[hidden] { display: none; }

.cherche-preview-liste { display: grid; }

.cherche-preview-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--grege);
}

.cherche-preview-item:hover,
.cherche-preview-item.is-on {
  background: var(--papier);
}

.cherche-preview-visuel {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: var(--grege);
}

.cherche-preview-visuel.is-vide { display: block; }

.cherche-preview-texte { display: grid; gap: 2px; min-width: 0; }

.cherche-preview-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rouge-une);
}

.cherche-preview-titre {
  font-family: var(--font-article);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cherche-preview-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--gris-plomb);
}

.cherche-preview-vide {
  margin: 0;
  padding: 16px 14px;
  color: var(--gris-plomb);
  font-size: 14px;
}

.cherche-preview-plus {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-top: 1px solid var(--grege);
  font-size: 13px;
  font-weight: 800;
  color: var(--rouge-une);
}

.cherche-preview-plus:hover { background: var(--papier); }

.head-menu-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 28px 0 36px;
}

.head-menu-grille ul { list-style: none; margin: 0; padding: 0; }

.head-menu-grille a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.head-menu-grille a:hover,
.head-menu-grille a[aria-current] { color: #fff; border-bottom-color: var(--blanc); }

body.head-verrouille { overflow: hidden; }

@media (max-width: 1100px) {
  .head-raccourcis-hot { display: none; }
  .head-barre-une { min-height: 72px; max-height: 88px; }
  .head-logo img { height: 64px; }
}

@media (max-width: 900px) {
  .head-barre { padding-inline: 12px; gap: 6px; }
  .head-barre-une { min-height: 60px; }
  .head-logo img { height: 44px; }
  .head-outil span,
  .head-compte span,
  .head-lang { display: none; }
  .head-abo { margin-inline: 0; padding-inline: 10px; font-size: 12px; }
  .head-services-liste,
  .head-menu-grille { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .head-gauche { display: none; }
  .head-raccourcis-rubriques { display: none; }
  .head-barre-une {
    min-height: 56px;
    max-height: none;
  }
  .head-logo {
    position: static;
    transform: none;
    margin-right: auto;
    min-width: 0;
  }
  .head-logo img {
    height: 36px;
    width: auto;
    max-width: min(158px, 42vw);
    padding: 3px 6px;
    object-fit: contain;
    object-position: left center;
  }
  .head-droite { flex: none; gap: 2px; }
  .head-abo {
    margin-inline: 0;
    padding-inline: 8px;
    min-height: 30px;
    font-size: 12px;
    white-space: nowrap;
  }
  .head-compte { padding-inline: 6px; }
  .head-barre-deux { justify-content: flex-end; }
}

/* --- Têtes de rubrique (double filet signature) -------------------------- */

.rubrique-head {
  border-top: 3px solid var(--rouge-une);
  padding-top: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.rubrique-head h1,
.rubrique-head h2 {
  font-family: var(--font-titre);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

.rubrique-head .tout-voir {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rouge-une);
  white-space: nowrap;
}

.rubrique-head .tout-voir:hover { color: var(--rouge-encre); }

/* --- Éléments éditoriaux -------------------------------------------------- */

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rouge-une);
  margin: 0 0 8px;
}

.meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--gris-plomb);
  margin: 0;
}

.meta .commune { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: 64px 0; }
.section:last-of-type { padding-bottom: 64px; }

@media (max-width: 767px) {
  .section { padding-block: 40px 0; }
  .section:last-of-type { padding-bottom: 40px; }
}

/* --- À la une ------------------------------------------------------------- */

.une-grille {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gouttiere);
  align-items: stretch;
}

@media (max-width: 900px) {
  .une-grille { grid-template-columns: 1fr; }
}

.une-slider { position: relative; min-width: 0; }

.une-slides { position: relative; }

.une-slide { display: none; }
.une-slide.is-on { display: block; animation: une-in 0.45s ease; }

.une-lien { position: relative; display: block; color: inherit; }

.grande-une .visuel { background: var(--encre); }
.grande-une img,
.grande-une video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  min-height: 420px;
}

.une-voile {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 88px 28px 28px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(18, 18, 18, 0.28) 28%,
    rgba(18, 18, 18, 0.88) 100%
  );
  color: var(--blanc);
}

.une-nav {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px;
  background: rgba(18, 18, 18, 0.42);
}

.une-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(18, 18, 18, 0.38);
  color: var(--blanc);
  font-size: 16px;
  cursor: pointer;
}

.une-btn:hover,
.une-btn:focus-visible {
  border-color: var(--blanc);
  background: var(--rouge-une);
}

.une-dots { display: flex; gap: 8px; }

.une-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.une-dot.is-on { background: var(--blanc); }

@keyframes une-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.visuel { position: relative; overflow: hidden; }
.visuel img,
.visuel video,
.grande-une img,
.grande-une video,
.carte img,
.liste-compacte img {
  transition: transform 0.35s ease;
}

.grande-une a:hover img,
.grande-une a:hover video,
.carte a:hover img,
.liste-compacte a:hover img,
.dossier-visuel:hover img,
.dossier-visuel:hover video {
  transform: scale(1.03);
}

.badge-video {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--encre);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
}

.grande-une .badge-video {
  top: 16px;
  bottom: auto;
  left: 16px;
}

.grande-une .kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 9px;
  background: var(--rouge-une);
  color: var(--blanc);
}

.grande-une h1,
.grande-une .titre-une {
  font-family: var(--font-titre);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--blanc);
  text-wrap: balance;
}

.grande-une a:hover .titre-une,
.grande-une a:hover h1 { color: var(--blanc); }

.grande-une .chapo {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grande-une .meta { color: rgba(255, 255, 255, 0.62); }

@media (max-width: 700px) {
  .grande-une img,
  .grande-une video { min-height: 320px; }
  .une-voile { padding: 64px 18px 20px; }
  .grande-une .chapo { display: none; }
}

/* Brèves */

.breves {
  border: 1px solid var(--grege);
  background: var(--blanc);
  padding: 20px;
  height: 100%;
}

.breves-titre {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--rouge-une);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breves-titre .pastille {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rouge-une);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.55);
  animation: flash-pulse 1.4s ease-out infinite;
}

.breves ul { list-style: none; margin: 0; padding: 0; }

.breves li { padding: 14px 0; border-bottom: 1px solid var(--grege); }
.breves li:last-child { border-bottom: none; padding-bottom: 0; }

.breves time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--rouge-une);
  margin-bottom: 4px;
}

.breves a {
  font-family: var(--font-titre);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.breves a:hover { color: var(--rouge-une); }

/* --- Cartes article --------------------------------------------------------- */

.grille-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}

@media (max-width: 900px) { .grille-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grille-3 { grid-template-columns: 1fr; } }

.carte { background: var(--blanc); border: 1px solid var(--grege); }

.carte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.carte-corps { padding: 16px 18px 18px; }

.carte h3 {
  font-family: var(--font-titre);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 10px;
}

.carte a:hover h3 { color: var(--rouge-une); }

/* Carte sans photo : bloc typographique encre */

.carte-encre { background: var(--encre); border-color: var(--encre); display: flex; }

.carte-encre .carte-corps { display: flex; flex-direction: column; justify-content: center; min-height: 100%; }

.carte-encre h3 { color: var(--blanc); font-size: 24px; }
.carte-encre .meta { color: rgba(255, 255, 255, 0.6); }

.actus-slider {
  overflow: hidden;
  margin-top: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}

.actus-track {
  display: flex;
  gap: var(--gouttiere);
  width: max-content;
  padding-inline: var(--gouttiere);
}

.actus-slider.is-on .actus-track {
  animation: actus-scroll 56s linear infinite;
}

.actus-slider.is-on:hover .actus-track { animation-play-state: paused; }

.actus-track .carte { flex: 0 0 min(360px, 78vw); }

.carte-overlay {
  position: relative;
  background: var(--encre);
  border: 0;
  overflow: hidden;
}

.carte-overlay a { display: block; color: inherit; }

.carte-overlay img {
  aspect-ratio: 3 / 2;
  min-height: 260px;
}

.carte-overlay .carte-corps {
  position: absolute;
  inset: auto 0 0;
  padding: 56px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 18, 0.88) 70%);
  color: var(--blanc);
}

.carte-overlay .kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 8px;
  background: var(--rouge-une);
  color: var(--blanc);
}

.carte-overlay h3,
.carte-overlay a:hover h3 { color: var(--blanc); }

.carte-overlay .meta { color: rgba(255, 255, 255, 0.65); }

.actus-slider.is-static { overflow-x: auto; mask-image: none; }

@keyframes actus-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .actus-slider.is-on .actus-track { animation: none; }
}

/* --- Dans vos communes ------------------------------------------------------ */

.communes-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
}

@media (max-width: 900px) { .communes-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .communes-grille { grid-template-columns: 1fr; } }

.commune-bloc {
  border-top: 1px solid var(--grege);
  padding-top: 14px;
}

.commune-bloc .nom-commune {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--rouge-une);
  display: inline-block;
  padding: 3px 8px;
  margin: 0 0 10px;
}

.commune-bloc h3 {
  font-family: var(--font-titre);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.commune-bloc a:hover h3 { color: var(--rouge-une); }

.communes-filtres { margin-bottom: 24px; }

.commune-bloc[hidden] { display: none; }

/* --- Newsletter --------------------------------------------------------------- */

.pied-site {
  display: flex;
  flex-direction: column;
  background: var(--encre);
  margin-top: 64px;
}

.newsletter {
  background: var(--rouge-une);
  color: var(--blanc);
  margin: 0;
}

@media (max-width: 767px) { .pied-site { margin-top: 40px; } }

.newsletter .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
  flex-wrap: wrap;
}

.newsletter h2 {
  font-family: var(--font-titre);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.newsletter p { margin: 0; font-size: 15px; opacity: 0.9; }

.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }

.newsletter input[type='email'] {
  font-family: var(--font-ui);
  font-size: 15px;
  padding: 12px 16px;
  border: none;
  min-width: 260px;
  background: var(--blanc);
  color: var(--encre);
}

.newsletter input::placeholder { color: var(--gris-plomb); }

.dossier-bandeau {
  background: var(--encre);
  color: var(--blanc);
  padding: 56px 0;
  margin-top: 64px;
}

.dossier-bandeau .kicker-blanc { color: var(--rouge-une); }

.dossier-grille {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 800px) { .dossier-grille { grid-template-columns: 1fr; } }

.dossier-bandeau h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}

.dossier-bandeau h2 a:hover { color: var(--rouge-une); }

.dossier-bandeau .chapo {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 14px;
}

.dossier-bandeau .meta { color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }

.dossier-bandeau .tout-voir { color: var(--blanc); }

.liste-compacte .visuel { width: 100px; }
.liste-compacte .visuel img { width: 100%; height: 100%; }
.liste-compacte .badge-video { display: none; }

.grille-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gouttiere);
}

@media (max-width: 700px) { .grille-2 { grid-template-columns: 1fr; } }

.dossier-bandeau a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .une-slide.is-on { animation: none; }
  .breves-titre .pastille { animation: none; }
  .visuel img,
  .visuel video,
  .grande-une img,
  .grande-une video,
  .carte img,
  .liste-compacte img { transition: none; }
}

/* --- Boutons -------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primaire { background: var(--rouge-une); color: var(--blanc); }
.btn-primaire:hover { background: var(--rouge-encre); }

.btn-secondaire {
  background: var(--blanc);
  color: var(--encre);
  border: 1px solid var(--encre);
}
.btn-secondaire:hover { background: var(--encre); color: var(--blanc); }

.btn-blanc { background: var(--encre); color: var(--blanc); }
.btn-blanc:hover { background: #000; }

.btn-contour {
  background: none;
  color: var(--encre);
  border: 1px solid var(--encre);
}
.btn-contour:hover { background: var(--encre); color: var(--blanc); }

/* --- Listes compactes (Culture / Sport) --------------------------------------------- */

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 900px) { .deux-colonnes { grid-template-columns: 1fr; gap: 40px; } }

.liste-compacte { list-style: none; margin: 0; padding: 0; }

.liste-compacte li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grege);
}

.liste-compacte li:first-child { padding-top: 0; }

.liste-compacte img { aspect-ratio: 1; object-fit: cover; width: 100px; }

.liste-compacte h3 {
  font-family: var(--font-titre);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 6px;
}

.liste-compacte a:hover h3 { color: var(--rouge-une); }

/* --- Footer ------------------------------------------------------------------------ */

.footer {
  background: var(--encre);
  color: var(--blanc);
  margin: 0;
}

.footer .conteneur { padding-block: 48px 32px; }

.footer-grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) { .footer-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grille { grid-template-columns: 1fr; } }

.footer .footer-logo {
  margin: 0 0 12px;
  line-height: 0;
}

.footer .footer-logo img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  background: #fff;
  padding: 6px 8px;
}

.footer p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.6; }

.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.footer ul a:hover { color: var(--blanc); text-decoration: underline; }

.footer-bas {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Page blog : filtres et pagination -------------------------------------------------- */

.page-head { padding-top: 48px; }

.page-head .rubrique-head { margin-bottom: 8px; }

.page-head .description {
  font-size: 17px;
  font-weight: 500;
  color: var(--gris-plomb);
  margin: 0 0 24px;
  max-width: 60ch;
}

.filtres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pilule {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border: 1px solid var(--grege);
  background: var(--blanc);
  color: var(--encre);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pilule:hover { border-color: var(--rouge-une); color: var(--rouge-une); }

.pilule.active {
  background: var(--rouge-une);
  border-color: var(--rouge-une);
  color: var(--blanc);
}

/* Article vedette de la liste */

.vedette {
  display: grid;
  grid-template-columns: 3fr 2fr;
  background: var(--blanc);
  border: 1px solid var(--grege);
  margin-bottom: var(--gouttiere);
}

@media (max-width: 900px) { .vedette { grid-template-columns: 1fr; } }

.vedette img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: 100%; }

.vedette .carte-corps {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vedette h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}

.vedette a:hover h2 { color: var(--rouge-une); }

.vedette .chapo {
  font-size: 16px;
  font-weight: 500;
  color: var(--gris-plomb);
  margin: 0 0 14px;
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--grege);
  background: var(--blanc);
}

.pagination a:hover { border-color: var(--rouge-une); color: var(--rouge-une); }

.pagination .courante {
  background: var(--rouge-une);
  border-color: var(--rouge-une);
  color: var(--blanc);
}

/* --- Page article --------------------------------------------------------------------------- */

.fil-ariane {
  margin: 0 0 20px;
  padding-inline: 0;
}

.fil-ariane ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--gris-plomb);
}

.fil-ariane li:not(:last-child)::after {
  content: '→';
  margin-left: 8px;
  color: var(--grege);
}

.fil-ariane a:hover { color: var(--rouge-une); }

.fil-ariane [aria-current='page'] span {
  color: var(--encre);
}

.article-ouverture,
.article-head {
  margin: 0;
  padding: 8px 0 0;
  text-align: left;
}

.article-ouverture h1,
.article-head h1 {
  font-family: var(--font-article);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  text-wrap: balance;
}

.article-ouverture .chapo,
.article-head .chapo {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--gris-plomb);
  margin: 0 0 20px;
}

.byline {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 14px;
  border-top: 1px solid var(--grege);
  border-bottom: 1px solid var(--grege);
  font-size: 13px;
  font-weight: 500;
  color: var(--gris-plomb);
}

.byline .auteur { color: var(--encre); font-weight: 700; }

.partage {
  margin: 16px 0 0;
  padding-top: 12px;
}

.article-pied .partage {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--encre);
}

.partage-kicker {
  margin: 0 0 8px;
  color: var(--rouge-une);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partage-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partage-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--encre);
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.partage-btn:hover,
.partage-btn:focus-visible {
  background: var(--encre);
  color: var(--blanc);
}

.partage-btn.is-ok {
  background: var(--rouge-une);
  border-color: var(--rouge-une);
  color: var(--blanc);
}

.article-figure {
  margin: 24px 0 0;
  padding: 0;
}

.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article-figure figcaption {
  font-size: 13px;
  color: var(--gris-plomb);
  margin-top: 8px;
}

.article-corps {
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.65;
}

.article-corps p { margin: 0 0 24px; }

.article-corps a { color: var(--azur); text-decoration: underline; text-underline-offset: 2px; }
.article-corps a:hover { color: var(--rouge-une); }

.article-corps a.btn,
.article-corps a.btn:hover {
  text-decoration: none;
}

.article-corps a.btn-primaire,
.article-corps a.btn-primaire:hover {
  color: var(--blanc);
}

.article-corps a.btn-secondaire {
  color: var(--encre);
}

.article-corps a.btn-secondaire:hover {
  color: var(--blanc);
}

.article-corps h2 {
  font-family: var(--font-article);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 40px 0 16px;
}

blockquote.citation {
  border-left: 3px solid var(--rouge-une);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
}

blockquote.citation p {
  font-family: var(--font-article);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
}

blockquote.citation cite {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris-plomb);
}

.article-pied {
  max-width: none;
  margin: 32px 0 0;
  padding: 0;
}

.article-pied .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--grege);
}

.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--blanc);
  border: 1px solid var(--grege);
}

.tag:hover { border-color: var(--rouge-une); color: var(--rouge-une); }

/* --- Animations d'apparition -------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }
}

/* --- Accessibilité ------------------------------------------------------------------------------- */

.skip-links {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
}

.skip-links a {
  position: absolute;
  left: 8px;
  top: -120px;
  padding: 10px 14px;
  background: var(--encre);
  color: var(--blanc);
  font-size: 14px;
  font-weight: 700;
}

.skip-links a:focus {
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.visuel-vide { width: 100%; background: var(--encre); }
.visuel-video { display: block; width: 100%; object-fit: cover; background: var(--encre); }
.grande-une .une-video { aspect-ratio: 16 / 10; min-height: 420px; }
.article-figure .article-video { aspect-ratio: 16 / 9; }
@media (prefers-reduced-motion: reduce) {
  .visuel-video { display: none; }
}
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding-inline: 8px; font-size: 15px; font-weight: 600; border: 1px solid var(--grege); background: var(--blanc); }
.pagination .current { background: var(--rouge-une); border-color: var(--rouge-une); color: var(--blanc); }
.search-form { display: flex; gap: 8px; margin-bottom: 24px; }
.search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--grege); font-family: var(--font-ui); }
.footer a { color: inherit; }
.wp-block-quote { border-left: 3px solid var(--rouge-une); padding-left: 24px; font-family: var(--font-article); font-weight: 600; font-size: 23px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- Home journal (structure, pas le branding d’un autre titre) ---------- */

.ouverture {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 0 0;
  overflow: hidden;
}

.ouverture::before,
.ouverture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ouverture::before {
  z-index: 0;
  background-image: var(--une-photo);
  background-size: cover;
  background-position: center 30%;
}

.ouverture::after {
  z-index: 0;
  background: rgb(255 255 255 / 0.9);
}

.ouverture > * {
  position: relative;
  z-index: 1;
}

.une-hero-box {
  background: var(--blanc);
  width: 100%;
  padding-block: 28px 0;
}

.une-mixte {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 0 32px;
  align-items: start;
}

.une-grande-visuel { display: block; background: var(--encre); }

.une-grande-visuel img,
.une-grande-visuel video {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.une-grande-visuel.is-plein { background: var(--blanc); }

.une-grande-visuel.is-plein img {
  aspect-ratio: auto;
  width: min(100%, 480px);
  max-width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  background: var(--blanc);
}

.une-grande-texte { padding: 18px 8px 8px 0; }

.une-grande .titre-une {
  font-family: var(--font-article);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.une-grande .titre-une a:hover { color: var(--rouge-une); }

.une-grande .chapo {
  font-size: 17px;
  line-height: 1.45;
  color: var(--gris-plomb);
  margin: 0 0 12px;
}

.une-suite {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--grege);
  padding-left: 28px;
}

.une-petite {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--grege);
}

.une-petite.is-sans-visuel { grid-template-columns: 1fr; }

.une-petite:first-child { padding-top: 0; }

.une-petite:last-child { border-bottom: 0; padding-bottom: 0; }

.une-petite-visuel { display: block; background: var(--grege); }

.une-petite-visuel img {
  width: 84px;
  height: 84px;
  object-fit: cover;
}

.une-petite .kicker {
  margin: 0 0 4px;
  font-size: 11px;
}

.une-petite h2 {
  font-family: var(--font-article);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px;
}

.une-petite h2 a:hover { color: var(--rouge-une); }

.une-journal { position: relative; }

.une-journal .une-slides {
  display: grid;
}

.une-journal .une-slide {
  display: block;
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.une-journal .une-slide.is-on {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  animation: none;
}

.une-slide-grille {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
  min-height: 380px;
}

.une-journal-texte {
  padding: 8px 20px 8px 0;
}

.une-journal-texte .kicker {
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.une-journal .titre-une {
  font-family: var(--font-article);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.une-journal .titre-une a:hover { color: var(--rouge-une); }

.une-journal .chapo {
  font-size: 18px;
  line-height: 1.45;
  color: var(--gris-plomb);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.une-journal-visuel { display: block; background: var(--encre); }

.une-journal-visuel img,
.une-journal-visuel video {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.une-nav-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: -52px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.une-nav-journal {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0 4px;
  background: rgb(255 255 255 / 0.94);
  border: 1px solid var(--grege);
  color: var(--encre);
  pointer-events: auto;
}

.une-nav-journal .une-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--encre);
  font-size: 0;
}

.une-nav-journal .une-btn::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.une-nav-journal [data-une-next]::before {
  transform: rotate(-135deg);
}

.une-nav-journal .une-btn:hover,
.une-nav-journal .une-btn:focus-visible {
  background: var(--rouge-une);
  color: var(--blanc);
}

.une-index {
  margin: 0;
  min-width: 4.4ch;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.une-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: var(--grege);
}

.une-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--rouge-une);
  transform: scaleX(0);
  transform-origin: left center;
  animation: une-progress 7s linear;
}

@keyframes une-progress {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .une-journal .une-slide { transition: none; }
  .une-progress i { animation: none; }
}

.live-bandeau {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  padding: 12px 0 16px;
  border-top: 1px solid var(--grege);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rouge-une);
}

.live-bandeau a {
  font-family: var(--font-article);
  font-size: 20px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.live-bandeau a:hover { color: var(--rouge-une); }

.live-bandeau time {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--gris-plomb);
}

.page-colonnes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding-block: 28px 64px;
}

.fil-rubrique {
  padding: 28px 0 8px;
  border-top: 1px solid var(--grege);
}

.fil-rubrique:first-child { border-top: 0; padding-top: 8px; }

.fil-vedette-lien {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.fil-vedette-lien.is-sans-visuel { grid-template-columns: 1fr; }

.fil-vedette h3 {
  font-family: var(--font-article);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.fil-vedette a:hover h3 { color: var(--rouge-une); }

.fil-vedette .chapo {
  margin: 0 0 10px;
  color: var(--gris-plomb);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fil-vedette-visuel img,
.fil-vedette-visuel video { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }

.fil-titres { list-style: none; margin: 18px 0 0; padding: 0; }

.fil-titres li { border-top: 1px solid var(--grege); }

.fil-titres a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
}

.fil-titres .kicker { margin: 0; }

.fil-titres strong {
  font-family: var(--font-article);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.fil-titres a:hover strong { color: var(--rouge-une); }

.communes-liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.communes-liste .commune-bloc {
  padding: 14px 0;
  border-top: 1px solid var(--grege);
}

.communes-liste h3 {
  font-family: var(--font-article);
  font-size: 18px;
  font-weight: 600;
  margin: 4px 0 6px;
}

.communes-liste a:hover h3 { color: var(--rouge-une); }

.rail { position: sticky; top: 168px; display: grid; gap: 24px; }

.rail-dossier {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--rouge-une);
}

.rail-dossier h2 {
  font-family: var(--font-article);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 12px 0 8px;
}

.rail-dossier a:hover h2 { color: var(--rouge-une); }

.rail-dossier .chapo { font-size: 14px; color: var(--gris-plomb); margin: 0 0 12px; }

.rail-suite h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--rouge-une);
  padding-bottom: 10px;
}

.rail-suite ul { list-style: none; margin: 0; padding: 0; }

.rail-suite li { padding: 12px 0; border-bottom: 1px solid var(--grege); }

.rail-suite time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--rouge-une);
  margin-bottom: 4px;
}

.rail-suite a {
  font-family: var(--font-article);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.rail-suite a:hover { color: var(--rouge-une); }

.pub-label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-plomb);
}

.pub-cadre {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--grege);
  background: #efefef;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 600;
}

.pub-bandeau .pub-cadre { min-height: 90px; }

@media (max-width: 980px) {
  .page-colonnes { grid-template-columns: 1fr; }
  .rail { position: static; }
  .une-hero-box { padding-block: 20px 0; }
  .une-mixte { grid-template-columns: 1fr; gap: 20px; }
  .une-suite { border-left: 0; padding-left: 0; border-top: 1px solid var(--grege); padding-top: 8px; }
  .une-slide-grille { grid-template-columns: 1fr; gap: 16px; min-height: 0; }
  .une-journal-texte { padding: 0 0 8px; }
  .une-nav-wrap { margin-top: 12px; justify-content: flex-start; }
  .fil-vedette-lien { grid-template-columns: 1fr; }
  .communes-liste { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .ouverture { padding-top: 0; }
  .une-journal-visuel img,
  .une-journal-visuel video { min-height: 220px; }
  .live-bandeau { flex-wrap: wrap; }
  .live-bandeau time { width: 100%; }
}

/* --- Pages intérieures (même recette que la home) ----------------------- */

.page-interieur .page-colonnes { padding-top: 20px; }

.page-ouverture { padding-bottom: 8px; }

.page-ouverture .rubrique-head { margin-bottom: 16px; }

.chapo-page {
  font-size: 18px;
  line-height: 1.45;
  color: var(--gris-plomb);
  margin: 0 0 20px;
  max-width: 62ch;
}

.page-interieur .fil-vedette { margin-bottom: 8px; }

.page-interieur .fil-vedette h2 {
  font-family: var(--font-article);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 10px;
}

.page-interieur .fil-vedette a:hover h2 { color: var(--rouge-une); }

.vide-fil {
  padding: 28px 0;
  color: var(--gris-plomb);
  border-top: 1px solid var(--grege);
}

.cherche-page {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
}

.cherche-page input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--grege);
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--font-ui);
  font-size: 16px;
}

.cherche-page button {
  height: 48px;
  padding: 0 18px;
  border: 0;
  background: var(--rouge-une);
  color: var(--blanc);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cherche-page button:hover { background: var(--rouge-encre); }

.page-interieur .fil-rubrique { margin-top: 16px; }

@media (max-width: 700px) {
  .cherche-page { flex-wrap: wrap; }
  .cherche-page button { width: 100%; }
}

/* --- Compte (connexion, inscription, mot de passe) ---------------------- */

.compte-form {
  max-width: 28rem;
  margin: 8px 0 24px;
  padding-top: 8px;
  border-top: 1px solid var(--grege);
}

.compte-champ { margin: 0 0 16px; }

.compte-champ label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compte-champ input[type='text'],
.compte-champ input[type='email'],
.compte-champ input[type='password'] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--grege);
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--font-ui);
  font-size: 16px;
}

.compte-option {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.compte-submit {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--rouge-une);
  color: var(--blanc);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.compte-submit:hover { background: var(--rouge-encre); }

.compte-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.compte-liens a { border-bottom: 1px solid var(--grege); }
.compte-liens a:hover { color: var(--rouge-une); border-bottom-color: var(--rouge-une); }

.compte-alerte {
  margin: 0 0 20px;
  padding: 12px 0;
  border-top: 1px solid var(--grege);
  border-bottom: 1px solid var(--grege);
  color: var(--rouge-encre);
  font-weight: 600;
}

.compte-alerte.is-ok { color: var(--encre); }

.compte-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.compte-rail .chapo { margin-top: 8px; }

.head-abo.is-on {
  background: transparent;
  color: var(--blanc);
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: default;
}

.article-teaser {
  position: relative;
  margin-bottom: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, #000 38%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 22%, #000 38%, transparent 100%);
}

.article-teaser p:last-child { margin-bottom: 0; }

.article-teaser::after {
  content: '';
  position: absolute;
  left: -32px;
  right: -32px;
  top: 20%;
  bottom: -12px;
  background: linear-gradient(
    180deg,
    rgb(247 247 247 / 0) 0%,
    rgb(247 247 247 / 0.25) 22%,
    rgb(247 247 247 / 0.6) 48%,
    rgb(247 247 247 / 0.92) 78%,
    var(--papier) 100%
  );
  pointer-events: none;
}

.mur-abo {
  position: relative;
  z-index: 1;
  margin: -12px 0 32px;
  padding: 4px 0 8px;
  background: var(--papier);
}

.mur-abo-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge-une);
}

.mur-abo-titre {
  margin: 0 0 8px;
  font-family: var(--font-article);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
}

.mur-abo-texte {
  margin: 0 0 20px;
  color: var(--gris-plomb);
}

.mur-abo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mur-abo-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.mur-abo-actions a.btn-primaire,
.mur-abo-actions a.btn-primaire:hover {
  color: var(--blanc);
}

.mur-abo-actions a.btn-secondaire {
  color: var(--encre);
}

.mur-abo-actions a.btn-secondaire:hover {
  color: var(--blanc);
}

.page-offres { padding-block: 20px 64px; }

.offres-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 24px;
}

.offre-carte {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--blanc);
  border-top: 3px solid var(--encre);
}

.offre-carte.is-vedette { border-top-color: var(--rouge-une); }

.offre-badge {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge-une);
}

.offre-carte h2 {
  margin: 0 0 12px;
  font-family: var(--font-titre);
  font-size: 22px;
  font-weight: 800;
}

.offre-prix {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--gris-plomb);
}

.offre-prix strong {
  display: block;
  font-family: var(--font-article);
  font-size: 2rem;
  font-weight: 600;
  color: var(--encre);
  line-height: 1;
  margin-bottom: 4px;
}

.offre-detail { margin: 0 0 16px; color: var(--gris-plomb); }

.offre-carte ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}

.offre-carte li {
  padding: 8px 0;
  border-top: 1px solid var(--grege);
  font-size: 14px;
  font-weight: 600;
}

.offre-carte .btn,
.offre-carte button.btn {
  width: 100%;
  min-height: 48px;
}

.offres-login {
  font-weight: 600;
}

.offres-login a { text-decoration: underline; text-underline-offset: 3px; }

.compte-demo {
  margin: 36px 0 16px;
  padding-top: 24px;
  border-top: 3px solid var(--rouge-une);
}

.compte-demo h2 {
  margin: 0 0 8px;
  font-family: var(--font-titre);
  font-size: 22px;
  font-weight: 800;
}

.compte-demo-grille {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.compte-demo-carte {
  padding: 16px;
  background: var(--blanc);
  border: 1px solid var(--grege);
}

.compte-demo-carte p { margin: 0 0 8px; }

.compte-demo-ids {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}

.compte-demo-carte .btn { margin-top: 8px; min-height: 44px; }

@media (max-width: 900px) {
  .offres-grille,
  .compte-demo-grille { grid-template-columns: 1fr; }
}

.edition-pdf { margin: 28px 0 8px; }
.edition-pdf iframe { display: block; width: 100%; height: 78vh; min-height: 560px; border: 1px solid rgba(18,18,18,0.12); background: #fff; }
.edition-lien { font-weight: 700; }

.edition-outils { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }
.edition-sommaire { margin: 0 0 36px; padding: 8px 0 4px; border-top: 3px solid var(--rouge-une); }
.edition-sommaire h2 { font-family: var(--font-titre); font-size: 22px; margin: 16px 0 12px; }
.edition-sommaire ol { margin: 0; padding-left: 1.25em; }
.edition-sommaire li { margin: 0 0 8px; }
.edition-sommaire a { font-weight: 700; }
.edition-chapitre { margin: 48px 0 0; scroll-margin-top: 150px; }
.edition-chapitre h2 { font-family: var(--font-titre); font-size: 28px; line-height: 1.15; margin: 0 0 16px; }
.edition-photo { margin: 0 0 18px; }
.edition-photo img { width: 100%; height: auto; }

/* Feuille : le corps se détache du papier gris de la page */
.page-interieur .fil > article {
  background: var(--blanc);
  margin-top: 8px;
  padding: 8px 32px 40px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-top: 3px solid var(--rouge-une);
}

.page-interieur .fil > article .article-corps {
  font-family: var(--font-article);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #3a3a3a;
  hyphens: auto;
}

.page-interieur .fil > article .article-corps p {
  text-align: justify;
}

.page-interieur .fil > article .article-corps h2,
.page-interieur .fil > article .article-corps .edition-surtitre,
.page-interieur .fil > article .article-corps .edition-outils,
.page-interieur .fil > article .article-corps .edition-sommaire,
.page-interieur .fil > article .article-corps .edition-sommaire li {
  text-align: left;
  hyphens: manual;
}

.page-interieur .article-corps .btn {
  font-family: var(--font-ui);
}

.edition-sommaire {
  margin: 8px 0 40px;
  padding: 0 0 4px;
  border-top: 0;
  border-bottom: 1px solid var(--encre);
}

.edition-sommaire h2 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rouge-une);
  margin: 0 0 8px;
}

.edition-sommaire ol {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 2;
  column-gap: 36px;
}

.edition-sommaire li {
  break-inside: avoid;
  position: relative;
  margin: 0;
  padding: 10px 0 10px 2rem;
  border-top: 1px solid var(--grege);
  counter-increment: edition;
}

.edition-sommaire ol { counter-reset: edition; }

.edition-sommaire li::before {
  content: counter(edition, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--rouge-une);
}

.edition-sommaire a {
  font-family: var(--font-article);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  color: var(--encre);
}

.edition-sommaire a:hover { color: var(--rouge-une); }

.edition-chapitre {
  margin: 52px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--encre);
  scroll-margin-top: 180px;
}

.edition-chapitre h2 {
  font-family: var(--font-article);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 18px;
}

.edition-chapitre h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--rouge-une);
}

.edition-chapitre h3 {
  margin: 32px 0 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--rouge-une);
}

.edition-surtitre {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--rouge-une);
}

.edition-lettrine::first-letter {
  float: left;
  margin: 4px 8px 0 0;
  font-family: var(--font-article);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 0.8;
  color: var(--rouge-une);
}

.edition-echange {
  margin-left: 0;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--rouge-une);
}

.edition-photo img { background: var(--grege); }

@media (max-width: 800px) {
  .page-interieur .fil > article { padding: 4px 16px 28px; }
  .edition-sommaire ol { column-count: 1; }
}

.article-figure.is-plein img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--blanc);
}

.page-interieur .page-colonnes:has(.rail-edition) {
  align-items: stretch;
}

.rail.rail-edition {
  position: static;
  height: auto;
  align-self: stretch;
}

.rail-suivi {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  align-content: start;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 12px;
  background: var(--blanc);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-top: 3px solid var(--rouge-une);
}

.rail-suivi .pub { margin: 0; }

.rail-suivi .edition-sommaire {
  margin: 0;
  padding: 0;
  border: 0;
}

.rail-suivi .edition-sommaire ol { column-count: 1; }

.rail-suivi .edition-sommaire a { font-size: 14px; }

.rail-suivi .edition-sommaire li { padding: 8px 0 8px 1.8rem; }

@media (max-width: 980px) {
  .rail-suivi { position: static; max-height: none; }
  .rail-suivi .edition-sommaire { display: none; }
}

.dans-le-journal { margin: 10px 0 0; }
.dans-le-journal a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rouge-une);
  text-decoration: none;
}
.dans-le-journal a:hover { text-decoration: underline; }
.edition-sommaire .edition-attente {
  font-family: var(--font-article);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gris-plomb);
}
.article-corps .edition-photo { margin: 0 0 20px; }
.article-corps .edition-photo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.lecteur-pdf { margin: 8px 0 36px; background: #ececea; border-top: 3px solid var(--rouge-une); }
.lecteur-barre {
  position: sticky; top: 78px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 10px; padding: 10px 12px; background: var(--blanc); border-bottom: 1px solid var(--grege);
}
.lecteur-folio {
  margin: 0; min-width: 6.5rem; font-family: var(--font-article); font-size: 1.35rem; font-weight: 600;
  letter-spacing: -0.03em; color: var(--rouge-une); font-variant-numeric: tabular-nums;
}
.lecteur-folio-sep { margin: 0 0.15em; color: var(--gris-plomb); font-size: 0.85em; }
.lecteur-nav, .lecteur-zoom, .lecteur-cherche, .lecteur-saut { display: flex; align-items: center; gap: 6px; margin: 0; }
.lecteur-barre button, .lecteur-dl {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; line-height: 1; padding: 8px 10px;
  border: 1px solid var(--grege); background: var(--blanc); color: var(--encre); cursor: pointer; text-decoration: none;
}
.lecteur-barre button:hover, .lecteur-dl:hover { border-color: var(--encre); }
.lecteur-barre button:disabled { opacity: 0.4; cursor: default; }
.lecteur-dl { color: var(--blanc); background: var(--rouge-une); border-color: var(--rouge-une); }
.lecteur-barre input { font-family: var(--font-ui); font-size: 14px; padding: 7px 8px; border: 1px solid var(--grege); background: var(--blanc); color: var(--encre); }
.lecteur-saut input { width: 4.2rem; }
.lecteur-cherche { flex: 1 1 180px; }
.lecteur-cherche input { flex: 1; min-width: 0; }
.lecteur-saut label, .lecteur-trouve { font-family: var(--font-ui); font-size: 13px; color: var(--gris-plomb); }
.lecteur-trouve { margin: 0; flex-basis: 100%; }
.page-interieur .fil > article .lecteur-pdf {
  margin-left: -32px;
  margin-right: -32px;
}
@media (max-width: 800px) {
  .page-interieur .fil > article .lecteur-pdf { margin-left: -16px; margin-right: -16px; }
}

.lecteur-scene {
  overflow: visible;
  padding: 28px 18px 36px;
  outline: none;
  background:
    radial-gradient(120% 80% at 50% 0%, #f3f0ea 0%, #e3dfd6 70%, #d9d4c9 100%);
}
.lecteur-scene.is-zoom {
  overflow: auto;
  max-height: min(82vh, 980px);
}
.lecteur-scene:focus-visible { outline: 2px solid var(--rouge-une); outline-offset: -2px; }

.livre {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0 auto;
  background: #f7f4ee;
  perspective: 2400px;
  box-shadow:
    0 18px 40px rgba(18, 18, 18, 0.16),
    0 2px 6px rgba(18, 18, 18, 0.08);
}
.livre.is-simple { grid-template-columns: 1fr; }
.livre.is-simple .livre-gauche,
.livre.is-simple::after { display: none; }

.livre::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 18px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(18, 18, 18, 0.14), rgba(255, 255, 255, 0.45), rgba(18, 18, 18, 0.16), transparent);
}

.livre-page {
  position: relative;
  min-width: 0;
  background: #f7f4ee;
  z-index: 1;
}
.livre-gauche { box-shadow: inset -14px 0 18px rgba(18, 18, 18, 0.06); }
.livre-droite { box-shadow: inset 14px 0 18px rgba(18, 18, 18, 0.06); }

.livre-vierge {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.05), transparent 28px),
    #f7f4ee;
}

.livre-flip {
  position: absolute;
  z-index: 4;
  top: 0;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.livre-flip.is-place-droite {
  left: 50%;
  width: 50%;
  transform-origin: left center;
}
.livre-flip.is-place-gauche {
  left: 0;
  width: 50%;
  transform-origin: right center;
}
.livre.is-simple .livre-flip.is-place-droite,
.livre.is-simple .livre-flip.is-place-gauche {
  left: 0;
  width: 100%;
}

.livre-flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.livre-flip-arriere { transform: rotateY(180deg); }
.livre-flip-avant { box-shadow: 0 0 24px rgba(18, 18, 18, 0.18); }

.livre-hit {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 22%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.livre-hit:disabled { cursor: default; }
.livre-hit-gauche { left: 0; }
.livre-hit-droite { right: 0; }
.livre-hit-gauche:not(:disabled):hover {
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.08), transparent);
}
.livre-hit-droite:not(:disabled):hover {
  background: linear-gradient(270deg, rgba(18, 18, 18, 0.08), transparent);
}

.lecteur-etat {
  margin: 24px 0;
  text-align: center;
  font-family: var(--font-ui);
  color: var(--gris-plomb);
}

.lecteur-feuille {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
}
.lecteur-feuille canvas { display: block; width: 100%; height: 100%; }

.lecteur-feuille .textLayer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  line-height: 1;
  z-index: 2;
}
.lecteur-feuille .textLayer span {
  position: absolute;
  color: transparent;
  white-space: pre;
  transform-origin: 0 0;
  cursor: text;
}
.lecteur-feuille .textLayer ::selection { background: rgba(200, 16, 46, 0.28); }
.lecteur-feuille .textLayer .is-trouve {
  background: rgba(200, 16, 46, 0.28);
  border-radius: 2px;
}

.lecteur-pdf:fullscreen {
  display: flex;
  flex-direction: column;
  background: #1c1c1c;
}
.lecteur-pdf:fullscreen .lecteur-barre { top: 0; }
.lecteur-pdf:fullscreen .lecteur-scene {
  max-height: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.flux-rss { margin-top: 28px; }
.footer .flux-rss h4 { margin-bottom: 8px; }
.footer .flux-rss p { max-width: 62ch; margin-bottom: 12px; }
.flux-rss-ligne { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flux-rss-ligne input {
  flex: 1 1 240px; min-width: 0; font-family: var(--font-ui); font-size: 14px; padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: var(--blanc);
}
.flux-rss-ligne button, .flux-rss-ligne a {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: var(--blanc); cursor: pointer; text-decoration: none;
}
.flux-rss-ligne button.is-ok, .flux-rss-ligne a:hover { background: var(--blanc); color: var(--encre); }
.rail .flux-rss, .rail-suivi .flux-rss {
  margin: 0; padding: 12px; background: var(--blanc); border: 1px solid rgba(18, 18, 18, 0.08); border-top: 3px solid var(--rouge-une);
}
.rail .flux-rss h2, .rail-suivi .flux-rss h2 {
  font-family: var(--font-ui); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rouge-une); margin: 0 0 8px;
}
.rail .flux-rss-ligne input, .rail-suivi .flux-rss-ligne input { border-color: var(--grege); background: var(--papier); color: var(--encre); }
.rail .flux-rss-ligne button, .rail .flux-rss-ligne a, .rail-suivi .flux-rss-ligne button, .rail-suivi .flux-rss-ligne a { border-color: var(--grege); color: var(--encre); }
.rail .flux-rss-ligne button.is-ok, .rail-suivi .flux-rss-ligne button.is-ok { background: var(--encre); color: var(--blanc); }
/* --- Une : modules (photo d'abord, peu de texte) ------------------------- */

.une-grande .chapo {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp { padding-block: 8px 72px; }

.hp-haut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px 40px;
  align-items: start;
  padding-bottom: 8px;
}

.hp-bloc { padding: 28px 0 4px; }

.hp-haut .hp-bloc { padding-top: 20px; }

.hp-vedette,
.hp-panorama {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.hp-cartes { display: grid; gap: 22px 20px; }
.hp-cartes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-cartes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hp-deux,
.hp-trois { display: grid; gap: 8px 32px; align-items: start; }
.hp-deux { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hp-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.hp-carte a { display: block; color: inherit; }
.hp-carte .visuel { background: var(--grege); }
.hp-carte .visuel img,
.hp-carte .visuel video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hp-vedette > .hp-carte .visuel img,
.hp-panorama > .hp-carte .visuel img { aspect-ratio: 16 / 10; }

.hp-carte .kicker { margin: 10px 0 4px; }
.hp-carte h3 {
  font-family: var(--font-article);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-vedette > .hp-carte h3,
.hp-panorama > .hp-carte h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  -webkit-line-clamp: 4;
}
.hp-carte a:hover h3,
.hp-ligne a:hover strong,
.hp-liens a:hover strong { color: var(--rouge-une); }

.hp-pile { display: flex; flex-direction: column; }
.hp-ligne { border-top: 1px solid var(--grege); }
.hp-ligne:first-child { border-top: 0; }
.hp-ligne a {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  color: inherit;
}
.hp-ligne-visuel .visuel { width: 84px; background: var(--grege); }
.hp-ligne-visuel .visuel img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  aspect-ratio: auto;
}
.hp-ligne .kicker { display: block; margin: 0 0 3px; }
.hp-ligne strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-article);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.hp-liens { list-style: none; margin: 0; padding: 0; }
.hp-liens a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--grege);
  color: inherit;
}
.hp-liens li:first-child a { border-top: 0; padding-top: 0; }
.hp-liens .kicker { margin: 0; }
.hp-liens strong {
  font-family: var(--font-article);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hp .commune-bloc { border: 0; padding: 0; }
.hp .commune-bloc[hidden] { display: none; }
.hp-col .hp-carte { margin-bottom: 4px; }
.hp-col .hp-ligne a { grid-template-columns: 72px minmax(0, 1fr); padding: 10px 0; }
.hp-col .hp-ligne-visuel .visuel,
.hp-col .hp-ligne-visuel .visuel img { width: 72px; height: 54px; }

@media (max-width: 980px) {
  .hp-haut,
  .hp-vedette,
  .hp-panorama,
  .hp-deux,
  .hp-trois { grid-template-columns: 1fr; }
  .hp-cartes-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp .rail { position: static; }
}

@media (max-width: 640px) {
  .hp-cartes-2,
  .hp-cartes-3 { grid-template-columns: 1fr; }
  .hp-ligne a,
  .hp-col .hp-ligne a { grid-template-columns: 72px minmax(0, 1fr); }
}

/* --- Direct externe ----------------------------------------------------- */

.live-page { max-width: 920px; padding-block: 28px 72px; }
.live-titre {
  font-family: var(--font-article);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.live-vide { font-size: 1.15rem; margin: 24px 0; }
.live-scene {
  background: #000;
  aspect-ratio: 16 / 9;
  margin: 0 0 12px;
}
.live-scene iframe { display: block; width: 100%; height: 100%; border: 0; }
.live-pastille {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--rouge-une);
  vertical-align: middle;
}
.live-coin {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: 16px;
  width: min(240px, calc(100vw - 32px));
  background: var(--encre);
  color: var(--blanc);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.live-coin[hidden] { display: none; }
.live-coin-barre,
.live-coin-titre {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blanc);
}
.live-coin-barre { justify-content: space-between; padding: 8px 8px 0 12px; }
.live-coin-barre a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.live-coin-barre button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--blanc);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.live-coin-titre {
  padding: 0 12px 8px;
  font-family: var(--font-article);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.live-coin-cadre { aspect-ratio: 1; background: #000; }
.live-coin-cadre iframe { display: block; width: 100%; height: 100%; border: 0; }
.desk-live .live-scene { max-width: 520px; margin-top: 12px; }

@media (max-width: 640px) {
  .live-coin { right: 12px; bottom: 12px; width: min(188px, calc(100vw - 24px)); }
}
@media print {
  .live-coin { display: none; }
}

/* --- Assistant : recherche d'articles seulement ------------------------- */

.assistant {
  position: fixed;
  z-index: 74;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
#live-coin:not([hidden]) ~ .assistant { bottom: 336px; }
.assistant-bouton {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--rouge-une);
  color: var(--blanc);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
.assistant-bouton svg { width: 26px; height: 26px; display: block; margin: 0 auto; }
.assistant-bulle {
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  color: var(--encre);
  border: 1px solid var(--grege);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.assistant-bulle[hidden] { display: none; }
.assistant-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px 10px 14px;
  background: var(--rouge-une);
  color: var(--blanc);
}
.assistant-tete p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.assistant-tete button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--blanc);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.assistant-fil {
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.assistant-msg {
  max-width: 92%;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
}
.assistant-msg p { margin: 0; }
.assistant-msg.is-bot { background: var(--papier); }
.assistant-msg.is-moi { align-self: flex-end; background: var(--encre); color: var(--blanc); }
.assistant-msg ul { list-style: none; margin: 10px 0 0; padding: 0; }
.assistant-msg li + li { margin-top: 8px; }
.assistant-msg a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.assistant-msg a span {
  display: block;
  margin-bottom: 2px;
  color: var(--rouge-une);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.assistant-msg a:hover { text-decoration: underline; }
.assistant-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--grege);
}
.assistant-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--grege);
  padding: 10px 12px;
  font: inherit;
}
.assistant-form button {
  border: 0;
  background: var(--encre);
  color: var(--blanc);
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 640px) {
  .assistant { right: 12px; bottom: 12px; }
  #live-coin:not([hidden]) ~ .assistant { bottom: 250px; }
}
@media print {
  .assistant { display: none; }
}

.badge-dm {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 7px;
  background: var(--rouge-une);
  color: var(--blanc);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.page-partager {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(196, 30, 58, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f4ef 0%, #fff 42%, #f3efe8 100%);
}

.partager-shell {
  padding-bottom: 64px;
}

.partager-hero {
  max-width: 36rem;
  margin: 0 0 36px;
}

.partager-marque {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--rouge-une);
}

.partager-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-article);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
}

.partager-grille {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 40px;
  align-items: start;
}

.partager-qr {
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--encre);
  text-align: center;
}

.partager-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #fff;
}

.partager-qr figcaption {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris-plomb);
}

.partager-liens ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partager-lien {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--encre);
  background: #fff;
  color: var(--encre);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.partager-lien::after {
  content: "\2192";
  opacity: 0.55;
}
background: var(--encre);
  color: #fff;
  transform: translateX(4px);
}

.partager-vide {
  color: var(--gris-plomb);
}

@media (max-width: 760px) {
  .partager-grille {
    grid-template-columns: 1fr;
  }

  .partager-qr {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media print {
  .partager-liens { break-inside: avoid; }
  .partager-qr { border-color: #000; }
}

/* Footer : rubriques sur deux colonnes */
.footer .footer-rubriques { columns: 2; column-gap: 24px; }
.footer .footer-rubriques li { break-inside: avoid; }
@media (min-width: 901px) { .footer-grille { grid-template-columns: 1.4fr 2fr 1fr 1fr; } }
