/* =========================================================
   TRIP'SWIPE – Page d'accueil (sections interactives)
   ========================================================= */

/* ---------- Éléments communs aux sections ---------- */
.section-head { margin: 0 0 38px; }
.section-head--center { text-align: center; }
.section-head .display { font-size: clamp(38px, 5.2vw, 68px); }
.kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.section-lead { margin: 16px 0 0; max-width: 560px; font-size: 18px; color: var(--muted); }
.section-head--center .section-lead { margin-inline: auto; }
.hl {
  color: var(--green-700);
  background: linear-gradient(transparent 64%, var(--beige) 64%, var(--beige) 90%, transparent 90%);
  padding: 0 .06em;
}
.steps2, .bento-section, .quiz-section, .pricing { margin-top: 120px; }
main > section.container:has(.ready) { margin-top: 120px; }

/* Apparition des blocs (ne touche pas à « transform », réservé au survol) */
.js-anim .anim-pop {
  opacity: 0;
  translate: 0 46px;
  scale: .96;
  transition: opacity .7s ease, translate 1s var(--ease-out, ease), scale 1s var(--ease-out, ease), transform .45s var(--ease-out, ease), box-shadow .45s;
  transition-delay: calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), 0s, 0s;
}
.js-anim.is-loaded .anim-pop.is-inview { opacity: 1; translate: 0 0; scale: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero2 { padding-top: 8px; }
.hero2__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 36px;
  background: var(--brand-ink);
  min-height: 600px;
}
.hero2__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  scale: 1.06;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}
@keyframes hero-zoom { to { scale: 1.16; translate: -1.5% -1%; } }
.hero2__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 11, 12, .86) 0%, rgba(14, 11, 12, .6) 42%, rgba(14, 11, 12, .2) 72%, rgba(14, 11, 12, .35) 100%),
    linear-gradient(0deg, rgba(14, 11, 12, .55), transparent 45%);
}
.hero2__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: center;
  min-height: 600px;
  padding: 54px 60px 104px;
}
.hero2__copy { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600;
}
.eyebrow__dot, .deck__label-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--beige);
  animation: beige-pulse 2s ease-out infinite;
}
@keyframes beige-pulse {
  0% { box-shadow: 0 0 0 0 rgba(241, 221, 180, .7); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(241, 221, 180, 0); }
}
.hero2__title {
  margin: 0 0 24px;
  font-size: clamp(46px, 6.6vw, 96px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.05em;
}
.hero2__title .line { padding-bottom: .18em; margin-bottom: -.18em; }
.scribble { position: relative; display: inline-block; color: var(--beige); }
.scribble svg {
  position: absolute; left: -2%; bottom: -.04em;
  width: 104%; height: .26em;
  overflow: visible;
}
.scribble path {
  fill: none; stroke: var(--beige); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.2s 1s var(--ease-out, ease);
}
.is-loaded .split.is-inview .scribble path,
html:not(.js-anim) .scribble path { stroke-dashoffset: 0; }
.hero2__lead { max-width: 480px; margin: 0 0 22px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.hero2__rotator {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.rotator {
  display: inline-block;
  color: var(--beige);
  border-bottom: 3px solid rgba(241, 221, 180, .45);
  transition: opacity .3s, transform .35s var(--ease-out, ease);
}
.rotator.is-out { opacity: 0; transform: translateY(-45%); }
.rotator.is-in { opacity: 0; transform: translateY(45%); transition: none; }

/* ---------- Paquet de cartes ---------- */
.deck-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.deck__label {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 11, 12, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; font-weight: 700;
}
.deck {
  position: relative;
  width: min(330px, 100%);
  height: 412px;
  outline: none;
  border-radius: 28px;
}
.deck:focus-visible { box-shadow: 0 0 0 4px var(--beige); }
.tcard {
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transform-origin: 50% 110%;
  user-select: none; -webkit-user-select: none;
  touch-action: none;
  transition: transform .5s var(--ease-out, ease), opacity .5s, filter .5s;
  will-change: transform;
}
.tcard[data-pos="0"] { z-index: 5; cursor: grab; }
.tcard[data-pos="0"].is-dragging { cursor: grabbing; transition: none; }
.tcard[data-pos="1"] { z-index: 4; transform: translateY(18px) scale(.94); filter: brightness(.96); }
.tcard[data-pos="2"] { z-index: 3; transform: translateY(36px) scale(.88); filter: brightness(.9); }
.tcard[data-pos="3"] { z-index: 2; transform: translateY(36px) scale(.88); opacity: 0; }
.tcard.is-entering { transform: translateY(140px) rotate(8deg) scale(.9); opacity: 0; }
.tcard.is-gone { transition: transform .55s cubic-bezier(.3, .2, .2, 1), opacity .55s; opacity: 0; pointer-events: none; }

.tcard__scene { position: relative; height: 59%; overflow: hidden; }
.tcard__scene svg { display: block; width: 100%; height: 100%; }
.tcard__dest {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 13px; font-weight: 800;
}
.tcard__dest svg { width: 16px; height: 16px; color: var(--green-700); }
.tcard__score {
  position: absolute; top: 12px; right: 12px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--beige) calc(var(--score) * 1%), rgba(255, 255, 255, .3) 0);
}
.tcard__score::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--brand-ink); }
.tcard__score span { position: relative; color: #fff; font-size: 13px; font-weight: 800; }
.tcard__body { padding: 16px 18px 18px; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__who strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tcard__who small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.avs { display: flex; flex-shrink: 0; }
.av {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid #fff;
  background: var(--c, var(--green-700));
  color: #fff; font-weight: 800; font-size: 16px;
}
.avs .av + .av { margin-left: -14px; }
.tcard__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.tcard__tags li {
  padding: 5px 11px; border-radius: 999px;
  background: var(--green-100); color: var(--green-800);
  font-size: 12px; font-weight: 700;
}
.tcard__tags li:nth-child(2) { background: var(--beige-100); color: #6b5523; }
.stamp {
  position: absolute; top: 26%; z-index: 2;
  padding: 6px 14px;
  border: 4px solid currentColor; border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase;
  opacity: 0; pointer-events: none;
}
.stamp--yes { left: 18px; color: var(--green-700); rotate: -14deg; opacity: var(--yes, 0); }
.stamp--no { right: 18px; color: var(--brand-ink); rotate: 14deg; opacity: var(--no, 0); }

/* Carte de fin */
.tcard--end {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 30px;
  background: var(--green-700); color: #fff;
  text-align: center;
}
.tcard--end svg { width: 64px; height: 64px; }
.tcard--end strong { font-family: var(--font-display); font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.tcard--end p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px; }
.tcard--end .btn { background: var(--beige); color: var(--brand-ink); border-color: var(--beige); }
.tcard--end .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }

/* Boutons sous le paquet */
.deck__actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.deck__btn {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  border: 0;
  background: #fff; color: var(--brand-ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
  transition: transform .3s var(--ease-bounce, ease), background .2s;
}
.deck__btn svg { width: 26px; height: 26px; }
.deck__btn:hover { transform: scale(1.12); }
.deck__btn:active { transform: scale(.9); }
.deck__btn--yes { width: 72px; height: 72px; color: var(--green-700); }
.deck__btn--yes svg { width: 32px; height: 32px; }
.deck__btn--super { width: 50px; height: 50px; background: var(--brand-ink); color: var(--beige); }
.deck__btn--super svg { width: 22px; height: 22px; }

/* ---------- Barre de recherche ---------- */
.searchbar {
  position: relative; z-index: 6;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  align-items: center;
  width: min(940px, calc(100% - 40px));
  margin: -50px auto 0;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-pop);
}
.searchbar__field {
  position: relative;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background .2s;
}
.searchbar__field:hover, .searchbar__field:focus-within { background: #f6f2ec; }
.searchbar__field + .searchbar__field::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%;
  width: 1px; background: #e7e1d8;
}
.searchbar__label { font-size: 12px; font-weight: 800; color: var(--brand-ink); }
.searchbar input, .searchbar select {
  width: 100%;
  padding: 0;
  border: 0; outline: none;
  background: transparent;
  font: inherit; font-size: 15px; color: var(--muted);
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
}
.searchbar input { cursor: text; }
.seg {
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  align-self: flex-start;
  margin-top: 3px; padding: 3px;
  border-radius: 999px;
  background: #f1ede6;
}
.seg__btn {
  position: relative; z-index: 1;
  padding: 5px 14px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 700;
  transition: color .25s;
}
.seg__btn[aria-pressed="true"] { color: #fff; }
.seg__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--brand-ink);
  transition: transform .4s var(--ease-bounce, ease);
}
.seg.is-right .seg__thumb { transform: translateX(100%); }
.searchbar__go {
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--green-800); color: #fff;
  font-size: 15px; font-weight: 800;
  transition: background .25s, transform .25s;
}
.searchbar__go svg { width: 20px; height: 20px; }
.searchbar__go:hover { background: var(--brand-ink); }
.search-toast {
  min-height: 1.5em;
  margin: 16px 0 0;
  text-align: center;
  color: var(--green-800); font-weight: 700;
}

/* =========================================================
   BANDEAUX CROISÉS
   ========================================================= */
.tapes { position: relative; height: 200px; margin: 50px 0 0; overflow: hidden; }
.tape {
  position: absolute; left: -10%;
  width: 120%;
  padding: 16px 0;
  box-shadow: 0 14px 30px rgba(14, 11, 12, .12);
}
.tape--green { top: 34px; z-index: 2; rotate: -3deg; background: var(--green-700); color: var(--beige); }
.tape--beige { top: 84px; rotate: 2.5deg; background: var(--beige); color: var(--brand-ink); }
.tape__track {
  display: flex; align-items: center; gap: 30px;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  white-space: nowrap;
  will-change: transform;
}
.tape__track i { font-style: normal; font-size: .6em; opacity: .8; }

/* =========================================================
   SWIPER / TRIPER / PARTAGER
   ========================================================= */
.steps2__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 30px;
  border-radius: 30px;
  transition: transform .45s var(--ease-out, ease), box-shadow .45s;
}
.step:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-pop); }
.step--green { background: var(--green-700); color: #fff; }
.step--beige { background: var(--beige); color: var(--brand-ink); }
.step--ink { background: var(--brand-ink); color: #fff; }
.step h3 { margin: 22px 0 8px; font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.step p { margin: 0; font-size: 15px; opacity: .9; }
.step__num {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  font-family: var(--font-display); font-size: 15px; font-weight: 800; opacity: .65;
}
.step__visual {
  position: relative;
  display: grid; place-items: center;
  height: 220px;
  border-radius: 22px;
  overflow: hidden;
}
.step--green .step__visual { background: rgba(255, 255, 255, .1); }
.step--beige .step__visual { background: rgba(255, 255, 255, .5); }
.step--ink .step__visual { background: rgba(255, 255, 255, .06); overflow: visible; }

/* Étape 1 : mini cartes qui se swipent toutes seules */
.mini-card {
  position: absolute;
  width: 116px; height: 156px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}
.mini-card--3 { transform: translate(0, 16px) scale(.86); opacity: .55; }
.mini-card--2 { transform: translate(0, 8px) scale(.93); opacity: .8; }
.mini-card--1 { animation: mini-swipe 3.4s var(--ease-in-out, ease) infinite; overflow: hidden; }
.mini-card--1 i { display: block; height: 58%; background: linear-gradient(160deg, var(--beige), #f3c48f); }
.mini-card--1 b { display: block; height: 8px; margin: 12px 12px 0; border-radius: 4px; background: #e9e3d9; }
.mini-card--1 b + b { width: 50%; margin-top: 8px; }
@keyframes mini-swipe {
  0%, 30% { transform: none; opacity: 1; }
  48% { transform: translateX(150px) rotate(24deg); opacity: 0; }
  49% { transform: translateY(8px) scale(.93); opacity: 0; }
  62%, 100% { transform: none; opacity: 1; }
}
.mini-heart {
  position: absolute;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--beige); color: var(--green-700);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  animation: mini-heart 3.4s ease-in-out infinite;
}
.mini-heart svg { width: 26px; height: 26px; }
@keyframes mini-heart {
  0%, 26%, 56%, 100% { transform: scale(0); }
  36% { transform: scale(1.2); }
  44% { transform: scale(1); }
}

/* Étape 2 : mini carte avec avion */
.step__visual--map svg { width: 100%; height: 100%; }
.map-land { fill: rgba(57, 132, 120, .18); }
.map-route {
  fill: none; stroke: var(--brand-ink); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 2 9;
  animation: route-move 1.2s linear infinite;
}
@keyframes route-move { to { stroke-dashoffset: -22; } }
.map-pin path { fill: var(--green-700); }
.map-pin circle { fill: var(--beige); }
.map-pin--end { animation: pin-bounce 2s ease-in-out infinite; transform-box: fill-box; }
@keyframes pin-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.map-plane path { fill: var(--brand-ink); }
.map-bubble {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 13px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
  font-size: 13px; font-weight: 700;
  animation: bubble-pop 4s ease-in-out infinite;
  transform-origin: 0 100%;
}
@keyframes bubble-pop {
  0%, 15% { transform: scale(0); opacity: 0; }
  25%, 85% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

/* Étape 3 : polaroïds qui s'étalent au survol */
.polaroid {
  position: absolute;
  width: 128px; height: 150px;
  margin: 0;
  padding: 8px 8px 28px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  transition: transform .6s var(--ease-bounce, ease);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid--1 { transform: rotate(-9deg) translateX(-18px); }
.polaroid--2 { transform: rotate(3deg) translateY(-4px); z-index: 2; }
.polaroid--3 { transform: rotate(11deg) translateX(20px); }
.step--ink:hover .polaroid--1 { transform: rotate(-16deg) translateX(-82px) translateY(6px); }
.step--ink:hover .polaroid--2 { transform: rotate(0deg) translateY(-14px) scale(1.06); }
.step--ink:hover .polaroid--3 { transform: rotate(15deg) translateX(84px) translateY(8px); }

/* =========================================================
   FONCTIONNALITÉS (bento)
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 18px;
  grid-template-areas:
    "match match safety safety"
    "match match group dice"
    "events events split split";
}
.bento__cell {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease-out, ease), box-shadow .4s;
}
.bento__cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.bento__cell h3 { margin: 0 0 8px; font-size: 26px; font-weight: 800; }
.bento__cell p { margin: 0; font-size: 15px; color: var(--muted); }
.bento__cell--match { grid-area: match; display: flex; flex-direction: column; }
.bento__cell--safety { grid-area: safety; display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; background: var(--brand-ink); color: #fff; }
.bento__cell--safety p { color: rgba(255, 255, 255, .75); }
.bento__cell--group { grid-area: group; }
.bento__cell--dice { grid-area: dice; background: var(--beige); }
.bento__cell--dice p { color: #4b3f2a; }
.bento__cell--events { grid-area: events; }
.bento__cell--split { grid-area: split; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }

/* Compatibilité */
.compat { position: relative; width: 190px; height: 190px; margin: 26px auto 18px; }
.compat__ring { width: 100%; height: 100%; rotate: -90deg; }
.compat__track { fill: none; stroke: var(--green-100); stroke-width: 12; }
.compat__value {
  fill: none; stroke: var(--green-700); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 314.16; stroke-dashoffset: 314.16;
}
.compat__num {
  position: absolute; inset: 0 0 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 50px; font-weight: 800; letter-spacing: -.04em;
  color: var(--brand-ink);
}
.compat__caption {
  position: absolute; left: 0; right: 0; bottom: 50px;
  text-align: center; font-size: 13px; font-weight: 700; color: var(--muted);
}
.compat__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: auto 0 0; padding: 0; }
.compat__list li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--green-100); color: var(--green-800);
  font-size: 13px; font-weight: 700;
  transition: transform .5s var(--ease-bounce, ease), opacity .5s;
}
.compat__list li::before { content: "✓"; font-weight: 900; }
.js-anim .compat__list li { opacity: 0; transform: scale(.6); }
.compat__list.is-on li { opacity: 1; transform: none; }
.compat__list.is-on li:nth-child(2) { transition-delay: .2s; }
.compat__list.is-on li:nth-child(3) { transition-delay: .4s; }

/* Sécurité */
.bento__link { display: inline-block; margin-top: 14px; color: var(--beige); font-weight: 700; }
.safety-demo { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.verified {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--beige); color: var(--brand-ink);
  font-size: 13px; font-weight: 800;
}
.verified svg { width: 22px; height: 22px; color: var(--green-700); }
.share-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 14px; font-weight: 700;
}
.share-toggle__switch {
  position: relative;
  width: 46px; height: 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  transition: background .3s;
}
.share-toggle__switch span {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  transition: transform .35s var(--ease-bounce, ease);
}
.share-toggle[aria-pressed="true"] .share-toggle__switch { background: var(--green-500); }
.share-toggle[aria-pressed="true"] .share-toggle__switch span { transform: translateX(20px); }
.share-status {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  font-size: 13px; color: rgba(255, 255, 255, .7) !important;
}
.share-status::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand-grey);
}
.share-status.is-on { color: var(--beige) !important; }
.share-status.is-on::before { background: var(--green-500); animation: beige-pulse 1.6s ease-out infinite; }

/* Solo ou groupe */
.crew { display: flex; margin-bottom: 18px; }
.crew span {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  border: 3px solid #fff;
  background: var(--c); color: #fff;
  font-weight: 800;
  transition: transform .4s var(--ease-bounce, ease), margin .4s var(--ease-bounce, ease);
}
.crew span + span { margin-left: -14px; }
.crew .crew__plus {
  background: #fff; color: var(--green-800);
  border: 2px dashed var(--green-700);
}
.bento__cell--group:hover .crew span + span { margin-left: 4px; }
.bento__cell--group:hover .crew__plus { background: var(--green-700); color: #fff; border-style: solid; transform: rotate(360deg); }

/* Dé */
.dice {
  display: grid; place-items: center;
  width: 78px; height: 78px;
  margin-bottom: 16px;
  border: 0; border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(14, 11, 12, .15);
  transition: transform .3s var(--ease-bounce, ease);
}
.dice:hover { transform: rotate(-8deg) scale(1.06); }
.dice.is-rolling { animation: dice-roll .7s var(--ease-out, ease); }
@keyframes dice-roll {
  0% { transform: rotate(0) scale(1); }
  40% { transform: rotate(200deg) scale(.8) translateY(-14px); }
  100% { transform: rotate(360deg) scale(1); }
}
.dice__face {
  display: grid; grid-template-columns: repeat(3, 12px); grid-template-rows: repeat(3, 12px);
  gap: 6px;
}
.dice__face i { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-ink); }
.dice__result { min-height: 3em; font-weight: 600; }
.dice__result strong { color: var(--brand-ink); }

/* Événements */
.events {
  margin: 22px -28px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.events__track { display: flex; gap: 12px; width: max-content; animation: events-scroll 26s linear infinite; }
.bento__cell--events:hover .events__track { animation-play-state: paused; }
@keyframes events-scroll { to { transform: translateX(-50%); } }
.event {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 170px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--green-100);
  font-size: 14px; font-weight: 700;
}
.event:nth-child(even) { background: var(--beige-100); }
.event b { color: var(--green-800); font-size: 12px; letter-spacing: .05em; }

/* Hébergement partagé */
.split-calc { padding: 18px 20px; border-radius: 22px; background: var(--bg); }
.split-calc__line { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 12px !important; font-size: 14px !important; }
.split-calc__line strong { color: var(--brand-ink); }
.split-calc__range { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.split-calc__range input { width: 100%; accent-color: var(--green-700); }
.split-calc__result { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0 !important; }
.split-calc__result strong {
  display: inline-block;
  font-family: var(--font-display); font-size: 42px; font-weight: 800; letter-spacing: -.04em;
  color: var(--green-700);
}
.split-calc__result strong.is-bump { animation: bump .4s var(--ease-bounce, ease); }
@keyframes bump { 50% { transform: scale(1.18); } }

/* =========================================================
   QUIZ
   ========================================================= */
.quiz {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px;
  align-items: center;
  padding: 56px;
  border-radius: 36px;
  background: var(--beige-100);
  box-shadow: none;
}
.quiz__intro .display { font-size: clamp(34px, 4.2vw, 56px); }
.quiz__stage { min-height: 360px; display: grid; align-items: center; }
.quiz__panel {
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: opacity .3s, transform .35s var(--ease-out, ease);
}
.quiz__panel.is-leaving { opacity: 0; transform: translateX(-30px); }
.quiz__panel.is-entering { opacity: 0; transform: translateX(30px); }
.quiz__progress { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz__progress span { flex: 1; height: 6px; border-radius: 999px; background: #eee8de; }
.quiz__progress span.is-done { background: var(--green-700); }
.quiz__q { margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 2px solid #eee8de; border-radius: 18px;
  background: #fff;
  color: var(--brand-ink); font-size: 15px; font-weight: 700; text-align: left;
  transition: border-color .2s, transform .25s var(--ease-bounce, ease), background .2s;
}
.quiz__opt:hover { border-color: var(--green-700); transform: translateY(-3px); }
.quiz__opt.is-picked { border-color: var(--green-700); background: var(--green-100); }
.quiz__icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--green-100); color: var(--green-800);
}
.quiz__icon svg { width: 22px; height: 22px; }
.quiz__result-scene { height: 170px; margin: -10px -10px 20px; overflow: hidden; border-radius: 20px; }
.quiz__result-scene svg { width: 100%; height: 100%; display: block; }
.quiz__result small { color: var(--green-800); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.quiz__result h3 { margin: 4px 0 10px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.quiz__result p { margin: 0 0 18px; color: var(--muted); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz__actions .btn { padding: 11px 20px; font-size: 15px; }

/* =========================================================
   OFFRES
   ========================================================= */
.billing {
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  margin-top: 30px; padding: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.billing__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--muted); font-size: 15px; font-weight: 800;
  transition: color .25s;
}
.billing__btn[aria-pressed="true"] { color: #fff; }
.billing__save {
  padding: 3px 8px; border-radius: 999px;
  background: var(--beige); color: var(--brand-ink);
  font-size: 12px;
}
.billing__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--brand-ink);
  transition: transform .45s var(--ease-bounce, ease);
}
.billing.is-yearly .billing__thumb { transform: translateX(100%); }

.plans {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  max-width: 940px;
  margin: 46px auto 0;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease-out, ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.plan__name { margin: 0 0 6px; font-size: 30px; font-weight: 800; }
.plan__tagline { margin: 0; color: var(--muted); font-size: 15px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 24px 0; }
.plan__amount {
  font-family: var(--font-display); font-size: 58px; font-weight: 800; letter-spacing: -.045em; line-height: 1;
}
.plan__period { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan__includes { margin: 0 0 8px; font-weight: 800; }
.plan__features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.plan__features li { position: relative; padding-left: 34px; font-size: 15px; }
.plan__features li::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f63' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan__cta { margin-top: auto; justify-content: center; }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan--premium {
  color: #fff;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--brand-ink), var(--brand-ink)) padding-box,
    conic-gradient(from var(--angle), var(--green-700), var(--beige), var(--green-500), var(--brand-ink), var(--green-700)) border-box;
  box-shadow: 0 30px 80px rgba(57, 132, 120, .35);
  animation: border-spin 6s linear infinite;
}
@keyframes border-spin { to { --angle: 360deg; } }
.plan--premium .plan__tagline, .plan--premium .plan__period { color: rgba(255, 255, 255, .72); }
.plan--premium .plan__amount { color: var(--beige); }
.plan--premium .plan__features li::before {
  background-color: var(--green-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1ddb4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.plan__badge {
  position: absolute; top: -16px; right: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--beige); color: var(--brand-ink);
  font-size: 13px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  animation: badge-wiggle 3s ease-in-out infinite;
}
@keyframes badge-wiggle { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: -6deg; } 90% { rotate: 5deg; } 95% { rotate: -2deg; } }
.plan__cta--premium { background: var(--beige); border-color: var(--beige); color: var(--brand-ink); }
.plan__cta--premium:hover { background: #fff; border-color: #fff; color: var(--brand-ink); }
.plan__note { margin: 14px 0 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* Bascule mensuel / annuel */
.plans .price--yearly { display: none; }
.plans.is-yearly .price--monthly { display: none; }
.plans.is-yearly .price--yearly { display: inline; }
.plan__amount.is-flipping { animation: price-flip .5s var(--ease-bounce, ease); }
@keyframes price-flip { 0% { opacity: 0; transform: translateY(40%) rotateX(60deg); } 100% { opacity: 1; transform: none; } }

.pricing__promo {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
  margin: 34px auto 0; max-width: 760px;
  text-align: center; color: var(--muted); font-size: 15px;
}
.pricing__promo-tag {
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-ink); color: var(--beige);
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}

/* =========================================================
   ÉCRAN « C'EST UN MATCH ! »
   ========================================================= */
.match-modal {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(14, 11, 12, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fade-in .3s ease;
}
.match-modal[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } }
.match-modal__card {
  position: relative; z-index: 2;
  width: min(440px, 100%);
  padding: 40px 32px 32px;
  border-radius: 34px;
  background: var(--green-700);
  color: #fff; text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
  animation: match-pop .6s var(--ease-bounce, ease);
}
@keyframes match-pop { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }
.match-modal__avatars { display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.match-modal__avatars .av { width: 92px; height: 92px; border-width: 4px; font-size: 30px; }
.match-modal__avatars .av--me { background: var(--brand-ink); font-size: 20px; animation: slide-l .7s var(--ease-bounce, ease); }
.match-modal__avatars .av--them { animation: slide-r .7s var(--ease-bounce, ease); }
@keyframes slide-l { from { transform: translateX(-80px) rotate(-20deg); } }
@keyframes slide-r { from { transform: translateX(80px) rotate(20deg); } }
.match-modal__heart {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin: 0 -12px; z-index: 1;
  border-radius: 50%;
  background: var(--beige); color: var(--green-700);
  animation: heartbeat-big 1.2s ease-in-out infinite;
}
.match-modal__heart svg { width: 24px; height: 24px; }
@keyframes heartbeat-big { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(.95); } }
.match-modal h2 {
  margin: 0 0 10px;
  font-size: clamp(38px, 6vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--beige);
}
.match-modal p { margin: 0 0 26px; font-size: 17px; color: rgba(255, 255, 255, .9); }
.match-modal__actions { display: grid; gap: 10px; }
.match-modal__actions .btn { justify-content: center; }
.match-modal__actions .btn--white { background: var(--beige); }
.match-modal__actions .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.match-modal__actions .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.confetti { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* Scènes illustrées : petites animations */
.sc-sun { animation: sc-bob 6s ease-in-out infinite alternate; transform-box: fill-box; }
.sc-move { animation: sc-move 10s linear infinite; transform-box: fill-box; }
.sc-sway { animation: sc-sway 7s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.sc-wave { animation: sc-wave 5s linear infinite; }
@keyframes sc-bob { to { transform: translateY(8px); } }
@keyframes sc-move { from { transform: translateX(-140px); } to { transform: translateX(380px); } }
@keyframes sc-sway { from { transform: translateX(-12px) skewX(-4deg); } to { transform: translateX(12px) skewX(4deg); } }
@keyframes sc-wave { to { transform: translateX(-40px); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .hero2__grid { grid-template-columns: 1fr 1fr; padding: 60px 36px 120px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "match match" "safety safety" "group dice" "events events" "split split"; }
  .quiz { grid-template-columns: 1fr; gap: 30px; padding: 40px; }
}
@media (max-width: 820px) {
  .hero2__frame { border-radius: 28px; min-height: 0; }
  .hero2__grid { grid-template-columns: 1fr; min-height: 0; padding: 40px 22px 100px; gap: 36px; }
  .hero2__title { font-size: clamp(44px, 13vw, 64px); }
  .deck { height: 400px; }
  .searchbar {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    margin-top: -60px;
    padding: 10px;
    border-radius: 26px;
  }
  .searchbar__field { border-radius: 16px; padding: 10px 14px; }
  .searchbar__field + .searchbar__field::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .searchbar__go { justify-content: center; margin-top: 6px; }
  .tapes { height: 160px; }
  .steps2__grid { grid-template-columns: 1fr; }
  .steps2, .bento-section, .quiz-section, .pricing { margin-top: 90px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "match" "safety" "group" "dice" "events" "split"; }
  .bento__cell--safety, .bento__cell--split { grid-template-columns: 1fr; }
  .quiz { padding: 28px 20px; }
  .quiz__panel { padding: 22px; }
  .quiz__opts { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px; }
  .section-head .display { font-size: clamp(34px, 10vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__bg { animation: none; }
  .tcard { transition: none; }
}
