/* Les Maîtres du Quiz: showcase site. Same identity as the brochure (night blue, gold, Barlow and Cinzel). */

@font-face { font-family: "Barlow"; src: url("polices/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("polices/Barlow-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("polices/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("polices/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("polices/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("polices/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("polices/BarlowCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("polices/Cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --night: #050a1f;
  --night-2: #0a1440;
  --ink: #03061a;
  --gold: #e8bf5a;
  --gold-light: #f7dc8c;
  --gold-dark: #9a6c18;
  --text: #dfe3f2;
  --muted: #a9b1d0;
  --turquoise: #46d3c8;
  --violet: #a59dff;
  --coral: #ff8f75;
  --line: rgba(232, 191, 90, .28);
  --glass: rgba(16, 26, 78, .45);
  --display: "Cinzel", Georgia, serif;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --page-width: 1240px;
  --radius: 16px;
  --ease-soft: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { background: var(--night); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; }
/* Very light grain: gives texture to the large dark areas */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.wrapper { width: min(var(--page-width), 100% - 40px); margin-inline: auto; position: relative; }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow { font-family: var(--heading); font-weight: 600; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
h1, h2 { font-family: var(--heading); font-weight: 800; text-transform: uppercase; line-height: .96; color: #fff; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.6vw, 98px); }
h2 { font-size: clamp(38px, 5.2vw, 76px); max-width: 17ch; }
h2.center { max-width: 20ch; }
h1 em, h2 em, h3 em { font-style: normal; background: linear-gradient(180deg, #fff1c4 0%, var(--gold) 45%, #c9932c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font-family: var(--heading); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #fff; font-size: 26px; line-height: 1.05; }
.intro { max-width: 760px; margin-top: 26px; font-size: 19px; color: #c9cfe6; }
strong { color: #fff; font-weight: 600; }
.quote { font-family: var(--display); font-weight: 700; color: var(--gold-light); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; max-width: 900px;
  margin-top: clamp(56px, 7vw, 90px); text-shadow: 0 0 30px rgba(232, 191, 90, .35); text-wrap: balance; }
.quote.left { text-align: left; font-size: clamp(20px, 2vw, 27px); margin-top: 34px; }

/* ---------- Buttons ---------- */
.button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 999px;
  font-family: var(--heading); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), background-color .3s; }
.button.small { height: 42px; padding: 0 20px; font-size: 14px; }
.button-gold { color: #1c1404; background: linear-gradient(180deg, #ffe6a1, var(--gold) 55%, #c99734); box-shadow: 0 10px 30px rgba(232, 191, 90, .28), inset 0 1px 0 rgba(255, 255, 255, .6); }
.button-gold::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transition: transform .8s var(--ease-soft); }
.button-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232, 191, 90, .42), inset 0 1px 0 rgba(255, 255, 255, .6); }
.button-gold:hover::after { transform: translateX(120%) skewX(-20deg); }
.button-outline { color: #fff; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.button-outline:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-light); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 84px; display: flex; align-items: center; gap: 28px; padding: 0 clamp(20px, 3.4vw, 48px);
  transition: background-color .4s, height .4s, box-shadow .4s, backdrop-filter .4s; }
.header.scrolled { height: 70px; background: rgba(5, 10, 31, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(232, 191, 90, .18), 0 20px 50px rgba(0, 0, 0, .35); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { width: 64px; height: 64px; filter: drop-shadow(0 0 12px rgba(232, 191, 90, .4)); transition: width .4s, height .4s; }
.header.scrolled .brand img { width: 54px; height: 54px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.05; color: var(--gold-light); letter-spacing: .04em; }
.menu { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-inline: auto; }
.menu a { position: relative; white-space: nowrap; text-decoration: none; font-family: var(--heading); font-weight: 600; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: #d9ddef; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-soft); }
.menu a:hover { color: #fff; }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); transform-origin: left; }
.menu a.active { color: var(--gold-light); }
.portal-mobile, .menu-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.portal-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--heading); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: #d9ddef; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: color .3s, box-shadow .3s; }
.portal-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.portal-link:hover { color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease-soft), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 1100px); padding: 150px 0 110px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(60, 70, 210, .5), transparent 70%),
    radial-gradient(ellipse 60% 35% at 50% 100%, rgba(150, 100, 25, .25), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 60%, var(--ink) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 64% 27%, var(--gold-light) 50%, transparent 51%), radial-gradient(1px 1px at 33% 41%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 66%, var(--gold-light) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 47% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 93%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 55% 12%, #fff 50%, transparent 51%); }
.beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.beams i { position: absolute; top: -12%; width: 32vw; max-width: 520px; height: 120%; opacity: .32; transform-origin: top center;
  background: linear-gradient(90deg, transparent, rgba(150, 160, 255, .5) 32%, rgba(210, 218, 255, .8) 50%, rgba(150, 160, 255, .5) 68%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .3) 60%, transparent 90%); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .3) 60%, transparent 90%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); animation: sweep 14s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: -6%; --a: -26deg; --b: -16deg; }
.beams i:nth-child(2) { right: -6%; --a: 26deg; --b: 16deg; animation-delay: -5s; }
.beams i:nth-child(3) { left: 22%; --a: -8deg; --b: 6deg; opacity: .18; animation-delay: -9s; }
.beams i:nth-child(4) { right: 22%; --a: 8deg; --b: -6deg; opacity: .18; animation-delay: -2s; }
.beams.soft i { opacity: .16; }
@keyframes sweep { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.halo { position: absolute; z-index: -1; left: 50%; top: 58%; width: min(1300px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 191, 90, .18), rgba(80, 90, 255, .14) 40%, transparent 68%); pointer-events: none; }
.hero-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-text .eyebrow { justify-content: center; }
.hero-text .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero h1 { max-width: 13em; text-shadow: 0 10px 60px rgba(0, 0, 0, .5); }
.tagline { margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: var(--gold-light); }
.buttons { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.video-frame { position: relative; margin: clamp(56px, 7vw, 90px) auto 0; max-width: 1040px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(232, 191, 90, .45), 0 0 0 9px rgba(255, 255, 255, .03), 0 40px 120px rgba(0, 0, 0, .7), 0 0 140px rgba(70, 90, 255, .28); }
.video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 22%); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame .video-youtube { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-source { margin: -6px 0 0; font-size: 12px; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 10px rgba(0, 0, 0, .8); }
.video-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(ellipse at center, rgba(5, 10, 31, .25), rgba(5, 10, 31, .78)); transition: opacity .5s; }
.video-frame.playing .video-overlay { opacity: 0; pointer-events: none; }
.video-play { width: clamp(70px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #1c1404;
  background: linear-gradient(180deg, #ffe6a1, var(--gold) 55%, #c99734); box-shadow: 0 0 0 10px rgba(232, 191, 90, .14), 0 0 60px rgba(232, 191, 90, .45);
  animation: pulse 2.6s ease-in-out infinite; transition: transform .3s var(--ease-soft); }
.video-play svg { width: 38%; fill: currentColor; margin-left: 6%; }
.video-play:disabled { cursor: default; }
.video-play:not(:disabled):hover { transform: scale(1.07); }
@keyframes pulse { 50% { box-shadow: 0 0 0 20px rgba(232, 191, 90, .05), 0 0 80px rgba(232, 191, 90, .55); } }
.video-label { font-family: var(--heading); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; font-size: clamp(12px, 1.3vw, 15px); color: #fff;
  padding: 8px 18px; border-radius: 999px; background: rgba(5, 10, 31, .6); box-shadow: inset 0 0 0 1px rgba(232, 191, 90, .4); backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scroll-hint 2s ease-in-out infinite; }
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Games marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; background: linear-gradient(180deg, var(--ink), #070d2a); border-block: 1px solid rgba(232, 191, 90, .16);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee-scroll 60s linear infinite; }
.marquee img { height: 150px; width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; opacity: .92; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.marquee { display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.marquee:focus { outline: none; }
.marquee:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.marquee img { -webkit-user-drag: none; }
@keyframes marquee-scroll { to { transform: translateX(calc(-25% - 5.5px)); } }  /* one copy out of four: the marquee never runs empty */

.stage-note { max-width: 720px; margin: clamp(34px, 4vw, 48px) auto 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.stage-note a { color: var(--gold-light); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.stage-note a:hover { color: var(--gold); }

/* ---------- Concept ---------- */
.concept { background: linear-gradient(180deg, #070d2a, var(--night)); }
.concept-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.concept-text p { margin-top: 18px; color: #c9cfe6; }
.concept-text h2 { margin-bottom: 30px; font-size: clamp(34px, 4.2vw, 62px); max-width: 15ch; }
.key-phrase { margin: 30px 0 8px; padding-left: 22px; border-left: 2px solid var(--gold); font-family: var(--heading); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08; text-transform: uppercase; color: var(--gold); }
.concept-photo { position: relative; }
.concept-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% center; border-radius: 20px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }
.concept-photo::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 24px; border: 1px solid rgba(232, 191, 90, .3); z-index: -1; }
.concept-photo figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); font-style: italic; }
.stats { margin-top: clamp(70px, 9vw, 120px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; color: var(--gold);
  text-shadow: 0 0 30px rgba(232, 191, 90, .3); }
.stat span { display: block; margin-top: 8px; font-family: var(--heading); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stage ---------- */
.stage { background: radial-gradient(ellipse 70% 45% at 50% 40%, rgba(60, 70, 210, .2), transparent 70%), var(--night); }
.three { margin-top: clamp(50px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.panel { position: relative; }
.panel-image { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .5); }
.panel-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.panel:hover .panel-image img { transform: scale(1.06); }
.panel-number { margin-top: 24px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.panel h3 { margin-top: 4px; font-size: 30px; }
.panel h3 + p { margin-top: 12px; color: #c9cfe6; font-size: 16px; }

/* ---------- Occasions ---------- */
.occasions { background: linear-gradient(180deg, var(--night), #071033 50%, var(--night)); }
.occasions-grid { margin-top: clamp(50px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.occasion { padding: 28px 24px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(40, 55, 150, .32), rgba(10, 18, 55, .45));
  box-shadow: inset 0 0 0 1px rgba(232, 191, 90, .18); transition: transform .5s var(--ease-soft), box-shadow .5s; }
.occasion:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(232, 191, 90, .55), 0 24px 50px rgba(0, 0, 0, .45); }
.occasion h3 { font-size: 21px; color: var(--gold-light); }
.occasion h3::before { content: ""; display: block; width: 9px; height: 9px; margin-bottom: 18px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.occasion p { margin-top: 10px; font-size: 15.5px; color: #c4cae2; line-height: 1.55; }

/* ---------- Games ---------- */
.games { background: radial-gradient(ellipse 60% 35% at 50% 30%, rgba(150, 100, 25, .14), transparent 70%), var(--night); }
.games-grid { margin-top: clamp(50px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.game-card { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(232, 191, 90, .22), 0 26px 50px rgba(0, 0, 0, .55); transition: transform .6s var(--ease-soft), box-shadow .6s var(--ease-soft); }
.game-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform 1s var(--ease-soft); }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--gold), 0 34px 70px rgba(0, 0, 0, .6), 0 0 50px rgba(232, 191, 90, .2); }
.game-card:hover img { transform: scale(1.04); }
.game-card:hover::after { transform: translateX(100%); }
.game-plus { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; line-height: 1;
  color: #1c1404; background: var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-soft); }
.game-card:hover .game-plus { transform: rotate(90deg); }
.game-text { margin-top: 18px; }
.game-number { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--gold); }
.game-text h3 { margin-top: 2px; font-size: 25px; }
.tags { margin-top: 6px; font-family: var(--heading); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.game-short { margin-top: 6px; font-size: 15.5px; color: #c4cae2; line-height: 1.5; }

/* Game window */
dialog { color: var(--text); }
.game-window { margin: auto; width: min(980px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 22px; overflow: auto;
  background: linear-gradient(180deg, #0e1849, #060b26); box-shadow: 0 0 0 1px rgba(232, 191, 90, .45), 0 50px 140px rgba(0, 0, 0, .8); }
.game-window::backdrop, .viewer::backdrop { background: rgba(2, 4, 16, .82); backdrop-filter: blur(10px); }
.game-window[open] { animation: pop-in .5s var(--ease-soft); }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.window-video { aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; }
.window-video video { width: 100%; height: 100%; object-fit: cover; }
.window-body { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px 36px; align-items: start; }
.window-body .tags, .window-body h3, .window-text, .window-body .button { grid-column: 1; }
.window-body h3 { font-size: clamp(30px, 4vw, 44px); }
.window-text p { margin-top: 12px; color: #d2d7ec; }
.window-text dl { margin-top: 20px; display: grid; grid-template-columns: fit-content(170px) 1fr; gap: 10px 20px; align-items: baseline; font-size: 15.5px; }
.window-text dt { font-family: var(--heading); font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; color: var(--gold-light); font-size: 14px; }
.window-text dd { color: #c4cae2; }
@media (max-width: 560px) {
  .window-text dl { grid-template-columns: 1fr; gap: 2px; }
  .window-text dd + dt { margin-top: 12px; }
}
.window-screen { grid-column: 2; grid-row: 1 / span 4; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, .5); }
.window-body .button { justify-self: start; margin-top: 22px; }
.close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: #fff;
  background: rgba(5, 10, 31, .65); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(6px); transition: background-color .3s, color .3s; }
.close:hover { background: var(--gold); color: var(--night); }

/* ---------- Steps (home page; the occasion pages share .steps) ---------- */
.home-steps { background: linear-gradient(180deg, var(--night), #081236); }
.steps h3 { font-size: 23px; margin-bottom: 10px; }

/* ---------- Formats ---------- */
.formats { background: radial-gradient(ellipse 70% 35% at 50% 35%, rgba(80, 60, 170, .18), transparent 70%), linear-gradient(180deg, #081236, var(--night)); }
.formats-grid { margin-top: clamp(50px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.format { --c: var(--gold); position: relative; display: flex; flex-direction: column; padding: 0 26px 30px; border-radius: 20px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 22%, transparent), rgba(8, 14, 44, .7) 60%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transition: transform .6s var(--ease-soft), box-shadow .6s; }
/* The card outline, drawn over the photo (otherwise the photo hides it). */
.format::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent); transition: box-shadow .6s; }
.format:hover { transform: translateY(-8px); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 60px color-mix(in srgb, var(--c) 30%, transparent); }
.format:hover::after { box-shadow: inset 0 0 0 1.5px var(--c); }
.format.pop { --c: var(--coral); }
.format.compact { --c: var(--turquoise); }
.format.studio { --c: var(--violet); }
.format.show { --c: var(--gold); }
.format .format-name { font-family: var(--heading); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; color: #fff; }
.format .format-name em { font-style: normal; color: var(--c); }
.format .format-tagline { margin: 10px 0 18px; font-family: var(--heading); font-weight: 600; font-size: 18px; line-height: 1.2; color: color-mix(in srgb, var(--c) 55%, #fff); }
.format p { color: #c9cfe6; font-size: 15px; }
.format p + p { margin-top: 12px; }
.format .format-punchline { margin-top: auto; padding-top: 22px; color: #fff; font-weight: 600; }
.format .format-body p + p { margin-top: 12px; }
/* The four cards share their rows (photo, name, tagline, text, phrase, link): each piece starts at the same height. */
@supports (grid-template-rows: subgrid) {
  .format { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  .format .format-punchline { margin-top: 0; }
  .format .compare-link { align-self: end; justify-self: start; }
}
/* The "compare with the other formats" link, at the bottom of each card */
.compare-link { align-self: flex-start; margin-top: 16px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--c);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c) 40%, transparent); text-underline-offset: 5px; }
.compare-link span { display: inline-block; transition: transform .3s var(--ease-soft); }
.compare-link:hover span, .compare-link:focus-visible span { transform: translateX(5px); }
/* The column of the format the visitor came from, highlighted in the table */
.comparison[data-featured="pop"] { --cv: var(--coral); }
.comparison[data-featured="compact"] { --cv: var(--turquoise); }
.comparison[data-featured="studio"] { --cv: var(--violet); }
.comparison[data-featured="show"] { --cv: var(--gold); }
.comparison .featured { background: color-mix(in srgb, var(--cv) 14%, transparent) !important; }
.format .format-ribbon { position: absolute; z-index: 2; top: -13px; left: 26px; padding: 4px 14px; border-radius: 999px; font-family: var(--heading); font-weight: 700; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: #1c1404; background: linear-gradient(180deg, #ffe6a1, var(--gold)); }
.custom { margin-top: 30px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 20px;
  background: linear-gradient(90deg, rgba(232, 191, 90, .08), rgba(232, 191, 90, .16), rgba(232, 191, 90, .06)); box-shadow: inset 0 0 0 1px rgba(232, 191, 90, .4); }
.custom h3 { font-size: clamp(26px, 3vw, 34px); }
.custom p { margin-top: 12px; color: #c9cfe6; font-size: 16px; }
.custom-action { text-align: center; }
.challenge { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--gold-light); margin-bottom: 20px; }

/* The format photo, at the top of the card. */
.format-photo { margin: 0 -26px 22px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px 20px 0 0; }
.format-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-soft); }
.format:hover .format-photo img { transform: scale(1.04); }
.compare { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px 26px 34px; border-radius: 20px;
  border: 2px solid transparent;
  background: linear-gradient(100deg, #101b52, #0a1238) padding-box,
              linear-gradient(90deg, var(--coral), var(--turquoise), var(--violet), var(--gold)) border-box;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 50px rgba(120, 110, 255, .12); }
.compare-title { font-family: var(--heading); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; text-transform: uppercase; color: #fff; }
.compare-text p + p { margin-top: 6px; color: #c9cfe6; font-size: 15.5px; }
.compare .button { flex: none; height: 58px; padding: 0 30px; font-size: 16px; }
.table-icon { width: 22px; height: 22px; }
/* Desktop: same columns and inner margins as the "Parlons-en" block below, so both buttons share one axis (2px border included) */
@media (min-width: 961px) {
  .compare { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; padding: 26px calc(clamp(28px, 4vw, 44px) - 2px); }
  .compare .button { justify-self: center; }
}
@media (max-width: 760px) {
  .compare { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; gap: 18px; }
  .compare .button { width: 100%; padding: 0 14px; font-size: 14px; letter-spacing: .08em; gap: 8px; }
}

/* The format comparison table */
.comparison-window { width: min(1180px, 100% - 32px); }
.comparison-body { padding: clamp(24px, 4vw, 44px); }
.comparison-body h3 { margin-top: 6px; font-size: clamp(30px, 4vw, 44px); }
.comparison-body h3 em { font-style: normal; color: var(--gold); }
.table-scroll { margin-top: 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.comparison th, .comparison td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.comparison thead th { font-family: var(--heading); font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--c, var(--line)); }
.comparison thead th em { font-style: normal; color: var(--c); }
.comparison thead th[class^="f-"] { text-align: center; }
.comparison .f-pop { --c: var(--coral); }
.comparison .f-compact { --c: var(--turquoise); }
.comparison .f-studio { --c: var(--violet); }
.comparison .f-show { --c: var(--gold); }
.comparison tbody th { width: 24%; font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.comparison tbody td { color: #d2d7ec; }
.comparison tbody tr:hover td, .comparison tbody tr:hover th { background: rgba(255, 255, 255, .03); }
.comparison tr.group th { padding-top: 26px; font-family: var(--heading); font-weight: 800; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--line); }
.comparison tr.group:first-child th { padding-top: 14px; }
.comparison tr.center td { text-align: center; font-family: var(--heading); font-weight: 600; font-size: 17px; color: #fff; }
.comparison .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; font-weight: 700; color: #1c1404; background: linear-gradient(180deg, #ffe6a1, var(--gold)); }
.comparison .no { color: rgba(255, 255, 255, .28); font-weight: 600; }
.comparison-note { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.comparison-body .button { margin-top: 22px; }
.comparison-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.comparison tr.group-start th, .comparison tr.group-start td { padding-top: 30px; border-top: 1px solid rgba(232, 191, 90, .35); }
/* Phone: the 4 formats side by side, each criterion on its own row above its 4 values;
   the format header stays stuck at the top while scrolling. */
@media (max-width: 900px) {
  .table-scroll { overflow: visible; margin-top: 18px; }
  .comparison { min-width: 0; display: block; font-size: 13px; }
  .comparison thead, .comparison tbody { display: block; }
  .comparison tr { display: grid; grid-template-columns: repeat(4, 1fr); }
  .comparison thead { position: sticky; top: -1px; z-index: 3; background: rgba(9, 16, 52, .97); box-shadow: 0 10px 18px rgba(4, 8, 30, .6); }
  .comparison thead th:first-child { display: none; }
  .comparison thead th { padding: 12px 2px 10px; font-size: 15px; letter-spacing: .02em; text-align: center; }
  .comparison thead .lmdq { display: none; }
  .comparison tbody th { grid-column: 1 / -1; width: auto; padding: 14px 4px 6px; border-bottom: 0; font-size: 11.5px; text-align: center; }
  .comparison tbody td { padding: 2px 3px 12px; text-align: center; font-size: 13px; line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .comparison tr.center td { font-size: 14px; }
  .comparison tr.group-start td { padding-top: 2px; border-top: 0; }
  .comparison tr.group-start th { padding-top: 28px; }
  .comparison tr.group th { padding-top: 22px; font-size: 13px; text-align: left; }
  .comparison .yes { width: 22px; height: 22px; font-size: 13px; }
  .comparison tbody tr:hover td, .comparison tbody tr:hover th { background: none; }
}

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

/* ---------- Gallery ---------- */
.gallery { background: var(--night); }
.filters { margin: 34px auto 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.filters button { height: 42px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--heading); font-weight: 600; font-size: 14px; letter-spacing: .18em;
  text-transform: uppercase; color: #cfd4ea; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: all .3s; }
.filters button:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--gold); }
.filters button[aria-selected="true"] { color: #1c1404; background: var(--gold); box-shadow: none; }
.wall { margin-top: 40px; columns: 3 320px; column-gap: 18px; }
.thumbnail { position: relative; display: block; margin-bottom: 18px; break-inside: avoid; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(232, 191, 90, .16); }
.thumbnail img { width: 100%; height: auto; transition: transform 1.1s var(--ease-soft), filter .6s; }
.thumbnail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5, 10, 31, .55)); opacity: 0; transition: opacity .5s; }
.thumbnail:hover img { transform: scale(1.05); }
.thumbnail:hover::after { opacity: 1; }
.thumbnail.filtered-out { display: none; }
.viewer { margin: auto; width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: 0; border: 0; background: transparent; display: none; }
.viewer[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; animation: fade-in .35s ease; }
@keyframes fade-in { from { opacity: 0; } }
.viewer figure { grid-column: 2; display: grid; justify-items: center; gap: 14px; }
.viewer img { max-height: calc(100vh - 120px); width: auto; border-radius: 12px; box-shadow: 0 30px 100px rgba(0, 0, 0, .8); }
.viewer figcaption { color: var(--muted); font-size: 15px; text-align: center; }
.prev, .next { width: 54px; height: 54px; justify-self: center; border-radius: 50%; border: 0; cursor: pointer; font-size: 34px; line-height: 1; color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background-color .3s, color .3s; }
.prev:hover, .next:hover { background: var(--gold); color: var(--night); }
.prev { grid-column: 1; } .next { grid-column: 3; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 50% at 30% 100%, rgba(150, 100, 25, .22), transparent 70%), linear-gradient(180deg, var(--night), var(--ink)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.four { list-style: none; margin-top: 34px; display: grid; gap: 6px; }
.four li { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.2vw, 28px); color: #fff; }
.four em { font-style: normal; color: var(--gold); }
.promise { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.promise-title { font-family: var(--heading); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.promise ol { list-style: none; counter-reset: step; margin-top: 16px; display: grid; gap: 14px; }
.promise li { counter-increment: step; position: relative; padding-left: 52px; color: #c9cfe6; font-size: 16.5px; line-height: 1.45; }
.promise li b { color: #fff; font-weight: 600; }
.promise li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 17px; color: #1c1404; background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 0 16px rgba(232, 191, 90, .4); }
/* Honeypot field for bots: off screen, never seen by visitors */
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form.sent > :not(.form-thanks) { display: none; }
.form-thanks { text-align: center; padding: 30px 10px 24px; animation: pop-in .6s var(--ease-soft); }
.thanks-icon { width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #1c1404;
  background: linear-gradient(180deg, #ffe6a1, var(--gold) 55%, #c99734); box-shadow: 0 0 0 10px rgba(232, 191, 90, .14), 0 0 50px rgba(232, 191, 90, .45); }
.form-thanks p:not(.thanks-icon) { margin-top: 14px; color: #c9cfe6; font-size: 16.5px; }
.form-note.send-error { color: #ff9a9a; }
.form .button[disabled] { opacity: .65; cursor: progress; transform: none; }
.form { padding: clamp(28px, 4vw, 46px); border-radius: 22px; background: linear-gradient(170deg, rgba(232, 191, 90, .12), rgba(14, 22, 66, .7) 40%);
  box-shadow: inset 0 0 0 1.5px rgba(232, 191, 90, .5), 0 40px 100px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); }
.form h3 { font-size: clamp(28px, 3vw, 36px); }
.form-intro { margin-top: 10px; color: #c9cfe6; font-size: 16px; }
.fields { margin: 26px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.fields label { display: grid; gap: 6px; font-family: var(--heading); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.fields label .optional { font-family: var(--body); font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.fields .wide { grid-column: 1 / -1; }
/* Between the two required fields and the optional ones */
.fields-group { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.45; }
/* A link to the form lands on the form itself (below the fixed header) */
.form { scroll-margin-top: 16px; }
.fields input, .fields select, .fields textarea { width: 100%; font: 400 16px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: #fff; padding: 12px 14px; border-radius: 10px; border: 0;
  background: rgba(3, 6, 26, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: box-shadow .3s; }
.fields select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.fields textarea { resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.fields .error { box-shadow: inset 0 0 0 1.5px #ff7a7a; }
.form .button { width: 100%; }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid rgba(232, 191, 90, .2); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 110px; height: auto; }
.motto { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--gold-light); white-space: nowrap; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; justify-self: center; }
.footer-links a { text-decoration: none; font-family: var(--heading); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--gold-light); }
.footer-production { justify-self: end; display: grid; justify-items: center; gap: 10px; }
.footer-production p { font-family: var(--heading); font-weight: 600; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.footer-bottom { margin-top: 50px; text-align: center; font-size: 13px; color: #6f7799; letter-spacing: .04em; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); transition-delay: var(--delay, 0s); }
.js .reveal.shown { opacity: 1; transform: none; }

/* ---------- Medium and small screens ---------- */
@media (max-width: 1180px) {
  .formats-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
}
@media (max-width: 1100px) {
  .menu { gap: 18px; }
  .menu a { letter-spacing: .14em; }
  .portal-link span { display: none; }
  .occasions-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .formats-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
}
@media (max-width: 960px) {
  .header { gap: 14px; }
  .burger { display: block; }
  /* Phone and tablet: the contact button stays in view, the portal (for existing clients) moves into the menu */
  .portal-link { display: none; }
  .header-actions { margin-left: auto; }
  .burger { margin-left: 0; }
  .menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 22px; margin: 0;
    background: rgba(3, 6, 26, .96); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .menu.open { opacity: 1; visibility: visible; }
  /* The header blur would confine the full-screen menu to the header height */
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .menu a { font-size: 22px; }
  .menu-mobile { display: block; }
  .portal-mobile { display: block; color: var(--gold-light) !important; }
  .concept-grid, .contact-grid { grid-template-columns: 1fr; }
  .concept-photo { max-width: 520px; }
  .three { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .custom { grid-template-columns: 1fr; }
  .window-body { grid-template-columns: 1fr; }
  .window-screen { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-production { justify-self: center; }
}
@media (max-width: 600px) {
  .stat { padding: 26px 8px; }
  .stat span { font-size: 12px; letter-spacing: .12em; }
  .formats-grid { grid-template-columns: 1fr; max-width: 520px; }
  body { font-size: 16px; }
  .header { height: 68px; }
  .brand span { display: none; }
  .brand img, .header.scrolled .brand img { width: 50px; height: 50px; }
  .portal-link { padding: 8px 12px; letter-spacing: .12em; }
  .header-actions .header-contact { height: 40px; padding: 0 16px; font-size: 13px; letter-spacing: .1em; }
  .hero { padding-top: 120px; }
  .button { height: 50px; padding: 0 22px; font-size: 15px; }
  .buttons { flex-direction: column; width: 100%; }
  .occasions-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .game-text h3 { font-size: 21px; }
  .game-short { display: none; }
  .fields { grid-template-columns: 1fr; }
  .marquee img { height: 110px; }
  .viewer[open] { grid-template-columns: 50px 1fr 50px; }
  .prev, .next { width: 42px; height: 42px; font-size: 26px; }
  .video-frame { border-radius: 14px; }
  .video-overlay { gap: 12px; }
  .video-label { font-size: 10.5px; letter-spacing: .14em; padding: 6px 12px; max-width: none; text-align: center; white-space: nowrap; }
  .video-source { font-size: 10.5px; margin-top: -4px; }
  .eyebrow { font-size: 12px; letter-spacing: .22em; }
  .eyebrow::before, .eyebrow.center::after, .hero-text .eyebrow::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Text page: privacy policy */
.legal-text { padding-top: 150px; }
.legal-text .wrapper { max-width: 820px; }
.legal-text h1 { font-family: var(--heading); font-weight: 800; text-transform: uppercase; line-height: .96; color: #fff; font-size: clamp(38px, 6vw, 64px); }
.legal-text .updated { margin: 12px 0 34px; color: var(--muted); font-size: 14px; }
.legal-text h2 { margin: 40px 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.legal-text h3 { margin: 24px 0 8px; font-family: var(--heading); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.legal-text p, .legal-text li { color: #c9cfe6; font-size: 16.5px; line-height: 1.7; }
.legal-text p + p { margin-top: 12px; }
.legal-text ul { margin: 10px 0 0 22px; }
.legal-text li + li { margin-top: 6px; }
.legal-text a, .form-privacy a, .footer-bottom a { color: var(--gold-light); }
.legal-text .back { margin-top: 44px; }
.legal-text .back a { color: #fff; }
.text-page .header-actions { margin-left: auto; }
.text-page .footer { padding-top: 10px; }
/* The notice under the form (Law 25) */
.form-privacy { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }

/* ---------- Occasion pages (party-de-noel/, consolidation-equipe/, congres/, municipalites-festivals/) ---------- */
/* Built by web/build_occasion_pages.py. Also: the occasion cards of the home page that link to them. */
a.occasion { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
/* "En savoir plus" sits at the bottom of the card, so the links of one row line up. */
a.occasion .occasion-more { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.occasion-more { display: inline-block; margin-top: 16px; font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); }
.occasion-more span { display: inline-block; transition: transform .3s var(--ease-soft); }
a.occasion:hover .occasion-more span, a.occasion:focus-visible .occasion-more span { transform: translateX(5px); }
.page-hero { min-height: 0; padding: 160px 0 90px; }
.page-hero h1 { max-width: 15em; font-size: clamp(40px, 5.6vw, 84px); }
.page-hero .intro { margin-top: 24px; }
.page-hero .buttons { margin-top: 34px; }
.page-hero-photo { margin-top: clamp(44px, 6vw, 70px); aspect-ratio: 16 / 7; border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px rgba(0, 0, 0, .55); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.occasions-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.center-link { margin-top: 44px; }
.format-list { margin-top: clamp(56px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.format-chip { --c: var(--gold); position: relative; display: flex; flex-direction: column; padding: 34px 24px 22px; border-radius: 20px;
  background: linear-gradient(165deg, rgba(40, 55, 150, .22), rgba(10, 18, 55, .38)); box-shadow: inset 0 0 0 1px rgba(232, 191, 90, .16);
  border-top: 3px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.format-chip.pop { --c: var(--coral); }
.format-chip.compact { --c: var(--turquoise); }
.format-chip.studio { --c: var(--violet); }
.format-chip.show { --c: var(--gold); }
.format-chip:not(.recommended) .format-name, .format-chip:not(.recommended) .format-text { opacity: .78; }
.format-chip.recommended { border-top-color: var(--c);
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%),
              linear-gradient(165deg, rgba(48, 64, 170, .42), rgba(12, 20, 62, .6));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 24px 60px rgba(0, 0, 0, .45),
              0 0 50px color-mix(in srgb, var(--c) 16%, transparent); }
.format-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -55%); display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px 6px 11px; border-radius: 999px; white-space: nowrap; background: var(--c); color: #12091f;
  font-family: var(--heading); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 35%, transparent), 0 0 0 4px var(--night); }
.format-badge svg { width: 14px; height: 14px; fill: currentColor; }
.format-chip .format-name { font-family: var(--heading); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: #fff; }
.format-chip .format-name em { font-style: normal; color: var(--c); }
.format-size { margin-top: 8px; font-family: var(--heading); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.format-for { margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--c); font-family: var(--heading); font-weight: 700;
  font-size: 19px; line-height: 1.2; color: var(--c); }
.format-text { margin-top: 14px; color: #c4cae2; font-size: 15.5px; line-height: 1.55; flex: 1; }
@media (max-width: 1100px) { .format-list { grid-template-columns: repeat(2, 1fr); row-gap: 34px; max-width: 760px; margin-inline: auto; } }
.steps { list-style: none; counter-reset: step; margin-top: clamp(50px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: step; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: var(--display); font-weight: 900;
  font-size: 34px; line-height: 1; color: var(--gold); }
.steps p { color: #dfe3f2; font-size: 16.5px; line-height: 1.55; }
.faq { max-width: 880px; margin: clamp(44px, 5vw, 64px) auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--heading); font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--body); font-size: 30px; line-height: 1; color: var(--gold); transition: transform .3s var(--ease-soft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-light); }
.faq details p { padding: 0 4px 24px; color: #c4cae2; font-size: 16.5px; }
@media (max-width: 900px) {
  .occasions-grid.cols-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .format-list { grid-template-columns: 1fr; max-width: 420px; }
  .page-hero { padding: 130px 0 70px; }
  .page-hero-photo { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Consent banner (Meta pixel): Refuser and Accepter look the same, on purpose (law 25) ---------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 12px 20px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 10, 31, .96); box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  color: var(--text); font-size: 14px; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent b { display: block; margin-bottom: 4px; font-family: var(--heading); font-size: 17px; letter-spacing: .02em; color: var(--gold-light); }
.consent a { color: var(--gold-light); }
.consent-buttons { flex: none; display: flex; gap: 10px; }
.consent-buttons .button { min-width: 104px; height: 38px; padding: 0 16px; color: var(--text); background: transparent; border: 1px solid var(--gold); }
.consent-buttons .button:hover { background: rgba(232, 191, 90, .14); }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; font-size: 13px; gap: 10px; }
  .consent-buttons .button { flex: 1; }
}
.self-note { position: fixed; z-index: 61; left: 16px; right: 16px; top: 86px; max-width: 520px; margin: 0 auto; padding: 12px 16px; border: 1px solid var(--gold);
  border-radius: var(--radius); background: rgba(5, 10, 31, .96); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); color: var(--text); font-size: 14px; line-height: 1.45; text-align: center; cursor: pointer; }
.self-note[hidden] { display: none; }
.consent-link { margin-left: 14px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-link[hidden] { display: none; }
