:root {
  color-scheme: light;
  --navy: #1a2851;
  --deep: #0f1a35;
  --ink: #17223b;
  --body: #46566e;
  --muted: #576983;
  --blue: #315ca6;
  --blue-tint: #eaf0fa;
  --paper: #f7f9fd;
  --line: #d5ddec;
  --white: #fff;
  --green: #246047;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); }
a { color: inherit; }
img { display: block; max-width: 100%; }
fieldset { min-inline-size: 0; margin: 0; border: 0; padding: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #648cce; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font: bold 20px/1.1 var(--font-display); }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.nav a { text-decoration: none; }
.nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 650; text-align: center; line-height: 1.25; }
.button:hover { background: #273e77; }
.button:disabled { background: #e4eaf4; color: #495a78; }
.button--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.button--outline:hover { color: var(--navy); background: var(--blue-tint); }
.nav .button { min-height: 39px; padding-inline: 13px; }
h1, h2, h3, p, figure { margin: 0; }
p { max-width: 64ch; }
.lead { max-width: 45ch; }
.kit-hero { padding-block: clamp(42px, 6vw, 84px); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(28px, 6.4vw, 94px); }
.hero-copy { display: grid; justify-items: start; gap: 22px; }
.offer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 13px; margin-top: 2px; color: var(--navy); }
.offer-line strong { font: 700 46px/1.15 var(--font-display); white-space: nowrap; }
.offer-line span { font-weight: 650; }
.hero-copy .text-link { color: var(--blue); text-underline-offset: 4px; font-size: 14px; }
.desk { position: relative; height: clamp(330px, 36vw, 526px); overflow: hidden; border-radius: 26px; background: #dce6f6; }
.desk::before { content: ""; inset: 18px; position: absolute; border: 1px solid #bfcee7; border-radius: 16px; pointer-events: none; }
.desk img { position: absolute; border: 1px solid #d3dbea; border-radius: 8px; object-fit: cover; box-shadow: 0 16px 26px #25385129; }
.desk .paper-fiche { top: 16%; left: 6%; width: 58%; transform: rotate(-9deg); }
.desk .paper-majeure { top: 12%; left: 46%; width: 43%; max-height: 65%; object-position: top; transform: rotate(7deg); }
.desk .paper-qcm { bottom: clamp(42px, 11%, 58px); left: 28%; width: 53%; transform: rotate(-2deg); }
.desk-caption { position: absolute; bottom: 28px; left: 29px; right: 20px; color: #3b5278; font-size: 12px; font-weight: 650; }
.section { padding-block: clamp(43px, 6vw, 78px); }
.section-intro { display: grid; gap: 12px; margin-bottom: 26px; }
.section-intro p { color: var(--body); }
.supports-list { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 100%; border-top: 1px solid var(--line); }
.support { padding: 22px 22px 6px 0; }
.support + .support { border-left: 1px solid var(--line); padding-left: 22px; }
.support h3 { color: var(--navy); font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.support__formats { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.support__formats .format-etiquette { font-family: var(--font-body); font-size: 15px; }
.support p { color: var(--body); font-size: 15px; }
.config-zone { background: var(--paper); border-top: 1px solid var(--line); }
.config { scroll-margin-top: 24px; }
.config-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); align-items: start; gap: clamp(22px, 4.5vw, 54px); }
.picker { padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.control-name { font-weight: 740; font-size: 16px; padding-bottom: 11px; color: var(--navy); }
.niveaux { display: flex; gap: 8px; padding-bottom: 20px; }
.level-option { position: relative; }
.level-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.level-option label { min-width: 64px; min-height: 40px; display: grid; place-items: center; padding-inline: 16px; border: 1px solid var(--line); border-radius: 8px; font-weight: 680; cursor: pointer; color: var(--navy); }
.level-option input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--white); }
.level-option input:focus-visible + label, .pay-option input:focus-visible + label { outline: 3px solid #648cce; outline-offset: 3px; }
.matter-legend { width: 100%; }
.counter { color: var(--muted); font-weight: 620; float: right; padding-left: 6px; font-size: 13px; }
.matter-option { min-height: 56px; display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 10px 0; cursor: pointer; }
.matter-option:hover, .matter-option:focus-within { background: #f5f8fd; }
.matter-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); scroll-margin-block: 22px; }
.matter-option input:disabled ~ span { color: var(--muted); }
.matter-option input:disabled { cursor: default; }
.matter-option:has(input:disabled) { cursor: default; background: transparent; }
.kit-remplacement { margin: 8px 0 0; color: var(--body); font-size: 14px; line-height: 1.4; }
.matter-name { color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.28; }
.matter-name .format-etiquette { display: table; font-size: 12px; margin-top: 4px; }
.semestre { color: #415678; background: var(--blue-tint); padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 650; }
.duo-partiels {
  margin-top: 16px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.duo-partiels h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font: 700 22px/1.2 var(--font-display);
}
.duo-partiels__intro { margin-bottom: 13px; }
.duo-partiels__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.duo-partiels__options h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 6px;
  color: var(--navy);
  font: 700 15px/1.25 var(--font-body);
}
.duo-partiels__prix { white-space: nowrap; font-variant-numeric: tabular-nums; }
.duo-partiels p { color: var(--body); font-size: 14px; line-height: 1.5; }
.duo-partiels .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 540px) {
  .duo-partiels__options { grid-template-columns: 1fr; gap: 10px; }
  .duo-partiels__options > div + div { border-top: 1px solid var(--line); padding-top: 13px; }
}
.summary { padding: clamp(19px, 3vw, 29px); border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.summary-head { color: var(--navy); font: 700 30px/1.15 var(--font-display); margin-bottom: 6px; }
.selection { min-height: 22px; color: var(--body); font-size: 14px; }
.selection ul { list-style: none; padding: 0; margin: 7px 0 0; }
.selection li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.selection-retirer {
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.selection-retirer:hover { background: var(--blue-tint); }
.pay { margin-block: 16px; }
.pay > legend { padding-bottom: 5px; }
.pay-list { display: grid; gap: 3px; }
.pay-option { position: relative; }
.pay-option input { position: absolute; top: 15px; left: 10px; width: 16px; height: 16px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.pay-option label { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 46px; border-radius: 8px; padding: 7px 10px 7px 34px; cursor: pointer; font-size: 14px; }
.pay-option input:checked + label { background: var(--blue-tint); }
.pay-price { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-note { font-size: 13px; color: var(--body); line-height: 1.45; margin: 8px 0 0 10px; }
.pay-total { display: block; color: var(--ink); font-weight: 700; }
.summary .button { width: 100%; }
.delivery { font-size: 13px; color: var(--green); margin: 10px 0 0; line-height: 1.42; }
.faq { display: grid; grid-template-columns: minmax(200px, .65fr) minmax(0, 1.35fr); gap: 24px; }
.faq h2 { font-size: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq details:first-child { padding-top: 2px; }
.faq summary { font-weight: 675; cursor: pointer; }
.faq details p { color: var(--body); font-size: 15px; margin-top: 7px; }
.footer { border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 790px) {
  .wrap { width: min(600px, calc(100% - 36px)); }
  .header-inner { min-height: 62px; gap: 12px; }
  .brand { font-size: 17px; }
  .brand img { width: 29px; height: 29px; }
  .nav { gap: 8px; font-size: 12px; }
  .nav > a:not(.button) { display: none; }
  .nav .button { min-height: 36px; padding-inline: 9px; }
  .hero-grid, .config-grid, .faq { grid-template-columns: 1fr; }
  .hero-grid { gap: 27px; }
  .hero-copy { gap: 16px; }
  .desk { height: min(76vw, 345px); min-height: 242px; border-radius: 17px; }
  .desk::before { inset: 12px; border-radius: 11px; }
  .desk-caption { bottom: 16px; left: 19px; }
  .supports-list { grid-template-columns: 1fr; }
  .support, .support + .support { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 390px) { .offer-line strong { font-size: 39px; } .wrap { width: calc(100% - 32px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
