/* ==========================================================================
   ANKRAJ ÉDITIONS — PAGE D'ACCUEIL (index.html uniquement)
   Chargé après style.css. Les couleurs viennent du bloc :root de style.css
   (--cream = --fond, --choc = --encre, --terra = --terre-vive, --sun = --soleil).
   ========================================================================== */
/* ==========================================================================
   Bases de l’accueil, héros, livre animé, bandeau de valeurs, manifeste, cartes
   ========================================================================== */
.akh {
  --cream: var(--fond);
  --sand: var(--fond-alt);
  --terra: var(--terre-vive);
  --choc: var(--encre);
  --night: #1e1a17;
  --sun: var(--soleil);
  --green: #2e9e5b;
  --hf: var(--font-heading-family, Georgia, serif);
  --bf: var(--font-body-family, system-ui, sans-serif);
  color: var(--choc);
  font-family: var(--bf);
  overflow: clip;
  background: var(--cream);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
.akh * {
  box-sizing: border-box;
}
.akh img {
  display: block;
  max-width: 100%;
  height: auto;
}
.akh-kicker {
  font-family: var(--bf);
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  opacity: 0.75;
}
.akh-h2 {
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(3.4rem, 5.6vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 2rem;
}
.akh-body {
  font-size: 1.7rem;
  line-height: 1.65;
  max-width: 52rem;
  margin: 0 0 2.4rem;
  opacity: 0.85;
}
.akh-accent {
  color: var(--terra);
}
.akh-head {
  text-align: center;
  margin: 0 auto 6rem;
}
.akh-head .akh-body {
  margin-inline: auto;
}
.akh-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.akh-btns--center {
  justify-content: center;
}
.akh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 0 2.8rem;
  border-radius: 99px;
  background: var(--choc);
  color: var(--cream);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.16s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.2s,
    box-shadow 0.2s;
  border: 1.5px solid var(--choc);
}
@media (hover: hover) and (pointer: fine) {
  .akh-btn:hover {
    transform: translateY(-2px);
    background: var(--terra);
    border-color: var(--terra);
    box-shadow: 0 10px 24px -10px rgba(59, 42, 32, 0.6);
  }
}
.akh-btn--ghost {
  background: transparent;
  color: var(--choc);
}
@media (hover: hover) and (pointer: fine) {
  .akh-btn--ghost:hover {
    color: var(--cream);
  }
}
.akh-btn--light {
  background: var(--cream);
  color: var(--choc);
  border-color: var(--cream);
}
.akh-btn--ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 232, 213, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .akh-btn--ghost-light:hover {
    background: var(--cream);
    color: var(--choc);
    border-color: var(--cream);
  }
}
.akh-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 1.4rem;
  color: var(--choc);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  opacity: 0.7;
  margin-top: 1.6rem;
}
/* Ouverture */
.akh-sky {
  position: absolute;
  inset: 0;
  z-index: -5;
  background: linear-gradient(180deg, #f7eedd 0%, #f4e2c6 45%, #ebc9a0 100%);
}
.akh-sun {
  position: absolute;
  z-index: -4;
  top: 7%;
  left: 44%;
  width: clamp(11rem, 15vw, 19rem);
  aspect-ratio: 1;
}
.akh-sun__rays {
  position: absolute;
  inset: 0;
  animation: akh-spin 60s linear infinite;
}
.akh-sun__disc {
  position: absolute;
  border-radius: 50%;
}
.akh-hill {
  position: absolute;
  left: -2%;
  width: 104%;
  bottom: 0;
  height: 46%;
  z-index: -3;
  will-change: transform;
}
.akh-hill--2 {
  height: 40%;
  z-index: -2;
}
.akh-hill--3 {
  height: 34%;
  z-index: -1;
}
.akh-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 9%;
  background: var(--choc);
  z-index: -1;
}
.akh-hero__title {
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(5.6rem, 9.5vw, 13rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 2.8rem;
}
.akh-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.akh-line > span {
  display: inline-block;
}
.akh-hero__lede {
  font-size: 1.8rem;
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 0 3.2rem;
}
.akh-in {
  opacity: 0;
  transform: translateY(40%);
  animation: akh-up 0.45s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: calc(var(--d, 0s) * 0.3);
}
p.akh-in,
div.akh-in {
  transform: translateY(8px);
}
.akh-book__shadow {
  position: absolute;
  left: 10%;
  right: 6%;
  bottom: -6%;
  height: 6%;
  border-radius: 50%;
  background: radial-gradient(rgba(59, 42, 32, 0.35), transparent 70%);
  animation: akh-shadow 7s ease-in-out infinite;
}
.akh-scroll {
  position: absolute;
  left: 50%;
  bottom: 3.2rem;
  width: 2.6rem;
  height: 4.2rem;
  margin-left: -1.3rem;
  border: 1.5px solid rgba(242, 232, 213, 0.6);
  border-radius: 2rem;
  z-index: 2;
}
.akh-scroll span {
  position: absolute;
  left: 50%;
  top: 0.8rem;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--cream);
  animation: akh-wheel 2s ease-in-out infinite;
}
/* Bandeau */
.akh-marquee {
  background: var(--choc);
  color: var(--cream);
  padding: 2.4rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(242, 232, 213, 0.08);
}
.akh-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 3.2rem;
  animation: akh-marq 38s linear infinite;
}
.akh-marquee span {
  font-family: var(--hf);
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  letter-spacing: 0.01em;
}
.akh-marquee i {
  font-style: normal;
  color: var(--sun);
  font-size: 1.6rem;
}
/* Manifeste */
.akh-manif {
  margin: 0 auto;
  padding: 16rem 5rem 14rem;
  text-align: center;
}
.akh-manif__text {
  font-family: var(--hf);
  font-weight: 500;
  margin: 0;
}
.akh-manif__text .w {
  opacity: 0.14;
  transition: opacity 0.25s linear;
}
.akh-manif__text .w.on {
  opacity: 1;
}
/* Valeurs */
.akh-hz {
  height: 340vh;
  position: relative;
}
.akh-hz__stick {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.akh-hz .akh-head {
  margin-bottom: 4.4rem;
  padding: 0 2.4rem;
}
.akh-values__grid {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  padding: 0 max(2.4rem, calc((100vw - 120rem) / 2));
  will-change: transform;
}
.akh-values .akh-card {
  width: min(54rem, 80vw);
  min-height: min(52vh, 50rem);
  flex: 0 0 auto;
  padding: 4.4rem 4rem 4.8rem;
}
.akh-values .akh-card h3 {
  font-size: clamp(3.2rem, 4vw, 5.2rem);
}
.akh-values .akh-card p {
  font-size: 1.7rem;
  max-width: 40rem;
}
.akh-values .akh-ico {
  width: 8rem;
  height: 8rem;
  top: 4rem;
  left: 4rem;
}
.akh-num {
  position: absolute;
  top: 4rem;
  right: 4rem;
  font-family: var(--hf);
  font-size: 1.6rem;
  opacity: 0.55;
  letter-spacing: 0.1em;
}
/* Récit du livre */
.akh-story {
  height: 460vh;
  position: relative;
  background: var(--cream);
}
.akh-story__stick {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 136rem;
  margin: 0 auto;
  padding: 0 5rem;
}
.akh-story__caps {
  position: relative;
}
.akh-cap {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0;
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(4.4rem, 6.6vw, 9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(calc(-50% + 30px));
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.akh-cap.is-on {
  opacity: 1;
  transform: translateY(-50%);
}
.akh-cap.is-past {
  opacity: 0;
  transform: translateY(calc(-50% - 30px));
}
.akh-story__stage {
  position: relative;
  height: min(64vh, 62rem);
  aspect-ratio: 560/794;
  justify-self: center;
  perspective: 1800px;
}
.akh-pg,
.akh-cov {
  position: absolute;
  inset: 0;
  margin: 0;
  will-change: transform;
}
.akh-pg {
  background: #fff;
  padding: 0.8rem;
  border-radius: 0.4rem;
  box-shadow: 0 30px 50px -28px rgba(59, 42, 32, 0.55);
}
.akh-pg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.akh-pg--main {
  padding: 0;
}
.akh-cov {
  transform-style: preserve-3d;
  transform-origin: left center;
}
.akh-cov__front,
.akh-cov__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
}
.akh-cov__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.akh-cov__front {
  box-shadow: 24px 34px 50px -18px rgba(59, 42, 32, 0.6);
}
.akh-cov__front:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.3),
    rgba(255, 255, 255, 0.15) 50%,
    rgba(0, 0, 0, 0.08)
  );
}
.akh-cov__back {
  transform: rotateY(180deg);
  background: #f2e8d5;
  box-shadow: inset -20px 0 30px -20px rgba(59, 42, 32, 0.35);
}
.akh-story__bar {
  position: absolute;
  left: 50%;
  bottom: 4rem;
  width: 12rem;
  height: 2px;
  margin-left: -6rem;
  background: rgba(59, 42, 32, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.akh-story__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--terra);
  transform-origin: left;
  transform: scaleX(0);
}
/* Toutes les cultures */
/* Crayon qui suit la souris */
.akh-card {
  position: relative;
  padding: 3.6rem 3rem 4rem;
  border-radius: 2.4rem;
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s;
}
@media (hover: hover) and (pointer: fine) {
  .akh-card:hover {
    transform: translateY(-8px) rotate(-0.6deg);
    box-shadow: 0 30px 50px -30px rgba(59, 42, 32, 0.55);
  }
}
.akh-card h3 {
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(2.6rem, 2.4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
}
.akh-card p {
  font-size: 1.5rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
}
.akh-card--sand {
  background: var(--sand);
}
.akh-card--terra {
  background: var(--terra);
  color: var(--cream);
}
.akh-card--choc {
  background: var(--choc);
  color: var(--cream);
}
.akh-card--sun {
  background: var(--sun);
}
.akh-ico {
  position: absolute;
  top: 3.2rem;
  left: 3rem;
  width: 6.4rem;
  height: 6.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.akh-ico * {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1)
    calc(var(--d, 0s) + 0.3s);
}
.akh-card.is-in .akh-ico * {
  stroke-dashoffset: 0;
}
/* Coloriage */
.akh-play {
  background: var(--sand);
  padding: 14rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: none;
}
.akh-play__text {
  max-width: 56rem;
  justify-self: end;
}
.akh-palette {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.akh-palette button {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  border: 0;
  background: var(--c);
  cursor: pointer;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.25s;
}
.akh-palette button[aria-checked="true"] {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.15),
    0 0 0 3px var(--sand),
    0 0 0 5px var(--choc);
}
.akh-play__page {
  justify-self: start;
  width: min(46rem, 100%);
}
.akh-paper {
  position: relative;
  background: #fff;
  padding: 1.6rem;
  border-radius: 0.6rem;
  transform: rotate(1.6deg);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.04),
    0 40px 60px -30px rgba(59, 42, 32, 0.5);
  transition: transform 0.6s;
}
@media (hover: hover) and (pointer: fine) {
  .akh-paper:hover {
    transform: rotate(0);
  }
}
.akh-paper img {
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.akh-paper canvas {
  position: absolute;
  inset: 1.6rem;
  width: calc(100% - 3.2rem);
  height: calc(100% - 3.2rem);
  mix-blend-mode: multiply;
  touch-action: none;
  cursor: crosshair;
}
.akh-hint {
  position: absolute;
  top: -1.4rem;
  right: -1rem;
  background: var(--choc);
  color: var(--cream);
  font-size: 1.3rem;
  padding: 0.8rem 1.4rem;
  border-radius: 99px;
  transform: rotate(4deg);
  transition: opacity 0.4s;
  pointer-events: none;
}
.akh-hint.off {
  opacity: 0;
}
/* Chiffres */
/* Livres */
.akh-books {
  padding: 12rem 5rem 14rem;
}
.akh-books__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 110rem;
  margin: 0 auto;
}
.akh-ed {
  position: relative;
  background: var(--sand);
  border-radius: 2.4rem;
  padding: 4rem;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 3rem;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.akh-ed--prem {
  background: var(--choc);
  color: var(--cream);
}
@media (hover: hover) and (pointer: fine) {
  .akh-ed:hover {
    transform: translateY(-6px);
  }
}
.akh-ed__img img {
  border-radius: 0.4rem;
  box-shadow: 12px 18px 30px -12px rgba(0, 0, 0, 0.5);
  transform: rotate(-3deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .akh-ed:hover .akh-ed__img img {
    transform: rotate(0) scale(1.03);
  }
}
.akh-ed h3 {
  font-family: var(--hf);
  font-weight: 500;
  font-size: 3.2rem;
  margin: 0 0 1.6rem;
}
.akh-ed ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2.8rem;
  font-size: 1.5rem;
  line-height: 1.5;
}
.akh-ed li {
  padding-left: 2.2rem;
  position: relative;
  margin-bottom: 0.8rem;
}
.akh-ed li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--sun);
}
.akh-ed__foot {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.akh-price {
  font-family: var(--hf);
  font-size: 3rem;
}
.akh-ed--prem .akh-btn {
  background: var(--cream);
  color: var(--choc);
  border-color: var(--cream);
}
@media (hover: hover) and (pointer: fine) {
  .akh-ed--prem .akh-btn:hover {
    background: var(--sun);
    border-color: var(--sun);
  }
}
.akh-badge {
  position: absolute;
  top: -1.4rem;
  right: 3rem;
  background: var(--sun);
  color: var(--choc);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.4rem;
  border-radius: 99px;
  transform: rotate(3deg);
}
.akh-badge--light {
  background: var(--cream);
  border: 1px solid rgba(59, 42, 32, 0.15);
}
/* Fin */
.akh-end {
  position: relative;
  background: linear-gradient(180deg, var(--choc) 0%, var(--night) 100%);
  color: var(--cream);
  padding: 18rem 5rem 22rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.akh-end__sun {
  position: absolute;
  left: 50%;
  bottom: -24rem;
  width: 52rem;
  height: 52rem;
  margin-left: -26rem;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(
    circle,
    #f4b63c 0 34%,
    rgba(232, 154, 42, 0.5) 35%,
    rgba(160, 100, 60, 0.18) 55%,
    transparent 70%
  );
  transform: translateY(var(--sy, 0px));
}
.akh-stars {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(
      1.5px 1.5px at 12% 22%,
      rgba(242, 232, 213, 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 28% 60%, rgba(242, 232, 213, 0.5), transparent),
    radial-gradient(
      1.5px 1.5px at 44% 14%,
      rgba(242, 232, 213, 0.6),
      transparent
    ),
    radial-gradient(1px 1px at 63% 38%, rgba(242, 232, 213, 0.5), transparent),
    radial-gradient(
      1.5px 1.5px at 78% 18%,
      rgba(242, 232, 213, 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 90% 52%, rgba(242, 232, 213, 0.5), transparent),
    radial-gradient(1px 1px at 6% 70%, rgba(242, 232, 213, 0.4), transparent),
    radial-gradient(
      1.5px 1.5px at 55% 72%,
      rgba(242, 232, 213, 0.35),
      transparent
    );
  animation: akh-twinkle 6s ease-in-out infinite alternate;
}
.akh-end__inner {
  max-width: 90rem;
  margin: 0 auto;
}
.akh-end__title {
  color: var(--cream);
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(4rem, 6.4vw, 8rem);
  line-height: 1.02;
  margin: 0 0 4rem;
}
/* Apparition au défilement */
.akh-rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1) calc(var(--d, 0s) * 0.5),
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1) calc(var(--d, 0s) * 0.5);
}
.akh-rv.is-in {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .akh-card.akh-rv.is-in:hover {
    transform: translateY(-8px) rotate(-0.6deg);
  }
}
@keyframes akh-up {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes akh-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes akh-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}
@keyframes akh-shadow {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.88);
    opacity: 0.7;
  }
}
@keyframes akh-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes akh-wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes akh-marq {
  to {
    transform: translateX(-50%);
  }
}
@keyframes akh-twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 989px) {
  .akh-story__stick {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: 9rem 2.4rem 6rem;
    align-items: start;
  }
  .akh-cap {
    font-size: clamp(3.4rem, 10vw, 5.2rem);
  }
  .akh-story__stage {
    height: min(52vh, 50rem);
    align-self: center;
  }
  .akh-hz {
    height: 300vh;
  }
  .akh-values .akh-card {
    min-height: 46vh;
    padding: 3.4rem 2.8rem;
  }
  .akh-values .akh-ico {
    width: 6rem;
    height: 6rem;
    top: 3rem;
    left: 2.8rem;
  }
  .akh-num {
    top: 3.2rem;
    right: 2.8rem;
  }
  .akh-sun {
    top: 1.5%;
    left: auto;
    right: 5%;
    width: 7rem;
  }
  .akh-ico {
    top: 2.6rem;
    left: 2.2rem;
    width: 5.2rem;
    height: 5.2rem;
  }
  .akh-play {
    grid-template-columns: 1fr;
    padding: 10rem 2.4rem;
  }
  .akh-play__text,
  .akh-play__page {
    justify-self: center;
  }
  .akh-books {
    padding: 9rem 2rem 10rem;
  }
  .akh-books__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .akh-manif {
    padding: 11rem 2.4rem 10rem;
  }
  .akh-end {
    padding: 14rem 2.4rem 20rem;
  }
}
@media (max-width: 600px) {
  .akh-ed {
    grid-template-columns: 1fr;
    padding: 3.2rem 2.4rem;
  }
  .akh-ed__img {
    width: 62%;
    margin: 0 auto;
  }
  .akh-btn {
    min-height: 4.8rem;
    padding: 0 2.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akh-hz,
  .akh-story {
    height: auto;
  }
  .akh-hz__stick,
  .akh-story__stick {
    position: relative;
    height: auto;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .akh-values__grid {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .akh-story__caps {
    display: none;
  }
  .akh-pg:not(.akh-pg--main),
  .akh-cov {
    display: none;
  }
  .akh *,
  .akh *:before {
    animation: none !important;
    transition: none !important;
  }
  .akh-in,
  .akh-rv {
    opacity: 1 !important;
    transform: none !important;
  }
  .akh-ico * {
    stroke-dashoffset: 0;
  }
}
/* ==========================================================================
   Bulles « Bonjour », bouton panier flottant
   ========================================================================== */
/* Coloriage net du colibri (récit) */
.akh-colored {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 100%, 0% 118%, 100% 100%, 100% 100%);
}
.akh-crayon2 {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 6%;
  z-index: 2;
  opacity: 0;
  transform-origin: 50% 0;
  transform: translate(-50%, 0) rotate(205deg);
  transition: opacity 0.3s;
  filter: drop-shadow(3px 6px 5px rgba(59, 42, 32, 0.35));
  pointer-events: none;
}
.akh-crayon2 svg {
  display: block;
  width: 100%;
}
.akh-pg--main {
  overflow: visible;
}
.akh-pg--main > img {
  border-radius: 0.4rem;
}
.akh-nocolor .akh-colored {
  display: none;
}
/* Bonjour dans toutes les langues */
.akh-hello {
  position: relative;
  min-height: max(100vh, 72rem);
  background: var(--choc);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12rem 2.4rem;
  --mx: 0;
  --my: 0;
  --sy: 0;
}
.akh-hello__center {
  position: relative;
  z-index: 2;
  max-width: 62rem;
  text-align: center;
}
.akh-hello__center .akh-body {
  margin-inline: auto;
  color: var(--cream);
}
.akh-hello__bubbles {
  position: absolute;
  inset: 0;
}
.akh-bub {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  cursor: pointer;
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(2rem, 2.4vw, 3.2rem);
  line-height: 1;
  padding: 1.3rem 2.2rem 1.5rem;
  border-radius: 99px;
  white-space: nowrap;
  transform: translate(-50%, -50%)
    translate(
      calc(var(--mx) * -30px * (1 + var(--i) / 7)),
      calc(
        var(--my) * -30px * (1 + var(--i) / 7) + var(--sy) * -120px *
          (1 + var(--i) / 9)
      )
    )
    scale(0.6);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.35, 0.64, 1) calc(var(--i) * 35ms),
    opacity 0.3s ease calc(var(--i) * 35ms);
}
.akh-hello.is-in .akh-bub {
  opacity: 1;
  transform: translate(-50%, -50%)
    translate(
      calc(var(--mx) * -30px * (1 + var(--i) / 7)),
      calc(
        var(--my) * -30px * (1 + var(--i) / 7) + var(--sy) * -120px *
          (1 + var(--i) / 9)
      )
    )
    scale(1);
}
.akh-bub:after {
  content: attr(data-lang);
  position: absolute;
  left: 50%;
  top: calc(100% + 0.8rem);
  transform: translateX(-50%);
  font-family: var(--bf);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.akh-bub.said:after {
  opacity: 0.8;
}
@media (hover: hover) and (pointer: fine) {
  .akh-bub:hover:after {
    opacity: 0.8;
  }
}
.akh-bub:before {
  content: "";
  position: absolute;
  left: 22%;
  bottom: -0.7rem;
  border: 0.8rem solid transparent;
  border-top-color: var(--c);
  border-bottom: 0;
}
.akh-bub.pop {
  animation: akh-hi 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.akh-hello.is-in .akh-bub {
  animation: akh-drift 6s ease-in-out calc(1s + var(--i) * 0.37s) infinite
    alternate;
}
.akh-hello.is-in .akh-bub.pop {
  animation: akh-hi 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes akh-drift {
  to {
    translate: 0 -1.2rem;
  }
}
@keyframes akh-hi {
  0% {
    scale: 1;
  }
  30% {
    scale: 1.25;
    rotate: -6deg;
  }
  60% {
    scale: 0.95;
    rotate: 4deg;
  }
  100% {
    scale: 1;
    rotate: 0deg;
  }
}
/* Coloriage au toucher */
.akh-fillcv {
  position: absolute;
  inset: 1.6rem;
  width: calc(100% - 3.2rem);
  height: calc(100% - 3.2rem);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s;
  touch-action: manipulation;
}
.akh-paper.is-ready .akh-fillcv {
  opacity: 1;
}
.akh-ripple {
  position: absolute;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  animation: akh-ripple 0.7s ease-out forwards;
  mix-blend-mode: multiply;
}
@keyframes akh-ripple {
  to {
    transform: scale(14);
    opacity: 0;
  }
}
.akh-play__actions .akh-btn--ghost {
  min-height: 4.6rem;
  padding: 0 2.2rem;
}
/* Soleil qui devient lune */
.akh-orb {
  position: fixed;
  right: 2.4rem;
  bottom: 2.4rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 2.2rem 0.7rem 0.7rem;
  border-radius: 99px;
  text-decoration: none;
  background: rgba(59, 42, 32, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--cream);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  transform: translateY(160%);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.6s;
}
.akh-orb.is-shown {
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .akh-orb:hover {
    background: rgba(30, 26, 23, 0.95);
  }
}
@media (hover: hover) and (pointer: fine) {
  .akh-orb:hover .akh-orb__ico {
    transform: scale(1.08) rotate(-8deg);
  }
}
.akh-orb.is-night {
  background: rgba(30, 26, 23, 0.9);
}
.akh-orb__ico {
  width: 5.2rem;
  height: 5.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(242, 232, 213, 0.07);
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.akh-orb__ico [data-rays] {
  transform-origin: 24px 24px;
  transition: opacity 0.3s;
}
.akh-orb__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}
.akh-orb__txt b {
  font-family: var(--hf);
  font-weight: 500;
  font-size: 2rem;
}
.akh-orb__txt small {
  font-size: 1.2rem;
  opacity: 0.7;
}
@media (max-width: 989px) {
  .akh-orb {
    right: 1.2rem;
    bottom: 1.2rem;
    padding: 0.5rem 1.6rem 0.5rem 0.5rem;
  }
  .akh-orb__ico {
    width: 4.4rem;
    height: 4.4rem;
  }
  .akh-orb__txt b {
    font-size: 1.7rem;
  }
  .akh-bub {
    font-size: 1.7rem;
    padding: 1rem 1.6rem 1.2rem;
  }
  .akh-bub:nth-child(n + 11) {
    display: none;
  }
  .akh-bub:nth-child(1) {
    left: 22%;
    top: 7%;
  }
  .akh-bub:nth-child(2) {
    left: 62%;
    top: 5%;
  }
  .akh-bub:nth-child(3) {
    left: 80%;
    top: 15%;
  }
  .akh-bub:nth-child(4) {
    left: 38%;
    top: 16%;
  }
  .akh-bub:nth-child(5) {
    left: 70%;
    top: 25%;
  }
  .akh-bub:nth-child(6) {
    left: 24%;
    top: 77%;
  }
  .akh-bub:nth-child(7) {
    left: 64%;
    top: 76%;
  }
  .akh-bub:nth-child(8) {
    left: 80%;
    top: 87%;
  }
  .akh-bub:nth-child(9) {
    left: 44%;
    top: 88%;
  }
  .akh-bub:nth-child(10) {
    left: 20%;
    top: 94%;
  }
  .akh-hello {
    padding: 16rem 2.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akh-bub,
  .akh-hello.is-in .akh-bub {
    transition: none;
    animation: none;
    transform: translate(-50%, -50%);
  }
  .akh-colored {
    clip-path: none;
  }
  .akh-orb {
    transform: none;
    transition: none;
  }
}
/* ==========================================================================
   Compléments d’animation
   ========================================================================== */
/* La collection grandit */
.akh-next {
  padding: 12rem 5rem 14rem;
  background: var(--sand);
  text-align: center;
}
.akh-shelf {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.6rem, 3vw, 4rem);
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 2rem 2.4rem;
  margin-top: 9rem;
}
.akh-shelf__plank {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: linear-gradient(#8a5a3b, #6b4329);
  box-shadow: 0 24px 30px -18px rgba(59, 42, 32, 0.6);
}
.akh-tome {
  position: relative;
  z-index: 1;
  width: clamp(11rem, 16vw, 19rem);
  text-decoration: none;
  color: var(--choc);
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.akh-tome__cover {
  display: grid;
  place-items: center;
  aspect-ratio: 2/3;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  position: relative;
  background: var(--t, #a0643c);
  box-shadow:
    inset 6px 0 8px -4px rgba(0, 0, 0, 0.35),
    10px 16px 26px -14px rgba(59, 42, 32, 0.6);
}
.akh-tome__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.akh-tome__cover i {
  font-style: normal;
  font-family: var(--hf);
  font-size: clamp(5rem, 7vw, 9rem);
  color: rgba(242, 232, 213, 0.85);
  line-height: 1;
}
.akh-tome:not(.akh-tome--real) .akh-tome__cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%
  );
  background-size: 250% 100%;
  animation: akh-shine 4.5s ease-in-out calc(var(--i) * 0.6s) infinite;
}
.akh-tome:not(.akh-tome--real) {
  filter: saturate(0.85);
}
.akh-tome--real .akh-tome__cover {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .akh-tome:hover {
    transform: translateY(-10px) rotate(-2deg);
  }
}
@media (hover: hover) and (pointer: fine) {
  .akh-tome:not(.akh-tome--real):hover {
    animation: akh-peek 0.7s ease-in-out;
  }
}
.akh-tome__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 1.2rem);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.akh-tome__label b {
  display: block;
  font-family: var(--hf);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}
@keyframes akh-shine {
  0%,
  60% {
    background-position: 120% 0;
  }
  100% {
    background-position: -60% 0;
  }
}
@keyframes akh-peek {
  0%,
  100% {
    transform: translateY(-10px) rotate(0);
  }
  30% {
    transform: translateY(-14px) rotate(-4deg);
  }
  60% {
    transform: translateY(-12px) rotate(3deg);
  }
}
.akh-next__form {
  max-width: 60rem;
  margin: 7rem auto 0;
}
.akh-next__lead {
  font-family: var(--hf);
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin: 0 0 2rem;
}
.akh-next__row {
  display: flex;
  gap: 1rem;
  background: var(--cream);
  padding: 0.6rem;
  border-radius: 99px;
  box-shadow: 0 14px 30px -18px rgba(59, 42, 32, 0.5);
}
.akh-next__row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 2rem;
  font: inherit;
  font-size: 1.6rem;
  color: var(--choc);
  outline: none;
}
.akh-next__row .akh-btn {
  white-space: nowrap;
}
.akh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 989px) {
  .akh-next {
    padding: 9rem 2rem 10rem;
  }
  .akh-shelf {
    gap: 1rem;
    padding: 0 1rem 1.8rem;
  }
  .akh-tome {
    width: 22%;
  }
  .akh-tome__label {
    font-size: 0;
    bottom: calc(100% + 0.8rem);
  }
  .akh-tome__label b {
    font-size: 1.3rem;
  }
  .akh-next__row {
    flex-direction: column;
    border-radius: 2.4rem;
    padding: 1rem;
  }
  .akh-next__row input {
    padding: 1.2rem 1.4rem;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akh-tome__cover:after {
    animation: none !important;
  }
}
/* ==========================================================================
   Appels à l’action
   ========================================================================== */
/* Moins long : « Toutes les cultures » */
/* Boutons à chaque étape */
.akh-story__caps {
  height: 36rem;
}
.akh-manif__cta {
  margin-top: 5rem;
}
.akh-card--cta {
  background: linear-gradient(160deg, var(--terra), #7a4a2c);
  color: var(--cream);
  justify-content: center;
}
.akh-card--cta h3 {
  margin-bottom: 1.6rem;
}
.akh-card--cta p {
  margin-bottom: 2.8rem;
}
.akh-play__actions {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin-top: 3.2rem;
}
.akh-play__actions .akh-link {
  margin-top: 0;
}
/* Barre d'achat flottante */
@media (max-width: 989px) {
  .akh-story__caps {
    height: 13rem;
  }
}
/* ==========================================================================
   Version fusionnée du héros et ajustements mobiles
   ========================================================================== */
/* Ouverture + récit fusionnés : un seul livre qui reste à l'écran */
.akh-story--merged {
  height: 480vh;
}
.akh-story--merged .akh-story__stick {
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  background: var(--cream);
}
.akh-land {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  will-change: opacity;
}
.akh-story__grid {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.akh-story--merged .akh-story__caps {
  display: grid;
  height: auto;
  position: relative;
}
.akh-story--merged .akh-cap {
  grid-area: 1/1;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  align-self: center;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.akh-story--merged .akh-cap.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.akh-story--merged .akh-cap.is-past {
  opacity: 0;
  transform: translateY(-30px);
}
.akh-cap__t {
  margin: 0;
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(4.4rem, 6.6vw, 9rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.akh-story--merged .akh-story__stage {
  height: min(66vh, 64rem);
  justify-self: center;
  align-self: center;
  animation: akh-float 7s ease-in-out infinite;
}
.akh-story--merged .akh-pg,
.akh-story--merged .akh-pg--main {
  opacity: 0;
}
.akh-stage__shadow {
  z-index: -1;
  bottom: -5%;
}
.akh-story--merged .akh-scroll,
.akh-story--merged .akh-story__bar {
  z-index: 2;
}
.akh-story--merged .akh-story__bar {
  bottom: 2.4rem;
}
/* Bouton panier rond */
.akh-cap--hero .akh-btns {
  align-items: center;
}
/* Le livre s'ouvre et se feuillette */
.akh-story--merged .akh-story__stage {
  perspective: none;
  transform-origin: 50% 50%;
  will-change: transform;
}
.akh-story--merged .akh-cov {
  transform-origin: left center;
}
.akh-story--merged .akh-cov__back {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12%;
  background: #f7efe0;
}
.akh-own {
  font-family: var(--hf);
  font-size: clamp(1.2rem, 1.4vw, 1.8rem);
  color: var(--choc);
  opacity: 0.75;
  text-align: center;
  width: 100%;
}
.akh-own i {
  display: block;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  margin-top: 1.4em;
}
.akh-leaf {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  opacity: 0;
  will-change: transform;
}
.akh-leaf__f,
.akh-leaf__b {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: 0.8rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 0 0.4rem 0.4rem 0;
  box-shadow: inset 10px 0 18px -12px rgba(59, 42, 32, 0.35);
}
.akh-leaf__b {
  transform: rotateY(180deg);
  border-radius: 0.4rem 0 0 0.4rem;
  box-shadow: inset -10px 0 18px -12px rgba(59, 42, 32, 0.35);
}
.akh-leaf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.akh-story--merged .akh-pg--main {
  z-index: 1;
  border-radius: 0 0.4rem 0.4rem 0;
  box-shadow:
    inset 10px 0 18px -12px rgba(59, 42, 32, 0.35),
    0 30px 50px -28px rgba(59, 42, 32, 0.55);
}
/* Étiquette sous le livre */
.akh-stage__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 2.4rem);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--choc);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(242, 232, 213, 0.92);
  padding: 0.8rem 1.6rem;
  border-radius: 99px;
  box-shadow: 0 10px 24px -14px rgba(59, 42, 32, 0.5);
  z-index: 6;
}
.akh-stage__label:before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 3px rgba(244, 182, 60, 0.25);
}
@media (max-width: 989px) {
  .akh-story--merged {
    height: 420vh;
  }
  .akh-story__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 2.4rem 2.4rem 2.4rem;
    gap: 0;
    align-items: start;
  }
  .akh-story--merged .akh-story__stage {
    height: calc(100% - 9rem);
    max-height: 34rem;
    min-height: 16rem;
    align-self: start;
    margin-top: 3.2rem;
  }
  .akh-cap--hero .akh-kicker {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .akh-cap--hero .akh-hero__title {
    font-size: clamp(4.2rem, 12vw, 5.6rem);
    margin-bottom: 1.4rem;
  }
  .akh-cap--hero .akh-hero__lede {
    font-size: 1.45rem;
    line-height: 1.55;
    margin-bottom: 2rem;
    max-width: 34rem;
  }
  .akh-cap--hero .akh-btns {
    gap: 1rem;
  }
  .akh-cap--hero .akh-btn {
    min-height: 4.4rem;
    padding: 0 2.2rem;
    font-size: 1.45rem;
  }
  .akh-cap__t {
    font-size: clamp(3.4rem, 10vw, 5.2rem);
  }
  .akh-story--merged .akh-scroll,
  .akh-story--merged .akh-story__bar {
    display: none;
  }
  .akh-story--merged .akh-sun {
    display: none;
  }
  .akh-stage__label {
    top: calc(100% + 1.6rem);
    font-size: 1rem;
    letter-spacing: 0.2em;
    padding: 0.7rem 1.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akh-story--merged {
    height: auto;
  }
  .akh-story--merged .akh-story__stick {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 0;
  }
  .akh-story--merged .akh-story__grid {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
  .akh-story--merged .akh-story__caps {
    display: grid;
  }
  .akh-story--merged .akh-cap:not(.akh-cap--hero) {
    display: none;
  }
  .akh-story--merged .akh-cap--hero {
    opacity: 1;
    transform: none;
  }
  .akh-story--merged .akh-cov {
    display: block;
  }
  .akh-story--merged .akh-pg,
  .akh-story--merged .akh-pg--main {
    display: none;
  }
}
/* Palette à côté du dessin */
.akh-play__page {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.akh-play__page .akh-paper {
  flex: 1;
  min-width: 0;
}
.akh-palette--side {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 1.2rem;
  border-radius: 99px;
  box-shadow: 0 14px 30px -18px rgba(59, 42, 32, 0.5);
}
@media (max-width: 989px) {
  .akh-play {
    gap: 3.2rem;
  }
  .akh-play__page {
    width: 100%;
    gap: 1.4rem;
  }
  .akh-palette--side {
    gap: 0.9rem;
    padding: 0.9rem 0.7rem;
  }
  .akh-palette--side button {
    width: 3.6rem;
    height: 3.6rem;
  }
  .akh-play__page .akh-paper {
    padding: 1rem;
  }
  .akh-play__page .akh-paper canvas {
    inset: 1rem;
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
  }
}
/* Aperçu : pas de copie directe des images */
.akh-story__stage img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.akh-leaf {
  transform-style: flat;
}
.akh-leaf__b {
  display: none;
}
.akh-leaf__f {
  border-radius: 0 0.4rem 0.4rem 0;
  box-shadow:
    inset 10px 0 18px -12px rgba(59, 42, 32, 0.35),
    0 24px 40px -22px rgba(59, 42, 32, 0.55);
}
/* ==========================================================================
   Bento « Dans le livre », éditions, étagère, grain papier
   ========================================================================== */
/* ===== Finitions « premium » : typographie, grain, révélations, grille, scène sombre ===== */
/* titres plus grands, plus serrés */
.akh .akh-h2 {
  font-size: clamp(4rem, 6.4vw, 9.6rem);
}
.akh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}
.akh-kicker:before {
  content: "";
  width: 2.8rem;
  height: 2px;
  background: var(--sun);
}
.akh-head .akh-kicker,
.akh-manif .akh-kicker,
.akh-hello__center .akh-kicker {
  justify-content: center;
}
/* titres qui montent ligne par ligne */
.akh-ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.akh-ln > span {
  display: block;
  transform: translateY(108%);
  transition: transform 1.1s var(--ease);
}
.akh-ln:nth-child(2) > span {
  transition-delay: 0.08s;
}
.akh-ln:nth-child(3) > span {
  transition-delay: 0.16s;
}
.is-up .akh-ln > span {
  transform: none;
}
/* images qui se dévoilent */
.akh-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease);
}
.akh-clip img {
  transform: scale(1.18);
  transition: transform 1.6s var(--ease);
}
.akh-clip.is-up {
  clip-path: inset(0 0 0 0);
}
.akh-clip.is-up img {
  transform: none;
}
/* manifeste plus imposant */
.akh-manif {
  max-width: 128rem;
}
.akh-manif__text {
  font-size: clamp(3.4rem, 5.4vw, 7.6rem);
  line-height: 1.08;
}
/* ===== Grille « Dans le livre » ===== */
.akh-bento {
  padding: 14rem 5rem 12rem;
  max-width: 140rem;
  margin: 0 auto;
}
.akh-bento .akh-head {
  text-align: center;
  margin-bottom: 6rem;
}
.akh-bento__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(26rem, auto);
  gap: 1.6rem;
}
.akh-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2.8rem;
  padding: 3.6rem;
  background: var(--sand);
  color: var(--choc);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.8s var(--ease),
    box-shadow 0.8s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .akh-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 60px -40px rgba(59, 42, 32, 0.6);
  }
}
.akh-tile h3 {
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(2.6rem, 2.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}
.akh-tile p {
  margin: 0.8rem 0 0;
  font-size: 1.6rem;
  line-height: 1.45;
  opacity: 0.85;
}
.akh-tile__num {
  font-family: var(--hf);
  font-weight: 500;
  font-size: clamp(8rem, 9vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  display: block;
}
.akh-tile--big {
  grid-column: span 2;
  grid-row: span 2;
  background: radial-gradient(
    120% 90% at 20% 0%,
    #5a3e2e 0%,
    #2a1d16 60%,
    #1c130f 100%
  );
  color: var(--cream);
  justify-content: flex-start;
}
.akh-tile--big .akh-tile__num {
  font-size: clamp(14rem, 16vw, 24rem);
  background: linear-gradient(180deg, #ffe3a3 0%, #f4b63c 55%, #c9782f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.akh-tile--big p {
  font-size: 1.9rem;
  max-width: 30rem;
}
.akh-tile__fan {
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 78%;
  height: 62%;
  transform: translateX(-30%);
}
.akh-tile__fan img {
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 44%;
  height: auto;
  border-radius: 0.6rem;
  background: #fff;
  padding: 0.6rem;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 100%;
  transition: transform 1s var(--ease);
}
.akh-tile__fan img:nth-child(1) {
  transform: rotate(-16deg) translateX(-34%);
}
.akh-tile__fan img:nth-child(2) {
  transform: rotate(14deg) translateX(34%);
}
.akh-tile__fan img:nth-child(3) {
  transform: rotate(0) translateY(-6%);
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
  .akh-tile--big:hover .akh-tile__fan img:nth-child(1) {
    transform: rotate(-24deg) translateX(-52%);
  }
}
@media (hover: hover) and (pointer: fine) {
  .akh-tile--big:hover .akh-tile__fan img:nth-child(2) {
    transform: rotate(22deg) translateX(52%);
  }
}
@media (hover: hover) and (pointer: fine) {
  .akh-tile--big:hover .akh-tile__fan img:nth-child(3) {
    transform: translateY(-12%);
  }
}
/* tuile photo : le titre se pose dans le ciel clair, les enfants restent visibles en bas */
.akh-tile--photo {
  grid-row: span 2;
  padding: 0;
  justify-content: flex-start;
  background: #f3dcb6;
}
.akh-tile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  transition: transform 1.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .akh-tile--photo:hover img {
    transform: scale(1.06);
  }
}
.akh-tile--photo .akh-tile__txt {
  position: relative;
  z-index: 1;
  padding: 3.2rem;
}
.akh-tile--photo h3 {
  color: var(--choc);
}
.akh-tile--sun {
  background: linear-gradient(160deg, #ffd877 0%, #f4b63c 60%, #e89a2c 100%);
}
.akh-tile--terra {
  background: linear-gradient(160deg, #c98f5c 0%, #a0643c 100%);
  color: var(--cream);
}
.akh-tile--wide {
  grid-column: span 4;
  min-height: 0;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  background: var(--cream);
  border: 1px solid rgba(59, 42, 32, 0.14);
}
.akh-tile__price {
  font-family: var(--hf);
  font-size: 2.6rem;
}
.akh-tile--wide .akh-btns {
  align-items: center;
  gap: 2rem;
}
/* ===== Scène sombre pour le livre ===== */
.akh-books {
  background:
    radial-gradient(
      70% 55% at 50% 0%,
      rgba(244, 182, 60, 0.2) 0%,
      rgba(244, 182, 60, 0) 60%
    ),
    linear-gradient(180deg, #1c130f 0%, #2a1d16 100%);
  color: var(--cream);
  border-top: 0;
  padding-top: 16rem;
  position: relative;
}
.akh-books .akh-head {
  text-align: center;
  max-width: none;
}
.akh-h2--giant {
  white-space: nowrap;
}
.akh-books .akh-body {
  color: rgba(242, 232, 213, 0.75);
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
}
.akh-h2--giant {
  font-size: clamp(7rem, 14vw, 21rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.045em !important;
  background: linear-gradient(180deg, #fff3d6 0%, #f2e8d5 45%, #c9a27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 3rem;
}
.akh-books .akh-ed {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 232, 213, 0.12);
  color: var(--cream);
  backdrop-filter: blur(10px);
}
.akh-books .akh-ed--prem {
  background: linear-gradient(
    160deg,
    rgba(244, 182, 60, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 70%
  );
  border-color: rgba(244, 182, 60, 0.4);
  box-shadow:
    0 0 0 1px rgba(244, 182, 60, 0.08),
    0 40px 80px -40px rgba(244, 182, 60, 0.35);
}
.akh-books .akh-ed .akh-btn--ghost {
  color: var(--cream);
  border-color: rgba(242, 232, 213, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .akh-books .akh-ed .akh-btn--ghost:hover {
    background: var(--cream);
    color: var(--choc);
  }
}
.akh-books .akh-badge--light {
  background: rgba(242, 232, 213, 0.14);
  color: var(--cream);
}
@media (max-width: 989px) {
  .akh .akh-h2 {
    font-size: clamp(3.8rem, 11vw, 5.8rem);
  }
  .akh-bento {
    padding: 10rem 1.6rem 8rem;
  }
  .akh-bento .akh-head {
    margin-bottom: 4rem;
  }
  .akh-bento__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(19rem, auto);
    gap: 1.2rem;
  }
  .akh-tile {
    padding: 2.4rem;
    border-radius: 2.2rem;
  }
  .akh-tile p {
    font-size: 1.4rem;
  }
  .akh-tile__num {
    font-size: clamp(6rem, 17vw, 8rem);
  }
  .akh-tile--big {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 44rem;
  }
  .akh-tile--big .akh-tile__num {
    font-size: clamp(12rem, 36vw, 16rem);
  }
  .akh-tile--big p {
    font-size: 1.6rem;
  }
  .akh-tile__fan {
    width: 96%;
    height: 50%;
    bottom: -8%;
    transform: translateX(-50%);
  }
  .akh-tile--photo {
    grid-row: span 2;
  }
  .akh-tile--photo .akh-tile__txt {
    padding: 2rem 1.6rem;
  }
  .akh .akh-tile--photo h3 {
    font-size: 1.8rem;
  }
  .akh-tile h3 {
    font-size: 2.2rem;
  }
  .akh-tile--wide {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
  }
  .akh-books {
    padding-top: 11rem;
  }
  .akh-h2--giant {
    font-size: clamp(6.4rem, 19vw, 9rem) !important;
  }
  .akh:after {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akh:after {
    animation: none;
  }
  .akh-ln > span {
    transform: none;
    transition: none;
  }
  .akh-clip {
    clip-path: none;
    transition: none;
  }
  .akh-clip img {
    transform: none;
    transition: none;
  }
}
/* ===== Ouverture : « Édition premium » au-dessus, « Acheter » en dessous, toujours visibles ===== */
.akh-story__col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  height: 100%;
  min-height: 0;
  justify-self: center;
  align-self: stretch;
}
.akh-story--merged .akh-story__col .akh-story__stage {
  height: min(56vh, 54rem);
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
}
.akh-stage__label--top {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  z-index: 6;
}
.akh-buybar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.akh-buybar .akh-btn {
  box-shadow: 0 18px 34px -18px rgba(59, 42, 32, 0.7);
}
@media (max-width: 989px) {
  .akh-story__col {
    gap: 1.4rem;
    justify-content: center;
    padding: 1.6rem 0 7.4rem;
  }
  .akh-story--merged .akh-story__col .akh-story__stage {
    height: auto;
    flex: 1 1 auto;
    min-height: 14rem;
    max-height: 36rem;
  }
  .akh-stage__label--top {
    font-size: 1rem;
    letter-spacing: 0.2em;
    padding: 0.7rem 1.4rem;
  }
  .akh-buybar .akh-btn {
    min-height: 4.6rem;
    padding: 0 2.4rem;
    font-size: 1.5rem;
  }
}
/* ===== Intro : les morceaux du logo Ankraj se regroupent en 3D, puis un reflet de lumière passe =====
   Allégée : 36 morceaux (24 sur téléphone), aucun mode de fusion ni filtre, tout en transform/opacity. */
.akh-intro {
  display: none;
}
.akh-intro-on .akh-intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  cursor: pointer;
  background: #f2e8d5;
}
.akh-intro-on .akh-in {
  animation-play-state: paused;
}
.akx-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 50% at 50% 42%, #fff8ec 0%, rgba(255, 248, 236, 0) 70%),
    radial-gradient(
      120% 90% at 50% 100%,
      rgba(201, 143, 92, 0.22) 0%,
      rgba(201, 143, 92, 0) 60%
    ),
    #f2e8d5;
}
.akx-bg:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(70vw, 64rem);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  background: radial-gradient(
    circle,
    rgba(244, 182, 60, 0.32) 0%,
    rgba(244, 182, 60, 0.1) 45%,
    rgba(244, 182, 60, 0) 70%
  );
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-go .akx-bg:before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.akx-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  transition:
    transform 0.6s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 0.5s ease;
}
.akx-logo {
  position: relative;
  width: min(62vw, 54rem);
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateY(-14deg);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-go .akx-logo {
  transform: none;
}
.akx-pieces {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.akx-pieces i {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
}
.is-go .akx-pieces i {
  opacity: 1;
}
/* une fois assemblé : un seul logo net remplace les morceaux */
.akx-whole {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.is-whole .akx-whole {
  opacity: 1;
}
.is-whole .akx-pieces {
  visibility: hidden;
}
/* reflet de lumière qui balaie le logo (bande claire découpée à la forme du logo) */
.akx-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      105deg,
      rgba(255, 244, 214, 0) 40%,
      rgba(255, 244, 214, 0.95) 50%,
      rgba(255, 244, 214, 0) 60%
    )
    no-repeat;
  background-size: 300% 100%;
  background-position: 130% 0;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0;
}
.is-whole .akx-shine {
  animation: akx-shine 1.3s cubic-bezier(0.45, 0, 0.25, 1) 0.1s forwards;
}
@keyframes akx-shine {
  0% {
    opacity: 1;
    background-position: 130% 0;
  }
  100% {
    opacity: 1;
    background-position: -30% 0;
  }
}
.akx-shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -6%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(59, 42, 32, 0.24),
    rgba(59, 42, 32, 0)
  );
  transform: translateZ(-60px) scale(0.6);
  opacity: 0;
  transition:
    opacity 0.8s ease 0.4s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.is-go .akx-shadow {
  opacity: 1;
  transform: translateZ(-60px) scale(1);
}
.akx-tag {
  margin: 4.4rem 0 0;
  font-family: var(--bf, inherit);
  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #6b3f24;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    letter-spacing 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-whole .akx-tag {
  opacity: 0.85;
  transform: none;
  letter-spacing: 0.34em;
}
.is-out .akx-stage {
  transform: scale(1.06) translateY(-2rem);
  opacity: 0;
}
.is-out {
  animation: akx-out 0.7s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes akx-out {
  to {
    clip-path: inset(0 0 100% 0);
  }
}
.akx-skip {
  position: absolute;
  right: 2.4rem;
  bottom: 2.4rem;
  background: none;
  border: 1px solid rgba(59, 42, 32, 0.25);
  color: rgba(59, 42, 32, 0.7);
  border-radius: 99px;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .akx-skip:hover {
    background: rgba(59, 42, 32, 0.06);
  }
}
@media (max-width: 749px) {
  .akx-logo {
    width: 84vw;
  }
  .akx-skip {
    bottom: 2.2rem;
  }
}
/* ==========================================================================
   Invitation à faire défiler, carte « Ajouter au panier »
   ========================================================================== */
/* ===== Inviter à faire défiler : titre plus compact, livre qui rebondit, rappel après 3 s d'inactivité ===== */
/* le livre rebondit franchement (propriété translate : ne gêne pas les animations existantes) */
@keyframes akn-hop {
  0%,
  100% {
    translate: 0 0;
  }
  12% {
    translate: 0 -9%;
  }
  22% {
    translate: 0 0;
  }
  30% {
    translate: 0 -4.5%;
  }
  38% {
    translate: 0 0;
  }
  44% {
    translate: 0 -1.6%;
  }
  50% {
    translate: 0 0;
  }
}
@keyframes akn-shadow {
  0%,
  22%,
  38%,
  50%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  12% {
    transform: scaleX(0.72);
    opacity: 0.55;
  }
  30% {
    transform: scaleX(0.86);
    opacity: 0.75;
  }
}
.akn-hop .akh-story__stage {
  animation:
    akh-float 7s ease-in-out infinite,
    akn-hop 1.6s cubic-bezier(0.3, 0, 0.3, 1) 1;
}
.akn-hop .akh-stage__shadow {
  animation: akn-shadow 1.6s cubic-bezier(0.3, 0, 0.3, 1) 1;
}
/* pastille « Faites défiler » */
.akn-pill {
  position: fixed;
  left: 50%;
  bottom: calc(2.4rem + env(safe-area-inset-bottom, 0px));
  z-index: 880;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 2rem 1.1rem 1.2rem;
  border-radius: 99px;
  background: #2a1d16;
  color: #f2e8d5;
  font: 600 1.5rem/1.2 var(--bf, system-ui, sans-serif);
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(42, 29, 22, 0.8);
  opacity: 0;
  transform: translate(-50%, 140%);
  transition:
    opacity 0.45s,
    transform 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.2);
  pointer-events: none;
}
.akn-pill.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.akn-pill__mouse {
  position: relative;
  flex: 0 0 2.4rem;
  height: 3.6rem;
  border: 1.5px solid rgba(244, 182, 60, 0.9);
  border-radius: 1.4rem;
}
.akn-pill__mouse:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.7rem;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #f4b63c;
  animation: akn-wheel 1.4s ease-in-out infinite;
}
@keyframes akn-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(1.2rem);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.akn-pill__chev {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0.2rem;
}
.akn-pill__chev i {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  border-right: 2px solid #f4b63c;
  border-bottom: 2px solid #f4b63c;
  transform: rotate(45deg);
  margin-top: -0.3rem;
  animation: akn-chev 1.4s ease-in-out infinite;
}
.akn-pill__chev i:nth-child(2) {
  animation-delay: 0.18s;
}
@keyframes akn-chev {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
.akn-pill b {
  font-weight: 700;
}
.akn-pill small {
  display: block;
  font-size: 1.15rem;
  opacity: 0.7;
  letter-spacing: 0.04em;
}
@media (min-width: 990px) {
  .akn-pill {
    bottom: calc(3.2rem + env(safe-area-inset-bottom, 0px));
    padding: 1.3rem 2.6rem 1.3rem 1.4rem;
    font-size: 1.7rem;
  }
  .akn-pill small {
    font-size: 1.3rem;
  }
}
@media (max-width: 989px) {
  .akn-pill {
    /* au-dessus du bouton « Voir la fiche produit » du récit */
    bottom: calc(15rem + env(safe-area-inset-bottom, 0px));
    padding: 0.8rem 1.6rem 0.8rem 0.9rem;
    gap: 0.9rem;
    font-size: 1.3rem;
  }
  .akn-pill small {
    display: none;
  }
  .akn-pill__mouse {
    flex-basis: 2rem;
    height: 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akn-hop .akh-story__stage,
  .akn-hop .akh-stage__shadow {
    animation: none;
  }
  .akn-pill__mouse:after,
  .akn-pill__chev i {
    animation: none;
  }
}
/* carte « Acheter / Je l'offre » pendant le coloriage */
.akh-play__page,
.akh-paper {
  position: relative;
}
.akc {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 6;
  width: min(92%, 40rem);
  padding: 1.6rem 1.8rem 1.6rem;
  border-radius: 1.8rem;
  background: rgba(255, 251, 243, 0.96);
  color: #3b2a20;
  box-shadow:
    0 24px 50px -20px rgba(42, 29, 22, 0.55),
    0 0 0 1px rgba(59, 42, 32, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--bf, system-ui, sans-serif);
  opacity: 0;
  transform: translate(-50%, 1.6rem) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.6s cubic-bezier(0.2, 0.9, 0.25, 1.2);
}
.akc.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.akc__t {
  margin: 0 2.4rem 1.2rem 0;
  font-size: 1.45rem;
  line-height: 1.45;
}
.akc__t b {
  display: block;
  font-family: var(--hf, Georgia, serif);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.akc__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.akc__btns a {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 4.4rem;
  padding: 0 1.6rem;
  border-radius: 99px;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .akc__btns a:hover {
    transform: translateY(-2px);
  }
}
.akc__buy {
  background: #8a5230;
  color: #f2e8d5 !important;
}
.akc__gift {
  border: 1px solid #3b2a20;
  color: #3b2a20 !important;
  background: transparent;
}
.akc__gift svg {
  width: 1.6rem;
  height: 1.6rem;
}
.akc__x {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6e5a4a;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .akc__x:hover {
    background: rgba(59, 42, 32, 0.08);
  }
}
@media (max-width: 749px) {
  .akc {
    bottom: 1rem;
    padding: 1.3rem 1.4rem;
  }
  .akc__t {
    font-size: 1.35rem;
  }
  .akc__t b {
    font-size: 1.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .akc {
    transition: opacity 0.2s;
  }
}
@media (max-width: 749px) {
  html.akc-on .akh-orb {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
}
/* ==========================================================================
   Ajustements direction artistique Ankraj Éditions (nov. 2026)
   ========================================================================== */
.akh-sun__rays {
  display: none;
}
.akh .akh-h2 {
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.akh-head {
  max-width: 112rem;
}
.akh-manif__text {
  letter-spacing: -0.04em;
}
.akh-bub {
  background: transparent !important;
  color: var(--cream, #f2e8d5) !important;
  border: 1px solid rgba(242, 232, 213, 0.35) !important;
  box-shadow: none !important;
}
.akh-bub:before {
  display: none;
}
.akh-bub.said,
.akh-bub:focus-visible {
  border-color: #f4b63c !important;
  color: #f4b63c !important;
}
@media (hover: hover) and (pointer: fine) {
  .akh-bub:hover {
    border-color: #f4b63c !important;
    color: #f4b63c !important;
  }
}
.akh-hero__lede em {
  font-style: normal;
  font-weight: 600;
}
.akh .akh-hero__title {
  font-size: clamp(4.4rem, 5.4vw, 7.8rem);
  line-height: 0.95;
}
.akh-hero__title .akh-line {
  white-space: nowrap;
}
@media (max-width: 989px) {
  .akh .akh-hero__title {
    font-size: clamp(3.4rem, 9.4vw, 4.6rem);
  }
}
@media (max-width: 989px) {
  .akh-manif__text {
    font-size: clamp(2.6rem, 7.2vw, 3.4rem) !important;
    line-height: 1.08;
  }
}
/* ==========================================================================
   V3 · Plus d'énergie (nov. 2026)
   Soleil plus présent, accents dorés, boutons d'action en doré.
   ========================================================================== */
/* le soleil se lève derrière le livre */
.akh-sun {
  top: 12%;
  left: 57%;
  width: clamp(24rem, 30vw, 42rem);
}
.akh-sun__disc {
  inset: 14%;
  opacity: 1;
  background: radial-gradient(
    circle at 40% 38%,
    #ffd877 0%,
    #f4b63c 55%,
    #e89a2c 100%
  );
  box-shadow:
    0 0 0 2.4rem rgba(244, 182, 60, 0.16),
    0 0 0 5.6rem rgba(244, 182, 60, 0.08),
    0 0 12rem 4rem rgba(244, 182, 60, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .akh-sun__disc {
    animation: akh-sun-breathe 6s ease-in-out infinite;
  }
}
@keyframes akh-sun-breathe {
  50% {
    transform: scale(1.04);
  }
}
@media (max-width: 989px) {
  .akh-sun {
    top: 1.5%;
    left: auto;
    right: 4%;
    width: 9rem;
  }
  .akh-sun__disc {
    box-shadow:
      0 0 0 1rem rgba(244, 182, 60, 0.16),
      0 0 4rem 1rem rgba(244, 182, 60, 0.35);
  }
}
/* mots-clés soulignés au feutre doré */
.akh-hero__title .akh-accent,
.akh-cap__t .akh-accent {
  background-image: linear-gradient(
    transparent 64%,
    rgba(244, 182, 60, 0.7) 64%,
    rgba(244, 182, 60, 0.7) 90%,
    transparent 90%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em;
}
/* boutons d'action en doré */
.akh-btn:not(.akh-btn--ghost):not(.akh-btn--ghost-light):not(.akh-btn--light) {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--choc);
  font-weight: 600;
  box-shadow: 0 1.2rem 2.4rem -1.4rem rgba(160, 100, 60, 0.9);
}
@media (hover: hover) and (pointer: fine) {
  .akh-btn:not(.akh-btn--ghost):not(.akh-btn--ghost-light):not(
      .akh-btn--light
    ):hover {
    background: var(--choc);
    border-color: var(--choc);
    color: var(--cream);
  }
}
/* boutons dans l'ouverture */
.akh-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.2rem;
}
/* bouton rond (aide) de l'accueil */
.akh .akh-orb {
  bottom: 2rem;
}
@media (max-width: 749px) {
  .akh .akh-orb {
    right: 1.4rem;
    bottom: 1.6rem;
  }
}
/* Tampon de protection sur les dessins coloriables (les autres pages l'ont dans l'image) */
.akh-paper::after,
.akh-pg--main::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 52%;
  top: 56%;
  width: 74%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../../img/tampon.png") center / contain no-repeat;
  pointer-events: none;
}
