/* U4Partners — mini-sites ambassadeurs (rendu public).
   Les couleurs proviennent du white-label : --u4p-primary / --u4p-accent. */

.u4p-site {
  --s-primary: var(--u4p-primary, #333279);
  --s-accent: var(--u4p-accent, #d4a853);
  --s-bg: #ffffff;
  --s-alt: #f5f6fa;
  --s-surface: #ffffff;
  --s-text: #14162a;
  --s-muted: #5d6377;
  --s-border: #e3e5ee;
  --s-radius: 10px;
  --s-radius-sm: 8px;
  --s-shadow: 0 10px 30px rgba(20, 22, 42, .08);
  --s-shadow-sm: 0 2px 10px rgba(20, 22, 42, .06);
  --s-font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --s-display: "Instrument Sans", "DM Sans", system-ui, sans-serif;
  --s-hero-bg: linear-gradient(150deg, #0f1228 0%, var(--s-primary) 58%, #1b1f42 100%);
  --s-hero-text: #ffffff;
  --s-section-y: clamp(52px, 8vw, 92px);
  --s-maxw: 1440px;

  margin: 0;
  background: var(--s-bg);
  color: var(--s-text);
  font-family: var(--s-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.u4p-site *, .u4p-site *::before, .u4p-site *::after { box-sizing: border-box; }

.u4p-site h1, .u4p-site h2, .u4p-site h3 {
  font-family: var(--s-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
.u4p-site h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
.u4p-site h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.u4p-site h3 { font-size: 1.12rem; }
.u4p-site p { margin: 0 0 1em; }
.u4p-site img { max-width: 100%; height: auto; display: block; }
.u4p-site a { color: var(--s-primary); text-decoration: none; }
.u4p-site a:hover { text-decoration: underline; }
.u4p-site ul, .u4p-site ol { margin: 0; padding: 0; list-style: none; }

.u4p-site :focus-visible {
  outline: 3px solid var(--s-accent);
  outline-offset: 2px;
}

.u4p-site-wrap {
  width: 100%;
  max-width: var(--s-maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}
.u4p-site-wrap--narrow { max-width: 860px; }

.u4p-s { padding: var(--s-section-y) 0; }
.u4p-s-head { max-width: 820px; margin: 0 auto clamp(28px, 4vw, 46px); text-align: center; }
.u4p-s-head p { color: var(--s-muted); margin: 0; }

.u4p-site-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--s-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.u4p-site-skip:focus { left: 8px; top: 8px; }

/* ——— Boutons ——— */
.u4p-s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--s-radius-sm);
  background: var(--s-accent);
  color: #171308;
  font: 600 .96rem/1 var(--s-font);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.u4p-s-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.u4p-s-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.u4p-s-btn--sm { padding: 9px 16px; font-size: .88rem; }
.u4p-s-btn--block { width: 100%; padding: 15px 24px; }

/* ——— Barre de prévisualisation ——— */
.u4p-site-preview-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: #1f2937;
  color: #fff;
  font-size: .84rem;
}
.u4p-site-preview-bar a { color: var(--s-accent); font-weight: 600; }

/* ——— En-tête ——— */
.u4p-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--s-border);
}
.u4p-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.u4p-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--s-text);
  font-weight: 700;
}
.u4p-site-brand:hover { text-decoration: none; }
.u4p-site-brand img { max-height: 40px; max-width: 170px; object-fit: contain; }
.u4p-site-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--s-primary);
  color: #fff;
  font: 700 .85rem/1 var(--s-display);
}
.u4p-site-brand-name { font-size: 1.02rem; letter-spacing: -.01em; }

.u4p-site-nav { display: flex; align-items: center; gap: 6px; }
.u4p-site-nav a {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--s-muted);
  font-size: .92rem;
  font-weight: 500;
}
.u4p-site-nav a:hover { background: var(--s-alt); color: var(--s-text); text-decoration: none; }
.u4p-site-nav-cta {
  margin-left: 6px;
  background: var(--s-primary) !important;
  color: #fff !important;
  padding: 10px 18px !important;
}

.u4p-site-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--s-border);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}
.u4p-site-burger span {
  display: block;
  height: 2px;
  background: var(--s-text);
  transition: transform .2s ease, opacity .2s ease;
}
.u4p-site-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.u4p-site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.u4p-site-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— Message flash ——— */
.u4p-site-flash {
  max-width: var(--s-maxw);
  margin: 18px auto 0;
  padding: 14px 18px;
  border-left: 4px solid var(--s-primary);
  border-radius: var(--s-radius-sm);
  background: #eef2ff;
  color: #1e2340;
  font-size: .94rem;
}
.u4p-site-flash.is-error { border-color: #b91c1c; background: #fef2f2; color: #7f1d1d; }
.u4p-site-flash.is-ok { border-color: #0f766e; background: #ecfdf5; color: #065f46; }

/* ——— Bannière ——— */
.u4p-s-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--s-hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--s-hero-text);
  padding: clamp(36px, 4vw, 68px) 0;
}
.u4p-s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 18% 8%, rgba(139, 92, 246, .32) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(245, 176, 66, .24) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(59, 130, 246, .22) 0%, transparent 60%);
}
.u4p-s-hero-inner { max-width: 780px; position: relative; z-index: 1; }
.u4p-s-hero-inner.has-media {
  max-width: var(--s-maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: clamp(20px, 3.5vw, 44px);
  align-items: center;
}
.u4p-s-hero-text { min-width: 0; max-width: none; }
.u4p-s-hero-inner.has-media .u4p-s-hero-text h1 {
  max-width: none;
}
.u4p-s-hero-inner.has-media .u4p-s-hero-sub {
  max-width: 48ch;
}

/* Cadre bicolore doré : bande dégradée à l’extérieur, filet sombre à
   l’intérieur, et une légère mise en perspective pour détacher la photo. */
.u4p-s-hero-media {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  padding: 7px;
  border-radius: calc(var(--s-radius) + 7px);
  background: linear-gradient(140deg, #f7e6b4 0%, #c9962f 26%, #8a621b 50%, #e9d193 74%, #b8860b 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, .4),
    0 8px 26px rgba(212, 168, 83, .2),
    inset 0 1px 0 rgba(255, 255, 255, .45);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.u4p-s-hero-media::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: var(--s-radius);
  border: 2px solid rgba(10, 12, 34, .5);
  pointer-events: none;
}
.u4p-s-hero-media:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(0);
  box-shadow:
    0 34px 72px rgba(0, 0, 0, .5),
    0 12px 40px rgba(212, 168, 83, .3),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}
.u4p-s-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--s-radius);
}
.u4p-s-hero-media.is-placeholder img { opacity: .92; }
.u4p-s-hero h1 {
  color: inherit;
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  line-height: 1.12;
  max-width: none;
}
.u4p-s-hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  opacity: .92;
  max-width: 48ch;
  margin-bottom: 22px;
  line-height: 1.65;
}
.u4p-s-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.u4p-s-hero .u4p-s-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.u4p-s-hero .u4p-s-btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ——— Bandeau de confiance ——— */
.u4p-s-trust { padding: 26px 0; background: var(--s-alt); border-bottom: 1px solid var(--s-border); }
.u4p-s-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 38px;
}
.u4p-s-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--s-muted);
}
.u4p-s-trust-list i { color: var(--s-accent); font-size: 1.05rem; }

/* ——— Formations ——— */
.u4p-s-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}
.u4p-s-courses-list { display: grid; gap: 16px; }
.u4p-s-courses-list .u4p-s-course { flex-direction: row; }
.u4p-s-courses-list .u4p-s-course-media { flex: 0 0 220px; }
.u4p-s-courses-list .u4p-s-course-media img { height: 100%; min-height: 150px; object-fit: cover; }

.u4p-s-course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.u4p-s-course:hover { transform: translateY(-3px); box-shadow: var(--s-shadow); }
.u4p-s-course-media img { width: 100%; height: 172px; object-fit: cover; }
.u4p-s-course-body { display: flex; flex-direction: column; gap: 9px; padding: 18px; flex: 1; }
.u4p-s-course-body h3 { margin: 0; }
.u4p-s-course-body h3 a { color: inherit; }
.u4p-s-course-desc { margin: 0; font-size: .9rem; color: var(--s-muted); }
.u4p-s-course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.u4p-s-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.u4p-s-course-actions .u4p-s-btn--ghost {
  color: var(--s-primary);
  border-color: var(--s-border);
}
.u4p-s-price { font-family: var(--s-display); font-size: 1.05rem; }
.u4p-s-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--s-alt);
  color: var(--s-muted);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.u4p-s-courses-more { margin: 30px 0 0; text-align: center; font-weight: 600; }

.u4p-s-courses-grid.is-truncated .u4p-s-grid-item--more,
.u4p-s-ebooks-grid.is-truncated .u4p-s-grid-item--more {
  display: none;
}
.u4p-s-grid-more-wrap {
  margin: 26px 0 0;
  text-align: center;
}
.u4p-s-show-more {
  min-width: 180px;
  cursor: pointer;
}
.u4p-s-show-more i {
  font-size: .82em;
  transition: transform .2s ease;
}
.u4p-s-show-more[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ——— Manuels PDF ——— */
.u4p-s-ebooks { background: var(--s-alt); }
.u4p-s-ebooks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}
.u4p-s-ebook {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: calc(var(--s-radius) + 2px);
  box-shadow: var(--s-shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.u4p-s-ebook:hover {
  transform: translateY(-4px);
  box-shadow: var(--s-shadow);
}
.u4p-s-ebook-cover {
  position: relative;
  display: block;
  background: linear-gradient(160deg, #0f1228 0%, var(--s-primary) 100%);
  padding: 22px 22px 0;
  text-decoration: none;
}
.u4p-s-ebook-cover img {
  display: block;
  width: min(100%, 180px);
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35));
  transition: transform .22s ease;
}
.u4p-s-ebook:hover .u4p-s-ebook-cover img { transform: translateY(-3px); }
.u4p-s-ebook-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.u4p-s-ebook-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px 22px 22px;
}
.u4p-s-ebook-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--s-primary);
}
.u4p-s-ebook-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}
.u4p-s-ebook-body h3 a { color: inherit; text-decoration: none; }
.u4p-s-ebook-body h3 a:hover { color: var(--s-primary); }
.u4p-s-ebook-desc {
  margin: 0;
  color: var(--s-muted);
  font-size: .9rem;
  line-height: 1.6;
}
.u4p-s-ebook-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* ——— Arguments ——— */
.u4p-s-benefits {
  position: relative;
  isolation: isolate;
  background: linear-gradient(145deg, #071533 0%, #0d2554 48%, #12306a 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.u4p-s-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 12% 20%, rgba(61, 112, 214, .28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 80%, rgba(212, 168, 83, .12) 0%, transparent 50%);
}
.u4p-s-benefits.has-bg::before {
  background:
    linear-gradient(145deg, rgba(7, 21, 51, .88) 0%, rgba(13, 37, 84, .82) 50%, rgba(18, 48, 106, .86) 100%),
    radial-gradient(ellipse 70% 60% at 12% 20%, rgba(61, 112, 214, .22) 0%, transparent 55%);
}
.u4p-s-benefits .u4p-site-wrap { position: relative; z-index: 1; }
.u4p-s-benefits .u4p-s-head h2 { color: #fff; }
.u4p-s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.5vw, 26px); }
.u4p-s-card {
  padding: 26px 22px;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  color: var(--s-text);
}
.u4p-s-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.u4p-s-card h3 { margin: 0; flex: 1; min-width: 0; line-height: 1.25; color: var(--s-text); }
.u4p-s-card p { margin: 0; color: var(--s-muted); font-size: .93rem; }
.u4p-s-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--s-accent) 20%, transparent);
  color: var(--s-primary);
  font-size: 1.15rem;
}

/* ——— À propos ——— */
.u4p-s-about-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}
.u4p-s-about-grid.is-textonly { grid-template-columns: 1fr; max-width: 760px; }
.u4p-s-about-media img {
  display: block;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
}
.u4p-s-about-body h2 { margin-bottom: 18px; }
.u4p-s-about-body > p { color: var(--s-muted); margin: 0 0 1.05em; }
.u4p-s-about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 22px 0 26px;
  padding: 20px 22px;
  border-radius: var(--s-radius);
  background: var(--s-alt);
  border: 1px solid var(--s-border);
}
.u4p-s-about-fact { min-width: 0; }
.u4p-s-about-facts dt {
  margin: 0 0 4px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--s-primary);
}
.u4p-s-about-facts dd {
  margin: 0;
  font-size: .96rem;
  color: var(--s-text);
  line-height: 1.45;
}
.u4p-s-about-sign {
  font-family: var(--s-display);
  font-size: 1.05rem;
  color: var(--s-text) !important;
  margin-top: 8px !important;
}

/* ——— Étapes ——— */
.u4p-s-process { background: var(--s-alt); }
.u4p-s-process-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.u4p-s-process-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px 26px;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: calc(var(--s-radius) + 2px);
  box-shadow: var(--s-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.u4p-s-process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--s-shadow);
  border-color: color-mix(in srgb, var(--s-accent) 35%, var(--s-border));
}
.u4p-s-process-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.u4p-s-process-card-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--s-primary) 0%, color-mix(in srgb, var(--s-primary) 72%, #0a0c1a) 100%);
  color: #fff;
  font: 700 1.12rem/1 var(--s-display);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--s-primary) 28%, transparent);
}
.u4p-s-process-card h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.14rem;
  line-height: 1.25;
}
.u4p-s-process-card p {
  margin: 0;
  color: var(--s-muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ——— Témoignages ——— */
.u4p-s-testimonials { background: var(--s-alt); }
.u4p-s-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 20px; }
.u4p-s-quote {
  margin: 0;
  padding: 24px;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
}
.u4p-s-quote blockquote {
  margin: 0 0 16px;
  font-size: .97rem;
  line-height: 1.7;
  color: var(--s-text);
}
.u4p-s-quote blockquote::before { content: "“"; font-size: 2rem; line-height: 0; color: var(--s-accent); vertical-align: -.35em; margin-right: 4px; }
.u4p-s-quote figcaption { display: flex; align-items: center; gap: 11px; }
.u4p-s-quote figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.u4p-s-quote figcaption span { display: flex; flex-direction: column; }
.u4p-s-quote figcaption small { color: var(--s-muted); font-size: .82rem; }

/* ——— Questions ——— */
.u4p-s-faq-list { display: grid; gap: 10px; }
.u4p-s-faq-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.u4p-s-faq-split.is-faq-only {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
}
.u4p-s-faq-head { margin-bottom: clamp(24px, 4vw, 36px); }
.u4p-s-faq-head h2 { margin: 0; }
.u4p-s-faq-contact {
  padding: clamp(22px, 3vw, 30px);
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: calc(var(--s-radius) + 2px);
  box-shadow: var(--s-shadow-sm);
}
.u4p-s-faq-contact-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
}
.u4p-s-faq-contact-text {
  margin: 0 0 16px;
  color: var(--s-muted);
  font-size: .96rem;
  line-height: 1.65;
}
.u4p-s-faq-contact .u4p-s-contact-links { margin-top: 0; margin-bottom: 18px; }
.u4p-s-faq-list details {
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius-sm);
  background: var(--s-surface);
  overflow: hidden;
}
.u4p-s-faq-list summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.u4p-s-faq-list summary::-webkit-details-marker { display: none; }
.u4p-s-faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--s-primary);
  flex: 0 0 auto;
}
.u4p-s-faq-list details[open] summary::after { content: "–"; }
.u4p-s-faq-answer { padding: 0 20px 18px; color: var(--s-muted); font-size: .95rem; }
.u4p-s-faq-promo { margin: clamp(20px, 3vw, 28px) 0 0; }
.u4p-s-faq-promo-link {
  display: block;
  border-radius: calc(var(--s-radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--s-border);
  box-shadow: var(--s-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.u4p-s-faq-promo-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--s-shadow);
}
.u4p-s-faq-promo-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* ——— Contact ——— */
.u4p-s-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 56px);
  align-items: start;
}
.u4p-s-contact-grid.is-single { grid-template-columns: 1fr; max-width: 660px; text-align: center; }
.u4p-s-contact-grid.is-single .u4p-s-contact-links { justify-content: center; }
.u4p-s-contact-intro p { color: var(--s-muted); }
.u4p-s-contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.u4p-s-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius-sm);
  background: var(--s-surface);
  font-weight: 600;
  font-size: .92rem;
  color: var(--s-text);
}
.u4p-s-contact-links a:hover { border-color: var(--s-primary); text-decoration: none; }
.u4p-s-contact-links i { color: var(--s-primary); }

.u4p-s-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
}
.u4p-s-field { display: flex; flex-direction: column; gap: 6px; }
.u4p-s-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.u4p-s-field label { font-size: .85rem; font-weight: 600; color: var(--s-muted); }
.u4p-s-form input[type="text"],
.u4p-s-form input[type="email"],
.u4p-s-form input[type="tel"],
.u4p-s-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius-sm);
  background: #fff;
  color: var(--s-text);
  font: inherit;
  font-size: .95rem;
}
.u4p-s-form input:focus, .u4p-s-form textarea:focus {
  border-color: var(--s-primary);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-primary) 18%, transparent);
}
.u4p-s-form textarea { resize: vertical; min-height: 96px; }
.u4p-s-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--s-muted); }
.u4p-s-consent input { margin-top: 3px; flex: 0 0 auto; }
.u4p-s-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.u4p-s-form-feedback {
  padding: 12px 14px;
  border-radius: var(--s-radius-sm);
  border: 1px solid transparent;
  font-size: .92rem;
  line-height: 1.5;
}
.u4p-s-form-feedback.is-ok {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #065f46;
}
.u4p-s-form-feedback.is-error {
  border-color: #b91c1c;
  background: #fef2f2;
  color: #7f1d1d;
}
.u4p-s-form-submit {
  position: relative;
  min-height: 52px;
  justify-content: center;
  gap: 10px;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.u4p-s-form-submit.is-loading {
  pointer-events: none;
  opacity: .92;
  animation: u4p-s-pulse 1.1s ease-in-out infinite;
}
.u4p-s-form-submit-label { display: inline; }
.u4p-s-form-submit-wait {
  display: none;
  align-items: center;
  gap: 10px;
}
.u4p-s-form-submit.is-loading .u4p-s-form-submit-label { display: none; }
.u4p-s-form-submit.is-loading .u4p-s-form-submit-wait { display: inline-flex; }
.u4p-s-spin {
  animation: u4p-s-spin .8s linear infinite;
}
@keyframes u4p-s-spin {
  to { transform: rotate(360deg); }
}
@keyframes u4p-s-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--s-accent) 35%, transparent); }
  50% { transform: scale(.985); box-shadow: 0 0 0 8px transparent; }
}

/* ——— Pied de page ——— */
.u4p-s-footer {
  padding: 48px 0 36px;
  background: linear-gradient(180deg, #071533 0%, #0a1f45 100%);
  color: #d8dce8;
  font-size: .92rem;
}
.u4p-s-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.u4p-s-footer-legal {
  max-width: 720px;
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.75;
  font-size: clamp(.94rem, 1.6vw, 1.02rem);
  color: #eef0f6;
}
.u4p-s-footer-legal strong { color: #fff; font-weight: 700; }
.u4p-s-footer-powered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9aa1b8;
  font-size: .84rem;
}
.u4p-s-footer-powered a { color: var(--s-accent); font-weight: 600; }

/* =====================================================================
   Thème Campus — clair, net, institutionnel
   ================================================================== */
.u4p-site--campus {
  --s-radius: 4px;
  --s-radius-sm: 3px;
  --s-alt: #f1f4f9;
  --s-border: #d7dce8;
  --s-shadow: 0 6px 18px rgba(20, 22, 42, .07);
  --s-shadow-sm: 0 1px 4px rgba(20, 22, 42, .05);
  --s-hero-bg: linear-gradient(180deg, #f7f9fc 0%, #eaeef6 100%);
  --s-hero-text: #14162a;
}
.u4p-site--campus .u4p-s-hero.has-bg { --s-hero-text: #fff; color: #fff; }
.u4p-site--campus .u4p-s-hero:not(.has-bg) { border-bottom: 1px solid var(--s-border); }
.u4p-site--campus .u4p-s-hero:not(.has-bg) .u4p-s-btn--ghost { color: var(--s-primary); border-color: var(--s-primary); }
.u4p-site--campus .u4p-s-btn { background: var(--s-primary); color: #fff; }
.u4p-site--campus .u4p-s-btn--ghost { background: transparent; color: var(--s-primary); }
.u4p-site--campus .u4p-s-card,
.u4p-site--campus .u4p-s-course { box-shadow: none; }
.u4p-site--campus .u4p-s-card-icon { border-radius: 3px; background: var(--s-primary); color: #fff; }
.u4p-site--campus .u4p-s-tag { border-radius: 2px; }
.u4p-site--campus .u4p-s-footer { background: linear-gradient(180deg, #071533 0%, #0a1f45 100%); }

/* =====================================================================
   Thème Editorial — crème, typographie large
   ================================================================== */
.u4p-site--editorial {
  --s-bg: #fdfaf4;
  --s-alt: #f5efe3;
  --s-surface: #fffdf9;
  --s-border: #e6dcc9;
  --s-text: #1d1a14;
  --s-muted: #6b6355;
  --s-radius: 2px;
  --s-radius-sm: 2px;
  --s-shadow: 0 12px 30px rgba(80, 66, 40, .1);
  --s-shadow-sm: 0 1px 3px rgba(80, 66, 40, .07);
  --s-hero-bg: linear-gradient(160deg, #21201c 0%, #33302a 100%);
  --s-section-y: clamp(60px, 9vw, 108px);
  font-size: 18px;
}
.u4p-site--editorial h1, .u4p-site--editorial h2 { letter-spacing: -.03em; }
.u4p-site--editorial h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.u4p-site--editorial .u4p-site-header { background: rgba(253, 250, 244, .94); }
.u4p-site--editorial .u4p-s-head { text-align: left; margin-left: 0; }
.u4p-site--editorial .u4p-s-btn { border-radius: 2px; }
.u4p-site--editorial .u4p-s-card,
.u4p-site--editorial .u4p-s-quote { border-left: 3px solid var(--s-accent); }
.u4p-site--editorial .u4p-s-card-icon { border-radius: 2px; background: transparent; color: var(--s-accent); font-size: 1.5rem; }
.u4p-site--editorial .u4p-s-course-media img { height: 200px; }
.u4p-site--editorial .u4p-s-footer { background: linear-gradient(180deg, #071533 0%, #0a1f45 100%); }

/* ——— Responsive ——— */
@media (max-width: 1180px) {
  .u4p-s-courses-grid,
  .u4p-s-ebooks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .u4p-s-hero-inner.has-media { grid-template-columns: 1fr; gap: 28px; }
  .u4p-s-hero-media { max-width: 260px; transform: none; padding: 5px; }
  .u4p-s-hero-media:hover { transform: none; }
  .u4p-s-hero-media::after { inset: 5px; }
  .u4p-s-hero-media img { aspect-ratio: 1 / 1; }
  .u4p-s-about-facts { grid-template-columns: 1fr; }
  .u4p-s-about-media { max-width: 240px; margin: 0 auto; }
  .u4p-s-contact-grid { grid-template-columns: 1fr; }
  .u4p-s-faq-split { grid-template-columns: 1fr; }
  .u4p-s-courses-list .u4p-s-course { flex-direction: column; }
  .u4p-s-courses-list .u4p-s-course-media { flex: none; }
  .u4p-s-courses-list .u4p-s-course-media img { height: 172px; min-height: 0; }
  .u4p-s-process-cards { grid-template-columns: 1fr; }
  .u4p-s-courses-grid,
  .u4p-s-ebooks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .u4p-site { font-size: 16px; }
  .u4p-site-burger { display: flex; }
  .u4p-site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 18px;
    background: var(--s-surface);
    border-bottom: 1px solid var(--s-border);
    box-shadow: var(--s-shadow);
    display: none;
  }
  .u4p-site-nav.is-open { display: flex; }
  .u4p-site-nav a { padding: 12px 10px; }
  .u4p-site-nav-cta { margin: 8px 0 0; text-align: center; }
  .u4p-s-field-row { grid-template-columns: 1fr; }
  .u4p-s-trust-list { gap: 12px 22px; }
}

@media (max-width: 560px) {
  .u4p-s-courses-grid,
  .u4p-s-ebooks-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .u4p-site *, .u4p-site *::before, .u4p-site *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
