:root {
  --bg: #050508;
  --surface: #0f0a14;
  --text: #f3e8ff;
  --muted: rgba(243, 232, 255, 0.72);
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --ring: rgba(168, 85, 247, 0.35);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --tp-green: #00b67a;
  --tp-muted: rgba(243, 232, 255, 0.55);
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Top bar ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  padding: 0.65rem max(1rem, env(safe-area-inset-left)) 0.65rem max(1rem, env(safe-area-inset-right));
  padding-top: max(0.65rem, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.96), rgba(5, 5, 8, 0.88));
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
  backdrop-filter: blur(10px);
}

.topbar-logo {
  flex-shrink: 0;
}

.topbar-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(42vw, 180px);
  object-fit: contain;
}

.topbar-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.topbar-lang {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 40px;
  height: 32px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 8, 18, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lang-trigger:hover {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(20, 14, 28, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.lang-trigger:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.lang-trigger[aria-expanded="true"] {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-trigger .lang-switch__flag {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 11.25rem;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: rgba(15, 10, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(168, 85, 247, 0.12);
  backdrop-filter: blur(14px);
}

.lang-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  min-height: 42px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.lang-menu__item:hover,
.lang-menu__item:focus-visible {
  background: rgba(168, 85, 247, 0.12);
  outline: none;
}

.lang-menu__item[aria-checked="true"] {
  background: rgba(168, 85, 247, 0.08);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.22);
}

.lang-menu__flag.lang-switch__flag {
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.lang-switch__flag {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
}

.lang-switch__flag--fr {
  background: linear-gradient(90deg, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66% 100%);
}

.lang-switch__flag--us {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 2px,
    #ffffff 2px 4px
  );
}

.lang-switch__flag--us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 8px;
  background: #3c3b6e;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.pill:hover {
  background: rgba(168, 85, 247, 0.28);
  transform: translateY(-1px);
}

/* ——— Hero : image de couverture pleine largeur écran, entière visible (contain) ——— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.hero-media {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-cover-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  vertical-align: top;
}

.hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(45%, 220px);
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(5, 5, 8, 0.75) 35%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(100%, 36rem);
  margin: -2.25rem auto 0;
  padding: 0 max(1rem, env(safe-area-inset-left)) 1.75rem max(1rem, env(safe-area-inset-right));
  padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  text-align: center;
}

.cta-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: calc(100% - 0.5rem);
  padding: clamp(0.8rem, 2.5vw, 0.95rem) clamp(1rem, 4vw, 1.5rem);
  border-radius: 999px;
  font-size: clamp(0.88rem, 3.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: filter 0.15s ease, transform 0.15s ease;
  word-break: break-word;
}

.cta-hero:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cta-hero::after {
  content: "→";
  font-size: 1.1em;
}

/* Snap+ : seule offre, bouton type hero + logo */
.snap-offer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 0.25rem;
}

.snap-offer__live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 0.6rem;
  font-size: clamp(0.74rem, 2.5vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d8ff99;
  text-shadow:
    0 0 8px rgba(57, 255, 20, 0.75),
    0 0 18px rgba(0, 255, 120, 0.35);
}

/* Bloc explicatif + chrono à côté de « Disponible maintenant » */
.snap-offer__countdown {
  text-transform: none;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  max-width: 100%;
  padding: 0.42rem 0.65rem 0.42rem 0.5rem;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(24, 14, 42, 0.94) 0%, rgba(10, 22, 32, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.2),
    0 10px 36px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.snap-offer__countdown-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  text-align: left;
}

.snap-offer__countdown-icon {
  flex-shrink: 0;
  color: #c4b5fd;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.45));
}

.snap-offer__countdown-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.snap-offer__countdown-title {
  font-size: clamp(0.62rem, 2vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 232, 255, 0.95);
  line-height: 1.2;
}

.snap-offer__countdown-sub {
  font-size: clamp(0.58rem, 1.85vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(216, 255, 153, 0.82);
  line-height: 1.3;
  max-width: 12.5rem;
}

.snap-offer__timer {
  flex: 0 0 auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  padding: 0.38rem 0.65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(0.82rem, 2.6vw, 0.98rem);
  letter-spacing: 0.14em;
  text-transform: none;
  color: #f0ffe8;
  white-space: nowrap;
  border-radius: 11px;
  background: linear-gradient(
    165deg,
    rgba(57, 255, 20, 0.22) 0%,
    rgba(168, 85, 247, 0.14) 55%,
    rgba(12, 40, 28, 0.35) 100%
  );
  border: 1px solid rgba(57, 255, 20, 0.38);
  text-shadow:
    0 0 12px rgba(57, 255, 20, 0.55),
    0 0 28px rgba(0, 255, 120, 0.2);
  box-shadow:
    0 0 22px rgba(57, 255, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .snap-offer__countdown-icon {
    animation: snap-countdown-tick 3s ease-in-out infinite;
  }
}

@keyframes snap-countdown-tick {
  0%,
  100% {
    opacity: 1;
    transform: rotate(0deg);
  }

  40% {
    opacity: 0.92;
    transform: rotate(-6deg);
  }

  60% {
    transform: rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snap-offer__countdown-icon {
    animation: none;
  }
}

.snap-offer__live-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow:
    0 0 10px rgba(57, 255, 20, 0.95),
    0 0 20px rgba(0, 255, 80, 0.45);
  animation: snap-live-pulse 1.8s ease-in-out infinite;
}

@keyframes snap-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.88;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snap-offer__live-dot {
    animation: none;
  }
}

.cta-snap--live {
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

button.cta-hero {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cta-snap {
  width: 100%;
  max-width: 100%;
  justify-content: flex-start;
  gap: 0.65rem;
  padding-left: clamp(0.75rem, 3vw, 1.1rem);
  padding-right: clamp(0.85rem, 3vw, 1.25rem);
  text-align: left;
}

.cta-snap__logo {
  width: clamp(38px, 11vw, 52px);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cta-snap__text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

/* Grille 2 colonnes : Spotify, Netflix, Disney+, Canal+ */
.networks-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--offer-stack-gap);
  width: 100%;
}

@media (min-width: 520px) {
  .networks-cta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .networks-cta-grid .snap-offer {
    margin-top: 0;
  }

  .networks-cta-grid .snap-offer + .snap-offer {
    margin-top: 0;
  }

  .networks-cta-grid .snap-offer--soon {
    grid-column: 1 / -1;
  }
}

/* Activité récente — carte type notification, sobre */
.sp-live {
  width: 100%;
  max-width: 28rem;
  margin: 1.35rem auto 0;
}

.sp-live__heading {
  margin: 0 0 0.35rem;
  font-size: clamp(0.68rem, 1.9vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 232, 255, 0.55);
  text-align: center;
}

.sp-live__scale {
  margin: 0 0 0.65rem;
  padding: 0 0.5rem;
  font-size: clamp(0.75rem, 2.1vw, 0.85rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: rgba(243, 232, 255, 0.72);
}

.sp-live__card {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  transition: opacity 0.28s ease;
}

.sp-live__avatar {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.55), rgba(34, 197, 94, 0.35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sp-live__text {
  flex: 1 1 auto;
  min-width: 0;
}

.sp-live__action {
  margin: 0 0 0.2rem;
  font-size: clamp(0.85rem, 2.25vw, 0.95rem);
  font-weight: 600;
  line-height: 1.38;
  color: rgba(252, 250, 255, 0.96);
}

.sp-live__action .sp-live__service-name {
  font-weight: 700;
  color: rgba(200, 255, 140, 0.98);
}

.sp-live__account {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28rem 0.45rem;
  margin: 0;
}

.sp-live__kind {
  font-size: clamp(0.62rem, 1.75vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 232, 255, 0.45);
}

.sp-live__id {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 500;
  color: rgba(216, 255, 153, 0.88);
  word-break: break-all;
  background: none;
  border: none;
  padding: 0;
}

.sp-live__note {
  margin: 0.55rem 0 0;
  font-size: clamp(0.6rem, 1.65vw, 0.68rem);
  line-height: 1.4;
  font-weight: 500;
  color: rgba(243, 232, 255, 0.4);
  text-align: center;
}

@media (max-width: 480px) {
  .sp-live__card {
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.6rem 0.75rem;
  }

  .sp-live__text {
    text-align: left;
  }
}

.snap-offer__soon-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 0.45rem;
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snap-offer__soon-text {
  color: rgba(233, 213, 253, 0.98);
  text-shadow: 0 0 18px rgba(167, 139, 250, 0.45);
}

.snap-offer__hourglass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  color: #e9d5ff;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.75));
  animation: snap-offer-hourglass-fx 1.75s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}

.snap-offer__hourglass-svg {
  display: block;
}

@keyframes snap-offer-hourglass-fx {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.55));
  }

  40% {
    transform: rotate(144deg) scale(1.14);
    filter: drop-shadow(0 0 16px rgba(192, 132, 252, 1)) drop-shadow(0 0 28px rgba(124, 58, 237, 0.55));
  }

  100% {
    transform: rotate(360deg) scale(1);
    filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.55));
  }
}

@media (prefers-reduced-motion: reduce) {
  .snap-offer__hourglass {
    animation: none;
    filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.5));
  }
}

.cta-snap--soon {
  pointer-events: none;
  user-select: none;
  cursor: not-allowed;
  opacity: 0.72;
  border: 2px dashed rgba(167, 139, 250, 0.55);
  background: linear-gradient(165deg, rgba(88, 28, 135, 0.22), rgba(30, 27, 75, 0.45));
  box-shadow: none;
}

.cta-snap--soon .cta-snap__text {
  color: rgba(237, 233, 254, 0.88);
}

.cta-snap--soon.cta-hero:hover {
  filter: none;
  transform: none;
}

.cta-snap--soon.cta-hero::after {
  content: none;
}

/* Bandeau noir derrière l’inscription CANAL+ (logo « lettres blanches sur noir »), pas derrière le bouton entier */
.cta-snap__logo-wrap--canal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #000;
  border-radius: 2px;
  padding: 0.22rem 0.62rem;
  min-height: 1.65rem;
  max-height: 2rem;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cta-snap__logo--canal {
  display: block;
  width: auto;
  max-width: min(132px, 48vw);
  height: 1.35rem;
  max-height: 1.5rem;
  object-fit: contain;
  object-position: left center;
  /* PNG lettres blanches sur fond transparent : le #000 du parent se voit derrière l’écriture CANAL+ */
  box-shadow: none;
  border-radius: 0;
}

/* Alignement vertical homogène entre toutes les cartes (même retrait haut) */
.networks .snap-offer--cta-only {
  padding-top: 0;
}

/* ——— Offres (titre + ligne de confiance) ——— */
.networks {
  --offer-stack-gap: clamp(0.85rem, 4vw, 1.25rem);
  padding: 2rem max(1rem, env(safe-area-inset-left)) 3rem max(1rem, env(safe-area-inset-right));
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* Même espacement vertical qu’entre Snap et Prime Video, pour toutes les lignes d’offres */
.networks > .snap-offer + .snap-offer,
.networks > .snap-offer + .networks-cta-grid {
  margin-top: var(--offer-stack-gap);
}

.networks-head {
  margin-bottom: 1.35rem;
}

.networks-title {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 4.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  padding: 0 0.35rem;
  word-wrap: break-word;
}

.networks-title__prefix {
  color: #fff;
}

.networks-title__gradient {
  background: linear-gradient(
    105deg,
    #e9d5ff 0%,
    #c084fc 25%,
    #a855f7 55%,
    #7c3aed 85%,
    #6d28d9 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.networks-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 0;
  padding: 0 0.25rem;
  list-style: none;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: clamp(0.78rem, 2.6vw, 0.88rem);
  color: rgba(243, 232, 255, 0.72);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: left;
}

.trust-icon {
  flex-shrink: 0;
  color: var(--purple);
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.35));
}

/* Minuteur : éclair centré au-dessus (comme les autres icônes) ; timer à gauche, phrase à droite */
.trust-item--timer {
  align-items: center;
  justify-content: center;
}

.trust-timer-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.trust-timer-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem 0.55rem;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.trust-timer-label {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  font-size: clamp(0.72rem, 1.8vw, 0.88rem);
  line-height: 1.25;
  font-weight: 600;
  text-align: left;
  overflow-wrap: break-word;
  hyphens: auto;
}

.trust-timer-label__short {
  display: none;
}

/* Mobile : « offres gratuites » reste d’un bloc (pas « gratui » / « tes » coupés) */
.trust-timer-keep {
  white-space: nowrap;
}

.trust-timer-clock {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(0.65rem, 1.65vw, 0.8rem);
  letter-spacing: 0.05em;
  color: rgba(243, 232, 255, 0.96);
  white-space: nowrap;
}

@media (min-width: 520px) {
  .networks-trust {
    gap: 0.5rem 1.15rem;
  }

  .trust-item:not(:first-child) {
    padding-left: 1rem;
    margin-left: 0.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-item--timer {
    flex: 1 1 14rem;
    min-width: 0;
    max-width: min(22rem, 100%);
  }
}

/* Mobile : minuteur centré + texte court dessous ; pas de timer “coincé” à gauche */
@media (max-width: 519px) {
  .networks-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.35rem;
    align-items: start;
    width: 100%;
    padding: 0;
  }

  .trust-item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.35rem;
    font-size: clamp(0.58rem, 2.8vw, 0.72rem);
    letter-spacing: 0;
    line-height: 1.2;
    min-width: 0;
  }

  .trust-item--timer {
    align-items: stretch;
    width: 100%;
  }

  .trust-item--timer .trust-timer-cell {
    gap: 0.45rem;
    padding: 0.15rem 0;
  }

  .trust-item--timer .trust-timer-stack {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    text-align: center;
  }

  .trust-item--timer .trust-timer-label__full {
    display: none;
  }

  .trust-item--timer .trust-timer-label__short {
    display: block;
  }

  .trust-item--timer .trust-timer-label {
    flex: none;
    width: 100%;
    max-width: 13.5rem;
    margin: 0 auto;
    font-size: clamp(0.58rem, 2.6vw, 0.68rem);
    line-height: 1.25;
    text-align: center;
    font-weight: 600;
    color: rgba(243, 232, 255, 0.78);
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .trust-item--timer .trust-timer-clock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.35rem;
    padding: 0.22rem 0.4rem;
    font-size: clamp(0.62rem, 2.5vw, 0.74rem);
    letter-spacing: 0.06em;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.1);
  }

  .trust-item--timer .trust-icon {
    width: 24px;
    height: 24px;
  }

  .trust-item span {
    display: block;
    max-width: 100%;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

/* ——— Modal ——— */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: end center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow: auto;
  margin: 0;
  padding: 1.35rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  border-radius: 18px 18px 0 0;
  background: #120a18;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: var(--shadow);
}

.modal-panel--snap {
  padding-top: 1.5rem;
  background: linear-gradient(180deg, rgba(30, 16, 48, 0.98) 0%, #0c0612 55%, #0a0510 100%);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow:
    var(--shadow),
    0 0 40px rgba(168, 85, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal-proof {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 3;
  width: min(8.8rem, calc(100% - 4.2rem));
  pointer-events: none;
  opacity: 0.88;
  transform: translateY(-4px) scale(0.985);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-proof__card {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.4rem 0.48rem;
  border-radius: 12px;
  background: rgba(12, 6, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease;
}

.modal-proof.modal-proof--visible {
  opacity: 0.92;
  transform: translateY(0) scale(1);
}

.modal-proof__card.modal-proof__card--switch {
  opacity: 0.58;
  transform: translateY(4px) scale(0.985);
}

.modal-proof__card.modal-proof__card--pulse {
  animation: modalProofPulse 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalProofPulse {
  0% {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  }
  45% {
    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(168, 85, 247, 0.24) inset;
  }
  100% {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  }
}

.modal-proof__avatar {
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.55), rgba(34, 197, 94, 0.4));
}

.modal-proof__text {
  min-width: 0;
  flex: 1 1 auto;
}

.modal-proof__action {
  margin: 0 0 0.12rem;
  font-size: 0.58rem;
  line-height: 1.25;
  font-weight: 600;
  color: rgba(252, 250, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-proof__account {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  margin: 0;
  align-items: baseline;
}

.modal-proof__kind {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 232, 255, 0.5);
}

.modal-proof__id {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.54rem;
  font-weight: 500;
  color: rgba(216, 255, 153, 0.88);
}

@media (max-width: 480px) {
  .modal-proof {
    left: 0.45rem;
    top: 0.45rem;
    width: min(8.1rem, calc(100% - 4rem));
  }

  .modal-proof__card {
    padding: 0.36rem 0.42rem;
    gap: 0.3rem;
  }

  .modal-proof__action {
    font-size: 0.54rem;
  }

  .modal-proof__account {
    display: none;
  }
}

.modal-step[hidden] {
  display: none !important;
}

.modal-snap-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal-snap-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 22px;
  border: 2px solid rgba(192, 132, 252, 0.85);
  box-shadow:
    0 0 24px rgba(168, 85, 247, 0.45),
    0 0 2px rgba(250, 232, 255, 0.9) inset;
  background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.2), transparent 55%);
}

.modal-snap-icon {
  display: block;
  width: clamp(72px, 22vw, 88px);
  height: auto;
  border-radius: 16px;
}

.modal-panel h3.modal-snap-title {
  margin: 0;
  padding: 0 0.5rem;
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  background: linear-gradient(120deg, #e9d5ff 0%, #d8b4fe 40%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 28px rgba(192, 132, 252, 0.35);
}

.modal-snap-phone-field {
  display: block;
  margin: 0;
}

.modal-snap-activate-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

/* Ligne du milieu : toujours 2 champs côte à côte (comme la maquette 1 + 2 + 1) */
.modal-snap-activate-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.modal-snap-activate-row > .modal-snap-phone-field {
  flex: 1 1 0;
  min-width: 0;
}

.modal-snap-tel-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(192, 132, 252, 0.65);
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Formulaire activation : coins arrondis type « carte » (maquette), pas pilule pleine largeur */
.modal-snap-tel-row.modal-snap-tel-row--activate-shape {
  border-radius: 12px;
  min-height: 2.75rem;
}

.modal-snap-prefix {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(243, 232, 255, 0.95);
}

.modal-snap-tel-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  outline: none;
}

.modal-snap-tel-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.modal-snap-tel-row--with-lock .modal-snap-field-lock {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-left: 0.15rem;
  color: rgba(216, 180, 254, 0.88);
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.35));
  pointer-events: none;
}

.modal-snap-field-lock__svg {
  display: block;
}

.modal-snap-hint {
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.22);
  font-size: clamp(0.78rem, 2.8vw, 0.88rem);
  line-height: 1.5;
  color: rgba(233, 213, 255, 0.88);
  text-align: center;
}

.modal-snap-hint--cards .modal-snap-hint__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  max-width: 100%;
}

.modal-snap-hint__logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.modal-snap-hint__lead {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(243, 232, 255, 0.94);
  line-height: 1.3;
}

.modal-snap-hint__visa {
  height: clamp(1.1rem, 4.2vw, 1.4rem);
  width: auto;
  max-width: min(5.5rem, 38vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
  background: transparent;
}

.modal-snap-hint__mastercard {
  height: clamp(1.15rem, 4.4vw, 1.45rem);
  width: auto;
  max-width: min(2.85rem, 26vw);
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  background: transparent;
}

.modal-snap-hint strong {
  color: rgba(250, 245, 255, 0.95);
  font-weight: 700;
}

.modal-snap-error {
  margin-top: 0.65rem;
  text-align: center;
}

.modal-snap-cta {
  margin-top: 1rem;
  width: 100%;
  border-radius: 999px;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}

/* Étape 3-D Secure — version courte */
.modal-snap-3ds {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  text-align: center;
}

.modal-snap-3ds__card {
  text-align: center;
  padding: 0.75rem 0.85rem 0.85rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.94) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal-snap-3ds__brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.4rem;
}

/* Libellés type écran d’authentification carte (sobre) */
.modal-snap-3ds__scheme-tag {
  font-size: clamp(0.56rem, 1.85vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.95);
  padding: 0.2rem 0.42rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(100, 116, 139, 0.4);
}

.modal-snap-3ds__trust-pill {
  font-size: clamp(0.56rem, 1.85vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(203, 213, 225, 0.88);
  padding: 0.2rem 0.48rem;
  border-radius: 4px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(100, 116, 139, 0.35);
}

.modal-snap-3ds__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.4rem;
}

.modal-snap-3ds__lock-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.4), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  box-shadow:
    0 2px 10px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal-snap-3ds__lock-svg {
  display: block;
}

.modal-snap-3ds__title-row .modal-snap-3ds__title {
  margin: 0;
  text-align: left;
}

.modal-snap-3ds__title {
  margin: 0 0 0.4rem;
  font-size: clamp(0.95rem, 3.2vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #f8fafc;
}

.modal-snap-3ds__subtitle {
  margin: 0 0 0.35rem;
  font-size: clamp(0.8rem, 2.6vw, 0.9rem);
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.94);
  text-align: center;
  padding: 0 0.25rem;
}

.modal-snap-3ds__fineprint {
  margin: 0 0 0.65rem;
  font-size: clamp(0.65rem, 2vw, 0.72rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.88);
  text-align: center;
}

.modal-snap-3ds__network-strip {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(100, 116, 139, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.modal-snap-3ds__network-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin: 0 0 0.45rem;
}

.modal-snap-3ds__network-logo {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

.modal-snap-3ds__network-logo--visa {
  height: clamp(1rem, 3.6vw, 1.28rem);
  width: auto;
  max-width: min(4.75rem, 42vw);
}

.modal-snap-3ds__network-logo--mastercard {
  height: clamp(1.05rem, 3.8vw, 1.32rem);
  width: auto;
  max-width: min(2.75rem, 28vw);
}

.modal-snap-3ds__network-copy {
  margin: 0;
  font-size: clamp(0.68rem, 2.15vw, 0.78rem);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: rgba(203, 213, 225, 0.96);
  text-align: center;
}

.modal-snap-3ds__timer-block {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.modal-snap-3ds__timer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
  font-size: clamp(0.72rem, 2.4vw, 0.8rem);
  font-weight: 700;
  color: rgba(186, 212, 255, 0.95);
  text-align: left;
}

.modal-snap-3ds__timer-line > span:first-child {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.modal-snap-3ds__timer-digits {
  margin: 0;
  flex-shrink: 0;
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #f0f9ff;
}

.modal-snap-3ds__progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.modal-snap-3ds__progress-fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e40af, #3b82f6 50%, #93c5fd);
  transition: width 0.35s linear;
}

@media (prefers-reduced-motion: reduce) {
  .modal-snap-3ds__progress-fill {
    transition: none;
  }
}

.modal-snap-3ds__fieldwrap {
  text-align: left;
  margin-bottom: 0.25rem;
}

.modal-snap-3ds__field-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: clamp(0.74rem, 2.4vw, 0.82rem);
  font-weight: 800;
  color: rgba(248, 250, 252, 0.96);
}

.modal-snap-3ds__field-hint {
  margin: -0.15rem 0 0.45rem;
  font-size: clamp(0.65rem, 2.1vw, 0.72rem);
  line-height: 1.35;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.92);
}

.modal-snap-3ds__bank-check--locked {
  opacity: 0.62;
  cursor: not-allowed;
}

.modal-snap-3ds__bank-check--locked span {
  cursor: not-allowed;
}

.modal-snap-3ds__bank-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.55rem 0 0.25rem;
  text-align: left;
  font-size: clamp(0.72rem, 2.35vw, 0.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.96);
  cursor: pointer;
}

.modal-snap-3ds__bank-check--locked input {
  pointer-events: none;
  cursor: not-allowed;
}

.modal-snap-3ds__bank-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #3b82f6;
  cursor: pointer;
}

.modal-snap-3ds__bank-check-hint {
  margin: 0 0 0.35rem;
  text-align: left;
  font-size: clamp(0.62rem, 2vw, 0.68rem);
  line-height: 1.35;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.9);
}

.modal-snap-3ds__input-shell {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(96, 165, 250, 0.4);
  background: rgba(3, 7, 18, 0.88);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.modal-snap-3ds__input-shell:focus-within {
  border-color: rgba(147, 197, 253, 0.8);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.modal-snap-3ds__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: #f8fafc;
  background: transparent;
  outline: none;
}

.modal-snap-3ds__input::placeholder {
  color: rgba(148, 163, 184, 0.55);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.modal-snap-3ds__input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.modal-snap-3ds__err {
  margin: 0.5rem 0 0.25rem;
  text-align: center;
  font-size: 0.82rem;
}

.modal-snap-3ds__cta {
  margin-top: 0.65rem;
}

.modal-snap-3ds__cta-trust {
  margin: 0.5rem 0 0;
  padding: 0 0.35rem;
  text-align: center;
  font-size: clamp(0.62rem, 2vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.92);
}

/* Étape « configuration finale » : champs pilule néon */
.modal-snap-final {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.5rem 0 0.35rem;
  text-align: center;
}

.modal-snap-final__brand {
  margin: 0 0 0.6rem;
  padding: 0 0.25rem;
  font-size: clamp(0.68rem, 2.6vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #fdf4ff;
  text-shadow:
    0 0 12px rgba(244, 114, 182, 0.55),
    0 0 26px rgba(168, 85, 247, 0.4);
}

.modal-snap-final__heading {
  margin: 0 0 1rem;
  font-size: clamp(0.76rem, 3vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(252, 250, 255, 0.96);
}

.modal-snap-final__fields {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.modal-snap-final__pill-wrap {
  display: block;
  margin: 0;
}

.modal-snap-final__pill {
  width: 100%;
  box-sizing: border-box;
  padding: 0.92rem 1.2rem;
  border-radius: 999px;
  border: 2px solid rgba(192, 132, 252, 0.8);
  background: rgba(6, 4, 12, 0.72);
  box-shadow:
    0 0 22px rgba(168, 85, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #faf5ff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.modal-snap-final__pill::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.modal-snap-final__pill:focus {
  border-color: rgba(232, 121, 249, 0.95);
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.modal-snap-final__err {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.82rem;
}

.modal-snap-final__cta {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.92rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(200, 140, 255, 0.88);
  background: linear-gradient(165deg, rgba(55, 32, 78, 0.96), rgba(18, 10, 28, 0.99));
  color: #faf5ff;
  font-size: clamp(0.72rem, 2.6vw, 0.85rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  box-shadow:
    0 0 24px rgba(168, 85, 247, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: filter 0.15s ease;
}

.modal-snap-final__cta:hover {
  filter: brightness(1.07);
}

.modal-snap-final__cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.modal-step--plain .modal-step-lead {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 480px) {
  .modal {
    place-items: center;
    padding: 1rem;
  }

  .modal-panel {
    border-radius: 18px;
    margin: 0;
  }
}

.modal-x {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h3 {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.2rem;
}

.modal-intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.modal-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-done {
  text-align: center;
}

.modal-done__delay {
  margin: 0;
  font-size: clamp(0.85rem, 2.4vw, 0.95rem);
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.82);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.field input {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1rem;
}

.field input:focus {
  outline: 2px solid var(--purple);
  outline-offset: 1px;
}

.field-error {
  margin: 0;
  font-size: 0.82rem;
  color: #fda4af;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ——— Avis façon Trustpilot (carrousel) — même fond que la page ——— */
.trustreviews {
  background: transparent;
  border-top: 1px solid rgba(168, 85, 247, 0.14);
  padding: 2.5rem 0 2.25rem;
  padding-bottom: max(2.25rem, env(safe-area-inset-bottom));
  font-family: inherit;
}

.trustreviews__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

.trustreviews__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.trustreviews__excellent {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.trustreviews__stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.trustreviews__stars-row--hero {
  margin-bottom: 0.65rem;
  gap: 5px;
}

.trustreviews__stars-row--hero .trustreviews__star {
  width: 28px;
  height: 28px;
  border-radius: 3px;
}

.trustreviews__stars-row--small {
  margin-bottom: 0.55rem;
  gap: 3px;
}

.trustreviews__stars-row--small .trustreviews__star {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  font-size: 11px;
}

.trustreviews__stars-row--badge .trustreviews__star {
  width: 12px;
  height: 12px;
  border-radius: 1px;
}

.trustreviews__stars-row--badge .trustreviews__star--on::after {
  font-size: 7px;
}

.trustreviews__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
}

.trustreviews__star--on {
  background: var(--tp-green);
}

.trustreviews__star--on::after {
  content: "★";
  color: #fff;
  font-size: 0.65em;
  line-height: 1;
}

.trustreviews__stars-row--hero .trustreviews__star--on::after {
  font-size: 16px;
}

.trustreviews__stars-row--small .trustreviews__star--on::after {
  font-size: 11px;
}

.trustreviews__star--partial {
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.trustreviews__star--partial::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 78%;
  background: var(--tp-green);
  border-radius: 3px 0 0 3px;
}

.trustreviews__star--partial::after {
  content: "★";
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.trustreviews__stars-row--hero .trustreviews__star--partial {
  width: 28px;
  height: 28px;
}

.trustreviews__meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.trustreviews__meta strong {
  color: var(--text);
  font-weight: 700;
}

.trustreviews__meta-link {
  color: var(--tp-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trustreviews__meta-link:hover {
  filter: brightness(1.1);
}

.trustreviews__carousel {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  padding: 0.35rem 0 1.1rem;
  margin: 0 -0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.35) rgba(0, 0, 0, 0.2);
}

.trustreviews__carousel::-webkit-scrollbar {
  height: 5px;
}

.trustreviews__carousel::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 999px;
}

.trustreviews__card {
  flex: 0 0 min(86vw, 340px);
  width: min(86vw, 340px);
  min-height: 260px;
  scroll-snap-align: center;
  margin: 0;
  padding: 1.2rem 1.15rem 1rem;
  border-radius: 14px;
  background: rgba(15, 10, 20, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.22);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.trustreviews__verified {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tp-green);
  letter-spacing: 0.02em;
}

.trustreviews__check {
  margin-right: 0.2rem;
  font-weight: 800;
}

.trustreviews__card-title {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.trustreviews__card-text {
  margin: 0 0 auto;
  padding-bottom: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}

.trustreviews__card-date {
  margin: 0;
  font-size: 0.78rem;
  color: var(--tp-muted);
}

.trustreviews__footer-badge {
  margin: 1.15rem 0 0;
  text-align: center;
}

.trustreviews__footer-badge-inner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  padding: 0.5rem 1rem 0.5rem 1.1rem;
  border: 2px solid var(--tp-green);
  border-radius: 999px;
  background: rgba(15, 10, 20, 0.65);
}

.trustreviews__footer-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.trustreviews__footer-score {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}

@media (min-width: 480px) {
  .trustreviews__card {
    flex-basis: 320px;
    width: 320px;
  }
}

/* ——— Pied de page : © centré puis image bord à bord, fin de page (rien en dessous) ——— */
.site-footer {
  margin: 0;
  padding: 0;
  background: #050508;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
}

.site-footer__head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.35rem max(1rem, env(safe-area-inset-left)) 1rem max(1rem, env(safe-area-inset-right));
}

.site-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Pleine largeur viewport : sort du cadre centré du reste du site */
.site-footer__visual {
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.site-footer__banner {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
