/* Conférence de presse : styles spécifiques à la page */

/* Vidéo vedette */
.conf-video { padding: clamp(40px, 6vw, 64px) 20px 0; }
.conf-video__player {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(15, 42, 63, .25);
  aspect-ratio: 16 / 9;
  background: var(--navy-dark);
}
.conf-video__player > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .55;
}
.conf-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--cream);
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(11, 34, 51, .25), rgba(11, 34, 51, .75));
  text-decoration: none;
}
.conf-video__overlay:hover { color: var(--cream); }
.conf-video__play {
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .15s ease, background .15s ease;
}
.conf-video__overlay:hover .conf-video__play {
  background: var(--gold-dark);
  transform: scale(1.06);
}
.conf-video__player > img { opacity: 1; }
.conf-video__titre {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
}
.conf-video__sub {
  font-size: 14px;
  color: rgba(247, 245, 240, .75);
}

/* Segments */
.conf-segments { padding: clamp(44px, 6vw, 64px) 20px 0; }
.conf-segments h2 { margin-bottom: 16px; }
.conf-segments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.segment-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Carte avec couverture (image gérée dans l'admin) */
.segment-card--cover { padding: 0; overflow: hidden; gap: 0; }
.segment-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--navy-dark);
}
.segment-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.segment-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(198, 138, 46, .95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .15s ease;
}
.segment-card__cover:hover .segment-card__play { transform: scale(1.08); }
.segment-card--cover .segment-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.segment-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.segment-card__duree {
  font-size: 12.5px;
  color: #888;
  font-weight: 600;
}
.segment-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 0;
  line-height: 1.3;
}
.segment-card p {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
}
.segment-card__watch {
  margin-top: auto;
  align-self: flex-start;
  border: none;
  background: none;
  color: var(--teal);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.segment-card__watch:hover { color: var(--gold); }

/* Communiqué de presse */
.conf-communique { padding: clamp(44px, 6vw, 64px) 20px 0; }
.conf-communique__card {
  background: var(--navy);
  color: var(--cream);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.conf-communique__icone {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(198, 138, 46, .18);
  border: 1px solid rgba(198, 138, 46, .45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.conf-communique__icone .icon { width: 30px; height: 30px; }
.conf-communique__body { flex: 1 1 300px; min-width: 0; }
.conf-communique__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 4px;
}
.conf-communique h2 {
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 800;
  margin: 0 0 6px;
}
.conf-communique__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 245, 240, .8);
  margin: 0;
}
.conf-communique__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}
.conf-communique__actions .btn--gold {
  font-size: 14.5px;
  padding: 14px 22px;
}
.conf-communique__actions .btn--gold[hidden],
.conf-communique__lien[hidden],
.conf-phototheque__zip[hidden] { display: none; }
.conf-communique__lien {
  background: none;
  border: 1.5px solid rgba(247, 245, 240, .4);
  color: var(--cream);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.conf-communique__lien:hover { border-color: #fff; color: var(--cream); }
.conf-communique__attente {
  font-size: 13px;
  color: rgba(247, 245, 240, .6);
  margin: 0;
}
.conf-communique__attente[hidden] { display: none; }

/* Photothèque */
.conf-phototheque { padding: clamp(44px, 6vw, 64px) 20px clamp(48px, 7vw, 80px); }
.conf-phototheque__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.conf-phototheque h2 { margin: 0; }
.conf-phototheque__zip {
  gap: 8px;
  font-size: 14.5px;
  padding: 13px 20px;
}
.conf-phototheque__credit {
  font-size: 13px;
  color: #777;
  margin: 8px 0 0;
}

/* Squelette du grand lecteur pendant le chargement */
.conf-video__skeleton {
  position: absolute;
  inset: 0;
  border-radius: 24px;
}

/* Mention discrète du contenu de démonstration */
.demo-badge {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-dark);
  background: rgba(198, 138, 46, .1);
  border: 1px solid rgba(198, 138, 46, .3);
  border-radius: 100px;
  padding: 8px 16px;
  margin: 16px auto 0;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  line-height: 1.45;
}
.conf-video .demo-badge {
  color: var(--gold-light);
  background: rgba(198, 138, 46, .14);
}

/* Photothèque dynamique : grille + pagination + zoom */
[data-phototheque].is-loading { opacity: .6; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.photo-item {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.photo-item button {
  border: none;
  background: none;
  padding: 0;
  cursor: zoom-in;
  display: block;
}
.photo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}
.photo-item button:hover img { transform: scale(1.03); }
.photo-item figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
}
.photo-item figcaption span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-item figcaption a {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gray);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.photo-item figcaption a:hover { background: var(--gold); color: #fff; }

.photo-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.photo-pagination span {
  font-size: 13.5px;
  color: var(--text-3);
  font-weight: 600;
}
.photo-pagination button {
  border: 1.5px solid var(--navy);
  background: none;
  color: var(--navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  min-height: 42px;
}
.photo-pagination button:hover:not(:disabled) { background: var(--navy); color: var(--cream); }
.photo-pagination button:disabled { opacity: .35; cursor: default; }

/* Zoom photo avec téléchargement */
.photo-zoom {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 34, 51, .94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.photo-zoom[hidden] { display: none; }
.photo-zoom img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  cursor: zoom-out;
}
.photo-zoom__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.photo-zoom__nom {
  color: rgba(247, 245, 240, .85);
  font-size: 14px;
  font-weight: 600;
}
.photo-zoom__dl {
  font-size: 14px;
  padding: 12px 20px;
}

/* ===== Présentation des résultats (PDF) dans le grand bloc ===== */
.conf-prez .conf-video__player { background: #234A9B; }
.conf-prez__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(11, 34, 51, 0) 55%, rgba(11, 34, 51, .55));
  text-decoration: none;
}
.conf-prez__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  font-size: clamp(15px, 1.8vw, 17px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .15s ease, background .15s ease;
}
.conf-prez__overlay:hover .conf-prez__btn,
.conf-prez__overlay:focus-visible .conf-prez__btn { background: var(--gold-dark); transform: scale(1.04); }
.conf-prez__cadre { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
/* Lecteur ouvert : un peu plus haut que 16:9 pour la barre d'outils du PDF */
.conf-prez .conf-video__player.is-ouvert { aspect-ratio: 16 / 10; }

.conf-prez__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.conf-prez__titre { margin: 0 0 4px; font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; color: var(--navy); }
.conf-prez__sub { margin: 0; font-size: 14.5px; color: var(--text-3); line-height: 1.5; }
.conf-prez__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.conf-prez__dl { font-weight: 700; font-size: 14.5px; color: var(--teal); }
.conf-prez__dl:hover { color: var(--gold-dark); }
