/* Écran 17 — marque : merci (même univers que l'écran 16, sans confettis) */
.slide[data-screen="17"] { --blue: #3A57E8; --ink: #0B0D2E; color: var(--ink); }

.slide[data-screen="17"] .tm-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.slide[data-screen="17"] .tm-deco::before {
  content: ""; position: absolute; width: 36rem; height: 36rem; right: -18rem; bottom: -16rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(58 87 232 / .15), rgb(58 87 232 / 0));
}

.slide[data-screen="17"] .tm { position: relative; gap: 1.5rem; }
.slide[data-screen="17"] .tb-logo { width: min(9.5rem, 46%); height: auto; overflow: visible; animation: tm-up .7s cubic-bezier(.2,.9,.3,1) both; }

.slide[data-screen="17"] .tm-title {
  margin: 0; font-weight: 800; font-size: clamp(2.3rem, 10.5vw, 4rem); line-height: 1; letter-spacing: -.05em;
  text-align: center; text-wrap: balance;
}
.slide[data-screen="17"] .tm { align-items: center; }
.slide[data-screen="17"] .tm-actions { align-self: stretch; }
.slide[data-screen="17"] .tm-title:focus { outline: none; }
.slide[data-screen="17"] .tm-title > span { display: block; animation: tm-up .8s .08s cubic-bezier(.2,.9,.3,1) both; }
.slide[data-screen="17"] .tm-l1 { color: var(--blue); }
.slide[data-screen="17"] .tm-title > .tm-l2 { animation-delay: .2s; }
.slide[data-screen="17"] .tm-title em {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(transparent 62%, rgb(58 87 232 / .2) 62%) no-repeat 0 0 / 0 100%;
  animation: tm-mark .7s .8s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes tm-mark { to { background-size: 100% 100%; } }
@keyframes tm-up { from { opacity: 0; translate: 0 .5em; } }

.slide[data-screen="17"] .tm-sub {
  display: flex; align-items: center; gap: .65rem; margin: 0; font-size: 1.05rem; color: rgb(11 13 46 / .75);
  animation: tm-up .8s .32s cubic-bezier(.2,.9,.3,1) both;
}
.slide[data-screen="17"] .tm-pulse { position: relative; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--blue); }
.slide[data-screen="17"] .tm-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue);
  animation: tm-ping 2s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes tm-ping { 75%, 100% { scale: 2.6; opacity: 0; } }

.slide[data-screen="17"] .tm-actions { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; animation: tm-up .8s .44s cubic-bezier(.2,.9,.3,1) both; }
.slide[data-screen="17"] .tm-cta {
  display: flex; align-items: center; gap: .75rem; min-height: 3.75rem; padding: .7rem 1.1rem .7rem .8rem;
  border-radius: 999px; border: 1.5px solid rgb(58 87 232 / .5); background: rgb(255 255 255 / .55);
  color: var(--blue); text-decoration: none; font-weight: 700; line-height: 1.25;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.slide[data-screen="17"] .tm-cal {
  flex: none; width: 2.3rem; height: 2.3rem; padding: .45rem; border-radius: 50%; background: rgb(58 87 232 / .12);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: background .2s;
}
.slide[data-screen="17"] .tm-arrow { margin-left: auto; transition: translate .2s; }
.slide[data-screen="17"] .tm-cta:hover { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgb(58 87 232 / .8); }
.slide[data-screen="17"] .tm-cta:hover .tm-cal { background: rgb(255 255 255 / .18); }
.slide[data-screen="17"] .tm-cta:hover .tm-arrow { translate: 4px 0; }
.slide[data-screen="17"] .tm-home { align-self: center; padding: .7rem; font-size: .9rem; color: rgb(11 13 46 / .6); text-underline-offset: 3px; }
.slide[data-screen="17"] .tm-home:hover { color: var(--ink); }

@media (min-width: 768px) {
  .slide[data-screen="17"] .tm { max-width: 40rem; gap: 1.8rem; }
  .slide[data-screen="17"] .tb-logo { width: 11rem; }
  .slide[data-screen="17"] .tm-actions { flex-direction: row; align-items: center; gap: 1.2rem; }
  .slide[data-screen="17"] .tm-home { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slide[data-screen="17"] .tm-pulse::after { animation: none; }
  .slide[data-screen="17"] .tm-title em { background-size: 100% 100%; }
}
