/* Gala — événement d'entreprise · nuit, laiton, lignes Art déco */
:root {
  --night: #0e1116; --night-2: var(--pc-171c24, #171c24); --brass: var(--pc-c9a46a, #c9a46a); --brass-2: var(--pc-ead3a3, #ead3a3); --silver: #eef0f3; --steel: var(--pc-5b7fa6, #5b7fa6);
  --bg: var(--night); --ink: var(--silver); --muted: color-mix(in srgb, var(--silver) 60%, transparent);
  --accent: var(--brass); --accent-ink: var(--night); --accent-soft: color-mix(in srgb, var(--brass) 12%, transparent);
  --card: var(--night-2); --line: color-mix(in srgb, var(--brass) 24%, transparent);
  --font-display: "Marcellus", serif; --font-body: "Inter", sans-serif; --radius: 0px;
}
body { background: var(--night); background-image: linear-gradient(90deg, color-mix(in srgb, var(--brass) 5%, transparent) 1px, transparent 1px); background-size: 48px 100%; }
.title { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(26px, 6.5vw, 40px); }
.title em { font-style: normal; color: var(--brass-2); }
.eyebrow { letter-spacing: .5em; }

/* Ouverture : éventail Art déco */
.intro { background: radial-gradient(circle at 50% 70%, var(--night-2), var(--night) 70%); color: var(--silver); text-align: center; }
.intro__frame { position: absolute; inset: 16px; border: 1px solid var(--line); }
.intro__frame::before { content: ""; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--brass) 12%, transparent); }
.intro__inner { position: relative; display: grid; justify-items: center; gap: 8px; padding: 24px; }
.deco { width: 260px; fill: none; stroke: var(--brass); stroke-width: 1.2; }
.deco__rays path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: ray 1.4s ease forwards; }
.deco__rays path:nth-child(2), .deco__rays path:nth-child(3) { animation-delay: .15s; }
.deco__rays path:nth-child(4), .deco__rays path:nth-child(5) { animation-delay: .3s; }
.deco__rays path:nth-child(6), .deco__rays path:nth-child(7) { animation-delay: .45s; }
.deco__rays path:nth-child(8), .deco__rays path:nth-child(9) { animation-delay: .6s; }
.deco__arc { stroke-width: 2; stroke-dasharray: 420; stroke-dashoffset: 420; animation: ray 1.8s ease .6s forwards; }
.deco__arc--in { stroke-width: 1; opacity: .6; }
@keyframes ray { to { stroke-dashoffset: 0; } }
.intro__label { margin: 10px 0 0; color: var(--brass); font: 500 11px/1 "Inter", sans-serif; letter-spacing: .5em; text-transform: uppercase; }
.intro__name { margin: 4px 0 0; font: 400 clamp(32px, 9vw, 54px)/1.1 "Marcellus", serif; letter-spacing: .06em; text-transform: uppercase; }
.intro__title { margin: 0 0 28px; color: var(--brass-2); font: 400 18px/1.3 "Marcellus", serif; letter-spacing: .14em; }
.intro__btn { min-height: 50px; padding: 0 44px; border: 1px solid var(--brass); background: linear-gradient(180deg, color-mix(in srgb, var(--brass) 20%, transparent), transparent); color: var(--brass-2); font: 500 11px/1 "Inter", sans-serif; letter-spacing: .5em; text-transform: uppercase; cursor: pointer; }
html.is-opening .deco { transition: transform 1.3s cubic-bezier(.6,0,.2,1), opacity 1.3s; transform: scale(4) translateY(10%); opacity: 0; }
html.is-opening .intro__frame { transition: inset 1.2s cubic-bezier(.6,0,.2,1), opacity 1.2s; inset: -40px; opacity: 0; }

/* Accueil : cadre à angles Art déco */
.hero { display: grid; place-items: center; min-height: 92vh; padding: 60px 20px; }
.hero__frame { position: relative; width: min(100%, 460px); padding: 44px 26px 50px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--night-2), var(--night)); text-align: center; }
.hero__frame .deco { width: 180px; margin: 0 auto 8px; }
.hero__frame .deco__rays path, .hero__frame .deco__arc { animation: none; stroke-dashoffset: 0; }
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--brass); }
.corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; } .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; } .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero__name { margin: 0; font: 400 clamp(30px, 8vw, 46px)/1.15 "Marcellus", serif; letter-spacing: .06em; text-transform: uppercase; }
.hero__title { margin: 10px 0 0; color: var(--brass-2); font: 400 clamp(22px, 6vw, 30px)/1.2 "Marcellus", serif; letter-spacing: .1em; }
.hero__quote { margin: 0 auto 18px; max-width: 360px; color: var(--muted); font-size: 14px; }
.hero__date { margin: 0; color: var(--brass); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.k-count > div { background: var(--night-2); }
.k-count strong { font-family: "Marcellus", serif; color: var(--brass-2); }
.k-card { border-top: 2px solid var(--brass); }
.k-card__badge { border-radius: 0; font-family: "Marcellus", serif; font-size: 15px; }
.k-timeline::before { left: 66px; }
.k-timeline li::before { border-radius: 0; transform: rotate(45deg); }
.k-btn { border-radius: 0; letter-spacing: .3em; }
.k-field input, .k-field select, .k-field textarea, .k-stepper, .k-choice button { border-radius: 0; }
.k-field select { background: var(--night); }
.k-stepper button { border-radius: 0; }
.k-footer__names { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(22px, 6vw, 32px); }

html { scrollbar-width: thin; scrollbar-color: var(--pc-c9a46a, #c9a46a) transparent; }
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--pc-c9a46a, #c9a46a); border-radius: 6px; }

/* ───────── Ouverture « Gala » : grandes portes Art déco, projecteurs, éventail en laiton, portes qui s’ouvrent sur la lumière ───────── */
.gl-intro { background: #07090c; isolation: isolate; perspective: 1600px; }
.gl-backlight { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 50% 50%, var(--pc-fff6dd, #fff6dd) 0%, color-mix(in srgb, var(--brass-2) 80%, transparent) 25%, color-mix(in srgb, var(--brass) 40%, transparent) 50%, #07090c 80%); opacity: 0; transition: opacity .6s ease .4s; }
.gl-door { position: absolute; top: 0; bottom: 0; width: 50.2%; z-index: 1; transition: transform 1.4s cubic-bezier(.65,0,.25,1) .5s; backface-visibility: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,0) 30%), repeating-linear-gradient(90deg, color-mix(in srgb, var(--brass) 7%, transparent) 0 1px, transparent 1px 22px), radial-gradient(120% 70% at 50% 60%, var(--night-2), var(--night) 75%); }
.gl-door--left { left: 0; transform-origin: left center; box-shadow: inset -1px 0 0 color-mix(in srgb, var(--brass) 55%, transparent), inset -14px 0 30px -18px rgba(0,0,0,.9); }
.gl-door--right { right: 0; transform-origin: right center; box-shadow: inset 1px 0 0 color-mix(in srgb, var(--brass) 55%, transparent), inset 14px 0 30px -18px rgba(0,0,0,.9); }
/* Motif en chevrons dorés gravé sur chaque battant. */
.gl-door__art { position: absolute; left: 50%; top: 50%; width: 70%; height: 74%; transform: translate(-50%, -50%); border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent); }
.gl-door__art span { position: absolute; left: 50%; width: 46%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--brass) 26%, transparent); transform: translateX(-50%) rotate(45deg); }
.gl-door__art span:nth-child(1) { top: 7%; } .gl-door__art span:nth-child(2) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); } .gl-door__art span:nth-child(3) { bottom: 7%; }
.gl-door--left .gl-door__art { left: 56%; } .gl-door--right .gl-door__art { left: 44%; }
.gl-beams { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.gl-beams i { position: absolute; bottom: -10%; left: 50%; width: 120px; height: 140%; transform-origin: 50% 100%; background: linear-gradient(0deg, color-mix(in srgb, var(--brass-2) 40%, transparent), transparent 85%); filter: blur(10px); opacity: .35; clip-path: polygon(45% 100%, 55% 100%, 100% 0, 0 0); }
.gl-beams i:nth-child(1) { animation: glBeamA 7s ease-in-out infinite; }
.gl-beams i:nth-child(2) { animation: glBeamB 7s ease-in-out infinite; }
.gl-sparkle { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gl-sparkle i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 6px 2px color-mix(in srgb, var(--brass-2) 70%, transparent); opacity: 0; animation: glTwinkle 3.5s ease-in-out infinite; }
.gl-sparkle i:nth-child(1){left:10%;top:15%}.gl-sparkle i:nth-child(2){left:88%;top:12%;animation-delay:-.4s}.gl-sparkle i:nth-child(3){left:22%;top:80%;animation-delay:-.8s}.gl-sparkle i:nth-child(4){left:76%;top:84%;animation-delay:-1.2s}.gl-sparkle i:nth-child(5){left:50%;top:6%;animation-delay:-1.6s}.gl-sparkle i:nth-child(6){left:93%;top:50%;animation-delay:-2s}.gl-sparkle i:nth-child(7){left:5%;top:56%;animation-delay:-2.4s}.gl-sparkle i:nth-child(8){left:64%;top:93%;animation-delay:-2.8s}.gl-sparkle i:nth-child(9){left:32%;top:9%;animation-delay:-3.2s}.gl-sparkle i:nth-child(10){left:70%;top:24%;animation-delay:-.2s}.gl-sparkle i:nth-child(11){left:16%;top:36%;animation-delay:-.6s}.gl-sparkle i:nth-child(12){left:84%;top:70%;animation-delay:-1s}.gl-sparkle i:nth-child(13){left:40%;top:90%;animation-delay:-1.4s}.gl-sparkle i:nth-child(14){left:58%;top:18%;animation-delay:-1.8s}.gl-sparkle i:nth-child(15){left:8%;top:92%;animation-delay:-2.2s}.gl-sparkle i:nth-child(16){left:95%;top:30%;animation-delay:-2.6s}
.gl-intro .intro__frame { z-index: 3; transition: opacity .4s ease; }
.gl-intro .intro__frame b { position: absolute; width: 38px; height: 38px; border: 2px solid var(--brass); }
.gl-intro .intro__frame b::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--brass); }
.gl-intro .intro__frame b:nth-child(1) { top: -2px; left: -2px; border-right: 0; border-bottom: 0; } .gl-intro .intro__frame b:nth-child(1)::after { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.gl-intro .intro__frame b:nth-child(2) { top: -2px; right: -2px; border-left: 0; border-bottom: 0; } .gl-intro .intro__frame b:nth-child(2)::after { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.gl-intro .intro__frame b:nth-child(3) { bottom: -2px; left: -2px; border-right: 0; border-top: 0; } .gl-intro .intro__frame b:nth-child(3)::after { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.gl-intro .intro__frame b:nth-child(4) { bottom: -2px; right: -2px; border-left: 0; border-top: 0; } .gl-intro .intro__frame b:nth-child(4)::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.gl-intro .intro__inner { z-index: 4; transition: opacity .45s ease, transform .6s ease; }
.gl-intro .deco { width: 290px; stroke: url(#glBrass); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--brass) 45%, transparent)); }
.gl-intro .deco__rays path:nth-child(n+10) { stroke-width: .6; opacity: .6; animation-delay: .75s; }
.gl-intro .deco__arc--core { stroke-width: 2.4; fill: color-mix(in srgb, var(--brass) 18%, transparent); stroke-dasharray: 140; stroke-dashoffset: 140; animation: ray 1.2s ease 1.2s forwards; }
.gl-intro .intro__name { background: linear-gradient(180deg, #ffffff, var(--brass-2) 55%, var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 12px rgba(0,0,0,.6)); animation: glIn 1s .5s both; }
.gl-intro .intro__title { margin-bottom: 6px; animation: glIn 1s .7s both; }
.gl-date { margin: 0 0 28px; color: color-mix(in srgb, var(--silver) 70%, transparent); font: 500 10.5px/1.4 "Inter", sans-serif; letter-spacing: .3em; text-transform: uppercase; animation: glIn 1s .85s both; }
.gl-intro .intro__btn { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 10%, transparent), 0 0 34px color-mix(in srgb, var(--brass) 25%, transparent); animation: glIn 1s 1s both; transition: background .3s, color .3s; }
.gl-intro .intro__btn:hover { background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: var(--night); }
/* Ouverture : l’éventail s’efface, les portes s’ouvrent vers le spectateur sur une salle illuminée. */
html.is-opening .gl-intro .intro__inner { opacity: 0; transform: scale(.94); }
html.is-opening .gl-intro .deco { transform: none; transition: none; }
html.is-opening .gl-intro .intro__frame { inset: 16px; opacity: 0; }
html.is-opening .gl-beams, html.is-opening .gl-sparkle { opacity: 0; transition: opacity .4s; }
html.is-opening .gl-backlight { opacity: 1; animation: glBloom 1.6s ease .6s forwards; }
html.is-opening .gl-door--left { transform: rotateY(-100deg); }
html.is-opening .gl-door--right { transform: rotateY(100deg); }
html.is-open .gl-intro .intro__inner { opacity: 0; }
@keyframes glBeamA { 0%, 100% { transform: translateX(-50%) rotate(-28deg); } 50% { transform: translateX(-50%) rotate(-6deg); } }
@keyframes glBeamB { 0%, 100% { transform: translateX(-50%) rotate(28deg); } 50% { transform: translateX(-50%) rotate(6deg); } }
@keyframes glTwinkle { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes glIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes glBloom { to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gl-beams i, .gl-sparkle i { animation: none !important; } }
.gl-backlight { background: radial-gradient(55% 60% at 50% 50%, var(--pc-fffaf0, #fffaf0) 0%, var(--pc-fbe7bb, #fbe7bb) 30%, color-mix(in srgb, var(--brass) 70%, transparent) 55%, #0b0d11 85%); }
@keyframes glBloom { 0% { opacity: 1; } 70% { opacity: 1; transform: scale(1.6); } 100% { transform: scale(2.4); opacity: 0; } }
.gl-intro .intro__name { font-size: clamp(26px, 7.6vw, 48px); padding: 0 18px; }
