/**
 * Polish moderne global — même langage que l’accueil Rayonnement
 * Prefac : navy · cyan · jaune · Plus Jakarta
 */

body {
  font-family: "Plus Jakarta Sans", Montserrat, system-ui, sans-serif;
}

.page-shell,
.section-pad,
.suggestions-mockup,
.page-live {
  font-family: "Plus Jakarta Sans", Montserrat, system-ui, sans-serif;
}

/* ---------- Page shell ---------- */
.page-shell {
  position: relative;
  padding-top: 0;
  padding-bottom: 4.75rem;
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, hsl(195 100% 40% / 0.05), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 8%, hsl(54 100% 64% / 0.08), transparent 50%),
    hsl(240 100% 99%);
  overflow: clip;
}

.page-shell > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Banner d’intro (campus) ---------- */
.pm-banner {
  position: relative;
  margin: 0 0 2.5rem;
  padding: 6.25rem 0 2.75rem;
  color: #fff;
  overflow: hidden;
}

.pm-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../assets/hero-bg-rayonnement.jpg") center / cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.1) brightness(0.72);
}

.pm-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, hsl(220 78% 5% / 0.88) 0%, hsl(220 70% 6% / 0.72) 48%, hsl(220 55% 8% / 0.55) 100%),
    linear-gradient(180deg, hsl(220 80% 5% / 0.35) 0%, transparent 55%, hsl(220 80% 4% / 0.45) 100%);
}

.pm-banner .container,
.pm-banner > .section-head,
.pm-banner .pm-intro {
  position: relative;
  z-index: 1;
}

.pm-banner .section-head,
.pm-banner .pm-intro {
  margin-bottom: 0;
  max-width: 40rem;
}

.pm-banner .section-kicker {
  color: var(--fasi-yellow);
}

.pm-banner .section-title {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  margin: 0.4rem 0 0;
  letter-spacing: -0.035em;
}

.pm-banner .section-rule {
  background: linear-gradient(90deg, var(--fasi-cyan), var(--fasi-yellow));
  margin-top: 0.9rem;
}

.pm-banner p,
.pm-banner .pm-intro p {
  color: hsl(0 0% 100% / 0.82);
  margin-top: 1rem;
  max-width: 36rem;
  line-height: 1.65;
}

/* ---------- Typo pages ---------- */
.section-head {
  text-align: left;
  max-width: 40rem;
  margin-left: 0;
  margin-right: auto;
}

.section-head .section-kicker,
.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fasi-cyan);
}

.section-title {
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--fasi-indigo);
}

.section-rule {
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fasi-cyan), var(--fasi-yellow));
  margin: 0.85rem 0 0;
}

.section-head .section-rule {
  margin-left: 0;
}

.pm-intro {
  margin-bottom: 2.5rem;
}

.pm-intro .section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0.35rem 0 0;
}

.pm-intro p {
  margin: 1rem 0 0;
  max-width: 38rem;
  line-height: 1.65;
  color: hsl(220 12% 40%);
}

/* ---------- Cards ---------- */
.news-grid {
  gap: 1.15rem;
}

.news-card,
.team-card,
.card-elevated,
.live-guest-box {
  border-radius: 1.1rem !important;
  border: 1px solid hsl(220 20% 90%);
  box-shadow: 0 16px 40px -28px hsl(240 100% 17% / 0.38);
  background: #fff;
}

.news-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px hsl(240 100% 17% / 0.42);
  border-color: hsl(195 100% 40% / 0.28);
}

.news-card-top--thumb {
  height: clamp(9.5rem, 22vh, 12.5rem);
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, hsl(195 100% 40% / 0.08), transparent 70%),
    linear-gradient(160deg, hsl(220 25% 96%), hsl(240 30% 92%));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.news-card-top--thumb img {
  object-fit: contain;
  object-position: center;
  border-radius: 0.4rem;
}

.news-card-body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.news-card-body h2 a:hover {
  color: var(--fasi-cyan);
}

.team-card {
  padding: 1.45rem 1.2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-avatar {
  border-radius: 1rem;
  width: 5.75rem;
  height: 5.75rem;
  border: 2px solid hsl(195 100% 40% / 0.18);
}

.team-avatar > .team-avatar-img {
  transform: none;
  object-position: center 20%;
}

.team-avatar > .team-avatar-img--bradley-ngonde {
  object-position: center 50%;
  transform: none;
}

.team-grid {
  gap: 1.15rem;
}

/* ---------- Article ---------- */
.article-hero-wrap {
  height: auto;
  min-height: 12rem;
  max-height: none;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, hsl(195 100% 40% / 0.08), transparent 70%),
    linear-gradient(160deg, hsl(220 25% 96%), hsl(240 30% 92%));
  border: 1px solid hsl(220 20% 90%);
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0.5rem;
}

/* ---------- Forms ---------- */
.section-pad--compact .card-elevated,
.card-elevated--static {
  border-radius: 1.15rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid hsl(220 20% 90%);
  box-shadow: 0 18px 44px -28px hsl(240 100% 17% / 0.35);
}

.form-control {
  border-radius: 0.65rem;
  border-color: hsl(220 20% 88%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: hsl(195 100% 40% / 0.55);
  box-shadow: 0 0 0 3px hsl(195 100% 40% / 0.15);
  outline: none;
}

.btn-primary,
.btn.btn--primary,
.btn.btn--outline {
  border-radius: 0.35rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.btn-primary,
.btn.btn--primary {
  box-shadow: 0 10px 24px -14px hsl(195 100% 40% / 0.65);
}

/* ---------- Examens ---------- */
#examens-page .filter-row {
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.exam-list--dynamic .exam-item,
.exam-list .exam-item {
  border-radius: 1rem;
  border: 1px solid hsl(220 20% 90%);
  box-shadow: 0 10px 28px -24px hsl(240 100% 17% / 0.3);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.exam-list--dynamic .exam-item:hover,
.exam-list .exam-item:hover {
  border-color: hsl(195 100% 40% / 0.3);
  box-shadow: 0 16px 36px -24px hsl(240 100% 17% / 0.38);
}

/* ---------- Live ---------- */
.page-live .live-guest-box {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
}

.page-live.page-live--in-room .live-guest-box {
  max-width: min(44rem, 100%);
}

.page-live .live-guest-code {
  border-radius: 0.55rem;
  border: 1px solid hsl(220 20% 88%);
}

.page-live .live-guest-code:focus-visible {
  border-color: hsl(195 100% 40% / 0.55);
  box-shadow: 0 0 0 3px hsl(195 100% 40% / 0.15);
}

/* ---------- Quiz ---------- */
#quiz-page .quiz-intro,
#quiz-page .quiz-card,
#quiz-list-panel > * {
  border-radius: 1.1rem;
}

/* ---------- Suggestions : hero campus au lieu des blobs ---------- */
.suggestions-mockup .hero {
  position: relative;
  overflow: hidden;
  background: #070c16;
  color: #fff;
}

.suggestions-mockup .hero__bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: url("../assets/hero-bg-rayonnement.jpg") center / cover no-repeat !important;
  filter: saturate(1.1) brightness(0.72);
  opacity: 1 !important;
}

.suggestions-mockup .hero__blob {
  display: none !important;
}

.suggestions-mockup .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, hsl(220 78% 5% / 0.88) 0%, hsl(220 70% 6% / 0.7) 55%, hsl(220 55% 8% / 0.5) 100%);
}

.suggestions-mockup .hero__content {
  position: relative;
  z-index: 1;
}

.suggestions-mockup .hero__pill {
  border-radius: 0.35rem !important;
  border: 1px solid hsl(0 0% 100% / 0.28) !important;
  background: hsl(0 0% 100% / 0.1) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.suggestions-mockup .hero__pill svg {
  color: var(--fasi-yellow, #ffe566);
  stroke: currentColor;
}

.suggestions-mockup .hero h1,
.suggestions-mockup .hero__lead {
  color: #fff !important;
  text-shadow: 0 8px 24px hsl(220 80% 4% / 0.4);
}

.suggestions-mockup .hero h1 .text-primary {
  color: hsl(195 100% 72%) !important;
}

.suggestions-mockup .hero__actions {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  gap: 0.65rem;
}

.suggestions-mockup .hero__actions .btn--outline {
  border: 1px solid hsl(0 0% 100% / 0.35) !important;
  background: hsl(0 0% 100% / 0.1) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
  border-radius: 0.4rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  min-height: 2.65rem;
}

.suggestions-mockup .hero__actions .btn--outline:hover:not(:disabled) {
  background: hsl(0 0% 100% / 0.18) !important;
  border-color: hsl(195 100% 72% / 0.65) !important;
  color: #fff !important;
}

.suggestions-mockup .hero .feature-grid {
  position: relative;
  z-index: 1;
  margin-top: 2.75rem;
}

.suggestions-mockup .hero .feature-card {
  background: #fff !important;
  color: var(--fasi-indigo, hsl(240 100% 17%)) !important;
  border: 1px solid hsl(220 20% 90%) !important;
  border-radius: 1.1rem;
  box-shadow: 0 18px 40px -28px hsl(220 80% 4% / 0.55);
  text-align: left;
}

.suggestions-mockup .hero .feature-card h3 {
  color: var(--fasi-indigo, hsl(240 100% 17%)) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.suggestions-mockup .hero .feature-card p {
  color: hsl(220 12% 40%) !important;
}

.suggestions-mockup .hero .feature-card__icon {
  border-radius: 0.75rem;
  background: hsl(195 100% 40% / 0.12) !important;
  color: var(--fasi-cyan) !important;
}

.suggestions-mockup .card,
.suggestions-mockup .hero-card,
.suggestions-mockup .form-card {
  border-radius: 1.1rem;
  border: 1px solid hsl(220 20% 90%);
  box-shadow: 0 16px 40px -28px hsl(240 100% 17% / 0.35);
}

.suggestions-mockup .btn--primary {
  border-radius: 0.35rem;
}

/* Hero sous-pages seulement — pas le bloc contact en bas */
.suggestions-mockup .page-hero:not(.page-hero--contact),
.suggestions-mockup.suggestions-mockup--subpage > .page-hero:first-child:not(.page-hero--contact) {
  position: relative;
  overflow: hidden;
  margin: 0 0 2.25rem;
  padding: 5.75rem 0 2.5rem;
  border-radius: 0;
  background: #070c16;
  color: #fff;
  text-align: left;
}

.suggestions-mockup .page-hero:not(.page-hero--contact)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/hero-bg-rayonnement.jpg") center / cover no-repeat;
  filter: saturate(1.1) brightness(0.7);
}

.suggestions-mockup .page-hero:not(.page-hero--contact)::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, hsl(220 78% 5% / 0.88) 0%, hsl(220 70% 6% / 0.72) 48%, hsl(220 55% 8% / 0.55) 100%);
}

.suggestions-mockup .page-hero:not(.page-hero--contact) > .container {
  position: relative;
  z-index: 1;
}

.suggestions-mockup .page-hero:not(.page-hero--contact) h1 {
  color: #fff !important;
  font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0.35rem 0 0 !important;
}

.suggestions-mockup .page-hero:not(.page-hero--contact) p {
  color: hsl(0 0% 100% / 0.82) !important;
  max-width: 36rem;
  line-height: 1.65;
  margin-top: 1rem !important;
}

.suggestions-mockup .page-hero:not(.page-hero--contact) .page-hero__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  border: 1px solid hsl(0 0% 100% / 0.22);
  background: hsl(0 0% 100% / 0.1);
  color: var(--fasi-yellow);
  backdrop-filter: blur(8px);
}

/* Bloc contact À propos — carte claire, pas un 2e hero campus */
.suggestions-mockup .page-hero--contact {
  position: relative;
  margin: 0;
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, hsl(195 100% 40% / 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, hsl(54 100% 64% / 0.1), transparent 50%),
    hsl(220 30% 97%);
  color: var(--fasi-indigo, hsl(240 100% 17%));
  text-align: center;
  overflow: hidden;
}

.suggestions-mockup .page-hero--contact::before,
.suggestions-mockup .page-hero--contact::after {
  display: none !important;
}

.suggestions-mockup .page-hero--contact h2 {
  color: var(--fasi-indigo, hsl(240 100% 17%)) !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem !important;
}

.suggestions-mockup .page-hero--contact > .container > p {
  color: hsl(220 12% 40%) !important;
  margin: 0 auto 1.75rem !important;
  max-width: 36rem;
}

.suggestions-mockup .page-hero--contact .contact-grid {
  align-items: stretch;
}

.suggestions-mockup .page-hero--contact .contact-card {
  background: #fff;
  border: 1px solid hsl(220 20% 90%);
  border-radius: 1.1rem;
  box-shadow: 0 16px 40px -28px hsl(240 100% 17% / 0.35);
  padding: 1.35rem 1.15rem 1.4rem;
  color: var(--fasi-indigo, hsl(240 100% 17%));
  overflow: visible;
  min-height: 0;
  height: auto;
}

.suggestions-mockup .page-hero--contact .contact-card p {
  color: inherit !important;
  margin-top: 0 !important;
}

.suggestions-mockup .page-hero--contact .contact-card p:last-child {
  color: hsl(220 12% 42%) !important;
  font-size: 0.9rem;
}

.suggestions-mockup .page-hero--contact .contact-card a {
  color: var(--fasi-cyan) !important;
  font-weight: 700;
  text-decoration: none;
}

.suggestions-mockup .page-hero--contact .btn--primary {
  margin-top: 0.25rem;
  display: inline-flex;
  justify-content: center;
}

/* Sous-pages : le pm-banner colle sous la nav (plus de bande blanche) */
.suggestions-mockup.suggestions-mockup--subpage {
  padding-top: 0 !important;
}

.suggestions-mockup.suggestions-mockup--subpage > .pm-banner {
  margin-bottom: 2.25rem;
}

.suggestions-mockup.stat-page .page-head {
  display: none;
}

.suggestions-mockup .page-head {
  margin-bottom: 2rem;
}

.suggestions-mockup .page-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--fasi-indigo);
}

.suggestions-mockup .page-head p {
  color: hsl(220 12% 40%);
  max-width: 38rem;
  line-height: 1.65;
}

.suggestions-mockup .stat-card,
.suggestions-mockup .steps-card,
.suggestions-mockup .faq-item,
.suggestions-mockup .suggestion-card {
  border-radius: 1.1rem;
  border: 1px solid hsl(220 20% 90%);
  box-shadow: 0 14px 36px -28px hsl(240 100% 17% / 0.35);
}

.suggestions-mockup .tab.is-active {
  border-radius: 0.35rem;
}

.suggestions-mockup .step-num {
  border-radius: 0.45rem;
}

/* ---------- Chart / notes ---------- */
.pm-chart {
  max-width: 16rem;
  width: 100%;
  margin: 0 auto 2rem;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid hsl(195 100% 40% / 0.22);
  box-shadow: 0 22px 50px -28px hsl(240 100% 17% / 0.45);
  background: linear-gradient(160deg, hsl(220 25% 96%), hsl(240 30% 92%));
  padding: 0.65rem;
}

.pm-chart img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.55rem;
  object-fit: contain;
}

.pm-note {
  font-size: 0.85rem;
  max-width: 40rem;
  margin: -0.75rem auto 0;
  line-height: 1.55;
  text-align: center;
  color: hsl(220 12% 45%);
}

/* ---------- Mentions / légal ---------- */
.page-shell .prose,
.section-pad .prose {
  line-height: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  .news-card:hover,
  .team-card:hover {
    transform: none;
  }
}
