/* =============================================================
   PAGE GIVEAWAY
   Le tirage se joue sur le Discord: la page ne fait que le dire et
   montrer la peluche. Tout le reste vient des blocs partages pg-*.
   ============================================================= */

/* La peluche est detouree: pas de cadre, une ombre qui suit son alpha,
   et le halo rose de la marque derriere elle. */
.gv-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
  display: flex;
  justify-content: center;
}

.gv-visual::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(221, 75, 149, .28), rgba(221, 75, 149, 0) 68%);
  filter: blur(34px);
  z-index: -1;
  pointer-events: none;
}

.gv-visual img {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .46));
}

/* Le halo du visuel deborde du cadre: il ne doit pas elargir la page. */
.gv-hero { overflow-x: clip; }


/* ---------- Participer en schema ----------
   Trois etapes reliees par des fleches dessinees: rejoindre, poster, la
   peluche au bout. Les visuels sont detoures, sans cadre. */
.gv-map {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr) 90px minmax(0, 1fr);
  align-items: start;
  margin: 0;
  padding: 0;
}
.gv-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gv-visual-sm {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 170px;
  margin-bottom: 20px;
}
.gv-visual-sm::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 170px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 75, 149, .2), transparent 68%);
  z-index: -1;
}
.gv-stop--prize .gv-visual-sm::before { background: radial-gradient(circle, rgba(221, 75, 149, .34), transparent 70%); }
.gv-visual-sm > img {
  width: auto;
  height: 140px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .45));
}
.gv-stop--prize .gv-visual-sm > img { height: 170px; }
.gv-icon { position: relative; display: block; width: 116px; margin-bottom: 12px; }
.gv-icon img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 28px rgba(221, 75, 149, .35)); }
.gv-badge {
  position: absolute;
  right: -10px;
  bottom: -10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dop-primary);
  color: #fff;
  box-shadow: 0 0 0 4px var(--dop-bg);
}
.gv-badge svg { width: 22px; height: 22px; }
.gv-stop b {
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: var(--dop-tracking-tight);
}
.gv-stop > span {
  margin-top: 6px;
  max-width: 240px;
  color: var(--dop-ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.gv-link { display: flex; justify-content: center; padding-top: 66px; color: var(--dop-ink-3); }
.gv-arrow { width: 64px; height: 30px; }

/* ---------- Le parrainage en schema ----------
   Toi, ton lien, puis cinq amis qui valent +1 chacun; la sixieme place
   reste vide et vaut +0: le plafond se lit sans phrase. */
.gv-refs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.gv-you { margin: 0; text-align: center; }
.gv-you img,
.gv-friends img,
.gv-pool img {
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  object-fit: cover;
}
.gv-you img { width: 104px; height: 104px; box-shadow: 0 0 0 4px var(--dop-primary); }
.gv-you figcaption,
.gv-invite span,
.gv-draw-note {
  color: var(--dop-ink-2);
  font-family: var(--dop-font-hand);
  font-weight: 700;
  font-size: 22px;
}
/* Une seule note manuscrite par section: "your link". "you" reste en DM Sans. */
.gv-you figcaption {
  margin-top: 10px;
  font-family: var(--dop-font-body, inherit);
  font-size: 12px;
  letter-spacing: var(--dop-tracking-eyebrow);
  text-transform: uppercase;
}
.gv-invite { display: flex; flex-direction: column; align-items: center; color: var(--dop-ink-3); }
.gv-invite span { transform: rotate(-3deg); }
.gv-friends {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.gv-friends li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gv-friends img { width: 66px; height: 66px; }
.gv-friends b {
  color: var(--dop-primary);
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: 18px;
}
.gv-friend-cap span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px dashed var(--dop-ink-3);
  color: var(--dop-ink-3);
  font-size: 13px;
  font-weight: 700;
}
.gv-friends .gv-friend-cap b { color: var(--dop-ink-3); }

/* ---------- Le tirage en schema ----------
   Les participations en gris, une seule en couleur, entouree a la main. */
.gv-draw-split { align-items: center; }
.gv-draw { text-align: center; }
.gv-pool {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 76px);
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.gv-pool li { position: relative; }
.gv-pool img { width: 76px; height: 76px; filter: grayscale(1) brightness(.55); }
.gv-winner img { filter: none; }
.gv-ring {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  color: var(--dop-primary);
  transform: rotate(-8deg);
}
.gv-draw-note { margin: 24px 0 0; transform: rotate(-3deg); }

/* ---------- Telephone ----------
   Les etapes s'empilent, visuel a gauche, fleches a la verticale. */
@media (max-width: 860px) {
  .gv-map { grid-template-columns: minmax(0, 1fr); }
  .gv-stop {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
    text-align: left;
  }
  .gv-visual-sm { grid-row: 1 / span 2; height: 112px; margin: 0; }
  .gv-visual-sm::before { width: 112px; }
  .gv-visual-sm > img,
  .gv-stop--prize .gv-visual-sm > img { height: 96px; }
  .gv-icon { width: 78px; margin-bottom: 8px; }
  .gv-badge { width: 32px; height: 32px; right: -8px; bottom: -8px; box-shadow: 0 0 0 3px var(--dop-bg); }
  .gv-badge svg { width: 17px; height: 17px; }
  .gv-stop b { align-self: end; }
  .gv-stop > span { align-self: start; max-width: none; }
  .gv-link { width: 104px; padding: 10px 0; }
  .gv-link .gv-arrow { width: 44px; height: 22px; transform: rotate(90deg); }

  .gv-invite .gv-arrow { transform: rotate(90deg); }
  .gv-refs { flex-direction: column; }
  .gv-friends { justify-content: center; max-width: 300px; }
  .gv-friends img, .gv-friend-cap span { width: 58px; height: 58px; }
}

/* L'etape "poster un message" porte une illustration verticale: elle
   prend toute la hauteur de la zone visuelle. */
.gv-visual-sm--tall > img { height: 170px; }
.gv-cta-illus { margin: 0 auto 24px; }
.gv-cta-illus img { display: block; margin-inline: auto; }
.gv-cta-illus.pg-cutout img { max-height: 240px; }
@media (max-width: 860px) {
  .gv-visual-sm--tall > img { height: 108px; }
  .gv-cta-illus.pg-cutout img { max-height: 190px; }
}
