/* Encart Pack Partiel, posé sur les pages les plus visitées (19/11/2026).
   Feuille isolée pour ne pas toucher au hash de assets/style.css. */
.offre-partiels {
  padding: 8px 0 48px;
}
.offre-partiels__carte {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--box-line, #C9D3EA);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(142, 170, 221, .22) 0%, rgba(142, 170, 221, 0) 55%),
    var(--surface, #fff);
  box-shadow: 0 22px 60px rgba(15, 26, 53, .10), 0 2px 6px rgba(15, 26, 53, .04);
}
.offre-partiels__carte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy, #1A2851) 0%, #315CA6 55%, var(--gold-line, #8EAADD) 100%);
}
.offre-partiels__entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: clamp(22px, 4vw, 34px) clamp(20px, 4vw, 40px) 0;
}
.offre-partiels__surtitre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--violet, #8A2341);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.offre-partiels__surtitre::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(138, 35, 65, .12);
}
.offre-partiels__annees {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--box-line, #C9D3EA);
  border-radius: 999px;
  background: var(--gold-bg, #F2F5FB);
}
.offre-partiels__annees-label {
  padding: 0 8px 0 10px;
  color: var(--muted, #5B6B84);
  font-size: .8rem;
  font-weight: 700;
}
.offre-partiels__annee {
  min-width: 52px;
  min-height: 38px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy, #1A2851);
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.offre-partiels__annee:hover { background: rgba(26, 40, 81, .07); }
.offre-partiels__annee[aria-selected="true"] {
  background: var(--navy, #1A2851);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 40, 81, .25);
}
.offre-partiels__annee:focus-visible,
.offre-partiels__duo:focus-visible,
.offre-partiels__cta:focus-visible {
  outline: 3px solid #315CA6;
  outline-offset: 2px;
}
.offre-partiels__panneau {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .95fr);
  gap: clamp(24px, 4vw, 44px);
  padding: 18px clamp(20px, 4vw, 40px) clamp(24px, 4vw, 38px);
}
.offre-partiels__panneau[hidden] { display: none; }
.offre-partiels__titre {
  margin: 0 0 10px;
  color: var(--navy, #1A2851);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.14;
}
.offre-partiels__intro {
  margin: 0 0 20px;
  color: var(--body, #475569);
  font-size: 1.02rem;
  line-height: 1.65;
}
.offre-partiels__duos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.offre-partiels__duos legend {
  width: 100%;
  margin: 0 0 8px;
  color: var(--navy, #1A2851);
  font-size: .88rem;
  font-weight: 800;
}
.offre-partiels__duo {
  padding: 9px 14px;
  border: 1.5px solid var(--box-line, #C9D3EA);
  border-radius: 10px;
  background: var(--surface, #fff);
  color: var(--navy, #1A2851);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.offre-partiels__duo:hover { border-color: #315CA6; }
.offre-partiels__duo[aria-pressed="true"] {
  border-color: var(--navy, #1A2851);
  background: var(--highlight, #DEEAFB);
}
.offre-partiels__etapes {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.offre-partiels__etapes li {
  position: relative;
  padding: 0 0 0 48px;
  color: var(--body, #475569);
  line-height: 1.6;
  counter-increment: etape;
}
.offre-partiels__etapes li::before {
  content: counter(etape);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-bg, #F2F5FB);
  border: 1.5px solid var(--gold-line, #8EAADD);
  color: var(--navy, #1A2851);
  font-family: var(--font-display, Georgia, serif);
  font-size: 1rem;
  font-weight: 700;
}
.offre-partiels__etapes strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy, #1A2851);
  font-size: 1rem;
}
.offre-partiels__achat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--box-line, #C9D3EA);
  border-radius: 16px;
  background: var(--surface-2, #F8FAFC);
}
.offre-partiels__visuel {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(15, 26, 53, .14);
}
.offre-partiels__prix {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 2px 0 0;
}
.offre-partiels__montant {
  color: var(--navy, #1A2851);
  font-family: var(--font-display, Georgia, serif);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
}
.offre-partiels__valeur {
  margin: 0;
  color: var(--muted, #5B6B84);
  font-size: .9rem;
  line-height: 1.45;
}
.offre-partiels__valeur s { color: var(--muted, #5B6B84); }
.offre-partiels__economie {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--emerald-bg, #EAF3EE);
  color: var(--emerald, #257952);
  font-size: .8rem;
  font-weight: 800;
}
.offre-partiels__cta {
  width: 100%;
  min-height: 52px;
  white-space: normal;
  line-height: 1.25;
}
.offre-partiels__rassurance {
  margin: -4px 0 0;
  color: var(--muted, #5B6B84);
  font-size: .82rem;
  line-height: 1.45;
  text-align: center;
}
.offre-partiels__kit {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--box-line, #C9D3EA);
  color: var(--body, #475569);
  font-size: .86rem;
  line-height: 1.5;
}
.offre-partiels__kit a {
  color: #315CA6;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .offre-partiels__panneau { display: flex; flex-direction: column; gap: 0; }
  .offre-partiels__panneau > div:first-child { display: contents; }
  .offre-partiels__titre { order: 1; }
  .offre-partiels__intro { order: 2; }
  .offre-partiels__duos { order: 3; }
  .offre-partiels__achat { order: 4; margin-bottom: 24px; }
  .offre-partiels__etapes { order: 5; }
}
@media (max-width: 520px) {
  .offre-partiels { padding-bottom: 36px; }
  .offre-partiels__entete { flex-direction: column; align-items: flex-start; }
  .offre-partiels__annees { width: 100%; justify-content: space-between; }
  .offre-partiels__annee { flex: 1 1 0; }
  .offre-partiels__etapes li { padding-left: 42px; }
  .offre-partiels__montant { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .offre-partiels__annee, .offre-partiels__duo { transition: none; }
}
html[data-theme="dark"] .offre-partiels__carte {
  border-color: rgba(255, 255, 255, .12);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(49, 92, 166, .28) 0%, rgba(49, 92, 166, 0) 55%),
    var(--surface, #111A2E);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}
html[data-theme="dark"] .offre-partiels__titre,
html[data-theme="dark"] .offre-partiels__etapes strong,
html[data-theme="dark"] .offre-partiels__montant,
html[data-theme="dark"] .offre-partiels__duos legend { color: #E2ECF8; }
html[data-theme="dark"] .offre-partiels__surtitre { color: #F0A8BA; }
html[data-theme="dark"] .offre-partiels__annees,
html[data-theme="dark"] .offre-partiels__achat { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
html[data-theme="dark"] .offre-partiels__annee,
html[data-theme="dark"] .offre-partiels__duo { color: #E2ECF8; }
html[data-theme="dark"] .offre-partiels__annee[aria-selected="true"] { background: #AEC8F5; color: #0F1A35; }
html[data-theme="dark"] .offre-partiels__duo { border-color: rgba(255, 255, 255, .18); background: transparent; }
html[data-theme="dark"] .offre-partiels__duo[aria-pressed="true"] { border-color: #AEC8F5; background: rgba(174, 200, 245, .14); }
html[data-theme="dark"] .offre-partiels__etapes li::before { background: rgba(174, 200, 245, .12); border-color: #6F8FC9; color: #E2ECF8; }
html[data-theme="dark"] .offre-partiels__kit a { color: #AEC8F5; }
html[data-theme="dark"] .offre-partiels__kit { border-top-color: rgba(255, 255, 255, .14); }
