/* ===================================================================
   LA MIA CITTÀ — reproduction de la maquette Figma (homepage).
   HTML/CSS statique pur. Valeurs (couleurs, tailles, polices) relevées
   en Dev Mode Figma. Tout est piloté par les tokens ci-dessous.
   =================================================================== */

/* ---------- POLICES LOCALES : Alio Text (titres / marque / nav) ---------- */
@font-face {
  font-family: 'Alio Text';
  src: url('../assets/fonts/AlioText-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Alio Text';
  src: url('../assets/fonts/AlioText-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Alio Text';
  src: url('../assets/fonts/AlioText-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
/* Pas de Bold fourni : on mappe 600/700 sur Medium pour éviter un faux-gras. */
@font-face {
  font-family: 'Alio Text';
  src: url('../assets/fonts/AlioText-Medium.ttf') format('truetype');
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Alio Text';
  src: url('../assets/fonts/AlioText-MediumItalic.ttf') format('truetype');
  font-weight: 500 700; font-style: italic; font-display: swap;
}

:root {
  /* ---------- COULEURS (hex exacts Figma) ---------- */
  --mc-ink:        #040509;   /* TresSombre — texte principal */
  --mc-ink-soft:   #5b6276;
  --mc-grey:       #888898;   /* sous-textes featurebar */
  --mc-navy:       #101856;   /* carrés d'icônes featurebar */
  --mc-neige:      #edeff5;   /* fond des boutons pilule */
  --mc-rouge:      #c0163e;   /* bordure des boutons / cartes */
  --mc-jaune:      #ffb114;   /* JO Jaune (point d'intérêt 3D) */
  --mc-paper:      #ffffff;

  /* Dégradé signature (stops exacts Figma : crimson → vert) */
  --mc-grad: linear-gradient(210deg,
      #c0163e 12%, #9c2b5c 22.6%, #74437e 34%,
      #3a65ae 51%, #58918c 71.6%, #76bc6b 91.8%);
  --mc-grad-soft: linear-gradient(260deg,
      rgba(192,22,62,.5) 12%, rgba(156,43,92,.5) 22.6%, rgba(116,67,126,.5) 34%,
      rgba(58,101,174,.5) 51%, rgba(88,145,140,.5) 71.6%, rgba(118,188,107,.5) 91.8%);

  /* ---------- TYPO ---------- */
  --mc-title: 'Alio Text', system-ui, sans-serif;
  --mc-body:  'Lexend', system-ui, sans-serif;

  /* ---------- RYTHME ---------- */
  --mc-max:    1140px;
  --mc-gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--mc-paper);
  color: var(--mc-ink);
  font-family: var(--mc-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; }

/* ---------- UTILITAIRES PARTAGÉS ---------- */
.mc-wrap { width: 100%; max-width: var(--mc-max); margin-inline: auto; padding-inline: var(--mc-gutter); }
.mc-section { padding-block: clamp(3rem, 7vw, 5.5rem); }

/* Titres de section — 64px Alio Text Medium */
.mc-h2 {
  font-family: var(--mc-title);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

/* Texte en dégradé (titres, paragraphes mis en avant) */
.mc-grad-text {
  background: var(--mc-grad);
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Les titres en dégradé doivent épouser la largeur du texte,
   sinon le dégradé (calé sur la boîte) n'apparaît que partiellement. */
.mc-h2.mc-grad-text { display: inline-block; }

.mc-lead { font-weight: 300; max-width: 30ch; margin: 0 0 2.2rem; }

/* ---------- BOUTON PILULE (réutilisé partout) ----------
   Fond « neige », bordure fine crimson, texte en dégradé. */
.mc-pill {
  display: inline-flex; align-items: center; justify-content: center;
  /* Bordure en dégradé de marque : fond « neige » (padding-box) + dégradé (border-box) */
  border: 2.5px solid transparent;
  background:
    linear-gradient(var(--mc-neige), var(--mc-neige)) padding-box,
    var(--mc-grad) border-box;
  border-radius: 50px;
  padding: 13px 30px;
  font-family: var(--mc-title);
  font-weight: 500;
  font-size: 1.35rem;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
}
/* Survol : fond dégradé arc-en-ciel + texte blanc */
.mc-pill:hover {
  background: var(--mc-grad);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(192,22,62,.25);
}
.mc-pill:hover .mc-grad-text { -webkit-text-fill-color: #fff; color: #fff; background: none; }
.mc-pill--sm { padding: 12px 24px; font-size: 1.05rem; }

/* ===================================================================
   NAVIGATION — pilule flottante « liquid glass »
   =================================================================== */
.mc-navwrap {
  /* fixe et hors-flux → le héro/vidéo démarre tout en haut de la page,
     la pilule flotte par-dessus et reste visible au défilement. */
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--mc-gutter) 0;
  pointer-events: none;
}
.mc-nav {
  pointer-events: auto;
  max-width: 1248px; margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 28px;
  border-radius: 100px;
  background: rgba(245,246,250,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(166,166,166,.5), 0 1px 8px rgba(0,0,0,.1);
}
.mc-nav__brand { display: flex; align-items: center; gap: 10px; }
.mc-nav__logo { width: 38px; height: auto; }
.mc-nav__name { font-family: var(--mc-title); font-weight: 500; font-size: 1.3rem; color: var(--mc-ink); }
.mc-nav__links { margin-inline: auto; display: flex; gap: clamp(1.5rem, 3vw, 2.8rem); }
.mc-nav__links a {
  font-family: var(--mc-title); font-weight: 500; font-size: 1.15rem; color: var(--mc-ink);
  padding-bottom: 2px; border-bottom: 2px solid transparent; transition: border-color .2s ease;
}
/* Survol + page active : soulignement en dégradé de marque (arc-en-ciel) */
.mc-nav__links a:hover { border-image: var(--mc-grad) 1; }
.mc-nav__links a[aria-current="page"] { border-image: var(--mc-grad) 1; }
.mc-nav__actions { display: flex; align-items: center; gap: 18px; }
.mc-nav__flag { width: 28px; height: 21px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.mc-flag { font-size: 1.2rem; line-height: 1; }
.mc-iconbtn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--mc-ink); }
.mc-iconbtn:hover { background: rgba(0,0,0,.06); }

/* ===================================================================
   SECTION 1 — HÉRO
   =================================================================== */
.mc-hero {
  position: relative;
  isolation: isolate;         /* contexte d'empilement propre : les calques ci-dessous sont locaux */
  min-height: 100vh;          /* plein écran, démarre tout en haut (nav fixe par-dessus) */
  margin-top: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
  color: #fff;
  /* Couleur de secours derrière la vidéo (le temps qu'elle charge). */
  background: #0a0f1e;
}
/* Calques empilés : vidéo (0) < dégradé (1) < texte (2). La vidéo doit être
   AU-DESSUS du fond du hero, sinon elle est masquée (ancien bug : z-index négatif). */
.mc-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #0a0f1e; }
.mc-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,30,.25) 0%, rgba(10,15,30,.05) 35%, rgba(10,15,30,.55) 100%);
}
.mc-hero__text { position: relative; z-index: 2; width: 100%; max-width: var(--mc-max); margin-inline: auto; padding-inline: var(--mc-gutter); }
.mc-hero__title { font-family: var(--mc-title); font-weight: 500; margin: 0 0 1.5rem; line-height: 1.0; }
.mc-hero__title-1 { display: block; font-size: clamp(2.6rem, 5.7vw, 4.55rem); }
.mc-hero__title-2 { display: block; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; }
.mc-hero__lead { font-weight: 300; font-size: 1.25rem; line-height: 1.6; max-width: 52ch; margin: 0 0 2rem; }
/* Sur la vidéo, le texte du bouton reste lisible (fond neige) */

.mc-page { position: relative; }

/* ===================================================================
   SECTION 2 — LE CAFFÈ26
   =================================================================== */
.mc-caffe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.mc-features { display: flex; flex-direction: column; gap: 22px; margin: 0 0 2rem; }
.mc-feature { display: flex; gap: 16px; align-items: center; }
.mc-feature__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 88px; height: 88px;
  /* Bordure en dégradé de marque (fond blanc + dégradé sur le contour) */
  border: 2.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--mc-grad) border-box;
  border-radius: 25px;
  transition: background .2s ease;
}
.mc-feature__icon svg { width: 38px; height: 38px; transition: stroke .2s ease; }
/* Survol de la carte feature : fond dégradé + icône blanche */
.mc-feature:hover .mc-feature__icon { background: var(--mc-grad); }
.mc-feature:hover .mc-feature__icon svg { stroke: #fff; }
.mc-feature:hover .mc-feature__icon svg [fill]:not([fill="none"]) { fill: #fff; }
.mc-feature__body h3 { font-family: var(--mc-body); font-weight: 500; font-size: 1.1rem; margin: 0 0 .2rem; }
.mc-feature__body p  { font-weight: 300; font-size: 1.05rem; line-height: 1.45; margin: 0; }

/* Carte communauté */
.mc-community {
  background-image: var(--mc-grad-soft);
  border-radius: 25px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.mc-post {
  background: var(--mc-paper);
  border-radius: 22px;
  padding: 16px 20px;
  display: flex; gap: 14px;
}
/* Avatar illustré dans un anneau dégradé */
.mc-avatar {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--mc-grad); padding: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, .15);
}
.mc-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #e9eef5; }
.mc-post__main { min-width: 0; flex: 1; }
.mc-post__head { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 6px; }
.mc-post__name { font-family: var(--mc-title); font-weight: 500; color: var(--mc-ink); }
.mc-flagimg { width: 19px; height: 13px; border-radius: 2px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.mc-post__head time { margin-left: auto; font-size: .72rem; color: var(--mc-grey); font-weight: 300; white-space: nowrap; }
.mc-post__msg { font-weight: 300; font-size: 1rem; line-height: 1.35; margin: 0 0 10px; color: var(--mc-ink); }
.mc-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .9rem; font-weight: 300; color: var(--mc-ink); }
.mc-ic { width: 17px; height: 17px; flex: 0 0 auto; }
/* Pictogrammes sport monochromes (noir par défaut, blanc via currentColor sur fond coloré) */
.mc-spic { width: 20px; height: 20px; flex: 0 0 auto; color: var(--mc-ink); }
.mc-post__stat { display: inline-flex; align-items: center; gap: 5px; }
.mc-post__reply { display: inline-flex; color: var(--mc-ink); }
/* Like cliquable (toggle CSS pur, sans JS) */
.mc-like { cursor: pointer; transition: color .18s ease; }
.mc-like .mc-ic { transition: transform .25s cubic-bezier(.3,1.6,.5,1), fill .18s ease, stroke .18s ease; }
.mc-like:hover { color: var(--mc-rouge); }
.mc-like-cb:checked + .mc-like { color: var(--mc-rouge); }
.mc-like-cb:checked + .mc-like .mc-ic { fill: var(--mc-rouge); stroke: var(--mc-rouge); transform: scale(1.25); }

/* Traduction : toggle CSS (checkbox caché). Coché = version FR + « Traduction activée ». */
.mc-post__translate { display: inline-flex; align-items: center; gap: 5px; color: var(--mc-grey); font-size: .8rem; cursor: pointer; }
.mc-post__translate:hover { color: var(--mc-blue); }
.mc-tr-on { display: none; }
.mc-msg-fr { display: none; }
.mc-tr:checked ~ .mc-msg-orig { display: none; }
.mc-tr:checked ~ .mc-msg-fr { display: block; }
.mc-tr:checked ~ .mc-post__meta .mc-tr-on { display: inline; }
.mc-tr:checked ~ .mc-post__meta .mc-tr-off { display: none; }

/* ===================================================================
   SECTION 3 — EXPLOREZ (carte interactive)
   =================================================================== */
.mc-map { position: relative; }
/* Cadre au ratio Figma (1201/780) : l'image est recadrée en cover comme dans
   la maquette, donc les pins (en %) tombent exactement aux bons endroits. */
.mc-map__frame { position: relative; }
.mc-map__img {
  width: 100%; aspect-ratio: 1201 / 780; height: auto;
  object-fit: cover; object-position: center;
  display: block; border-radius: 15px;
}
.mc-map__title {
  position: absolute; top: 24px; left: 0; right: 0;
  text-align: center; color: #fff;
  font-family: var(--mc-title); font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 4rem); margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
/* Pins sur la carte (réutilisé ×8) : badge navy + picto blanc */
.mc-mappin {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--mc-navy);
  border: 3px solid rgba(255, 255, 255, .65);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform .18s ease;
}
.mc-mappin:hover { transform: translate(-50%, -50%) scale(1.1); }
/* L'emoji est forcé en silhouette blanche pour coller au style de la maquette */
.mc-mappin__dot { font-size: 1.2rem; line-height: 1; filter: brightness(0) invert(1); }

/* Barre d'infos blanche (chevauche le bas de la carte) */
.mc-featurebar {
  position: relative;
  margin: -57px 16px 0;            /* remonte sur la carte */
  background: rgba(255,255,255,.97);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 -4px 6px rgba(0,0,0,.08);
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem);
  padding: 16px 28px;
  flex-wrap: nowrap;               /* tout sur une seule ligne */
}
/* Bouton réduit pour tenir sur la ligne de la barre */
.mc-featurebar .mc-pill { font-size: .92rem; padding: 9px 18px; flex: 0 0 auto; }
.mc-featurebar__sep { width: 1px; align-self: stretch; background: rgba(0,0,0,.09); flex: 0 0 auto; }
.mc-fact { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.mc-fact__icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--mc-navy); color: #fff; }
.mc-fact__body h3 { font-family: var(--mc-body); font-weight: 600; font-size: .88rem; margin: 0; color: var(--mc-ink); white-space: nowrap; }
.mc-fact__body p  { font-weight: 400; font-size: .74rem; margin: 0; color: var(--mc-grey); white-space: nowrap; }

/* ===================================================================
   SECTION 4 — LA MIA CITTÀ
   =================================================================== */
.mc-about__title { max-width: 18ch; }
.mc-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mc-about__text p { font-weight: 300; margin: 0 0 1.4rem; }
.mc-about__text p.mc-grad-text { font-weight: 400; }
.mc-about__stat { font-family: var(--mc-title); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.25rem); margin-top: 1.8rem !important; }
.mc-about__media img { width: 100%; height: clamp(280px, 30vw, 384px); object-fit: cover; border-radius: 15px; }

/* ===================================================================
   SECTION 5 — CTA TÉLÉCHARGEMENT
   =================================================================== */
.mc-cta { position: relative; border-radius: 24px; overflow: hidden; color: #fff; }
.mc-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-cta::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.1); }
.mc-cta__inner {
  position: relative; z-index: 1;
  padding: clamp(2.5rem, 6vw, 4.7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.mc-cta .mc-h2 { color: #fff; }
.mc-cta__lead { font-weight: 300; max-width: 60ch; margin: 0 0 2.5rem; }
.mc-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 3rem; }
.mc-store { display: inline-flex; align-items: center; gap: .7rem; background: #000; color: #fff; padding: .7rem 1.4rem; border-radius: 12px; transition: transform .18s ease; }
.mc-store:hover { transform: translateY(-2px); }
.mc-store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.mc-store small { font-size: .68rem; letter-spacing: .03em; text-transform: uppercase; opacity: .85; }
.mc-store strong { font-family: var(--mc-title); font-weight: 500; font-size: 1.15rem; }
.mc-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2.5rem, 8vw, 6.8rem); }
.mc-stat { display: flex; flex-direction: column; align-items: center; }
.mc-stat__num { font-weight: 500; font-size: clamp(2rem, 4vw, 2.5rem); }
.mc-stat__label { font-weight: 300; font-size: .95rem; }

/* ===================================================================
   PIED DE PAGE
   =================================================================== */
.mc-footer { background-image: var(--mc-grad); color: #fff; padding-block: clamp(3rem, 5vw, 4rem) clamp(1.6rem, 3vw, 2.2rem); }
.mc-footer__inner { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }
.mc-footer__top { display: flex; gap: clamp(2.75rem, 6vw, 6rem); justify-content: space-between; flex-wrap: wrap; align-items: stretch; }
.mc-footer__brand { max-width: 240px; display: flex; flex-direction: column; }
.mc-footer__tagline { font-family: var(--mc-body); font-weight: 300; font-size: .9rem; line-height: 1.6; color: var(--mc-neige); margin: 0 0 1.75rem; }
.mc-footer__logo { width: 165px; height: auto; margin-top: auto; }
.mc-footer__cols { display: flex; gap: clamp(2.75rem, 6vw, 5.5rem); }
/* Hiérarchie nette : titre de section en Alio (grand, italique) ; sous-liens
   en Lexend (plus petits, légers) → distinction de taille ET de style. */
.mc-footer__col h4 { font-family: var(--mc-title); font-weight: 700; font-style: italic; font-size: clamp(1.35rem, 1.8vw, 1.65rem); margin: 0 0 1.25rem; letter-spacing: .005em; }
.mc-footer__col a { display: block; font-family: var(--mc-body); font-weight: 300; font-size: .95rem; line-height: 1.4; padding: .4rem 0; color: rgba(255,255,255,.86); }
.mc-footer__col a:hover { color: #fff; text-decoration: underline; }
.mc-footer__line { border: none; border-top: 1px solid rgba(255,255,255,.4); width: 100%; margin: 0; }
.mc-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: clamp(1.5rem, 4vw, 4rem); }
.mc-footer__legal p { font-family: var(--mc-body); font-weight: 300; font-size: .8rem; line-height: 1.7; text-align: center; margin: 0; color: rgba(255,255,255,.86); }

/* ===================================================================
   STAT QUI DÉFILE (« 90+ pays… ») — 3 phrases en boucle, CSS pur
   =================================================================== */
.mc-rotate { position: relative; display: block; min-height: 2.4em; }
.mc-rotate__item {
  position: absolute; left: 0; top: 0;
  width: fit-content; max-width: 100%;   /* épouse le texte → dégradé complet */
  font-weight: 500;                      /* medium */
  opacity: 0;
  animation: mc-rot 7.5s infinite;       /* défilement plus rapide (2,5 s/phrase) */
}
.mc-rotate__item:first-child { opacity: 1; } /* visible si animations désactivées */
.mc-rotate__item:nth-child(1) { animation-delay: 0s; }
.mc-rotate__item:nth-child(2) { animation-delay: 2.5s; }
.mc-rotate__item:nth-child(3) { animation-delay: 5s; }
@keyframes mc-rot {
  0%        { opacity: 0; transform: translateY(14px); }
  4%, 30%   { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-14px); }
}

/* ===================================================================
   OVERLAYS DES PINS (CSS :target, sans JS) — composant réutilisé ×4
   =================================================================== */
.mc-ov { position: fixed; inset: 0; z-index: 100; display: none; }
.mc-ov:target { display: grid; place-items: center; padding: 1.5rem; }
.mc-ov__scrim {
  position: absolute; inset: 0;
  background: rgba(4, 5, 9, .55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.mc-ov__card {
  position: relative; z-index: 1;
  width: min(360px, 100%);
  max-height: 88vh; overflow: auto;
  background: #fff;
  border: 4px solid var(--ov, #3a65ae);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  padding: 18px 16px;
  animation: mc-ov-in .25s ease;
}
@keyframes mc-ov-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.mc-ov__close { position: absolute; top: 8px; right: 14px; font-size: 1.7rem; line-height: 1; color: var(--ov); }
.mc-ov__chip {
  display: inline-block;
  background: var(--mc-neige);
  background: color-mix(in srgb, var(--ov) 12%, #fff);
  color: var(--ov);
  font-family: var(--mc-body); font-weight: 600; font-size: .72rem;
  padding: 5px 10px; border-radius: 12px;
}
.mc-ov__city { font-family: var(--mc-title); font-weight: 500; font-size: 1.9rem; line-height: 1.1; margin: 12px 0 0; }
.mc-ov__line { border: none; border-top: 1px solid var(--mc-neige); margin: 10px 0; }
.mc-ov__label { color: var(--ov); font-weight: 600; font-size: .72rem; margin: 0 0 8px; }
.mc-ov__text { color: #4a4a6a; font-weight: 400; font-size: .8rem; line-height: 1.58; margin: 0 0 12px; }
.mc-ov__photo { width: 100%; height: 170px; object-fit: cover; border-radius: 15px; }

/* ===================================================================
   PAGE CARTE INTERACTIVE (carte.html) — plein écran, sans footer
   =================================================================== */
.mc-body--app { overflow: hidden; }            /* page app : pas de défilement */
.mc-carte {
  position: relative; height: 100vh; height: 100dvh; background: #bfe0f2; overflow: hidden;
  display: grid; place-items: center;
  touch-action: none;          /* gestes (pan/pinch) gérés par map.js */
}
/* L'élément carte porte le ratio exact de l'image (600/400) et est dimensionné
   pour COUVRIR l'écran (plein écran), centré. Les pins sont ses enfants, en % →
   ils restent collés à la carte quel que soit le zoom/déplacement. C'est cet
   élément que map.js transforme (translate + scale). */
.mc-carte__map {
  position: relative;
  aspect-ratio: 600 / 400;
  width: max(100%, calc(100dvh * 1.5));
  transform-origin: center center; will-change: transform;
  cursor: grab; touch-action: none;
}
.mc-carte__map.is-grabbing { cursor: grabbing; }
.mc-carte__img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; user-select: none; }

/* Contrôles de zoom (non transformés → taille constante) */
.mc-carte__zoom { position: absolute; left: 14px; bottom: 14px; z-index: 6; display: flex; flex-direction: column; gap: 8px; }
.mc-carte__zoombtn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box; border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); color: var(--mc-ink); font-size: 1.3rem; line-height: 1;
  transition: transform .15s ease;
}
.mc-carte__zoombtn:hover { transform: translateY(-2px); }
.mc-carte__zoombtn svg { width: 20px; height: 20px; }

/* Bouton « Vue 360° » — pilule en bas à droite de la carte */
.mc-mapctrl {
  position: absolute; right: 12px; bottom: 12px; z-index: 6;
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 15px; border-radius: 20px;
  background: #fff; color: var(--mc-ink);
  border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box; box-shadow: 0 4px 14px rgba(0,0,0,.2);
  font-family: var(--mc-title); font-weight: 500; font-size: .85rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mc-mapctrl span { white-space: nowrap; }
/* Bouton retour (en street view) — carré comme avant */
.mc-street__back {
  position: absolute; right: 19px; bottom: 18px; z-index: 5;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 10px;
  background: #fff; color: var(--mc-ink);
  border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .18s ease;
}
.mc-mapctrl:hover, .mc-street__back:hover { transform: translateY(-2px); }

/* ===== STREET VIEW (plein écran, CSS :target) ===== */
.mc-street { position: fixed; inset: 0; z-index: 40; display: none; }
.mc-street:target { display: block; animation: mc-street-in .3s ease; }
@keyframes mc-street-in { from { opacity: 0; } to { opacity: 1; } }

/* Conteneur défilable = on déplace la photo (scroll / trackpad / tactile).
   direction:rtl → le défilement démarre calé à DROITE. */
.mc-street__viewport {
  position: absolute; inset: 0; overflow: auto;
  direction: rtl;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  cursor: grab;
}
/* La scène épouse le ratio de la photo (≈ 1000/460) : l'image entière est
   visible (aucun recadrage), seulement élargie au-delà de l'écran → on
   navigue à l'horizontale. Avantage : un % sur la scène = un % sur l'image,
   donc le POI tombe pile sur la statue, quelle que soit la taille d'écran. */
.mc-street__stage { direction: ltr; position: relative; height: 100%; aspect-ratio: 1000 / 460; width: auto; }
.mc-street__photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.mc-street__city {
  position: absolute; left: 24px; bottom: 22px; z-index: 4;
  font-family: var(--mc-title); font-weight: 500; font-size: 1.6rem; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5); pointer-events: none;
}
/* Point d'intérêt ambré, caché en HAUT À GAUCHE de la photo (hors-champ au départ,
   car le viewport démarre à droite) → se découvre en déplaçant la photo vers la gauche. */
.mc-street__poi {
  position: absolute; left: 8%; top: 20%; z-index: 3;
  transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 50px; height: 50px;
  background: var(--mc-jaune, #ffb114); border-radius: 14px;
  box-shadow: 0 4px 7px rgba(0,0,0,.3); cursor: pointer;
  transition: transform .18s ease;
}
.mc-street__poi:hover { transform: translate(-50%, -50%) scale(1.08); }

/* Fiche « collectible » (toggle CSS via #sv-collect) */
.mc-street__cardwrap { display: none; position: absolute; inset: 0; z-index: 6; place-items: center; padding: 1.5rem; }
.mc-street__toggle:checked ~ .mc-street__cardwrap { display: grid; }
.mc-street__toggle:checked ~ .mc-street__viewport .mc-street__poi { opacity: 0; pointer-events: none; }
.mc-street__cardscrim { position: absolute; inset: 0; background: rgba(4,5,9,.55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.mc-street__card {
  position: relative; z-index: 1;
  width: min(370px, 100%); max-height: 88vh; overflow: auto;
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  animation: mc-ov-in .25s ease;
}
.mc-street__cardhead {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--mc-rouge); color: #fff;
  padding: 10px 16px; font-family: var(--mc-title); font-weight: 500; font-size: .95rem;
}
.mc-street__cardclose { cursor: pointer; font-size: 1.3rem; line-height: 1; }
.mc-street__cardbody { padding: 16px; }
.mc-street__cardimg { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; }
.mc-street__chip {
  display: inline-block; margin: 14px 0 0;
  background: color-mix(in srgb, var(--mc-rouge) 12%, #fff); color: var(--mc-rouge);
  font-weight: 600; font-size: .72rem; padding: 5px 12px; border-radius: 999px;
}
.mc-street__cardtitle { font-family: var(--mc-title); font-weight: 500; font-size: 1.5rem; margin: 10px 0 8px; color: var(--mc-ink); }
.mc-street__cardtext { color: #4a4a6a; font-weight: 400; font-size: .8rem; line-height: 1.58; margin: 0; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 900px) {
  .mc-caffe__grid { grid-template-columns: 1fr; }
  .mc-about__grid { grid-template-columns: 1fr; }
  .mc-about__media { order: -1; }
  .mc-footer__top { flex-direction: column; gap: 2.5rem; }
  .mc-footer__brand { max-width: none; }
}
@media (max-width: 820px) {
  /* Carte (accueil) : la barre d'infos passe en colonne — sinon le bouton
     et les fonctionnalités débordent hors de l'écran et sont coupés. */
  .mc-featurebar {
    flex-direction: column; align-items: stretch;
    gap: 14px; margin: -34px 12px 0; padding: 18px 20px; border-radius: 15px;
  }
  .mc-featurebar .mc-pill { width: 100%; }
  .mc-featurebar__sep { width: auto; height: 1px; align-self: stretch; }
  .mc-fact { flex: 1 1 auto; }
  .mc-fact__body h3, .mc-fact__body p { white-space: normal; }
  .mc-map__img { border-radius: 15px; }
  .mc-map__title { top: 16px; }
}
@media (max-width: 680px) {
  body { font-size: 18px; }
  .mc-nav__links { display: none; }
  .mc-nav__name { font-size: 1.3rem; }
  /* Mobile : marque « La Mia Citta » à gauche, actions (drapeau · compte · menu)
     repoussées à droite, espacées entre elles. */
  .mc-nav { gap: 14px; }
  .mc-nav__brand { margin-right: auto; }
  .mc-nav__actions { gap: 18px; }
  /* Le drapeau quitte la barre (il est déplacé dans le menu hamburger) →
     « La Mia Città » dispose de toute la largeur et reste entier. */
  .mc-nav__flag, .mc-langwrap { display: none; }
  /* Footer mobile : colonnes empilées, large interligne, mentions alignées à
     gauche et bien espacées → lecture confortable sur petit écran. */
  .mc-footer__cols { flex-direction: column; gap: 2.25rem; }
  .mc-footer__col h4 { margin-bottom: .75rem; }
  .mc-footer__col a { font-size: 1rem; padding: .3rem 0; }
  .mc-footer__legal { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .mc-footer__legal p { text-align: left; }
}

/* Accessibilité */
a:focus-visible, button:focus-visible { outline: 3px solid var(--mc-rouge); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .mc-hero__video { display: none; } }

/* ===================================================================
   PAGE CAFFÈ26 (caffe26.html)
   Valeurs relevées en Dev Mode Figma (page-caffe26, 1280px).
   =================================================================== */
.mc-cf-section { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
/* Marge entre la dernière section et le footer */
.mc-wrap > .mc-cf-section:last-child { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.mc-cf .mc-h2 { margin-bottom: clamp(1.4rem, 3vw, 2rem); }

/* ---------- HÉRO : carte bleue PLEINE LARGEUR + cartes stats ---------- */
.mc-cf-hero { width: 100%; }
.mc-cf-hero__card {
  position: relative; overflow: hidden;
  color: #fff; isolation: isolate;   /* plein écran, pas de marges ni d'arrondi */
}
.mc-cf-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mc-cf-hero__card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.1); z-index: -1; }
.mc-cf-hero__inner {
  max-width: var(--mc-max); margin-inline: auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  /* padding-top dégage la nav flottante fixe */
  padding: clamp(96px, 11vw, 140px) var(--mc-gutter) clamp(2.5rem, 5vw, 3.5rem);
}
.mc-cf-hero__title {
  font-family: var(--mc-title); font-weight: 500; line-height: 1.02;
  font-size: clamp(2.2rem, 4.4vw, 4rem); margin: 0 0 1.4rem;
}
.mc-cf-hero__lead { font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.6; margin: 0; max-width: 34ch; }

/* Cluster de 3 cartes stats (carte large en haut, 2 dessous) */
.mc-cf-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  align-self: center;
}
.mc-cf-stat {
  border: 4px solid transparent; border-radius: 15px;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 16px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mc-cf-stat:first-child { grid-column: 1 / -1; }
.mc-cf-stat__num { font-family: var(--mc-title); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; }
.mc-cf-stat__lbl { color: #4a4a6a; font-weight: 400; font-size: clamp(.95rem, 1.4vw, 1.25rem); line-height: 1.2; margin-top: 2px; }

/* ---------- EN CE MOMENT : 3 cartes épreuve ---------- */
.mc-cf-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mc-cf-nowcard {
  min-width: 0;
  border: 4px solid transparent; border-radius: 15px;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  padding: 14px; display: flex; flex-direction: column; gap: 4px;
}
.mc-cf-nowcard__media { position: relative; display: block; border-radius: 15px; overflow: hidden; aspect-ratio: 312 / 210; }
.mc-cf-nowcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mc-cf-nowcard__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.mc-cf-nowcard__media:hover img { transform: scale(1.05); }
.mc-cf-play {
  position: absolute; inset: 0; z-index: 1; margin: auto;
  width: 68px; height: 68px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0,0,0,.35); backdrop-filter: blur(2px);
  transition: transform .18s ease, background .18s ease;
}
.mc-cf-nowcard__media:hover .mc-cf-play { transform: scale(1.08); background: rgba(192,22,62,.55); }
.mc-cf-nowcard__sport { font-family: var(--mc-title); font-weight: 500; font-size: 1.45rem; line-height: 1.1; margin: 8px 0 0; }
.mc-cf-nowcard__sub { color: #4a4a6a; font-weight: 400; font-size: .8rem; margin: 0 0 6px; }
.mc-cf-nowcard__btns { display: flex; gap: 8px; margin-top: auto; }
.mc-cf-btn {
  min-width: 0; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center;
  height: 33px; padding: 0 12px; border-radius: 50px;
  font-family: var(--mc-body); font-weight: 500; font-size: .68rem; white-space: nowrap;
  background: var(--mc-neige); transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
}
/* Bordure dégradé (fond neige + arc-en-ciel sur le contour) */
.mc-cf-btn--outline {
  border: 2.5px solid transparent;
  background: linear-gradient(var(--mc-neige), var(--mc-neige)) padding-box, var(--mc-grad) border-box;
}
.mc-cf-btn--ghost { color: rgba(40,40,40,.75); flex: 0 1 auto; }
/* Survol arc-en-ciel : fond dégradé + texte blanc */
.mc-cf-btn:hover { background: var(--mc-grad); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,22,62,.2); }
.mc-cf-btn:hover .mc-grad-text { -webkit-text-fill-color: #fff; color: #fff; background: none; }

/* ---------- LA PLACE PUBLIQUE : forum + barre latérale ---------- */
.mc-cf-forum { display: grid; grid-template-columns: 1fr 347px; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.mc-cf-forum__lead { font-weight: 300; font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.5rem; }

/* Filtres (pilule active grise + libellés) */
.mc-cf-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 1.25rem; }
.mc-cf-filter {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mc-body); font-weight: 300; font-size: .95rem; color: var(--mc-ink);
  padding: 4px 4px; border-radius: 15px; transition: color .18s ease;
}
.mc-cf-filter__ic { font-size: 1rem; line-height: 1; }
.mc-cf-filter.is-active { background: #d9d9d9; font-weight: 500; padding: 4px 18px; }
.mc-cf-filter:not(.is-active):hover { color: var(--mc-rouge); }

/* Cartes commentaire (forum) */
.mc-cf-comments { display: flex; flex-direction: column; gap: 18px; }
.mc-cf-comment {
  position: relative;
  border: 2.5px solid transparent; border-radius: 25px;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  padding: 18px 22px;
}
.mc-cf-comment__sport {
  position: absolute; top: 16px; right: 22px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mc-title); font-weight: 500; font-size: .95rem;
}
.mc-cf-comment__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding-right: 120px; }
.mc-cf-comment__name { font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; color: var(--mc-ink); }
.mc-cf-comment__head time { margin-left: 4px; font-size: .72rem; color: var(--mc-grey); font-weight: 300; white-space: nowrap; }
.mc-cf-comment__msg { font-weight: 300; font-size: 1rem; line-height: 1.4; margin: 0 0 12px; color: var(--mc-ink); }
.mc-cf-comment__meta { display: flex; align-items: center; gap: 22px; font-size: 1rem; font-weight: 300; color: var(--mc-ink); }
.mc-cf-comment__stat, .mc-cf-comment__reply { display: inline-flex; align-items: center; gap: 6px; }
.mc-cf-like {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-weight: 300; color: var(--mc-ink); cursor: pointer;
  transition: color .18s ease;
}
.mc-cf-like .mc-ic { transition: transform .25s cubic-bezier(.3,1.6,.5,1), fill .18s ease, stroke .18s ease; }
.mc-cf-like:hover { color: var(--mc-rouge); }
.mc-cf-likecb:checked + .mc-cf-like { color: var(--mc-rouge); }
.mc-cf-likecb:checked + .mc-cf-like .mc-ic { fill: var(--mc-rouge); stroke: var(--mc-rouge); transform: scale(1.25); }
.mc-cf-translate { display: inline-flex; align-items: center; gap: 5px; color: var(--mc-grey); font-size: .8rem; cursor: pointer; }
.mc-cf-translate:hover { color: #3a65ae; }
/* Réutilise les toggles de traduction (.mc-tr / .mc-msg-fr) du forum d'accueil */
.mc-cf-comment .mc-msg-fr { display: none; }
.mc-cf-comment .mc-tr-on { display: none; }
.mc-tr:checked ~ .mc-cf-comment__msg.mc-msg-orig { display: none; }
.mc-tr:checked ~ .mc-cf-comment__msg.mc-msg-fr { display: block; }
.mc-tr:checked ~ .mc-cf-comment__meta .mc-tr-on { display: inline; }
.mc-tr:checked ~ .mc-cf-comment__meta .mc-tr-off { display: none; }

/* Barre latérale */
.mc-cf-side { display: flex; flex-direction: column; gap: 15px; }
.mc-cf-sidecard {
  position: relative; overflow: hidden;
  background: #eef1f8 url('../assets/img/caffe/sidebar-bg.png') center / cover;
  border-radius: 15px; padding: 20px;
}
.mc-cf-sidecard__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.15rem; color: var(--mc-ink); margin: 0 0 10px; }
.mc-cf-sidecard__text { font-weight: 300; font-size: .82rem; line-height: 1.5; color: var(--mc-ink); margin: 0 0 14px; }
.mc-cf-sidebtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 15px;
  background: linear-gradient(var(--mc-neige), var(--mc-neige)) padding-box, var(--mc-grad) border-box;
  padding: 6px 16px; font-weight: 300; font-size: .82rem; color: rgba(0,0,0,.85);
  transition: background .2s ease, color .2s ease;
}
.mc-cf-sidebtn:hover { background: var(--mc-grad); color: #fff; }

/* Tendances */
.mc-cf-trends { display: flex; flex-direction: column; gap: 10px; }
.mc-cf-trends li { display: flex; align-items: center; gap: 16px; }
.mc-cf-trends__n { font-weight: 500; font-size: 1.25rem; color: rgba(0,0,0,.75); width: 16px; text-align: center; flex: 0 0 auto; }
.mc-cf-trends__b { display: flex; flex-direction: column; line-height: 1.25; }
.mc-cf-trends__b strong { font-weight: 300; font-size: 1.05rem; color: var(--mc-ink); }
.mc-cf-trends__b small { font-weight: 300; font-size: .78rem; color: var(--mc-ink); }

/* Prochaines watchparty */
.mc-cf-next { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.mc-cf-next li { display: flex; align-items: center; gap: 14px; }
.mc-cf-next__ic {
  flex: 0 0 auto; width: 55px; height: 55px; display: grid; place-items: center;
  font-size: 1.4rem; border: 2px solid transparent; border-radius: 15px;
  background: linear-gradient(var(--mc-neige), var(--mc-neige)) padding-box, var(--mc-grad) border-box;
}
.mc-cf-next__ic .mc-spic { width: 26px; height: 26px; }
.mc-cf-next__b { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.mc-cf-next__b strong { font-weight: 300; font-size: .95rem; color: var(--mc-ink); }
.mc-cf-next__b small { font-weight: 300; font-size: .78rem; color: var(--mc-ink); }
.mc-cf-next__add {
  flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 10px; font-size: 1.3rem; color: var(--mc-rouge); line-height: 1;
  transition: background .18s ease;
}
.mc-cf-next__add:hover { background: rgba(192,22,62,.1); }

/* ---------- WATCHPARTY & REDIFFUSIONS ---------- */
.mc-cf-wp { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.mc-cf-wpcard {
  border: 1.5px solid transparent; border-radius: 20px; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  display: flex; flex-direction: column;
}
.mc-cf-wpcard__media { position: relative; height: 158px; }
.mc-cf-wpcard__media img { width: 100%; height: 100%; object-fit: cover; }
.mc-cf-live {
  position: absolute; top: 12px; left: 12px;
  background: var(--mc-rouge); color: #fff; border-radius: 6px;
  font-weight: 600; font-size: .56rem; letter-spacing: .04em; padding: 5px 8px;
}
.mc-cf-wpcard__body { padding: 16px 17px; display: flex; flex-direction: column; gap: 9px; }
.mc-cf-wpcard__sport { font-family: var(--mc-title); font-weight: 500; font-size: .7rem; margin: 0; }
.mc-cf-wpcard__title { font-weight: 500; font-size: 1.05rem; color: var(--mc-ink); margin: -6px 0 0; }
.mc-cf-wpcard__sep { border: none; border-top: 1px solid var(--mc-neige); margin: 2px 0; }
.mc-cf-wpcard__btns { display: flex; gap: 15px; }
.mc-cf-wpbtn {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 12px; border-radius: 20px; font-weight: 500; font-size: .72rem; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mc-cf-wpbtn--outline {
  border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
}
.mc-cf-wpbtn--fill { background-image: var(--mc-grad); color: #fff; }
.mc-cf-wpbtn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,22,62,.22); }
/* Survol arc-en-ciel du bouton outline */
.mc-cf-wpbtn--outline:hover { background: var(--mc-grad); }
.mc-cf-wpbtn--outline:hover .mc-grad-text { -webkit-text-fill-color: #fff; color: #fff; background: none; }

/* Carte « créer » en dégradé — hauteur ajustée au contenu (pas alignée sur les autres) */
.mc-cf-create {
  align-self: start;
  background-image: var(--mc-grad); color: #fff; border-radius: 20px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.mc-cf-create__head { display: flex; align-items: center; gap: 14px; }
.mc-cf-create__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.2rem; margin: 0; }
.mc-cf-create__sub { font-weight: 300; font-size: .78rem; color: var(--mc-neige); margin: 3px 0 0; }
.mc-cf-create__plus {
  flex: 0 0 auto; margin-left: auto; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 28px; background: rgba(255,255,255,.15);
  color: #fff; font-weight: 600; font-size: 1.6rem; line-height: 1;
  transition: background .18s ease, transform .18s ease;
}
.mc-cf-create__plus:hover { background: rgba(255,255,255,.3); transform: rotate(90deg); }
.mc-cf-create__sep { border: none; border-top: 1px solid rgba(255,255,255,.2); width: 100%; margin: 4px 0; }
.mc-cf-create__list { display: flex; flex-direction: column; gap: 8px; }
.mc-cf-create__list li { display: flex; align-items: center; gap: 9px; font-weight: 300; font-size: .82rem; color: var(--mc-neige); }
.mc-cf-create__list svg { flex: 0 0 auto; }

/* ---------- RESPONSIVE CAFFÈ26 ---------- */
@media (max-width: 980px) {
  .mc-cf-forum { grid-template-columns: 1fr; }
  .mc-cf-side { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mc-cf-hero__inner { grid-template-columns: 1fr; }
  .mc-cf-now { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .mc-cf-wp { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mc-cf-stats { grid-template-columns: 1fr 1fr; }
  .mc-cf-side { grid-template-columns: 1fr; }
  .mc-cf-comment__sport { position: static; display: flex; margin-bottom: 6px; }
  .mc-cf-comment__head { padding-right: 0; flex-wrap: wrap; }
}

/* ===================================================================
   PAGE COMPTE (compte.html) — espace profil post-inscription
   Valeurs relevées en Dev Mode Figma (page-compte, 1280px).
   =================================================================== */
/* Héro mono-colonne (pas de cartes stats) */
.mc-cf-hero--solo .mc-cf-hero__inner { grid-template-columns: 1fr; }
.mc-cf-hero--solo .mc-cf-hero__lead { max-width: 56ch; }

/* Grille 2 colonnes : barre latérale 393px + contenu */
.mc-ac-grid {
  display: grid; grid-template-columns: 393px minmax(0, 1fr); gap: 15px;
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 6rem);
}

/* ---------- Colonne gauche : cartes claires ---------- */
.mc-ac-side { display: flex; flex-direction: column; gap: 15px; }
.mc-ac-card {
  position: relative; overflow: hidden;
  background: #dfe9f6 url('../assets/img/caffe/sidebar-bg.png') center / cover;
  border-radius: 15px; padding: 20px;
  display: flex; flex-direction: column; gap: 15px;
}
.mc-ac-card__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.3rem; color: var(--mc-ink); margin: 0; }

/* Profil */
.mc-ac-profile { display: flex; align-items: center; gap: 18px; }
.mc-ac-avatar {
  flex: 0 0 auto; width: 47px; height: 47px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mc-grad);
  box-shadow: 0 0 6px rgba(0,0,0,.15);
}
.mc-ac-profile__id { display: flex; flex-direction: column; line-height: 1.25; margin: 0; }
.mc-ac-profile__id strong { font-family: var(--mc-title); font-weight: 500; font-size: 1.3rem; color: var(--mc-ink); }
.mc-ac-profile__id span { font-weight: 300; font-size: .82rem; color: var(--mc-ink); }
.mc-ac-passport {
  border: 1px solid var(--mc-ink); border-radius: 15px; padding: 12px 19px;
  font-weight: 300; font-size: .82rem; line-height: 1.4; color: var(--mc-ink);
}
.mc-ac-prog { display: flex; flex-direction: column; gap: 9px; }
.mc-ac-prog__row { display: flex; justify-content: space-between; align-items: center; font-weight: 300; font-size: .85rem; color: var(--mc-ink); }
.mc-ac-prog__pts { font-size: .72rem; color: rgba(0,0,0,.55); }

/* Barre de progression (dégradé de marque) */
.mc-ac-bar { width: 100%; height: 6px; border-radius: 6px; background: rgba(0,0,0,.12); overflow: hidden; }
.mc-ac-bar span { display: block; height: 100%; border-radius: 6px; background-image: var(--mc-grad); }

/* Statistiques */
.mc-ac-stats { display: flex; flex-direction: column; gap: 12px; }
.mc-ac-stats li { display: flex; align-items: center; gap: 16px; font-weight: 300; font-size: 1rem; color: var(--mc-ink); }
.mc-ac-stats li b { margin-left: auto; font-weight: 300; }
.mc-ac-ic { width: 22px; height: 22px; flex: 0 0 auto; color: var(--mc-ink); }

/* Favoris / Notifications */
.mc-ac-fav, .mc-ac-notif { display: flex; flex-direction: column; gap: 12px; }
.mc-ac-fav li, .mc-ac-notif li { display: flex; align-items: center; gap: 16px; font-weight: 300; font-size: 1rem; color: var(--mc-ink); }
.mc-ac-fav__ic { flex: 0 0 auto; font-size: 1.2rem; line-height: 1; width: 22px; text-align: center; }
.mc-ac-fav__name { flex: 1 1 auto; }
.mc-ac-bm { margin-left: auto; width: 20px; height: 20px; color: var(--mc-ink); }

/* Toggle (CSS pur, coché = dégradé + bouton à droite) */
.mc-ac-toggle {
  flex: 0 0 auto; margin-left: auto; cursor: pointer;
  width: 36px; height: 20px; border-radius: 12px; padding: 2px;
  background: #f2f2f2; display: flex; align-items: center; justify-content: flex-start;
  transition: background .2s ease, justify-content 0s;
}
.mc-ac-toggle::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fcfcfd;
  box-shadow: 0 1px 3px rgba(16,24,40,.1), 0 1px 2px rgba(16,24,40,.06);
  transition: transform .2s ease;
}
.mc-ac-togglecb:checked + .mc-ac-toggle { background-image: var(--mc-grad); }
.mc-ac-togglecb:checked + .mc-ac-toggle::before { transform: translateX(16px); }

.mc-ac-link { font-weight: 300; font-size: .72rem; color: rgba(0,0,0,.65); text-decoration: underline; }
.mc-ac-link:hover { color: var(--mc-rouge); }

.mc-ac-logout { margin-top: 0; }

/* ---------- Colonne droite : panneaux bordure dégradé ---------- */
.mc-ac-main { display: flex; flex-direction: column; gap: 20px; }
.mc-ac-panel {
  border: 2.5px solid transparent; border-radius: 15px;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  padding: 16px 18px 21px 22px;
  display: flex; flex-direction: column; gap: 15px;
}
.mc-ac-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.mc-ac-panel__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.55rem; color: var(--mc-ink); margin: 0; }
.mc-ac-subtitle { font-family: var(--mc-title); font-weight: 500; font-size: 1.1rem; color: var(--mc-ink); margin: 0; }
.mc-ac-bar--wide { margin-top: -6px; }
.mc-ac-count { font-weight: 300; font-size: .72rem; color: rgba(0,0,0,.55); text-align: right; margin: -8px 0 0; }

/* Points obtenus */
.mc-ac-points { display: flex; flex-direction: column; gap: 8px; }
.mc-ac-points li { display: flex; align-items: center; gap: 16px; font-weight: 300; font-size: 1.05rem; color: var(--mc-ink); }
.mc-ac-points li b { margin-left: auto; font-weight: 300; white-space: nowrap; }

/* Tuiles badges / collectibles */
.mc-ac-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.mc-ac-tile {
  min-height: 155px; border-radius: 15px; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 8px; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mc-ac-tile:not(.mc-ac-tile--lock):hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.mc-ac-tile--lock { background: #5a5a5a; }
.mc-ac-tile__ic { width: 56px; height: 56px; }
.mc-ac-tile__name { font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; line-height: 1.15; color: var(--mc-neige); }
.mc-ac-tile__pts { font-weight: 300; font-size: .85rem; color: var(--mc-neige); }

/* Tuiles débloquées = cliquables (ouvrent un modal) */
.mc-ac-tile[href] { cursor: pointer; text-decoration: none; }
.mc-ac-tile--lock { cursor: default; }

/* ---------- MODAL BADGE / COLLECTIBLE (CSS :target) ---------- */
.mc-modal { position: fixed; inset: 0; z-index: 120; display: none; }
.mc-modal:target { display: grid; place-items: center; padding: 1.5rem; }
.mc-modal__scrim {
  position: absolute; inset: 0; background: rgba(4,5,9,.55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.mc-modal__card {
  position: relative; z-index: 1; width: min(380px, 100%);
  max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  animation: mc-ov-in .25s ease;
}
.mc-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 14px; color: #fff;
  background-image: linear-gradient(90deg, var(--ac, #58918c), var(--ac2, #76bc6b));
  font-family: var(--mc-body); font-weight: 300; font-size: .8rem;
}
.mc-modal__close {
  flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(26,26,26,.2); color: #fff; font-size: .65rem;
}
.mc-modal__close:hover { background: rgba(26,26,26,.4); }
.mc-modal__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mc-modal__hero {
  width: 100%; height: 118px; border-radius: 32px; overflow: hidden;
  display: grid; place-items: center;
}
.mc-modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.mc-modal__hero--icon { background-image: linear-gradient(135deg, var(--ac), var(--ac2)); }
.mc-modal__chip {
  align-self: center;
  background: color-mix(in srgb, var(--ac) 12%, #fff); color: var(--ac);
  font-weight: 600; font-size: .62rem; padding: 5px 12px; border-radius: 12px;
}
.mc-modal__title { align-self: center; font-family: var(--mc-title); font-weight: 500; font-size: 1.55rem; color: var(--mc-ink); margin: 2px 0; text-align: center; }
.mc-modal__line { border: none; border-top: 1px solid var(--mc-neige); width: 100%; margin: 4px 0; }
.mc-modal__label { color: var(--ac); font-weight: 600; font-size: .62rem; margin: 4px 0 0; }
.mc-modal__text { color: #4d4d4d; font-weight: 300; font-size: .78rem; line-height: 1.5; margin: 0; }
.mc-modal__text--mute { color: #8c8c8c; }

/* ---------- RESPONSIVE COMPTE ---------- */
@media (max-width: 920px) {
  .mc-ac-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mc-ac-tiles { grid-template-columns: 1fr 1fr; }
}

/* ===================================================================
   PAGE ONBOARDING (onboarding.html) — connexion / inscription
   =================================================================== */
/* Badge « Accès au Village Digital » dans le héro */
.mc-ob-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background-image: linear-gradient(90deg, #3a65ae, #74437e);
  color: #fff; font-weight: 600; font-size: .82rem;
  padding: 8px 14px; border-radius: 15px; margin-bottom: 1.1rem;
}

.mc-ob-grid {
  display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 34px;
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem);
}
.mc-ob-col { display: flex; flex-direction: column; gap: 12px; }

/* Onglets connexion / créer */
.mc-ob-tabs { display: flex; gap: 5px; background: var(--mc-neige); border-radius: 8px; padding: 5px; }
.mc-ob-tab {
  flex: 1 1 0; text-align: center; padding: 9px 10px; border-radius: 7px;
  font-weight: 400; font-size: .82rem; color: #8c8c8c;
}
.mc-ob-tab.is-active { background-image: var(--mc-grad); color: #fff; font-weight: 600; }

/* Cartes formulaire */
.mc-ob-card {
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 12px;
  padding: 20px; display: flex; flex-direction: column; gap: 13px;
}
.mc-ob-title { font-family: var(--mc-title); font-weight: 500; font-size: 1.55rem; margin: 0; }
.mc-ob-card--wide .mc-ob-title { font-size: 1.55rem; }
.mc-ob-sub { font-weight: 300; font-size: .8rem; color: #8c8c8c; margin: -8px 0 4px; }

/* Boutons sociaux (bordure dégradé, texte dégradé) */
.mc-ob-socials { display: flex; gap: 14px; }
.mc-ob-socials .mc-ob-social { flex: 1 1 0; }
.mc-ob-social {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 1.5px solid transparent; border-radius: 8px;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  padding: 9px 12px; font-weight: 400; font-size: .82rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mc-ob-social:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,22,62,.18); }
.mc-ob-social svg { flex: 0 0 auto; }

/* Séparateur « ou par email » */
.mc-ob-or { display: flex; align-items: center; gap: 10px; color: #8c8c8c; font-weight: 300; font-size: .72rem; }
.mc-ob-or::before, .mc-ob-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--mc-neige); }

/* Champs */
.mc-ob-field { display: flex; flex-direction: column; gap: 5px; }
.mc-ob-field > span { font-weight: 500; font-size: .78rem; color: var(--mc-ink); }
.mc-ob-field input {
  width: 100%; font: inherit; font-weight: 300; font-size: .85rem;
  border: 1px solid var(--mc-neige); border-radius: 8px; padding: 11px 12px; color: var(--mc-ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.mc-ob-field input::placeholder { color: #b8b8b8; }
.mc-ob-field input:focus { outline: none; border-color: #3a65ae; box-shadow: 0 0 0 3px rgba(58,101,174,.12); }
.mc-ob-row2 { display: flex; gap: 15px; }
.mc-ob-row2 .mc-ob-field { flex: 1 1 0; }

.mc-ob-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc-ob-check { display: inline-flex; align-items: center; gap: 7px; font-weight: 300; font-size: .78rem; color: var(--mc-ink); cursor: pointer; }
.mc-ob-check input { accent-color: #3a65ae; width: 14px; height: 14px; flex: 0 0 auto; }
.mc-ob-check--block { align-items: flex-start; line-height: 1.4; }
.mc-ob-check--block input { margin-top: 2px; }
.mc-ob-mute { font-weight: 300; font-size: .78rem; color: #8c8c8c; }
.mc-ob-mute:hover { color: var(--mc-rouge); }

/* Bouton principal (dégradé) */
.mc-ob-submit {
  display: flex; align-items: center; justify-content: center;
  background-image: var(--mc-grad); color: #fff;
  border-radius: 8px; padding: 13px; font-weight: 600; font-size: .85rem;
  transition: transform .18s ease, box-shadow .18s ease; margin-top: 2px;
}
.mc-ob-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(192,22,62,.25); }

.mc-ob-foot { text-align: center; font-weight: 300; font-size: .78rem; color: #8c8c8c; margin: 2px 0 0; line-height: 1.7; }
.mc-ob-foot a { font-family: var(--mc-title); font-weight: 500; font-size: .95rem; }

/* Mini-carte « Créer un compte » sous la connexion */
.mc-ob-mini {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 12px; padding: 18px 20px;
  transition: box-shadow .18s ease;
}
.mc-ob-mini:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.mc-ob-mini span { display: flex; flex-direction: column; line-height: 1.3; }
.mc-ob-mini strong { font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; color: var(--mc-ink); }
.mc-ob-mini small { font-weight: 300; font-size: .75rem; color: #8c8c8c; }
.mc-ob-mini__cta {
  flex: 0 0 auto; border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box; border-radius: 6px; padding: 8px 12px;
  font-weight: 500; font-size: .72rem; color: var(--mc-ink);
}

/* Barre de force du mot de passe */
.mc-ob-strength { height: 4px; border-radius: 2px; background: var(--mc-neige); overflow: hidden; margin-top: -4px; }
.mc-ob-strength__bar { display: block; height: 100%; width: 55%; border-radius: 2px; background: var(--mc-jaune); }
.mc-ob-strength__label { font-weight: 300; font-size: .7rem; color: var(--mc-jaune); margin: -6px 0 0; }

/* Sélecteur langue */
.mc-ob-select {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--mc-neige); border-radius: 8px; padding: 11px 12px;
  font-weight: 300; font-size: .85rem; color: var(--mc-ink); cursor: pointer;
}
.mc-ob-select .mc-flagimg { width: 20px; height: 15px; }
.mc-ob-select__caret { margin-left: auto; color: #8c8c8c; }

/* ---------- RESPONSIVE ONBOARDING ---------- */
@media (max-width: 920px) {
  .mc-ob-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mc-ob-socials, .mc-ob-row2 { flex-direction: column; }
}

/* ===================================================================
   MENU MOBILE (hamburger + drawer) — injecté par assets/auth.js,
   visible uniquement en mobile (<= 680px).
   =================================================================== */
.mc-nav__burger {
  display: none;                 /* masqué sur desktop */
  width: 38px; height: 38px; border-radius: 50%;
  place-items: center; color: var(--mc-ink);
  background: none; border: none; cursor: pointer;
}
.mc-nav__burger:hover { background: rgba(0,0,0,.06); }

.mc-drawer-scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4,5,9,.45);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.mc-drawer {
  position: fixed; top: 0; right: 0; z-index: 61;
  height: 100vh; height: 100dvh; width: min(84vw, 320px);
  background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.18);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 18px 16px 22px;
}
body.mc-drawer-open .mc-drawer { transform: translateX(0); }
body.mc-drawer-open .mc-drawer-scrim { opacity: 1; pointer-events: auto; }

.mc-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.mc-drawer__brand { font-family: var(--mc-title); font-weight: 500; font-size: 1.5rem; color: var(--mc-ink); }
.mc-drawer__close { background: none; border: none; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--mc-ink); padding: 4px 6px; }
.mc-drawer__rule { height: 2px; border: none; margin: 0 6px 10px; border-radius: 2px; background-image: var(--mc-grad); }

.mc-drawer__links { display: flex; flex-direction: column; }
.mc-drawer__links a {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 14px; font-family: var(--mc-title); font-weight: 500; font-size: 1.15rem;
  color: var(--mc-ink); border-bottom: 1px solid rgba(0,0,0,.07);
}
.mc-drawer__chev { color: var(--mc-grey); font-size: 1.15rem; }
.mc-drawer__links a[aria-current="page"] { background: var(--mc-neige); border-radius: 10px; border-bottom-color: transparent; }
.mc-drawer__links a[aria-current="page"]::before {
  content: ""; position: absolute; left: 2px; top: 9px; bottom: 9px; width: 4px;
  border-radius: 4px; background-image: var(--mc-grad);
}
.mc-drawer__links a[aria-current="page"] .mc-drawer__label {
  background-image: var(--mc-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Sélecteur de langue dans le menu mobile : menu déroulant (comme le desktop) */
.mc-drawer__lang { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--mc-neige); }
.mc-drawer__langlabel { display: block; font-weight: 300; font-size: .85rem; color: var(--mc-grey); margin-bottom: 10px; }
.mc-drawer__langsel { position: relative; }
.mc-drawer__langsummary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--mc-neige); border-radius: 12px; padding: 10px 14px;
  font-family: var(--mc-body); font-weight: 500; font-size: .95rem; color: var(--mc-ink);
}
.mc-drawer__langsummary::-webkit-details-marker { display: none; }
.mc-drawer__langflag { width: 26px; height: 19px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: 0 0 auto; }
.mc-drawer__langcur { flex: 1; }
.mc-drawer__langchev { color: var(--mc-grey); transition: transform .2s ease; }
.mc-drawer__langsel[open] .mc-drawer__langchev { transform: rotate(180deg); }
.mc-drawer__langmenu {
  margin-top: 8px; display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--mc-neige); border-radius: 12px; padding: 6px; background: #fff;
}
.mc-drawer__langopt {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: none; background: none; cursor: pointer; border-radius: 8px; padding: 9px 10px;
  font-family: var(--mc-body); font-weight: 400; font-size: .92rem; color: var(--mc-ink);
}
.mc-drawer__langopt:hover { background: var(--mc-neige); }
.mc-drawer__langopt.is-active { font-weight: 600; background: var(--mc-neige); }

.mc-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
.mc-drawer__login {
  display: flex; align-items: center; justify-content: center; padding: 13px; border-radius: 50px;
  background-image: var(--mc-grad); color: #fff;
  font-family: var(--mc-title); font-weight: 500; font-size: 1.1rem;
  transition: box-shadow .18s ease, transform .18s ease;
}
.mc-drawer__login:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(192,22,62,.25); }
.mc-drawer__signup {
  display: flex; align-items: center; justify-content: center; padding: 13px; border-radius: 50px;
  border: 2.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box;
  font-family: var(--mc-title); font-weight: 500; font-size: 1.1rem;
  transition: transform .18s ease;
}
.mc-drawer__signup:hover { transform: translateY(-2px); }

@media (max-width: 680px) { .mc-nav__burger { display: grid; } }
/* Sécurité : jamais de drawer sur desktop, même si l'état est basculé */
@media (min-width: 681px) { .mc-drawer, .mc-drawer-scrim { display: none; } }

/* ===================================================================
   PAGE DIRECT (direct.html) — watchparty live plein écran
   =================================================================== */
.mc-live { position: fixed; inset: 0; display: flex; background: #000; overflow: hidden; }

/* ----- Lecteur vidéo ----- */
.mc-live__player { position: relative; flex: 1 1 auto; min-width: 0; background: #000; }
.mc-live__video { width: 100%; height: 100%; object-fit: cover; display: block; }

.mc-live__badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--mc-rouge); color: #fff; border-radius: 6px; padding: 5px 9px;
  font-weight: 600; font-size: .58rem; letter-spacing: .03em;
}
.mc-live__dot { width: 7px; height: 7px; border-radius: 2px; background: #fff; animation: mc-live-blink 1.4s infinite; }
@keyframes mc-live-blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.mc-live__meta { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.mc-live__viewers { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 500; font-size: .62rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.mc-live__elapsed { background: rgba(26,26,26,.65); color: #fff; border-radius: 6px; padding: 5px 10px; font-weight: 600; font-size: .62rem; }

/* Barre de contrôle */
.mc-live__controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.mc-live__seek { height: 3px; background: rgba(255,255,255,.2); }
.mc-live__seek-fill { display: block; height: 100%; width: 3%; background: var(--mc-rouge); border-radius: 2px; }
.mc-live__bar { display: flex; align-items: center; gap: 12px; background: rgba(26,26,26,.8); padding: 9px 15px; }
.mc-live__ctrl { display: grid; place-items: center; color: #fff; background: none; border: none; cursor: pointer; }
.mc-live__ctrl:hover { opacity: .8; }
.mc-live__vol { width: 60px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); }
.mc-live__vol-fill { display: block; height: 100%; width: 70%; border-radius: 2px; background: var(--mc-neige); }
.mc-live__time { color: var(--mc-neige); font-family: var(--mc-title); font-weight: 500; font-size: .72rem; }
.mc-live__spacer { flex: 1 1 auto; }

/* ----- Chat ----- */
.mc-live__chat { flex: 0 0 321px; width: 321px; background: #fff; display: flex; flex-direction: column; height: 100%; }
.mc-live__chathead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #ebebeb; flex: 0 0 auto; }
.mc-live__chattitle { font-family: var(--mc-title); font-weight: 500; font-size: 1.25rem; color: #1a1a1a; margin: 0; }
.mc-live__online { display: inline-flex; align-items: center; gap: 5px; background: rgba(58,101,174,.1); color: #3a65ae; border-radius: 11px; padding: 5px 9px; font-weight: 600; font-size: .6rem; white-space: nowrap; }

.mc-live__messages { flex: 1 1 auto; overflow-y: auto; }
.mc-live__msg { display: flex; gap: 10px; padding: 14px 15px; border-bottom: 1.5px solid #ebebeb; }
.mc-live__msg--hl { background: #ffdfe7; }
.mc-live__av { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-grad); box-shadow: 0 0 5px rgba(0,0,0,.2); }
.mc-live__msgbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mc-live__msgtop { display: flex; align-items: center; gap: 6px; }
.mc-live__name { font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; color: #000; }
.mc-live__msgact { margin-left: auto; display: flex; align-items: center; gap: 12px; color: #000; }
.mc-live__like { display: inline-flex; align-items: center; gap: 3px; font-weight: 300; font-size: .75rem; color: #000; }
.mc-live__like .mc-ic { width: 14px; height: 14px; }
.mc-live__icbtn { width: 13px; height: 13px; color: #000; }
.mc-live__more { background: none; border: none; cursor: pointer; color: #000; font-size: 1rem; line-height: .5; padding: 0; }
.mc-live__text { font-weight: 300; font-size: .82rem; line-height: 1.4; color: #1a1a1a; margin: 0; }

/* Composer */
.mc-live__composer { flex: 0 0 auto; display: flex; gap: 10px; padding: 13px 12px; border-top: 1px solid #ebebeb; }
.mc-live__composer input {
  flex: 1 1 auto; min-width: 0; font: inherit; font-weight: 300; font-size: .8rem;
  background: #f4f8ff; border: 1px solid #ebebeb; border-radius: 8px; padding: 10px 12px; color: var(--mc-ink);
}
.mc-live__composer input::placeholder { color: #a6a6a6; }
.mc-live__composer input:focus { outline: none; border-color: #3a65ae; }
.mc-live__send {
  flex: 0 0 auto; display: grid; place-items: center; padding: 0 12px;
  border: 1px solid transparent; background: linear-gradient(rgba(255,223,231,.4), rgba(255,223,231,.4)) padding-box, var(--mc-grad) border-box; border-radius: 8px; cursor: pointer;
  transition: background .18s ease;
}
.mc-live__send:hover { background: linear-gradient(rgba(255,223,231,.8), rgba(255,223,231,.8)) padding-box, var(--mc-grad) border-box; }

/* ----- Responsive : empilement vertical (vidéo en haut, chat en bas) ----- */
@media (max-width: 820px) {
  .mc-live { flex-direction: column; }
  .mc-live__player { flex: 0 0 auto; height: 38vh; }
  .mc-live__chat { flex: 1 1 auto; width: 100%; }
}

/* ===================================================================
   PAGE PROGRAMME (programme.html) — Calendrier des Épreuves
   =================================================================== */
/* ----- Barre de filtres ----- */
.mc-pr-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 15px;
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 12px;
  padding: 10px 16px; margin-top: clamp(1.5rem, 3vw, 2.2rem);
}
.mc-pr-filters__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .78rem; color: var(--mc-ink); }
.mc-pr-filters__reset { margin-left: auto; font-weight: 300; font-size: .72rem; color: #8c8c8c; text-decoration: underline; }
.mc-pr-filters__reset:hover { color: var(--mc-rouge); }
.mc-filter--grow { flex: 1 1 auto; min-width: 160px; }
.mc-filter--grow .mc-filter__btn { width: 100%; }

/* Dropdown (<details>) */
.mc-filter { position: relative; }
.mc-filter__btn {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box; border-radius: 8px; padding: 9px 12px;
  font-weight: 400; font-size: .78rem; color: var(--mc-ink); white-space: nowrap;
}
.mc-filter__btn::-webkit-details-marker { display: none; }
.mc-filter__btn > span { margin-right: 4px; }
.mc-filter__caret { margin-left: auto; transition: transform .2s ease; flex: 0 0 auto; }
.mc-filter[open] .mc-filter__btn { box-shadow: 0 0 0 1px var(--ac); }
.mc-filter[open] .mc-filter__caret { transform: rotate(180deg); }
.mc-filter__panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 45;
  width: 250px; max-width: 86vw;
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.16); padding: 8px;
  animation: mc-ov-in .16s ease;
}
.mc-filter__panel--cal { width: 290px; }
.mc-filter__head {
  display: flex; align-items: center; gap: 8px;
  background: var(--mc-neige); border-radius: 10px; padding: 9px 12px; margin-bottom: 6px;
  font-family: var(--mc-title); font-weight: 500; font-size: .92rem; color: var(--mc-ink);
}
.mc-filter__opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  font-weight: 300; font-size: .85rem; color: var(--mc-ink); cursor: pointer;
  border-bottom: 1px solid var(--mc-neige);
}
.mc-filter__opt:last-of-type { border-bottom: none; }
.mc-filter__opt input { accent-color: var(--ac); width: 15px; height: 15px; flex: 0 0 auto; }
.mc-filter__opt--all {
  background: color-mix(in srgb, var(--ac) 8%, #fff); color: var(--ac); font-weight: 500;
  border-radius: 8px; border-bottom: 1px solid var(--mc-neige);
}
.mc-filter__apply {
  width: 100%; margin-top: 8px; background: var(--ac); color: #fff;
  border: none; border-radius: 8px; padding: 11px; cursor: pointer;
  font-family: var(--mc-body); font-weight: 600; font-size: .82rem;
  transition: filter .18s ease;
}
.mc-filter__apply:hover { filter: brightness(1.08); }

/* Mini calendrier */
.mc-cal__top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 10px; font-family: var(--mc-title); font-size: .95rem; color: var(--mc-ink); }
.mc-cal__top button { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: #8c8c8c; padding: 0 6px; }
.mc-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mc-cal__dows { margin-bottom: 4px; }
.mc-cal__dow { text-align: center; font-weight: 300; font-size: .6rem; color: #8c8c8c; }
.mc-cal__day { aspect-ratio: 1; display: grid; place-items: center; font-weight: 300; font-size: .72rem; color: var(--mc-ink); border-radius: 8px; cursor: pointer; }
.mc-cal__day--empty { cursor: default; }
.mc-cal__day--muted { color: #c9c9d2; cursor: default; }
.mc-cal__day--range { background: color-mix(in srgb, var(--ac) 14%, #fff); }
.mc-cal__day--sel { background: var(--ac); color: #fff; font-weight: 500; }

/* ----- Contenu : jour + sidebar ----- */
.mc-pr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 357px; gap: 34px; align-items: start; padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem); }

.mc-pr-day__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mc-pr-day__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.55rem; color: var(--mc-ink); margin: 0; }
.mc-pr-day__sub { font-weight: 300; font-size: .78rem; color: #8c8c8c; margin: 4px 0 0; }
.mc-pr-live { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; background: rgba(192,22,62,.1); border: 1px solid var(--mc-rouge); color: var(--mc-rouge); border-radius: 11px; padding: 4px 10px; font-weight: 600; font-size: .58rem; white-space: nowrap; }
.mc-pr-live__dot { width: 6px; height: 6px; border-radius: 2px; background: var(--mc-rouge); }

.mc-pr-slot { font-weight: 600; font-size: .58rem; color: #999; letter-spacing: .04em; margin: 18px 0 8px; }

/* Carte épreuve */
.mc-pr-ev { display: flex; gap: 8px; background: #fff; border: 1px solid var(--mc-neige); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.mc-pr-ev[hidden] { display: none; }   /* le filtre masque réellement la carte (sinon display:flex l'emporte sur [hidden]) */
.mc-pr-ev--live { border: 1.5px solid var(--mc-rouge); }
.mc-pr-ev__ic { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 17px; background: var(--mc-neige); color: var(--mc-ink); }
.mc-pr-ev__ic .mc-spic { width: 22px; height: 22px; }
.mc-pr-ev__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.mc-pr-ev__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mc-pr-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--mc-neige); border-radius: 5px; padding: 3px 8px; font-weight: 400; font-size: .58rem; color: var(--mc-ink); white-space: nowrap; }
.mc-pr-tag--live { background: var(--mc-ink); color: #fff; font-weight: 600; }
.mc-pr-tag--soon { color: #8c8c8c; font-weight: 600; }
.mc-pr-ev__name { font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; color: var(--mc-ink); margin: 0; flex: 1 1 100%; }
.mc-pr-ev__meta { display: flex; flex-wrap: wrap; gap: 14px; }
.mc-pr-ev__meta span { display: inline-flex; align-items: center; gap: 5px; font-weight: 300; font-size: .68rem; color: #8c8c8c; }
.mc-pr-ev__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mc-pr-act { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-size: .68rem; color: #8c8c8c; }
.mc-pr-act--accent { color: #74437e; }
.mc-pr-join { margin-left: auto; background-image: var(--mc-grad); color: #fff; border-radius: 20px; padding: 9px 14px; font-weight: 500; font-size: .72rem; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease; }
.mc-pr-join:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,22,62,.22); }

/* ----- Sidebar ----- */
.mc-pr-side { display: flex; flex-direction: column; gap: 15px; }
.mc-pr-card { background: #fff; border: 1px solid var(--mc-neige); border-radius: 12px; padding: 15px; }
.mc-pr-card__title { display: flex; align-items: center; gap: 6px; font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; color: var(--mc-ink); margin: 0 0 10px; }
.mc-pr-card__sub { font-weight: 300; font-size: .72rem; color: #8c8c8c; margin: 0 0 12px; }
.mc-pr-summary { display: flex; justify-content: space-around; text-align: center; }
.mc-pr-summary div { display: flex; flex-direction: column; }
.mc-pr-summary strong { font-weight: 600; font-size: 1.4rem; color: var(--mc-ink); }
.mc-pr-summary span { font-weight: 300; font-size: .65rem; color: #8c8c8c; }
.mc-pr-sites { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mc-pr-sites li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--mc-neige); }
.mc-pr-sites li:last-child { border-bottom: none; padding-bottom: 0; }
.mc-pr-sites span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .8rem; color: var(--mc-ink); }
.mc-pr-sites small { font-weight: 300; font-size: .7rem; color: #8c8c8c; white-space: nowrap; }
.mc-pr-cardbtn { display: block; text-align: center; border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box; border-radius: 8px; padding: 8px; font-weight: 500; font-size: .68rem; color: var(--mc-ink); transition: background .18s ease, color .18s ease; }
.mc-pr-cardbtn:hover { background: var(--mc-grad); color: #fff; }
.mc-pr-avatars { display: flex; align-items: center; margin-bottom: 12px; }
.mc-pr-avatars span { width: 22px; height: 22px; border-radius: 11px; margin-right: -8px; box-shadow: 0 0 0 2px #fff; }
.mc-pr-avatars__more { width: auto !important; min-width: 22px; padding: 0 5px; display: grid; place-items: center; background: var(--mc-neige) !important; color: var(--mc-ink); font-weight: 600; font-size: .55rem; }
.mc-pr-joinparty { display: block; text-align: center; background-image: var(--mc-grad); color: #fff; border-radius: 8px; padding: 9px; font-weight: 600; font-size: .72rem; transition: transform .18s ease, box-shadow .18s ease; }
.mc-pr-joinparty:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,22,62,.22); }

/* ----- Responsive programme ----- */
@media (max-width: 920px) {
  .mc-pr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mc-pr-filters { gap: 10px; }
  .mc-filter, .mc-filter__btn { width: 100%; }
  .mc-filter__panel { width: 100%; }
  .mc-pr-join { margin-left: 0; width: 100%; text-align: center; }
}

/* ===================================================================
   AJOUTS DIVERS — player plein écran, confettis carte, favoris,
   modal « points », sélecteur de langue
   =================================================================== */
/* Plein écran du lecteur : on masque la nav flottante */
body.mc-fs .mc-navwrap { display: none; }

/* Confettis (carte interactive) — particules éphémères au clic d'un pin */
.mc-confetti {
  position: fixed; width: 8px; height: 8px; border-radius: 2px;
  pointer-events: none; z-index: 200; opacity: 1;
  transition: transform .85s cubic-bezier(.2,.7,.3,1), opacity .85s ease;
}

/* Favoris cliquables (compte) — marque-page bascule au clic */
.mc-fav-toggle { margin-left: auto; cursor: pointer; display: inline-flex; }
.mc-fav-toggle svg { width: 20px; height: 20px; transition: transform .18s ease, fill .18s ease, stroke .18s ease; }
.mc-fav-cb:checked + .mc-fav-toggle svg { fill: #3a65ae; stroke: #3a65ae; }
.mc-fav-cb:not(:checked) + .mc-fav-toggle svg { fill: none; stroke: var(--mc-grey); }
.mc-fav-toggle:hover svg { transform: scale(1.15); }

/* Modal « Comment obtenir des points » — liste de règles */
.mc-pts-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.mc-pts-list li { display: flex; align-items: center; gap: 14px; font-weight: 300; font-size: .82rem; color: #4d4d4d; }
.mc-pts-list li b { margin-left: auto; font-weight: 500; color: var(--ac); white-space: nowrap; }

/* Sélecteur de langue natif (onboarding) */
select.mc-ob-select {
  appearance: none; -webkit-appearance: none; font: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px; cursor: pointer;
}

/* Sélecteur de langue custom (onboarding) — drapeaux SVG, compact */
.mc-langsel { position: relative; }
.mc-langsel__btn {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 9px;
  border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--mc-grad) border-box; border-radius: 8px; padding: 9px 12px;
  font-weight: 300; font-size: .82rem; color: var(--mc-ink);
}
.mc-langsel__btn::-webkit-details-marker { display: none; }
.mc-langsel__cur { flex: 1 1 auto; }
.mc-langsel__caret { color: #8c8c8c; flex: 0 0 auto; transition: transform .2s ease; }
.mc-langsel[open] .mc-langsel__caret { transform: rotate(180deg); }
.mc-langsel__panel {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14); padding: 4px;
}
.mc-langsel__opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
  border: none; background: none; cursor: pointer; font: inherit; font-weight: 300; font-size: .82rem;
  color: var(--mc-ink); border-radius: 6px; text-align: left;
}
.mc-langsel__opt:hover { background: var(--mc-neige); }
.mc-flag-svg { width: 20px; height: 14px; border-radius: 2px; flex: 0 0 auto; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* ===================================================================
   PAGE WATCHPARTY (watchparty.html) — direct + infos en page complète
   =================================================================== */
.mc-wp-wrap {
  width: 100%; max-width: 1260px; margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(86px, 9vw, 116px) clamp(2.5rem, 5vw, 4rem);
}
.mc-wp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 321px; align-items: stretch; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.mc-wp-col { display: flex; flex-direction: column; min-width: 0; }

/* Lecteur (non plein écran) — réutilise les overlays .mc-live__* */
.mc-wp-player { position: relative; height: clamp(240px, 36vw, 506px); background: #000; overflow: hidden; }

/* Barre épreuve */
.mc-wp-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; background: #fff; border: 1px solid var(--mc-neige); border-top: none; padding: 15px; }
.mc-wp-bar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mc-wp-bar__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 21px; background-image: var(--mc-grad); display: grid; place-items: center; }
.mc-wp-bar__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.3rem; color: var(--mc-ink); margin: 0; }
.mc-wp-bar__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2px; }
.mc-wp-bar__meta span { display: inline-flex; align-items: center; gap: 4px; font-weight: 300; font-size: .68rem; color: #8c8c8c; }
.mc-wp-bar__actions { display: flex; align-items: center; gap: 10px; }
.mc-wp-suivre { background-image: var(--mc-grad); color: #fff; border: none; border-radius: 16px; padding: 8px 15px; font-family: var(--mc-title); font-weight: 500; font-size: .85rem; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.mc-wp-suivre:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(192,22,62,.22); }
.mc-wp-share { display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; background: linear-gradient(var(--mc-neige), var(--mc-neige)) padding-box, var(--mc-grad) border-box; border-radius: 16px; padding: 7px 14px; font-family: var(--mc-title); font-weight: 500; font-size: .72rem; color: var(--mc-ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.mc-wp-share:hover { background: var(--mc-grad); color: #fff; }
.mc-wp-share:hover { background: #fff; }
.mc-wp-more { width: 44px; height: 32px; background: var(--mc-neige); border: none; border-radius: 16px; cursor: pointer; font-size: 1rem; line-height: .5; color: var(--mc-ink); }

/* Onglets */
.mc-wp-tabs { display: flex; background: #fff; border: 1px solid var(--mc-neige); border-top: none; }
.mc-wp-tab { position: relative; background: none; border: none; cursor: pointer; padding: 14px 20px; font-weight: 600; font-size: .8rem; color: #8c8c8c; font-family: var(--mc-body); }
.mc-wp-tab.is-active { color: var(--mc-ink); }
.mc-wp-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 1px; background: var(--mc-rouge); }

/* Classement */
.mc-wp-rank { background: #fff; border: 1px solid var(--mc-neige); border-top: none; }
.mc-wp-rank__head { display: flex; align-items: center; gap: 15px; padding: 15px 19px; color: var(--mc-ink); }
.mc-wp-rank__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.15rem; margin: 0; }
.mc-wp-rankrow { display: flex; align-items: center; gap: 16px; padding: 8px 19px; border-top: 1px solid var(--mc-neige); }
.mc-wp-rankrow--alt { background: #fafafa; }
.mc-wp-rankrow--live { background: rgba(118,188,107,.2); }
.mc-wp-rank__pos { flex: 0 0 auto; width: 14px; text-align: center; font-weight: 600; font-size: .8rem; color: #8c8c8c; }
.mc-wp-rank__who { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; min-width: 0; font-family: var(--mc-title); font-weight: 500; font-size: .95rem; color: var(--mc-ink); }
.mc-wp-rank__time { flex: 0 0 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 140px; }
.mc-wp-rank__time b { font-weight: 600; font-size: .8rem; color: var(--mc-ink); }
.mc-wp-rank__time small { font-weight: 300; font-size: .72rem; color: #8c8c8c; }
.mc-wp-rank__onpiste { display: inline-flex; align-items: center; gap: 5px; font-weight: 300; font-size: .72rem; color: #76bc6b; }
.mc-wp-rank__dot { width: 8px; height: 8px; border-radius: 2px; background: #76bc6b; }

/* Chat (réutilise .mc-live__* internes) */
.mc-wp-chat { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #ebebeb; }
.mc-wp-chat .mc-live__messages { flex: 1 1 auto; }

/* Responsive : empilement (chat sous le lecteur) */
@media (max-width: 860px) {
  .mc-wp-grid { grid-template-columns: 1fr; }
  .mc-wp-chat { max-height: 460px; }
}

/* Menu de langues (clic sur le drapeau de la nav) */
.mc-langwrap { position: relative; display: inline-flex; }
.mc-langmenu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16); padding: 5px; min-width: 152px; display: none;
}
.mc-langwrap.is-open .mc-langmenu { display: block; animation: mc-ov-in .16s ease; }
.mc-langmenu__opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
  border: none; background: none; cursor: pointer; border-radius: 8px;
  font-family: var(--mc-body); font-weight: 400; font-size: .9rem; color: var(--mc-ink); text-align: left;
}
.mc-langmenu__opt:hover { background: var(--mc-neige); }
.mc-langmenu__opt.is-active { font-weight: 600; }
.mc-langmenu__flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* Filtre forum : masque les commentaires non concernés */
.mc-cf-comment[hidden] { display: none; }

/* Hover « arc-en-ciel » sur les liens texte cliquables (les boutons ont déjà
   leur survol dégradé). Texte en dégradé de marque au survol. */
.mc-footer__col a:hover, .mc-footer__legal a:hover,
.mc-ac-link:hover, .mc-ob-mute:hover, .mc-ob-foot a:hover,
.mc-pr-filters__reset:hover, .mc-pr-act:hover, .mc-cf-translate:hover,
.mc-pr-cardbtn:hover, .mc-ob-foot a:focus-visible {
  background: var(--mc-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; text-decoration: none;
}
.mc-pr-act:hover svg { stroke: #74437e; }

/* Menu d'options par commentaire (signaler / bloquer) + toast */
.mc-cmt-wrap { position: relative; display: inline-flex; }
.mc-cmt-more { background: none; border: none; cursor: pointer; color: inherit; font-size: 1rem; line-height: .5; padding: 0 4px; }
.mc-cmt-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 50;
  background: #fff; border: 1px solid var(--mc-neige); border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,.16); padding: 5px; min-width: 196px; display: none;
}
.mc-cmt-wrap.is-open .mc-cmt-menu { display: block; animation: mc-ov-in .15s ease; }
.mc-cmt-menu__opt {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px;
  border: none; background: none; cursor: pointer; border-radius: 7px;
  font-family: var(--mc-body); font-weight: 300; font-size: .82rem; color: var(--mc-ink); text-align: left; white-space: nowrap;
}
.mc-cmt-menu__opt:hover { background: var(--mc-neige); }
.mc-cmt-menu__opt--danger { color: var(--mc-rouge); }
.mc-cmt-menu__opt svg { flex: 0 0 auto; }
.mc-cmt-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translateX(-50%) translateY(20px);
  background: var(--mc-ink); color: #fff; padding: 11px 18px; border-radius: 12px;
  font-weight: 300; font-size: .85rem; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.mc-cmt-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Utilisateurs bloqués (profil) */
.mc-ac-blocked { display: flex; flex-direction: column; gap: 10px; }
.mc-ac-blocked__item { display: flex; align-items: center; gap: 10px; }
.mc-ac-blocked__av { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mc-grad); }
.mc-ac-blocked__name { flex: 1 1 auto; min-width: 0; font-weight: 300; font-size: .9rem; color: var(--mc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-ac-blocked__btn {
  flex: 0 0 auto; cursor: pointer; border: 1px solid transparent; background: linear-gradient(var(--mc-neige), var(--mc-neige)) padding-box, var(--mc-grad) border-box;
  color: var(--mc-rouge); border-radius: 14px; padding: 5px 12px; font-weight: 500; font-size: .72rem;
  transition: background .18s ease, color .18s ease;
}
.mc-ac-blocked__btn:hover { background: var(--mc-grad); color: #fff; }
.mc-ac-blocked__empty { font-weight: 300; font-size: .82rem; color: #8c8c8c; margin: 0; }

/* Carte interactive en mobile : pins et bouton 360° plus petits/lisibles */
@media (max-width: 680px) {
  .mc-carte .mc-mappin { width: 30px; height: 30px; border-width: 2px; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
  .mc-carte .mc-mappin__dot { font-size: .78rem; }
  .mc-mapctrl { height: 33px; padding: 0 11px; gap: 5px; font-size: .72rem; }
  .mc-mapctrl svg { width: 15px; height: 15px; }
}

/* ===================================================================
   PAGE DESIGN SYSTEM (design-system.html)
   =================================================================== */
.mc-ds { padding-top: clamp(92px, 11vw, 130px); }
.mc-ds-head { text-align: center; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.mc-ds-head h1 { font-family: var(--mc-title); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 .6rem; line-height: 1.02; }
.mc-ds-head p { font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--mc-ink-soft); margin: 0 auto; max-width: 56ch; }

.mc-ds-sec { padding-block: clamp(2rem, 4vw, 3.4rem); border-top: 1px solid var(--mc-neige); }
.mc-ds-sec__num { font-family: monospace; font-size: .8rem; color: var(--mc-rouge); }
.mc-ds-sec__title { font-family: var(--mc-title); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 4px 0 .4rem; }
.mc-ds-sec__desc { font-weight: 300; font-size: .95rem; color: var(--mc-ink-soft); margin: 0 0 1.6rem; max-width: 62ch; }

.mc-ds-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mc-ds-swatch { border: 1px solid var(--mc-neige); border-radius: 14px; overflow: hidden; background: #fff; }
.mc-ds-swatch__c { height: 84px; border-bottom: 1px solid rgba(0,0,0,.05); }
.mc-ds-swatch__b { padding: 10px 12px; }
.mc-ds-swatch__b strong { display: block; font-weight: 500; font-size: .85rem; color: var(--mc-ink); }
.mc-ds-swatch__b code { font-family: monospace; font-size: .72rem; color: var(--mc-grey); }
.mc-ds-swatch__b small { display: block; font-family: monospace; font-size: .68rem; color: var(--mc-ink-soft); margin-top: 2px; }

.mc-ds-block { border: 1px solid var(--mc-neige); border-radius: 16px; padding: clamp(16px, 3vw, 26px); background: #fff; }
.mc-ds-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mc-ds-stack { display: flex; flex-direction: column; gap: 14px; }
.mc-ds-cap { font-family: monospace; font-size: .72rem; color: var(--mc-grey); }
.mc-ds-gradbar { height: 90px; border-radius: 14px; background-image: var(--mc-grad); }
.mc-ds-stops { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.mc-ds-stop { text-align: center; }
.mc-ds-stop i { display: block; height: 34px; border-radius: 8px; }
.mc-ds-stop code { font-family: monospace; font-size: .64rem; color: var(--mc-grey); }

.mc-ds-type__sample { line-height: 1.1; }
.mc-ds-type + .mc-ds-type { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--mc-neige); }

.mc-ds-ico { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px; }
.mc-ds-ico figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--mc-neige); border-radius: 12px; padding: 14px 6px; }
.mc-ds-ico figure svg { width: 26px; height: 26px; color: var(--mc-ink); }
.mc-ds-ico figcaption { font-size: .62rem; color: var(--mc-grey); text-align: center; }

/* ===================================================================
   WATCHPARTY PRIVÉE (watchparty-privee.html)
   =================================================================== */
.mc-wpp-banner {
  display: flex; gap: 14px; align-items: center; margin-bottom: 20px;
  border: 2px solid transparent; border-radius: 16px; padding: 14px 18px;
  background: var(--mc-paper) padding-box, var(--mc-grad) border-box;
}
.mc-wpp-banner__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background-image: var(--mc-grad); }
.mc-wpp-banner strong { display: block; font-family: var(--mc-title); font-weight: 500; font-size: 1.05rem; color: var(--mc-ink); }
.mc-wpp-banner > div span { font-weight: 300; font-size: .85rem; color: var(--mc-ink-soft); }

.mc-live__badge--prv { background: rgba(16,24,86,.85); }

.mc-wpp-invite { background: #101856; color: #fff; border-radius: 18px; padding: clamp(18px, 3vw, 26px); }
.mc-wpp-invite__title { font-family: var(--mc-title); font-weight: 500; font-size: 1.25rem; margin: 0 0 4px; }
.mc-wpp-invite__sub { font-weight: 300; font-size: .85rem; color: var(--mc-neige); margin: 0 0 16px; }
.mc-wpp-link { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-wpp-link__input { flex: 1 1 220px; min-width: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 10px; padding: 11px 14px; font-family: var(--mc-body); font-size: .9rem; }
.mc-wpp-link__btn { flex: 0 0 auto; border: none; cursor: pointer; border-radius: 10px; padding: 11px 18px; font-weight: 600; color: #fff; background-image: var(--mc-grad); font-family: var(--mc-body); transition: filter .15s ease; }
.mc-wpp-link__btn:hover { filter: brightness(1.08); }
.mc-wpp-friends__title { font-family: var(--mc-title); font-weight: 500; font-size: 1rem; margin: 22px 0 10px; }
.mc-wpp-friends__title span { color: var(--mc-jaune); }
.mc-wpp-friends { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mc-wpp-friend { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 9px 12px; }
.mc-wpp-friend__av { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background-image: var(--mc-grad); }
.mc-wpp-friend__name { font-weight: 500; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.mc-wpp-friend__host { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: rgba(255,255,255,.18); padding: 2px 7px; border-radius: 20px; }
.mc-wpp-friend__on { margin-left: auto; font-size: .72rem; color: #76bc6b; white-space: nowrap; }
.mc-wpp-friend__on--away { color: var(--mc-jaune); }

/* ===================================================================
   IMPRESSION / EXPORT PDF
   =================================================================== */
@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .mc-navwrap, .mc-drawer, .mc-drawer-scrim, .mc-nav__burger { display: none !important; }
  body { background: #fff !important; }
  .mc-ds { padding-top: 8px !important; }
  .mc-ds-sec { break-inside: avoid; page-break-inside: avoid; }
  .mc-ds-swatch, .mc-ds-block, .mc-ds-ico figure, .mc-cf-stat, .mc-ac-panel { break-inside: avoid; page-break-inside: avoid; }
  .mc-footer { break-before: page; }
}

/* ===================================================================
   PAGE CRÉDITS (credits.html)
   =================================================================== */
.mc-cr { padding-top: clamp(92px, 11vw, 130px); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.mc-cr-head { text-align: center; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.mc-cr-head h1 { font-family: var(--mc-title); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); margin: 0 0 .6rem; }
.mc-cr-head p { font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--mc-ink-soft); margin: 0 auto; max-width: 54ch; }
.mc-cr-sec { padding-block: clamp(1.6rem, 3.5vw, 2.6rem); border-top: 1px solid var(--mc-neige); }
.mc-cr-sec__title { font-family: var(--mc-title); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0 0 .3rem; }
.mc-cr-sec__by { font-weight: 300; font-size: .95rem; color: var(--mc-ink-soft); margin: 0 0 1.4rem; }
.mc-cr-sec__by strong { font-weight: 600; color: var(--mc-ink); }
.mc-cr-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mc-cr-row {
  border: 1px solid transparent; border-radius: 14px; padding: 14px 16px;
  background: var(--mc-paper) padding-box, var(--mc-grad) border-box;
}
.mc-cr-row dt { font-family: var(--mc-title); font-weight: 500; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mc-grey); margin: 0 0 4px; }
.mc-cr-row dd { margin: 0; font-weight: 500; font-size: 1rem; color: var(--mc-ink); }
.mc-cr-row dd small { display: block; font-weight: 300; font-size: .82rem; color: var(--mc-ink-soft); margin-top: 2px; }
.mc-cr-note { font-weight: 300; font-size: .9rem; line-height: 1.6; color: var(--mc-ink-soft); max-width: 70ch; }
.mc-cr-note + .mc-cr-note { margin-top: .8rem; }
