.home-video-section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  background: var(--ivory);
}

.home-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(rgba(255, 253, 248, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, .035) 1px, transparent 1px),
    var(--void);
  background-size: 48px 48px, 48px 48px, auto;
}

.home-video-placeholder__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.home-video-placeholder__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--paper);
  pointer-events: none;
}

.home-video-placeholder__label svg {
  width: clamp(58px, 7vw, 82px);
  height: clamp(58px, 7vw, 82px);
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.5;
}

.home-video-placeholder__label path {
  fill: var(--clay);
  stroke: none;
}

.home-video-placeholder__label span {
  color: #cfc5bb;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-video-section--editorial {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(5rem, 7vw, 7rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(13, 16, 18, .13);
  background:
    radial-gradient(circle at 9% 14%, rgba(201, 97, 46, .08), transparent 19%),
    linear-gradient(rgba(13, 16, 18, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 16, 18, .02) 1px, transparent 1px),
    var(--ivory);
  background-size: auto, 64px 64px, 64px 64px, auto;
  color: var(--void);
}

.home-video-section--editorial::before {
  position: absolute;
  top: 0;
  left: max(1.25rem, calc((100vw - 1180px) / 2 + 48%));
  width: 2px;
  height: clamp(4rem, 7vw, 6.5rem);
  background: linear-gradient(var(--clay), rgba(201, 97, 46, .16));
  content: "";
}

.home-video-section--editorial::after {
  position: absolute;
  top: clamp(4rem, 7vw, 6.5rem);
  left: max(1.25rem, calc((100vw - 1180px) / 2 + 48%));
  width: clamp(52px, 6vw, 86px);
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 97, 46, .2), var(--clay));
  content: "";
}

.home-video-section__inner {
  position: relative;
  z-index: 1;
}

.home-video-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.home-video-section__eyebrow {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .75rem;
  margin: 0 0 -1.8rem;
  color: var(--clay);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.home-video-section__eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--clay);
  content: "";
}

.home-video-section__heading h2 {
  grid-column: 1 / -1;
  max-width: 960px;
  margin: 0;
  color: var(--void);
  font: 500 clamp(3.4rem, 6.4vw, 6.4rem)/.9 var(--sans);
  letter-spacing: -.058em;
  text-wrap: balance;
}

.home-video-section__heading h2 em {
  display: block;
  max-width: 900px;
  margin-top: .12em;
  color: var(--clay);
  font: italic 400 .72em/1.04 var(--serif);
  letter-spacing: -.03em;
}

.home-video-section__story {
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 1.6rem 0 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--clay);
  color: #4a4440;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.home-video-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(290px, .62fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.home-video-feature {
  position: sticky;
  top: 140px;
  min-width: 0;
  margin: 0;
}

.home-video-section__layout--solo {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.home-video-section__layout--solo .home-video-feature {
  position: static;
  width: min(100%, 980px);
  margin: 0 auto;
}

.home-video-section__layout--solo .home-video-feature__caption {
  text-align: center;
}

/* Variante centrée : titre, paragraphe et vidéo alignés au centre de la section. */
.home-video-section--centered .home-video-section__heading {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.home-video-section--centered .home-video-section__eyebrow {
  margin: 0 auto;
}

.home-video-section--centered .home-video-section__eyebrow::before {
  display: none;
}

.home-video-section--centered .home-video-section__heading h2 {
  margin: 1.1rem auto 0;
}

.home-video-section--centered .home-video-section__heading h2 em {
  margin-inline: auto;
}

.home-video-section--centered .home-video-section__story {
  margin: 1.6rem auto 0;
  padding: 1.1rem 0 0;
  border-left: 0;
  border-top: 2px solid var(--clay);
  max-width: 760px;
}

.home-video-section--centered::before,
.home-video-section--centered::after {
  display: none;
}

.home-video-feature__frame {
  --video-aspect: 16 / 9;
  position: relative;
  width: 100%;
  aspect-ratio: var(--video-aspect);
  overflow: hidden;
  border: 1px solid rgba(13, 16, 18, .28);
  background:
    linear-gradient(135deg, rgba(201, 97, 46, .18), transparent 42%),
    linear-gradient(rgba(255, 253, 248, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, .04) 1px, transparent 1px),
    var(--void);
  background-image:
    var(--video-poster, linear-gradient(135deg, rgba(201, 97, 46, .18), transparent 42%)),
    linear-gradient(rgba(255, 253, 248, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, .04) 1px, transparent 1px);
  background-position: center;
  background-size: cover, 48px 48px, 48px 48px;
  box-shadow: 18px 20px 0 rgba(201, 97, 46, .1);
}

.home-video-feature__frame::after {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 253, 248, .1);
  pointer-events: none;
  content: "";
}

.home-video-feature__media {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050607;
}

.home-video-feature__media[hidden] {
  display: none;
}

.home-video-feature__cover {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.home-video-feature__frame.is-playing .home-video-feature__cover {
  display: none;
}

.home-video-feature__mark,
.home-video-feature__placeholder-note {
  position: absolute;
  color: rgba(255, 253, 248, .58);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-video-feature__mark {
  top: 2rem;
  left: 2rem;
}

.home-video-feature__placeholder-note {
  right: 2rem;
  bottom: 2rem;
}

.home-video-feature__play {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: .9rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.home-video-feature__play svg {
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  overflow: visible;
  fill: var(--clay);
  stroke: var(--clay);
  stroke-width: 1.5;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .28));
  transition: transform .2s ease, fill .2s ease;
}

.home-video-feature__play path {
  fill: var(--paper);
  stroke: none;
}

.home-video-feature__play span {
  padding: .72rem .9rem;
  background: var(--clay);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.home-video-feature__play:hover svg,
.home-video-feature__play:focus-visible svg {
  transform: scale(1.06);
  fill: #b75427;
}

.home-video-feature__play:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 8px;
}

/* Miniature (poster) : image réelle couvrant le cadre, sous la couverture */
.home-video-feature__poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-video-feature__frame.is-playing .home-video-feature__poster {
  display: none;
}

/* Voile graphite pour garder le bouton et la barre lisibles */
.home-video-feature__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, .34) 0%, rgba(20, 17, 14, .08) 38%, rgba(20, 17, 14, .18) 62%, rgba(20, 17, 14, .82) 100%);
  pointer-events: none;
}

.home-video-feature__cover {
  isolation: isolate;
  grid-template-rows: 1fr auto;
  align-items: center;
}

.home-video-feature__cover .home-video-feature__play {
  align-self: center;
  margin-top: 1.5rem;
}

.home-video-feature__mark {
  padding: .45rem .7rem;
  background: rgba(20, 17, 14, .55);
  color: var(--paper);
  backdrop-filter: blur(6px);
}

/* Barre de progression « vidéo en préparation » */
.home-video-feature__progress {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .55rem;
  width: min(100%, 520px);
  justify-self: center;
  margin: 0 0 .25rem;
  color: var(--paper);
}

.home-video-feature__progress-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: 600 .66rem/1 var(--font-label, var(--sans));
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-video-feature__progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 0 rgba(230, 138, 94, .55);
  animation: home-video-pulse 1.8s ease-out infinite;
}

.home-video-feature__progress-track {
  position: relative;
  display: block;
  height: 5px;
  overflow: hidden;
  background: rgba(244, 239, 230, .22);
}

.home-video-feature__progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 72%;
  background: linear-gradient(90deg, var(--clay), var(--brass));
}

.home-video-feature__progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(244, 239, 230, .55) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: home-video-shimmer 2.2s ease-in-out infinite;
}

.home-video-feature__progress-meta {
  color: rgba(244, 239, 230, .78);
  font: italic 400 .86rem/1.3 var(--font-accent, Georgia, serif);
  text-align: center;
}

@keyframes home-video-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 138, 94, .55); }
  70% { box-shadow: 0 0 0 9px rgba(230, 138, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 138, 94, 0); }
}

@keyframes home-video-shimmer {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.home-video-feature__caption {
  margin: 1rem 0 0;
  color: #71685f;
  font-size: .75rem;
  line-height: 1.5;
}

.home-video-section__copy {
  position: relative;
  padding: .4rem 0 0 clamp(1.25rem, 2.5vw, 2rem);
  border-left: 2px solid var(--clay);
}

.home-video-section__intro {
  margin: 0;
  color: #393633;
  font: 400 clamp(1.05rem, 1.4vw, 1.25rem)/1.45 var(--serif);
  text-wrap: pretty;
}

.home-video-section__steps {
  display: grid;
  gap: 0;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid rgba(13, 16, 18, .18);
  list-style: none;
}

.home-video-section__steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .8rem;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid rgba(13, 16, 18, .18);
}

.home-video-section__steps span {
  color: var(--clay);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.home-video-section__steps p {
  margin: 0;
  color: var(--void);
  font-size: .83rem;
  font-weight: 600;
}

.home-video-section__steps--gestures {
  margin: 1.2rem 0 1.1rem;
}

.home-video-section__steps--gestures li {
  grid-template-columns: 30px 1fr;
  align-items: start;
  min-height: 0;
  padding: .55rem 0;
}

.home-video-section__steps--gestures li span {
  padding-top: .25rem;
}

.home-video-section__steps--gestures strong {
  display: block;
  color: var(--void);
  font: italic 500 1.05rem/1.1 var(--serif);
}

.home-video-section__steps--gestures p {
  margin: .15rem 0 0;
  color: #4e4842;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
}

.home-video-section__live {
  margin: 0 0 1.2rem;
  color: #393633;
  font: italic 400 .95rem/1.42 var(--font-accent);
}

.home-video-section__cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.1rem;
  border: 1px solid var(--clay);
  background: var(--clay);
  color: var(--paper);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.home-video-section__cta:hover,
.home-video-section__cta:focus-visible {
  background: transparent;
  color: var(--void);
  transform: translateY(-2px);
}

.home-video-section__cta:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .home-video-section--editorial {
    padding: 5rem 0;
  }

  .home-video-section__heading,
  .home-video-section__layout {
    grid-template-columns: 1fr;
  }

  .home-video-section__heading {
    gap: 0;
    margin-bottom: 2.25rem;
  }

  .home-video-section__eyebrow {
    margin-bottom: 1rem;
  }

  .home-video-section__layout {
    gap: 2.5rem;
  }

  .home-video-section__copy {
    max-width: 680px;
  }

  .home-video-feature {
    position: static;
  }
}

@media (max-width: 720px) {
  .home-video-section {
    padding: 1.5rem 0 2.5rem;
  }

  .home-video-section .container {
    width: calc(100% - 30px);
  }

  .home-video-section--editorial {
    padding: 4.5rem 0;
    background-size: auto, 48px 48px, 48px 48px, auto;
  }

  .home-video-section--editorial::before {
    left: 2rem;
    height: 3.5rem;
  }

  .home-video-section--editorial::after {
    top: 3.5rem;
    left: 2rem;
    width: 48px;
  }

  .home-video-section__heading h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
    line-height: .92;
  }

  .home-video-section__heading h2 em {
    font-size: .76em;
    line-height: 1.06;
  }

  .home-video-feature__frame {
    box-shadow: 10px 12px 0 rgba(201, 97, 46, .1);
  }

  .home-video-feature__cover {
    padding: 1rem;
  }

  .home-video-feature__mark {
    top: 1.2rem;
    left: 1.2rem;
  }

  .home-video-feature__progress {
    gap: .4rem;
  }

  .home-video-feature__progress-label {
    font-size: .58rem;
  }

  .home-video-feature__progress-meta {
    font-size: .74rem;
  }

  .home-video-feature__cover .home-video-feature__play {
    margin-top: .9rem;
  }

  .home-video-feature__play {
    gap: .55rem;
  }

  .home-video-feature__play svg {
    width: 58px;
    height: 58px;
  }

  .home-video-feature__play span {
    padding: .55rem .7rem;
    font-size: .62rem;
  }

  .home-video-section__copy {
    padding-left: 1rem;
  }

  .home-video-section__intro {
    font-size: 1.15rem;
  }

  .home-video-section__cta {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-video-feature__play svg,
  .home-video-section__cta {
    transition: none;
  }

  .home-video-feature__progress-dot,
  .home-video-feature__progress-bar::after {
    animation: none;
  }

  .home-video-feature__play:hover svg,
  .home-video-feature__play:focus-visible svg,
  .home-video-section__cta:hover,
  .home-video-section__cta:focus-visible {
    transform: none;
  }
}
