/* ==========================================================
   Maximus Cup Tour — thème Grav
   Palette tirée de l'affiche : bleu nuit, bleu vif, bleu ciel, rouge.
   ========================================================== */

@font-face { font-family: "Anton"; src: url("../fonts/anton-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/permanentmarker-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --navy: #071437;
  --navy-deep: #040c24;
  --card: #0c1f57;
  --card-hi: #123a9e;
  --blue: #2b55e0;
  --blue-vif: #1d4fd6;
  --sky: #5eaee6;
  --pale: #8fc4ff;
  --txt: #ffffff;
  --txt-2: #c9d7f5;
  --txt-3: #dbe7ff;
  --muted: #a9cdf5;
  --red: #e0101b;
  --f-display: "Permanent Marker", "Comic Sans MS", cursive;
  --f-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--navy); color: var(--txt); font-family: var(--f-body); font-size: 17px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--pale); }
a:hover { color: #fff; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: var(--header-h); }
.mx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mx-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 6px; }
.mx-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pale); outline-offset: 3px; }

.mx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mx-bg-fond { background-image: linear-gradient(180deg, rgba(7,20,55,.35) 0%, rgba(7,20,55,.75) 70%, var(--navy) 100%), url("../images/fond.webp"); background-size: cover; background-position: center; }
.mx-bg-grain { background-image: linear-gradient(180deg, rgba(7,20,55,.82), rgba(7,20,55,.92)), url("../images/fond.webp"); background-size: cover; background-position: center 30%; }
.mx-sec { padding: 72px 0; }

/* ---------- typographie ---------- */
.mx-eyebrow { font-family: var(--f-cond); font-weight: 700; color: var(--pale); letter-spacing: .12em; text-transform: uppercase; font-size: 16px; }
.mx-eyebrow--sm { font-size: 14px; letter-spacing: .1em; }
.mx-eyebrow--dark { color: #3a4a78; }
.mx-eyebrow--live { display: inline-flex; align-items: center; gap: 10px; }
.mx-h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 9vw, 128px); line-height: .95; transform: rotate(-3deg); transform-origin: left; text-shadow: 0 6px 0 rgba(0,0,0,.25); }
.mx-h2 { margin: 6px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; transform: rotate(-2deg); transform-origin: left; }
.mx-lead { margin: 14px 0 0; color: var(--txt-2); font-size: 18px; }
.mx-lead strong { color: #fff; }
@media (min-width: 1100px) { .mx-nowrap { white-space: nowrap; } #tournee .mx-lead { white-space: nowrap; } }

/* ---------- boutons ---------- */
.mx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 6px; border: 2px solid transparent; font-family: var(--f-cond); font-weight: 700; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1.1; transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.mx-btn:hover { transform: translateY(-2px); }
.mx-btn--red { background: var(--red); color: #fff; }
.mx-btn--red:hover { color: #fff; background: #c40d17; }
.mx-btn--white { background: #fff; color: #0b2a8a; }
.mx-btn--white:hover { color: #0b2a8a; }
.mx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.mx-btn--link { background: none; color: #fff; padding-left: 8px; padding-right: 8px; }
.mx-btn--sm { font-size: 15px; min-height: 40px; padding: 7px 12px; }

/* phases : avant / après la tournée */
.mx-only-over { display: none !important; }
.is-over .mx-only-over { display: inline-flex !important; }
.is-over span.mx-only-over { display: inline !important; }
.is-over .mx-only-before { display: none !important; }

/* ---------- pastilles ---------- */
.mx-pill { background: #fff; border-radius: 7px; padding: 6px 10px; display: inline-flex; align-items: center; }
.mx-pill img { height: 30px; width: auto; display: block; }
.mx-pill--big { border-radius: 10px; padding: 10px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.mx-pill--big img { height: 48px; }
.mx-tag-white { background: #fff; color: #0b2a8a; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; transform: rotate(-3deg); display: inline-block; }
.mx-chip { display: inline-block; white-space: nowrap; font-family: var(--f-cond); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 2px solid rgba(201,215,245,.5); color: var(--txt-2); }
.mx-chip.is-next { background: var(--blue); border-color: var(--blue); color: #fff; }
.mx-chip.is-live { background: var(--pale); border-color: var(--pale); color: var(--navy); }
.mx-chip.is-terminee { background: rgba(255,255,255,.08); border-color: transparent; color: #9fb0d6; }
.mx-chip.is-alert { background: #fff; border-color: #fff; color: #0b2a8a; }
.mx-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pale); display: inline-block; animation: mxpulse 1.6s infinite; flex: 0 0 auto; }
@keyframes mxpulse { 0% { box-shadow: 0 0 0 0 rgba(143,196,255,.8); } 70% { box-shadow: 0 0 0 10px rgba(143,196,255,0); } 100% { box-shadow: 0 0 0 0 rgba(143,196,255,0); } }

/* ---------- bandeau en direct ---------- */
.mx-live-banner { background: linear-gradient(90deg, var(--blue-vif), #2b6ef0, var(--blue-vif)); color: #fff; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; font-family: var(--f-cond); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.mx-live-banner .mx-dot { background: #fff; }
.mx-live-banner__btn { background: #fff; color: var(--blue-vif); border: 0; border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 15px; cursor: pointer; min-height: 36px; }

/* ---------- en-tête ---------- */
.mx-header { position: sticky; top: 0; z-index: 30; background: rgba(7,20,55,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(94,174,230,.25); }
.mx-header__in { max-width: var(--wrap); margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 28px; }
.mx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mx-brand > img { height: 52px; width: auto; display: block; }
.mx-brand__x { color: var(--pale); font-family: var(--f-cond); font-weight: 700; font-size: 18px; }
.mx-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1 1 auto; align-items: center; font-family: var(--f-cond); font-weight: 700; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.mx-nav a { color: #b9c9ee; text-decoration: none; padding: 10px 0; }
.mx-nav a:hover { color: #fff; }
.mx-header__cta { display: flex; gap: 8px; }
@media (max-width: 1080px) {
  .mx-nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; gap: 22px; font-size: 17px; white-space: nowrap; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .mx-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) { .mx-brand > img { height: 44px; } .mx-pill img { height: 24px; } .mx-header__cta .mx-btn { font-size: 16px; padding: 8px 12px; } }

/* ---------- ordre des sections ---------- */
.mx-main { display: flex; flex-direction: column; }
.mx-sec-top { order: 0; }
.mx-sec-tournee { order: 1; }
#concept { order: 2; }
#animations { order: 3; }
.mx-sec-finale { order: 4; }
#faq { order: 5; }
.is-over .mx-sec-finale { order: 1; }
.is-over .mx-sec-tournee { order: 2; }

/* ---------- haut de page ---------- */
.mx-hero { padding: 48px 0 64px; }
.mx-hero__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.mx-hero__txt { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.mx-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mx-hero__intro { max-width: 580px; font-size: 19px; color: var(--txt-3); }
.mx-hero__intro p { margin: 0 0 1em; }
.mx-hero__intro p:last-child { margin-bottom: 0; }
.mx-hero__intro strong { color: #fff; }
.mx-hero__logo { flex: 1 1 320px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mx-hero__logo > img { width: 100%; max-width: 460px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.mx-hero__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.mx-hero__by .mx-eyebrow { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .mx-hero__logo > img { max-width: 280px; } }

.mx-brushband { align-self: flex-start; padding: 14px 40px 16px 28px; transform: rotate(-2deg); background: url("../images/brush-a.webp") center / 100% 100% no-repeat; }
.mx-brushband > span { font-family: var(--f-display); font-size: clamp(22px, 3vw, 34px); line-height: 1.1; }
.mx-brushband--c { background-image: url("../images/brush-c.webp"); padding: 10px 32px 12px 20px; transform: rotate(-1.5deg); }
.mx-brushband--c > span { font-family: var(--f-title); font-size: clamp(18px, 2.4vw, 26px); text-transform: uppercase; }

/* compte à rebours */
.mx-cd { background: rgba(7,20,55,.82); border: 2px solid var(--blue); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; max-width: 620px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.mx-cd__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.mx-cd__date { font-family: var(--f-cond); font-weight: 600; color: var(--txt-3); }
.mx-cd__ville { font-family: var(--f-title); font-size: 40px; line-height: 1; text-transform: uppercase; margin-top: 6px; }
.mx-cd__finale { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.mx-cd__finale img { width: 54px; filter: drop-shadow(0 0 12px rgba(143,196,255,.8)); }
.mx-cd__finale span { font-family: var(--f-display); font-size: clamp(38px, 5vw, 56px); line-height: 1; transform: rotate(-2deg); }
.mx-cd__sub { font-family: var(--f-title); font-size: 24px; text-transform: uppercase; line-height: 1.1; margin-top: 8px; }
.mx-cd__grid, .mx-finale__cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mx-cd__grid > div, .mx-finale__cd > div { background: var(--card); border-radius: 10px; padding: 10px 6px 8px; text-align: center; }
.mx-cd__grid b, .mx-finale__cd b { display: block; font-family: var(--f-title); font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1; }
.mx-cd__grid i, .mx-finale__cd i { font-style: normal; font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); }
.mx-cd__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- tournée : liste + carte ---------- */
.mx-tour { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 32px; }
.mx-list { flex: 1.4 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 2px solid rgba(255,255,255,.22); }
.mx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.12); border-left: 4px solid transparent; transition: background-color .15s ease; }
.mx-row.is-next { border-left-color: var(--sky); background: rgba(43,85,224,.2); }
.mx-row.is-live { border-left-color: var(--pale); background: rgba(43,85,224,.32); }
.mx-row.is-hover { border-left-color: #fff; background: rgba(43,85,224,.45); }
.mx-row.is-terminee { opacity: .55; }
.mx-row__date { flex: 0 0 96px; display: flex; align-items: baseline; gap: 6px; }
.mx-row__date b { font-family: var(--f-title); font-weight: 400; font-size: 34px; line-height: 1; }
.mx-row__date span { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--pale); line-height: 1.1; font-size: 14px; }
.mx-row__name { flex: 1 1 200px; min-width: 0; background: none; border: 0; padding: 0; color: #fff; text-align: left; cursor: pointer; min-height: 44px; font: inherit; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.mx-row__ville { font-family: var(--f-title); font-size: 23px; text-transform: uppercase; line-height: 1.1; }
.mx-row__lieu { flex: 1 1 100%; color: var(--txt-2); font-size: 14px; line-height: 1.35; }
.mx-row__btns { display: flex; gap: 6px; flex: 0 0 auto; }
.mx-row.is-terminee [data-mx-inscr], .mx-row.is-annule [data-mx-inscr], .mx-row.is-complet [data-mx-inscr] { display: none; }

.mx-map { flex: 1 1 380px; min-width: 0; position: relative; height: 560px; background: var(--card); border-radius: 18px; overflow: hidden; border: 2px solid rgba(94,174,230,.35); }
@media (min-width: 1000px) { .mx-map { position: sticky; top: calc(var(--header-h) + 16px); } }
@media (max-width: 760px) { .mx-map { height: 380px; } }
.mx-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mx-map__zone { fill: rgba(43,85,224,.22); stroke: rgba(143,196,255,.45); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mx-map__route { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.mx-map__hint { position: absolute; left: 16px; bottom: 12px; font-size: 13px; color: var(--muted); }
.mx-pin { position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; background: var(--blue); color: #fff; cursor: pointer; padding: 0; font-family: var(--f-title); font-size: 17px; transition: transform .15s ease; z-index: 2; }
.mx-pin.is-next, .mx-pin.is-live { background: var(--sky); color: var(--navy); box-shadow: 0 0 0 7px rgba(94,174,230,.35); }
.mx-pin.is-terminee { background: #4a5a86; }
.mx-pin.is-hover { background: #fff; color: #0b2a8a; transform: translate(-50%, -50%) scale(1.3); z-index: 3; box-shadow: 0 0 0 7px rgba(94,174,230,.35); }
.mx-tip { position: absolute; z-index: 5; pointer-events: none; width: 250px; background: #fff; color: var(--navy); border-radius: 12px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(0,0,0,.45); transform: translate(-50%, calc(-100% - 30px)); }
.mx-tip.is-below { transform: translate(-50%, 30px); }
.mx-tip__e { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-size: 13px; }
.mx-tip__v { font-family: var(--f-title); font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.mx-tip__l { font-size: 14px; line-height: 1.35; color: #24335f; }
.mx-tip__s { margin-top: 6px; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--blue); }

/* ---------- concept ---------- */
.mx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.mx-step { background: var(--card); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--blue); }
.mx-step:nth-child(2) { border-top-color: var(--sky); }
.mx-step:nth-child(3) { border-top-color: #fff; }
.mx-step h3, .mx-card h3 { margin: 0; font-family: var(--f-title); font-weight: 400; font-size: 28px; text-transform: uppercase; line-height: 1.05; }
.mx-step p, .mx-card p { margin: 0; color: var(--txt-2); }

/* ---------- animations ---------- */
.mx-anim { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.mx-anim__head { flex: 1 1 300px; }
.mx-anim__grid { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mx-card { background: var(--card); border: 2px solid rgba(94,174,230,.25); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, border-color .2s ease; }
.mx-card:hover { transform: translateY(-4px); border-color: var(--sky); }
.mx-card h3 { font-size: 24px; }
.mx-card p { font-size: 15px; }

/* ---------- finale ---------- */
.mx-finale { padding: 200px 20px 90px; }
.mx-finale__card { position: relative; max-width: 1000px; margin: 0 auto; background: linear-gradient(160deg, #1d4fd6 0%, #123a9e 45%, var(--card) 100%); border: 3px solid var(--pale); border-radius: 26px; padding: 0 32px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; box-shadow: 0 0 0 8px rgba(43,85,224,.25), 0 30px 80px rgba(0,0,0,.5); }
.mx-finale__top { margin-top: calc(-82px - clamp(32px, 6vw, 80px)); display: flex; flex-direction: column; align-items: center; }
.mx-finale__crown { width: 96px; margin-bottom: -14px; filter: drop-shadow(0 0 20px rgba(143,196,255,.9)); }
.mx-finale__title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 12vw, 160px); line-height: 1; transform: rotate(-3deg); text-shadow: 0 10px 28px rgba(7,20,55,.45); }
.mx-ribbon { background: var(--red); color: #fff; font-family: var(--f-cond); font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .1em; text-transform: uppercase; padding: 8px clamp(20px, 3vw, 34px); transform: rotate(-1deg); clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
.mx-finale__txt { margin: 0; max-width: 640px; font-size: 19px; color: var(--txt-3); }
.mx-finale__cd { width: 100%; max-width: 560px; }
.mx-finale__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; }
.mx-finale__stats > div { background: rgba(7,20,55,.6); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 2px solid transparent; }
.mx-finale__stats b { font-family: var(--f-title); font-weight: 400; font-size: 44px; line-height: 1; color: var(--pale); }
.mx-finale__stats span { font-family: var(--f-cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mx-finale__stats .is-accent { background: linear-gradient(160deg, #3b6cf0, var(--blue)); border-color: var(--pale); box-shadow: 0 0 24px rgba(94,174,230,.35); }
.mx-finale__stats .is-accent b { color: #fff; }

/* ---------- FAQ & contact ---------- */
.mx-faq { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.mx-faq__list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mx-faq__list .mx-h2 { margin-bottom: 10px; }
.mx-qa { background: var(--card); border-radius: 12px; overflow: hidden; }
.mx-qa summary { list-style: none; cursor: pointer; padding: 16px 20px; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 18px; }
.mx-qa summary::-webkit-details-marker { display: none; }
.mx-qa summary::after { content: "+"; font-family: var(--f-title); font-size: 24px; color: var(--pale); }
.mx-qa[open] summary::after { content: "–"; }
.mx-qa__a { padding: 0 20px 18px; color: var(--txt-2); }
.mx-qa__a p { margin: 0; }
.mx-contact { flex: 1 1 320px; background: var(--card); border: 2px solid var(--blue); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mx-contact h2 { margin: 0; font-family: var(--f-title); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.mx-contact p { margin: 0; color: var(--txt-2); }
.mx-contact__links { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 700; }

/* ---------- partenaires & pied de page ---------- */
.mx-partners { background: #fff; color: var(--navy); padding: 40px 0; }
.mx-partners__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; }
.mx-partners__ssdh { height: 44px; width: auto; }
.mx-partners__logo { max-height: 56px; width: auto; }
.mx-footer { background: var(--navy-deep); padding: 36px 0 40px; }
.mx-footer__in { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.mx-footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.mx-footer__logos > img:first-child { height: 64px; width: auto; }
.mx-footer__logos > img:last-child { height: 38px; width: auto; }
.mx-footer__sep { width: 1px; height: 44px; background: rgba(255,255,255,.2); }
.mx-footer__links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .mx-footer__sep { display: none; } .mx-footer { padding-bottom: 96px; } }

/* ---------- barre mobile ---------- */
.mx-sticky { display: none; }
@media (max-width: 760px) {
  .mx-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(7,20,55,.97); border-top: 2px solid var(--blue); padding: 10px 14px; gap: 10px; align-items: center; justify-content: space-between; }
  .mx-sticky__lbl { color: #fff; text-decoration: none; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; line-height: 1.1; font-size: 15px; }
}

/* ---------- popup étape ---------- */
.mx-modal { position: fixed; inset: 0; z-index: 60; }
.mx-modal__bg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,8,26,.72); cursor: pointer; }
.mx-sheet { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; background: #0a1a4a; border: 2px solid var(--blue); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 18px; }
.mx-sheet > * { flex-shrink: 0; }
.mx-sheet:focus { outline: none; }
.mx-sheet__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mx-close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mx-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -4px; scrollbar-width: thin; }
.mx-tab { position: relative; flex: 0 0 auto; min-width: 92px; min-height: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; border-radius: 10px; cursor: pointer; text-align: left; color: #fff; background: var(--card); border: 2px solid rgba(94,174,230,.25); font: inherit; }
.mx-tab b { font-family: var(--f-title); font-weight: 400; font-size: 20px; line-height: 1; }
.mx-tab i { font-style: normal; font-family: var(--f-cond); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.mx-tab span { font-size: 13px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.mx-tab.is-next { border-color: var(--sky); }
.mx-tab.is-terminee { opacity: .5; }
.mx-tab.is-live::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--pale); }
.mx-tab[aria-current="true"] { background: #fff; color: #0b2a8a; border-color: #fff; opacity: 1; }
.mx-sheet__ville { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 7vw, 68px); line-height: 1; transform: rotate(-2deg); transform-origin: left; }
.mx-sheet__cols { display: flex; flex-wrap: wrap; gap: 18px; }
.mx-sheet__cols > div { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; color: var(--txt-2); }
.mx-sheet__cols strong { color: #fff; font-size: 18px; }
.mx-sheet__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mx-sheet__nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; }
.mx-sheet__nav button { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px 0; min-height: 44px; text-align: left; font: inherit; }
.mx-sheet__nav button + button { text-align: right; margin-left: auto; }
.mx-sheet__nav i { display: block; font-style: normal; font-family: var(--f-cond); font-weight: 700; color: var(--pale); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.mx-sheet__nav span { font-family: var(--f-title); font-size: 19px; text-transform: uppercase; }
.mx-sheet [data-s="inscr"][hidden] { display: none; }
@media (max-width: 760px) {
  .mx-sheet { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 88vh; border-radius: 18px 18px 0 0; }
}
body.mx-modal-open { overflow: hidden; }

/* ---------- pages de texte ---------- */
.mx-text-page { min-height: 60vh; }
.mx-prose { max-width: 820px; }
.mx-prose h2, .mx-prose h3 { font-family: var(--f-title); font-weight: 400; text-transform: uppercase; margin: 32px 0 8px; }
.mx-prose p, .mx-prose li { color: var(--txt-2); }
.mx-back { display: inline-block; margin-bottom: 18px; font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.mx-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mx-404 .mx-h2 { transform: rotate(-2deg); transform-origin: center; }
.mx-contact .mx-btn, .mx-cd__btns .mx-btn { white-space: normal; text-align: center; }
.mx-finale__title { white-space: nowrap; font-size: clamp(52px, 13vw, 160px); }
@media (max-width: 760px) {
  .mx-header__in { column-gap: 10px; }
  .mx-brand { gap: 8px; }
  .mx-finale { padding-top: 170px; }
  .mx-finale__card { padding: 0 18px 30px; }
}
@media (max-width: 480px) {
  .mx-brand > img { height: 40px; }
  .mx-brand__x { display: none; }
  .mx-pill img { height: 20px; }
  .mx-pill { padding: 5px 8px; }
  .mx-header__cta .mx-btn { font-size: 15px; padding: 8px 10px; min-height: 40px; }
}

/* ---------- menu hamburger (mobile) ---------- */
.mx-burger { display: none; }
@media (max-width: 760px) {
  .mx-header__in { flex-wrap: wrap; }
  .mx-brand { order: 0; margin-right: auto; }
  .mx-header__cta { order: 1; }
  .mx-burger { order: 2; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 2px solid rgba(255,255,255,.35); border-radius: 8px; background: transparent; cursor: pointer; }
  .mx-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .mx-header.is-open .mx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mx-header.is-open .mx-burger span:nth-child(2) { opacity: 0; }
  .mx-header.is-open .mx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mx-nav { order: 3; display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0; overflow: visible; white-space: normal; -webkit-mask-image: none; mask-image: none; padding: 6px 0 10px; font-size: 22px; }
  .mx-header.is-open .mx-nav { display: flex; }
  .mx-nav a { padding: 12px 4px; border-top: 1px solid rgba(255,255,255,.1); color: #fff; }
  .is-over .mx-nav a.mx-only-over { display: block !important; }
}
@media (max-width: 480px) {
  .mx-header__cta .mx-btn > span[aria-hidden] { display: none; }
  .mx-header__cta .mx-btn { padding: 8px 9px; font-size: 14px; }
  .mx-burger { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .mx-header__in { padding-left: 14px; padding-right: 14px; column-gap: 8px; }
  .mx-brand > img { height: 36px; }
  .mx-pill img { height: 17px; }
  .mx-pill { padding: 4px 6px; }
}

/* ---------- finale : hosts ---------- */
.mx-hosts { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 4px; }
.mx-hosts__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 3vw, 40px); width: 100%; }
.mx-host { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 1 var(--host, 200px); min-width: 0; --host: clamp(104px, 26vw, 200px); }
.mx-host__frame { position: relative; display: block; width: var(--host); height: var(--host); border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #5eaee6 0%, #2b55e0 55%, #123a9e 100%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.85), 0 18px 36px rgba(0,0,0,.45); }
.mx-host__frame img { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); height: 112%; width: auto; max-width: none; }
.mx-host b { font-family: var(--f-title); font-weight: 400; font-size: clamp(20px, 2.6vw, 30px); text-transform: uppercase; line-height: 1; margin-top: 8px; }
.mx-host i { font-style: normal; font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pale); }

/* ---------- finale : programme ---------- */
.mx-prog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.mx-prog__item { background: rgba(7,20,55,.6); border: 2px solid rgba(143,196,255,.25); border-radius: 14px; padding: 16px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.mx-prog__item b { font-family: var(--f-title); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; text-transform: uppercase; color: #fff; }
.mx-prog__sur { font-family: var(--f-cond); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pale); }
.mx-prog__txt { font-size: 15px; color: var(--txt-3); }
.mx-prog__item.is-main { grid-column: 1 / -1; background: linear-gradient(160deg, #3b6cf0, var(--blue)); border-color: var(--pale); box-shadow: 0 0 28px rgba(94,174,230,.35); padding: 22px 18px; gap: 6px; }
.mx-prog__item.is-main b { font-size: clamp(40px, 5vw, 64px); }
.mx-prog__item.is-main .mx-prog__sur { color: #fff; font-size: 15px; }
.mx-prog__item.is-main .mx-prog__txt { font-size: 17px; max-width: 560px; }
.mx-prog__item.is-accent { border-color: var(--sky); }
.mx-prog__item.is-accent b { color: var(--pale); }
@media (max-width: 640px) {
  .mx-prog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-prog__item { padding: 12px 8px; }
  .mx-prog__item b { font-size: 20px; }
  .mx-prog__item.is-accent { grid-column: 1 / -1; }
}

/* ---------- finale : retouches v0.2.2 ---------- */
.mx-host__frame { box-shadow: 0 18px 36px rgba(0,0,0,.45); }
.mx-host__frame::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; pointer-events: none; z-index: 2; }
.mx-host__frame img { height: 104%; bottom: -1%; }
.mx-finale__txt { max-width: 800px; text-wrap: pretty; }
.mx-prog__item.is-main { position: relative; overflow: hidden; background: linear-gradient(120deg, rgba(29,79,214,.92), rgba(18,58,158,.92)), url("../images/fond.webp") center / cover; border: 3px solid var(--pale); box-shadow: 0 0 0 6px rgba(43,85,224,.25), 0 20px 50px rgba(0,0,0,.45); padding: 26px 18px 28px; gap: 10px; }
.mx-prog__item.is-main::before, .mx-prog__item.is-main::after { content: ""; position: absolute; top: 50%; width: 110px; height: 76px; background: url("../images/couronne.webp") center / contain no-repeat; opacity: .28; transform: translateY(-50%); pointer-events: none; }
.mx-prog__item.is-main::before { left: 18px; }
.mx-prog__item.is-main::after { right: 18px; }
.mx-prog__item.is-main .mx-prog__sur { position: relative; font-family: var(--f-display); font-size: clamp(20px, 2.6vw, 30px); letter-spacing: 0; text-transform: none; color: #fff; padding: 10px 34px 12px 26px; background: url("../images/brush-c.webp") center / 100% 100% no-repeat; transform: rotate(-2deg); }
.mx-prog__item.is-main b { position: relative; font-size: clamp(56px, 8vw, 110px); line-height: .95; text-shadow: 0 6px 0 rgba(7,20,55,.45), 0 0 40px rgba(94,174,230,.6); }
.mx-prog__item.is-main .mx-prog__txt { position: relative; font-size: 18px; color: #fff; max-width: 620px; }
@media (max-width: 640px) { .mx-prog__item.is-main::before, .mx-prog__item.is-main::after { display: none; } .mx-prog__item.is-main b { font-size: clamp(48px, 15vw, 64px); } }
