/* ================= Prototype 3 : MF Group SA, une couverture et deux sites séparés (17 novembre 2026) ================= */

/* ---------- Couverture : deux panneaux, celui qu'on survole s'agrandit ---------- */
.p-index main { background: var(--noir); }
.top--cover { justify-content: space-between; background: transparent !important; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
.top--cover > * { pointer-events: auto; }
.top--cover .lang { margin: 0; padding: 0; border: 0; }
/* Couverture : le logo MF Group SA en blanc (le fichier reste doré pour les autres pages) */
.top--cover .top__brand img { filter: brightness(0) invert(1); }
.top--cover .lang__menu { top: calc(100% + 10px); right: 0; left: auto; }

.cover { position: relative; min-height: 100svh; display: grid; }
.cover__intro { position: absolute; z-index: 2; top: clamp(92px, 11vh, 120px); left: 50%; translate: -50% 0; width: min(640px, calc(100% - 2 * var(--gut))); text-align: center; pointer-events: none; }
.cover__intro h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); color: var(--blanc); text-transform: uppercase; filter: drop-shadow(0 2px 18px rgb(0 0 0 / .9)); }
.cover__intro p { margin-top: 12px; color: rgb(var(--sur-rgb) / .82); font-size: 1.0625rem; text-shadow: 0 1px 12px rgb(0 0 0 / .9); }

.cover__poles { display: flex; min-height: 100svh; }
.pole { position: relative; flex: 1 1 0; display: flex; align-items: flex-end; min-width: 0; overflow: hidden; color: var(--blanc); text-decoration: none; isolation: isolate; transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1); }
.pole + .pole { border-left: 1px solid rgb(var(--sur-rgb) / .14); }
.pole__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.42) contrast(1.05); transform: scale(1.04); transition: filter .7s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.pole::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / .2) 55%, rgb(0 0 0 / .88) 100%); }
.pole__body { display: grid; justify-items: start; gap: 12px; width: 100%; max-width: 560px; padding: 0 clamp(24px, 4vw, 64px) clamp(40px, 7vh, 80px); }
.pole__logo .logo-img { width: auto; height: clamp(56px, 6vw, 84px); margin-bottom: 8px; }
.pole__eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); }
.pole__name { font: 600 clamp(2.6rem, 5vw, 4.8rem)/.92 var(--display); text-transform: uppercase; background: var(--or-metal, var(--or-texte)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pole__text { max-width: 38ch; color: rgb(var(--sur-rgb) / .84); font-size: 1.0625rem; }
.pole__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 700; color: #0a0a0a; background: var(--or-metal, var(--or)); }
.pole__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.pole:focus-visible { outline: 3px solid var(--or-clair); outline-offset: -6px; }

@media (hover: hover) and (min-width: 821px) {
  .cover__poles:hover .pole { flex-grow: .8; }
  .cover__poles .pole:hover { flex-grow: 1.35; }
  .pole:hover .pole__photo { filter: grayscale(.15) brightness(.62) contrast(1.05); transform: scale(1); }
  .pole:hover .pole__go svg { transform: translateX(4px); }
  .pole:not(:hover) .pole__text { opacity: .8; }
}
.pole:focus-visible .pole__photo { filter: grayscale(.15) brightness(.62); }

/* Téléphone : tout tient aussi dans un écran. Le titre en haut, les deux panneaux se partagent le reste, le pied se pose sur le dégradé du bas */
@media (max-width: 820px) {
  .cover { display: block; height: 100svh; min-height: 560px; }
  /* Le titre se pose sur la photo du premier panneau, comme sur ordinateur, sans bande noire au-dessus */
  .cover__intro { top: 82px; width: calc(100% - 2 * var(--gut)); }
  .cover__intro h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cover__intro p { margin-top: 6px; font-size: .9375rem; }
  .cover__poles { height: 100%; flex-direction: column; min-height: 0; }
  .pole { flex: 1 1 0; min-height: 0; }
  .pole--sport::after { background: linear-gradient(180deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .35) 28%, rgb(0 0 0 / .2) 50%, rgb(0 0 0 / .85) 100%); }
  .pole + .pole { border-left: 0; border-top: 1px solid rgb(var(--sur-rgb) / .14); }
  .pole__photo { filter: grayscale(.35) brightness(.5); }
  .pole::after { background: linear-gradient(180deg, rgb(0 0 0 / .1) 0%, rgb(0 0 0 / .25) 40%, rgb(0 0 0 / .85) 100%); }
  .pole__body { grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; max-width: none; padding: 0 var(--gut) 20px; }
  .pole__logo { grid-row: 1 / 3; }
  .pole__logo .logo-img { height: 56px; margin: 0; }
  .pole__eyebrow { font-size: .6875rem; letter-spacing: .06em; align-self: end; }
  .pole__name { font-size: clamp(1.9rem, 8.6vw, 2.5rem); align-self: start; }
  .pole__text { display: none; }
  .pole__go { grid-column: 1 / -1; margin-top: 10px; padding: 10px 18px; font-size: .9375rem; }
  .pole--productions .pole__body { padding-bottom: 92px; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .cover__intro p { display: none; }
  .pole__go { margin-top: 6px; padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { .pole, .pole__photo, .pole__go svg { transition: none; } }

/* Pied de la couverture : une seule ligne posée en bas des panneaux, sur un dégradé, pour que tout tienne dans l'écran sans défiler */
.p-index { position: relative; }
.foot--cover { position: absolute; inset: auto 0 0; z-index: 3; display: block; padding: 72px var(--gut) 22px; border-top: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .55) 45%, rgb(0 0 0 / .85) 100%); }
.foot--cover .foot__legal { padding-top: 0; border-top: 0; font-size: .875rem; }
.foot--cover a { pointer-events: auto; }
@media (min-width: 821px) { .p-index .pole__body { padding-bottom: calc(clamp(40px, 7vh, 80px) + 40px); } }
@media (max-width: 820px) {
  .foot--cover { padding: 28px var(--gut) 14px; }
  .foot--cover .foot__legal { flex-wrap: wrap; gap: 2px 14px; font-size: .75rem; }
  .foot--cover .foot__credit { flex-basis: 100%; margin-left: 0; }
}

/* ---------- En-tête des deux sites : lien vers l'autre société ---------- */
.top__switch { display: inline-flex; align-items: center; gap: 6px; color: rgb(var(--sur-rgb) / .72); }
.top__switch-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.top__nav a.top__switch:hover { color: var(--blanc); }
@media (min-width: 1081px) { .top__switch { margin-left: 4px; padding-left: 22px !important; border-left: 1px solid rgb(var(--sur-rgb) / .3); } }
@media (max-width: 1080px) {
  .top__switch { margin-top: 18px; font: 600 1.25rem var(--text) !important; }
  .top--cover .lang__btn { padding-left: 10px; font-size: 1rem; }
}

/* Pied des deux sites : rattachement au groupe */
.foot__groupe { color: rgb(var(--sur-rgb) / .78); text-decoration-color: rgb(var(--sur-rgb) / .35); text-underline-offset: 4px; }
.foot__groupe:hover { color: var(--blanc); }

/* ---------- Passage de la couverture à un secteur (site.js ajoute .is-leaving et .is-chosen) ---------- */
.is-leaving { cursor: progress; }
.is-leaving .pole { flex-grow: .0001 !important; transition: flex-grow .8s cubic-bezier(.7, 0, .2, 1); }
.is-leaving .pole.is-chosen { flex-grow: 1 !important; }
.is-leaving .pole + .pole { border-color: transparent; }
.is-leaving .pole.is-chosen .pole__photo { filter: none; transform: scale(1); transition: filter .8s, transform .8s cubic-bezier(.7, 0, .2, 1); }
.is-leaving .pole.is-chosen::after { opacity: .55; transition: opacity .8s; }
.is-leaving .pole__body, .is-leaving .cover__intro, .is-leaving .foot--cover, .is-leaving .top--cover .lang {
  opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
.is-leaving .pole.is-chosen .pole__body { transition-delay: .05s; }
.pole__body, .cover__intro, .foot--cover { transition: opacity .3s, transform .3s; }


/* ---------- Sport Events : les rubriques du site actuel (prestations, mission, méthodologie, engagements, événements) ---------- */
.presente__sous { margin-top: 14px; font: 600 clamp(1.2rem, 1.8vw, 1.6rem)/1.15 var(--display); color: var(--or-texte); text-transform: uppercase; letter-spacing: .02em; }
.presente--alt { background-color: var(--noir-2); }
.presente__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 4px 0 6px; }
.presente__liste li { padding: 12px 0 0; border-top: 1px solid var(--or); font: 600 clamp(1.05rem, 1.4vw, 1.3rem)/1.2 var(--display); text-transform: uppercase; color: var(--blanc); }
.method--engagements .method__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1080px) { .method--engagements .method__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .method--engagements .method__steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .method--engagements .method__steps { grid-template-columns: minmax(0, 1fr); } .presente__liste { grid-template-columns: minmax(0, 1fr); } }

.evts { padding: clamp(64px, 8vw, 120px) var(--gut); border-top: 1px solid var(--filet); }
.evts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.evts__col { display: grid; align-content: start; gap: 18px; }
.evts__col > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--filet); font-size: clamp(1.4rem, 2vw, 1.9rem) !important; text-transform: uppercase; }
.evts__vide { font-size: 1.0625rem; color: rgb(var(--sur-rgb) / .72); }
.evts__accred { display: grid; justify-items: start; gap: 10px; padding: 24px; border: 1px solid var(--filet); border-radius: 10px; background: rgb(var(--sur-rgb) / .03); }
.evts__accred h3 { font: 700 .875rem/1.3 var(--text) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); }
.evts__list { display: grid; gap: 14px; }
.evts__item { display: grid; gap: 4px; padding: 20px 24px; border-left: 2px solid var(--or); background: rgb(var(--sur-rgb) / .04); border-radius: 0 10px 10px 0; }
.evts__item time { font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); }
.evts__nom { font: 600 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--display); }
.evts__item p:last-child:not(.evts__nom) { color: rgb(var(--sur-rgb) / .72); }
@media (max-width: 820px) { .evts__grid { grid-template-columns: minmax(0, 1fr); } }

/* Les libellés du menu ne passent jamais à la ligne */
.top__nav a { white-space: nowrap; }
.method--engagements { background-color: var(--noir); border-top: 1px solid var(--filet); }
.method--engagements h2 { font-size: var(--s-sub) !important; }

/* ---------- Sport Events en pages séparées (17 novembre 2026) ---------- */
/* Haut des sous-pages : photo assombrie, titre de la rubrique en bas */
.sub-hero { position: relative; display: grid; align-content: end; min-height: clamp(360px, 56svh, 560px); padding: 140px var(--gut) clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.sub-hero__photo { position: absolute; inset: 0; z-index: -1; }
.sub-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: grayscale(.35) brightness(.5); }
.sub-hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .6) 0%, rgb(0 0 0 / .1) 35%, rgb(0 0 0 / .35) 70%, var(--noir) 100%); }
.sub-hero .page-eyebrow { margin-bottom: 14px; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); }
.sub-hero h1 { max-width: 14em; font-size: clamp(2.6rem, 6vw, 5.6rem) !important; line-height: .92 !important; text-transform: uppercase; }
.sub-hero + section { border-top: 0; }

/* Accueil Sport Events : les cinq rubriques en cartes */
.rubriques { padding: clamp(64px, 8vw, 120px) var(--gut); background-color: var(--noir-2); }
.rubriques h2 { font-size: var(--s-sub) !important; }
.rubriques__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rubrique { position: relative; display: grid; align-content: start; gap: 10px; height: 100%; min-height: 230px; padding: 24px 22px 64px; color: var(--blanc); text-decoration: none; border: 1px solid var(--filet); border-radius: 12px; background: rgb(var(--sur-rgb) / .03); transition: border-color .25s, background-color .25s, transform .25s; }
.rubrique__num { font: 600 2.4rem/1 var(--display); color: var(--or-encre); transition: color .25s; }
.rubrique__titre { font: 600 clamp(1.4rem, 1.8vw, 1.8rem)/1 var(--display); text-transform: uppercase; }
.rubrique__texte { color: rgb(var(--sur-rgb) / .72); font-size: .9375rem; }
.rubrique__go { position: absolute; left: 22px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(226 196 127 / .45); }
.rubrique__go svg { width: 18px; height: 18px; fill: none; stroke: var(--or-texte); stroke-width: 2; transition: transform .25s; }
.rubrique:hover, .rubrique:focus-visible { border-color: var(--or); background: rgb(var(--sur-rgb) / .06); transform: translateY(-3px); }
.rubrique:hover .rubrique__num { color: var(--or-texte); }
.rubrique:hover .rubrique__go svg { transform: translateX(3px); }
.rubrique:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; }
@media (max-width: 1180px) { .rubriques__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .rubriques__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rubriques__grid { grid-template-columns: minmax(0, 1fr); } .rubrique { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .rubrique, .rubrique__go svg { transition: none; } }
/* Événement réalisé avec son affiche */
.evts__item--affiche { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 4px 20px; padding: 14px 20px 14px 14px; }
.evts__affiche { width: 96px; height: auto; border-radius: 6px; box-shadow: 0 8px 24px rgb(0 0 0 / .4); }
.evts__infos { display: grid; gap: 4px; }
.evts__infos p:last-child { color: rgb(var(--sur-rgb) / .72); }
/* Cadrage des photos du site actuel dans le haut des sous-pages */
.p-sport-mission .sub-hero__photo img { object-position: 50% 22%; }
.p-sport-engagements .sub-hero__photo img { object-position: 50% 78%; }
.p-sport-prestations .sub-hero__photo img { object-position: 50% 60%; }

/* ---------- Menu déroulant de l'en-tête : « L'agence » regroupe les rubriques de Sport Events et le lien vers MF Productions ---------- */
.drop { position: relative; display: flex; align-items: center; }
.drop__btn { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; color: inherit; background: none; border: 0; font: 500 1rem var(--text); cursor: pointer; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.drop__btn:hover { text-decoration: underline; }
.drop.is-current .drop__btn { text-decoration: underline; text-decoration-color: var(--or-texte); }
.drop__chevron { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.drop__btn[aria-expanded=true] .drop__chevron { transform: rotate(180deg); }
.drop__menu { position: absolute; top: calc(100% + 14px); left: -16px; z-index: 3; display: grid; min-width: 250px; padding: 6px; border-radius: 18px;
  background: rgb(18 18 18 / .94); border: 1px solid var(--glass-edge, rgb(255 255 255 / .2)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 12px 40px rgb(0 0 0 / .38);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.drop__menu[hidden] { display: none; }
/* Une passerelle invisible garde le menu ouvert quand la souris descend du bouton au menu */
.drop__menu::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.top__nav .drop__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; }
.top__nav .drop__menu a:hover { background: rgb(var(--sur-rgb) / .1); text-decoration: none; }
.top__nav .drop__menu a[aria-current] { color: var(--or-texte); font-weight: 700; }
.drop__autre { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(var(--sur-rgb) / .14); }
.top__nav .drop__autre .top__switch { margin: 0; padding: 11px 14px !important; border-left: 0; font: 500 1rem var(--text) !important; }
@media (max-width: 1080px) {
  /* Téléphone et tablette : pas de bouton, les rubriques sont listées directement dans le menu */
  .drop { display: block; }
  .drop__btn { display: none; }
  .drop__menu, .drop__menu[hidden] { position: static; display: grid; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .drop__menu::before { content: none; }
  /* site.css masque tout [hidden] avec !important : la liste reste dépliée dans le menu du téléphone */
  .top__nav .drop__menu[hidden] { display: grid !important; }
  .top__nav .drop__menu a { display: block; padding: 12px 0; border-radius: 0; font: 600 clamp(2.6rem, 10vw, 3.4rem)/1 var(--display); }
  .top__nav .drop__menu a:hover { background: none; text-decoration: underline; }
  .drop__autre { margin-top: 0; padding-top: 0; border-top: 0; }
  .top__nav .drop__autre .top__switch { display: inline-flex; margin-top: 18px; padding: 0 !important; font: 600 1.25rem var(--text) !important; }
}
/* Sport Events : trois rubriques sur l'accueil (Prestations, L'agence, Événements) ; photo des supporters cadrée sur les visages */
.rubriques__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .rubriques__grid--3 { grid-template-columns: minmax(0, 1fr); } .rubrique { min-height: 0; } }
.p-sport-agence .sub-hero__photo img { object-position: 50% 0%; filter: brightness(.82); }   /* homme en costume au bord du terrain (image générée au format 3:1, 19/11) : en entier, ballon compris */
@media (max-width: 820px) { .p-sport-agence .sub-hero__photo img { object-position: 84% 50%; } }
/* la tête de l'homme est haut dans l'image : la photo commence sous la barre de menu (le haut reste dans le noir du fond) */
.p-sport-agence .sub-hero { background: var(--noir); }
.p-sport-agence .sub-hero__photo { top: 64px; }
@media (max-width: 820px) { .p-sport-agence .sub-hero__photo { top: 72px; } }
.p-sport-evenements .sub-hero__photo img { object-position: 50% 70%; }   /* FC Basel – SL Benfica au St. Jakob-Park : tribunes, panneaux « MF Sport Events » du bord du terrain et pelouse */
@media (max-width: 820px) { .p-sport-evenements .sub-hero__photo img { object-position: 50% 100%; } }

/* Événements réalisés en cartes avec leur affiche (photos du client, 18 novembre 2026) */
.evts__grid { align-items: start; }
.evts__realises { margin-top: clamp(48px, 6vw, 80px); }
.evts__realises > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--filet); font-size: clamp(1.4rem, 2vw, 1.9rem) !important; text-transform: uppercase; }
.evt-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; margin-top: 28px; }
.evt-carte { display: grid; align-content: start; gap: 14px; }
.evt-carte__affiche { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: 8px; box-shadow: 0 10px 30px rgb(0 0 0 / .45); }
.evt-carte__infos { display: grid; gap: 4px; }
.evt-carte__infos time { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--or-texte); }
.evt-carte .evts__nom { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.evt-carte__lieu { color: rgb(var(--sur-rgb) / .72); font-size: .9375rem; }
.evt-carte__detail { margin-top: 4px; font-size: .875rem; color: rgb(var(--sur-rgb) / .86); }
@media (max-width: 560px) { .evt-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }


/* Carte « stages » : garder le terrain et les joueurs dans le cadre, pas le ciel */
.offre__img img[src$="stage-lac.jpg"] { object-position: 50% 100%; }

/* Couverture : « Prochainement » en pastille sous le titre MF Group et sa phrase (19/11) ; titre remonté pour lui faire la place.
   Une ligne par événement à venir dans src/index.html (data-until) : seul le prochain s'affiche, la pastille disparaît sans date à venir. */
.cover__intro { top: clamp(70px, 8.5vh, 100px); }
.next-card--cover { position: static; display: inline-block; width: auto; max-width: 100%; margin: 18px auto 0; padding: 0; gap: 0; pointer-events: auto;
  border-radius: 999px; background: rgb(10 10 12 / .38); border-color: rgb(255 255 255 / .14); box-shadow: none; opacity: .88;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: opacity .3s, background-color .3s; text-align: left; }
.next-card--cover:hover, .next-card--cover:focus-within { opacity: 1; }
/* survol : toute la pastille passe en verre doré (le flou reste, reflet clair en haut, halo doré), texte en noir comme les boutons dorés */
.next-card--cover { position: relative; inset: auto; isolation: isolate; overflow: hidden; transition: opacity .3s, border-color .35s, box-shadow .35s; }
.next-card--cover::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: linear-gradient(115deg, rgb(140 106 44 / .78) 0%, rgb(233 205 134 / .82) 28%, rgb(180 138 64 / .8) 52%, rgb(246 226 166 / .84) 72%, rgb(160 120 52 / .8) 100%); }
.next-card--cover::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .42) 0%, rgb(255 255 255 / .08) 45%, transparent 60%); }
.next-card--cover:hover, .next-card--cover:focus-within { border-color: rgb(246 226 166 / .7); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 10px 32px rgb(180 138 64 / .35); }
.next-card--cover:hover::before, .next-card--cover:focus-within::before, .next-card--cover:hover::after, .next-card--cover:focus-within::after { opacity: 1; }
.next-card--cover .next-card__haut, .next-card--cover .next-card__quand, .next-card--cover .next-card__name, .next-card--cover .next-card__lieu { transition: color .35s; }
.next-card--cover:hover .next-card__haut, .next-card--cover:hover .next-card__quand, .next-card--cover:hover .next-card__name,
.next-card--cover:focus-within .next-card__haut, .next-card--cover:focus-within .next-card__quand, .next-card--cover:focus-within .next-card__name { color: #0a0a0a; }
.next-card--cover:hover .next-card__lieu, .next-card--cover:focus-within .next-card__lieu { color: rgb(10 10 10 / .72); }
.next-card--cover:hover .next-card__count, .next-card--cover:focus-within .next-card__count, .next-card--cover:hover .next-card__count::before, .next-card--cover:focus-within .next-card__count::before { color: #0a0a0a; }
@media (prefers-reduced-motion: reduce) { .next-card--cover, .next-card--cover::before, .next-card--cover::after { transition: none; } }
.next-card--cover .next-card__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.next-card--cover .next-card__item[hidden] { display: none; }
.next-card--cover .next-card__item { display: flex; align-items: center; gap: 18px; padding: 7px 44px 7px 7px; color: inherit; text-decoration: none; }
.next-card--cover .next-card__affiche { flex: none; width: 56px; height: 56px; border-radius: 50%; --cut: 0px; overflow: hidden; }
.next-card--cover .next-card__affiche img { width: 100%; height: 100%; object-fit: cover; }
.next-card--cover .next-card__infos { display: grid; gap: 5px; min-width: 0; white-space: nowrap; line-height: 1.2; }
.next-card__haut { font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: rgb(var(--sur-rgb) / .72); }
.next-card__lieu { font-size: .75rem; color: rgb(var(--sur-rgb) / .62); }
.next-card__quand { font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--or-texte); }
.next-card--cover .next-card__sector { display: none; }
/* décompte en doré à côté de la salle, même taille (« · Dans 206 jours ») ; vide le jour passé, comme ailleurs */
.next-card--cover .next-card__count { display: inline; margin: 0; font-size: inherit; font-weight: 600; color: var(--or-texte); transition: color .35s; }
.next-card--cover .next-card__count:not(:empty)::before { content: ' · '; color: rgb(var(--sur-rgb) / .62); font-weight: 400; }
.next-card--cover .next-card__name { font-size: 1rem; font-weight: 600; }
.next-card--cover .next-card__when { font-size: .8125rem; color: rgb(var(--sur-rgb) / .72); }
.next-card--cover .next-card__item:focus-visible { outline: 2px solid var(--or-texte); outline-offset: 3px; border-radius: 999px; }
.is-leaving .next-card--cover { opacity: 0; pointer-events: none; }
@media (max-width: 820px) {
  .cover__intro { top: 78px; }
  .next-card--cover { margin-top: 12px; }
  .next-card--cover .next-card__item { gap: 14px; padding: 6px 30px 6px 6px; }
  .next-card--cover .next-card__affiche { width: 44px; height: 44px; }
  .next-card--cover .next-card__name { font-size: .9375rem; }
  .next-card__haut { font-size: .6875rem; }
}
@media (max-width: 820px) and (max-height: 640px) { .next-card--cover { display: none; } }
/* Téléphone (21/11) : pastille réduite et plus discrète, sur deux lignes (le lieu et le compte à rebours restent sur la page du concert) */
@media (max-width: 600px) {
  .next-card--cover { margin-top: 10px; opacity: .8; background: rgb(10 10 12 / .26); border-color: rgb(255 255 255 / .1); }
  .next-card--cover .next-card__item { gap: 10px; padding: 4px 18px 4px 4px; }
  .next-card--cover .next-card__affiche { width: 32px; height: 32px; }
  .next-card--cover .next-card__infos { gap: 3px; }
  .next-card--cover .next-card__haut { font-size: .625rem; }
  .next-card--cover .next-card__name { font-size: .8125rem; font-weight: 500; }
  .next-card--cover .next-card__lieu { display: none; }
}

/* Qui sommes-nous (Productions) : mêmes sections que L’agence de Sport Events ; Notre mission en trois colonnes */
.method--trois .method__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .method--trois .method__steps { grid-template-columns: minmax(0, 1fr); } }
/* Bannière : la Geneva Arena pendant le concert de Luan Santana (1er novembre 2025, photo du post Instagram de CV Music améliorée avec ChatGPT, 19/11) */
.p-productions-qui-sommes-nous .sub-hero__photo img { object-position: 50% 62%; filter: grayscale(.1) brightness(.8); }

/* Événements Sport : chaque carte mène à la page de l'événement (tools/sport_evts.py), avec sa galerie de photos */
.evt-carte__lien { display: grid; align-content: start; gap: 14px; color: inherit; text-decoration: none; }
.evt-carte__lien .evts__nom { display: block; }
.evt-carte__affiche { transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.evt-carte__lien:hover .evt-carte__affiche { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(0 0 0 / .55); }
.evt-carte__lien:hover .evts__nom { text-decoration: underline; text-underline-offset: 4px; }
.evt-carte__lien:focus-visible { outline: 2px solid var(--or-texte); outline-offset: 6px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .evt-carte__affiche { transition: none; } }

/* Accueil Sport Events : photo du stade comble avec le match en cours (19/11) ; voile allégé pour qu'on voie la pelouse et les joueurs */
.p-sport-index .prod--brochure .hero__photo img { object-position: 50% 58%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgb(0 0 0 / .8) 66%, rgb(0 0 0 / .45) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgb(0 0 0 / .8) 66%, rgb(0 0 0 / .45) 82%, transparent 100%); }
.p-sport-index .prod--brochure .hero__photo::after { background: linear-gradient(180deg, rgb(0 0 0 / .5) 0%, rgb(0 0 0 / .1) 18%, transparent 34%, rgb(0 0 0 / .3) 80%, rgb(0 0 0 / .55) 100%); }

/* Couverture : photo du panneau MF Sport Events plus claire (19/11) */
.pole--sport .pole__photo { filter: grayscale(1) brightness(.6) contrast(1.05); }
@media (hover: hover) and (min-width: 821px) { .pole--sport:hover .pole__photo { filter: grayscale(.15) brightness(.78) contrast(1.05); } }
.pole--sport:focus-visible .pole__photo { filter: grayscale(.15) brightness(.78); }
@media (max-width: 820px) { .pole--sport .pole__photo { filter: grayscale(.35) brightness(.66); } }

/* « Ce qu'ils disent de nous » avec les photos du flyer (19/11) : le collage du MF Summer Fest 2025 (Nuno Ribeiro, Calema,
   Diogo Piçarra) découpé en trois morceaux par clip-path, séparés par le fond de la section au lieu des traits blancs du flyer.
   Les trois <img> sont la même image (originaux/flyer-temoignages/), chacune ne montre que son morceau. */
.temoins--photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.temoins__mosaique { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .5); }
.temoins__piece { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.temoins__piece--gauche { clip-path: polygon(0% 0%, 38.81% 0%, 54.36% 49.91%, 23.73% 100%, 0% 100%); transform-origin: 20% 50%; }
.temoins__piece--haut { clip-path: polygon(40.25% 0%, 100% 0%, 100% 49.31%, 55.61% 49.31%); transform-origin: 75% 25%; }
.temoins__piece--bas { clip-path: polygon(55.50% 50.69%, 100% 50.69%, 100% 100%, 25.34% 100%); transform-origin: 70% 75%; }
.temoins__texte h2 { margin-top: 0; }
.temoins__intro { max-width: 52ch; margin-top: 14px; font-size: 1.0625rem; color: rgb(var(--sur-rgb) / .78); }
.temoins--photos .temoins__list { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
.temoins--photos blockquote p { font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.temoins--photos blockquote p::before { content: "“"; display: block; height: .42em; margin-bottom: 10px; font: 800 4.2rem/1 var(--text); color: var(--or-texte); }
@media (max-width: 900px) {
  .temoins--photos { grid-template-columns: minmax(0, 1fr); }
  .temoins__mosaique { max-width: 560px; }
}

/* « Pourquoi choisir MF Productions ? » comme le flyer (19/11) : les trois illustrations dorées du flyer dans des ronds,
   entourés de deux arcs d'or décalés (dessinés en CSS) qui tournent un peu à l'apparition et au survol. */
.pq { padding: clamp(64px, 8vw, 120px) var(--gut); background-color: var(--noir-2); }
.pq__head { max-width: 760px; }
.pq__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.pq__item { display: grid; align-content: start; gap: 30px; }
.pq__img { position: relative; display: block; width: min(calc(100% - 44px), 250px); aspect-ratio: 1; margin: 22px; }
.pq__img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 18px 40px rgb(0 0 0 / .45); }
.pq__img::before, .pq__img::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; transition: transform .8s cubic-bezier(.2, .7, .2, 1), rotate 1.1s cubic-bezier(.2, .7, .2, 1); }
.pq__img::before { inset: -15px; background: conic-gradient(from 150deg, transparent 0deg 8deg, #f6e2a6 45deg, #e9cd86 105deg, #b48a40 175deg, #f6e2a6 235deg, transparent 290deg 360deg);
  filter: drop-shadow(0 0 6px rgb(233 205 134 / .35));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8.5px)); }
.pq__img::after { inset: -24px; translate: 8px -6px; background: conic-gradient(from 300deg, transparent 0deg 6deg, #f6e2a6 50deg, #d9b768 120deg, #a07834 185deg, transparent 230deg 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.pq__item:hover .pq__img::before { transform: rotate(28deg); }
.pq__item:hover .pq__img::after { transform: rotate(-22deg); }
.pq__item h3 { margin-bottom: 10px; overflow-wrap: break-word; hyphens: auto; }
.pq__item p { max-width: 34ch; color: rgb(var(--sur-rgb) / .8); }
.pq__fin { max-width: 62ch; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgb(226 196 127 / .35); font-size: 1.0625rem; color: rgb(var(--sur-rgb) / .78); }
@media (max-width: 820px) {
  .pq__list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pq__item { grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 26px; }
  .pq__img { width: 104px; margin: 16px 12px; }
  .pq__img::before { inset: -10px; }
  .pq__img::after { inset: -15px; translate: 4px -3px; }
}
/* Téléphone : titres un peu plus petits, pour que « Proven responsiveness » (EN) tienne dans la colonne (21/11) */
@media (max-width: 480px) { .pq__item h3 { font-size: 1.5rem !important; } }

/* Apparition au défilement (19/11) : les blocs de contenu sous la ligne de flottaison glissent et apparaissent une fois
   (site.js leur met .apparait puis .is-in, et retire les deux à la fin). Seuls opacity et translate bougent : pas de reflow. */
.js .apparait { opacity: 0; translate: 0 24px; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), translate .7s cubic-bezier(.2, .7, .2, 1); }
.js .apparait.is-in { opacity: 1; translate: none; }
/* La mosaïque des témoignages se referme et les arcs d'or tournent en place */
.temoins__piece { transition: transform .6s cubic-bezier(.2, .7, .2, 1), translate 1s cubic-bezier(.2, .7, .2, 1); }
.js .temoins__mosaique.apparait .temoins__piece--gauche { translate: -3% 0; }
.js .temoins__mosaique.apparait .temoins__piece--haut { translate: 3% -3%; }
.js .temoins__mosaique.apparait .temoins__piece--bas { translate: 3% 3%; }
.js .temoins__mosaique.apparait.is-in .temoins__piece { translate: none; }
.js .pq__item.apparait .pq__img::before { rotate: -90deg; }
.js .pq__item.apparait .pq__img::after { rotate: 70deg; }
.js .pq__item.apparait.is-in .pq__img::before, .js .pq__item.apparait.is-in .pq__img::after { rotate: none; }

/* Bannières : la photo descend un peu moins vite que la page (animation liée au défilement, sans script ;
   seulement dans les navigateurs qui la gèrent, les autres gardent la photo fixe) */
@supports (animation-timeline: view()) {
  .sub-hero__photo, .hero__photo { overflow: hidden; }
  .sub-hero__photo img, .hero__photo img { animation: bandeau-profondeur linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes bandeau-profondeur { to { transform: translate3d(0, 14%, 0) scale(1.05); } }
}
@media (prefers-reduced-motion: reduce) {
  .js .apparait, .js .temoins__mosaique.apparait .temoins__piece, .js .pq__item.apparait .pq__img::before, .js .pq__item.apparait .pq__img::after { opacity: 1; translate: none; rotate: none; transition: none; }
  .sub-hero__photo img, .hero__photo img { animation: none; }
  .pq__img::before, .pq__img::after { transition: none; }
}
@media print { .js .apparait { opacity: 1; translate: none; } }

/* Photo de l'équipe sous « À propos » (Qui sommes-nous, 19/11) ; recadrée à droite pour cacher le nom de l'artiste de l'affiche */
.presente__photo { max-width: 460px; margin-top: clamp(28px, 3vw, 40px); overflow: hidden; border-radius: 16px; box-shadow: 0 22px 50px rgb(0 0 0 / .45); }
.presente__photo img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) { .presente__photo { max-width: none; } }

/* Newsletter (21/11, refaite le 22/11) : sections sur les accueils, l'agenda de MF Productions et les événements de MF Sport Events */
.nl { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(40px, 6vw, 96px); align-items: center; padding: clamp(64px, 8vw, 112px) var(--gut); border-top: 1px solid var(--filet); background: radial-gradient(120% 140% at 0% 0%, rgb(226 196 127 / .08), transparent 55%); }
.nl__eyebrow { margin-bottom: 12px; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); }
.nl__text > p:last-child { margin-top: 14px; max-width: 40ch; color: rgb(var(--sur-rgb) / .82); font-size: 1.0625rem; }
.nl__form { display: grid; gap: 12px; }
.nl__form .field label { font-weight: 600; }
.nl__ligne { display: flex; gap: 10px; }
.nl .field .nl__ligne input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 12px 16px; color: var(--blanc); background: rgb(var(--sur-rgb) / .05); border: 1px solid rgb(var(--sur-rgb) / .26); border-radius: 999px; transition: border-color .15s, background-color .15s; }
.nl .field .nl__ligne input::placeholder { color: rgb(var(--sur-rgb) / .42); }
.nl .field .nl__ligne input:hover { border-color: rgb(var(--sur-rgb) / .48); }
.nl .field .nl__ligne input:focus-visible { outline: 3px solid rgb(226 196 127 / .55); outline-offset: 0; border-color: var(--or-clair); background: rgb(var(--sur-rgb) / .07); }
.nl .field [aria-invalid=true] { border-color: #ff8f80 !important; }
.nl__ligne .btn { flex: none; min-height: 52px; padding-inline: 26px; }
.nl .form__status { min-height: 0; color: var(--blanc); }
.nl .form__status:not(:empty) { min-height: 1.55em; }
.nl .form__status.is-error { color: #ff8f80; }
.nl .form__note { font-size: .875rem; }
@media (max-width: 820px) {
  .nl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .nl__ligne { flex-direction: column; } .nl__ligne .btn { width: 100%; } }

/* Carte newsletter (22/11) : glisse en bas à droite après 30 s de navigation, sans bloquer la page (créée par site.js) */
.nl-carte { position: fixed; right: clamp(12px, 2.4vw, 32px); bottom: clamp(12px, 2.4vw, 32px); z-index: 15; width: min(400px, calc(100vw - 24px)); padding: 22px 22px 18px; color: var(--blanc);
  background: radial-gradient(120% 120% at 0% 0%, rgb(226 196 127 / .12), transparent 60%), #0b0b0b; border: 1px solid rgb(226 196 127 / .35); border-radius: 20px;
  box-shadow: 0 24px 60px rgb(0 0 0 / .6), 0 2px 8px rgb(0 0 0 / .4); opacity: 0; transform: translateY(24px); transition: opacity .35s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.nl-carte.is-visible { opacity: 1; transform: none; }
.nl-carte[hidden] { display: none; }
.nl-carte .nl__eyebrow { margin-bottom: 6px; font-size: .75rem; }
.nl-carte__titre { padding-right: 36px; font: 700 1.75rem/1.04 var(--text); letter-spacing: .01em; text-transform: uppercase; background: var(--or-metal, var(--or-texte)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nl-carte__texte { margin: 10px 0 14px; color: rgb(var(--sur-rgb) / .82); font-size: .9375rem; line-height: 1.45; }
.nl-carte__fermer { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: rgb(var(--sur-rgb) / .75); font-size: 1.5rem; line-height: 1;
  background: rgb(var(--sur-rgb) / .06); border: 1px solid rgb(var(--sur-rgb) / .16); border-radius: 50%; cursor: pointer; transition: color .15s, background-color .15s; }
.nl-carte__fermer:hover { color: var(--blanc); background: rgb(var(--sur-rgb) / .12); }
.nl-carte__fermer:focus-visible { outline: 3px solid rgb(226 196 127 / .55); outline-offset: 2px; }
.nl-carte .nl-carte__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nl-carte__form { gap: 8px; }
.nl-carte .field .nl__ligne input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 10px 14px; color: var(--blanc); font: inherit; background: rgb(var(--sur-rgb) / .05); border: 1px solid rgb(var(--sur-rgb) / .26); border-radius: 999px; }
.nl-carte .field .nl__ligne input::placeholder { color: rgb(var(--sur-rgb) / .42); }
.nl-carte .field .nl__ligne input:focus-visible { outline: 3px solid rgb(226 196 127 / .55); outline-offset: 0; border-color: var(--or-clair); }
.nl-carte .field [aria-invalid=true] { border-color: #ff8f80 !important; }
.nl-carte .nl__ligne .btn { min-height: 46px; padding-inline: 20px; }
.nl-carte .field__err { margin-top: 6px; font-size: .875rem; }
.nl-carte .form__status { min-height: 0; font-size: .9375rem; color: var(--blanc); }
.nl-carte .form__status.is-error { color: #ff8f80; }
@media (max-width: 600px) {
  .nl-carte { right: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 16px 16px 14px; border-radius: 16px; }
  .nl-carte__titre { font-size: 1.45rem; }
  .nl-carte__texte { margin: 6px 0 10px; font-size: .875rem; }
  .nl-carte .nl__ligne { flex-direction: row; }
  .nl-carte .nl__ligne .btn { width: auto; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .nl-carte { transition: opacity .2s; transform: none; } }

/* Cadenas du pied de page (23/11/2026) : accès discret à l'espace MF (système interne d'administration) */
.foot__legal .foot__cadenas { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -6px -6px -6px 10px; vertical-align: middle; border-radius: 50%; color: rgb(var(--sur-rgb) / .45); text-decoration: none; }
.foot__legal .foot__cadenas:hover, .foot__legal .foot__cadenas:focus-visible { color: var(--or-clair); }
.foot__cadenas svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
