/* â”€â”€â”€ UTILITIES â”€â”€â”€ */
.grad {
  color: var(--dop-primary);
}

/* â”€â”€â”€ HERO â”€â”€â”€ */
.hero { padding: 88px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(56px, 7vw, 104px); align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6.2vw, 70px); font-weight: 900; line-height: 1.02;
  margin: 22px 0 0;
}

.hero p.lead {
  font-size: 18px; color: var(--dop-text-muted); line-height: 1.7;
  margin: 20px 0 0; max-width: 540px;
}

.hero-visual { position: relative; height: 580px; display: flex; align-items: center; justify-content: center; }
.hero-glow {
  position: absolute; width: 440px; height: 440px; max-width: 90%; border-radius: 50%;
  background: radial-gradient(circle, rgba(221,75,149,0.30), rgba(221,75,149,0.06) 55%, transparent 70%);
  filter: blur(14px); z-index: 1;
}

/* â”€â”€â”€ SECTION HEADING â”€â”€â”€ */
.sec-head { text-align: left; max-width: 820px; margin: 0 0 68px; }
.sec-head h2 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 900; line-height: 1.05; margin: 0; }
.sec-head p { color: var(--dop-text-muted); margin: 18px 0 0; font-size: 17px; max-width: 640px; }

/* ---------- WHY ADHD ----------
   Le texte porte la section, Dopa la commente. La mascotte passe donc
   sous le texte en dessous de 900px plutot que de se serrer a cote. */
.why-adhd {
  display: grid;
  grid-template-columns: 1fr minmax(0, 300px);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

.why-adhd-copy { max-width: 620px; }
.why-adhd-copy .eyebrow { margin-bottom: 18px; }
.why-adhd-copy h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; line-height: 1.06; margin: 0; }
.why-adhd-copy p { color: var(--dop-text-muted); font-size: var(--dop-fs-lead); line-height: var(--dop-lh-normal); margin: 20px 0 0; }
.why-adhd-copy .btn { margin-top: 28px; }

.why-adhd-visual { margin: 0; }

.why-adhd-visual img {
  width: 100%;
  height: auto;
  filter: var(--dop-glow-mascot);
  animation: dop-bob 6.2s ease-in-out infinite;
}

.why-adhd-visual figcaption {
  margin-top: 20px;
  text-align: center;
  color: var(--dop-ink-3);
  font-size: var(--dop-fs-sm);
  font-style: italic;
}

@media (max-width: 900px) {
  .why-adhd { grid-template-columns: 1fr; gap: 40px; }
  .why-adhd-visual { max-width: 240px; margin: 0 auto; }
}

/* â”€â”€â”€ SCREEN TOUR â”€â”€â”€ */

/* â”€â”€â”€ FREE TOOLS / COMPARISONS â”€â”€â”€ */

.tools-inner { max-width: 1360px; margin: 0 auto; }

.tool-card {
  display: flex; flex-direction: column; gap: 14px; min-height: 220px;
  background: var(--dop-card); border: 1px solid var(--dop-border-soft); border-radius: var(--dop-radius-md);
  padding: 24px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tool-card:hover { transform: translateY(-3px); border-color: rgba(221,75,149,0.4); box-shadow: 0 14px 30px rgba(0,0,0,0.2); }
.tool-card strong { font-family: var(--dop-font-display); font-size: 17px; font-weight: 800; line-height: 1.25; }
.tool-card p { color: var(--dop-text-muted); font-size: 14px; line-height: 1.65; margin: 0; }
.tool-card span { margin-top: auto; color: var(--dop-secondary); font-size: 13px; font-weight: 800; }
.comparison-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* JS-rendered testimonial cards */
.testimonials-grid { columns: 3; column-gap: 18px; }

.testimonials-note { margin-top: 20px; font-size: 13px; color: var(--dop-text-muted); }

/* Eyebrow badge — partagé beta page + homepage */

/* â”€â”€â”€ FAQ â”€â”€â”€ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--dop-border-soft); padding: 6px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--dop-font-display); font-weight: 800; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--dop-primary-soft); border: 1px solid rgba(221,75,149,0.24);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--dop-primary); transition: transform var(--dop-dur);
  font-weight: 400;
}
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 4px 24px; color: var(--dop-text-muted); font-size: 15.5px; line-height: 1.7; max-width: 640px; }
.faq-foot { text-align: center; margin-top: 40px; color: var(--dop-text-muted); font-size: 15px; }
.faq-foot a { color: var(--dop-primary); font-weight: 700; }

/* â”€â”€â”€ FINALE CTA â”€â”€â”€ */
.finale { text-align: center; padding: 120px 0 70px; overflow: hidden; }
.finale .mascot { width: 160px; height: auto; margin: 0 auto 18px; filter: var(--dop-glow-mascot); animation: dop-bob 5.4s ease-in-out infinite; }
.finale .wm {
  font-family: var(--dop-font-display); font-weight: 900;
  font-size: clamp(64px, 16vw, 220px); line-height: 0.86; letter-spacing: -0.05em;
  margin: 0;
}
.finale .sub { color: var(--dop-text-muted); font-size: 18px; margin: 26px 0 32px; }

/* â”€â”€â”€ ANIMATIONS â”€â”€â”€ */

@keyframes dop-bob { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-7px) rotate(1deg)} }

@keyframes scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* â”€â”€â”€ RESPONSIVE â”€â”€â”€ */
@media(max-width:920px) {
  .hero { padding: 60px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  /* Le conteneur etait bloque a 420px alors que la scene en fait 650:
     centree, elle debordait de 115px et recouvrait les stats. */
  .hero-visual { height: auto; margin-top: 24px; }

  .hero p.lead { margin-left: auto; margin-right: auto; }

  .tcols, .testimonials-grid { columns: 1; }

  .comparison-links { grid-template-columns: 1fr; }

  .sec-head { margin-bottom: 52px; }

  }
@media(max-width:560px) {

  .finale .wm { font-size: clamp(48px, 16vw, 220px); }

}

/* =============================================================
   DIRECTION ARTISTIQUE "CARROUSEL"
   La home se lit comme une planche de carrousel: pas de fonds de
   cartes, une hierarchie a l'encre, des sections separees par un
   filet et du blanc, un geste trace par section.
   ============================================================= */

/* ---------- Fin des cartes ----------
   Les contenus deviennent des blocs de texte. Restent encadres:
   le cadre du telephone, les boutons de store, les vignettes du film. */
.card,
.tool-card,
.more-row,
.faq details {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tool-card {
  padding: 26px 0;
  border-top: 1px solid var(--dop-rule);
  border-radius: 0;
}

.tool-card strong {
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: var(--dop-tracking-tight);
}

.tool-card p { color: var(--dop-ink-2); }
.tool-card span { color: var(--dop-primary); font-weight: 700; }

/* ---------- Motif d'une section ----------
   eyebrow -> titre Sora -> corps -> une capture. Trois niveaux, pas plus. */
.eyebrow {
  font-family: var(--dop-font-body);
  font-weight: 700;
  font-size: var(--dop-fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--dop-tracking-eyebrow);
  color: var(--dop-ink-3);
  margin-bottom: 18px;
}

.sec-head { max-width: 860px; margin: 0 0 64px; }

.sec-head h2 {
  font-size: var(--dop-fs-section);
  font-weight: 800;
  line-height: var(--dop-lh-snug);
  letter-spacing: var(--dop-tracking-section);
}

.sec-head p {
  margin: 22px 0 0;
  max-width: 660px;
  font-size: var(--dop-fs-lead);
  line-height: var(--dop-lh-normal);
  color: var(--dop-ink-2);
}

.hero h1 {
  font-size: var(--dop-fs-hero);
  font-weight: 800;
  line-height: var(--dop-lh-tight);
  letter-spacing: var(--dop-tracking-hero);
}

.hero p.lead {
  font-size: var(--dop-fs-lead);
  line-height: var(--dop-lh-normal);
  color: var(--dop-ink-2);
}

/* Souligne trace a la main sous le mot cle du titre principal.
   Un seul par page: c'est le geste du hero. SVG, jamais une bordure. */
.hero h1 .grad {
  position: relative;
  display: inline-block;
}

.hero h1 .grad::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .085em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C58 4.2 132 3.1 297 6.4' stroke='%23dd4b95' stroke-width='7' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ---------- Captures ----------
   Une par section, legerement inclinee, cadre fin. */
.slide { position: relative; }

/* ---------- Communaute ----------
   Le visuel est incruste dans le sol par un fondu, pas pose dans un cadre. */

/* ---------- Le dessin anime ----------
   Meme mecanique que le marquee du tour de l'app: les frames sont
   dupliquees et la piste translate d'une demi-longueur, ce qui boucle
   sans saut. Les frames sont des captures video, servies a leur taille
   native pour rester nettes. */
.cartoon-marquee {
  overflow: hidden;
  margin-top: 56px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.cartoon-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 4px 0;
  animation: cartoon-scroll 46s linear infinite;
}

.cartoon-marquee:hover .cartoon-track { animation-play-state: paused; }

@keyframes cartoon-scroll { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- Sortie vers Instagram ----------
   Le defile montre les planches, ce bloc dit ou voir les films. */
.cartoon-cta {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.cartoon-cta p {
  max-width: 52ch;
  margin: 0;
  color: var(--dop-ink-2);
  font-size: var(--dop-fs-body-lg);
  line-height: var(--dop-lh-normal);
}

.cartoon-ig { display: inline-flex; align-items: center; gap: 10px; }
.cartoon-ig svg { flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .cartoon-track { animation: none; }
  .cartoon-marquee { overflow-x: auto; }
}

.cartoon-frame { flex: 0 0 auto; margin: 0; }

.cartoon-frame img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--dop-border-strong);
}

@media (max-width: 920px) {
  .cartoon-frame img { width: 150px; height: 225px; }
}

/* ---------- Cadre du telephone du hero ---------- */

@media (max-width: 920px) {

  .cartoon-frame img { width: 150px; height: 225px; }
}

/* Traitement capture: cadre fin et legere inclinaison. */

/* Le lien "See all features" du chapeau de section. */
.sec-head p a { color: var(--dop-primary); font-weight: 700; }

/* Sur les slides alternees, la colonne etroite doit passer a gauche
   avec la capture, sinon le texte se retrouve comprime sur 300px. */

/* Les captures vont du portrait 0,46 au paysage 2,46: un cadre de taille
   fixe les deformait. Le cadre passe donc sur l'image elle-meme, qui
   garde ses proportions, et le conteneur redevient transparent. */

/* Les elements de grille doivent pouvoir retrecir sous la taille de leur
   contenu, sinon une image large elargit toute la page. */
.hero-grid > *,
.slide-body > *,
.bento .card > * { min-width: 0; }

.hero-visual { min-width: 0; width: 100%; }

/* ---------- Les scenes de Dopa ----------
   Toutes les sources sont carrees, donc la grille tombe juste sans
   recadrage et les legendes s'alignent d'une vignette a l'autre. */

/* Bloc inverse: la scene passe a gauche, le texte a droite. */

/* ---------- Recompenses ----------
   La piste du pass de combat sera reintegree ici avec les vrais paliers. */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(56px, 6vw, 88px);
}

.reward-item { padding: 32px 0 0; border-top: 1px solid var(--dop-rule); }

.rewards-grid h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: var(--dop-tracking-tight);
}

.rewards-grid p {
  margin-top: 14px;
  color: var(--dop-ink-2);
  font-size: var(--dop-fs-body);
  line-height: var(--dop-lh-normal);
}

@media (max-width: 920px) {
  .rewards-grid { grid-template-columns: 1fr; }
}

/* Composites detoures: ils embarquent deja leur mockup et Dopa, donc pas
   de cadre ni de rotation, seulement une ombre qui suit l'alpha. Ils ont
   droit a une colonne plus large que les captures plates. */

/* Sur une slide paire, la capture est a gauche: Dopa passe a droite. */

/* ---------- Le coffre, en trois temps ----------
   Les trois panneaux sont livres en une planche: ils sont decoupes et
   fondus dans le sol de la page, avec un halo rose derriere chacun. */
.chest-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}

.chest-step { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }

.chest-step img {
  position: relative;
  width: min(300px, 100%);
  height: auto;
}

/* Le halo grandit d'une etape a l'autre: le coffre s'ouvre, la lumiere monte. */
.chest-step { position: relative; }

.chest-step::before {
  content: '';
  position: absolute;
  top: 4%;
  left: 50%;
  width: min(300px, 100%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(18px);
  z-index: 0;
}

.chest-step:nth-child(1)::before { background: radial-gradient(circle, rgba(221, 75, 149, .16), transparent 68%); }
.chest-step:nth-child(2)::before { background: radial-gradient(circle, rgba(221, 75, 149, .30), transparent 70%); }
.chest-step:nth-child(3)::before { background: radial-gradient(circle, rgba(240, 187, 84, .28), rgba(221, 75, 149, .16) 45%, transparent 72%); }

.chest-step figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  max-width: 30ch;
}

.chest-step figcaption b {
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: var(--dop-fs-body-lg);
  letter-spacing: var(--dop-tracking-tight);
}

.chest-step figcaption span { color: var(--dop-ink-2); font-size: var(--dop-fs-sm); line-height: var(--dop-lh-normal); }

@media (max-width: 920px) {
  .chest-flow { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- La vitrine de cosmetiques ----------
   Les pastilles sont extraites des captures de la boutique; leurs noms
   sont reposes en HTML, donc lisibles par les moteurs et traduisibles,
   contrairement aux libelles gravés dans la capture d'origine. */
.shop-marquee {
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 76px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.shop-track {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  width: max-content;
  list-style: none;
  /* De la place au-dessus pour le soulevement, et sur les cotes pour
     l'agrandissement, sinon overflow:hidden rogne la pastille. */
  padding: 34px 0 6px;
  margin: 0;
  animation: shop-scroll 58s linear infinite;
}

.shop-marquee:hover .shop-track { animation-play-state: paused; }

@keyframes shop-scroll { to { transform: translateX(calc(-50% - 17px)); } }

@media (prefers-reduced-motion: reduce) {
  .shop-track { animation: none; }
  .shop-marquee { overflow-x: auto; }
}

.cosmetic {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 116px;
}

/* Halo de la rarete derriere la pastille. */
.cosmetic::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tier) 40%, transparent), transparent 70%);
  filter: blur(12px);
}

.cosmetic[data-rarity="epic"]      { --tier: var(--dop-epic); }
.cosmetic[data-rarity="legendary"] { --tier: var(--dop-legendary); }

.cosmetic img {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
}

.cosmetic span {
  position: relative;
  color: var(--dop-ink-2);
  font-size: var(--dop-fs-xs);
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .cosmetic { width: 96px; }
  .cosmetic img { width: 76px; height: 76px; }
  .cosmetic::before { width: 86px; height: 86px; }
}

/* Un echantillon des quatre grades, pour que la carte montre de quoi
   elle parle avant qu'on ait lu la ligne. */

/* ---------- Apercu avatars ----------
   L'avant/apres, puis un echantillon de chaque grade. Le detail vit sur
   /avatars/, la home ne montre que de quoi donner envie d'y aller. */

/* Le panneau d'equipement occupe toute la largeur: il etait coince dans
   l'ancienne grille a deux colonnes, ce qui le decalait a gauche et
   renvoyait la ligne de la mascotte a l'autre bout. */
.home-av {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 3.5vw, 44px);
  margin-top: clamp(36px, 4vw, 56px);
}

.home-av-grades {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-av-grades > p { text-align: center; }

/* Seul le second porte le halo: c'est lui qui montre le resultat. */

.home-av-grades > p {
  color: var(--dop-ink-2);
  font-size: var(--dop-fs-body-lg);
  line-height: var(--dop-lh-normal);
  max-width: 48ch;
}

.home-av-grades .btn { margin-top: 24px; }

@media (max-width: 920px) {
  .home-av { grid-template-columns: 1fr; }
}

/* ---------- Apercu communaute ----------
   Photo a gauche, texte a droite. Le detail vit sur /community/. */
/* ---------- Apercu communaute ----------
   Photo a gauche, texte au centre, un avatar detoure a droite quand la
   place le permet. Le detail vit sur /community/. */
.community-split {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
}

.community-copy .eyebrow { margin-bottom: 18px; }

.community-copy h2 {
  font-size: var(--dop-fs-section);
  font-weight: 800;
  line-height: var(--dop-lh-snug);
  letter-spacing: var(--dop-tracking-section);
}

.community-copy p {
  margin-top: 20px;
  max-width: 48ch;
  color: var(--dop-ink-2);
  font-size: var(--dop-fs-body-lg);
  line-height: var(--dop-lh-normal);
}

.community-copy .btn { margin-top: 28px; }

/* Purement decoratif: masque sous 1200px, ou il comprimerait le texte. */
.community-actor {
  display: none;
  align-self: end;
  width: 210px;
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .45));
}

@media (min-width: 1201px) {
  .community-split { grid-template-columns: minmax(0, 360px) 1fr 210px; }
  .community-actor { display: block; }
}

@media (max-width: 920px) {
  .community-split { grid-template-columns: 1fr; }
  .community-photo { justify-self: center; }
}

/* ---------- L'echelle des raretes ----------
   Quatre cartes du meme objet-recompense, de plus en plus grandes et de
   plus en plus ornees: le commun est nu, le legendaire porte rayons et
   halo. La progression se lit sans avoir a comparer les libelles. */
.rarity-cards {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: end;
  justify-content: start;
  gap: clamp(10px, 1.4vw, 20px);
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.rcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: var(--w);
  padding: var(--pad);
  text-align: center;
  border-radius: var(--dop-radius-lg);
  background:
    radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--tier) var(--glow), transparent), transparent 64%),
    var(--dop-card-2);
  border: 1px solid color-mix(in srgb, var(--tier) var(--edge), transparent);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, .4),
    0 0 var(--bloom) color-mix(in srgb, var(--tier) var(--glow), transparent);
  overflow: hidden;
}

/* Taille, halo et bordure montent d'un grade a l'autre. */
.rcard[data-rarity="common"]    { --tier: var(--dop-common);    --w: 122px; --pad: 12px 10px 13px; --glow: 8%;  --edge: 26%; --bloom: 0px;  --art: 52px; }
.rcard[data-rarity="rare"]      { --tier: var(--dop-rare);      --w: 140px; --pad: 14px 12px 15px; --glow: 16%; --edge: 40%; --bloom: 14px; --art: 62px; }
.rcard[data-rarity="epic"]      { --tier: var(--dop-epic);      --w: 162px; --pad: 16px 14px 17px; --glow: 24%; --edge: 52%; --bloom: 22px; --art: 74px; }
.rcard[data-rarity="legendary"] { --tier: var(--dop-legendary); --w: 190px; --pad: 18px 16px 20px; --glow: 32%; --edge: 66%; --bloom: 32px; --art: 88px; }

/* Les rayons n'apparaissent qu'a partir de l'epique, et tournent
   seulement sur le legendaire. */
.rcard[data-rarity="epic"]::before,
.rcard[data-rarity="legendary"]::before {
  content: '';
  position: absolute;
  top: -34%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translateX(-50%);
  background: conic-gradient(
    from 0deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 0deg 7deg, transparent 7deg 30deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 30deg 37deg, transparent 37deg 60deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 60deg 67deg, transparent 67deg 90deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 90deg 97deg, transparent 97deg 120deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 120deg 127deg, transparent 127deg 150deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 150deg 157deg, transparent 157deg 180deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 180deg 187deg, transparent 187deg 210deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 210deg 217deg, transparent 217deg 240deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 240deg 247deg, transparent 247deg 270deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 270deg 277deg, transparent 277deg 300deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 300deg 307deg, transparent 307deg 330deg,
    color-mix(in srgb, var(--tier) 24%, transparent) 330deg 337deg, transparent 337deg 360deg);
  -webkit-mask: radial-gradient(circle, #000 22%, transparent 62%);
          mask: radial-gradient(circle, #000 22%, transparent 62%);
}

.rcard[data-rarity="legendary"]::before { animation: rcard-rays 26s linear infinite; }

@keyframes rcard-rays { to { transform: translateX(-50%) rotate(360deg); } }

.rcard-kicker {
  position: relative;
  font-family: var(--dop-font-body);
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--dop-ink-3);
  min-height: 12px;
}

.rcard-art { position: relative; display: block; }

.rcard-art img {
  width: var(--art);
  height: var(--art);
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--tier) 55%, transparent);
  transition: transform var(--dop-dur) var(--dop-ease-out);
}

.rcard:hover .rcard-art img { transform: scale(1.12); }

.rcard-name {
  position: relative;
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: var(--dop-fs-sm);
  letter-spacing: var(--dop-tracking-tight);
  color: var(--dop-ink-1);
  line-height: 1.2;
}

.rcard-badge {
  position: relative;
  margin-top: 2px;
  padding: 3px 11px;
  border-radius: var(--dop-radius-pill);
  background: var(--tier);
  color: #14121c;
  font-family: var(--dop-font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .rcard[data-rarity="legendary"]::before { animation: none; }
  .rcard:hover .rcard-art img { transform: none; }
}

@media (max-width: 1100px) {
  .rarity-cards { grid-template-columns: repeat(4, 1fr); justify-content: stretch; }
  .rcard { width: 100%; }
}

@media (max-width: 620px) {
  .rarity-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Effet dock ----------
   Au survol, la pastille se souleve et ses voisines suivent, de moins en
   moins: le meme principe que le dock de macOS. L'intensite passe par
   --lift, ce qui evite de dupliquer les transformations. */
.cosmetic { --lift: 0; }

.cosmetic:hover { --lift: 1; }

.cosmetic:hover + .cosmetic,
.cosmetic:has(+ .cosmetic:hover) { --lift: .5; }

.cosmetic:hover + .cosmetic + .cosmetic,
.cosmetic:has(+ .cosmetic + .cosmetic:hover) { --lift: .22; }

.cosmetic img {
  transform: translateY(calc(-16px * var(--lift))) scale(calc(1 + .34 * var(--lift)));
  transition: transform .28s var(--dop-ease-out), border-color var(--dop-dur);
}

.cosmetic::before {
  transform: translateX(-50%) scale(calc(1 + .34 * var(--lift)));
  opacity: calc(.55 + .45 * var(--lift));
  transition: transform .28s var(--dop-ease-out), opacity .28s;
}

.cosmetic span {
  transform: translateY(calc(-6px * var(--lift)));
  color: color-mix(in srgb, var(--dop-ink-1) calc(var(--lift) * 100%), var(--dop-ink-2));
  transition: transform .28s var(--dop-ease-out), color var(--dop-dur);
}

.cosmetic:hover img { border-color: color-mix(in srgb, var(--tier) 80%, transparent); }

/* Les deux raretes qui manquaient a la vitrine. */
.cosmetic[data-rarity="common"] { --tier: var(--dop-common); }
.cosmetic[data-rarity="rare"]   { --tier: var(--dop-rare); }

@media (prefers-reduced-motion: reduce) {
  .cosmetic img,
  .cosmetic::before,
  .cosmetic span { transform: none; }
}

/* Un halo equivalent derriere le trio de la section communaute. */
.community-photo { position: relative; }

.community-photo::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, .12), transparent 66%);
  filter: blur(38px);
  z-index: 0;
  pointer-events: none;
}

.community-photo > * { position: relative; z-index: 1; }

/* Meme chose derriere le texte de la section communaute. */
.community-copy { position: relative; }

.community-copy::before {
  content: '';
  position: absolute;
  left: -6%;
  top: 50%;
  width: 92%;
  aspect-ratio: 1.6;
  transform: translateY(-50%);
  background: radial-gradient(ellipse, rgba(221, 75, 149, .07), transparent 70%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}

.community-copy > * { position: relative; z-index: 1; }

/* Le grade sous chaque pastille, dans sa couleur. */

/* ---------- Slides en mobile ----------
   La regle a deux colonnes s'appliquait encore sous 920px: la colonne du
   visuel tombait a 42px et le mockup avec elle. Les slides repassent en
   une colonne, et le groupe avatar/telephone se contente de la hauteur
   disponible. */

/* ---------- Panneau d'equipement ----------
   Une fiche de personnage: l'avatar au centre et les pieces equipees
   dans des emplacements de chaque cote. La rarete colore la bordure et le halo de chaque emplacement. */
.loadout {
  display: grid;
  width: 100%;
  max-width: 900px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  margin-top: clamp(28px, 3.5vw, 44px);
}

.slot-column {
  display: grid;
  gap: clamp(10px, 1.4vw, 16px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.slot[data-rarity="common"]    { --tier: var(--dop-common); }
.slot[data-rarity="rare"]      { --tier: var(--dop-rare); }
.slot[data-rarity="epic"]      { --tier: var(--dop-epic); }
.slot[data-rarity="legendary"] { --tier: var(--dop-legendary); }

/* La case elle-meme: fond sobre, bordure de la rarete. */

.slot-name {
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  color: var(--dop-ink-3);
  max-width: 9ch;
}

/* Le centre: l'avatar en grand. */
.loadout-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 20px);
}

.loadout-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 118%;
  aspect-ratio: 1.1;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(221, 75, 149, .16), rgba(141, 103, 251, .08) 48%, transparent 72%);
  filter: blur(30px);
  z-index: 0;
}

.loadout-hero {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loadout-hero { width: clamp(150px, 16vw, 215px); }

.loadout-hero figcaption {
  text-align: center;
  color: var(--dop-ink-3);
  font-size: var(--dop-fs-xs);
}

@media (prefers-reduced-motion: reduce) {
  .slot:hover img { transform: none; }
}

@media (max-width: 620px) {
  .loadout { grid-template-columns: auto 1fr auto; gap: 8px; }
  .slot-name { display: none; }
  .loadout-stage { flex-direction: column; align-items: center; }
}

/* Chaque colonne d'emplacements dit a qui elle appartient. */
.slot-side { display: flex; flex-direction: column; gap: 14px; align-items: center; }

.slot-side-label {
  font-family: var(--dop-font-body);
  font-weight: 700;
  font-size: var(--dop-fs-3xs);
  text-transform: uppercase;
  letter-spacing: var(--dop-tracking-eyebrow);
  color: var(--dop-ink-3);
}

/* ---------- Cases cycliques ----------
   Chaque emplacement montre un type de piece et fait defiler quatre
   exemples, une toutes les deux secondes. Les images sont superposees et
   se relaient en opacite: aucun JavaScript, et la hauteur ne bouge pas. */
.slot-frames,
.cycle-frames {
  position: relative;
  display: block;
}

.slot-frames { width: clamp(52px, 5.4vw, 68px); height: clamp(52px, 5.4vw, 68px); }

.slot-frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border-radius: var(--dop-radius-md);
  background: var(--dop-card-2);
  border: 2px solid var(--tier);
  box-shadow: 0 0 16px color-mix(in srgb, var(--tier) 30%, transparent);
  animation: slot-cycle 8s infinite;
}

/* La bordure suit la rarete de l'image affichee. */
.slot-frames img[data-rarity="common"]    { --tier: color-mix(in srgb, var(--dop-common) 52%, transparent); }
.slot-frames img[data-rarity="rare"]      { --tier: color-mix(in srgb, var(--dop-rare) 52%, transparent); }
.slot-frames img[data-rarity="epic"]      { --tier: color-mix(in srgb, var(--dop-epic) 52%, transparent); }
.slot-frames img[data-rarity="legendary"] { --tier: color-mix(in srgb, var(--dop-legendary) 52%, transparent); }

.slot-frames img:nth-child(1) { animation-delay: 0s; }
.slot-frames img:nth-child(2) { animation-delay: 2s; }
.slot-frames img:nth-child(3) { animation-delay: 4s; }
.slot-frames img:nth-child(4) { animation-delay: 6s; }

/* Visible deux secondes, puis fondu vers la suivante. */
@keyframes slot-cycle {
  0%, 22%  { opacity: 1; transform: scale(1); }
  27%      { opacity: 0; transform: scale(.94); }
  94%      { opacity: 0; transform: scale(.94); }
  100%     { opacity: 1; transform: scale(1); }
}

/* Chaque colonne demarre a un moment different: le panneau ne clignote
   pas d'un bloc, il respire. */
.slot-column .slot--cycle:nth-child(2) .slot-frames img { animation-duration: 8s; animation-delay: calc(var(--i, 0) * 2s + .6s); }
.slot-column .slot--cycle:nth-child(3) .slot-frames img { animation-delay: calc(var(--i, 0) * 2s + 1.2s); }
.slot-column .slot--cycle:nth-child(2) .slot-frames img:nth-child(2) { --i: 1; }
.slot-column .slot--cycle:nth-child(2) .slot-frames img:nth-child(3) { --i: 2; }
.slot-column .slot--cycle:nth-child(2) .slot-frames img:nth-child(4) { --i: 3; }
.slot-column .slot--cycle:nth-child(3) .slot-frames img:nth-child(2) { --i: 1; }
.slot-column .slot--cycle:nth-child(3) .slot-frames img:nth-child(3) { --i: 2; }
.slot-column .slot--cycle:nth-child(3) .slot-frames img:nth-child(4) { --i: 3; }

/* Le personnage change au rythme des emplacements. */
.cycle-frames { width: 100%; }

.loadout-hero .cycle-frames { height: clamp(250px, 27vw, 390px); }

.cycle-frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  opacity: 0;
  animation: figure-cycle 8s infinite;
}

.loadout-hero .cycle-frames img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }

.cycle-frames img:nth-child(1) { animation-delay: 0s; }
.cycle-frames img:nth-child(2) { animation-delay: 2s; }
.cycle-frames img:nth-child(3) { animation-delay: 4s; }
.cycle-frames img:nth-child(4) { animation-delay: 6s; }

@keyframes figure-cycle {
  0%, 22% { opacity: 1; }
  27%     { opacity: 0; }
  94%     { opacity: 0; }
  100%    { opacity: 1; }
}

/* Sans mouvement, on montre simplement la premiere piece de chaque type. */
@media (prefers-reduced-motion: reduce) {
  .slot-frames img,
  .cycle-frames img { animation: none; opacity: 0; transform: none; }
  .slot-frames img:nth-child(1),
  .cycle-frames img:nth-child(1) { opacity: 1; }
}

/* Le CTA respire davantage quand il ferme une section entiere. */

/* ---------- HERO: le tirage "join everyone online" ----------
   La soiree sur le serveur, en tirage penche (plaza-photo de chrome.css),
   un peu plus grand que dans le reste du site. */
.hero-visual.hero-group {
  height: auto;
  width: min(520px, 100%);
  margin-inline: auto;
}
.hero-group .hero-glow { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-plaza { position: relative; z-index: 2; display: block; max-width: none; width: 100%; }

/* La photo de groupe detouree, dans la section communaute. */
.community-club {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .5));
}
/* La porte ouverte du bouton est en portrait: plus etroite que l'ancien duo. */
.hero .btn-discord-duo { width: 118px; bottom: 6px; }
@media (max-width: 560px) { .hero .btn-discord-duo { width: 96px; } }

@media (max-width: 920px) {
  /* Sur telephone le cadre colle aux personnages: plus de vide au-dessus. */
  .hero-visual.hero-group { width: min(420px, 94%); margin-top: 8px; }
  .hero .discord-cta { justify-content: center; }
}

/* ---------- MISSION: LE SCHEMA ----------
   Trois temps relies par une fleche tracee a la main: Dopa deborde (pour
   qui), le club au centre de ses outils (ce qu'on construit), Dopa qui
   celebre (ou l'on va). Le centre est une orbite: le club, et autour de
   lui le cartoon, les outils et l'app. Pas de cartes, pas de cadres. */
.mission-map {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.25fr) 90px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}
.mission-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mission-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: 280px;
  margin-bottom: 18px;
}
.mission-visual > img {
  width: auto;
  height: 150px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}
.mission-stage b {
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: var(--dop-tracking-tight);
}
.mission-stage span {
  margin-top: 8px;
  max-width: 300px;
  color: var(--dop-ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.mission-link {
  display: flex;
  justify-content: center;
  padding-top: 122px;
  color: var(--dop-ink-3);
}
.mission-arrow { width: 84px; height: 38px; }

/* L'orbite: un anneau en pointilles, le club au centre, trois satellites. */
.orbit {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 1;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, .28);
}
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  width: 46%;
  text-align: center;
}
.orbit-core img {
  width: 72%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(221, 75, 149, .45));
}
.orbit-core span {
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: var(--dop-tracking-tight);
}
.orbit-nodes { list-style: none; margin: 0; padding: 0; }
/* Chaque satellite est pose sur l'anneau (rayon 39% du cadre): un point
   rose sur l'anneau, le libelle juste a cote. */
.orbit-node {
  position: absolute;
  transform: translate(-50%, -50%);
}
.orbit-node::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--dop-primary);
  box-shadow: 0 0 0 4px var(--dop-bg), 0 0 16px rgba(221, 75, 149, .6);
}
.orbit-node a {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 8px);
  display: block;
  padding: 10px 6px;
  white-space: nowrap;
  color: var(--dop-ink-1);
  font-size: 14px;
  font-weight: 700;
}
.orbit-node a:hover { color: var(--dop-primary); }
.orbit-node--top { left: 50%; top: 11%; }
.orbit-node--top a { transform: translate(-50%, calc(-100% - 8px)); }
.orbit-node--left { left: 16.2%; top: 69.5%; }
.orbit-node--right { left: 83.8%; top: 69.5%; }

@media (max-width: 920px) {
  .mission-map { grid-template-columns: 1fr; gap: 4px; }
  .mission-visual { height: auto; min-height: 0; margin-bottom: 14px; }
  .mission-visual > img { height: 120px; }
  .mission-link { padding-top: 6px; padding-bottom: 6px; }
  .mission-arrow { width: 60px; height: 28px; transform: rotate(90deg); }
  .mission-stage--hub .mission-visual { padding-block: 34px 26px; }
  .orbit { width: min(260px, 78vw); }
}

.mission-more { margin: clamp(36px, 4vw, 52px) 0 0; font-size: 17px; text-align: center; }
.mission-more a { display: inline-block; padding-block: 10px; color: var(--dop-primary); font-weight: 700; }

/* ---------- DISCORD: captures du serveur ----------
   Texte et capture en alternance, separes par un filet. Les captures
   suivent la regle des screenshots: -1.4deg, rayon 30px, bord blanc 12%. */
.dc-rows { border-top: 1px solid var(--dop-rule); }
.dc-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--dop-rule);
}
.dc-row--rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.dc-row--rev .dc-copy { order: 2; }
.dc-copy h3,
.dc-join-copy h3 {
  margin: 0;
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: var(--dop-lh-snug);
  letter-spacing: var(--dop-tracking-tight);
}
.dc-copy p,
.dc-join-copy p {
  margin: 14px 0 0;
  max-width: 440px;
  color: var(--dop-ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.dc-shot { position: relative; margin: 0; }
.dc-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  transform: rotate(-1.4deg);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .45);
}

/* Les captures glissees dans un telephone sont des detourages qui portent
   deja leur mockup: pas de cadre, une ombre qui suit l'alpha. */
.dc-phone { position: relative; margin: 0; text-align: center; }
.dc-phone img {
  width: min(100%, 400px);
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .5));
}

/* Annotation manuscrite: la seule de la section. Elle se pose dans le
   vide sous Dopa, a droite du telephone, et sa fleche vise l'ecran. La
   figure epouse l'image: les positions en % restent justes a toutes les
   tailles, et la note ne sort jamais du cadre. */
.dc-shot--noted { justify-self: center; width: min(100%, 400px); }
.dc-shot--noted img { width: 100%; }
.dc-note {
  position: absolute;
  left: 66%;
  top: 66%;
  margin: 0;
  color: var(--dop-ink-2);
  font-family: var(--dop-font-hand);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  text-align: left;
  transform: rotate(-4deg);
}
.dc-note svg {
  display: block;
  width: 46px;
  height: 34px;
  margin-left: -26px;
  color: var(--dop-ink-3);
}

/* Les evenements restent a la taille d'un ecran de telephone: au-dela,
   la capture perd en nettete. */
.dc-shot--events { width: min(100%, 420px); justify-self: center; }

.dc-join {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
}
.dc-card { flex: 0 0 auto; width: min(420px, 45%); }

@media (max-width: 920px) {
  .dc-row,
  .dc-row--rev { grid-template-columns: 1fr; gap: 28px; }
  .dc-row--rev .dc-copy { order: 0; }
  .dc-shot--noted { width: min(100%, 320px); }
  .dc-note { font-size: 18px; }
  .dc-note svg { width: 38px; height: 28px; margin-left: -21px; }
  /* Plus petits sur telephone: les ecrans viennent de captures, ils
     perdent en nettete des qu'on les agrandit. */
  .dc-phone img { width: min(100%, 320px); }
  .dc-join { flex-direction: column; align-items: flex-start; }
  .dc-card { width: min(320px, 100%); }
  .dc-shot--events { width: min(100%, 320px); }
}

/* Micro-libelles du vestiaire: jamais sous 12px, sinon illisibles sur telephone. */
.slot-side-label,
.rcard-badge,
.rcard-kicker { font-size: 12px; }

/* ---------- REJOINDRE: PETIT BANDEAU ----------
   Une ligne entre le hero et la mission: trois mini-visuels, trois
   libelles, une fleche tracee a la main entre chaque etape. */
.join-flow { padding-block: clamp(20px, 3vw, 30px); }
.join-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
}
.join-label { margin: 0; }
.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}
.join-step {
  display: flex;
  align-items: center;
  gap: 12px;
}
.join-step img {
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}
/* La miniature du simulateur est une capture: cadre et inclinaison des
   screenshots, en tout petit. */
.join-step .join-shot {
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  transform: rotate(-1.4deg);
  filter: none;
}
.join-step b {
  font-family: var(--dop-font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: var(--dop-tracking-tight);
  white-space: nowrap;
}
.join-step a { color: var(--dop-primary); padding-block: 12px; }
.join-arrow-cell { display: flex; color: var(--dop-ink-3); }
.join-arrow { width: 44px; height: 18px; }
/* Une ligne sous les etapes pour le concours de la peluche. */
.join-giveaway {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin: 14px auto 0;
  color: var(--dop-ink-2);
  font-size: 14px;
  text-align: center;
}
.join-giveaway img {
  width: auto;
  height: 34px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.join-giveaway a { color: var(--dop-primary); font-weight: 700; padding-block: 12px; }

@media (max-width: 920px) {
  .join-banner { flex-direction: column; gap: 14px; }
  .join-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 6px; width: 100%; }
  .join-step { flex-direction: column; gap: 6px; text-align: center; }
  .join-step img { height: 44px; }
  .join-step .join-shot { height: 42px; }
  .join-step b { font-size: 13px; white-space: normal; }
  .join-step a { padding-block: 0; }
  .join-arrow { width: 26px; height: 12px; }
}

/* ---------- Defiles sur ecran tactile ----------
   Sans survol, impossible de mettre un defile en pause: sur telephone il
   devient une bande qu'on fait glisser au doigt, calee image par image.
   Les doublons ne servaient qu'a la boucle automatique. */
@media (hover: none) and (pointer: coarse) {
  .cartoon-marquee,
  .shop-marquee {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask: none;
            mask: none;
  }
  .cartoon-marquee::-webkit-scrollbar,
  .shop-marquee::-webkit-scrollbar { display: none; }
  .cartoon-track,
  .shop-track { animation: none; padding-inline: 20px; }
  .cartoon-frame[aria-hidden="true"],
  .shop-track .cosmetic[aria-hidden="true"] { display: none; }
  .cartoon-frame,
  .shop-track .cosmetic { scroll-snap-align: start; scroll-margin-inline-start: 20px; }
}
