/* Uncle Gerard's Datacenter — site de présentation (mobile d'abord).
   Charte du logo B : orange #F28C28, bleu #4A90D9, contour brun #2A1A14, crème #FFF4E0,
   rouge casquette #D7263D (ombre #9E1B2E), câble vert #4CE07A, bleu nuit #2C3F66 → #18233D. */
:root {
  --ink: #2A1A14;
  --cream: #FFF4E0;
  --paper: #FFFBF2;
  --orange: #F28C28;
  --orange-l: #FFB766;
  --blue: #4A90D9;
  --blue-l: #A9CDF2;
  --red: #D7263D;
  --red-d: #9E1B2E;
  --green: #4CE07A;
  --green-d: #1E8C45;
  --night: #18233D;
  --night2: #2C3F66;
  --postit: #FFE873;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-s: 3px 3px 0 var(--ink);
  --radius: 18px;
  --title: "Arial Black", "Arial Bold", Gadget, "Helvetica Neue", Arial, system-ui, sans-serif;
  --comic: "Comic Neue", "Comic Sans MS", "Chalkboard SE", "Comic Relief", "Segoe Print", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --cable: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'%3E%3Cpath d='M0 8 C 20 0, 40 0, 60 8 S 100 16, 120 8' fill='none' stroke='%232A1A14' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M0 8 C 20 0, 40 0, 60 8 S 100 16, 120 8' fill='none' stroke='%234CE07A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --plug: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='22' viewBox='0 0 34 22'%3E%3Crect x='2' y='3' width='18' height='16' rx='4' fill='%23E8E8EE' stroke='%232A1A14' stroke-width='2.5'/%3E%3Crect x='20' y='6' width='9' height='3' rx='1' fill='%23C9CDD6' stroke='%232A1A14' stroke-width='1.5'/%3E%3Crect x='20' y='13' width='9' height='3' rx='1' fill='%23C9CDD6' stroke='%232A1A14' stroke-width='1.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site {
  margin: 0;
  font: 17px/1.6 var(--body);
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(42, 26, 20, .07) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--red-d); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--title); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: #6b5a50; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
main { display: block; }

/* --- Boutons, tampons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  font: 900 1rem/1.15 var(--title); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; text-align: center;
  color: var(--ink); background: var(--orange);
  border: var(--line); border-radius: 999px; box-shadow: var(--shadow-s);
  cursor: pointer; transition: transform .12s, box-shadow .12s, background-color .12s;
}
.btn:hover { color: var(--ink); background: var(--orange-l); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { background: #fff; }
.btn-green { background: var(--green); }
.btn-green:hover { background: #7ff0a1; }
.btn-steam { background: var(--orange); font-size: 1.05rem; padding: 12px 24px; }
.btn-led { width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); flex: none; animation: blink 1.6s infinite; }
.steam-stamp {
  display: inline-block; padding: 10px 22px;
  font: 900 1.05rem/1.1 var(--title); text-transform: uppercase; letter-spacing: .03em;
  color: var(--red); background: var(--paper);
  border: var(--line); border-radius: 999px; box-shadow: var(--shadow-s);
  transform: rotate(-3deg); cursor: default; user-select: none;
}
.steam-stamp.cta-small, .btn-steam.cta-small, .steam-badge.cta-small { font-size: .85rem; min-height: 0; padding: 7px 16px; }
.steam-badge { display: inline-block; line-height: 0; border-radius: 6px; }
.steam-badge img { max-height: 64px; width: auto; }
.steam-badge.cta-small img { max-height: 44px; }

/* --- Titres BD & séparateurs câbles ---------------------------------------- */
.comic-title { text-align: center; margin: 0 auto 1.4em; font-size: clamp(1.7rem, 6vw, 2.8rem); text-transform: uppercase; }
.comic-title span {
  display: inline-block; position: relative; padding: 0 .1em .35em;
  color: var(--orange); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
}
.comic-title span::after {
  content: ""; position: absolute; left: 0; right: 18px; bottom: 0; height: 16px;
  background: var(--cable) repeat-x 0 0 / 120px 16px;
}
.comic-title span::before {
  content: ""; position: absolute; right: -14px; bottom: -3px; width: 34px; height: 22px; background: var(--plug) no-repeat center / contain;
}
.sec:nth-of-type(3n+2) .comic-title span { color: var(--blue); }
.cable-sep { height: 16px; background: var(--cable) repeat-x 0 0 / 120px 16px; }

/* --- Cartes façon stickers ------------------------------------------------- */
.card {
  position: relative; background: var(--paper); border: var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.card.paper::before { /* scotch */
  content: ""; position: absolute; top: -14px; left: 50%; width: min(110px, 40%); height: 28px; translate: -50% 0;
  background: rgba(255, 240, 190, .82); border: 1px solid rgba(42, 26, 20, .25); transform: rotate(-4deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(1.1deg); }
.c-orange { background: var(--orange); }
.c-blue { background: var(--blue-l); }
.c-green { background: #A8F0BE; }
.c-red { background: var(--red); color: #fff; }
.c-red a { color: #fff; }

/* --- En-tête --------------------------------------------------------------- */
.site-head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 8px max(14px, calc((100% - var(--wrap)) / 2));
  background: var(--paper); border-bottom: var(--line);
}
.head-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mini { height: 40px; width: auto; }
.mini-txt { font: 900 1.2rem var(--title); color: var(--orange); -webkit-text-stroke: 1px var(--ink); }
.leds { display: inline-flex; gap: 4px; }
.leds i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--green); animation: blink 1.4s infinite; }
.leds i:nth-child(2) { background: var(--orange); animation-delay: .45s; }
.leds i:nth-child(3) { background: var(--red); animation-delay: .9s; animation-duration: 2.3s; }
@keyframes blink { 50% { opacity: .25; } }
.head-nav { display: flex; gap: 4px; flex: 1 1 auto; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.head-nav::-webkit-scrollbar { display: none; }
.head-nav a {
  white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink);
  font: 900 .85rem var(--title); text-transform: uppercase;
}
.head-nav a:hover { background: var(--cream); }
.head-nav .nav-contest { background: var(--green); border: 2px solid var(--ink); }
.lang-switch {
  flex: none; padding: 6px 12px; border: var(--line); border-radius: 10px; background: var(--blue); color: var(--ink);
  font: 900 .85rem var(--title); text-decoration: none; box-shadow: 2px 2px 0 var(--ink);
}
.lang-switch:hover { color: var(--ink); background: var(--blue-l); }
@media (max-width: 640px) {
  .head-nav { order: 3; flex-basis: 100%; justify-content: flex-start; margin: 0 -14px; padding: 0 10px 2px; }
  .lang-switch { margin-left: auto; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 820px); display: grid; place-items: center;
  padding: 48px 16px 64px; color: var(--cream); text-align: center;
  background: linear-gradient(160deg, var(--night2), var(--night));
  border-bottom: var(--line);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .8s; }
.hero-video.on { opacity: 1; }
.hero::after { /* voile pour la lisibilité */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(24, 35, 61, .35), rgba(24, 35, 61, .82) 75%), linear-gradient(180deg, rgba(24, 35, 61, .2), rgba(24, 35, 61, .65));
}
.hero-inner { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-logo { margin: 0; line-height: 0; }
.logo-img { width: min(680px, 92vw); filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); }
.txt-logo { display: inline-flex; flex-direction: column; line-height: .95; font-family: var(--title); font-weight: 900; text-transform: uppercase; }
.txt-logo .l1 { color: var(--orange); font-size: clamp(2rem, 9vw, 4.2rem); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 0 0 var(--cream), 4px 4px 0 var(--ink); }
.txt-logo .l2 { color: var(--blue); font-size: clamp(2.3rem, 10.5vw, 4.9rem); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.txt-logo::after { content: ""; height: 16px; margin-top: 10px; background: var(--cable) repeat-x 0 0 / 120px 16px; }
.bubble {
  position: relative; display: inline-block; max-width: 34em; margin: 0;
  padding: 14px 22px; font: 700 clamp(1.1rem, 4.4vw, 1.45rem)/1.3 var(--comic);
  color: var(--ink); background: #fff; border: var(--line); border-radius: 26px; box-shadow: var(--shadow-s);
}
.bubble::after { /* queue de la bulle */
  content: ""; position: absolute; left: 34px; bottom: -19px; width: 26px; height: 20px;
  background: #fff; border-right: var(--line); border-bottom: var(--line); transform: skewX(-35deg) rotate(8deg);
}
.hero-sub { max-width: 40em; font-size: 1.05rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.hero-sub p { margin: 0; }
.hero-sub strong { color: var(--orange-l); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; margin-top: 6px; }
.hero-pause {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--cream); background: rgba(24, 35, 61, .7); color: var(--cream); font-size: 1rem; cursor: pointer;
}

/* --- Bannière concours ------------------------------------------------------ */
.contest-banner { padding: 26px 14px 0; }
.contest-inner {
  max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--green); padding: 16px 20px;
}
.contest-stamp { font-size: 2.2rem; line-height: 1; }
.contest-text { flex: 1 1 260px; }
.contest-text p { margin: 0; }

/* --- Sections ---------------------------------------------------------------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 56px 16px 8px; }
.page-head { padding-bottom: 0; }
.lead { font-size: 1.1rem; max-width: 40em; margin-left: auto; margin-right: auto; }
.more { text-align: center; margin-top: 24px; }
.note { background: var(--postit); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 14px; transform: rotate(-.6deg); box-shadow: var(--shadow-s); max-width: 820px; margin: 0 auto 22px; }
.pitch { max-width: 820px; margin: 0 auto; font-size: 1.08rem; padding: 28px clamp(18px, 4vw, 40px); }
.pitch p:last-child { margin-bottom: 0; }

.trailer-frame { max-width: 1180px; margin: 0 auto; border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--night); }
.trailer-frame video { display: block; width: 100%; height: auto; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.feature { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.feature-img { border-bottom: var(--line); aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { margin: 16px 18px 8px; }
.feature-text { padding: 0 18px 16px; }
.feature-text p { margin: 0; }
.feature-icon { display: inline-block; }

.coop { display: grid; gap: 34px; align-items: center; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
.coop-text { padding: 26px clamp(18px, 4vw, 34px); }
.coop-text ul { padding-left: 1.2em; }
.coop-text p:last-child { margin-bottom: 0; }
.big-bubble { justify-self: center; font-size: clamp(1.3rem, 5vw, 1.8rem); padding: 20px 28px; }
@media (min-width: 860px) { .coop { grid-template-columns: 3fr 2fr; } }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.gallery li { border: var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); background: var(--night); }
.gallery a { display: block; line-height: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.press-shots span { display: block; padding: 8px; line-height: 1.3; font-size: .85rem; background: var(--paper); color: var(--ink); }

.news-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-cover { display: block; aspect-ratio: 16 / 9; background: var(--night2); border-bottom: var(--line); overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-ph { display: block; height: 100%; background: var(--cable) repeat 0 50% / 120px 16px, var(--night2); }
.news-body { padding: 14px 18px 18px; }
.news-body time { font: 700 .85rem var(--comic); color: #6b5a50; }
.news-body h2, .news-body h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.news-body h2 a, .news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h2 a:hover, .news-body h3 a:hover { color: var(--red); }
.news-body p { margin: 0; }
.lang-badge { display: inline-block; margin-top: 8px; font-size: .75rem; padding: 2px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--postit); }
.rss-link { font: 900 .85rem var(--title); text-transform: uppercase; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.faq details { padding: 0; }
.faq details.card.paper::before { display: none; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font: 900 1.05rem var(--title); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--green); }
.faq-a { padding: 0 20px 16px; }
.faq-a p:last-child { margin-bottom: 0; }

/* --- Article / pages ----------------------------------------------------------- */
.post { max-width: 860px; }
.post-back { margin-bottom: 18px; }
.post-head { text-align: center; }
.post-head .comic-title { margin-bottom: .6em; font-size: clamp(1.6rem, 6vw, 2.5rem); }
.post-date { font: 700 1rem var(--comic); color: #6b5a50; }
.post-cover { padding: 0; overflow: hidden; line-height: 0; margin: 0 0 30px; }
.post-cover img { width: 100%; }
.post-cta { text-align: center; margin-top: 30px; }
.prose { padding: 28px clamp(18px, 4vw, 40px); overflow-wrap: anywhere; }
.prose h2 { font-size: 1.45rem; margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.1em; }
.prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 5px solid var(--orange); background: var(--cream); border-radius: 0 10px 10px 0; }
.prose code { background: var(--cream); border: 1px solid #d9c8b4; border-radius: 4px; padding: 0 4px; }
.prose hr { border: 0; height: 16px; background: var(--cable) repeat-x 0 0 / 120px 16px; margin: 1.6em 0; }
.prose p:last-child { margin-bottom: 0; }
.rich-media { margin: 1.4em 0; }
.rich-media img, .rich-media video { display: block; width: 100%; height: auto; border: var(--line); border-radius: 12px; background: var(--night); }
.rich-media.vid video { max-height: 80vh; object-fit: contain; }
.rich-media figcaption { font: 700 .9rem var(--comic); text-align: center; margin-top: 8px; color: #6b5a50; }

.embed {
  position: relative; margin: 1.4em auto; aspect-ratio: 16 / 9; width: 100%;
  border: var(--line); border-radius: 12px; overflow: hidden; background: var(--night) var(--cable) repeat-x 0 92% / 120px 16px;
}
.embed-tt { aspect-ratio: 9 / 16; max-width: 340px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-play {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 0; background: transparent; color: var(--cream); font: 900 1rem var(--title); cursor: pointer; padding: 16px;
}
.embed-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red); border: var(--line); box-shadow: var(--shadow-s); font-size: 1.6rem; color: #fff; }
.embed-play small { font: 400 .8rem var(--body); opacity: .9; }
.embed-link { position: absolute; left: 10px; bottom: 8px; font-size: .78rem; color: var(--cream); }
.embed.on .embed-play, .embed.on .embed-link { display: none; }

.press-texts { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-bottom: 40px; }
.press-texts h2 { font-size: 1.2rem; }
.press-h { margin: 30px 0 16px; }
.press-logo { text-align: center; background: var(--night2); }
.press-logo p { margin: 10px 0 0; }
.press-logo a { color: var(--cream); }
.notfound .tripped-alert { display: inline-block; margin-bottom: 20px; }

/* --- Pied de page -------------------------------------------------------------- */
.site-foot { margin-top: 70px; background: var(--night); color: var(--cream); position: relative; }
.site-foot a { color: var(--orange-l); }
.site-foot a:hover { color: #fff; }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding: 34px 16px 20px; display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.foot-name { font: 900 1.1rem var(--title); color: var(--orange); margin-bottom: 6px; }
.foot-text p { margin: 0 0 12px; font-size: .92rem; }
.foot-h { font: 900 .85rem var(--title); text-transform: uppercase; color: var(--blue-l); margin: 0 0 8px; }
.foot-social ul, .foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.social { display: inline-block; padding: 4px 12px; border: 2px solid var(--cream); border-radius: 999px; text-decoration: none; }
.breaker-box { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 0 26px; }
.breaker {
  width: 34px; height: 48px; border-radius: 6px; border: 3px solid var(--cream); background: #3a4766; cursor: pointer; padding: 0; position: relative;
}
.breaker-lever { position: absolute; left: 6px; right: 6px; top: 6px; height: 16px; border-radius: 3px; background: var(--green); border: 2px solid var(--ink); transition: top .15s; }
.breaker[aria-pressed="true"] .breaker-lever { top: 22px; background: var(--red); }
.breaker-tag { font: 700 .75rem var(--comic); background: var(--postit); color: var(--ink); padding: 2px 8px; transform: rotate(-3deg); border-radius: 2px; }

/* --- Easter egg : disjoncteur ---------------------------------------------------- */
.tripped { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8, 10, 20, .94); }
.tripped[hidden] { display: none; }
.tripped-box { max-width: 420px; text-align: center; color: var(--cream); }
.tripped-alert {
  display: inline-block; padding: 12px 22px; font: 900 clamp(1.5rem, 7vw, 2.2rem) var(--title); letter-spacing: .04em;
  color: #fff; background: var(--red); border: 3px solid #fff; border-radius: 10px; box-shadow: 0 0 30px rgba(215, 38, 61, .7);
  animation: alarm .9s steps(2) infinite;
}
@keyframes alarm { 50% { background: var(--red-d); box-shadow: 0 0 6px rgba(215, 38, 61, .4); } }
body.lights-out { overflow: hidden; }

/* --- Lightbox ---------------------------------------------------------------------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(8, 10, 20, .94); }
.lightbox::backdrop { background: rgba(8, 10, 20, .94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; object-fit: contain; border: 3px solid var(--cream); border-radius: 10px; }
.lightbox figcaption { color: var(--cream); font: 700 1rem var(--comic); margin-top: 10px; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--ink); background: var(--orange);
  font: 900 1.3rem var(--title); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-s);
}
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; margin-top: -24px; }
.lb-next { right: 10px; top: 50%; margin-top: -24px; }

.preview-ribbon { position: sticky; top: 0; z-index: 60; text-align: center; padding: 8px; background: var(--postit); border-bottom: var(--line); font: 900 .9rem var(--title); }

/* --- Animations légères ------------------------------------------------------------ */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card.tilt-l, .card.tilt-r, .feature { transition: transform .2s; }
  .card.tilt-l:hover, .card.tilt-r:hover { transform: rotate(0) translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; translate: 0 18px; transition: opacity .5s, translate .5s, transform .2s; }
  .reveal.in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-video { display: none; }
  .tilt-l, .tilt-r, .steam-stamp { transform: none; }
}
@media print {
  .hero-media, .site-head, .site-foot, .hero-pause { display: none; }
  .hero { color: var(--ink); background: none; min-height: 0; }
}
.sec-trailer { padding-top: clamp(1rem, 3vw, 2rem); }
.sec-trailer .trailer-frame { box-shadow: 0 0 0 4px var(--night), 10px 12px 0 rgba(0,0,0,.35); }
