/* Résultats : styles spécifiques à la page */

.res-section-title { margin: 0 0 6px; }
.res-section-lead {
  color: var(--text-3);
  font-size: 15px;
  margin: 0 0 20px;
}

/* ---------- Synthèse exécutive (accordéon) ---------- */

.synthese { padding: clamp(40px, 6vw, 64px) 20px 0; }
.synthese__liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.synthese-item .acc-trigger {
  padding: 20px;
  gap: 14px;
}
.synthese-item .badge-sq {
  width: 38px;
  height: 38px;
  font-size: 15px;
}
.synthese-item__titre {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.synthese-item [data-acc-panel] {
  padding: 0 20px 22px 72px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-3);
}
.synthese-cta {
  margin-top: 16px;
  border-radius: 18px;
  padding: 22px;
  gap: 14px;
}
.synthese-cta p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 46ch;
  color: rgba(247, 245, 240, .85);
}
.synthese-cta .btn { font-size: 15px; padding: 14px 22px; }

/* ---------- États vides et éléments des pages scindées ---------- */

.videos--page { padding: clamp(40px, 6vw, 64px) 20px; margin-top: 0; }
.videos--page .cat-title--light:first-child { margin-top: 0; }
.infographies > .wrap-1100 > [data-infographies] .cat-title:first-child { margin-top: 0; }

.synthese { padding: clamp(40px, 6vw, 64px) 20px 0; }
.synthese-cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.synthese-cta__actions .btn--outline-gold { font-size: 15px; }

/* Renvois vers les autres formats (page Synthèse) */
.res-suite { padding: clamp(40px, 6vw, 72px) 20px; }
.res-suite__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.res-suite__card {
  background: var(--navy);
  color: var(--cream);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease;
}
.res-suite__card:hover {
  transform: translateY(-3px);
  background: var(--navy-2);
  color: var(--cream);
}
.res-suite__titre { font-size: 17px; font-weight: 700; line-height: 1.25; }
.res-suite__texte {
  font-size: 13px;
  color: rgba(247, 245, 240, .65);
  line-height: 1.4;
}
.res-suite__more {
  margin-top: auto;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Listes paginées (Mini-guides, Vidéos, Infographies) ---------- */

/* Respiration généreuse avant le footer */
.res-liste { padding: clamp(40px, 6vw, 64px) 20px clamp(56px, 8vw, 96px); }

/* Menu de catégories : étiquettes centrées */
.res-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 34px);
}
.res-pills[hidden] { display: none; }
.res-liste--dark .filter-pill {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
  color: var(--cream);
}
.res-liste--dark .filter-pill:hover { border-color: var(--gold); }
.res-liste--dark .filter-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Grilles */
.res-grid { display: grid; gap: 16px; }
.res-grid--guides { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.res-grid--videos { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.res-grid--infographies { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.guide-card--grid { width: auto; }
.infographie-card--grid { width: auto; }

/* Pagination */
.res-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: clamp(26px, 4vw, 38px);
}
.res-pagination[hidden] { display: none; }
.res-pagination button {
  border: 1.5px solid #D8D4CC;
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 100px;
  cursor: pointer;
  min-height: 42px;
}
.res-pagination button:hover:not(:disabled) { border-color: var(--navy); }
.res-pagination button:disabled { opacity: .35; cursor: default; }
.res-pagination__nums { display: flex; gap: 6px; flex-wrap: wrap; }
.res-pagination__num {
  min-width: 42px;
  padding: 10px 12px;
  justify-content: center;
}
.res-pagination__num.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.res-liste--dark .res-pagination button {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
  color: var(--cream);
}
.res-liste--dark .res-pagination button:hover:not(:disabled) { border-color: var(--gold); }
.res-liste--dark .res-pagination__num.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ---------- Titres de catégorie ---------- */

.cat-head { padding: 0 20px; }
.cat-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 18px 0 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-title::before {
  content: '';
  width: 22px;
  height: 4px;
  border-radius: 100px;
  background: var(--gold);
  flex: none;
}
.cat-title--light { color: var(--cream); margin: 22px 0 14px; }
.videos__grid + .cat-title--light { margin-top: 30px; }

/* ---------- Mini-guides ---------- */

.guides__head { padding: 0 20px; }
.guides__filtres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.guides .scroller { padding: 12px 20px 20px; }
.guide-card {
  flex: none;
  width: 210px;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 210px;
  box-shadow: 0 3px 14px rgba(15, 42, 63, .1);
}
.guide-card__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}
.guide-card__titre {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.guide-card__actions {
  margin-top: auto;
  display: flex;
}
/* Bouton « Recevoir » agrandi et mis en valeur : pleine largeur, fond clair
   contrastant sur les quatre couleurs de carte. */
.guide-card__recevoir {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  min-height: 48px;
  border: none;
  background: var(--cream);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  transition: background .15s ease, transform .15s ease;
}
.guide-card__recevoir::before { content: '✉'; font-size: 15px; }
.guide-card__recevoir:hover { background: var(--gold); color: #fff; transform: translateY(-1px); }
.guide-card__desc {
  font-size: 12.5px;
  opacity: .75;
  line-height: 1.45;
}

/* ---------- Vidéos (bande marine) ---------- */

/* La bande vidéos démarre directement sous le héros : aucune marge haute,
   sinon le fond crème de la page apparaît entre les deux sections sombres. */
.videos {
  padding: clamp(44px, 6vw, 72px) 20px;
  margin-top: 0;
}
.videos .res-section-lead {
  color: rgba(247, 245, 240, .75);
  margin-bottom: 24px;
}
.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.playlist-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  overflow: hidden;
}
.playlist-card__cover {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.playlist-card__play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.playlist-card__body { padding: 16px 18px 20px; }
.playlist-card__titre {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.playlist-card__nb {
  font-size: 13px;
  color: rgba(247, 245, 240, .65);
}

/* ---------- Vidéos verticales 9:16 ---------- */

.video-vcard {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  background: var(--navy);
  color: var(--cream);
  cursor: pointer;
  display: block;
  box-shadow: 0 6px 20px rgba(11, 34, 51, .35);
  transition: transform .15s ease;
}
.video-vcard:hover { transform: translateY(-3px); }
.video-vcard__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-vcard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(198, 138, 46, .95);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  transition: transform .15s ease, background .15s ease;
}
.video-vcard:hover .video-vcard__play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); }
.video-vcard__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 14px 13px;
  background: linear-gradient(180deg, transparent, rgba(11, 34, 51, .92));
  text-align: left;
}
.video-vcard__titre {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

/* Lecteur en superposition, cadre portrait 9:16 */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 34, 51, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal[hidden] { display: none; }
.video-modal__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(86vh, calc((100vw - 40px) * 16 / 9));
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.video-modal__player,
.video-modal__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.video-modal__close:hover { background: rgba(0, 0, 0, .75); }

/* ---------- Infographies ---------- */

.infographies { padding: clamp(44px, 6vw, 72px) 20px; }
.infographies .scroller { padding: 4px 0 16px; }
.infographie-card {
  flex: none;
  width: 180px;
  aspect-ratio: 9 / 16;
  color: var(--cream);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 42, 63, .15);
}
.infographie-card__marque {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}
.infographie-card__chiffre {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 14px;
}
.infographie-card__texte {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 6px;
}
.infographie-card__partage {
  margin-top: auto;
  display: flex;
  gap: 6px;
}
.infographie-card__partage button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, .16);
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Infographies dynamiques (images) ---------- */

.infographie-card--img {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.infographie-card--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.infographie-card__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(11, 34, 51, .92));
  color: var(--cream);
}
.infographie-card__bar span {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}
.infographie-card__bar a {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .18);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.infographie-card__bar a:hover { background: var(--gold); color: #fff; }

