/* Three requested surfaces only: original Lumi, current studios and the footer. */
.av-studio-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;z-index:0;transition:opacity 1.2s cubic-bezier(.4,0,.2,1);pointer-events:none}
.av-studio-frame.is-current{opacity:1;z-index:2}
.av-studio-frame.is-outgoing{opacity:1;z-index:1;transition:none}
#studioModal .studio-modal{width:min(940px,100%);max-width:940px;padding:24px}
#studioModal .eyebrow{display:none}
#studioModal .close{display:grid;place-items:center;padding:0;line-height:0;min-width:44px;min-height:44px}
#studioModal .close>svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#studioModal h3{font-size:32px;line-height:1.15;margin:0 0 8px}
#studioModal .av-studio-intro{margin-top:0;margin-bottom:16px}
.av-studio-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.av-studio-tabs button{font:inherit;font-size:13px;font-weight:650;min-height:44px;padding:10px 18px;border:1px solid #17243c25;border-radius:999px;color:#344156;background:transparent;cursor:pointer}
.av-studio-tabs button[aria-pressed=true]{background:#17243c;border-color:#17243c;color:#fff}
.av-studio-tabs button:focus-visible,.av-studio-navigation button:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
.av-studio-gallery{margin:0}
.av-studio-view{position:relative;width:100%;aspect-ratio:4/3;background:#111827;border:8px solid #111827;border-radius:19px;overflow:hidden;touch-action:pan-y}
.av-studio-view .av-studio-frame{display:block;margin:0;border:0;border-radius:0;max-width:none}
.av-studio-view::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 1.15%;
  left: 50%;
  width: 12%;
  aspect-ratio: 650 / 229;
  transform: translateX(-50%);
  background: url("/assets/accueil/47e04fee02475bb0067b.png") center / contain no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
}
.av-studio-view:has(img.is-current[src$="/studio-stop-motion-tablette-clean-v10.jpg"])::after { opacity: 1; }
.av-studio-navigation{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:12px 0}
.av-studio-description{display:grid;gap:2px;text-align:center;min-width:0}
.av-studio-description strong{font-size:14px;color:#17243c}
.av-studio-description span{font-size:12px;color:#657083}
.av-studio-navigation button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #17243c25;border-radius:50%;background:transparent;color:#17243c;line-height:0;cursor:pointer}
.av-studio-navigation button:not(.av-studio-auto)>svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.av-studio-playback{display:flex;align-items:center;justify-content:center;gap:10px}
.av-studio-navigation .av-studio-auto{border-color:transparent;width:44px;height:44px;opacity:.75}
.av-studio-navigation .av-studio-auto:hover{background:#17243c08;opacity:1}
.av-studio-navigation .av-studio-auto:disabled{opacity:.4;cursor:default}
.av-motion-icon{display:block;flex:none;width:18px;height:18px;fill:currentColor;stroke:none}
.av-play-triangle{display:none}
[aria-pressed=true]>.av-motion-icon .av-pause-bars{display:none}
[aria-pressed=true]>.av-motion-icon .av-play-triangle{display:block}
#studioModal .av-studio-cta{display:flex;justify-content:center;margin-top:0}
#studioModal .av-studio-cta .btn{margin:0;min-height:46px;padding:12px 20px;line-height:1.4;font-size:13px}
.footer .av-footer-main{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.5fr);gap:60px;align-items:start;padding:10px 0 34px}
.footer .av-footer-brand>p{max-width:350px;margin:20px 0 0;line-height:1.75;color:#b3b8c5;font-size:13px}
.footer .av-footer-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-top:5px}
.av-footer-group h3{margin:0 0 17px;color:#f7d778;font-size:11px;letter-spacing:.10em;text-transform:uppercase;font-weight:700}
.av-footer-group ul{padding:0;margin:0;list-style:none;display:grid;gap:2px}
.av-footer-group a{display:flex;align-items:center;min-height:44px;color:#e1e4eb;font-size:13px;line-height:1.5;text-decoration:none;padding:5px 0;width:fit-content}
.av-footer-group a:hover,.av-footer-legal a:hover,.av-footer-legal button:hover{color:#ffda69}
.av-footer-group a:focus-visible,.av-footer-legal a:focus-visible,.av-footer-legal button:focus-visible{outline:2px solid #ffda69;outline-offset:4px;border-radius:3px}
.av-footer-motion{display:flex;justify-content:center;align-items:center;padding:8px 0 0;margin-top:0}
.av-footer-motion .motion-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;margin:0;padding:11px 18px;border:1px solid #e6c56c65;border-radius:999px;color:#f6d57a;background:transparent;font:inherit;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer}
.av-footer-motion .motion-button::before{content:none}
.av-footer-motion .motion-button:hover{background:#ffda690b;border-color:#f6d57a}
.av-footer-motion .motion-button:focus-visible{outline:2px solid #ffda69;outline-offset:4px}
.av-footer-base{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:25px;margin-top:23px;border-top:1px solid #ffffff12}
.av-footer-legal{display:flex;flex-wrap:wrap;column-gap:22px;row-gap:5px;align-items:center}
.av-footer-legal a,.av-footer-legal button{display:inline-flex;align-items:center;justify-content:flex-start;box-sizing:border-box;margin:0;font:inherit;font-size:11px;line-height:1.5;color:#aeb5c4;text-decoration:none;background:none;border:0;padding:9px 0;min-height:44px;cursor:pointer;text-align:left}
.av-footer-base small{font-size:10px;line-height:1.6;color:#8d95a6;max-width:280px;text-align:right}
@media(max-width:1050px){.footer .av-footer-main{grid-template-columns:1fr;gap:32px}.footer .av-footer-brand>p{max-width:500px}.footer .av-footer-navigation{gap:24px}.av-footer-base{align-items:flex-start;flex-direction:column}.av-footer-base small{max-width:none;text-align:left}}
@media(max-width:600px){
 .footer{padding:38px 0 30px}.footer .av-footer-main{padding-bottom:24px;gap:28px}.footer .av-footer-navigation{grid-template-columns:1fr 1fr;gap:25px 20px}
 .av-footer-group:last-child{grid-column:1/-1}.av-footer-group:last-child ul{grid-template-columns:1fr 1fr;gap:0 20px}.av-footer-group h3{margin-bottom:8px}.av-footer-group a{min-height:44px;font-size:13px}
 .av-footer-motion{padding-top:6px}.av-footer-motion .motion-button{max-width:100%;white-space:normal;min-height:46px}
 .av-footer-base{margin-top:22px;padding-top:17px;gap:13px}.av-footer-legal{display:grid;grid-template-columns:1fr 1fr;gap:3px 20px;width:100%}.av-footer-legal a,.av-footer-legal button{min-height:44px;font-size:11px}
 #studioModal .studio-modal{padding:20px 15px}#studioModal h3{font-size:29px;line-height:1.15;margin-right:0}.av-studio-tabs{gap:6px;flex-wrap:nowrap}.av-studio-tabs button{padding:9px 12px;flex:1;font-size:12px}.av-studio-view{border-width:5px;border-radius:13px}.av-studio-navigation{gap:10px;padding:10px 0}.av-studio-description strong{font-size:12px}.av-studio-description span{font-size:11px}.av-studio-cta .btn{width:100%;font-size:13px}
}
@media(min-height:700px){#studioModal .studio-modal{width:min(940px,100%,calc((100svh - 400px)*4/3 + 48px))}}
@media(max-height:600px) and (min-width:600px){
 #studioModal .studio-modal{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:24px;padding:18px 24px}
 #studioModal .close{position:absolute;top:18px;right:18px}
 #studioModal h3{grid-column:2;grid-row:1;font-size:24px;margin:0 44px 10px 0}
 #studioModal .av-studio-intro{grid-column:2;grid-row:2;font-size:12px;margin:0 0 12px}
 #studioModal .av-studio-tabs{grid-column:2;grid-row:3;margin:0 0 12px}
 #studioModal .av-studio-gallery{grid-column:1;grid-row:1/span 5;width:100%;margin:0}
 #studioModal .av-studio-view{width:min(100%,calc((100svh - 176px)*4/3));margin-inline:auto}
 #studioModal .av-studio-navigation{padding:8px 0 0}
 #studioModal .av-studio-cta{grid-column:2;grid-row:4;justify-content:flex-start;align-self:start}
}
@media(prefers-reduced-motion:reduce){.av-studio-frame,.av-studio-view::after{transition:none}}
body.pause-motion .av-studio-frame,body.pause-motion .av-studio-view::after{transition:none}

body:has(.av-review-dock) .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

/* Comfortable space stays around the discovery label in every button state. */
.hero .hero-actions{gap:12px}
.hero .hero-actions>.btn-ghost{padding:13px 22px;min-height:46px;line-height:1.4;white-space:nowrap;justify-content:center;text-align:center}
/* Direct contact balances the pause control without adding another card. */
.av-footer-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;padding-top:2px}
.av-footer-contact h3{margin:0 0 5px;color:#f7d778;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700}
.av-footer-contact-links{display:flex;align-items:center;gap:0 24px;flex-wrap:wrap}
.av-footer-contact-links a{display:inline-flex;align-items:center;gap:9px;min-height:46px;margin:0;padding:4px 0;font-size:13px;line-height:1.5;color:#e1e4eb;text-decoration:none;white-space:nowrap}
.av-footer-contact-links a:hover{color:#ffda69}
.av-footer-contact-links a:focus-visible{outline:2px solid #ffda69;outline-offset:4px;border-radius:3px}
.av-footer-contact-links svg{display:block;flex:none;width:16px;height:16px;fill:none;stroke:#e6c56c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.av-footer-tools .av-footer-motion{justify-content:flex-end;padding:0;margin:0}
@media(max-width:700px){.av-footer-tools{grid-template-columns:1fr;gap:16px;padding-top:0}.av-footer-contact-links{gap:0 22px}.av-footer-tools .av-footer-motion{justify-content:center;padding-top:2px}}
/* Centre le crayon et son libellé dans la pastille du studio de la tablette. */
.device .tools .tool{justify-content:center;flex-shrink:0}

/* The discovery choice keeps its outline on touch screens as well as hover. */
.hero .hero-actions>.btn-ghost{box-sizing:border-box;border:1px solid #253a783d;border-radius:999px;background:#ffffff45;transition:background .2s,border-color .2s}
.hero .hero-actions>.btn-ghost:hover{background:#ffffffb8;border-color:#253a7880}
.hero .hero-actions>.btn-ghost:focus-visible{outline:3px solid #f8bd1b;outline-offset:3px}

/* The social links follow the homepage footer's existing contact and legal links. */
.av-footer-phone{
 display:inline-flex;
 align-items:center;
 flex-wrap:wrap;
 column-gap:9px;
}
.footer .av-footer-whatsapp{
 gap:7px;
 color:#c5cad5;
}
.av-footer-whatsapp::before{
 content:"";
 inline-size:3px;
 block-size:3px;
 border-radius:50%;
 background:#959dab;
}
.av-footer-socials{
 display:flex;
 flex-wrap:wrap;
 justify-content:center;
 align-items:center;
 gap:4px clamp(5px,1vw,12px);
 margin-block-start:20px;
}
.footer .av-footer-social-link{
 display:inline-grid;
 place-items:center;
 inline-size:44px;
 block-size:44px;
 flex:none;
 color:#fff;
 text-decoration:none;
 border-radius:8px;
}
.av-footer-social-icon{
 inline-size:21px;
 block-size:21px;
 display:block;
 fill:currentColor;
 transform:var(--footer-icon-transform,none);
 transition:transform 160ms ease,filter 160ms ease;
}
.footer .av-footer-social-link:focus-visible{
 outline:2px solid #ffda69;
 outline-offset:2px;
}
.av-footer-social-link:focus-visible .av-footer-social-icon{
 filter:drop-shadow(0 0 5px #ffdfa88c);
}
@media (hover:hover) and (pointer:fine){
 .av-footer-social-link:hover{--footer-icon-transform:translateY(-2px)}
 .av-footer-social-link:hover .av-footer-social-icon{filter:drop-shadow(0 0 5px #ffdfa88c)}
}
.av-footer-social-link:active{--footer-icon-transform:scale(.9)}
.pause-motion .av-footer-social-icon{transition:none;transform:none}
@media (prefers-reduced-motion:reduce){
 .av-footer-social-icon{transition:none;transform:none}
}

#studioModal .av-studio-tabs{flex-wrap:wrap}
#studioModal [data-studio-frame="3"]{object-fit:contain;background:#17203a}
/* Keep the four materials and Pause on one baseline at every studio-card width. */
#av-compagnon .lumi-big,#av-compagnon .lumi-copy {min-width:0}
#av-compagnon .av-lumi-widget {min-width:0;container-type:inline-size}
#av-compagnon .av-matter-controls {display:grid;grid-template-columns:max-content max-content repeat(3,44px);align-items:center;justify-content:center;gap:clamp(3px,.8cqw,8px)}
#av-compagnon [data-av-matter],#avLumiPause {min-width:44px;min-height:44px}
#av-compagnon [data-av-matter] {padding-inline:10px}
#av-compagnon [data-av-matter]::before {border:0}
#av-compagnon [data-av-matter]:focus-visible {
  outline:none;
  text-decoration:underline 2px;
  text-underline-offset:.3em;
}
#av-compagnon .av-medium-short {display:none}
#av-compagnon #avLumiPause {position:relative;inset:auto;justify-self:center;place-items:center;width:44px;height:44px;margin:0}
#av-compagnon #avLumiPause::before {inset:5px;border-radius:50%}
#avLumiPause:focus-visible {outline:2px solid #ffda69;outline-offset:1px}
@container (max-width:340px) {
  #av-compagnon .av-matter-controls {gap:3px}
  #av-compagnon .av-medium-full {display:none}
  #av-compagnon .av-medium-short {display:inline}
  #av-compagnon [data-av-matter] {padding-inline:6px}
}
@container (max-width:275px) {
  #av-compagnon .av-matter-controls {gap:2px}
  #av-compagnon [data-av-matter] {padding-inline:3px}
}
.nav-try .narrow-label {display:none}
@media(max-width:760px) {.nav-try .narrow-label {display:inline}.nav-try .wide-label {display:none}}
@media(max-width:440px) {
  #studioModal .av-studio-tabs {display:grid;grid-template-columns:1fr 1.8fr 1fr 1fr;gap:4px}
  #studioModal .av-studio-tabs button {min-width:0;min-height:44px;padding:5px 4px}
}

#niveaux {
  --level-width: min(1280px, calc(100% - max(36px, var(--gutter) * 2 - 20px)));
  padding-bottom: clamp(34px, 6svh, 68px);
}

/* Keep the card anchor steady as the browser bars retract. */
#niveaux::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 100svh;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  visibility: hidden;
  pointer-events: none;
}

#niveaux .level-stack {
  display: flex !important;
  flex-direction: column;
  gap: clamp(44px, 18svh, 200px);
  width: min(var(--level-stack-width, calc(100% - 28px)), var(--level-stack-limit, 1280px)) !important;
  margin-inline: auto !important;
  padding-bottom: 0 !important;
}

#niveaux .level-stack::after {
  /* Apply the same scroll space after the final card. */
  content: "";
}

/* Let the artwork and copy set the height of each stacked panel. */
#niveaux .level-panel {
  flex: none;
  height: auto !important;
  margin: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
  #niveaux.levels-framed .level-panel {
    top: var(--level-pin-top) !important;
    /* The document already reserves 104px above native fragment targets. */
    scroll-margin-top: max(0px, calc(var(--level-pin-top) - 104px)) !important;
  }

  #niveaux.levels-with-intro .levels-intro {
    position: sticky;
    top: var(--level-intro-top);
    z-index: 36;
    background: var(--paper);
    /* Reserve room for the final card so both release from the stack together. */
    margin-bottom: var(--level-last-height);
  }

  #niveaux.levels-with-intro .level-stack {
    margin-top: calc(-1 * var(--level-last-height)) !important;
    padding-top: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #niveaux.levels-framed .level-panel {
    position: relative !important;
    top: auto !important;
    scroll-margin-top: 0 !important;
  }
}

#niveaux .level-card {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  align-items: stretch;
  gap: 0;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0;
  border-radius: clamp(23px, 3.5vw, 30px) !important;
  box-shadow: 0 7px 20px rgb(21 25 35 / .10) !important;
}

#niveaux .level-panel.is-target .level-card {
  box-shadow: 0 9px 23px rgb(21 25 35 / .13), 0 0 0 1px rgb(187 140 36 / .18) !important;
}

#niveaux .level-media {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  padding: 0;
  background: transparent;
}

#niveaux .level-media::after { content: none; }

#niveaux .level-media > .animated-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Only the outer card rounds the animation. The join stays straight. */
  border-radius: 0;
  transform: none !important;
  -webkit-transform: none !important;
}

#niveaux .level-copy {
  height: auto !important;
  padding: clamp(20px, 2.3vw, 36px) clamp(20px, 3.05vw, 44px) !important;
  overflow: visible !important;
  justify-content: center;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

#niveaux .level-num {
  font-size: .6875rem;
  line-height: 1.3;
  letter-spacing: .115em;
}

#niveaux .level-copy h3 {
  font-size: clamp(2.125rem, 4.55vw, 4rem);
  line-height: 1.03;
  margin: .23em 0 .29em;
}

#niveaux .level-copy p {
  max-width: 51ch;
  font-size: clamp(1rem, 1.37vw, 1.125rem);
  line-height: 1.5;
}

#niveaux .level-copy .chips {
  gap: 6px;
  margin-top: 13px;
}

#niveaux .level-copy .chip {
  padding: 4px 8px;
  font-size: .6875rem;
  line-height: 1.35;
}

#niveaux .level-copy .level-foot {
  margin-top: 11px;
  font-size: .6875rem;
  line-height: 1.35;
}

@media (min-width: 761px) {
  #niveaux .level-stack {
    --level-stack-width: var(--level-width);
  }

  #niveaux .levels-intro {
    width: var(--level-width);
  }
}

@media (min-width: 1151px) and (min-height: 781px) {
  #niveaux .level-card {
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  }
}

@media (961px <= width <= 1150px) and (min-height: 601px) {
  #niveaux .level-card {
    grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  }
}

@media (min-width: 761px) and (min-height: 620px) {
  #niveaux .levels-intro {
    display: grid;
    justify-items: center;
    gap: clamp(9px, 1.7svh, 16px);
    padding-block: clamp(12px, 1.8svh, 22px) clamp(18px, 2.7svh, 32px);
  }

  #niveaux .levels-intro > * {
    margin-block: 0;
  }

  #niveaux .levels-intro h2 {
    max-width: 100%;
    font-size: clamp(1.875rem, 4.05vw, 3.25rem);
    line-height: 1.08;
  }

  #niveaux .levels-intro .big {
    max-width: 710px;
    font-size: clamp(1rem, 1.55vw, 1.125rem);
    line-height: 1.48;
  }
}

@media (min-width: 761px) and (620px <= height <= 840px) and (orientation: landscape) {
  #niveaux .levels-intro {
    gap: 8px;
    padding-block: 9px 13px;
  }

  #niveaux .levels-intro h2 {
    font-size: clamp(1.875rem, 3.75vw, 3rem);
  }
}

@media (max-width: 760px), (orientation: landscape) and (max-height: 600px) {
  #niveaux .level-navigation {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding: 5px 4px 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    scrollbar-width: thin;
    scrollbar-color: #b5b1a4 transparent;
  }

  #niveaux .level-navigation button {
    flex: none;
    padding-inline: 14px;
    scroll-snap-align: start;
  }

  #niveaux .level-navigation button:first-child { margin-inline-start: auto; }
  #niveaux .level-navigation button:last-child { margin-inline-end: auto; }
}

@media (orientation: landscape) and (max-height: 600px) {
  #niveaux .level-card {
    grid-template-columns: minmax(0, min(53%, max(120px, calc((100svh - 124px) * 16 / 9)))) minmax(0, 1fr);
  }
}

@media (orientation: landscape) and (max-height: 420px) {
  #niveaux .level-stack {
    padding-top: 8px !important;
    overflow: visible !important;
    gap: clamp(22px, 10svh, 40px);
  }

  #niveaux .level-copy {
    padding: 9px clamp(14px, 2.45vw, 25px) !important;
  }

  #niveaux .level-copy h3 {
    font-size: clamp(1.375rem, 3.25vw, 2.05rem);
    margin-block: .16em .24em;
  }

  #niveaux .level-copy p {
    font-size: clamp(.8125rem, 1.62vw, 1rem);
    line-height: 1.35;
  }

  #niveaux .level-copy .chips,
  #niveaux .level-copy .level-foot {
    margin-top: 6px;
  }

  #niveaux .level-copy .chips {
    gap: 4px;
  }

  #niveaux .level-copy .chip {
    padding: 2px 6px;
    font-size: .625rem;
    line-height: 1.25;
  }
}

@media (max-width: 620px) and (orientation: landscape) and (max-height: 320px) {
  #niveaux .level-card {
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  }

  #niveaux .level-copy h3 {
    font-size: 1.3125rem;
  }

  #niveaux .level-copy .chip {
    padding-inline: 5px;
  }
}

/* A portrait canvas or a roomy tablet viewport has room for the full artwork above the copy. */
@media (orientation: portrait),
  (max-width: 1200px) and (min-height: 590px),
  (max-width: 1400px) and (min-height: 735px) and (max-aspect-ratio: 5 / 3) {
  #niveaux .level-stack {
    --level-stack-limit: clamp(340px, calc((100svh - 365px) * 16 / 9), 1040px);
  }

  #niveaux .level-card {
    grid-template-columns: minmax(0, 1fr);
    container-name: level-card;
    container-type: inline-size;
  }

  #niveaux .level-copy {
    padding: clamp(18px, 2.5svh, 29px) clamp(18px, 4.1vw, 42px) clamp(20px, 2.9svh, 32px) !important;
    justify-content: flex-start;
  }

  #niveaux .level-copy h3 {
    font-size: clamp(2rem, min(8.5vw, 5.6svh), 3.125rem);
  }

  #niveaux .level-copy p {
    max-width: 61ch;
  }

  @media (orientation: landscape) {
    #niveaux .level-copy {
      padding: clamp(16px, 2.45svh, 23px) clamp(22px, 3.3vw, 35px) clamp(18px, 2.75svh, 25px) !important;
    }

    #niveaux .level-copy h3 {
      font-size: clamp(1.875rem, 5.1svh, 2.75rem);
      margin-block: .18em .23em;
    }

    #niveaux .level-copy p {
      font-size: 1rem;
      line-height: 1.44;
    }

    #niveaux .level-copy .chips,
    #niveaux .level-copy .level-foot {
      margin-top: 10px;
    }
  }

  @media (orientation: landscape) and (max-height: 640px) {
    #niveaux .level-copy {
      padding-inline: 22px !important;
    }

    #niveaux .level-copy p {
      font-size: .9375rem;
      line-height: 1.4;
    }
  }

  @container level-card (min-width: 630px) {
    #niveaux .level-copy {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      column-gap: 16px;
      align-items: start;
    }

    #niveaux .level-copy > :is(.level-num, h3, p) {
      grid-column: 1 / -1;
    }

    #niveaux .level-copy .level-foot {
      align-self: center;
      margin-top: 13px;
    }
  }
}

@media (max-width: 360px) and (max-height: 620px) and (orientation: portrait) {
  #niveaux .level-copy {
    padding: 16px 16px 18px !important;
  }

  #niveaux .level-copy h3 {
    font-size: 1.9375rem;
  }

  #niveaux .level-copy p {
    font-size: .9375rem;
  }

  #niveaux .level-copy .chips,
  #niveaux .level-copy .level-foot {
    margin-top: 9px;
  }
}

/* Show the lightweight 2D poster while the four animated forms load. */
#av-compagnon img.animated-lumi-still {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: none;
  transform: none;
}
