/* ──────────────────────────────────────────────────────────────────────────
   Culture & Territoire — compléments au site
   Ce fichier et ct-complements.js ajoutent au site des éléments qui ne sont
   pas dans le code source React : le bandeau du porteur de projet sur
   l'accueil et les portraits des intervenants sur la page du Sommet.
   Ils sont volontairement séparés d'index.html : une seule ligne à remettre
   dans index.html si le site est redéployé.
   ────────────────────────────────────────────────────────────────────────── */

/* ─── Bandeau du porteur de projet (page d'accueil) ─────────────────────── */
.ct-bandeau-porteur {
  background: linear-gradient(118deg, #7a1f35 0%, #68203a 52%, #2a2f53 100%);
  color: #fff;
  padding: 56px 0;
  margin: 0;
  overflow: hidden;
  position: relative;
}
.ct-bandeau-porteur::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 109, 90, .22) 0%, rgba(226, 109, 90, 0) 70%);
  pointer-events: none;
}
.ct-bandeau-inner {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 1;
}
.ct-bandeau-portrait {
  width: 186px;
  height: 186px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 35%, #8d2740, #5a1627);
  border: 4px solid rgba(201, 162, 39, .55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .34);
}
.ct-bandeau-portrait img {
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  height: 204px;
  width: auto;
  max-width: none;
  display: block;
}
.ct-bandeau-texte { flex: 1; min-width: 0; }
.ct-bandeau-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #c9a227;
  display: block;
  margin-bottom: 14px;
}
.ct-bandeau-citation {
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1.52;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 18px;
  color: #fff;
}
.ct-bandeau-signature {
  font-size: .95rem;
  color: rgba(255, 255, 255, .86);
  margin: 0;
}
.ct-bandeau-signature b { color: #fff; font-weight: 600; }
.ct-bandeau-lien {
  display: inline-block;
  margin-top: 16px;
  font-size: .92rem;
  font-weight: 600;
  color: #e26d5a;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 109, 90, .5);
  padding-bottom: 2px;
}
.ct-bandeau-lien:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .6); }

@media (max-width: 760px) {
  .ct-bandeau-porteur { padding: 42px 0; }
  .ct-bandeau-inner { flex-direction: column; text-align: center; gap: 26px; }
  .ct-bandeau-portrait { width: 148px; height: 148px; }
  .ct-bandeau-portrait img { height: 162px; }
}

/* ─── Portraits des intervenants (page du Sommet) ───────────────────────── */
.speaker-card .ct-portrait {
  height: 220px;
  border-radius: 9px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 36%, #8d2740, #5a1627);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.speaker-card .ct-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}
.speaker-card .ct-role {
  display: inline-block;
  margin-top: 14px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #7a1f35;
  background: #f4efea;
  border-radius: 999px;
  padding: .2rem .66rem;
}
.speaker-card h3 { margin: 10px 0 4px; }
.speaker-card .ct-lien {
  display: inline-block;
  margin-top: 12px;
  font-size: .86rem;
  font-weight: 600;
  color: #7a1f35;
  text-decoration: none;
}
.speaker-card .ct-lien:hover { text-decoration: underline; }
.speaker-grid.ct-cinq { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px)  { .speaker-grid.ct-cinq { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1150px) { .speaker-grid.ct-cinq { grid-template-columns: repeat(5, 1fr); } }

@media (max-width: 900px) {
  .speaker-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .speaker-grid, .speaker-grid.ct-cinq { grid-template-columns: 1fr !important; }
}

/* La carte du porteur de projet est un lien : on neutralise le style de lien. */
a.speaker-card { text-decoration: none; color: inherit; display: block; }
a.speaker-card h3,
a.speaker-card p,
a.speaker-card span { text-decoration: none; }
a.speaker-card:hover { box-shadow: 0 10px 28px rgba(31, 42, 74, .16); }
.speaker-card { display: flex; flex-direction: column; }
.speaker-card .ct-lien { margin-top: auto; padding-top: 12px; }

/* ─── Le 95 Podcast sur l'accueil ─────────────────────────────────────────
   Le visuel décoratif du site compilé devient la façade du lecteur : une
   image servie par le site, le lecteur YouTube n'arrive qu'au clic. */
.podcast-visual.ct-podcast {
  height: auto; aspect-ratio: 16 / 9; display: block; position: relative;
  overflow: hidden; cursor: pointer; border-radius: 12px;
  background: #1f2a4a center / cover no-repeat;
  box-shadow: 0 20px 48px rgba(31, 42, 74, .3);
}
/* Les règles du site visent .podcast-visual > span : on les remet à plat. */
.podcast-visual.ct-podcast > span {
  width: auto; height: auto; border: 0; border-radius: 0; display: block;
  place-items: initial;
}
.podcast-visual.ct-podcast .ct-pod-voile {
  position: absolute; inset: 0; background: rgba(10, 8, 14, .16);
  transition: background .25s;
}
.podcast-visual.ct-podcast:hover .ct-pod-voile { background: rgba(10, 8, 14, .34); }
.podcast-visual.ct-podcast .ct-pod-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  transition: transform .22s, background .22s;
}
.podcast-visual.ct-podcast:hover .ct-pod-play {
  transform: translate(-50%, -50%) scale(1.08); background: #e26d5a;
}
.podcast-visual.ct-podcast .ct-pod-play svg {
  width: 27px; height: 27px; margin-left: 5px; fill: #7a1f35;
  transition: fill .22s;
}
.podcast-visual.ct-podcast:hover .ct-pod-play svg { fill: #fff; }
.podcast-visual.ct-podcast .ct-pod-duree {
  position: absolute; right: 12px; top: 11px; background: rgba(0, 0, 0, .74);
  color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 5px;
}
.podcast-visual.ct-podcast iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.podcast-visual.ct-podcast.ct-podcast-lu { cursor: default; background-image: none; }

/* La ligne « dernier épisode », sous le texte de présentation. */
.podcast-home-grid p.ct-podcast-episode {
  margin-top: 14px; font-size: .95rem; line-height: 1.6; color: #5c5866;
  border-left: 3px solid #7a1f35; padding-left: 14px;
}
@media (max-width: 700px) {
  .podcast-visual.ct-podcast .ct-pod-play { width: 56px; height: 56px; }
  .podcast-visual.ct-podcast .ct-pod-play svg { width: 20px; height: 20px; margin-left: 3px; }
}

/* ─── Projets à la une sur l'accueil (30/10/2026) ─── */
.home-project-grid .ct-une-visuel { position: relative; height: 200px; overflow: hidden; display: block; padding: 0; }
.home-project-grid .ct-une-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transition: transform .4s ease; }
.home-project-grid .ct-projet-une:hover .ct-une-visuel img { transform: scale(1.04); }
.home-project-grid .ct-une-badge { position: absolute; top: 12px; left: 12px; background: #c9a227; color: #1f2a4a; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.home-project-grid .ct-projet-une h3 a { color: inherit; text-decoration: none; }
.home-project-grid .ct-projet-une h3 a:hover { text-decoration: underline; }
.home-project-grid .ct-une-soutiens { display: block; color: #1f7a4d; font-size: .78rem; font-weight: 600; margin: 4px 0 6px; }
.home-project-grid .ct-une-bouton { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border-radius: 9px; background: #7a1f35; color: #fff; font-weight: 600; text-decoration: none; margin-top: 10px; }
.home-project-grid .ct-une-bouton:hover { background: #5e1729; }
.home-project-grid.ct-une-remplie { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; }

/* ─── Revivez la masterclass (09/11/2026) ─── */
.ct-revivez{background:var(--navy,#1f2a4a);color:#fff;padding:72px 0;font-family:Poppins,system-ui,sans-serif}
.ct-revivez-inner{max-width:1180px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center}
.ct-revivez-video{position:relative;border-radius:14px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.35);background:#000;aspect-ratio:16/9}
.ct-revivez-video video{display:block;width:100%;height:100%;object-fit:cover}
.ct-revivez-badge{position:absolute;top:14px;left:14px;background:var(--coral,#e26d5a);color:#fff;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:5px 10px;border-radius:999px;pointer-events:none}
.ct-revivez-kicker{display:inline-block;color:var(--gold,#c9a227);font-size:13px;font-weight:600;letter-spacing:.14em;margin-bottom:12px}
.ct-revivez h2{font-size:clamp(28px,3.2vw,42px);line-height:1.12;margin:0 0 12px;color:#fff;font-weight:700}
.ct-revivez h2 em{font-style:normal;color:var(--coral,#e26d5a);display:block}
.ct-revivez-qui{font-size:17px;margin:0 0 14px;color:#fff}
.ct-revivez p{color:rgba(255,255,255,.82);line-height:1.6;margin:0 0 16px}
.ct-revivez-annonce{border-left:3px solid var(--gold,#c9a227);background:rgba(255,255,255,.07);padding:14px 16px;border-radius:0 10px 10px 0;margin:4px 0 20px;color:#fff;line-height:1.5}
.ct-revivez-bouton{display:inline-block;background:var(--coral,#e26d5a);color:#fff!important;text-decoration:none;font-weight:600;padding:13px 22px;border-radius:999px;transition:filter .2s}
.ct-revivez-bouton:hover{filter:brightness(1.08)}
.ct-revivez .ct-revivez-orga{font-size:13px;color:rgba(255,255,255,.6);margin:18px 0 0}
@media (max-width:860px){.ct-revivez{padding:52px 0}.ct-revivez-inner{grid-template-columns:1fr;gap:28px}}
