/* ==========================================================
   Penseoreso — charte graphique
   Couleurs relevées dans le support d'origine (bandeau de droite)
   ========================================================== */
:root {
  --orange: #F08000;
  --yellow: #FBBF00;
  --blue: #2283A3;
  --blue-deep: #23577C;
  --blue-soft: #629AB5;
  --blue-mist: #7BA8BF;
  --navy: #212E5A;
  --teal: #06605A;
  --ink: #2A2522;
  --grey: #8B827B;
  --grey-dark: #504E4F;
  --cream: #FBF7F1;
  --white: #FFFFFF;

  --font: "Century Gothic", "CenturyGothic", "URW Gothic", "URW Gothic L", "Avenir Next", "Futura", "Trebuchet MS", sans-serif;
  --font-light: "Calibri Light", "Calibri", "Segoe UI Light", "Segoe UI", "Helvetica Neue", sans-serif;

  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Scène 16:9 mise à l'échelle ---------- */
.viewport {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(34,131,163,.35), transparent 60%),
    radial-gradient(900px 600px at 90% 100%, rgba(240,128,0,.25), transparent 60%),
    var(--navy);
}

.deck {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s;
  overflow: hidden;
  background: var(--cream);
}
.slide.is-prev { transform: translateX(-60px); }
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s;
}

/* Apparition échelonnée des éléments */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 200ms);
}
.is-active .reveal { opacity: 1; translate: 0 0; }

/* ---------- Gabarit commun ---------- */
.slide__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 190px;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 120px;
  background: linear-gradient(100deg, var(--blue-deep) 0%, var(--blue) 70%, var(--blue-soft) 100%);
  color: var(--white);
}
.slide__header::after { /* liseré charte orange/jaune */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 10px;
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--yellow) 50% 100%);
}
.slide__header img { height: 112px; }
.slide__titles { display: flex; flex-direction: column; gap: 14px; }
.slide__kicker {
  font-size: 24px;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .75;
}
.slide__title {
  font-size: 84px;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1;
}

.slide__body {
  position: absolute;
  top: 200px;
  left: 0; right: 0; bottom: 0;
  padding: 80px 120px 100px;
}

/* Filigrane logo */
.watermark {
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 640px;
  opacity: .06;
  pointer-events: none;
}

/* Réseau décoratif (nœuds et liens) */
.network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.network line { stroke: currentColor; stroke-width: 1.4; opacity: .35; }
.network circle { fill: currentColor; }
.network .pulse { animation: pulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }

/* ==========================================================
   1. Bienvenue
   ========================================================== */
.s-welcome { background: radial-gradient(1100px 700px at 50% 35%, #fff 0%, var(--cream) 70%); }
.s-welcome .horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}
.s-welcome .network { color: var(--blue-soft); }
.s-welcome .logo {
  position: absolute;
  top: 110px;
  left: 50%;
  width: 720px;
  margin-left: -360px;
}
.s-welcome .hello {
  position: absolute;
  left: 0; right: 0;
  top: 610px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.pill {
  display: inline-block;
  padding: 24px 92px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #F59A1C);
  color: var(--white);
  font-size: 76px;
  letter-spacing: .02em;
  box-shadow: 0 18px 40px rgba(240,128,0,.35);
}
.s-welcome .tagline {
  font-size: 28px;
  color: var(--blue-deep);
  letter-spacing: .28em;
  text-transform: uppercase;
}

/* ==========================================================
   2. Programme — frise verticale
   ========================================================== */
.agenda {
  position: relative;
  display: grid;
  grid-template-columns: 170px 70px 1fr;
  row-gap: 30px;
  align-items: center;
  max-width: 1360px;
  margin: -30px auto 0;
}
.agenda__rail { /* fil de la frise */
  position: absolute;
  left: 203px;
  top: 40px; bottom: 40px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(var(--orange), var(--yellow), var(--blue), var(--navy));
}
.agenda__time {
  justify-self: end;
  padding-right: 34px;
  font-size: 46px;
  font-weight: 700;
  color: var(--teal);
}
.agenda__dot {
  position: relative;
  z-index: 1;
  width: 70px; height: 70px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 4px solid var(--c, var(--orange));
  color: var(--c, var(--orange));
  box-shadow: 0 8px 20px rgba(33,46,90,.12);
}
.agenda__dot svg { width: 32px; height: 32px; }
.agenda__item {
  margin-left: 40px;
  padding: 20px 36px;
  border-radius: 18px;
  background: var(--white);
  border-left: 8px solid var(--c, var(--orange));
  box-shadow: 0 10px 30px rgba(33,46,90,.07);
}
.agenda__item h3 { font-size: 42px; font-weight: 700; color: var(--ink); }
.agenda__item p { margin-top: 6px; font-size: 27px; color: var(--grey); }

/* ==========================================================
   3. Penseoreso — le réseau
   ========================================================== */
.s-network .slide__body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; padding-top: 40px; }
.tribe h2 {
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 112px;
  line-height: 1.02;
  color: var(--orange);
}
.tribe h2 em { font-style: normal; color: var(--blue-deep); }
.tribe p {
  margin-top: 40px;
  font-family: var(--font-light);
  font-size: 44px;
  line-height: 1.35;
  color: var(--blue-soft);
  max-width: 820px;
}
.formats { margin-top: 56px; display: flex; gap: 24px; }
.format {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 34px;
  border-radius: 999px;
  font-family: var(--font-light);
  font-size: 40px;
  color: var(--white);
  background: var(--c);
}
.format svg { width: 38px; height: 38px; }

.members { display: flex; flex-direction: column; gap: 30px; }
.member {
  display: flex; align-items: center; gap: 36px;
  padding: 34px 44px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(33,46,90,.08);
  position: relative;
  overflow: hidden;
}
.member::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--c); }
.member__icon {
  flex: none;
  width: 104px; height: 104px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tint);
  color: var(--c);
}
.member__icon svg { width: 52px; height: 52px; }
.member h3 { font-family: var(--font-light); font-weight: 400; font-size: 52px; color: var(--c); }

/* ==========================================================
   4. Valeurs — roue
   ========================================================== */
.s-values { background: radial-gradient(900px 900px at 50% 50%, #fff 0%, var(--cream) 70%); }
.values {
  position: absolute;
  left: 50%; top: 50%;
  width: 760px; height: 760px;
  margin: -380px 0 0 -380px;
}
.values__ring {
  position: absolute; inset: 90px;
  border-radius: 50%;
  border: 6px solid var(--blue-deep);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(33,46,90,.15), inset 0 0 0 18px var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  text-align: center;
}
.values__ring img { width: 210px; }
.values__ring h2 { font-size: 48px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.values__orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(35,87,124,.25);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.value {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform: rotate(var(--a)) translateY(-380px) rotate(calc(-1 * var(--a)));
}
.value span {
  position: absolute;
  left: 0; top: 0;
  translate: -50% -50%;
  display: block;
  white-space: nowrap;
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--c);
  color: var(--white);
  font-size: 44px;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(33,46,90,.2);
  animation: spin 90s linear infinite reverse;
}
.value span b { font-weight: 700; }
.values-side {
  position: absolute;
  top: 0; bottom: 0;
  width: 330px;
  display: flex; flex-direction: column; justify-content: center; gap: 70px;
  font-size: 27px;
  color: var(--grey);
  line-height: 1.4;
}
.values-side--left { left: 100px; }
.values-side--right { right: 100px; text-align: right; }
.values-side strong { display: block; font-size: 36px; color: var(--c); margin-bottom: 6px; }

/* ==========================================================
   5. Adhérer — offres
   ========================================================== */
.s-join .slide__body { padding-top: 110px; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: end;
  max-width: 1620px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 50px 50px 48px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(33,46,90,.10);
  border-top: 12px solid var(--c, var(--blue-soft));
  min-height: 560px;
}
.plan h3 { font-size: 38px; font-weight: 400; color: var(--blue-deep); line-height: 1.2; min-height: 92px; }
.plan .price { margin: 14px 0 30px; font-size: 116px; font-weight: 700; color: var(--orange); line-height: 1; }
.plan .price small { font-size: .45em; font-weight: 400; margin-left: 6px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.plan li {
  display: flex; gap: 18px; align-items: flex-start;
  font-size: 29px; color: var(--blue-deep); line-height: 1.3;
}
.plan li svg { flex: none; width: 34px; height: 34px; margin-top: 1px; color: var(--c, var(--blue-soft)); }
.plan--featured {
  min-height: 650px;
  background: linear-gradient(160deg, var(--blue-deep), var(--navy));
  border-top-color: var(--orange);
  box-shadow: 0 30px 80px rgba(33,46,90,.35);
}
.plan--featured h3, .plan--featured li { color: var(--white); }
.plan--featured .price { color: var(--yellow); }
.plan--featured li svg { color: var(--yellow); }
.badge {
  position: absolute;
  top: -34px; right: 40px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 26px; font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(240,128,0,.4);
}

/* ==========================================================
   6-8. Actualités
   ========================================================== */
.news { display: grid; grid-template-columns: 420px 1fr; gap: 100px; align-items: center; height: 100%; }
.date-card {
  width: 420px;
  border-radius: 36px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(33,46,90,.18);
  text-align: center;
}
.date-card__month { padding: 24px; background: var(--c, var(--orange)); color: var(--white); font-size: 38px; letter-spacing: .2em; text-transform: uppercase; }
.date-card__day { padding: 24px 0 0; font-size: 230px; font-weight: 700; line-height: 1; color: var(--navy); }
.date-card__weekday { padding: 6px 0 40px; font-size: 40px; color: var(--grey); }
.news__eyebrow { font-size: 28px; letter-spacing: .28em; text-transform: uppercase; color: var(--blue); }
.news h2 {
  margin-top: 22px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 112px;
  line-height: 1.02;
  color: var(--navy);
}
.news h2 .accent { color: var(--orange); }
.news p { margin-top: 36px; font-size: 36px; color: var(--grey); line-height: 1.4; max-width: 980px; }

.s-osez .news { grid-template-columns: 1fr 1.1fr; gap: 80px; }
.s-osez .news h2 { font-size: 96px; }
.osez-visual {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(33,46,90,.25);
  rotate: 1.5deg;
}
.chip-row { margin-top: 44px; display: flex; gap: 20px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(33,46,90,.08);
  font-size: 30px; color: var(--blue-deep);
}
.chip svg { width: 30px; height: 30px; color: var(--orange); }

.s-call .slide__body { display: flex; align-items: center; justify-content: center; text-align: center; }
.call { max-width: 1400px; }
.call .mic {
  width: 190px; height: 190px;
  margin: 0 auto 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--yellow), var(--orange));
  color: var(--white);
  animation: ring 3s ease-in-out infinite;
}
.call .mic svg { width: 92px; height: 92px; }
@keyframes ring {
  0%,100% { box-shadow: 0 0 0 24px rgba(251,191,0,.15), 0 0 0 48px rgba(251,191,0,.07); }
  50% { box-shadow: 0 0 0 34px rgba(251,191,0,.18), 0 0 0 70px rgba(251,191,0,.05); }
}
.call h2 { font-family: var(--font-light); font-weight: 300; font-size: 120px; color: var(--navy); line-height: 1.05; }
.call h2 .accent { color: var(--orange); }
.call p { margin-top: 36px; font-size: 38px; color: var(--grey); }

/* ==========================================================
   9. Communiquez
   ========================================================== */
.s-share .slide__body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hashtag {
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hashtag-sub { margin-top: 26px; font-size: 34px; color: var(--grey); }
.socials { margin-top: 70px; display: flex; gap: 50px; align-items: center; }
.socials img {
  height: 130px;
  padding: 20px 30px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(33,46,90,.08);
}
.steps { display: flex; flex-direction: column; gap: 34px; counter-reset: step; }
.step {
  display: flex; align-items: center; gap: 36px;
  padding: 32px 44px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(33,46,90,.08);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c);
  color: var(--white);
  font-size: 40px; font-weight: 700;
}
.step span { font-family: var(--font-light); font-size: 42px; color: var(--navy); white-space: nowrap; }

/* ==========================================================
   10-11. Sections pleines (fond bleu)
   ========================================================== */
.s-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 55%, var(--blue) 100%); color: var(--white); }
.s-dark .network { color: var(--blue-mist); }
.s-dark .slide__header { background: transparent; }
.s-dark .slide__header::after { left: 120px; right: auto; width: 260px; }
.s-dark .watermark { opacity: .07; right: -40px; bottom: -60px; width: 520px; }
.big-question {
  position: absolute; inset: 200px 120px 120px;
  display: flex; flex-direction: column; justify-content: center;
}
.big-question .eyebrow { font-size: 30px; letter-spacing: .3em; text-transform: uppercase; color: var(--yellow); }
.big-question h2 {
  margin-top: 30px;
  font-family: var(--font-light);
  font-weight: 300;
  font-size: 140px;
  line-height: 1.04;
  max-width: 1500px;
}
.big-question h2 .accent { color: var(--yellow); }
.qmarks { display: inline-flex; gap: 6px; }
.qmarks span { display: inline-block; color: var(--orange); animation: bob 1.8s ease-in-out infinite; }
.qmarks span:nth-child(2) { animation-delay: .2s; }
.qmarks span:nth-child(3) { animation-delay: .4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.loader { margin-top: 60px; display: flex; gap: 20px; }
.loader i { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); animation: dots 1.4s ease-in-out infinite; }
.loader i:nth-child(2) { background: var(--orange); animation-delay: .2s; }
.loader i:nth-child(3) { background: var(--blue-mist); animation-delay: .4s; }
@keyframes dots { 0%,80%,100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }

.cta {
  margin-top: 70px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 20px;
  padding: 26px 50px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 36px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  transition: translate .3s var(--ease), background-color .3s;
}
.cta:hover, .cta:focus-visible { translate: 0 -4px; background: var(--yellow); outline: none; }
.cta svg { width: 36px; height: 36px; color: var(--orange); }

/* ==========================================================
   Interface de navigation (hors scène)
   ========================================================== */
.hud {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(33,46,90,.78);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  opacity: 0;
  transition: opacity .4s;
  z-index: 10;
}
body.show-ui .hud, .hud:hover, .hud:focus-within { opacity: 1; }
.hud button {
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid; place-items: center;
}
.hud button:hover { background: rgba(255,255,255,.15); }
.hud button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.hud svg { width: 20px; height: 20px; }
.hud__count { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; letter-spacing: .05em; }

.progress {
  position: fixed;
  left: 0; top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform .6s var(--ease);
  z-index: 10;
}

/* Vue d'ensemble */
.overview {
  position: fixed; inset: 0;
  z-index: 20;
  display: none;
  padding: 50px 40px 40px;
  overflow-y: auto;
  background: rgba(20,28,58,.95);
  backdrop-filter: blur(8px);
}
.overview.is-open { display: block; }
.overview h2 { color: var(--white); font-weight: 400; font-size: 18px; letter-spacing: .3em; text-transform: uppercase; text-align: center; margin-bottom: 30px; }
.overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1400px;
  margin: 0 auto;
}
.overview__item {
  border: 0;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  text-align: left;
  font-family: var(--font);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: translate .25s var(--ease), box-shadow .25s;
}
.overview__item:hover, .overview__item:focus-visible { translate: 0 -4px; box-shadow: 0 0 0 3px var(--yellow), 0 16px 40px rgba(0,0,0,.4); outline: none; }
.overview__item.is-current { box-shadow: 0 0 0 3px var(--orange), 0 10px 30px rgba(0,0,0,.3); }
.overview__thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.overview__thumb > .slide { width: 1920px; height: 1080px; inset: auto; top: 0; left: 0; transform-origin: 0 0; opacity: 1; visibility: visible; transition: none; }
.overview__thumb .reveal { opacity: 1; translate: none; transition: none; }
.overview__thumb * { animation: none !important; }
.overview__label { display: flex; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--navy); }
.overview__label b { color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

@media print {
  html, body { overflow: visible; height: auto; background: none; }
  .viewport { position: static; background: none; }
  .deck { position: static; transform: none !important; box-shadow: none; height: auto; overflow: visible; }
  .slide { position: relative; width: 1920px; height: 1080px; opacity: 1; visibility: visible; transform: none; break-after: page; }
  .reveal { opacity: 1; translate: none; }
  .hud, .progress, .overview { display: none !important; }
  @page { size: 1920px 1080px; margin: 0; }
}
