/* Dr. Dino — l'invitation, version lumineuse */

:root {
  --bg: #fbf9f3;
  --surface: #fffefb;
  --navy: #0e1a38;
  --navy-deep: #09122a;
  --ink: #0e1a38;
  --ink-soft: #4a5268;
  --gold: #c9a65e;
  --gold-bright: #e2c88c;
  --gold-ink: #8c6a24;
  --gold-line: rgba(201, 166, 94, 0.5);
  --on-navy: #fffefb;
  --on-navy-soft: #c9cfdf;

  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --text: "Geist", "Helvetica Neue", Arial, sans-serif;

  --radius: 32px;
  --radius-sm: 24px; /* un seul arrondi : boutons, vidéo, photos */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 20px;
  --wrap: 1120px;
  --measure: 36rem;

  /* Arabesques dorées : boucles imbriquées, tracées comme un monogramme */
  --loops: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23c9a65e' stroke-width='1'%3E%3Crect x='40' y='40' width='520' height='520' rx='260'/%3E%3Crect x='70' y='70' width='460' height='460' rx='230'/%3E%3Crect x='100' y='100' width='400' height='400' rx='200'/%3E%3Crect x='130' y='10' width='340' height='580' rx='170'/%3E%3Crect x='160' y='40' width='280' height='520' rx='140'/%3E%3Crect x='10' y='160' width='580' height='280' rx='140'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--navy); color: var(--on-navy); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 11.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 8.6vw, 3.6rem); margin-bottom: 0.4em; }
h3 { font-size: clamp(1.45rem, 5.6vw, 1.9rem); line-height: 1.08; }
h1 em, h2 em { font-style: normal; color: var(--gold-ink); }

p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
.lede { font-size: 1.08rem; color: var(--ink-soft); }

.smallcaps { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- En-tête ---------- */

.masthead {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 64px;
  border-bottom: 1px solid var(--gold-line);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.crest { width: 34px; height: 34px; color: var(--gold); flex: none; }

/* ---------- L'invitation (premier écran) ---------- */

.hero { position: relative; padding: 40px 0 48px; isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -220px; top: 30px;
  background: var(--loops) center / contain no-repeat;
  opacity: 0.32;
}

.hero-grid { display: grid; grid-template-areas: "title" "video" "meta"; gap: 28px; }
.hero-title { grid-area: title; }
.hero-video { grid-area: video; }
.hero-meta { grid-area: meta; }

.hero .proof { margin: 16px 0 0; font-size: clamp(1.08rem, 4.4vw, 1.3rem); font-weight: 600; line-height: 1.35; color: var(--gold-ink); max-width: 30ch; }
.hero .addressee { margin: 18px 0 20px; font-size: 1.06rem; font-weight: 600; line-height: 1.45; color: var(--ink); max-width: 34ch; }

.when {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5em;
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 5.8vw, 1.9rem);
  line-height: 1.1;
}
.when .sep { color: var(--gold); }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy) center / cover no-repeat;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 28px 50px -24px rgba(14, 26, 56, 0.55), 0 0 0 1px rgba(14, 26, 56, 0.06);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.seats { margin: 12px 0 0; font-size: 0.95rem; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 8px; max-width: none; }
.seats strong { color: var(--ink); font-weight: 600; }
.seats svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* ---------- Boutons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  width: 100%;
  min-height: 58px;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(14, 26, 56, 0.75);
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.button svg { width: 20px; height: 20px; flex: none; transition: transform 0.3s var(--ease-out); }
.button:hover { background: #1a2a54; box-shadow: 0 18px 32px -14px rgba(14, 26, 56, 0.8); }
.button:hover svg { transform: translateX(4px); }
.button:active { transform: translateY(1px); }

.button--gold {
  background: linear-gradient(135deg, #e0c37f 0%, #c9a65e 55%, #b8913f 100%);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 28px -14px rgba(140, 106, 36, 0.85);
}
.button--gold:hover { background: linear-gradient(135deg, #ebd296 0%, #d6b46d 55%, #c29c4a 100%); }

.cta-row { margin-top: 30px; text-align: center; }

/* ---------- Sections ouvertes ---------- */

.section { padding: 56px 0; border-top: 1px solid var(--gold-line); position: relative; isolation: isolate; overflow-x: clip; }

/* L'hôte */
.host-grid { display: grid; gap: 28px; }
.host-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 22% 30%;
  border-radius: var(--radius-sm);
  box-shadow: 0 28px 50px -26px rgba(14, 26, 56, 0.5);
}
.credentials { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--gold-line); }
.credentials li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--gold-line); line-height: 1.45;
}
.credentials svg { width: 20px; height: 20px; color: var(--gold-ink); margin-top: 2px; }
.credentials strong { font-weight: 600; }

/* Le programme */
.programme-section::before {
  content: ""; position: absolute; z-index: -1;
  width: 460px; height: 460px; left: -250px; top: 120px;
  background: var(--loops) center / contain no-repeat;
  opacity: 0.45;
}
.programme { list-style: none; margin: 20px 0 0; padding: 0; }
.programme li { display: grid; gap: 18px; padding: 30px 0; border-top: 1px solid var(--gold-line); }
.programme li:first-child { border-top: 0; padding-top: 6px; }
.programme .num { display: block; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--gold-ink); margin-bottom: 6px; }
.programme h3 { margin-bottom: 10px; }
.programme p { margin: 0; color: var(--ink-soft); }
.programme figure { margin: 0; }
.programme img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 22px 40px -22px rgba(14, 26, 56, 0.5);
}

/* ---------- Les billets (cartons d'invitation) ---------- */

.reply-intro { text-align: center; margin-bottom: 30px; }
.reply-intro h2, .reply-intro p { margin-left: auto; margin-right: auto; }
.reply-intro h2 { max-width: 15ch; }

.tickets { display: grid; gap: 18px; }

.ticket {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(24px, 6vw, 40px);
  box-shadow: inset 0 0 0 1px var(--gold-line), 0 30px 60px -34px rgba(14, 26, 56, 0.45);
}
.ticket .button { margin-top: auto; }

.ticket--vip {
  background: radial-gradient(120% 80% at 100% 0%, #1d2d5a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: var(--on-navy);
  box-shadow: inset 0 0 0 1px rgba(201, 166, 94, 0.6), 0 30px 60px -30px rgba(9, 18, 42, 0.8);
}

.ticket-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--gold-line);
}
.ticket-head .smallcaps { color: var(--gold-ink); }
.ticket--vip .ticket-head .smallcaps { color: var(--gold-bright); }

.price { display: flex; align-items: baseline; gap: 0.3em; margin: 12px 0 4px; font-family: var(--display); line-height: 1; }
.price .amount { font-size: clamp(3.6rem, 16vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; }
.price .currency { font-size: 1.3rem; }
.price-note { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.ticket--vip .price-note, .ticket--vip .lede { color: var(--on-navy-soft); }

.includes { list-style: none; margin: 4px 0 26px; padding: 0; }
.includes li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 8px 0; line-height: 1.45; }
.includes svg { width: 20px; height: 20px; color: var(--gold-ink); margin-top: 2px; }
.ticket--vip .includes svg { color: var(--gold-bright); }

.vip-line { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--gold-bright); margin: 6px 0 12px; }

.ticket-foot {
  margin: 16px 0 0; text-align: center; max-width: none;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
}
.ticket--vip .ticket-foot { color: var(--on-navy-soft); }

/* ---------- Questions ---------- */

.faq { margin-top: 18px; border-top: 1px solid var(--gold-line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--gold-line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 62px; padding: 14px 0;
  cursor: pointer; list-style: none;
  font-size: 1.08rem; font-weight: 600; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 30px; height: 30px; padding: 6px; flex: none;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gold-line);
  color: var(--gold-ink); transition: transform 0.35s var(--ease-out), background-color 0.25s;
}
.faq details[open] summary svg { transform: rotate(45deg); background: var(--navy); color: var(--on-navy); box-shadow: none; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* ---------- Fin ---------- */

.closing {
  margin: 0 var(--gutter);
  padding: clamp(44px, 10vw, 80px) 24px;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 0%, #1d2d5a 0%, var(--navy) 60%);
  color: var(--on-navy);
  text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.closing::before {
  content: ""; position: absolute; z-index: -1; top: -200px; right: -200px;
  width: 520px; height: 520px;
  background: var(--loops) center / contain no-repeat; opacity: 0.3;
}
.closing .crest { width: 44px; height: 44px; margin: 0 auto 16px; display: block; }
.closing h2 { margin: 0 auto 0.3em; max-width: 14ch; }
.closing h2 em { color: var(--gold-bright); }
.closing .when { justify-content: center; margin-bottom: 22px; }
.closing .button { max-width: 420px; }
.closing .seats { color: var(--on-navy-soft); }
.closing .seats strong { color: var(--on-navy); }

.legal {
  max-width: var(--wrap); margin: 0 auto;
  padding: 32px var(--gutter) calc(110px + env(safe-area-inset-bottom));
  color: var(--ink-soft); font-size: 0.78rem; line-height: 1.6; text-align: center;
}
.legal p { margin: 0 auto 1em; max-width: 46rem; }
.legal nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; }
.legal a { color: var(--ink); }
.legal a:hover { color: var(--gold-ink); }

/* ---------- Bandeau de réservation ---------- */

.rsvp-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 8px 8px 22px;
  border-radius: calc(var(--radius-sm) + 8px);
  background: rgba(9, 18, 42, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--on-navy);
  box-shadow: 0 18px 40px -16px rgba(9, 18, 42, 0.7);
  transform: translateY(calc(100% + 40px));
  transition: transform 0.5s var(--ease-out);
}
.rsvp-bar.is-visible { transform: none; }
.rsvp-bar .rsvp-when { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1.15; }
.rsvp-bar .rsvp-when small { display: block; font-family: var(--text); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-soft); }
.rsvp-bar .button { border-radius: var(--radius-sm); width: auto; min-height: 46px; padding: 10px 20px; font-size: 0.84rem; }

/* ---------- Mouvement ---------- */

@keyframes emerge { from { transform: translateY(26px); } }

@media (prefers-reduced-motion: no-preference) {
  /* le premier écran glisse en place sans jamais être caché */
  .hero-title, .hero-video, .hero-meta { animation: emerge 1s var(--ease-out) both; }
  .hero-video { animation-delay: 0.1s; }
  .hero-meta { animation-delay: 0.2s; }
  .js .rise {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 1s var(--ease-out);
  }
  .js .rise.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rsvp-bar { transition: none; }
}

/* ---------- Grands écrans ---------- */

@media (min-width: 860px) {
  :root { --gutter: 40px; }
  body { font-size: 18px; }
  .masthead { height: 76px; font-size: 1.6rem; }
  .hero { padding: 64px 0 72px; }
  .hero::before { width: 760px; height: 760px; right: -140px; top: -40px; opacity: 0.55; }
  .hero-grid {
    grid-template-columns: 1fr 1.08fr;
    grid-template-areas: "title video" "meta video";
    column-gap: 56px; row-gap: 26px; align-items: center;
  }
  .hero-title { align-self: end; }
  .hero-meta { align-self: start; }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 5.4rem); }
  .hero h1 span, .hero h1 em { display: block; }
  .hero .button { width: auto; }
  .hero .seats { justify-content: flex-start; }
  .section { padding: 88px 0; }
  .host-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .programme li { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
  .programme li:nth-child(even) figure { order: -1; }
  .tickets { grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
  .cta-row .button { width: auto; }
  .closing { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; }
  .closing .button { width: auto; }
  .rsvp-bar { left: 50%; right: auto; width: 520px; transform: translate(-50%, calc(100% + 60px)); }
  .rsvp-bar.is-visible { transform: translate(-50%, 0); }
}

/* ---------- Logo ---------- */

.logo { display: block; width: auto; height: 46px; flex: none; }
.masthead { height: 76px; gap: 14px; }
.logo--closing { height: 104px; margin: 0 auto 18px; }

@media (min-width: 860px) {
  .masthead { height: 88px; }
  .logo { height: 56px; }
  .logo--closing { height: 128px; }
}

/* ---------- 30 places ---------- */

.seats { margin-top: 14px; }
.seats-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(201, 166, 94, 0.16);
  box-shadow: inset 0 0 0 1px var(--gold-line);
  color: var(--ink);
  font-size: 1rem; font-weight: 500;
}
.seats-chip strong { font-weight: 700; }
.seats-chip svg { width: 15px; height: 15px; color: var(--gold-ink); }
.closing .seats-chip { background: rgba(226, 200, 140, 0.14); color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(226, 200, 140, 0.45); }
.closing .seats-chip svg { color: var(--gold-bright); }

/* ---------- Bandeau de mots ---------- */

.wordband {
  position: relative; z-index: 1;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  padding: 18px 0;
  border-block: 1px solid rgba(201, 166, 94, 0.5);
}
.wordband-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: wordband 38s linear infinite;
}
.wordband-track span:nth-of-type(odd) { color: var(--gold-bright); }
.wordband-track i { font-style: normal; font-size: 0.5em; color: var(--gold); }
.wordband--reverse .wordband-track { animation-direction: reverse; }
@keyframes wordband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wordband-track { animation: none; } }

/* Le mot qui frappe, en tête de chaque partie */
.programme .num { font-size: clamp(2rem, 8vw, 2.8rem); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }

/* Premier écran téléphone : le bouton reste au-dessus de la ligne de flottaison d'Instagram */
@media (max-width: 859px) {
  .hero { padding-top: 28px; }
  .hero-grid { gap: 20px; }
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .hero .proof { margin-top: 10px; }
  .hero .addressee { margin: 12px 0 14px; font-size: 0.98rem; }
}

/* Ligne d'étiquettes : sujet, lieu, public, dans un registre distinct du texte */
.hero .proof { margin-top: 18px; line-height: 1.4; }
.meta-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 22px 0 22px; max-width: none;
}
.meta-tags span {
  padding: 7px 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--gold-line);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); line-height: 1.2;
}
@media (max-width: 859px) {
  .hero .proof { margin-top: 14px; }
  .meta-tags { margin: 18px 0 18px; gap: 6px; }
  .meta-tags span { font-size: 0.68rem; padding: 6px 10px; }
}

/* Premier écran épuré : titre + preuve au-dessus de la vidéo, le pratique en dessous */
.hero-meta .when { margin-bottom: 18px; }
.hero .audience { margin: 16px 0 0; font-size: 0.95rem; color: var(--ink-soft); max-width: 34ch; }
@media (max-width: 859px) {
  .hero { padding-top: 36px; }
  .hero-grid { gap: 26px; }
  .hero .proof { margin-top: 16px; }
  .hero-meta { text-align: center; }
  .hero-meta .when { justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
  .hero .audience { margin-left: auto; margin-right: auto; }
}
@media (min-width: 860px) {
  .hero-meta .when { font-size: 1.55rem; white-space: nowrap; }
}

/* Le public, juste sous la vidéo, au-dessus de la date */
.hero .audience { margin: 0 0 10px; font-size: 1rem; font-weight: 600; color: var(--ink); max-width: none; }
@media (max-width: 859px) { .hero .audience { font-size: 0.95rem; } }

/* Page de confirmation */
.confirm-phone { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-soft); max-width: none; }
.confirm-phone a { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* Date centrée dans l'invitation de fin */
.closing .when { max-width: none; margin-left: auto; margin-right: auto; }

/* ---------- Note sous le bouton : option VIP au paiement ---------- */
.upsell-note { margin: 10px 0 0; font-size: 0.86rem; color: var(--ink-soft); max-width: none; }
.upsell-note a { color: var(--ink); font-weight: 600; }
@media (max-width: 859px) { .upsell-note { text-align: center; } }
.seats-chip.is-low strong { color: #a3332b; }

/* ---------- Témoignages ---------- */
.testimonials h2 { margin-bottom: 28px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: 14px; font-size: 0.86rem; line-height: 1.45; color: var(--ink-soft); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.quote--lead { padding: 4px 0 30px; border-bottom: 1px solid var(--gold-line); margin-bottom: 30px; }
.quote--lead blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 5.6vw, 2.3rem); line-height: 1.2; letter-spacing: -0.025em; max-width: 30ch; }
.quote--lead blockquote::first-letter { color: var(--gold-ink); }
.quotes { display: grid; gap: 26px; }
.quotes .quote { padding-left: 18px; box-shadow: inset 1px 0 0 var(--gold-line); }
@media (min-width: 860px) {
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
@media (max-width: 859px) {
  #hero-cta { letter-spacing: 0.03em; font-size: 0.95rem; padding-left: 18px; padding-right: 18px; white-space: nowrap; }
}
.programme .credit { margin-top: 6px; font-size: 0.72rem; color: var(--ink-soft); opacity: 0.8; text-align: right; }

/* ---------- Références : marques en typographie, monochrome ---------- */
.refs { padding: 34px 0 6px; text-align: center; }
.refs-label { margin: 0 auto 12px; max-width: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.refs-row { list-style: none; margin: 0 auto 26px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 980px; }
.refs-row li { font-family: var(--display); font-weight: 600; font-size: clamp(0.95rem, 3.6vw, 1.15rem); letter-spacing: -0.01em; color: var(--ink); opacity: 0.72; white-space: nowrap; }
.refs-row--media li { font-size: clamp(1.15rem, 4.6vw, 1.5rem); font-weight: 700; opacity: 0.85; }

/* ---------- Bande de logos défilante ---------- */
.logoband { padding: 30px 0 34px; border-block: 1px solid rgba(14, 26, 56, 0.08); margin-top: 28px; overflow: hidden; }
.logoband-label { margin: 0 auto 18px; max-width: none; text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.logoband-viewport { display: flex; width: max-content; animation: logoband 45s linear infinite; }
.logoband:hover .logoband-viewport { animation-play-state: paused; }
.logoband-track { display: flex; align-items: center; gap: 56px; list-style: none; margin: 0; padding: 0 28px; }
.logoband-track li { flex: none; display: flex; align-items: center; height: 40px; }
.logoband-track img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) brightness(0.35) sepia(0.25) hue-rotate(185deg); opacity: 0.75; }
.logoband-track span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); opacity: 0.7; white-space: nowrap; }
@keyframes logoband { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logoband-viewport { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logoband-track[aria-hidden] { display: none; } .logoband-track { flex-wrap: wrap; justify-content: center; gap: 18px 36px; } }

/* FAQ centrée */
section[aria-labelledby="questions"] h2 { text-align: center; }
section[aria-labelledby="questions"] .faq { margin-left: auto; margin-right: auto; }
.logoband-track img { height: 30px; max-width: 140px; }
.logoband-track img[src*="tedx"] { height: 26px; max-width: 170px; }
.logoband-track img[src*="audemars"], .logoband-track img[src*="graduate"] { height: 34px; max-width: 160px; }
.logoband-track a { display: flex; align-items: center; border-radius: 8px; }
.logoband-track a:hover img { opacity: 1; filter: none; }
#nl-badge-frame, #nl-hud-frame { display: none !important; }
