/* ============================================================
   TIMO — Étude de cas Chery Tiggo 9
   Bloc autonome (thème clair et sombre : la section reste sombre,
   comme #chiffres, pour porter le film).
   ============================================================ */

.chery {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #0a0908;
  color: #f3ead9;
  border-block: 1px solid rgba(243, 234, 217, .1);
}

/* halo d'aurore — le vert du film */
.chery::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 78%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 16% 0%, rgba(63, 217, 192, .32), transparent 70%),
    radial-gradient(46% 52% at 74% 6%, rgba(63, 217, 192, .2), transparent 72%),
    radial-gradient(62% 58% at 46% 96%, rgba(208, 138, 69, .13), transparent 72%);
  filter: blur(6px);
}

.chery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(243, 234, 217, .1) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: linear-gradient(to bottom, #000, transparent 42%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 42%);
}

.chery .lead { color: rgba(243, 234, 217, .72); }
.chery .eyebrow { color: var(--neon); }

/* ---------- titre ---------- */
.chery__title {
  font-size: clamp(32px, 4.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.chery__title em {
  font-style: normal;
  background: linear-gradient(96deg, #3fd9c0 0%, #9ef2e2 46%, #3fd9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* le découpage JS (site.js) masque les jambages : on lui rend de la place */
.chery__title[data-split] .w {
  padding-bottom: .2em;
  margin-bottom: -.2em;
}

.chery__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(243, 234, 217, .18);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, .8);
}

.chery__kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(63, 217, 192, .18);
}

/* ---------- triptyque synchronisé ---------- */
.chery__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: start;
  margin-top: clamp(28px, 3.4vw, 46px);
}

.chery__player { min-width: 0; }

.chery__triptych {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.85fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(5px, .7vw, 10px);
  padding: clamp(6px, .8vw, 12px);
  border: 1px solid rgba(243, 234, 217, .12);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(243, 234, 217, .045), rgba(243, 234, 217, .012));
  overflow: hidden;
}

.chery__triptych::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(70% 120% at 50% -20%, rgba(63, 217, 192, .16), transparent 62%);
}

.chery__scr {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #0d0b09;
  border: 1px solid rgba(243, 234, 217, .1);
}

.chery__scr video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d0b09;
}

.chery__scr--main { aspect-ratio: 16 / 9; border-color: rgba(243, 234, 217, .2); }

.chery__scr--side {
  aspect-ratio: 5 / 4;
  opacity: .82;
  filter: saturate(.96) brightness(.92);
  transition: opacity .6s var(--ease), filter .6s var(--ease);
}

.chery.is-playing .chery__scr--side { opacity: 1; filter: saturate(1.02) brightness(1); }

/* bouton play central */
.chery__launch {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(to top, rgba(10, 9, 8, .72) 0%, rgba(10, 9, 8, .12) 42%, rgba(10, 9, 8, .3) 100%);
  color: #f3ead9;
  cursor: pointer;
  transition: opacity .4s var(--ease);
}

.chery__launch-in {
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateY(4px);
  transition: transform .5s var(--ease);
}

.chery__launch:hover .chery__launch-in { transform: translateY(0); }

.chery__launch-dot {
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 76px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(10, 9, 8, .5);
  border: 1px solid rgba(243, 234, 217, .34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .35s, border-color .35s, transform .5s var(--ease);
}

.chery__launch:hover .chery__launch-dot {
  background: var(--neon);
  border-color: var(--neon);
  transform: scale(1.06);
}

.chery__launch-dot svg { width: 20px; height: 20px; margin-left: 3px; fill: #f3ead9; transition: fill .35s; }
.chery__launch:hover .chery__launch-dot svg { fill: #0a0908; }

.chery__launch-t {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, .9);
  text-align: center;
  padding: 0 10px;
}

.chery__launch.is-hidden { opacity: 0; pointer-events: none; }

/* barre de lecture */
.chery__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(243, 234, 217, .12);
  border-radius: 999px;
  background: rgba(243, 234, 217, .035);
}

.chery__btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid rgba(243, 234, 217, .2);
  border-radius: 50%;
  background: transparent;
  color: #f3ead9;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}

.chery__btn:hover { background: var(--neon); border-color: var(--neon); color: #0a0908; }
.chery__btn svg { width: 13px; height: 13px; fill: currentColor; }
.chery__btn .i-pause { display: none; }
.chery.is-playing .chery__btn .i-play { display: none; }
.chery.is-playing .chery__btn .i-pause { display: block; }
.chery__btn[data-mute] .i-muted { display: none; }
.chery__btn[data-mute][aria-pressed="true"] .i-muted { display: block; }
.chery__btn[data-mute][aria-pressed="true"] .i-sound { display: none; }

.chery__seek {
  flex: 1;
  min-width: 0;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.chery__seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--neon) var(--p, 0%), rgba(243, 234, 217, .18) var(--p, 0%));
}

.chery__seek::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--neon) var(--p, 0%), rgba(243, 234, 217, .18) var(--p, 0%));
}

.chery__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-radius: 50%;
  background: #f3ead9;
  border: 0;
  box-shadow: 0 0 0 3px rgba(63, 217, 192, .25);
}

.chery__seek::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #f3ead9;
}

.chery__time {
  flex: none;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: rgba(243, 234, 217, .6);
}

.chery__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 10px 2px 0;
  font-size: 12.5px;
  color: rgba(243, 234, 217, .5);
}

.chery__legend span { display: inline-flex; align-items: center; gap: 7px; }

.chery__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  flex: none;
}

.chery__legend i.is-muted { background: rgba(243, 234, 217, .34); }

/* fiche technique */
.chery__fact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(243, 234, 217, .13);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(243, 234, 217, .05), rgba(243, 234, 217, .015));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.chery__fact-h {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, .5);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(243, 234, 217, .12);
}

.chery__fact dl { display: grid; gap: 0; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(14px, 2.4vw, 40px); }

.chery__fact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(243, 234, 217, .07);
  font-size: 13.5px;
  line-height: 1.42;
}

.chery__fact-row:last-child { border-bottom: 0; }

.chery__fact-row dt {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, .45);
  padding-top: 2px;
}

.chery__fact-row dd { margin: 0; color: rgba(243, 234, 217, .92); }
.chery__fact-row dd b { color: #fffaf2; font-weight: 700; }

.chery__fact-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(63, 217, 192, .14);
  border: 1px solid rgba(63, 217, 192, .38);
  color: #9ef2e2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- récit ---------- */
.chery__story {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr);
  gap: clamp(16px, 3vw, 44px);
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: clamp(24px, 3vw, 38px);
  border-top: 1px solid rgba(243, 234, 217, .12);
}

.chery__story-h {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.chery__story p {
  margin: 0 0 14px;
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.68;
  color: rgba(243, 234, 217, .7);
}

.chery__story p:last-child { margin-bottom: 0; }
.chery__story p b { color: #fffaf2; font-weight: 600; }
.chery__story p em { font-style: normal; color: var(--neon); }

/* ---------- bande de plans ---------- */
.chery__strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 14px);
  margin: clamp(18px, 2vw, 26px) 0 0;
  padding: 0;
}

.chery__frame {
  position: relative;
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(243, 234, 217, .12);
  background: #0f0c0a;
  aspect-ratio: 16 / 9;
}

.chery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform .8s var(--ease), filter .5s;
}

.chery__frame:hover img { transform: scale(1.06); filter: saturate(1.2); }

.chery__frame figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 9, 8, .66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(243, 234, 217, .82);
}

/* ---------- chaîne de fabrication A → Z ---------- */
.chery__chain-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: clamp(48px, 6vw, 84px) 0 clamp(20px, 2.4vw, 30px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(243, 234, 217, .13);
}

.chery__chain-h h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.chery__chain-h span {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, .45);
}

.chery__chain {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  margin: 0;
  padding: 0;
}

.chery__step {
  position: relative;
  padding: clamp(16px, 1.7vw, 22px);
  border: 1px solid rgba(243, 234, 217, .11);
  border-radius: var(--r-md);
  background: rgba(243, 234, 217, .022);
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}

.chery__step:hover {
  border-color: rgba(63, 217, 192, .45);
  background: rgba(63, 217, 192, .05);
  transform: translateY(-2px);
}

.chery__step-n {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--neon);
  margin-bottom: 10px;
}

.chery__step h4 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.chery__step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(243, 234, 217, .62);
}

.chery__step--key {
  border-color: rgba(63, 217, 192, .34);
  background: linear-gradient(180deg, rgba(63, 217, 192, .09), rgba(63, 217, 192, .02));
}

/* ---------- déclaration / signature ---------- */
.chery__claim {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  margin-top: clamp(34px, 4vw, 54px);
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid rgba(243, 234, 217, .13);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 130% at 100% 0%, rgba(63, 217, 192, .12), transparent 66%),
    rgba(243, 234, 217, .03);
}

.chery__claim p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 29px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.chery__claim p b { color: var(--neon); font-weight: 700; }

.chery__claim small {
  display: block;
  margin-top: 14px;
  font-family: var(--text);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  color: rgba(243, 234, 217, .6);
}

.chery__sign {
  display: grid;
  gap: 4px;
  padding-left: clamp(0px, 2vw, 28px);
  border-left: 1px solid rgba(243, 234, 217, .14);
}

.chery__sign b {
  font-family: var(--display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.chery__sign span {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, .48);
}

/* ---------- model sheets ---------- */
.chery__sheets { margin-top: clamp(38px, 5vw, 64px); }

.chery__sheets-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.chery__sheets-h h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.chery__sheets-intro {
  margin: 0 0 clamp(16px, 2vw, 24px);
  max-width: 760px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(243, 234, 217, .62);
}

.chery__sheets-grid {
  list-style: none;
  columns: 3;
  column-gap: clamp(8px, 1vw, 14px);
  margin: 0;
  padding: 0;
}

.chery__sheets-grid > li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 clamp(8px, 1vw, 14px);
}

.chery__sheet {
  position: relative;
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(243, 234, 217, .12);
  background: #0f0c0a;
}

.chery__sheet img { display: block; width: 100%; height: auto; transition: transform .7s var(--ease); }
.chery__sheet:hover img { transform: scale(1.04); }

.chery__sheet figcaption {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(243, 234, 217, .74);
  border-top: 1px solid rgba(243, 234, 217, .1);
}

.chery__sheet figcaption b { display: block; color: var(--neon); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .chery__stage { grid-template-columns: 1fr; }
  .chery__fact dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chery__story { grid-template-columns: 1fr; gap: 14px; }
  .chery__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chery__claim { grid-template-columns: 1fr; }
  .chery__sign { padding-left: 0; border-left: 0; border-top: 1px solid rgba(243, 234, 217, .14); padding-top: 16px; }
}

@media (max-width: 860px) {
  .chery__triptych { grid-template-columns: minmax(0, .72fr) minmax(0, 1.55fr) minmax(0, .72fr); }
}

@media (max-width: 640px) {
  .chery__triptych { grid-template-columns: 1fr 1fr; }
  .chery__scr--main { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .chery__strip { grid-template-columns: repeat(2, 1fr); }
  .chery__chain { grid-template-columns: 1fr; }
  .chery__fact-row { grid-template-columns: 1fr; gap: 2px; }
  .chery__fact-row dt { padding-top: 0; }
  .chery__bar { gap: 8px; padding: 6px 8px; }
  .chery__time { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .chery__step, .chery__frame img, .chery__sheet img, .chery__scr--side { transition: none !important; }
  .chery__step:hover { transform: none; }
}
