/* Global Print Services — vidéo de présentation (accueil) */

/* ---- lien « Voir notre vidéo » dans le hero ---- */
.hero__watch {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  font-size: 14.5px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.hero__watch small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.hero__watch-ico {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(242,106,15,.8);
  transition: transform .5s var(--ease);
}
.hero__watch-ico svg { width: 17px; height: 17px; margin-left: 2px; }
.hero__watch-ico::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(242,106,15,.45);
  animation: reelRing 2.2s var(--ease) infinite;
}
.hero__watch:hover .hero__watch-ico { transform: scale(1.1); }
.hero__watch:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(242,106,15,.6); }
@keyframes reelRing { from { transform: scale(.85); opacity: 1 } to { transform: scale(1.45); opacity: 0 } }

/* ---- section ---- */
.reel {
  position: relative; z-index: 2; overflow: hidden; isolation: isolate;
  padding: 30px 0 110px; text-align: center;
  background: linear-gradient(180deg, var(--blue-xl) 0%, #fff 78%);
}
.reel__glow {
  position: absolute; left: 50%; top: 48%; width: min(1300px, 140vw); aspect-ratio: 2 / 1; z-index: -1; pointer-events: none;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(40% 45% at 30% 50%, rgba(0,102,214,.16), transparent 70%),
    radial-gradient(35% 40% at 72% 55%, rgba(242,106,15,.14), transparent 70%);
  filter: blur(10px);
}
.reel__head { display: flex; flex-direction: column; align-items: center; }
.reel__head .h2 { max-width: 760px; text-wrap: balance; }

.reel__stage {
  position: relative; width: min(1160px, calc(100% - 2 * var(--pad))); margin: 46px auto 0;
}

/* ---- cadre vidéo ---- */
.reel__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden;
  background: #0E1621; padding: 0;
  box-shadow: 0 0 0 8px #fff, 0 60px 120px -40px rgba(30,42,59,.55), 0 20px 40px -20px rgba(30,42,59,.25);
  transform-origin: 50% 0; will-change: transform;
}
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #F5F8FC; }
.reel__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .6s var(--ease);
  background: linear-gradient(0deg, rgba(14,22,33,.55) 0%, rgba(14,22,33,0) 38%);
}

.reel__badge {
  position: absolute; z-index: 2; right: 22px; top: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  transition: opacity .5s var(--ease);
}
.reel__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: reelBlink 1.4s ease-in-out infinite; }
@keyframes reelBlink { 50% { opacity: .25 } }

.reel__play {
  position: absolute; z-index: 3; left: 26px; bottom: 24px; display: inline-flex; align-items: center; gap: 14px;
  padding: 9px 22px 9px 9px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; text-align: left;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--navy);
  box-shadow: 0 18px 40px -16px rgba(14,22,33,.6);
  transition: transform .6s var(--ease), opacity .5s var(--ease), box-shadow .6s var(--ease);
}
.reel__play:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 26px 50px -18px rgba(14,22,33,.7); }
.reel__play:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.reel__play-ico {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: #fff; flex: none;
}
.reel__play-ico svg { width: 20px; height: 20px; margin-left: 3px; }
.reel__play-ico::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(242,106,15,.55);
  animation: reelRing 2.2s var(--ease) infinite;
}
.reel__play-txt { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.reel__play-txt b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.reel__play-txt small { font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* lecture complète */
.reel__frame.is-full::after,
.reel__frame.is-full .reel__badge,
.reel__frame.is-full .reel__play { opacity: 0; pointer-events: none; }
.reel__frame.is-full .reel__play { transform: translateY(14px); }
.reel__frame.is-full .reel__video { object-fit: contain; background: #0E1621; }

/* écran de fin */
.reel__end {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 24px; background: rgba(14,22,33,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; animation: reelFade .7s var(--ease) both;
}
.reel__end[hidden] { display: none; }
.reel__end p { font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.reel__end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.reel__end .btn--line { background: #fff; }
@keyframes reelFade { from { opacity: 0 } to { opacity: 1 } }

/* puces flottantes */
.reel__chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 11px 17px; border-radius: 999px; background: #fff; color: var(--navy);
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 20px 44px -18px rgba(30,42,59,.5), 0 2px 6px rgba(30,42,59,.06);
  animation: reelFloat 5s ease-in-out infinite;
}
.reel__chip b { font-size: 17px; font-weight: 800; color: var(--orange); }
.reel__chip--a { right: -36px; top: 15%; }
.reel__chip--b { left: -40px; top: 46%; animation-delay: -1.6s; }
.reel__chip--c { right: 9%; bottom: -22px; background: var(--navy); color: #fff; animation-delay: -3.2s; }
@keyframes reelFloat { 50% { translate: 0 -10px } }

.reel__foot { margin-top: 56px; }
.reel__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.reel__link .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.reel__link:hover .ico { transform: translateX(5px); }

/* ---- tablette ---- */
@media (max-width: 1080px) {
  /* fondu doux avec le bas du hero */
  .reel { margin-top: -70px; padding-top: 80px; background: linear-gradient(180deg, rgba(245,248,252,0) 0, var(--blue-xl) 70px, #fff 80%); }
  .reel__chip--a { right: -10px; }
  .reel__chip--b { left: -10px; }
}

/* ---- mobile : vidéo verticale 9:16 ---- */
@media (max-width: 760px) {
  .reel { padding-bottom: 80px; }
  .reel__stage { margin-top: 34px; width: min(calc(100% - 2 * var(--pad)), calc(78svh * 9 / 16), 430px); }
  .reel__frame { aspect-ratio: 9 / 16; border-radius: 26px; box-shadow: 0 0 0 6px #fff, 0 40px 80px -30px rgba(30,42,59,.55); }
  .reel__badge { right: 16px; top: 16px; }
  .reel__play { left: 50%; bottom: 20px; transform: translateX(-50%); padding-right: 18px; }
  .reel__play:hover { transform: translateX(-50%) translateY(-3px); }
  .reel__frame.is-full .reel__play { transform: translateX(-50%) translateY(14px); }
  .reel__play-ico { width: 46px; height: 46px; }
  .reel__play-txt b { font-size: 15px; }
  .reel__chip { font-size: 12px; padding: 9px 13px; }
  .reel__chip b { font-size: 15px; }
  .reel__chip--a { right: -14px; left: auto; top: 15%; }
  .reel__chip--b { left: -14px; right: auto; top: 40%; }
  .reel__chip--c { display: none; }
  .reel__end-actions { flex-direction: column; width: 100%; max-width: 280px; }
  .reel__end-actions .btn { justify-content: center; }
  .hero__watch { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reel__chip, .reel__badge i, .reel__play-ico::after, .hero__watch-ico::after { animation: none; }
}
