/* ── Variables ─────────────────────────────────────── */
.gsp-page {
  font-family: 'DM Sans', sans-serif;
  color: #1a2535;
  -webkit-font-smoothing: antialiased;
  --blue:        #0063a6;
  --blue-dark:   #003f6b;
  --blue-light:  #e8f4fd;
  --blue-xlight: #f0f8ff;
  --accent:      #00a8e8;
  --teal:        #00c9b1;
  --teal-light:  #e0faf6;
  --gold:        #e8a020;
  --gold-light:  #fff8ec;
  --member:      #7c3aed;       /* violet = couleur adhérent */
  --member-light:#f3eeff;
  --ink-soft:    #4a5870;
  --divider:     #e2eaf3;
  --radius:      1.25rem;
  --pill:        4rem;
  --shadow:      0 4px 24px rgba(0,63,107,.09);
  --shadow-h:    0 16px 48px rgba(0,63,107,.17);
  --tr:          all .32s cubic-bezier(.22,.68,0,1.2);
}
/* ── Typo ───────────────────────────────────────────── */
.gsp-page h1,
.gsp-page h2,
.gsp-page h3,
.gsp-page h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-dark);
}
/* ══════════════════════════════════════════════════════
   HERO — sobre, institutionnel, aligné gerontopolesud.fr
══════════════════════════════════════════════════════ */
.gsp-hero {
  padding: 2rem 0 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.gsp-hero-inner {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--divider);
  position: relative;
}
/* Trait bleu centré sous le titre */
.gsp-hero-inner::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 1.1rem auto 0;
}
.gsp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}
.gsp-eyebrow-deco {
  color: var(--accent);
  letter-spacing: -.05em;
  font-size: .65rem;
  opacity: .7;
}
.gsp-hero h1 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .6rem;
  color: var(--blue-dark);
}
.gsp-hero-lead {
  font-size: .96rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
.gsp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
  font-size: .86rem;
  color: var(--ink-soft);
}
/* Nav ancres — sobre, liens texte avec léger encadré */
.gsp-nav-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2.5rem;
}
.gsp-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-light);
  border: 1px solid rgba(0,99,166,.18);
  border-radius: .4rem;
  padding: .38rem 1rem;
  font-family: 'Sora', sans-serif;
  font-size: .84rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  transition: var(--tr);
}
.gsp-nav-pill:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-color: var(--blue);
}
.gsp-nav-pill svg { color: var(--blue); }
.gsp-nav-pill:hover svg { color: #fff; }
/* Pill adhérent */
.gsp-nav-pill.is-member {
  background: var(--member-light);
  border-color: rgba(124,58,237,.22);
  color: var(--member);
}
.gsp-nav-pill.is-member:hover {
  background: var(--member);
  color: #fff;
  border-color: var(--member);
}
/* ══════════════════════════════════════════════════════
   BADGES D'ACCÈS — pièce maîtresse de la logique
══════════════════════════════════════════════════════ */
/* Bandeau pleine largeur au-dessus d'une section */
.gsp-access-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: .85rem 1.5rem;
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 0;
  border-bottom: none;
}
.gsp-access-banner i { font-size: 1rem; flex-shrink: 0; }
.gsp-access-banner strong { font-weight: 800; }
/* Variante : adhérents uniquement */
.gsp-access-banner.member-only {
  background: var(--member-light);
  color: var(--member);
  border: 1.5px solid rgba(124,58,237,.2);
  border-bottom: none;
}
/* Variante : adhérents + coup de cœur */
.gsp-access-banner.mixed {
  background: var(--gold-light);
  color: #92600a;
  border: 1.5px solid rgba(232,160,32,.25);
  border-bottom: none;
}
/* Wrapper section + bandeau fusionnés visuellement */
.gsp-serie-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--divider);
  box-shadow: var(--shadow);
  margin-bottom: 3.5rem;
}
.gsp-serie-wrap.member-only { border-color: rgba(124,58,237,.22); }
.gsp-serie-wrap.mixed       { border-color: rgba(232,160,32,.28); }
/* Contenu intérieur de la section */
.gsp-serie {
  background: #fff;
  padding: 2rem 2rem 2.25rem;
}
@media (max-width: 575px) { .gsp-serie { padding: 1.25rem 1rem 1.5rem; } }
/* Inline badges (pour le header série) */
.gsp-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .9rem;
  border-radius: var(--pill);
  white-space: nowrap;
}
.gsp-badge.b-type {
  color: var(--blue);
  background: var(--blue-light);
}
.gsp-badge.b-member {
  color: var(--member);
  background: var(--member-light);
}
.gsp-badge.b-heart {
  color: #92600a;
  background: var(--gold-light);
}
/* ══════════════════════════════════════════════════════
   HEADER DE SÉRIE
══════════════════════════════════════════════════════ */
.gsp-serie-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.gsp-serie-header-left { display: flex; flex-direction: column; gap: .45rem; }
.gsp-badges-row { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.gsp-serie h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0 0 .2rem;
}
.gsp-serie-sub {
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0;
}
.gsp-btn-playlist {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--blue);
  color: #fff !important;
  border-radius: var(--pill);
  padding: .68rem 1.55rem;
  font-family: 'Sora', sans-serif;
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0,99,166,.25);
  transition: var(--tr);
  white-space: nowrap;
}
.gsp-btn-playlist:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,63,107,.32);
}
/* ══════════════════════════════════════════════════════
   GRILLE VIDÉO + SIDEBAR
══════════════════════════════════════════════════════ */
.gsp-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.75rem;
  align-items: start;
}
.gsp-grid.gsp-reverse { direction: rtl; }
.gsp-grid.gsp-reverse > * { direction: ltr; }
@media (max-width: 991px) {
  .gsp-grid, .gsp-grid.gsp-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}
/* Card vidéo */
.gsp-video-card {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--divider);
  box-shadow: var(--shadow);
  transition: var(--tr);
}
.gsp-video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-h);
}
.gsp-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--blue-dark);
}
.gsp-video-wrap iframe {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  border: none;
}
.gsp-video-label {
  position: absolute;
  top: .85rem; left: .85rem;
  z-index: 2;
  background: rgba(0,63,107,.82);
  backdrop-filter: blur(5px);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: var(--pill);
}
.gsp-video-info { padding: 1.25rem 1.5rem; }
.gsp-duration {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: .35rem;
}
.gsp-video-info h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.gsp-video-info p  { font-size: .89rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
/* ══════════════════════════════════════════════════════
   SIDEBAR CTA
══════════════════════════════════════════════════════ */
.gsp-sidebar {
  border-radius: 1rem;
  background: #fff;
  border: 1.5px solid var(--divider);
  overflow: hidden;
  box-shadow: var(--shadow);
}
/* En-tête coloré de la sidebar */
.gsp-sidebar-head {
  padding: 1.25rem 1.5rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.gsp-sidebar-head.member-only { background: var(--member-light); }
.gsp-sidebar-head.mixed       { background: var(--gold-light); }
.gsp-sidebar-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.member-only .gsp-sidebar-icon { background: rgba(124,58,237,.15); color: var(--member); }
.mixed       .gsp-sidebar-icon { background: rgba(232,160,32,.18); color: #92600a; }
.gsp-sidebar-head-text h4 { font-size: 1rem; margin: 0 0 .25rem; }
.gsp-sidebar-head-text p  { font-size: .82rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
/* Corps de la sidebar */
.gsp-sidebar-body { padding: 1.25rem 1.5rem 1.5rem; }
.gsp-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.gsp-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .86rem;
  color: var(--ink-soft);
  padding: .48rem 0;
  border-bottom: 1px solid var(--divider);
  line-height: 1.5;
}
.gsp-benefits li:last-child { border-bottom: none; }
.gsp-benefits .bi { flex-shrink: 0; font-size: .9rem; margin-top: .15rem; }
.gsp-benefits .bi.teal   { color: var(--teal); }
.gsp-benefits .bi.gold   { color: var(--gold); }
.gsp-benefits .bi.member { color: var(--member); }
/* Bouton principal */
.gsp-btn-main {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--pill);
  padding: .8rem 1rem;
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: var(--tr);
  margin-bottom: .5rem;
  color: #fff !important;
}
.gsp-btn-main.btn-member {
  background: linear-gradient(135deg, var(--member), #5b21b6);
  box-shadow: 0 5px 18px rgba(124,58,237,.28);
}
.gsp-btn-main.btn-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124,58,237,.38);
}
.gsp-btn-main.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 5px 18px rgba(0,63,107,.24);
}
.gsp-btn-main.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,63,107,.34);
}
/* Bouton secondaire (coup de cœur) */
.gsp-btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--pill);
  padding: .72rem 1rem;
  font-family: 'Sora', sans-serif;
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--tr);
  background: var(--gold-light);
  color: #92600a !important;
  border: 1.5px solid rgba(232,160,32,.35);
  margin-bottom: .5rem;
}
.gsp-btn-secondary:hover {
  background: #fef3c7;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.gsp-footnote {
  text-align: center;
  font-size: .76rem;
  color: var(--ink-soft);
  margin: .35rem 0 0;
}
.gsp-footnote i { color: var(--teal); }
/* Encart "Pas encore adhérent ?" */
.gsp-join-nudge {
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--blue-xlight);
  border-radius: .75rem;
  border: 1px solid rgba(0,99,166,.12);
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}
.gsp-join-nudge a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}
.gsp-join-nudge a:hover { color: var(--blue-dark); }
/* ══════════════════════════════════════════════════════
   SÉPARATEUR VISUEL ENTRE LES 2 SÉRIES
══════════════════════════════════════════════════════ */
.gsp-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 3rem;
  color: var(--ink-soft);
  font-size: .8rem;
}
.gsp-divider::before,
.gsp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}
/* ══════════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════════ */
.gsp-cta-final {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0a5280 55%, #003550 100%);
  border-radius: 1.75rem;
  padding: 3.5rem 2rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-top: 1.5rem;
}
.gsp-cta-final::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  top: -70px; right: -60px;
  border-radius: 50%;
  background: rgba(0,168,232,.12);
  pointer-events: none;
}
.gsp-cta-final::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  bottom: -60px; left: -40px;
  border-radius: 50%;
  background: rgba(0,201,177,.1);
  pointer-events: none;
}
.gsp-cta-final > * { position: relative; z-index: 1; }
.gsp-cta-final h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: .75rem;
}
.gsp-cta-final p {
  font-size: .98rem;
  opacity: .85;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
  font-weight: 300;
}
.gsp-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.gsp-btn-yt {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  color: var(--blue-dark) !important;
  border-radius: var(--pill);
  padding: .82rem 2rem;
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transition: var(--tr);
}
.gsp-btn-yt:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}
.gsp-btn-yt .bi-youtube { color: #ff0000; font-size: 1.3rem; }
.gsp-btn-join-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--member);
  color: #fff !important;
  border-radius: var(--pill);
  padding: .82rem 2rem;
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(124,58,237,.32);
  transition: var(--tr);
}
.gsp-btn-join-cta:hover {
  background: #6d28d9;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(124,58,237,.42);
}
/* Responsive */
@media (max-width: 767px) {
  .gsp-serie-header { flex-direction: column; align-items: flex-start; }
  .gsp-hero { padding: 2.5rem .5rem 2rem; }
  .gsp-cta-row { flex-direction: column; align-items: center; }
}
.gsp-serie-desc {
  font-size: 0.92rem;
  color: #555;
  max-width: 560px;
  margin-top: 0.4rem;
  line-height: 1.55;
}
.gsp-cta-final {
  background: rgb(10, 86, 140) !important;
}