.triggr-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 24px;
  background:
    radial-gradient(circle at 82% 6%, rgba(255, 106, 23, .16), transparent 26%),
    linear-gradient(145deg, #071b28, #0d2f42 60%, #123d50);
  color: #fff;
}

.triggr-showcase::before {
  position: absolute;
  top: 56px;
  right: -190px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}

.triggr-showcase-wrap {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin: 0 auto;
}

.triggr-showcase-head { margin: 0 auto clamp(34px, 5vw, 66px); }

.triggr-showcase-kicker {
  margin: 0 0 17px;
  color: #ff8d4c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.triggr-showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: end;
  gap: clamp(30px, 6vw, 96px);
}

.triggr-showcase-intro h2 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6.1vw, 94px);
  letter-spacing: -.065em;
  line-height: .94;
}

.triggr-showcase-intro h2 span { color: #ff6a17; }

.triggr-showcase-intro > div > p {
  margin: 0;
  color: #bed0d8;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
}

.triggr-showcase-intro ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.triggr-showcase-intro li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #d7e3e8;
  font-size: 11px;
  font-weight: 750;
}

.triggr-showcase-intro li strong { margin-right: 3px; color: #ff7a2d; }

.triggr-showcase-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  background: #f6f1ea;
  box-shadow: 0 44px 120px rgba(0, 0, 0, .38);
}

.triggr-showcase-bar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(16, 42, 59, .1);
  background: #fffdfa;
  color: #102a3b;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.triggr-showcase-bar span { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; }
.triggr-showcase-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff6a17; box-shadow: 0 0 0 5px rgba(255, 106, 23, .12); }
.triggr-showcase-bar b { color: #687b86; font-size: 9px; }

.triggr-showcase-frame iframe {
  display: block;
  width: 100%;
  height: 1160px;
  border: 0;
  background: #f6f1ea;
}

.triggr-showcase-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  margin-top: 30px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 26px;
  background: rgba(255, 255, 255, .06);
}

.triggr-showcase-conversion span {
  display: block;
  margin-bottom: 8px;
  color: #ff8d4c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.triggr-showcase-conversion h3 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3.2vw, 48px);
  letter-spacing: -.045em;
  line-height: 1.04;
}

.triggr-showcase-conversion p {
  max-width: 780px;
  margin: 14px 0 0;
  color: #b9ccd4;
  font-size: 14px;
  line-height: 1.55;
}

.triggr-showcase-conversion > a {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 21px;
  border-radius: 12px;
  background: #ff6a17;
  color: #102a3b;
  box-shadow: 0 18px 45px rgba(255, 106, 23, .22);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.triggr-showcase-conversion > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(255, 106, 23, .32);
}

.triggr-showcase-conversion > a span { margin: 0; color: inherit; font-size: 20px; letter-spacing: 0; }

.triggr-showcase-reassurance {
  margin: 17px 0 0;
  color: #8fa8b3;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1080px) {
  .triggr-showcase-intro { grid-template-columns: 1fr; align-items: start; }
  .triggr-showcase-intro > div > p { max-width: 760px; }
  .triggr-showcase-frame iframe { height: 1220px; }
}

@media (max-width: 760px) {
  .triggr-showcase { padding: 68px 10px; }
  .triggr-showcase-head { padding: 0 10px; }
  .triggr-showcase-kicker { font-size: 10px; }
  .triggr-showcase-intro h2 { font-size: clamp(40px, 13vw, 60px); }
  .triggr-showcase-intro > div > p { font-size: 15px; }
  .triggr-showcase-intro li { padding: 8px 10px; font-size: 10px; }
  .triggr-showcase-frame { border-radius: 20px; }
  .triggr-showcase-bar { min-height: 45px; padding: 0 15px; }
  .triggr-showcase-bar b { display: none; }
  .triggr-showcase-frame iframe { height: 930px; }
  .triggr-showcase-conversion { grid-template-columns: 1fr; padding: 26px 20px; }
  .triggr-showcase-conversion > a { width: 100%; }
  .triggr-showcase-reassurance { padding: 0 14px; font-size: 9px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .triggr-showcase-conversion > a { transition: none; }
}

/* One full capture at a time. The fixed stage prevents page jumps as the device changes. */
.triggr-hero-rotator {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 545px;
  background: #fff;
}

.triggr-hero-rotator-stage { position: relative; height: 545px; }

.triggr-hero-rotator-card {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: visible;
  opacity: 0;
  transform: translate(calc(-50% + 44px), -50%);
  transition: opacity .26s ease, transform .3s ease;
  pointer-events: none;
}

.triggr-hero-rotator-card.is-ready { opacity: 0; }
.triggr-hero-rotator-card.is-visible { opacity: 1; transform: translate(-50%, -50%); }
.triggr-hero-rotator-card.is-leaving { opacity: 0; transform: translate(calc(-50% - 44px), -50%); }
.triggr-hero-rotator-card.is-entering { transition: none; transform: translate(calc(-50% + 44px), -50%); }
.triggr-hero-rotator-card[data-device="mobile"] { width: min(225px, 55%); aspect-ratio: 390 / 844; }
.triggr-hero-rotator-card[data-device="tablet"] { width: min(380px, 74%); aspect-ratio: 768 / 1024; }
.triggr-hero-rotator-card[data-device="desktop"] { width: min(700px, 94%); aspect-ratio: 16 / 10; }
.triggr-hero-rotator-card iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }

@media (max-width: 1020px) {
  .triggr-hero-rotator { width: 100%; max-width: 760px; justify-self: center; }
}

@media (max-width: 680px) {
  .triggr-hero-rotator, .triggr-hero-rotator-stage { min-height: 430px; height: 430px; }
  .triggr-hero-rotator-card[data-device="mobile"] { width: min(180px, 54%); }
  .triggr-hero-rotator-card[data-device="tablet"] { width: min(275px, 74%); }
  .triggr-hero-rotator-card[data-device="desktop"] { width: min(510px, 94%); }
}

@media (prefers-reduced-motion: reduce) {
  .triggr-hero-rotator-card { transition: opacity .15s linear; }
  .memory-rotator .triggr-static-capture { transition: none; }
}

/* Captures fixes : même source que la rotation, sans navigation ni élément coupé. */
.memory-static-visual {
  width: min(100%, 980px);
  margin: auto;
  aspect-ratio: 16 / 10;
  overflow: visible;
}

.memory-rotator {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f6f1ea;
}

.memory-rotator .triggr-static-capture {
  opacity: 1;
  transition: opacity .24s ease;
}

.memory-rotator.is-changing .triggr-static-capture { opacity: 0; }

.triggr-static-capture {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.triggr-page .week-stage { overflow: visible; }
.triggr-page .week-note { box-sizing: border-box; }
.triggr-page .week-line { gap: 0; }

/* The week signals read like short private messages, with a clear tail. */
.triggr-page .week-phone { transform: none; animation: none; }
.triggr-page .week-note {
  width: 238px;
  padding: 16px 17px;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(3, 11, 18, .24);
  transform: none;
  animation: none;
}
.triggr-page .week-note::after {
  position: absolute;
  bottom: -11px;
  left: 28px;
  width: 20px;
  height: 20px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
}
.triggr-page .week-note small { margin-bottom: 8px; font-size: .55rem; }
.triggr-page .week-note strong { display: block; font-size: 1.02rem; letter-spacing: -.035em; line-height: 1.14; }
.triggr-page .week-note p { margin-top: 6px; font-size: .72rem; }
.triggr-page .note-a { top: 13%; left: max(24px, calc(50% - 430px)); }
.triggr-page .note-b { right: max(24px, calc(50% - 430px)); bottom: 17%; }

/* Les deux brèves contextuelles réapparaissent, l’une après l’autre. */
.triggr-page .week-stage { overflow: hidden; }
.triggr-page .week-note {
  pointer-events: none;
  top: auto;
  bottom: 8%;
  opacity: 0;
  will-change: transform, opacity;
}
.triggr-page .note-a {
  left: calc(50% - 470px);
  transform: translate3d(0, 135px, 0) rotate(-5deg);
  animation: triggr-notification-left 7.2s cubic-bezier(.16, 1, .3, 1) infinite;
}
.triggr-page .note-b {
  right: calc(50% - 470px);
  bottom: 15%;
  transform: translate3d(0, 135px, 0) rotate(5deg);
  animation: triggr-notification-right 7.2s 3.2s cubic-bezier(.16, 1, .3, 1) infinite;
}
@keyframes triggr-notification-left {
  0%, 11% { opacity: 0; transform: translate3d(0, 150px, 0) rotate(-5deg); }
  24%, 58% { opacity: 1; transform: translate3d(-28px, -15px, 0) rotate(-5deg); }
  78%, 100% { opacity: 0; transform: translate3d(-36px, -72px, 0) rotate(-5deg); }
}
@keyframes triggr-notification-right {
  0%, 11% { opacity: 0; transform: translate3d(0, 150px, 0) rotate(5deg); }
  24%, 58% { opacity: 1; transform: translate3d(28px, -34px, 0) rotate(5deg); }
  78%, 100% { opacity: 0; transform: translate3d(42px, -185px, 0) rotate(5deg); }
}
@media (max-width: 760px) {
  .triggr-page .week-note { position: absolute !important; width: 185px; padding: 15px; }
  .triggr-page .note-a { bottom: 12%; left: -4%; }
  .triggr-page .note-b { right: -4%; bottom: 20%; }
}

/* Keep each embedded screenshot inside its own device-shaped frame. */
html:has(body.capture-page.capture-embedded),
body.capture-page.capture-embedded {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
body.capture-page.capture-embedded .capture-gallery,
body.capture-page.capture-embedded .capture-item,
body.capture-page.capture-embedded .capture-frame,
body.capture-page.capture-embedded .capture-stage,
body.capture-page.capture-embedded .capture-stage .device-area,
body.capture-page.capture-embedded .capture-stage .device-shell,
body.capture-page.capture-embedded .capture-stage .device-viewport {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
body.capture-page.capture-embedded .capture-gallery { display: block; padding: 0; }
body.capture-page.capture-embedded .capture-item { display: block; }
body.capture-page.capture-embedded .capture-frame { --source-width: 100%; --source-height: 100%; --capture-scale: 1; }
body.capture-page.capture-embedded .capture-stage {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transform-origin: initial;
}
body.capture-page.capture-embedded .capture-stage .device-area { display: grid; padding: 0 !important; place-items: center; }
body.capture-page.capture-embedded .capture-stage .device-shell {
  aspect-ratio: auto;
  padding: 7px;
  border-width: 2px;
  border-radius: 28px;
  box-shadow: 0 12px 25px rgba(8, 29, 43, .18);
}
body.capture-page.capture-embedded .capture-stage[data-device="tablet"] .device-shell { border-radius: 20px; }
body.capture-page.capture-embedded .capture-stage[data-device="desktop"] .device-shell { border-radius: 13px; }
body.capture-page.capture-embedded .capture-stage .device-viewport { overflow: hidden; }
body.capture-page.capture-embedded .capture-stage .phone-notch,
body.capture-page.capture-embedded .capture-stage .home-indicator { display: none; }
body.capture-page.capture-embedded .capture-stage[data-device="mobile"] .phone-notch { display: block; }
body.capture-page.capture-embedded .capture-stage[data-device="mobile"] .home-indicator { display: block; }
body.capture-page.capture-embedded .capture-stage * { animation: none !important; transition: none !important; }

@media (max-width: 850px) {
  .memory-static-visual { width: 100%; }
  .triggr-page .week-note { width: min(238px, calc(100vw - 48px)); padding: 14px 15px; }
  .triggr-page .note-a { left: auto; bottom: auto; }
  .triggr-page .note-b { right: auto; bottom: auto; }
}

@media (min-width: 851px) {
  .triggr-page .note-a { left: max(24px, calc(50% - 430px)); }
  .triggr-page .note-b { right: max(24px, calc(50% - 430px)); }
}

@keyframes triggr-note-left-safe {
  0%, 11% { opacity: 0; transform: translate3d(0, 110px, 0) rotate(-3deg); }
  24%, 58% { opacity: 1; transform: translate3d(0, -18px, 0) rotate(-3deg); }
  78%, 100% { opacity: 0; transform: translate3d(0, -130px, 0) rotate(-3deg); }
}

@keyframes triggr-note-right-safe {
  0%, 11% { opacity: 0; transform: translate3d(0, 110px, 0) rotate(3deg); }
  24%, 58% { opacity: 1; transform: translate3d(0, -18px, 0) rotate(3deg); }
  78%, 100% { opacity: 0; transform: translate3d(0, -130px, 0) rotate(3deg); }
}
