/* ==========================================================================
   Le Chef — Grégory Cohen (page-specific, prefix .ch-)
   ========================================================================== */

/* Tons (main.css) : la page porte data-tone="chef" (bleu toque). --t vif pour traits/texte sur fond sombre et fonds de bande,
   --t-2 clair pour les grands textes sur sombre, --t-ink pour tout texte ou trait sur fond clair (>= 4,5:1),
   --t-on pour le texte posé sur un fond --t. Sous-tons : carte M.A.D → "mad", Miel Temporalité → "temporalite".
   Section Nutella : sa propre teinte noisette (--nut). */

/* ---------- Hero ---------- */
.ch-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; min-height: 100vh; min-height: 100svh; }
.ch-hero__glow {
  position: absolute; z-index: -2; right: -18vw; bottom: -38vh; width: 95vw; height: 130vh; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--t) 34%, transparent), color-mix(in srgb, var(--t) 9%, transparent) 55%, transparent 74%);
}
.ch-hero__word {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: -.16em; text-align: center; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-size: 33vw; line-height: .8; letter-spacing: -.05em; white-space: nowrap;
}
.ch-hero__word span {
  display: inline-block; background: linear-gradient(180deg, #2c2620 0%, rgba(44, 38, 32, .15) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch-hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(16px, 3vw, 48px);
  align-items: end; padding-top: calc(var(--header-h) + clamp(24px, 5vh, 80px));
}
.ch-hero__copy { position: relative; z-index: 3; padding-bottom: clamp(36px, 8vh, 96px); }
.ch-hero .phero__crumbs { margin-bottom: 22px; }
.ch-hero .phero__crumbs a:hover { color: var(--paper); }
.ch-hero__title {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(3.2rem, 7vw, 7.8rem); line-height: .88; letter-spacing: -.025em;
  margin: 18px 0 26px;
}
.ch-hero__title em { color: var(--t-2); }
.ch-roles { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.ch-roles li { display: inline-flex; align-items: center; gap: 14px; }
.ch-roles li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--t); }
.ch-hero__lead { margin-top: 22px; max-width: 31em; }
.ch-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ch-hero__cta .btn--ghost { color: var(--paper); }
.ch-hero__fig {
  position: relative; z-index: 2; margin: 0 calc(var(--gutter) * -1) 0 0; justify-self: end; align-self: end;
  width: min(calc(100% + var(--gutter)), calc(100vh - var(--header-h) - 16px));
  width: min(calc(100% + var(--gutter)), calc(100svh - var(--header-h) - 16px));
}
.ch-hero__portrait { width: 100%; height: auto; animation: ch-rise 1.6s var(--ease) .15s both; }
.ch-hero__sig {
  position: absolute; left: -4%; top: 31%; width: 38%; transform: rotate(-9deg); transform-origin: left center;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .55)); animation: ch-write 1.6s var(--ease-in-out) 1s both;
}
.ch-badge { position: absolute; right: 7%; top: 6%; width: clamp(92px, 9vw, 130px); aspect-ratio: 1; color: var(--paper); }
.ch-badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.ch-badge b { position: absolute; inset: 0; display: grid; place-items: center; color: var(--t-2); font-size: 1.4rem; font-weight: 400; }
@keyframes ch-rise { from { opacity: 0; transform: translateY(5%) scale(1.02); } }
@keyframes ch-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 900px) {
  .ch-hero { min-height: 0; }
  .ch-hero__grid { grid-template-columns: 1fr; gap: 0; padding-top: calc(var(--header-h) + 32px); }
  .ch-hero__copy { padding-bottom: 8px; }
  .ch-hero__title { font-size: clamp(3rem, 15vw, 6.2rem); }
  .ch-hero__fig { width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); justify-self: stretch; max-width: none; }
  .ch-hero__word { font-size: 42vw; bottom: -.1em; }
  .ch-hero__sig { left: 2%; top: 30%; width: 40%; }
  /* Header transparent au-dessus du portrait (veste blanche) : voile sombre pour garder logo et burger lisibles */
  .ch-page .header::after {
    content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; opacity: 0;
    background: linear-gradient(rgba(12, 11, 10, .6), rgba(12, 11, 10, .5) 60%, rgba(12, 11, 10, 0)); transition: opacity .4s var(--ease);
  }
  .ch-page .header:not(.is-solid)::after { opacity: 1; }
  .menu-open .header::after { display: none; }
}
@media (max-width: 560px) {
  .ch-roles { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; }
  .ch-roles li + li::before { display: none; }
}

/* ---------- Portrait / intro ---------- */
.ch-intro .manifesto { max-width: 18.5em; }
.ch-roles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(56px, 7vw, 100px); }
.ch-role { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.ch-role__n { font-family: var(--f-display); font-size: 1.3rem; color: var(--t-ink); }
.ch-role h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.3vw, 2.4rem); line-height: 1.02; }
.ch-role p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .ch-roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ch-roles-grid { grid-template-columns: 1fr; } }

/* ---------- Origines ---------- */
.ch-origin-sec { background: var(--cream); }
.ch-origin { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 7vw, 130px); align-items: center; }
.ch-origin__img { position: relative; aspect-ratio: 4 / 5; }
.ch-origin__img .img-reveal { position: absolute; inset: 0; }
.ch-origin__img .img-reveal img { object-position: 50% 30%; }
.ch-origin__tag {
  position: absolute; z-index: 2; right: -7%; bottom: 7%; display: grid; gap: 4px; padding: 18px 22px; border-radius: 18px;
  background: var(--ink); color: var(--paper); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45);
}
.ch-origin__tag .eyebrow { font-size: 10.5px; color: var(--t); }
.ch-origin__tag b { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.ch-origin__tag span:last-child { font-size: 13px; color: var(--muted-inv); }
.ch-mini__cap { margin-top: 40px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ch-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 14px; }
.ch-mini > div { padding: 22px 16px 0 0; }
.ch-mini > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.ch-mini b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.ch-mini span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); max-width: 16em; }
@media (max-width: 900px) {
  .ch-origin { grid-template-columns: 1fr; }
  .ch-origin__img { max-width: 520px; }
  .ch-origin__tag { right: 12px; }
}
@media (max-width: 480px) {
  .ch-mini > div { padding-right: 8px; }
  .ch-mini > div + div { padding-left: 12px; }
  .ch-mini b { font-size: 2rem; }
}

/* ---------- Méthode ---------- */
.ch-method { padding-bottom: clamp(56px, 7vw, 100px); overflow: hidden; }
.ch-quote { max-width: 20.5em; }
.ch-system { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); }
.ch-system::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-inv); }
.ch-system li { position: relative; padding: 34px 16px 0 0; }
.ch-system li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--t); }
.ch-system small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--t); }
.ch-system b { display: block; margin-top: 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.5rem); line-height: 1; }
.ch-plates-wrap { margin-top: clamp(64px, 8vw, 120px); }
.ch-plates__cap { display: block; color: var(--muted-inv); margin-bottom: 20px; }
.ch-plates .marquee__track > figure { flex: 0 0 auto; width: clamp(170px, 17vw, 250px); aspect-ratio: 3 / 4; margin-right: 16px; border-radius: 18px; overflow: hidden; background: var(--ink-2); }
.ch-plates .marquee__track > figure:nth-child(even) { transform: translateY(26px); }
.ch-plates img { width: 100%; height: 100%; object-fit: cover; }
.ch-plates { padding-bottom: 28px; }
@media (max-width: 700px) {
  .ch-system { grid-template-columns: 1fr; }
  .ch-system::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .ch-system li { padding: 0 0 24px 38px; }
  .ch-system li::before { top: 2px; }
  .ch-system b { margin-top: 4px; }
}

/* ---------- Parcours (timeline) ---------- */
.ch-tl { --tl-pad: clamp(28px, 3.4vw, 56px); --tl-step: clamp(36px, 5vw, 72px); }
.ch-tl__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 110px); margin-top: clamp(56px, 7vw, 110px); }
html:not(.js) .ch-tl__grid { grid-template-columns: 1fr; }
html:not(.js) .ch-tl__aside { display: none; }
.ch-tl__aside {
  position: sticky; top: calc(var(--header-h) + 16px); align-self: start;
  display: flex; flex-direction: column; gap: clamp(32px, 5vh, 56px);
}
.ch-tl__count { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ch-tl__count b { color: var(--ink); font-weight: 600; }
.odo { display: flex; margin-top: 12px; font-family: var(--f-display); font-size: clamp(5.4rem, 11.2vw, 12.5rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.odo__col { display: block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; text-align: center; transition: transform 1.1s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.odo__strip > span { display: block; height: 1em; }
.ch-tl__to { min-height: 1.1em; font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.1; color: var(--t-ink); }
.ch-tl__now { max-width: 12em; margin-top: 8px; font-family: var(--f-display); font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.04; }
.ch-tl__now.is-swap { animation: ch-swap .7s var(--ease); }
@keyframes ch-swap { from { opacity: 0; transform: translateY(14px); } }
.ch-tl__nav { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-tl__nav a {
  display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s, box-shadow .3s;
}
.ch-tl__nav a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ch-tl__nav a.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }

.ch-tl__list { position: relative; padding-left: var(--tl-pad); }
.ch-tl__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.ch-tl__list::after { content: ""; position: absolute; left: -.5px; top: 0; bottom: 0; width: 2px; background: var(--t-ink); transform-origin: 0 0; transform: scaleY(var(--p, 0)); }
html:not(.js) .ch-tl__list::after { display: none; }
.ch-tl__step { position: relative; padding: var(--tl-step) 0; border-bottom: 1px solid var(--line); }
.ch-tl__step:first-child { padding-top: 0; }
.ch-tl__step:last-child { border-bottom: 0; padding-bottom: 0; }
.ch-tl__step::before {
  content: ""; position: absolute; z-index: 1; left: calc(var(--tl-pad) * -1 - 6px); top: calc(var(--tl-step) + 6px);
  width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
}
.ch-tl__step:first-child::before { top: 6px; }
.ch-tl__step.is-active::before { background: var(--t-ink); box-shadow: 0 0 0 7px color-mix(in srgb, var(--t) 24%, transparent); transform: scale(1.12); }
.ch-tl__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.ch-tl__y { font-family: var(--f-display); font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1; color: var(--t-ink); }
.ch-tl__tag { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ch-tl__title { margin-top: 14px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1; letter-spacing: -.01em; transition: color .6s var(--ease); }
.ch-tl__text { margin-top: 16px; max-width: 34em; color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.12rem); }
.ch-tl__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ch-tl__facts .chip { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); background: var(--cream); }
.ch-tl__logo { height: 84px; width: auto; margin-top: 24px; transition: opacity .6s var(--ease); }
.ch-tl__img { margin-top: 28px; aspect-ratio: 16 / 9; transition: opacity .6s var(--ease); }
.ch-tl__img img { object-position: 50% 88%; }
.ch-tl__link { margin-top: 22px; }
@media (min-width: 901px) {
  .ch-tl__step { min-height: 34vh; }
  /* Étapes non actives : le texte reste lisible (AA), seuls titre (→ muted) et visuels s'estompent */
  .ch-tl.is-live .ch-tl__step:not(.is-active) .ch-tl__title { color: var(--muted); }
  .ch-tl.is-live .ch-tl__step:not(.is-active) :is(.ch-tl__img, .ch-tl__logo) { opacity: .45; }
}
@media (max-width: 900px) {
  .ch-tl__grid { grid-template-columns: 1fr; }
  .ch-tl__aside { display: none; }
  .ch-tl__y { font-size: 2.6rem; }
  .ch-tl__step::before { top: calc(var(--tl-step) + 12px); }
  .ch-tl__step:first-child::before { top: 12px; }
}

/* ---------- onePlace — la preuve ---------- */
.ch-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 84px); }
.ch-tile {
  position: relative; isolation: isolate; overflow: hidden; grid-column: span 4; min-height: 240px; margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-inv);
}
.ch-tile b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 5.4vw, 6rem); line-height: .9; letter-spacing: -.02em; }
.ch-tile .lbl { display: block; margin-top: 10px; max-width: 20em; font-size: 14px; color: var(--muted-inv); }
.ch-tile .k { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t); }
.ch-tile--img { padding: 0; justify-content: flex-end; }
.ch-tile--img > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ch-tile--img:hover > img { transform: scale(1.05); }
.ch-tile--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .3), rgba(10, 9, 8, .88) 60%); }
.ch-tile--img .cap { display: grid; gap: 8px; padding: clamp(22px, 2.4vw, 32px); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.ch-tile--img .k { color: var(--t-2); }
.ch-tile--img .lbl { color: rgba(246, 241, 232, .82); }
.ch-tile--tone { background: var(--t); color: var(--t-on); box-shadow: none; }
.ch-tile--tone .k { color: var(--t-on); }
.ch-tile--tone .lbl { color: color-mix(in srgb, var(--t-on) 88%, transparent); }
.ch-tile--award { flex-direction: row; align-items: center; justify-content: flex-start; gap: clamp(18px, 2.4vw, 32px); min-height: 0; background: var(--paper); color: var(--ink); box-shadow: none; }
.ch-tile--award h3 { margin-top: 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.02; }
.ch-tile--award .k { color: var(--muted); }
.ch-tile--award .lbl { color: var(--muted); }
.ch-laurel { flex: 0 0 auto; width: clamp(56px, 6vw, 84px); height: auto; color: var(--t-ink); }
.s-3 { grid-column: span 3; } .s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; } .s-7 { grid-column: span 7; }
.r-2 { grid-row: span 2; }
.ch-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-inv); }
.ch-facts > div { padding: 24px 16px 0 0; }
.ch-facts > div + div { padding-left: 22px; border-left: 1px solid var(--line-inv); }
.ch-facts b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 4.2vw, 4.4rem); line-height: 1; letter-spacing: -.02em; color: var(--t-2); }
.ch-facts span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted-inv); }
.ch-proof__note { margin-top: 28px; max-width: 46em; color: var(--muted-inv); }
.ch-brands-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-top: clamp(64px, 8vw, 120px); }
.ch-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.ch-brand {
  --bg: var(--ink-2); --fg: var(--paper); --accent: var(--t);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px; aspect-ratio: 1 / 1.08; padding: 18px;
  border-radius: 18px; background: var(--bg); color: var(--fg); transition: transform .6s var(--ease);
}
.ch-brand:hover { transform: translateY(-6px); }
.ch-brand small { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.ch-brand__logo { width: 100%; height: clamp(46px, 4.6vw, 72px); object-fit: contain; object-position: left center; }
.ch-brand .lily-logo { font-size: clamp(1.4rem, 2vw, 2rem); color: var(--fg); }
.ch-brand__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ch-brand__foot b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.ch-brand__foot .arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform .5s var(--ease); }
.ch-brand:hover .arrow { transform: translateX(4px); }
@media (max-width: 1080px) { .ch-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ch-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ch-tile, .s-3, .s-5, .s-6, .s-7 { grid-column: span 1; min-height: 190px; }
  .ch-tile.m-full { grid-column: 1 / -1; }
  .ch-tile--img.m-full { min-height: 320px; }
  .r-2 { grid-row: auto; }
  .ch-tile b { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .ch-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-facts > div, .ch-facts > div + div { padding: 20px 12px 20px 0; border-left: 0; border-bottom: 1px solid var(--line-inv); }
  .ch-facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-inv); }
}
@media (max-width: 560px) {
  .ch-tile--award { flex-direction: column; align-items: flex-start; }
  .ch-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Médias ---------- */
.ch-medias { overflow: hidden; padding-bottom: 0; }
.ch-media { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 100px); align-items: start; margin-top: clamp(48px, 6vw, 84px); }
.ch-screen { position: relative; }
.ch-screen__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 50px 80px -50px rgba(18, 16, 13, .55); }
.ch-screen__frame img { width: 100%; height: 100%; object-fit: cover; }
.ch-screen__onair {
  position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #b8431f; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ch-screen__onair i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.ch-screen__thumb {
  position: absolute; top: 22%; bottom: auto; right: -5%; width: 26%; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  border: 6px solid var(--paper); transform: rotate(5deg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45);
}
.ch-screen__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ch-shows { border-top: 1px solid var(--line); }
.ch-show { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ch-show__ch { padding-top: .6em; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ch-show h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.55rem, 2.2vw, 2.2rem); line-height: 1.04; }
.ch-show p { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.ch-mini--wide { margin-top: clamp(72px, 9vw, 130px); }
.ch-channels {
  margin-top: clamp(64px, 8vw, 110px); padding-block: clamp(18px, 2vw, 28px); border-top: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(3rem, 9vw, 9.5rem); line-height: 1; letter-spacing: -.02em;
}
.ch-channels .marquee__track > span { display: inline-flex; align-items: center; gap: .3em; padding-right: .3em; }
.ch-channels .marquee__track > span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.ch-channels i { font-style: normal; font-size: .3em; color: var(--t-ink); -webkit-text-stroke: 0; }
@media (max-width: 900px) {
  .ch-media { grid-template-columns: 1fr; }
  .ch-screen__thumb { right: -2%; width: 24%; }
}
@media (max-width: 560px) {
  .ch-show { grid-template-columns: 1fr; }
  .ch-show__ch { padding-top: 0; }
}

/* ---------- Livres ---------- */
.ch-books-sec { background: var(--paper-2); }
.ch-books { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 84px); align-items: start; }
.ch-book { display: grid; gap: 18px; }
.ch-book__cover {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 16px 14px 16px 24px; border-radius: 4px 14px 14px 4px; background: var(--c-bg, var(--ink)); color: var(--c-fg, var(--paper));
  box-shadow: 0 34px 50px -30px rgba(18, 16, 13, .6), 0 1px 0 rgba(0, 0, 0, .05);
  transform-origin: 0 50%; transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.ch-book__cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(90deg, rgba(0, 0, 0, .24), rgba(255, 255, 255, .14) 55%, transparent); }
.ch-book:hover .ch-book__cover { transform: perspective(1000px) rotateY(-16deg); box-shadow: 24px 40px 50px -30px rgba(18, 16, 13, .55); }
.ch-book__cover--img { padding: 0; background: #fff; }
.ch-book__cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-book__pub, .ch-book__a { font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .78; }
.ch-book__t { display: block; font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 2rem); line-height: .98; letter-spacing: -.01em; }
.ch-book__t em { color: var(--c-ac, var(--t-2)); }
.ch-book__s { display: block; margin-top: 8px; font-size: 11px; line-height: 1.35; opacity: .82; }
.ch-book__meta { display: grid; gap: 4px; }
.ch-book__y { font-family: var(--f-display); font-size: 1.3rem; line-height: 1; color: var(--t-ink); }
.ch-book__meta h3 { font-size: .98rem; font-weight: 600; line-height: 1.3; }
.ch-book__meta p { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) { .ch-books { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .ch-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }

/* ---------- Nutella Academy ---------- */
/* Noisette & cacao (Nutella), sans reflet doré */
.ch-nut { --nut: #8b4a24; --accent-em: var(--nut); background: #ecdfd2; color: var(--ink); overflow: hidden; padding-bottom: 0; }
.ch-nut .eyebrow { color: var(--nut); }
.ch-nut__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.ch-nut__fig { position: relative; isolation: isolate; margin: 0; align-self: end; }
.ch-nut__fig::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 14%; width: 96%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #f6ebe2, #d9b8a4 70%, #c69883);
}
.ch-nut__fig img { width: 100%; max-width: 580px; margin-inline: auto; }
.ch-nut__copy { padding-bottom: clamp(80px, 10vw, 150px); }
.ch-nut .lead { color: rgba(18, 16, 13, .74); }
.ch-nut__p { margin-top: 18px; max-width: 38em; color: rgba(18, 16, 13, .7); }
.ch-mini--nut { margin-top: 36px; border-color: rgba(18, 16, 13, .18); }
.ch-mini--nut > div + div { border-color: rgba(18, 16, 13, .18); }
.ch-mini--nut span { color: rgba(18, 16, 13, .66); }
.ch-nut__cards { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 14px; margin-top: 40px; }
.ch-partner { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; }
.ch-partner small, .ch-partner span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ch-partner img { width: 100%; max-width: 210px; }
.ch-video {
  position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 808 / 617; border-radius: var(--radius);
  background: #1a0f0a; color: #fff;
}
.ch-video > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ch-video:hover > img { transform: scale(1.05); }
.ch-video::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(20, 10, 5, .82)); }
.ch-video__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 14px; }
.ch-video__cap small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.ch-video__cap b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.05; }
.ch-video__play {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--paper); color: var(--ink); transition: transform .5s var(--ease), background .3s;
}
.ch-video__play::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(246, 241, 232, .6); animation: ping 2.2s var(--ease) infinite; }
.ch-video__play svg { width: 22px; height: 22px; margin-left: 3px; }
.ch-video:hover .ch-video__play { transform: scale(1.08); background: var(--nut, var(--t)); color: var(--paper); }
.ch-video.is-playing { aspect-ratio: 16 / 9; align-self: center; background: #000; }
.ch-video.is-playing::after { display: none; }
.ch-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .ch-nut__grid { grid-template-columns: 1fr; }
  .ch-nut__fig { order: 2; max-width: 460px; margin-inline: auto; }
  .ch-nut__copy { padding-bottom: 24px; }
}
@media (max-width: 560px) { .ch-nut__cards { grid-template-columns: 1fr; } .ch-partner { flex-direction: row; align-items: center; flex-wrap: wrap; } .ch-partner img { max-width: 140px; } }

/* ---------- International ---------- */
.ch-intl__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); margin-top: clamp(48px, 6vw, 84px); align-items: start; }
.ch-conts { display: grid; border-top: 1px solid var(--line-inv); }
.ch-conts li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-inv); }
.ch-conts small { font-family: var(--f-display); font-size: 1.2rem; color: var(--t); }
.ch-conts b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: .95; letter-spacing: -.015em; }
.ch-conts span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-inv); text-align: right; }
.ch-clients { display: grid; border-top: 1px solid var(--line-inv); }
.ch-clients li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1fr); align-items: baseline; gap: 8px 18px; padding: 18px 0; border-bottom: 1px solid var(--line-inv); transition: padding .5s var(--ease); }
.ch-clients li:hover { padding-left: 10px; }
.ch-clients b { font-weight: 600; font-size: 1.02rem; }
.ch-clients span { font-size: 13px; color: var(--muted-inv); }
.ch-clients em { font-style: normal; font-size: 13px; color: var(--t-2); text-align: right; }
.ch-japan {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-inv);
}
.ch-japan__list { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.ch-japan__list .chip { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-inv); }
@media (max-width: 900px) { .ch-intl__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ch-conts li { grid-template-columns: 2em minmax(0, 1fr); }
  .ch-conts span { grid-column: 2; text-align: left; }
  .ch-clients li { grid-template-columns: 1fr; gap: 2px; }
  .ch-clients em { text-align: left; }
}

/* ---------- Distinctions & engagements ---------- */
.ch-dist-sec { overflow-x: clip; }
.ch-dist { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 110px); align-items: start; margin-top: clamp(48px, 6vw, 84px); }
.ch-seal-wrap { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 24px; justify-items: start; }
.ch-seal { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: 0 50px 90px -50px rgba(18, 16, 13, .6); }
.ch-seal svg { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 40s linear infinite; color: var(--muted-inv); }
.ch-seal__in { display: grid; gap: 4px; text-align: center; }
.ch-seal__in small { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--t); }
.ch-seal__in b { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 8vw, 7rem); line-height: .9; color: var(--t-2); }
.ch-seal__in span { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--muted-inv); }
.ch-seal__txt { max-width: 26em; font-size: .95rem; color: var(--muted); }
.ch-awards { border-top: 1px solid var(--line); }
.ch-awards li { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 6px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ch-awards .y { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1; color: var(--t-ink); }
.ch-awards h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.8rem); line-height: 1.02; }
.ch-awards p { grid-column: 2; font-size: .95rem; color: var(--muted); }
.ch-members { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: clamp(56px, 7vw, 100px); }
.ch-members ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-members .eyebrow { color: var(--muted); }
.ch-engage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.ch-eng {
  display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 22px; border-radius: 18px;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.ch-eng:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--ink); }
.ch-eng small { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--t-ink); }
.ch-eng h3 { margin-top: 36px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.02; }
.ch-eng p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 1080px) { .ch-engage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ch-dist { grid-template-columns: 1fr; }
  .ch-seal-wrap { position: relative; top: 0; justify-items: center; text-align: center; }
  .ch-seal { width: min(100%, 320px); }
}
@media (max-width: 560px) {
  .ch-engage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-eng { min-height: 160px; padding: 18px; }
  .ch-eng:last-child { grid-column: 1 / -1; min-height: 0; }
  .ch-awards li { grid-template-columns: 1fr; }
  .ch-awards p { grid-column: 1; }
}

/* ---------- Passion → produit ---------- */
.ch-prod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 84px); }
.ch-pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-inv); }
.ch-pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ch-pcard__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ch-pcard:hover .ch-pcard__media > img { transform: scale(1.05); }
/* M.A.D: the real bottle photo (its label carries the logo) — only a soft vignette, no text on the picture */
.ch-pcard--mad .ch-pcard__media { background: #3a2417; }
.ch-pcard--mad .ch-pcard__media > img { object-position: 50% 38%; } /* bottle centred vertically in the 4:3 crop */
.ch-pcard--mad .ch-pcard__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10, 9, 8, .35)); }
.ch-pcard__deg { position: absolute; z-index: 1; right: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--t); color: var(--t-on); font-weight: 700; font-size: 14px; }
.ch-pcard__media--tempo { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--t-2), var(--t) 62%, color-mix(in srgb, var(--t) 72%, var(--ink))); }
.ch-pcard__media--tempo .ch-pcard__logo { width: 72%; height: auto; object-fit: contain; transition: transform 1.2s var(--ease); }
.ch-pcard:hover .ch-pcard__logo { transform: scale(1.04); }
.ch-pcard__media--books { display: flex; align-items: center; justify-content: center; gap: 6%; background: var(--paper); color: var(--ink); }
.ch-pcard__media--books b { font-family: var(--f-display); font-weight: 400; font-size: clamp(7rem, 12vw, 11rem); line-height: .8; color: var(--t-ink); }
.ch-pcard__media--books img { width: 34%; height: auto; transform: rotate(6deg); border-radius: 3px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); transition: transform 1s var(--ease); }
.ch-pcard:hover .ch-pcard__media--books img { transform: rotate(0deg) translateY(-6px); }
.ch-pcard__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); }
.ch-pcard__body .k { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t); }
.ch-pcard h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 2.8vw, 2.8rem); line-height: 1; }
.ch-pcard p { color: var(--muted-inv); }
.ch-pcard__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-pcard__chips .chip { color: var(--t-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-2) 40%, transparent); }
.ch-pcard .link { margin-top: auto; padding-top: 8px; color: var(--paper); width: fit-content; }
/* Full-width M.A.D card: photo beside the text (a 2:1 crop would cut the bottle's neck) */
@media (max-width: 1080px) { .ch-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ch-pcard--mad { grid-column: 1 / -1; flex-direction: row; } .ch-pcard--mad .ch-pcard__media { flex: 0 0 46%; aspect-ratio: 1; } .ch-pcard--mad .ch-pcard__body { justify-content: center; } }
@media (max-width: 700px) { .ch-prod { grid-template-columns: 1fr; } .ch-pcard--mad { flex-direction: column; } .ch-pcard--mad .ch-pcard__media { flex: none; aspect-ratio: 4 / 3; } .ch-pcard--mad .ch-pcard__body { justify-content: flex-start; } }

/* ---------- CTA ---------- */
/* Bande de fin au ton de la page : fond --t, texte --t-on (>= 4,5:1) */
.ch-cta { --accent-em: var(--t-on); background: var(--t); color: var(--t-on); overflow: hidden; }
.ch-cta .h1 em { color: var(--t-on); }
.ch-cta .lead { color: color-mix(in srgb, var(--t-on) 88%, transparent); }
.ch-cta .btn { --b-hover: var(--paper); }
.ch-cta .btn--ghost { color: var(--t-on); }
.ch-cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.ch-cta__img { aspect-ratio: 4 / 5; transform: rotate(2deg); box-shadow: 0 50px 80px -40px rgba(18, 16, 13, .55); }
.ch-cta__tel { margin-top: 28px; font-size: 14px; color: color-mix(in srgb, var(--t-on) 88%, transparent); }
.ch-cta__tel .link { font-weight: 600; color: var(--t-on); }
@media (max-width: 900px) { .ch-cta__grid { grid-template-columns: 1fr; } .ch-cta__img { max-width: 440px; transform: none; } }
