/* =========================================================
   Moïra Mikolajczak — feuille de style principale
   HTML/CSS statique, aucune dépendance externe.
   ========================================================= */

/* ---------- Polices (auto-hébergées, RGPD-friendly) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

/* ---------- Design tokens (repris du site Divi) ---------- */
:root {
  --blue-700: #4a5d9b;
  --blue-600: #5f74b6;
  --blue-400: #8ea3d6;
  --blue-200: #c9d4ee;
  --blue-100: #e7ecf7;
  --blue-50:  #f2f5fb;
  --cream:    #faf9f6;
  --ink:      #2f3239;
  --ink-soft: #5c606b;
  --line:     #e3e6ee;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: max(16px, calc((100vw - var(--wrap)) / 2));
  --soft-radius: clamp(90px, 11vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 88px;

  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue-700);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h1 em { color: var(--blue-600); }
h2 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue-700); color: #fff; padding: 10px 18px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Petits composants ---------- */
.eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--blue-400); vertical-align: middle; margin-right: 12px;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
}
.lead a { color: inherit; text-decoration-color: var(--blue-200); }
.lead a:hover { color: var(--blue-700); text-decoration-color: var(--blue-400); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--blue-600);
  background: var(--blue-600);
  color: #fff;
  text-decoration: none;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover {
  background: var(--blue-700); border-color: var(--blue-700); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(58, 74, 128, .7);
}
.btn-outline { background: transparent; color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-600); border-color: var(--blue-600); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -28px rgba(58, 74, 128, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { width: auto; height: 64px; }

.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; }
.site-nav a {
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue-700); border-bottom-color: var(--blue-400); }

.nav-toggle {
  display: none;
  font: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700); background: transparent; cursor: pointer;
  border: 1px solid var(--blue-200); border-radius: 999px; padding: 8px 18px;
}

/* ---------- Hero ---------- */
.hero {
  display: flex; align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 64px);
}
.hero-text { flex: 1 1 0; padding-left: var(--gutter); }
.hero-text > * { max-width: 560px; }
.hero-media { flex: 0 0 min(44vw, 820px); margin-left: auto; }
.hero-media img {
  width: 100%;
  height: clamp(420px, 64vh, 640px);
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 999px 0 0 999px;
}
.photo-credit {
  margin-top: 10px; padding-right: var(--gutter);
  text-align: right; font-size: .72rem; letter-spacing: .04em; line-height: 1.4; color: var(--ink-soft);
}

/* ---------- Welcome ---------- */
.welcome {
  display: flex; align-items: flex-start;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(24px, 4vw, 56px) 0 clamp(120px, 12vw, 180px);
}
/* Illustration détourée, sans fond ni cadre, fixe au défilement (desktop). */
.welcome-media {
  flex: 0 0 min(48vw, 880px, calc(100vh - var(--header-h) - 24px));
  position: sticky; top: calc(var(--header-h) + 12px);
  padding-left: clamp(8px, 2vw, 32px);
}
/* Fond de l'illustration supprimé par un masque de détourage léger (52 Ko) :
   seuls les 3 cercles et leur contenu restent visibles. */
.welcome-media img {
  width: 100%; aspect-ratio: 1 / 1;
  -webkit-mask-image: url("../img/research-teaching-service-mask.png");
  mask-image: url("../img/research-teaching-service-mask.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.welcome-text { flex: 1 1 0; padding-right: var(--gutter); padding-top: clamp(8px, 3vw, 40px); }
.welcome-text > * { max-width: 640px; }
.welcome-text a { color: var(--blue-700); }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.logos li { flex: 0 0 calc(50% - 10px); }
.logos img { width: auto; max-width: 100%; max-height: 80px; object-fit: contain; }

/* ---------- Mission (bandeau bleu) ---------- */
.mission { position: relative; z-index: 2; margin-bottom: clamp(-90px, -7vw, -48px); margin-top: clamp(-80px, -6vw, -40px); }
.mission-panel {
  margin: 0 0 0 auto;
  width: min(calc(100% - 16px), calc(820px + var(--gutter)));
  padding: clamp(56px, 6vw, 88px) var(--gutter) clamp(56px, 6vw, 88px) clamp(90px, 11vw, 170px);
  border-radius: 999px 0 0 999px;
  background: var(--texture), linear-gradient(100deg, #5266a6 0%, #6a7fbf 55%, #879dd3 100%);
  box-shadow: 0 30px 60px -40px rgba(58, 74, 128, .55);
}
.mission-panel p {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.4;
  color: #fff; max-width: 30ch;
}

/* ---------- Featured Highlights ---------- */
.highlights { position: relative; padding: clamp(130px, 13vw, 190px) 0 clamp(72px, 9vw, 120px); }
.highlights::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 74%;
  background: var(--blue-50); border-radius: 0 48px 48px 0;
}
.highlights-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.highlights-text { position: sticky; top: calc(var(--header-h) + 24px); }
.highlights-intro {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.55;
  max-width: 32ch; margin: 8px 0 28px;
}
.highlights-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--soft-radius);
  box-shadow: 0 40px 70px -50px rgba(58, 74, 128, .6);
}

/* ---------- Explore : ovales entièrement cliquables ---------- */
.explore { padding: clamp(64px, 9vw, 120px) 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.card {
  position: relative; display: block;
  border-radius: var(--soft-radius);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  box-shadow: 0 30px 50px -40px rgba(58, 74, 128, .7);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(58, 74, 128, .78) 0%, rgba(58, 74, 128, .15) 55%, transparent 100%);
  transition: opacity .6s var(--ease);
}
.card-title {
  position: absolute; left: 0; right: 0; bottom: 16%; z-index: 2;
  padding: 0 10%;
  text-align: center;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.2;
  color: #fff;
}
.card-title::after {
  content: ""; display: block; width: 28px; height: 1px; margin: 10px auto 0;
  background: rgba(255, 255, 255, .7);
  transition: width .6s var(--ease);
}
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(58, 74, 128, .85); }
.card:hover img, .card:focus-visible img { transform: scale(1.05); }
.card:hover .card-title::after, .card:focus-visible .card-title::after { width: 56px; }
.card:focus-visible { outline-offset: 4px; border-radius: var(--soft-radius); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--texture), linear-gradient(100deg, #46598f 0%, #556aa8 55%, #6479b6 100%);
  color: rgba(255, 255, 255, .9);
  padding: 72px 0 36px;
}
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-name { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1.2; }
.footer-mail { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.footer-mail svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.footer-title { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .8); }
.footer-nav li { font-size: .95rem; margin-bottom: 4px; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  transition: background .3s, transform .3s var(--ease);
}
.socials svg { width: 20px; height: 20px; fill: #fff; transition: fill .3s; }
.socials a:hover { background: #fff; transform: translateY(-2px); }
.socials a:hover svg { fill: var(--blue-700); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  font-size: .8rem;
}
.footer-bottom p { margin: 0; }
.credits { text-align: right; }
.credits a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }

/* =========================================================
   Animations (n'agissent que si JS est actif : sans JS
   tout le contenu reste visible)
   ========================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

.js .anim-in { opacity: 0; animation: rise 1s var(--ease) forwards; }
.js .anim-in-media { opacity: 0; animation: slide-in 1.2s var(--ease) .15s forwards; }
.js .d1 { animation-delay: .12s; transition-delay: .12s; }
.js .d2 { animation-delay: .24s; transition-delay: .24s; }
.js .d3 { animation-delay: .36s; transition-delay: .36s; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-right { transform: translateX(60px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .anim-in, .js .anim-in-media { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .site-nav ul { gap: 6px 18px; }
  .site-nav a { font-size: .85rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .brand img { height: 52px; }

  /* Menu mobile */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; right: 16px; top: calc(100% - 6px);
    width: max-content; min-width: 220px; max-width: calc(100vw - 32px);
    background: var(--cream);
    border: 1px solid var(--line); border-radius: 14px;
    padding: 8px 20px;
    box-shadow: 0 20px 40px -24px rgba(58, 74, 128, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .site-nav ul { display: block; }
  .js .site-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .js .site-nav li:last-child a { border-bottom: 0; }
  .no-js .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .no-js .site-nav ul { justify-content: flex-start; }

  .hero, .welcome { flex-direction: column; align-items: stretch; }
  .hero { padding-top: 32px; }
  .hero-text { padding: 0 16px; }
  .hero-media { flex-basis: auto; width: 88vw; }
  .hero-media img { height: 400px; }

  .welcome-media { position: static; width: 92vw; flex-basis: auto; }
  .welcome-text { padding: 0 16px; }
  .welcome-text > * { max-width: none; }

  .mission-panel { width: calc(100% - 16px); padding-left: 40px; padding-right: 24px; border-radius: 80px 0 0 80px; }

  .highlights::before { width: 100%; border-radius: 0; }
  .highlights-inner { grid-template-columns: 1fr; }
  .highlights-text { position: static; }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .credits { text-align: left; }
}

@media (max-width: 767px) {
  :root { --soft-radius: 80px; }
  body { font-size: 16px; }
  .mission { padding: 0 16px; }
  .mission-panel { width: 100%; border-radius: 36px; padding: 44px 28px; text-align: center; }
  .mission-panel p { font-size: 1.35rem; max-width: none; }
  .js .reveal-right { transform: translateY(28px); }
  .card-title { font-size: 1.05rem; padding: 0 8%; }
  .logos img { max-height: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .nav-toggle, .skip-link { display: none; }
  .js .reveal, .js .anim-in, .js .anim-in-media { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- 404 ---------- */
.page-404 { padding: 18vh 0; }

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--blue-50); }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head h2 { margin-bottom: .3em; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.text-link { color: var(--blue-700); }

/* ---- Hero texte + image (variante paysage) ---- */
.hero-text p:not(.eyebrow):not(.lead) { max-width: 580px; }

/* ---- Hero texte seul (+ encart à droite) ---- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 48ch; }
.partner-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(360px, 32vw);
  padding: clamp(28px, 3vw, 40px);
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  text-decoration: none; color: var(--ink-soft); text-align: center; font-size: .85rem; letter-spacing: .04em;
  box-shadow: 0 30px 60px -48px rgba(58, 74, 128, .55);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.partner-card img { width: 100%; max-width: 280px; height: auto; }
.partner-card span { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.partner-card span::after { content: "↗"; transition: transform .3s var(--ease); }
.partner-card:hover { transform: translateY(-4px); border-color: var(--blue-200); box-shadow: 0 36px 60px -40px rgba(58, 74, 128, .6); color: var(--ink-soft); }
.partner-card:hover span::after { transform: translate(2px, -2px); }

/* ---- Image collée à gauche + texte ---- */
.split-edge { display: flex; align-items: flex-start; gap: clamp(36px, 6vw, 96px); padding: clamp(24px, 4vw, 56px) 0 clamp(120px, 12vw, 180px); }
.split-edge--center { align-items: center; padding-bottom: clamp(64px, 8vw, 110px); }
.edge-media { flex: 0 0 min(44vw, 820px); position: sticky; top: calc(var(--header-h) + 12px); }
.split-edge--center .edge-media { position: static; }
.edge-media img { width: 100%; height: clamp(420px, 64vh, 640px); object-fit: cover; border-radius: 0 999px 999px 0; }
.edge-logo { display: inline-block; margin: 24px 0 0 var(--gutter); }
.edge-logo img { width: 100%; max-width: 320px; height: auto; }
.split-text { flex: 1 1 0; padding-right: var(--gutter); }
.split-text > * { max-width: 640px; }

/* ---- Bandeau bleu à gauche (avec boutons) ---- */
.panel-section { padding: 0 0 clamp(72px, 9vw, 120px); }
.panel-left {
  width: min(calc(100% - 16px), calc(860px + var(--gutter)));
  padding: clamp(56px, 7vw, 96px) clamp(56px, 9vw, 150px) clamp(56px, 7vw, 96px) var(--gutter);
  border-radius: 0 999px 999px 0;
  background: var(--texture), linear-gradient(100deg, #5266a6 0%, #6a7fbf 55%, #879dd3 100%);
  box-shadow: 0 30px 60px -40px rgba(58, 74, 128, .55);
  color: rgba(255, 255, 255, .92);
}
.panel-left .quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.4; color: #fff; max-width: 30ch; }
.panel-left h2, .panel-left h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.panel-left p { max-width: 760px; }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; text-transform: none; letter-spacing: .02em; font-size: .92rem; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--blue-700); }
.mission--plain { margin: 0 0 clamp(72px, 9vw, 120px); }

/* ---- Academic : deux thèmes ---- */
.topics { background: var(--blue-50); padding: clamp(64px, 8vw, 110px) 0 clamp(110px, 12vw, 170px); }
.topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.topic:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.topic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--soft-radius); box-shadow: 0 40px 70px -50px rgba(58, 74, 128, .55); }
.topic-body { padding: clamp(24px, 3vw, 36px) clamp(8px, 2vw, 24px) 0; }
.collab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.collab-logo { display: flex; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.collab-logo img { width: 100%; max-width: 420px; }
.lead-serif { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.55; }

/* ---- Professional ventures : conférences ---- */
.conf { padding: clamp(80px, 9vw, 140px) 0; }
.wide-photo img { width: 100%; height: clamp(320px, 46vw, 560px); object-fit: cover; object-position: 60% 45%; border-radius: 200px; box-shadow: 0 50px 90px -60px rgba(58, 74, 128, .6); }
.conf-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 64px); padding-inline: clamp(0px, 4vw, 64px); }
.callout { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--blue-700); padding-left: 22px; border-left: 1px solid var(--blue-400); margin-bottom: 1.4em; }

/* ---- Livres : carrousel ---- */
.books-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  font: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  background: #fff; border: 1px solid var(--blue-200); color: var(--blue-700);
  border-radius: 999px; padding: 9px 20px; cursor: pointer;
  transition: background .3s var(--ease), opacity .3s;
}
.carousel-nav button:hover:not(:disabled) { background: var(--blue-100); }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.no-js .carousel-nav { display: none; }
.books-track {
  --per: 4; --gap: 28px;
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 40px 4px 44px; margin: -8px -4px -16px;
  overscroll-behavior-x: contain;
}
.books-track::-webkit-scrollbar { display: none; }
.book { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; perspective: 1800px; }
.book a { display: block; text-decoration: none; color: inherit; }
.book-cover {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: #fff;
  border-radius: 6px 14px 14px 6px;
  box-shadow: 0 18px 36px -18px rgba(58, 74, 128, .45);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 60%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.book a:hover .book-cover, .book a:focus-visible .book-cover { transform: translateY(-10px) rotateY(-10deg); box-shadow: 18px 30px 44px -22px rgba(58, 74, 128, .55); }
.book a:hover .book-cover::after { transform: translateX(120%); }
.book-caption { margin-top: 16px; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.book-caption strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--blue-700); font-weight: 500; transition: color .5s var(--ease); }
.book a:hover strong { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.book-caption em { display: block; margin: 2px 0 4px; }
.book-caption .au { display: block; font-size: .85rem; }
.books-intro { margin-top: clamp(28px, 4vw, 48px); max-width: 760px; }
.book-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.book-type { background: #fff; border-radius: 18px; padding: 32px 28px; border-top: 3px solid var(--blue-200); }
.book-type h3 { font-size: 1.5rem; }
.book-type p { font-size: .95rem; margin: 0; }

.statement { text-align: center; padding: clamp(72px, 9vw, 120px) 16px clamp(48px, 6vw, 80px); }
.statement::before { content: ""; display: block; width: 1px; height: 72px; background: var(--blue-400); margin: 0 auto 36px; }
.statement p { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.25; color: var(--blue-700); max-width: 24ch; margin: 0 auto; }

/* ---- Articles ---- */
.articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.articles-grid .sticky-col p:not(.eyebrow) { font-size: .95rem; line-height: 1.65; }
.pubs { counter-reset: pub; }
.pubs li { counter-increment: pub; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.5; }
.pubs li p { margin: 0; }
.pubs li::before { content: counter(pub, decimal-leading-zero); font-family: var(--serif); font-size: 1.35rem; color: var(--blue-400); line-height: 1.1; }
.pill-link { display: inline-block; margin-left: 6px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 2px 10px; border: 1px solid var(--blue-200); border-radius: 999px; text-decoration: none; white-space: nowrap; }
.pill-link:hover { background: var(--blue-100); }

/* ---- Podcasts (lecteur Spotify chargé au clic : RGPD) ---- */
.podcasts { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.podcast-panel {
  margin-left: auto;
  width: min(calc(100% - 16px), calc(1100px + var(--gutter)));
  display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(56px, 6vw, 88px) var(--gutter) clamp(56px, 6vw, 88px) clamp(90px, 11vw, 170px);
  background: var(--blue-100); border-radius: 240px 0 0 240px;
}
.embed-facade {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
  min-height: 352px; padding: 32px; border-radius: 14px;
  background: #fff; box-shadow: 0 30px 60px -40px rgba(58, 74, 128, .55);
}
.embed-facade p { margin: 0; font-size: .9rem; color: var(--ink-soft); max-width: 46ch; }
.embed-facade iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: 12px; }
.embed-facade.is-loaded { padding: 0; min-height: 0; background: none; }

/* ---- Media ---- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-card { background: #fff; border-radius: 18px; padding: 26px 28px 28px; border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.media-card:hover { border-color: var(--blue-200); transform: translateY(-2px); }
.media-logo { height: 60px; display: flex; align-items: center; margin-bottom: 18px; }
.media-logo img { max-height: 52px; max-width: 170px; width: auto; height: auto; mix-blend-mode: multiply; }
.media-card h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 14px; }
.media-card li { margin-bottom: 10px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.35; }
.media-card li a { text-decoration: none; }
.media-card li a:hover { text-decoration: underline; }

/* ---- Resources ---- */
.jump { display: grid; gap: 14px; margin-top: 8px; }
.jump a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.25;
  text-decoration: none; color: var(--blue-700);
  padding: 22px 28px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.jump a::after { content: "↓"; font-family: var(--sans); font-size: 1rem; color: var(--blue-400); }
.jump a:hover { background: var(--blue-50); border-color: var(--blue-200); }
.res-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.res-cols h3 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.res-card { background: #fff; border-radius: 18px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -48px rgba(58, 74, 128, .45); }
.res-card--tint { background: var(--blue-50); box-shadow: none; }
.res-card > :last-child { margin-bottom: 0; }
.sub { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; margin-bottom: .8em; }
.note { background: var(--blue-50); border-left: 2px solid var(--blue-400); padding: 18px 22px; border-radius: 0 12px 12px 0; font-size: .95rem; }
.res-card--tint .note { background: #fff; }
.link-list { display: grid; gap: 10px; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink); line-height: 1.45;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.link-list a::after { content: "→"; color: var(--blue-400); transition: transform .3s var(--ease); }
.link-list a[download]::after { content: "↓"; }
.link-list a:hover { border-color: var(--blue-200); background: var(--blue-50); }
.link-list a:hover::after { transform: translateX(3px); }
.section--tint .link-list a { background: var(--blue-50); border-color: transparent; }
.section--tint .link-list a:hover { background: var(--blue-100); }
.link-list small { color: var(--ink-soft); font-size: .78rem; white-space: nowrap; }
.res-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 8vw, 110px); }
.res-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--soft-radius); box-shadow: 0 40px 70px -50px rgba(58, 74, 128, .6); }
.langs { margin-top: clamp(40px, 5vw, 64px); }
.lang-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.lang-list a, .lang-list span { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .88rem; line-height: 1.4; }
.lang-list a { background: var(--blue-50); color: var(--blue-700); text-decoration: none; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.lang-list a:hover { background: var(--blue-100); border-color: var(--blue-200); }
.lang-list span { color: var(--ink-soft); border: 1px dashed var(--line); }
.res-pb { padding-bottom: clamp(72px, 9vw, 120px); }

/* ---- Contact ---- */
.contact-card { background: #fff; border-radius: 18px; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); margin-top: 8px; }
.contact-card .sub:not(:first-child) { margin-top: 1.4em; }
.email-big { font-family: var(--serif); font-size: clamp(1.05rem, 1.9vw, 1.55rem); text-decoration: none; overflow-wrap: anywhere; }
.email-big:hover { text-decoration: underline; }
.socials-dark { display: flex; gap: 12px; }
.socials-dark a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--blue-200); color: var(--blue-700); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.socials-dark a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.socials-dark svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- Pages légales ---- */
.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }
.legal { padding: 0 0 clamp(80px, 10vw, 140px); }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: clamp(24px, 3vw, 40px); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.3rem; margin-top: 12px; }
.legal ul { list-style: disc; padding: 0 0 16px 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--blue-400); }

/* ---- Responsive pages intérieures ---- */
@media (max-width: 1100px) {
  .books-track { --per: 3; }
}
@media (max-width: 980px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .partner-card { width: min(100%, 360px); }
  .split-edge { flex-direction: column; align-items: stretch; padding-bottom: clamp(64px, 8vw, 110px); }
  .edge-media { position: static; flex-basis: auto; width: 88vw; }
  .edge-media img { height: 400px; }
  .edge-logo { margin-left: 16px; }
  .split-text { padding: 0 16px; }
  .split-text > * { max-width: none; }
  .panel-left { padding: 48px 40px 48px 24px; border-radius: 0 80px 80px 0; }
  .topics-grid, .collab-grid, .conf-text, .articles-grid, .res-cols, .res-feature { grid-template-columns: 1fr; row-gap: 40px; }
  .topic:nth-child(2) { margin-top: 0; }
  .conf-text { padding-inline: 0; row-gap: 0; }
  .wide-photo img { height: 300px; border-radius: 90px; }
  .sticky-col { position: static; }
  .podcast-panel { grid-template-columns: 1fr; border-radius: 80px 0 0 80px; padding-left: 40px; padding-right: 24px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .book-types { grid-template-columns: 1fr; }
  .res-feature img { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .books-track { --per: 2; --gap: 18px; }
  .books-head { grid-template-columns: 1fr; }
  .panel-section { padding: 0 16px clamp(56px, 9vw, 96px); }
  .panel-left { width: 100%; border-radius: 36px; padding: 44px 28px; }
  .panel-left .quote { font-size: 1.35rem; }
  .podcasts { padding-left: 16px; padding-right: 16px; }
  .podcast-panel { width: 100%; border-radius: 36px; padding: 40px 22px; }
  .embed-facade { min-height: 0; }
  .media-grid { grid-template-columns: 1fr; }
  .jump a { border-radius: 24px; padding: 18px 22px; }
  .pubs li { grid-template-columns: 40px 1fr; }
  .wide-photo img { border-radius: 48px; height: 240px; }
}
.h3-like { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.title-link { color: inherit; text-decoration: none; background-image: linear-gradient(var(--blue-200), var(--blue-200)); background-size: 0 1px; background-position: 0 92%; background-repeat: no-repeat; transition: background-size .5s var(--ease); }
.title-link:hover { color: inherit; background-size: 100% 1px; }
.hero-media img { object-position: 50% 45%; }
.hero-media img.is-portrait { object-position: 50% 15%; }
.consent-note { font-size: .82rem !important; line-height: 1.55; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; }
