:root{
  --card-paper:#fffdfa;
  --card-ink:#07111d;
  --card-muted:#66717f;
  --card-blue:#1688f8;
  --card-blue-deep:#0869dc;
  --card-gold:#b88622;
  --card-line:#e3e7eb;
}

/* Production doors: identical geometry, no decorative numbering. */
.premium-production-split{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
.premium-production-split .premium-production-card{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
}
.premium-production-split .premium-production-card .big-number{
  display:none!important;
}
.premium-production-split .premium-production-card .premium-media{
  flex:0 0 auto!important;
  width:100%!important;
  aspect-ratio:16/9!important;
}
.premium-production-split .premium-production-card .production-panel-content{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  padding-top:30px!important;
}
.premium-production-split .premium-production-card h2{
  min-height:1.72em!important;
  display:flex!important;
  align-items:flex-end!important;
  flex-wrap:wrap!important;
  column-gap:.16em!important;
}
.premium-production-split .premium-production-card p{
  min-height:3.35em!important;
}
.premium-production-split .premium-production-card .premium-chip-row{
  min-height:40px!important;
}
.premium-production-split .premium-production-card .premium-card-cta{
  margin-top:auto!important;
  padding-top:0!important;
  flex:0 0 auto!important;
}

/* One academic design language for the homepage and Parcours académique. */
.premium-academic-section,
.academic-page.premium-academic-page-section{
  background:linear-gradient(180deg,#fff 0%,#f6f3ec 100%)!important;
}
.academic-page.premium-academic-page-section{
  padding-top:68px!important;
  padding-bottom:74px!important;
}
.academic-page.premium-academic-page-section>.container{
  max-width:1240px!important;
}
.premium-academic-card,
.academic-page .academic-feature.premium-academic-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.72fr)!important;
  align-items:stretch!important;
  overflow:hidden!important;
  border:1px solid rgba(122,87,16,.13)!important;
  border-radius:32px!important;
  background:linear-gradient(135deg,#fffefa 0%,#fff 62%,#fbf7ee 100%)!important;
  box-shadow:0 28px 70px rgba(39,36,27,.10)!important;
}
.premium-academic-card .academic-copy,
.academic-page .premium-academic-card .academic-feature-copy.academic-copy{
  position:relative!important;
  z-index:3!important;
  display:block!important;
  min-width:0!important;
  padding:54px 52px 48px!important;
}
.premium-academic-kicker{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0 0 24px!important;
}
.premium-academic-icon{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#faf1df!important;
  color:var(--card-gold)!important;
  font:700 1.2rem/1 'Barlow Condensed',sans-serif!important;
}
.premium-academic-kicker .eyebrow{
  margin:0!important;
  color:var(--card-gold)!important;
  letter-spacing:.17em!important;
  font-size:.72rem!important;
}
.premium-academic-card .academic-copy h2{
  max-width:720px!important;
  margin:0 150px 22px 0!important;
  color:var(--card-ink)!important;
  font-family:'Barlow Condensed',sans-serif!important;
  font-size:clamp(3.15rem,5vw,5.1rem)!important;
  line-height:.89!important;
  letter-spacing:-.02em!important;
  text-transform:uppercase!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.premium-academic-card .academic-score{
  position:absolute!important;
  top:112px!important;
  right:46px!important;
  width:118px!important;
  min-height:142px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(184,134,34,.46)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 13px 30px rgba(126,90,21,.10)!important;
  color:var(--card-gold)!important;
  font-family:'Barlow Condensed',sans-serif!important;
  font-size:4rem!important;
  line-height:.8!important;
}
.premium-academic-card .academic-score:before{
  content:'✦';
  display:block!important;
  margin-bottom:10px!important;
  color:#e1ca98!important;
  font-size:.9rem!important;
}
.premium-academic-card .academic-score span{
  display:block!important;
  margin-top:10px!important;
  font-size:1.75rem!important;
  line-height:1!important;
}
.premium-academic-institution{
  margin:0 0 18px!important;
  max-width:680px!important;
  color:#263342!important;
  font:600 .92rem/1.55 Inter,sans-serif!important;
}
.premium-memory-label{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:24px 0 10px!important;
  color:#0c2d5b!important;
  font:700 .92rem/1.25 Inter,sans-serif!important;
}
.premium-memory-label svg{
  width:24px!important;
  height:24px!important;
  padding:4px!important;
  border-radius:7px!important;
  background:#f3f6fb!important;
  fill:none!important;
  stroke:#0d3f83!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.premium-academic-card .academic-copy p:not(.premium-academic-institution){
  max-width:680px!important;
  margin:0!important;
  color:#5e6570!important;
  font-size:1rem!important;
  line-height:1.66!important;
}
.premium-academic-card .academic-img,
.academic-page .premium-academic-card .academic-feature-img.academic-img{
  display:block!important;
  position:relative!important;
  min-height:520px!important;
  height:100%!important;
  overflow:hidden!important;
  background:linear-gradient(150deg,#f8e8c8,#fff8eb 58%,#f5e3bd)!important;
}
.premium-academic-card .academic-img img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 18%!important;
}
.premium-academic-ribbon{
  position:absolute!important;
  top:0!important;
  right:26px!important;
  z-index:5!important;
  width:58px!important;
  height:92px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:linear-gradient(180deg,#d1a84e,#a97415)!important;
  clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%)!important;
  box-shadow:0 8px 18px rgba(151,103,18,.18)!important;
}
.premium-academic-card .premium-academic-cta{
  width:100%!important;
  min-height:58px!important;
  margin-top:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#061f42,#0a4c91)!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(8,45,86,.20)!important;
}

/* Supporting academic entries follow the same restrained card system. */
.academic-page.premium-academic-page-section .academic-list{
  display:grid!important;
  gap:16px!important;
  margin-top:24px!important;
}
.academic-page.premium-academic-page-section .academic-entry{
  border:1px solid rgba(122,87,16,.13)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(39,36,27,.055)!important;
}
.academic-page.premium-academic-page-section .academic-entry .year{
  color:var(--card-gold)!important;
  font-size:1.35rem!important;
}

@media(max-width:1100px){
  .premium-academic-card,
  .academic-page .academic-feature.premium-academic-card{
    grid-template-columns:minmax(0,1fr) 38%!important;
  }
  .premium-academic-card .academic-copy{padding:44px 40px!important}
  .premium-academic-card .academic-copy h2{margin-right:125px!important;font-size:clamp(3rem,5.2vw,4.3rem)!important}
  .premium-academic-card .academic-score{top:104px!important;right:34px!important;width:105px!important;min-height:132px!important;font-size:3.55rem!important}
}

@media(max-width:820px){
  .premium-production-split .premium-production-card h2{
    min-height:0!important;
  }
  .premium-production-split .premium-production-card p,
  .premium-production-split .premium-production-card .premium-chip-row{
    min-height:0!important;
  }

  .premium-academic-card,
  .academic-page .academic-feature.premium-academic-card{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    width:100%!important;
    min-width:0!important;
    border-radius:26px!important;
  }
  .premium-academic-card .academic-copy,
  .academic-page .premium-academic-card .academic-feature-copy.academic-copy{
    order:1!important;
    width:100%!important;
    padding:34px 30px 28px!important;
  }
  .premium-academic-card .premium-academic-kicker{
    width:100%!important;
    margin-bottom:18px!important;
  }
  .premium-academic-card .academic-copy h2{
    width:100%!important;
    max-width:none!important;
    margin:0 0 16px!important;
    font-size:clamp(2.75rem,8.8vw,4rem)!important;
    line-height:.9!important;
  }
  .premium-academic-card .academic-score{
    position:relative!important;
    inset:auto!important;
    width:max-content!important;
    min-width:116px!important;
    min-height:0!important;
    margin:0 0 18px!important;
    padding:11px 15px!important;
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:baseline!important;
    justify-content:flex-start!important;
    gap:4px!important;
    border-radius:16px!important;
    font-size:2.65rem!important;
    line-height:1!important;
  }
  .premium-academic-card .academic-score:before{display:none!important}
  .premium-academic-card .academic-score span{
    display:inline!important;
    margin:0!important;
    font-size:1.2rem!important;
  }
  .premium-academic-institution{
    margin-bottom:14px!important;
    font-size:.88rem!important;
  }
  .premium-memory-label{margin:17px 0 8px!important;font-size:.84rem!important}
  .premium-academic-card .academic-copy p:not(.premium-academic-institution){
    font-size:.9rem!important;
    line-height:1.55!important;
  }
  .premium-academic-card .premium-academic-cta{
    min-height:52px!important;
    margin-top:20px!important;
    border-radius:13px!important;
    font-size:.67rem!important;
  }
  .premium-academic-card .academic-img,
  .academic-page .premium-academic-card .academic-feature-img.academic-img{
    order:2!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:5/4!important;
    border-top:1px solid rgba(122,87,16,.10)!important;
  }
  .premium-academic-card .academic-img img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 18%!important;
  }
  .premium-academic-ribbon{
    right:18px!important;
    width:48px!important;
    height:74px!important;
  }
  .academic-page.premium-academic-page-section{
    padding:34px 0 52px!important;
  }
}

@media(max-width:560px){
  .premium-production-split{
    padding:28px 14px!important;
    gap:18px!important;
  }
  .premium-production-split .premium-production-card{
    padding:11px!important;
    border-radius:23px!important;
  }
  .premium-production-split .premium-production-card .production-panel-content{
    padding:22px 11px 12px!important;
  }
  .premium-production-split .premium-production-card h2{
    display:block!important;
    margin:0!important;
    font-size:clamp(2.85rem,13vw,3.45rem)!important;
    line-height:.88!important;
  }
  .premium-production-split .premium-production-card p{
    margin-top:14px!important;
    font-size:.89rem!important;
    line-height:1.5!important;
  }
  .premium-production-split .premium-production-card .premium-chip-row{
    margin-top:15px!important;
    gap:7px!important;
  }
  .premium-production-split .premium-production-card .premium-card-cta{
    min-height:50px!important;
    margin-top:18px!important;
    border-radius:12px!important;
  }

  .premium-academic-card,
  .academic-page .academic-feature.premium-academic-card{
    border-radius:22px!important;
  }
  .premium-academic-card .academic-copy,
  .academic-page .premium-academic-card .academic-feature-copy.academic-copy{
    padding:26px 20px 22px!important;
  }
  .premium-academic-kicker{gap:9px!important;margin-bottom:16px!important}
  .premium-academic-icon{width:36px!important;height:36px!important;flex-basis:36px!important}
  .premium-academic-kicker .eyebrow{font-size:.63rem!important;letter-spacing:.13em!important}
  .premium-academic-card .academic-copy h2{
    margin:0 0 14px!important;
    font-size:clamp(2.35rem,11.7vw,2.95rem)!important;
    line-height:.9!important;
  }
  .premium-academic-card .academic-score{
    min-width:104px!important;
    margin-bottom:15px!important;
    padding:9px 13px!important;
    font-size:2.35rem!important;
  }
  .premium-academic-card .academic-score span{font-size:1.05rem!important}
  .premium-memory-label{margin:15px 0 7px!important;font-size:.8rem!important}
  .premium-academic-card .academic-copy p:not(.premium-academic-institution){font-size:.86rem!important}
  .premium-academic-card .academic-img,
  .academic-page .premium-academic-card .academic-feature-img.academic-img{
    aspect-ratio:4/3!important;
  }
  .premium-academic-ribbon{right:14px!important;width:44px!important;height:66px!important}

  .academic-page.premium-academic-page-section .academic-list{
    gap:12px!important;
    margin-top:18px!important;
  }
  .academic-page.premium-academic-page-section .academic-entry{
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:12px!important;
    padding:20px 16px!important;
    border-radius:18px!important;
  }
  .academic-page.premium-academic-page-section .academic-entry .year{
    font-size:1.2rem!important;
  }
  .academic-page.premium-academic-page-section .academic-entry h3{
    font-size:1.45rem!important;
    line-height:1.02!important;
  }
  .academic-page.premium-academic-page-section .academic-entry strong{
    display:block!important;
    margin-top:6px!important;
    font-size:.78rem!important;
    line-height:1.4!important;
  }
  .academic-page.premium-academic-page-section .academic-entry p{
    margin-top:9px!important;
    font-size:.82rem!important;
    line-height:1.48!important;
  }
}
