/* presse.css - Mémoire retrouvée > La presse - Ventabren.info */

.presse-page,
.presse-fiche-page {
  background: #f7f5f0;
  color: #2f2f2f;
  position: relative;
  overflow: hidden;
}

.presse-page::after,
.presse-fiche-page::after {
  content: "";
  position: fixed;
  top: 0%;
  right: -400px;
  width: 1800px;
  height: 1800px;
  background-image: url("/images/olivier2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.presse-page > *,
.presse-fiche-page > * {
  position: relative;
  z-index: 1;
}

/* --- INTRO --- */
.presse-intro {
  max-width: 1150px;
  margin: 175px auto 40px;
  padding: 0 30px;
  text-align: center;
}

.presse-accroche {
  font-family: 'Caveat', cursive;
  font-size: 30px;
  color: #b68b52;
  margin: 0 0 4px;
  transform: rotate(-1.2deg);
}

.presse-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.15;
}

.presse-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: #6a6258;
  margin: 0 auto;
}

.presse-intro-ligne1 {
  font-weight: 500;
  color: #3a3a3a;
  margin-bottom: 6px !important;
}

.presse-intro-ligne2 {
  margin-top: 0;
}

/* --- SÉLECTEUR D'ANNÉES --- */
.presse-selecteur-annees {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 0 30px 26px;
}

.presse-annees-ligne {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.presse-annees-ligne--etendue {
  flex-wrap: wrap;
  overflow-x: visible;
}

.presse-annee-lien {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #c9a45a;
  color: #8f6a3b;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.presse-annee-lien:hover {
  background: rgba(182,139,82,.12);
}

.presse-annee-lien--active {
  background: #5a4a36;
  color: #f3ead9;
  border-color: #5a4a36;
}

.presse-annee-lien-compteur {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #b68b52;
}

.presse-annee-lien--active .presse-annee-lien-compteur {
  color: #f3ead9;
}

.presse-annee-lien--masquee {
  display: none;
}

.presse-annee-lien--masquee.presse-annee-lien--visible {
  display: inline-flex;
}

.presse-annees-separateur {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
}

.presse-annees-separateur span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a876);
}

.presse-annees-separateur span:last-child {
  background: linear-gradient(to left, transparent, #c9a876);
}

.presse-annees-separateur-point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b68b52;
  flex-shrink: 0;
}

.presse-annee-voir-plus {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
}

.presse-annee-voir-plus:hover {
  background: rgba(182,139,82,.12);
}

.presse-selecteur-legende {
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: #8f6a3b;
  opacity: .8;
  margin: 0 0 40px;
}

/* --- RACCOURCIS PREMIER / DERNIER ARTICLE --- */
.presse-raccourci-wrap {
  text-align: center;
  margin: 0 0 40px;
}

.presse-raccourci-wrap--fin {
  margin: 40px 0 0;
}

.presse-raccourci {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: #8f6a3b;
  text-decoration: none;
  border-bottom: 1px solid rgba(182,139,82,.4);
  transition: color .2s ease, border-color .2s ease;
}

.presse-raccourci:hover {
  color: #5a4a36;
  border-color: #5a4a36;
}

/* --- FRISE --- */
.presse-frise-section {
  max-width: 1200px;
  margin: 0 auto 130px;
  padding: 0 40px;
}

.presse-frise {
  position: relative;
}

.presse-frise::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #b68b52;
  transform: translateX(-50%);
  z-index: 0;
}

.presse-annee-repere {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 10px 0 32px;
  scroll-margin-top: 170px;
}

.presse-annee-medaillon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #5a4a36;
  color: #f3ead9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
}

.presse-annee-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: #b68b52;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

.presse-coupure-ligne {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  margin-bottom: 36px;
}

.presse-coupure-ligne--gauche .presse-coupure {
  grid-column: 1;
  justify-self: end;
}

.presse-coupure-ligne--droite .presse-coupure {
  grid-column: 3;
  justify-self: start;
}

.presse-coupure {
  position: relative;
  display: block;
  max-width: 400px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  background: #f3ead9;
  border: 1px solid #d8c4a4;
  padding: 16px 20px 18px;
  clip-path: polygon(0 6px, 4% 0, 96% 0, 100% 6px, 100% 100%, 0 100%);
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.24));
  transition: transform .25s ease, filter .25s ease;
}

.presse-coupure-ligne--gauche .presse-coupure {
  transform: rotate(-1.1deg);
}

.presse-coupure-ligne--droite .presse-coupure {
  transform: rotate(0.9deg);
}

.presse-coupure:hover {
  transform: rotate(0deg) translateY(-4px);
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.32));
}

.presse-coupure-ligne--gauche .presse-coupure::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -44px;
  width: 22px;
  height: 2px;
  background: #b68b52;
}

.presse-coupure-ligne--gauche .presse-coupure::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -46px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b68b52;
}

.presse-coupure-ligne--droite .presse-coupure::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -44px;
  width: 22px;
  height: 2px;
  background: #b68b52;
}

.presse-coupure-ligne--droite .presse-coupure::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -46px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b68b52;
}

.presse-coupure-journal {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8f6a3b;
  font-weight: 600;
}

.presse-coupure-date {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  color: #b68b52;
  margin: 1px 0 6px;
}

.presse-coupure-titre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1.3;
}

.presse-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.presse-badge--evenement {
  background: #dfe6cc;
  color: #3d4a1f;
}

.presse-badge--personnalite {
  background: #e6d6c2;
  color: #5a4a1f;
}

.presse-badge--patrimoine {
  background: #e4d19a;
  color: #5a4416;
}

.presse-badge--vie_municipale {
  background: #d9c9e6;
  color: #4a2f5a;
}

.presse-empty {
  text-align: center;
  padding: 60px 30px 120px;
  color: #6a6258;
}

/* --- FICHE DÉTAIL --- */
.presse-fiche-fermer {
  position: fixed;
  top: 24px;
  right: 30px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4ddd0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #5a4a36;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  transition: all 0.2s ease;
}

.presse-fiche-fermer:hover {
  background: #b68b52;
  border-color: #b68b52;
  color: #fff;
}

.presse-hero {
  max-width: 1300px;
  margin: 175px auto 0;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 54px;
  align-items: start;
}

.presse-hero-scan {
  background: #f3ead9;
  border: 1px solid #d8c4a4;
  padding: 20px;
  clip-path: polygon(0 6px, 4% 0, 96% 0, 100% 6px, 100% 100%, 0 100%);
  transform: rotate(-2deg);
  filter: drop-shadow(0 16px 18px rgba(0,0,0,.22));
  perspective: 900px;
  margin-bottom: 10px;
}

.presse-hero-scan img {
  width: 100%;
  display: block;
  cursor: zoom-in;
  transition: transform .28s ease;
  backface-visibility: hidden;
}

.presse-hero-scan.presse-scan-tourne img {
  transform: rotateY(90deg);
}

.presse-scan-controles {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.presse-flip-btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: #8f6a3b;
  cursor: pointer;
  padding: 0 0 3px;
  transition: color .2s ease;
}

.presse-flip-btn:hover {
  color: #5a4a36;
  text-decoration: underline;
}

.presse-flip-btn:focus {
  outline: none;
}

.presse-flip-btn:focus-visible {
  outline: 2px solid rgba(182,139,82,.35);
  outline-offset: 3px;
}

.presse-scan-compteur {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: #8f6a3b;
}

.presse-scan-hint {
  margin: 12px 0 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: #8f6a3b;
}

.presse-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8f6a3b;
  font-weight: 700;
  margin-bottom: 6px;
}

.presse-hero-date {
  font-family: 'Caveat', cursive;
  font-size: 27px;
  color: #b68b52;
  margin: 0 0 12px;
}

.presse-hero-info h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 38px;
  color: #2f2f2f;
  margin: 0 0 14px;
  line-height: 1.15;
}

.presse-chapo {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2d5c2;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
}

.presse-hero-info .presse-badge {
  font-size: 13px;
  padding: 6px 16px;
  letter-spacing: 1px;
  margin-top: 14px;
}

.presse-chapo p {
  margin: 0;
}

.presse-video-lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 22px;
  border: 1px solid rgba(182,139,82,.35);
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: #b68b52;
  text-decoration: none;
  transition: all .2s ease;
}

.presse-video-lien:hover {
  background: #b68b52;
  border-color: #b68b52;
  color: #fff;
}

/* --- NAVIGATION --- */
.presse-nav-module {
  max-width: 860px;
  margin: 64px auto 0;
  padding: 40px 40px 36px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(0,0,0,.06);
}

.presse-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.presse-nav-link {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background: #f7f5f0;
  border-radius: 16px;
  text-decoration: none;
  color: #2f2f2f;
  transition: transform .2s ease, background .2s ease;
}

.presse-nav-link:hover {
  transform: translateY(-3px);
  background: rgba(182,139,82,.10);
}

.presse-nav-next {
  text-align: right;
  align-items: flex-end;
}

.presse-nav-link span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b68b52;
  font-weight: 700;
  margin-bottom: 6px;
}

.presse-nav-link strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
}

.presse-nav-disabled {
  visibility: hidden;
}

/* --- RETOUR --- */
.presse-back-link {
  text-align: center;
  margin: 60px 0 100px;
}

.presse-back-link a {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid rgba(182,139,82,.35);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #b68b52;
  transition: all .25s ease;
}

.presse-back-link a:hover {
  background: rgba(182,139,82,.08);
  border-color: rgba(182,139,82,.60);
}

/* --- LIGHTBOX --- */
.presse-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30,24,16,.88);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}

.presse-lightbox--ouvert {
  display: flex;
}

.presse-lightbox img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.presse-lightbox-fermer {
  position: fixed;
  top: 24px;
  right: 30px;
  z-index: 1001;
  background: #fff;
  border: 1px solid #e4ddd0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  color: #5a4a36;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  transition: all 0.2s ease;
}

.presse-lightbox-fermer:hover {
  background: #b68b52;
  border-color: #b68b52;
  color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 800px) {
  .presse-intro {
    margin: 190px auto 30px;
    padding: 0 22px;
  }

  .presse-intro h1 {
    font-size: 32px;
  }

  .presse-selecteur-annees {
    padding: 0 22px 22px;
  }

  .presse-frise-section {
    padding: 0 22px;
  }

  .presse-frise::before {
    left: 24px;
    transform: none;
  }

  .presse-annee-repere {
    justify-content: flex-start;
    position: relative;
    height: 48px;
    margin: 8px 0 26px;
  }

  .presse-annee-medaillon {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .presse-coupure-ligne {
    display: block;
    padding-left: 62px;
    margin-bottom: 30px;
  }

  .presse-coupure-ligne--gauche .presse-coupure,
  .presse-coupure-ligne--droite .presse-coupure {
    max-width: 100%;
  }

  .presse-coupure-ligne--gauche .presse-coupure::before,
  .presse-coupure-ligne--droite .presse-coupure::before {
    left: -38px;
    right: auto;
    top: 24px;
    width: 20px;
    height: 2px;
  }

  .presse-coupure-ligne--gauche .presse-coupure::after,
  .presse-coupure-ligne--droite .presse-coupure::after {
    left: -40px;
    right: auto;
    top: 20px;
    width: 9px;
    height: 9px;
  }

  .presse-hero {
    grid-template-columns: 1fr;
    margin: 110px auto 0;
    padding: 0 22px;
    gap: 30px;
  }

  .presse-hero-scan {
    max-width: 320px;
    margin: 0 auto;
  }

  .presse-hero-info {
    text-align: center;
  }

  .presse-hero-info h1 {
    font-size: 30px;
  }

  .presse-nav-module {
    margin: 44px 22px 0;
    padding: 28px 24px;
    border-radius: 18px;
  }

  .presse-nav {
    grid-template-columns: 1fr;
  }

  .presse-nav-next {
    text-align: left;
    align-items: flex-start;
  }
}
