/* Bilingual campaign and the related panels on existing pages. */
.kk-campaign, .kkc-related {
  --kk-ice: #adebff;
  --kk-paper: #f1f5f9;
  --kk-muted: #becada;
  --kk-panel: #101b2a;
  --kk-edge: #3a5068;
  color: var(--kk-paper);
}
.kk-campaign { width: min(1200px, calc(100% - 52px)); margin: 32px auto 0; }
.kk-campaign [hidden] { display: none !important; }
.kk-campaign h1, .kk-campaign h2, .kkc-related h2 { color: var(--kk-paper); letter-spacing: -.04em; line-height: 1.08; }
.kk-campaign h2, .kkc-related h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); margin: 0 0 14px; }
.kk-campaign p, .kkc-related p { color: var(--kk-muted); line-height: 1.65; }
.kkc-hero, .kkc-share-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  border: 1px solid var(--kk-edge);
  border-radius: 24px;
  background: #080e19;
  padding: clamp(28px, 5.5vw, 76px);
}
.kkc-hero {
  min-height: 490px;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: 36px;
}
.kkc-hero::before, .kkc-share-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(95deg, #080e19 9%, #080e19dc 48%, #11122225),
    url("/static/img/acheter_book_off.jpg") center / cover;
}
.kkc-hero::after {
  position: absolute;
  inset: auto 5% 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #6cdbff, #e43b59, transparent);
}
.kkc-kicker, .kk-campaign .kkc-kicker, .kkc-related .kkc-kicker {
  color: var(--kk-ice);
  font: 700 .72rem/1.45 Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kk-campaign h1 {
  margin: 0;
  font-weight: 750;
  font-size: clamp(3.25rem, 9.5vw, 8.65rem);
  line-height: .96;
  letter-spacing: -.078em;
  text-wrap: balance;
}
.kk-campaign h1 span { color: var(--kk-ice); }
.kk-campaign .kkc-lead { max-width: 32rem; margin: 24px 0 0; font-size: clamp(1.03rem, 1.8vw, 1.28rem); }
.kkc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; }
.kkc-button, .kkc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 7px;
  font: 700 .92rem/1.35 Arial, sans-serif;
  cursor: pointer;
}
.kkc-button {
  padding: .65rem 1.12rem;
  border: 1px solid var(--kk-ice);
  border-radius: 8px;
  background: var(--kk-ice);
  color: #081522;
  text-decoration: none;
}
.kkc-button-outline { background: transparent; color: var(--kk-paper); }
.kkc-button:hover:not(:disabled) { background: #d2f5ff; color: #081522; }
.kkc-button:disabled { cursor: default; opacity: .55; }
.kkc-link { color: var(--kk-ice); border: 0; background: none; text-align: left; padding: 0; text-decoration: underline; text-underline-offset: .25em; }
.kk-campaign :focus-visible, .kkc-related :focus-visible { outline: 2px solid var(--kk-ice); outline-offset: 5px; }
.kkc-book { margin: 0; justify-self: center; text-align: center; }
.kkc-book img {
  display: block;
  width: clamp(148px, 22vw, 280px);
  max-width: 100%;
  border-radius: 3px 6px 6px 3px;
  border: 1px solid #c7edff6b;
  box-shadow: 10px 12px 0 #09121d, 12px 13px 0 #d98f9a58, 0 24px 68px #000d;
  transform: perspective(700px) rotateY(-10deg) rotateZ(3deg);
}
.kkc-book figcaption { color: #eef3fb; font-size: .75rem; margin-top: 22px; text-shadow: 0 1px 6px #000; }
.kkc-section { padding-block: clamp(32px, 5vw, 62px); scroll-margin-top: 110px; }
.kkc-section > p { max-width: 52rem; }
.kk-campaign .kkc-demo {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 4px 10px;
  border: 1px solid #546b7f;
  border-radius: 4px;
  color: var(--kk-ice);
  font-size: .82rem;
}
.kkc-edition {
  margin-top: 32px;
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--kk-edge);
  border-radius: 16px;
  background: radial-gradient(ellipse at top right, #17415999, transparent 65%), #131e2e;
}
.kkc-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 18px 0; }
.kkc-specs > div { padding: 10px 0; border-top: 1px solid #345068; }
.kkc-specs dt { margin-bottom: 4px; color: #a2c2d5; font-size: .84rem; font-weight: 700; }
.kkc-specs dd { margin: 0; color: #e0ebf4; font-size: .96rem; line-height: 1.45; }
.kkc-edition > p:last-child { margin-bottom: 0; }
.kkc-support, .kkc-share-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; }
.kkc-support {
  align-items: start;
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--kk-edge);
  border-radius: 16px;
  background: linear-gradient(145deg, #101b2a, #181520);
}
.kkc-amount-fieldset { min-width: 0; padding: 0; margin: 16px 0 8px; border: 0; }
.kkc-amount-fieldset legend { padding: 0; color: var(--kk-paper); font-weight: 700; }
.kkc-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.kkc-amount { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--kk-edge); border-radius: 7px; cursor: pointer; }
.kkc-amount:has(input:checked) { border-color: var(--kk-ice); background: #152c3b; }
.kkc-amount:has(input:disabled) { cursor: default; }
.kkc-amount:has(input:focus-visible) { outline: 2px solid var(--kk-ice); outline-offset: 3px; }
.kkc-amount input { accent-color: #8de2ff; width: 18px; height: 18px; margin: 0; flex: 0 0 18px; }
.kkc-custom-amount { max-width: 24rem; }
.kkc-custom-amount label { display: block; margin-bottom: 7px; }
.kkc-custom-amount input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--kk-edge);
  border-radius: 7px;
  background: #080e19;
  color: var(--kk-paper);
  font: inherit;
}
.kkc-custom-amount input[aria-invalid="true"] { border-color: #f4a6b5; }
.kk-campaign .kkc-pledge-summary { overflow-wrap: anywhere; margin: 8px 0; color: var(--kk-paper); }
.kkc-pledge-summary strong { color: var(--kk-ice); margin-inline-start: 4px; }
.kkc-pledges { align-self: center; border-inline-start: 1px solid var(--kk-edge); padding: 8px 0 8px 24px; }
.kkc-pledges strong { display: block; color: var(--kk-ice); font-size: clamp(1.55rem, 3.9vw, 3rem); line-height: 1.15; overflow-wrap: anywhere; }
.kk-campaign .kkc-note { color: var(--kk-muted); font-size: .88rem; line-height: 1.55; }
.kkc-feedback { min-height: 1.4em; }
.kkc-privacy { margin-top: 22px; color: var(--kk-paper); }
.kkc-privacy summary { padding-block: 10px; cursor: pointer; }
.kkc-privacy a { color: var(--kk-ice); }
.kkc-connections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 20px; }
.kkc-connections a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 85px;
  padding: 18px 30px 18px 0;
  border-top: 1px solid var(--kk-edge);
  background: linear-gradient(90deg, transparent, #101b2a4d);
  color: var(--kk-ice);
  text-decoration: none;
  position: relative;
}
.kkc-connections a::after { position: absolute; content: ""; right: 10px; top: 23px; width: 7px; height: 7px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); }
.kkc-connections a:hover strong { text-decoration: underline; text-underline-offset: .22em; }
.kkc-connections span { color: var(--kk-muted); font-size: .89rem; }
.kkc-related {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: clamp(18px, 4vw, 40px);
  margin-block: 34px;
  border: 1px solid var(--kk-edge);
  border-radius: 16px;
  background: var(--kk-panel);
  scroll-margin-top: 120px;
}
.kkc-map img { display: block; width: 100%; height: auto; border-radius: 8px; }
.kkc-teaser .kkc-actions { margin: 0; justify-content: flex-end; }
.kkc-share-hero { min-height: 330px; }
.kkc-share-hero h1 { font-size: clamp(2.9rem, 7.2vw, 6.65rem); }
.kkc-share-hero::before {
  background: linear-gradient(95deg, #080e19 12%, #080e19ec 45%, #0a142981),
    url("/static/img/campagne/atlas.webp") right 45% / cover;
}
.kkc-share-grid { align-items: start; }
.kkc-share-panel, .kkc-reward {
  min-width: 0;
  padding: clamp(19px, 3.1vw, 36px);
  border: 1px solid var(--kk-edge);
  border-radius: 14px;
  background: #101b2a;
}
.kkc-reward { background: linear-gradient(155deg, #152638, #171323); }
.kkc-share-panel label, .kkc-reward label { display: block; margin: 0 0 8px; color: var(--kk-paper); }
.kkc-share-panel select, .kkc-share-panel input, .kkc-reward textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid var(--kk-edge);
  background: #08121f;
  color: var(--kk-paper);
  font: inherit;
  color-scheme: dark;
}
.kkc-share-panel select { min-height: 44px; margin-bottom: 20px; }
.kkc-share-panel input, .kkc-reward textarea { overflow-wrap: anywhere; }
.kkc-reward textarea { min-height: 155px; resize: vertical; }
.kkc-collection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  margin-top: 24px;
  padding: clamp(22px, 4vw, 56px);
  border: 1px solid var(--kk-edge);
  border-radius: 18px;
  background: radial-gradient(ellipse at 94% 32%, #193853aa 0, #121b2a33 47%, transparent 66%), #0b1421;
}
.kkc-collection h2 { text-wrap: balance; }
.kkc-collection p { margin: 9px 0; }
.kkc-collection p:last-child { margin-bottom: 0; }
.kkc-collection .kkc-demo { margin: 9px 0 4px; color: #f5dbaa; border-color: #8c7657; }
.kkc-collection-numbers { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: baseline; }
.kkc-collection-numbers strong:first-child { color: #eff6fe; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.kkc-collection-numbers strong:last-child { color: var(--kk-ice); font-size: clamp(1.13rem, 2.1vw, 1.65rem); }
.kkc-collection .kkc-collection-status { color: #d8edfa; font-weight: 700; }
.kkc-book-gauge {
  position: relative;
  min-width: 0;
  padding: 7px 48px 8px 0;
}
.kkc-book-block {
  position: relative;
  height: clamp(132px, 17vw, 224px);
  padding: 8px 7px 8px 18px;
  border: 1px solid #51718f;
  border-right-color: #4a445d;
  border-radius: 13px 2px 2px 13px;
  background: linear-gradient(90deg, #2c4a69 0, #17263b 14px, #101924 15px);
  box-shadow: 0 12px 36px #01050bb0, inset 0 0 16px #050a15a6;
}
.kkc-book-block::before, .kkc-book-block::after {
  content: "";
  position: absolute;
  inset-inline: 3px -4px;
  height: 5px;
  border-radius: 3px 2px 2px 3px;
  background: linear-gradient(90deg, #82bdd8, #435b85 44%, #7a4861 86%, #995474);
}
.kkc-book-block::before { top: -2px; }
.kkc-book-block::after { bottom: -2px; }
.kkc-book-cahiers { display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; overflow: hidden; }
.kkc-cahier {
  position: relative;
  flex: 1 1 0;
  min-height: 2px;
  background: #27394f;
  border-radius: 0 1px 1px 0;
}
.kkc-cahier::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #9ec8db 0, #eddbb7 22%, #f5e6c9 82%, #b5a084);
  transform: scaleX(var(--cahier-rempli, 0));
  transform-origin: left;
  transition: transform .55s cubic-bezier(.2,.68,.23,1);
}
.kkc-book-gauge[data-complete] .kkc-book-block {
  border-color: #a8d9e8;
  box-shadow: 0 0 20px #8bd5ef55, 0 12px 36px #01050bb0;
}
.kkc-book-scale {
  position: absolute;
  top: 5px;
  right: 0;
  bottom: 5px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  color: #a8bfd5;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .kkc-cahier::before { transition: none; }
}
@media (max-width: 740px) {
  .kk-campaign { width: min(calc(100% - 32px), 560px); margin-top: 18px; }
  .kkc-hero { grid-template-columns: 1fr; gap: 28px; min-height: auto; }
  .kkc-hero::before { background-position: 56% center; }
  .kkc-book { justify-self: start; margin-inline-start: 8px; }
  .kkc-book img { width: min(160px, 40vw); }
  .kkc-specs, .kkc-support, .kkc-related, .kkc-share-grid, .kkc-collection { grid-template-columns: 1fr; }
  .kkc-pledges { border: 0; border-top: 1px solid var(--kk-edge); padding: 18px 0 0; }
  .kkc-teaser .kkc-actions { justify-content: start; }
  .kkc-share-hero { min-height: 270px; }
}
@media (max-width: 400px) {
  .kkc-connections { grid-template-columns: 1fr; }
}

/* La Brique and the post-reading support panel. */
.kk-brique {
  --kk-paper: #f7f1e8;
  --kk-muted: #c7c4ce;
  --kk-edge: #4b4149;
  --kk-ice: #f3ce98;
  --kk-panel: #18141b;
}
.kk-brique .kkb-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  min-height: clamp(480px, 48vw, 620px);
  border-radius: 0 0 4px 4px;
  background: #0d0b13;
  border-color: #59434d;
}
.kk-brique .kkb-hero::before {
  background:
    radial-gradient(ellipse at 83% 38%, #5514267a, transparent 53%),
    radial-gradient(ellipse at 61% 68%, #163e7773, transparent 56%);
}
.kk-brique .kkb-hero::after {
  background: linear-gradient(90deg, #6f4a4a, #ffd5a3 48%, #8a4c57);
  inset-inline: 0;
}
.kk-brique .kkc-kicker { margin: 0 0 18px; letter-spacing: .2em; }
.kk-brique h1, .kk-brique h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}
.kk-brique h1 { font-size: clamp(3.15rem, 9vw, 8.25rem); line-height: 1; }
.kk-brique h2 { font-size: clamp(1.85rem, 4vw, 3.35rem); }
.kk-brique h3 {
  color: var(--kk-paper);
  margin-block: 0 .38em;
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  line-height: 1.3;
}
.kk-brique .kkc-lead { margin-top: clamp(14px, 3vw, 24px); max-width: 28rem; color: #e4d9d2; }
.kk-brique .kkc-hero-copy, .kk-brique .kkb-cover { position: relative; }
.kk-brique .kkc-button {
  border-color: #f3ce98;
  border-radius: 4px;
  background: #f3ce98;
  color: #231914;
  transition: background-color .2s ease;
}
.kk-brique .kkc-button:hover:not(:disabled) { background-color: #ffe3b9; }
.kk-brique .kkc-button-outline { color: var(--kk-paper); background: transparent; }
.kk-brique .kkc-button-outline:hover:not(:disabled) { color: #231914; }
.kkb-cover { min-width: 0; justify-self: center; width: min(100%, 358px); }
.kkb-mockup {
  position: relative;
  overflow: hidden;
  border: 1px solid #77646b;
  border-radius: 4px;
  background: #171119;
}
.kk-brique .kkb-mockup img {
  position: absolute;
  height: auto;
  max-width: none;
}
/* Keep the mock-up artwork in view without the provisional barcode. */
.kkb-mockup--cover { aspect-ratio: 656 / 820; box-shadow: 0 24px 54px #0008; }
.kk-brique .kkb-mockup--cover img { width: 234.15%; left: -24.09%; top: -3.41%; }
.kkb-mockup--spread { aspect-ratio: 1412 / 1000; }
.kk-brique .kkb-mockup--spread img { width: 108.78%; left: -4.39%; top: -4%; }
.kk-brique :is(.kkb-cover, .kkb-edition-figure) figcaption {
  margin-top: 12px;
  color: #e8d5be;
  letter-spacing: .04em;
}
.kkb-participation {
  padding: clamp(25px, 4vw, 48px);
  margin-top: 22px;
  background: #19141c;
  border: 1px solid var(--kk-edge);
  border-top-color: #a68165;
}
.kkb-participation-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: center;
}
.kkb-participation-head h2 { margin-bottom: 0; }
.kkb-participation-head > p { grid-row: 2; margin: .6em 0 0; }
.kkb-participation-head > a { grid-column: 2; grid-row: 1 / span 2; justify-self: start; }
.kkb-funding, .kk-brique .kkc-support {
  margin-top: 25px;
  padding: clamp(16px, 3vw, 30px);
  background: #100f16;
  border: 1px solid var(--kk-edge);
  border-radius: 4px;
}
.kkb-funding .kkc-button { margin-top: 9px; }
.kk-brique .kkc-support h3 + p, .kkb-funding h3 + p { margin: 0 0 .65em; }
.kk-brique .kkc-demo { margin-block: 20px 0; }
.kkb-project {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 5vw, 70px);
}
.kkb-project > div > p { max-width: 36ch; }
.kkb-project ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kkb-project li {
  padding: 16px 0 18px;
  border-top: 1px solid var(--kk-edge);
}
.kkb-project li:last-child { border-bottom: 1px solid var(--kk-edge); }
.kkb-project li p { margin: 0; }
.kk-brique .kkc-edition, .kk-brique .kkc-collection {
  margin-top: 0;
  margin-bottom: 20px;
  border-color: var(--kk-edge);
  border-radius: 4px;
  background: radial-gradient(ellipse at 85% 14%, #62364372, transparent 64%), #19141c;
}
.kk-brique .kkc-specs > div { border-color: var(--kk-edge); }
.kk-brique .kkc-specs dt, .kk-brique .kkc-collection-status { color: var(--kk-ice); }
.kk-brique .kkc-specs dd { color: var(--kk-paper); }
.kkb-edition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
}
.kkb-edition-grid .kkb-edition-figure { min-width: 0; }
.kkb-faq details { border-top: 1px solid var(--kk-edge); }
.kkb-faq details:last-child { border-bottom: 1px solid var(--kk-edge); }
.kkb-faq summary { padding: 15px 0; cursor: pointer; color: var(--kk-paper); }
.kkb-faq details p { margin: 0 0 16px; max-width: 69ch; }
.kkb-chapter-support {
  --kk-ice: #f3ce98;
  --kk-edge: #6b5145;
  --kk-panel: #19141c;
  margin-inline: auto;
}
.kkb-chapter-support p { margin-bottom: 0; }
.kkb-chapter-support .kkc-actions { margin-top: 0; }
.kkb-chapter-support .kkc-button { color: #231914; }

@media (max-width: 740px) {
  .kk-brique .kkb-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .kk-brique .kkb-hero::before {
    background:
      radial-gradient(ellipse at 90% 75%, #5514267a, transparent 57%),
      radial-gradient(ellipse at 8% 80%, #163e7773, transparent 59%);
  }
  .kkb-cover { width: min(88%, 250px); }
  .kkb-edition-grid, .kkb-participation-head, .kkb-project { grid-template-columns: minmax(0, 1fr); }
  .kkb-participation-head > a { grid-column: 1; grid-row: auto; }
  .kkb-project > div > p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kk-brique .kkc-button { transition: none; }
}
