:root {
  --bg: #0c0a14;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f5f3ff;
  --muted: #a39fb8;
  --pink: #ff4d8d;
  --violet: #8b5cf6;
  --orange: #ffb347;
  --green: #34d399;
  --red: #fb7185;
  --grad: linear-gradient(120deg, var(--pink), var(--violet) 55%, var(--orange));
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
}
h1, h2, h3, .logo, .price, .gauge-num { font-family: "Bricolage Grotesque", sans-serif; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }

/* ---------- fond animé ---------- */
/* aurore (rubans de couleur qui ondulent) + grille de points + grain + lueur qui suit la souris */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-blobs .aurora {
  position: absolute; left: 50%; top: -38vh; width: 150vw; height: 95vh; translate: -50% 0;
  background:
    radial-gradient(40% 55% at 22% 60%, rgba(255, 77, 141, .55), transparent 70%),
    radial-gradient(38% 50% at 55% 45%, rgba(139, 92, 246, .6), transparent 70%),
    radial-gradient(30% 45% at 82% 62%, rgba(255, 179, 71, .35), transparent 70%);
  filter: blur(60px) saturate(1.3); opacity: .95;
  mask: radial-gradient(65% 80% at 50% 35%, #000 40%, transparent 80%);
  animation: aurora 22s ease-in-out infinite alternate;
}
.bg-blobs .aurora::after {
  content: ""; position: absolute; inset: 10% 15%;
  background: conic-gradient(from 200deg at 50% 60%, transparent, rgba(255, 77, 141, .5), rgba(139, 92, 246, .5), transparent 40%);
  filter: blur(60px); animation: spinSlow 40s linear infinite;
}
@keyframes aurora {
  0%   { transform: translateX(-6%) scaleY(1)    skewX(-4deg); }
  50%  { transform: translateX(3%)  scaleY(1.12) skewX(3deg); }
  100% { transform: translateX(6%)  scaleY(.94)  skewX(-2deg); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.bg-blobs .dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask: radial-gradient(70% 60% at 50% 0%, #000, transparent 80%);
}
.bg-blobs .glow {
  position: absolute; width: 560px; height: 560px; left: 0; top: 0; border-radius: 50%;
  translate: calc(var(--gx, 50vw) - 50%) calc(var(--gy, 30vh) - 50%);
  background: radial-gradient(circle, rgba(139, 92, 246, .13), transparent 65%);
  transition: translate .8s cubic-bezier(.22, 1, .36, 1);
}
.bg-blobs .grain {
  position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 700px) {
  .bg-blobs .aurora { top: -22vh; height: 70vh; opacity: .8; }
  .bg-blobs .glow { display: none; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 45; /* au-dessus du téléphone de démo, sous le paywall (50) */
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px clamp(16px, 5vw, 64px);
  backdrop-filter: blur(14px); background: rgba(12, 10, 20, 0.6);
  border-bottom: 1px solid var(--card-border);
}
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.logo span { color: var(--pink); }
.nav-right { display: flex; gap: 12px; align-items: center; }
.pill {
  font-size: 0.8rem; padding: 6px 12px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--card-border); color: var(--muted);
}

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  font: 600 1rem "Inter", sans-serif; color: white; cursor: pointer;
  border: 0; border-radius: 99px; padding: 12px 22px;
  background: var(--grad); background-size: 200% 200%;
  box-shadow: 0 8px 30px -8px rgba(255, 77, 141, 0.6);
  transition: transform 0.2s, box-shadow 0.2s, background-position 0.5s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); background-position: 100% 50%; box-shadow: 0 12px 40px -8px rgba(139, 92, 246, 0.7); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-big { padding: 16px 30px; font-size: 1.1rem; }
.btn-full { width: 100%; }
.btn-ghost { background: var(--card); border: 1px solid var(--card-border); box-shadow: none; margin-top: 24px; }

/* ---------- hero ---------- */
main > section { padding: 80px clamp(16px, 5vw, 64px); max-width: 1150px; margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  min-height: calc(100vh - 70px);
}
.eyebrow { color: var(--pink); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; margin-bottom: 14px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.typed-wrap { display: inline-block; min-height: 1.1em; }
.gradient-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.caret { color: var(--pink); font-weight: 400; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 1.15rem; color: var(--muted); margin: 24px 0 32px; max-width: 520px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- téléphone démo ---------- */
.phone {
  position: relative; width: 100%; max-width: 340px; justify-self: center;
  display: flex; flex-direction: column;
  background: #17131f; border: 1px solid var(--card-border); border-radius: 38px;
  padding: 18px; height: 560px;
  box-shadow: 0 40px 80px -20px rgba(139, 92, 246, 0.45);
  animation: bob 6s ease-in-out infinite;
}
.online { margin-left: auto; font-size: 0.75rem; color: var(--green); }
.chat { flex: 1; overflow: hidden; justify-content: flex-end; padding-bottom: 12px; }
.bubble.ai::after { content: "✨ via Wingo"; display: block; font-size: 0.7rem; opacity: 0.85; margin-top: 3px; }

/* barre de saisie */
.phone-input {
  display: flex; align-items: center; gap: 2px; min-height: 46px;
  padding: 8px 8px 8px 16px; border-radius: 99px; background: #241f2e; font-size: 0.93rem;
}
.demo-input:empty::before { content: "Écris un message…"; color: var(--muted); }
.demo-caret { width: 2px; height: 18px; background: var(--pink); animation: blink 0.9s steps(1) infinite; }
.send {
  margin-left: auto; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; background: #3a3348; color: var(--muted);
  transition: all 0.25s;
}
.send.ready { background: var(--grad); color: white; transform: scale(1.15); }

/* panneau Wingo */
.wingo-panel {
  position: absolute; left: 12px; right: 12px; bottom: 76px; z-index: 2;
  padding: 14px; border-radius: 20px; display: grid; gap: 8px;
  background: rgba(30, 24, 42, 0.97); border: 1px solid rgba(255, 77, 141, 0.45);
  box-shadow: 0 -10px 40px rgba(255, 77, 141, 0.25);
  opacity: 0; transform: translateY(24px) scale(0.95); pointer-events: none;
  transition: all 0.45s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.wingo-panel.show { opacity: 1; transform: none; }
.wp-head { display: flex; justify-content: space-between; font-size: 0.85rem; }
.wp-head span { color: var(--green); }
.wp-sugg {
  display: flex; gap: 8px; font-size: 0.82rem; padding: 9px 11px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid transparent;
  opacity: 0; transform: translateX(-12px); transition: all 0.35s;
}
.wingo-panel.show .wp-sugg { opacity: 1; transform: none; }
.wingo-panel.show .wp-sugg:nth-child(3) { transition-delay: 0.15s; }
.wingo-panel.show .wp-sugg:nth-child(4) { transition-delay: 0.3s; }
.wp-sugg.picked { border-color: var(--pink); background: rgba(255, 77, 141, 0.18); transform: scale(1.03); }

/* légende de l'histoire */
.demo-status {
  position: absolute; top: -18px; left: 50%; z-index: 3; white-space: nowrap;
  background: white; color: #111; font-weight: 600; font-size: 0.9rem;
  padding: 8px 16px; border-radius: 99px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%) scale(0.6); opacity: 0;
  transition: all 0.4s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.demo-status.show { transform: translateX(-50%) scale(1); opacity: 1; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(1deg); } }
.phone-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--card-border); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.chat { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.bubble {
  max-width: 78%; padding: 9px 14px; border-radius: 18px; font-size: 0.93rem;
  animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.bubble.them { background: #2a2436; align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.me { background: var(--violet); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble.ai { background: var(--grad); align-self: flex-end; border-bottom-right-radius: 6px; box-shadow: 0 0 24px rgba(255, 77, 141, 0.5); }
.bubble.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: 0.4; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.85); } }
/* ---------- douleur ---------- */
.pains-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.pain {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px;
}
.pain span { font-size: 1.8rem; line-height: 1; }
.pain p { color: var(--muted); font-size: 1.05rem; }
.pain b { color: var(--text); }
.pains-answer { text-align: center; margin-top: 40px; font: 800 clamp(1.6rem, 3.5vw, 2.4rem) "Bricolage Grotesque"; letter-spacing: -0.03em; }

/* ---------- pourquoi ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; }
.why-card:first-child { grid-column: span 3; }
.why-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); }
.versus { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.versus span { padding: 10px 16px; border-radius: 18px; font-size: 0.95rem; }
.versus .bad { background: #2a2436; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.versus .good { background: var(--violet); }

/* ---------- FAQ + CTA final ---------- */
.faq { max-width: 760px !important; }
.faq details {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 18px 22px; margin-bottom: 12px; cursor: pointer;
}
.faq summary { font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--pink); font-size: 1.4rem; line-height: 1; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; }
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.app-sub { text-align: center; margin: -28px 0 24px; }

/* ---------- étapes ---------- */
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; text-align: center; margin-bottom: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step, .card, .plan {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; backdrop-filter: blur(8px);
}
.step { position: relative; transition: transform 0.3s, border-color 0.3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255, 77, 141, 0.5); }
.step-n { position: absolute; top: 16px; right: 22px; font: 800 3rem "Bricolage Grotesque"; opacity: 0.08; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- app ---------- */
.app { max-width: 720px !important; }
.demo-banner {
  text-align: center; font-size: 0.9rem; margin-bottom: 16px; padding: 10px;
  border-radius: 14px; background: rgba(255, 179, 71, 0.12); color: var(--orange);
}
.dropzone {
  display: grid; place-items: center; min-height: 220px; cursor: pointer; text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.18); border-radius: 18px; overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--pink); background: rgba(255, 77, 141, 0.06); }
.drop-icon { font-size: 2.6rem; margin-bottom: 8px; animation: bob 3s ease-in-out infinite; }
#preview { max-height: 320px; max-width: 100%; border-radius: 12px; animation: pop 0.4s both; }
.label { margin: 22px 0 10px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font: 500 0.9rem "Inter"; color: var(--text); cursor: pointer;
  padding: 8px 16px; border-radius: 99px; border: 1px solid var(--card-border); background: transparent;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--pink); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.error { color: var(--red); margin-top: 14px; text-align: center; }

.loading { text-align: center; padding: 48px; }
.loader { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.loader span { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); animation: dot 1s infinite; }
.loader span:nth-child(2) { animation-delay: 0.15s; }
.loader span:nth-child(3) { animation-delay: 0.3s; }
#loading-text { font-size: 1.1rem; transition: opacity 0.3s; }

/* ---------- résultat ---------- */
#result > * { animation: rise 0.6s cubic-bezier(0.2, 1, 0.3, 1) both; }
#result > *:nth-child(2) { animation-delay: 0.15s; }
#result > *:nth-child(3) { animation-delay: 0.3s; }
#result > *:nth-child(4) { animation-delay: 0.4s; }
#result > *:nth-child(5) { animation-delay: 0.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.result-head { display: flex; gap: 24px; align-items: center; }
.gauge { position: relative; width: 130px; flex-shrink: 0; }
.gauge svg { transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.gauge-bg { stroke: rgba(255, 255, 255, 0.08); }
.gauge-fg { stroke: var(--pink); stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 1, 0.3, 1), stroke 0.5s; }
.gauge-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.gauge-num small { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.verdict { font-size: 1.7rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.flags { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.flags h4 { margin-bottom: 10px; }
.flags ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.flags li::before { content: "→ "; color: var(--pink); }
.section-title { margin: 32px 0 14px; font-size: 1.4rem; }
.replies { display: grid; gap: 14px; }
.reply {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 20px; cursor: pointer; transition: transform 0.2s, border-color 0.2s;
  animation: rise 0.5s both;
}
.reply:hover { transform: translateY(-3px); border-color: var(--violet); }
.reply-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.reply-tag { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(139, 92, 246, 0.2); }
.reply-copy { font-size: 0.8rem; color: var(--muted); }
.reply .bubble { display: inline-block; max-width: 100%; background: var(--violet); margin-bottom: 10px; animation: none; }
.reply p { font-size: 0.9rem; color: var(--muted); }
.tip { margin-top: 16px; border-color: rgba(255, 179, 71, 0.35); }

/* ---------- prix ---------- */
.pricing { text-align: center; }
.pricing h2 { margin-bottom: 8px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; max-width: 760px; margin-inline: auto; text-align: left; }
.plan { position: relative; }
.plan h3 { font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 800; margin: 8px 0 18px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; color: var(--muted); }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.plan-pro { border: 1px solid transparent; background: linear-gradient(#16121f, #16121f) padding-box, var(--grad) border-box; }
.plan-tag { position: absolute; top: -12px; right: 20px; background: var(--grad); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; }

/* ---------- footer, modal, toast ---------- */
.footer { text-align: center; padding: 48px 16px; border-top: 1px solid var(--card-border); display: grid; gap: 6px; font-size: 0.9rem; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); animation: fade 0.25s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; width: 100%; max-width: 400px; text-align: center; background: #16121f; border: 1px solid var(--card-border); border-radius: 28px; padding: 36px 28px; animation: pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1); }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-emoji { font-size: 3rem; margin-bottom: 8px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px);
  background: white; color: #111; font-weight: 600; padding: 12px 22px; border-radius: 99px;
  transition: transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1); z-index: 60;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
  .steps-grid, .plans, .flags, .pains-grid, .why-grid { grid-template-columns: 1fr; }
  .why-card:first-child { grid-column: auto; }
  .phone { margin-top: 24px; }
  .result-head { flex-direction: column; text-align: center; }
  .pill { display: none; }
}
/* Animations réduites (réglage système) : on coupe seulement les mouvements décoratifs en boucle.
   Les animations courtes déclenchées par l'utilisateur (survol, cartes) restent. */
@media (prefers-reduced-motion: reduce) {
  .bg-blobs .aurora, .bg-blobs .aurora::after, .iphone, .phone, .drop-icon, .marquee-track, .btn-shine::after, .gradient-text { animation: none !important; }
}

/* =====================================================
   V2 — éléments de la landing
   ===================================================== */

/* barre de progression du scroll */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 100; }

/* nav */
.nav-links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* hero : titre stable (plus de saut quand le texte s'écrit) */
main > section.hero { max-width: 1240px; grid-template-columns: 1.35fr 1fr; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
.typed-wrap { display: block; white-space: nowrap; min-height: 1.1em; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--muted); }
.checks li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; }
.app-tag {
  font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 99px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  transition: transform 0.2s;
}
.app-tag:hover { transform: translateY(-3px) rotate(-3deg); }

/* reflet qui passe sur le bouton principal */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); animation: shineBtn 3.5s ease-in-out infinite;
}
@keyframes shineBtn { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* bandeau défilant */
.marquee {
  overflow: hidden; padding: 22px 0; border-block: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02); margin: 36px 0; transition: transform 0.25s ease-out;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span {
  font: 700 1.6rem "Bricolage Grotesque"; color: var(--muted); white-space: nowrap;
  text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 3px;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* titres de section */
.kicker {
  text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 12px;
}
.kicker + h2 { margin-top: 0; }

/* lumière qui suit la souris sur les cartes */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 77, 141, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.spot:hover::before { opacity: 1; }

/* douleurs */
.pain { transition: transform 0.3s, border-color 0.3s; }
.pain:hover { transform: translateY(-4px) rotate(-0.5deg); border-color: rgba(255, 77, 141, 0.4); }

/* étapes */
.steps-grid { position: relative; }
.step-n { opacity: 1; font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; top: 20px; }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border); margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.2, 1.5, 0.4, 1);
}
.step:hover .step-icon { transform: scale(1.12) rotate(-8deg); }

/* aperçu du résultat */
main > section.preview { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.preview .kicker, .preview h2 { text-align: left; }
.preview h2 { margin-bottom: 28px; }
.preview-list { list-style: none; display: grid; gap: 18px; }
.preview-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--card-border); transition: border-color 0.3s; }
.preview-list li:hover { border-color: var(--pink); }
.preview-list span { color: var(--muted); }
.mock {
  display: grid; gap: 16px; padding: 26px; border-radius: 28px; transform: rotate(1.5deg);
  background: linear-gradient(#16121f, #16121f) padding-box, var(--grad) border-box; border: 1px solid transparent;
  box-shadow: 0 40px 80px -30px rgba(255, 77, 141, 0.45);
}
.mock.visible { transform: rotate(1.5deg); }
.mock-head { display: flex; gap: 18px; align-items: center; }
.mock-head h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.gauge-sm { width: 96px; }
.gauge-sm .gauge-num { font-size: 1.6rem; }
.mock-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.flag { font-size: 0.82rem; padding: 6px 12px; border-radius: 99px; }
.flag.good { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.flag.bad { background: rgba(251, 113, 133, 0.12); color: var(--red); }
.mock-reply { display: grid; gap: 8px; justify-items: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.mock-reply .bubble { animation: none; max-width: 100%; }
.mock-tip { font-size: 0.9rem; padding: 12px 16px; border-radius: 14px; background: rgba(255, 179, 71, 0.1); color: var(--orange); }

/* situations */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  display: flex; flex-direction: column; gap: 10px; padding: 24px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}
.case:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.5); }
.case-title { font-weight: 600; margin-bottom: 6px; }
.case .bubble { animation: none; max-width: 90%; }
.case .bubble.ai { align-self: flex-end; }

/* prix : l'offre Pro ressort */
.plan-pro.reveal.visible { transform: scale(1.03); } .plan-pro { box-shadow: 0 30px 70px -30px rgba(139, 92, 246, 0.6); }

/* FAQ : ouverture douce */
.faq details { transition: border-color 0.3s, background 0.3s; }
.faq details:hover, .faq details[open] { border-color: rgba(255, 77, 141, 0.35); }
.faq details[open] p { animation: rise 0.35s both; }

/* CTA final */
.final-cta { position: relative; }
.final-cta::before {
  content: ""; position: absolute; inset: 20% 25%; z-index: -1; border-radius: 50%;
  background: var(--grad); filter: blur(120px); opacity: 0.35;
}

/* toast réellement caché quand inactif */
.toast { opacity: 0; visibility: hidden; }
.toast.show { opacity: 1; visibility: visible; }

/* bouton fixe sur mobile */
.sticky-cta { display: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
}
@media (max-width: 820px) {
  main > section.hero, main > section.preview { grid-template-columns: 1fr; }
  .typed-wrap { min-height: 1.1em; }
  .btn-big { font-size: 1rem; padding: 16px 22px; }
  .cases-grid { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .plan-pro { transform: none; }
  .marquee-track span { font-size: 1.2rem; }
  .sticky-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    transform: translateY(140%); transition: transform 0.4s cubic-bezier(0.2, 1.3, 0.4, 1);
  }
  .sticky-cta.show { transform: none; }
  .toast { bottom: 84px; }
}
.step.visible:hover { transform: translateY(-6px); }
@media (max-width: 820px) { .plan-pro.reveal.visible { transform: none; } }

/* =====================================================
   V3 — iPhone réaliste (Snapchat → Instagram)
   ===================================================== */
.device-wrap { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.device-wrap .demo-status {
  position: static; transform: scale(0.85); display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.95); color: #111; min-height: 38px;
}
.device-wrap .demo-status.show { transform: scale(1); }
.demo-status i { width: 8px; height: 8px; border-radius: 50%; background: #999; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06); }
.demo-status[data-state="wait"] i { background: #f43f5e; animation: pulse 1s infinite; }
.demo-status[data-state="wingo"] i { background: var(--pink); animation: pulse 0.6s infinite; }
.demo-status[data-state="send"] i { background: var(--violet); }
.demo-status[data-state="win"] i { background: #22c55e; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

.iphone {
  position: relative; width: 310px; aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 56px;
  background: linear-gradient(145deg, #3b3845, #1a1820 40%, #2b2833);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 5px #0a0a0c,
    0 50px 90px -25px rgba(139, 92, 246, 0.55),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
  animation: bob 7s ease-in-out infinite;
}
.btn-side { position: absolute; width: 3px; border-radius: 2px; background: #2b2833; }
.btn-action { left: -3px; top: 104px; height: 26px; }
.btn-vol1 { left: -3px; top: 150px; height: 46px; }
.btn-vol2 { left: -3px; top: 206px; height: 46px; }
.btn-power { right: -3px; top: 170px; height: 74px; }

.screen {
  position: relative; height: 100%; border-radius: 46px; overflow: hidden; background: #000;
  color: #fff; font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
}
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 20;
  width: 96px; height: 28px; border-radius: 20px; background: #000;
}
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 15; height: 48px;
  display: flex; justify-content: space-between; align-items: center; padding: 4px 30px 0 34px;
  font-weight: 600; font-size: 0.88rem; letter-spacing: -0.01em;
}
.sb-icons { display: flex; align-items: center; gap: 5px; }
.sb-icons svg { width: 17px; height: 11px; fill: #fff; }
.battery { width: 24px; height: 12px; border: 1.3px solid rgba(255, 255, 255, 0.5); border-radius: 4px; padding: 1.5px; position: relative; }
.battery::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, 0.5); }
.battery span { display: block; height: 100%; width: 78%; border-radius: 1.5px; background: #fff; }
.home-indicator {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); z-index: 20;
  width: 118px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.85);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}
.screen.swiping .home-indicator { transform: translate(-80%, -3px); }

/* scène + transition entre applis (courbe iOS) */
.apps-stage { position: absolute; inset: 0; }
.ph-app {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 50px 0 22px;
  border-radius: 46px; overflow: hidden;
  transition: transform 0.65s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.65s, filter 0.65s;
}
.ph-app.enter { transform: translateX(105%) scale(0.9); }
.ph-app.leave { transform: translateX(-40%) scale(0.88); opacity: 0.3; filter: brightness(0.5); }

.ph-app svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph-app svg.fill { fill: currentColor; stroke: none; }
.a-head { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; }
.a-ico { display: grid; }
.a-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.a-name { display: grid; line-height: 1.15; min-width: 0; }
.a-name b { font-size: 0.95rem; }
.a-name small { font-size: 0.72rem; opacity: 0.6; white-space: nowrap; }
.a-actions { margin-left: auto; display: flex; gap: 16px; }
.a-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 8px 12px; overflow: hidden; }
.a-input { display: flex; align-items: center; gap: 8px; margin: 6px 10px 0; }
.a-field { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; font-size: 0.86rem; }
.a-text { display: flex; justify-content: flex-end; min-width: 0; white-space: nowrap; overflow: hidden; }
.a-caret { width: 1.5px; height: 17px; margin-left: 1px; animation: blink 0.9s steps(1) infinite; flex-shrink: 0; }
.a-ph { position: absolute; left: 4px; opacity: 0.5; pointer-events: none; }
.a-input.filled .a-ph { display: none; }
.a-tools { display: flex; gap: 10px; opacity: 0.9; }
.a-tools svg { width: 20px; height: 20px; }
.a-send { display: none; }
.a-input.filled .a-tools { display: none; }
.a-input.filled .a-send { display: grid; place-items: center; animation: pop 0.25s both; }

/* ---- Snapchat (mode sombre) ---- */
.app-snap { background: #121212; }
.app-snap .a-head { border-bottom: 1px solid #262626; }
.app-snap .a-av { background: #fffc00; color: #111; border: 2px solid #121212; box-shadow: 0 0 0 2px #fffc00; }
.snap-group { display: grid; gap: 2px; animation: rise 0.3s both; }
.snap-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; }
.snap-group.me .snap-label { color: #f23c57; }
.snap-group.them .snap-label { color: #0eadff; }
.snap-line { font-size: 0.86rem; padding: 1px 0 1px 9px; border-left: 2px solid; line-height: 1.35; }
.snap-group.me .snap-line { border-color: #f23c57; }
.snap-group.them .snap-line { border-color: #0eadff; }
.snap-group.typing .snap-line { display: flex; gap: 3px; padding: 6px 9px; }
.snap-line i, .ig-bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e8e; animation: dot 1s infinite; }
.snap-line i:nth-child(2), .ig-bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.snap-line i:nth-child(3), .ig-bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
.snap-group.sent .snap-line:last-child { animation: flash 1s; }
@keyframes flash { 30% { background: rgba(242, 60, 87, 0.2); } }
.app-snap .a-cam { width: 38px; height: 38px; border-radius: 50%; background: #2a2a2a; display: grid; place-items: center; flex-shrink: 0; }
.app-snap .a-field { background: #262626; border-radius: 99px; height: 38px; padding: 0 14px; }
.app-snap .a-caret { background: #0eadff; }
.app-snap .a-send { width: 38px; height: 38px; border-radius: 50%; background: #0eadff; flex-shrink: 0; }
.app-snap .a-send svg { width: 18px; height: 18px; }

/* ---- Instagram (mode sombre) ---- */
.app-insta { background: #000; }
.app-insta .a-av { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf); }
.ig-bubble {
  max-width: 76%; padding: 8px 13px; border-radius: 20px; font-size: 0.86rem; line-height: 1.35;
  animation: pop 0.3s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
.ig-bubble.them { align-self: flex-start; background: #262626; }
.ig-bubble.me { align-self: flex-end; background: linear-gradient(135deg, #7b3cf7, #4f5bff 60%, #3a8bff); }
.ig-bubble.typing { display: flex; gap: 3px; padding: 12px 14px; }
.ig-story { align-self: flex-start; display: grid; gap: 6px; margin-bottom: 2px; animation: rise 0.3s both; }
.ig-story small { font-size: 0.7rem; opacity: 0.55; }
.ig-story span { width: 74px; height: 118px; border-radius: 14px; background: linear-gradient(160deg, #ffb347 0%, #ff6b6b 45%, #3a8bff 100%); box-shadow: inset 0 -40px 30px rgba(0, 0, 0, 0.35); }
.app-insta .a-input { background: #262626; border-radius: 99px; padding: 5px 12px 5px 5px; }
.app-insta .a-cam { width: 34px; height: 34px; border-radius: 50%; background: #3797f0; display: grid; place-items: center; flex-shrink: 0; }
.app-insta .a-cam svg { width: 19px; height: 19px; }
.app-insta .a-caret { background: #3797f0; }
.app-insta .a-send { color: #3797f0; font-weight: 600; font-size: 0.88rem; }

/* ---- panneau Wingo (pousse la conv vers le haut) ---- */
.w-sheet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.32, 0.72, 0, 1); margin: 0 10px; }
.w-sheet.show { grid-template-rows: 1fr; }
.w-inner {
  overflow: hidden; display: grid; gap: 6px; min-height: 0;
  border-radius: 20px; background: rgba(40, 32, 56, 0.92); backdrop-filter: blur(20px);
  border: 0 solid rgba(255, 77, 141, 0.4); transition: padding 0.55s cubic-bezier(0.32, 0.72, 0, 1), margin 0.55s;
}
.w-sheet.show .w-inner { padding: 12px; margin-top: 6px; border-width: 1px; }
.w-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.78rem; }
.w-logo { font: 800 1rem "Bricolage Grotesque", sans-serif; }
.w-logo em { color: var(--pink); font-style: normal; }
.w-score { color: #6ee7b7; }
.w-meter { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-bottom: 2px; }
.w-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #34d399, #a3e635); transition: width 1.2s 0.3s cubic-bezier(0.2, 1, 0.3, 1); }
.w-sheet.show .w-meter span { width: var(--w); }
.w-sugg { padding: 7px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid transparent; transition: all 0.3s; }
.w-sugg small { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #c4b5fd; }
.w-sugg p { font-size: 0.78rem; line-height: 1.3; }
.w-sugg.picked { border-color: var(--pink); background: rgba(255, 77, 141, 0.2); transform: scale(1.02); }

/* ---- notification iOS ---- */
.ios-notif {
  position: absolute; top: 8px; left: 8px; right: 8px; z-index: 30;
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 22px;
  background: rgba(50, 50, 55, 0.82); backdrop-filter: blur(24px);
  transform: translateY(-120%) scale(0.9); opacity: 0;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.4s;
}
.ios-notif.show { transform: none; opacity: 1; }
.ios-notif.tap { transform: scale(0.96); }
.notif-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ios-notif div { min-width: 0; font-size: 0.78rem; line-height: 1.25; }
.ios-notif p { opacity: 0.9; }
.ios-notif small { margin-left: auto; align-self: flex-start; font-size: 0.68rem; opacity: 0.55; }

/* =====================================================
   V3 — aperçu du résultat, sans emojis
   ===================================================== */
.preview-list li { display: flex; gap: 16px; align-items: flex-start; padding-left: 0; border-left: 0; }
.preview-list li > div { display: grid; gap: 2px; }
.pl-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(255, 77, 141, 0.1); border: 1px solid rgba(255, 77, 141, 0.25); transition: all 0.3s;
}
.pl-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.preview-list li:hover .pl-icon { background: var(--pink); transform: rotate(-6deg); }
.preview-list li:hover .pl-icon svg { stroke: white; }

.mock-stack { position: relative; }
.mock-ghost {
  position: absolute; inset: 18px -14px -18px 14px; border-radius: 28px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--card-border); transform: rotate(4deg);
}
.mock-stack .mock { position: relative; transform: rotate(-1deg); transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1); }
.mock-stack:hover .mock { transform: rotate(0) translateY(-6px); }
.mock-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--card-border); }
.mock-app { display: flex; align-items: center; gap: 8px; }
.mock-app i { width: 16px; height: 16px; border-radius: 5px; background: #fffc00; }
.mock-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mock-head h3 { font-size: 1.45rem; margin-bottom: 10px; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--pink), var(--orange)); transition: width 1.6s 0.2s cubic-bezier(0.2, 1, 0.3, 1); }
.mock-stack.visible .meter span { width: var(--w); }
.flag { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.flag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mock-reply { display: grid; gap: 8px; justify-items: stretch; border: 1px solid var(--card-border); }
.mock-reply-top { display: flex; justify-content: space-between; align-items: center; }
.mock-reply-top .mock-label { margin: 0; color: #c4b5fd; }
.copy-btn { font-size: 0.75rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.mock-msg { font: 600 1.1rem "Bricolage Grotesque", sans-serif; letter-spacing: -0.01em; }
.mock-why { font-size: 0.85rem; color: var(--muted); }
.mock-tip { display: grid; gap: 2px; color: var(--text); background: rgba(255, 179, 71, 0.08); border: 1px solid rgba(255, 179, 71, 0.25); }
.mock-tip .mock-label { color: var(--orange); margin: 0; }

@media (max-width: 820px) {
  .iphone { width: 282px; }
  .mock-ghost { display: none; }
}

/* =====================================================
   V4 — pensé pour le téléphone
   ===================================================== */
.only-mobile { display: none; }
@media (pointer: coarse) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  p.only-mobile { display: block; }
}
.open-app { margin-top: 14px; animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.reply.copied { border-color: var(--green); }
.reply.copied .reply-copy { color: var(--green); }
.reply.copied .reply-copy::before { content: "✓ Copié · "; }

@media (max-width: 820px) {
  main > section { padding-top: 56px; padding-bottom: 56px; }
  main > section.hero { padding-top: 32px; gap: 32px; }
  .hero-cta .btn-big { width: 100%; }
  .lead { margin: 18px 0 24px; }
  .dropzone { min-height: 170px; }
  .reply { padding: 18px; }
  .reply .bubble { font-size: 1rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -28px; padding-inline: 28px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; padding: 10px 18px; }
}

/* =====================================================
   V5 — photos réelles + paquets de cartes
   ===================================================== */
.a-av { overflow: hidden; }
.a-av img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.app-insta .a-av { padding: 2px; }
.app-insta .a-av img { border: 2px solid #000; }
.ig-story img { width: 76px; height: 124px; border-radius: 14px; object-fit: cover; object-position: 62% center; display: block; }

/* paquet de cartes */
.deck-wrap { display: grid; justify-items: center; gap: 22px; }
.deck { display: grid; width: 100%; max-width: 440px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deck-card {
  grid-area: 1 / 1; cursor: grab;
  transform: translateY(calc(var(--pos) * 16px)) scale(calc(1 - var(--pos) * 0.05)) rotate(calc(var(--pos) * 2.5deg));
  transition: transform 0.45s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.35s, filter 0.45s;
  filter: brightness(calc(1 - var(--pos) * 0.18));
}
.deck-card:not(.top) { pointer-events: none; }
.deck-card[style*="--pos: 3"], .deck-card[style*="--pos: 4"] { opacity: 0; }
.deck-card.dragging { transition: none; cursor: grabbing; }
.deck-card.fly-right { transform: translateX(130%) rotate(22deg) !important; opacity: 0; }
.deck-card.fly-left { transform: translateX(-130%) rotate(-22deg) !important; opacity: 0; }
.deck-card.incoming { transform: translateX(-130%) rotate(-22deg); opacity: 0; transition: none; }
.deck-card > * { transition: transform 0.25s ease-out; }
.deck-card .mock { transform: none; height: 100%; }
.deck-card .gauge-fg { stroke-dashoffset: 327; transition: stroke-dashoffset 1.4s 0.15s cubic-bezier(0.2, 1, 0.3, 1); }
.deck-card.top .gauge-fg { stroke-dashoffset: calc(327 * (1 - var(--s) / 100)); }
.deck-card .meter span { width: 0; }
.deck-card.top .meter span { width: var(--w); }

.deck-nav { display: flex; align-items: center; gap: 18px; }
.deck-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--text);
  background: var(--card); border: 1px solid var(--card-border); transition: all 0.2s;
}
.deck-btn:hover { border-color: var(--pink); transform: scale(1.08); }
.deck-dots { display: flex; gap: 8px; }
.deck-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); transition: all 0.3s; }
.deck-dots i.on { width: 24px; background: var(--grad); }
.deck-hint { font-size: 0.85rem; color: var(--muted); margin-top: -8px; }

/* cartes de joueur */
main > section.players { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.players h2 { text-align: left; margin-bottom: 20px; }
.players .lead { margin: 0 0 12px; }
.pcard {
  --c1: #60a5fa; --c2: #22d3ee;
  position: relative; overflow: hidden; border-radius: 26px; padding: 20px 22px 22px; text-align: center;
  background:
    linear-gradient(#15111e, #15111e) padding-box,
    linear-gradient(135deg, var(--c1), var(--c2), var(--c1)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 70px -30px var(--c1);
}
.rarity-epic { --c1: #d946ef; --c2: #8b5cf6; }
.rarity-legend { --c1: #fbbf24; --c2: #f97316; }
.pcard-shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0.35;
  background:
    radial-gradient(circle at var(--hx, 30%) var(--hy, 20%), rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(115deg, transparent 30%, rgba(255, 0, 170, 0.25) 42%, rgba(0, 255, 234, 0.25) 50%, rgba(255, 230, 0, 0.2) 58%, transparent 70%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--hx, 30%) var(--hy, 30%);
}
.pcard-top { display: flex; justify-content: space-between; align-items: center; }
.pcard-rarity {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #111;
}
.pcard-lvl { font-size: 0.85rem; color: var(--muted); }
.pcard-lvl b { font: 800 1.4rem "Bricolage Grotesque", sans-serif; color: var(--text); }
.pcard-avatar {
  width: 128px; height: 128px; margin: 12px auto 12px; border-radius: 50%; padding: 4px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.pcard-avatar img { width: 100%; height: 100%; border-radius: 50%; display: block; background: #fff; }
.pcard h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.pcard-title { color: var(--c1); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.pcard-xp { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 16px; }
.pcard-xp span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c1), var(--c2)); transition: width 1.2s 0.2s cubic-bezier(0.2, 1, 0.3, 1); }
.deck-card.top .pcard-xp span { width: var(--w); }
.pcard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pcard-stats div { display: grid; padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.pcard-stats b { font: 800 1.15rem "Bricolage Grotesque", sans-serif; }
.pcard-stats small { font-size: 0.72rem; color: var(--muted); }
.pcard-best { text-align: left; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-border); }
.pcard-best small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pcard-best p { font-weight: 500; margin-top: 2px; }

@media (max-width: 820px) {
  main > section.players { grid-template-columns: 1fr; }
  .players h2 { text-align: center; }
  .players-text { text-align: center; }
  .deck { max-width: 340px; }
}

h2 { line-height: 1.12; }
.deck-card { transform: translate(calc(var(--pos) * 14px), calc(var(--pos) * 10px)) scale(calc(1 - var(--pos) * 0.04)) rotate(calc(var(--pos) * 4deg)); }
@media (max-width: 820px) { .deck-card { transform: translate(calc(var(--pos) * 6px), calc(var(--pos) * 10px)) scale(calc(1 - var(--pos) * 0.04)) rotate(calc(var(--pos) * 2.5deg)); } .deck { max-width: 320px; } }

/* =====================================================
   V6 — animations des cartes + vraie photo Tinder
   ===================================================== */

/* distribution : les cartes arrivent une à une, comme au poker */
.deck.pre-deal .deck-card {
  transform: translate(-40px, 180px) rotate(-18deg) scale(0.8) !important;
  opacity: 0;
}
.deck-card {
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    filter 0.6s ease;
}

/* la carte sort sur le côté puis se glisse au fond du paquet */
.deck-card.fly-right, .deck-card.fly-left, .deck-card.pull-out {
  transition: transform 0.34s cubic-bezier(0.33, 0, 0.2, 1), filter 0.34s;
}
.deck-card.fly-right { transform: translate(78%, -10px) rotate(14deg) scale(0.96) !important; opacity: 1; }
.deck-card.fly-left { transform: translate(-78%, -10px) rotate(-14deg) scale(0.96) !important; opacity: 1; }
.deck-card.pull-out { transform: translate(-78%, -10px) rotate(-14deg) scale(0.96) !important; opacity: 1; filter: none; }

/* le contenu de la nouvelle carte du dessus apparaît en cascade */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes avatarIn {
  0% { opacity: 0; transform: scale(0.6) rotate(-10deg); }
  60% { opacity: 1; transform: scale(1.06) rotate(2deg); }
  100% { transform: none; }
}
.deck-card.top .pcard > *:not(.pcard-shine),
.deck-card.top .mock > * {
  animation: cardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.deck-card.top .pcard > :nth-child(2), .deck-card.top .mock > :nth-child(1) { animation-delay: 0.05s; }
.deck-card.top .pcard > :nth-child(3), .deck-card.top .mock > :nth-child(2) { animation-delay: 0.12s; }
.deck-card.top .pcard > :nth-child(4), .deck-card.top .mock > :nth-child(3) { animation-delay: 0.2s; }
.deck-card.top .pcard > :nth-child(5), .deck-card.top .mock > :nth-child(4) { animation-delay: 0.26s; }
.deck-card.top .pcard > :nth-child(6), .deck-card.top .mock > :nth-child(5) { animation-delay: 0.32s; }
.deck-card.top .pcard > :nth-child(7) { animation-delay: 0.38s; }
.deck-card.top .pcard > :nth-child(8) { animation-delay: 0.44s; }
.deck-card.top .pcard-avatar { animation: avatarIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both; }
.deck.pre-deal .deck-card * { animation: none !important; }

/* reflet qui traverse la carte quand elle arrive dessus */
.deck-card.top .pcard-shine { animation: sweep 1.1s 0.2s ease-out both; }
@keyframes sweep {
  from { background-position: 0 0, 120% 120%; }
  to { background-position: 0 0, var(--hx, 30%) var(--hy, 30%); }
}

/* photo de profil façon Tinder */
.case-photo {
  position: relative; width: 78%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
}
.case-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; display: block; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.case:hover .case-photo img { transform: scale(1.06); }
.case-photo span {
  position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px;
  font: 700 1.05rem "Bricolage Grotesque", sans-serif; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* V7 — animation fluide, jamais bloquante */
.deck-card { transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.5s ease; }
.deck-card.moving { transition: opacity 0.4s ease, filter 0.5s ease; }
.deck-card.moving, .deck-card.moving * { will-change: transform; }
.pcard-avatar img { object-fit: cover; }
.deck-card.moving { opacity: 1 !important; }

/* V8 — titre : fin qui change en fondu (toujours lisible) */
.rotator { display: inline-block; min-height: 1.1em; white-space: nowrap; }
.rotator #typed { display: inline-block; transition: opacity 0.38s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.38s ease; }
.rotator #typed.out { opacity: 0; transform: translateY(-0.35em); filter: blur(6px); }
.rotator #typed.in { opacity: 0; transform: translateY(0.35em); filter: blur(6px); transition: none; }
@media (max-width: 820px) { .rotator { white-space: normal; } }

/* =====================================================
   V9 — bouton « cœur brisé » qui se recolle au survol
   ===================================================== */
.btn-heal { position: relative; isolation: isolate; overflow: visible; background: none; }
.btn-heal:hover { background: none; }
.btn-heal .btn-label { position: relative; z-index: 2; transition: opacity 0.2s; }

/* les deux moitiés du bouton, découpées en zigzag comme un cœur brisé */
.half {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: var(--grad); background-size: 100% 100%;
}
.half-l { clip-path: polygon(0 0, 52% 0, 47.5% 32%, 53% 58%, 48.5% 82%, 51% 100%, 0 100%); }
.half-r { clip-path: polygon(51.4% 0, 100% 0, 100% 100%, 50.4% 100%, 47.9% 82%, 52.4% 58%, 46.9% 32%); }

/* le cœur avec sa pastille de réussite */
.heal-heart {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 34px; height: 34px;
  transform: translate(-50%, 80%) scale(0.3); opacity: 0; pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(255, 77, 141, 0.7));
}
.heal-heart svg { width: 100%; height: 100%; fill: #fff; }
.heal-heart i {
  position: absolute; right: -6px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; font: 800 0.62rem/1 "Inter", sans-serif; font-style: normal;
  background: #22c55e; color: #fff; box-shadow: 0 0 0 2px #fff;
  transform: scale(0);
}

/* la séquence : ça se fend → le cœur passe → ça se recolle → le cœur s'envole */
.btn-heal:hover .half-l, .btn-heal.play .half-l { animation: splitL 1.25s cubic-bezier(0.45, 0, 0.2, 1) both; }
.btn-heal:hover .half-r, .btn-heal.play .half-r { animation: splitR 1.25s cubic-bezier(0.45, 0, 0.2, 1) both; }
.btn-heal:hover .heal-heart, .btn-heal.play .heal-heart { animation: heartPass 1.25s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.btn-heal:hover .heal-heart i, .btn-heal.play .heal-heart i { animation: badgePop 1.25s ease both; }
.btn-heal:hover .btn-label, .btn-heal.play .btn-label { animation: labelDim 1.25s ease both; }
.btn-heal:hover, .btn-heal.play { animation: glueGlow 1.25s ease both; }

@keyframes splitL {
  0% { transform: none; }
  18%, 42% { transform: translateX(-9px) rotate(-3.5deg); }
  62% { transform: translateX(1px) rotate(0.5deg); }
  100% { transform: none; }
}
@keyframes splitR {
  0% { transform: none; }
  18%, 42% { transform: translateX(9px) rotate(3.5deg); }
  62% { transform: translateX(-1px) rotate(-0.5deg); }
  100% { transform: none; }
}
@keyframes heartPass {
  0% { opacity: 0; transform: translate(-50%, 80%) scale(0.3); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  48% { transform: translate(-50%, -50%) scale(0.9); }
  60% { transform: translate(-50%, -50%) scale(1.3); }
  75% { opacity: 1; transform: translate(-50%, -55%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -190%) scale(0.7); }
}
@keyframes badgePop {
  0%, 52% { transform: scale(0); }
  64% { transform: scale(1.3); }
  74%, 100% { transform: scale(1); }
}
@keyframes labelDim {
  0%, 100% { opacity: 1; }
  20%, 55% { opacity: 0.25; }
}
@keyframes glueGlow {
  0%, 55% { box-shadow: 0 8px 30px -8px rgba(255, 77, 141, 0.6); }
  62% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25), 0 12px 44px -6px rgba(255, 77, 141, 0.9); }
  100% { box-shadow: 0 12px 40px -8px rgba(139, 92, 246, 0.7); }
}


/* =====================================================
   V10 — responsive : téléphone, tablette, grand écran
   ===================================================== */

/* toutes tailles */
.cases-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: start; }
.case-photo { max-width: 240px; }
.faq summary { gap: 16px; }
.faq summary::after { flex-shrink: 0; }
img { max-width: 100%; }

/* grand écran : on garde une largeur de lecture confortable */
@media (min-width: 1600px) {
  main > section { max-width: 1280px; }
  main > section.hero { max-width: 1360px; }
  .iphone { width: 330px; }
}

/* tablette (561 → 820 px) : 2 ou 3 colonnes au lieu d'une seule */
@media (min-width: 561px) and (max-width: 820px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .step { padding: 22px; }
  .pains-grid, .plans, .flags { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:first-child { grid-column: span 2; }
  .why-card:last-child { grid-column: span 2; }
  .hero-cta .btn-big { width: auto; }
  main > section.hero { text-align: left; }
  .preview-text { max-width: 560px; margin: 0 auto; }
  .preview h2 { text-align: center; }
  .deck { max-width: 380px; }
}

/* téléphone (≤ 560 px) */
@media (max-width: 560px) {
  main > section { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .hero-cta .btn-big { width: 100%; }
  .nav { padding: 12px 16px; }
  .nav .btn-small { padding: 11px 16px; min-height: 42px; }
  .pain { padding: 18px; }
  .deck { max-width: 100%; }
  .deck-btn { width: 48px; height: 48px; }
  .card { padding: 20px; }
  .plan { padding: 24px; }
  .case-photo { max-width: 100%; width: 85%; }
}

/* petits téléphones (≤ 400 px) */
@media (max-width: 400px) {
  .mock { padding: 18px; }
  .mock-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mock-head > div:last-child { width: 100%; }
  .mock-head h3 { font-size: 1.25rem; }
  .pcard { padding: 16px; }
  .pcard-avatar { width: 108px; height: 108px; }
  .pcard-stats { gap: 6px; }
  .pcard-stats b { font-size: 1rem; }
  .pcard-stats small { font-size: 0.66rem; }
  .iphone { width: 262px; }
  .rotator { white-space: normal; }
}

/* écrans peu hauts (téléphone en paysage) : le hero ne force pas toute la hauteur */
@media (max-height: 520px) and (orientation: landscape) {
  main > section.hero { min-height: auto; padding-top: 32px; }
  .iphone { width: 240px; }
}

/* =====================================================
   V11 — Instagram plus réaliste + Messages d'iPhone
   ===================================================== */
@media (min-width: 561px) and (max-width: 820px) { .nav .btn-small { min-height: 42px; } }

/* horodatage en haut de la conv + accusés de lecture */
.chat-stamp { text-align: center; font-size: 0.66rem; color: #8e8e93; margin: 0 0 8px; line-height: 1.35; }
.chat-stamp b { font-weight: 600; }
.app-snap .chat-stamp { font-weight: 700; letter-spacing: 0.05em; color: #7a7a7a; }
.receipt { align-self: flex-end; font-size: 0.66rem; color: #8e8e93; margin: -2px 4px 0 0; animation: rise 0.3s both; }

/* lignes de bulles (Insta + Messages) */
.bubble-row { display: flex; align-items: flex-end; gap: 6px; animation: pop 0.3s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
.bubble-row.me { justify-content: flex-end; }
.bubble-row.grouped { margin-bottom: -3px; }
.bubble-row .ig-bubble, .bubble-row .im-bubble { animation: none; }
.row-av { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bubble-row.grouped .row-av { visibility: hidden; }

/* Instagram : bulles regroupées comme dans l'appli */
.app-insta .ig-bubble { max-width: 74%; }
.app-insta .bubble-row.grouped .ig-bubble.them { border-bottom-left-radius: 6px; }
.app-insta .bubble-row.grouped + .bubble-row .ig-bubble.them { border-top-left-radius: 6px; }
.app-insta .bubble-row.grouped .ig-bubble.me { border-bottom-right-radius: 6px; }
.app-insta .bubble-row.grouped + .bubble-row .ig-bubble.me { border-top-right-radius: 6px; }
.app-insta .a-head { border-bottom: 1px solid #1f1f1f; }
.app-insta .a-field { font-size: 0.84rem; }

/* ---- Messages d'iPhone (mode sombre) ---- */
.app-imsg { background: #000; }
.im-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: 4px 12px 8px;
  background: rgba(28, 28, 30, 0.92); border-bottom: 0.5px solid #38383a;
}
.im-back { display: flex; align-items: center; color: #0a84ff; margin-top: 12px; }
.im-back svg { width: 24px; height: 24px; stroke-width: 2.4; }
.im-back em { font-style: normal; font-size: 0.85rem; background: #0a84ff; color: #fff; border-radius: 99px; padding: 1px 7px; margin-left: -2px; }
.im-contact { display: grid; justify-items: center; gap: 3px; }
.im-av {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font: 600 1.15rem -apple-system, "Inter", sans-serif; color: #fff;
  background: linear-gradient(180deg, #a6abb8, #858a96);
}
.im-contact small { display: flex; align-items: center; font-size: 0.7rem; color: #fff; }
.im-contact small svg { width: 11px; height: 11px; opacity: 0.5; stroke-width: 2.6; }
.im-video { justify-self: end; color: #0a84ff; margin-top: 12px; }
.im-video svg { width: 24px; height: 24px; }

.im-bubble {
  position: relative; max-width: 72%; padding: 7px 12px; border-radius: 18px;
  font-size: 0.86rem; line-height: 1.3; color: #fff;
}
.im-bubble.me { background: #0a84ff; }
.im-bubble.them { background: #26252a; }
/* la petite queue de bulle, seulement sur le dernier message d'un groupe */
.bubble-row:not(.grouped) .im-bubble::before,
.bubble-row:not(.grouped) .im-bubble::after { content: ""; position: absolute; bottom: 0; height: 17px; }
.bubble-row:not(.grouped) .im-bubble.me::before { right: -7px; width: 20px; background: #0a84ff; border-bottom-left-radius: 16px 14px; }
.bubble-row:not(.grouped) .im-bubble.me::after { right: -26px; width: 26px; background: #000; border-bottom-left-radius: 10px; }
.bubble-row:not(.grouped) .im-bubble.them::before { left: -7px; width: 20px; background: #26252a; border-bottom-right-radius: 16px 14px; }
.bubble-row:not(.grouped) .im-bubble.them::after { left: -26px; width: 26px; background: #000; border-bottom-right-radius: 10px; }
.im-bubble.typing { display: flex; gap: 4px; padding: 11px 14px; }
.im-bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: dot 1s infinite; }
.im-bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.im-bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
.app-imsg .bubble-row.them { padding-left: 4px; }
.app-imsg .bubble-row.me { padding-right: 4px; }

.app-imsg .a-input { gap: 8px; }
.im-plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2c2c2e; color: #a1a1a6; flex-shrink: 0; }
.im-plus svg { width: 18px; height: 18px; stroke-width: 2.4; }
.app-imsg .a-field { height: 34px; padding: 0 4px 0 12px; border: 1px solid #3a3a3c; border-radius: 18px; }
.app-imsg .a-caret { background: #0a84ff; }
.app-imsg .a-ph { left: 12px; opacity: 0.45; }
.app-imsg .a-tools { margin-left: auto; color: #8e8e93; }
.app-imsg .a-tools svg { width: 18px; height: 18px; }
.app-imsg .a-send { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #0a84ff; color: #fff; flex-shrink: 0; }
.app-imsg .a-send svg { width: 16px; height: 16px; stroke-width: 2.6; }

/* icônes des notifications */
.notif-icon.notif-imsg { background: linear-gradient(180deg, #65f082, #0dbd3b); position: relative; }
.notif-icon.notif-imsg::after {
  content: ""; position: absolute; inset: 9px 7px 10px; background: #fff; border-radius: 50%;
}
.notif-icon.notif-snap { background: #fffc00; }
.a-ph { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 16px); }
.app-imsg .a-ph { left: 16px; }
.app-insta .a-ph, .app-snap .a-ph { left: 6px; }

/* =====================================================
   V12 — cœur en fin de scroll + Messages style iOS récent
   ===================================================== */

/* fin de la barre de progression : elle se fend, le cœur passe, elle se recolle */
.progress { transition: box-shadow 0.4s; }
.progress.glow { box-shadow: 0 0 14px 2px rgba(255, 77, 141, 0.8); }
.progress-heal { position: fixed; top: 0; left: 50%; width: 0; height: 0; z-index: 101; pointer-events: none; }
.ph-gap { position: absolute; top: 0; left: 0; height: 3px; width: 0; transform: translateX(-50%); background: var(--bg); }
.ph-heart {
  position: absolute; top: 0; left: 0; width: 28px; height: 28px; opacity: 0;
  transform: translate(-50%, -120%) scale(0.3);
  filter: drop-shadow(0 6px 14px rgba(255, 77, 141, 0.8));
}
.ph-heart svg { width: 100%; height: 100%; fill: #ff4d8d; }
.ph-heart i {
  position: absolute; right: -6px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%;
  display: grid; place-items: center; font: 800 0.56rem/1 "Inter", sans-serif; font-style: normal;
  background: #22c55e; color: #fff; box-shadow: 0 0 0 2px var(--bg); transform: scale(0);
}
.progress-heal.play .ph-gap { animation: gapOpenClose 1.4s cubic-bezier(0.45, 0, 0.2, 1) both; }
.progress-heal.play .ph-heart { animation: progressHeart 1.4s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.progress-heal.play .ph-heart i { animation: badgePop 1.4s ease both; }
@keyframes gapOpenClose {
  0% { width: 0; }
  18%, 44% { width: 22px; }
  60%, 100% { width: 0; }
}
@keyframes progressHeart {
  0% { opacity: 0; transform: translate(-50%, -120%) scale(0.3); }
  26% { opacity: 1; transform: translate(-50%, -30%) scale(1); }
  46% { transform: translate(-50%, -30%) scale(0.9); }
  60% { transform: translate(-50%, -20%) scale(1.3); }
  80% { opacity: 1; transform: translate(-50%, 20%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 110%) scale(0.7); }
}

/* ---- Messages : nouveau style iOS (en-tête en verre qui flotte sur la conv) ---- */
.app-imsg { padding-top: 44px; }
.app-imsg .glass {
  background: rgba(44, 44, 48, 0.72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.35);
}
.app-imsg .im-head {
  position: absolute; top: 46px; left: 0; right: 0; z-index: 3;
  background: linear-gradient(#000 20%, rgba(0, 0, 0, 0)); border: 0; padding: 4px 10px 18px;
}
.app-imsg .im-back { margin-top: 6px; color: #fff; padding: 5px 7px 5px 4px; border-radius: 99px; justify-self: start; gap: 2px; }
.app-imsg .im-back svg { width: 20px; height: 20px; stroke-width: 2.6; }
.app-imsg .im-back em { background: #fff; color: #000; font-weight: 700; font-size: 0.72rem; padding: 1px 6px; border-radius: 99px; }
.app-imsg .im-av {
  width: 50px; height: 50px; font-size: 1.45rem; font-weight: 500;
  background: radial-gradient(circle at 35% 30%, #5a4a70, #2c2536 75%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.app-imsg .im-contact { gap: 0; }
.app-imsg .im-contact small {
  margin-top: -9px; padding: 3px 9px; border-radius: 99px; font-weight: 700; font-size: 0.74rem; position: relative;
}
.app-imsg .im-contact small svg { opacity: 0.7; }
.app-imsg .im-video { margin-top: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.app-imsg .im-video svg { width: 19px; height: 19px; }

.app-imsg .chat-stamp { font-weight: 600; font-size: 0.68rem; color: #8e8e93; margin-top: 4px; }
.app-imsg .receipt { font-weight: 600; font-size: 0.66rem; }
.app-imsg .im-bubble.them { background: #262628; }
.bubble-row:not(.grouped) .im-bubble.them::before { background: #262628; }
.app-imsg .im-bubble { font-size: 0.88rem; padding: 8px 13px; }

.app-imsg .im-plus { width: 34px; height: 34px; background: #1c1c1e; color: #fff; }
.app-imsg .a-field { height: 36px; background: #1c1c1e; border-color: #38383a; border-radius: 99px; }
.app-imsg .a-ph { opacity: 0.5; }

/* V13 — cœur de fin de scroll bien visible : il descend sous le menu puis remonte recoller la barre */
.ph-heart { width: 46px; height: 46px; top: 0; }
.ph-heart i { width: 20px; height: 20px; font-size: 0.72rem; right: -7px; bottom: -4px; }
.progress-heal.play .ph-gap { animation: gapOpenClose2 1.9s cubic-bezier(0.45, 0, 0.2, 1) both; }
.progress-heal.play .ph-heart { animation: progressHeart2 1.9s cubic-bezier(0.34, 1.2, 0.4, 1) both; }
.progress-heal.play .ph-heart i { animation: badgePop2 1.9s ease both; }
@keyframes gapOpenClose2 {
  0% { width: 0; }
  12%, 62% { width: 34px; }
  78%, 100% { width: 0; }
}
@keyframes progressHeart2 {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.2); }
  14% { opacity: 1; transform: translate(-50%, 40%) scale(0.8); }
  30% { transform: translate(-50%, 110%) scale(1.15); }
  40% { transform: translate(-50%, 100%) scale(0.95); }
  58% { transform: translate(-50%, 100%) scale(1); }
  74% { opacity: 1; transform: translate(-50%, -30%) scale(0.55); }
  86% { opacity: 1; transform: translate(-50%, -30%) scale(0.75); }
  100% { opacity: 0; transform: translate(-50%, -30%) scale(0.3); }
}
@keyframes badgePop2 {
  0%, 36% { transform: scale(0); }
  46% { transform: scale(1.35); }
  56%, 70% { transform: scale(1); }
  80%, 100% { transform: scale(0); }
}

/* V14 — cœur de fin de scroll : version simple et fluide */
.ph-gap { width: 30px; transform: translateX(-50%) scaleX(0); }
.ph-heart { width: 40px; height: 40px; will-change: transform, opacity; }
.progress-heal.play .ph-gap { animation: gapSoft 1.8s ease-in-out both; }
.progress-heal.play .ph-heart { animation: heartSoft 1.8s ease-in-out both; }
.progress-heal.play .ph-heart i { animation: badgeSoft 1.8s ease-in-out both; }
@keyframes gapSoft {
  0% { transform: translateX(-50%) scaleX(0); }
  20%, 60% { transform: translateX(-50%) scaleX(1); }
  85%, 100% { transform: translateX(-50%) scaleX(0); }
}
@keyframes heartSoft {
  0% { opacity: 0; transform: translate(-50%, 20%) scale(0.6); }
  25%, 55% { opacity: 1; transform: translate(-50%, 70%) scale(1); }
  85% { opacity: 0.9; transform: translate(-50%, -20%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -20%) scale(0.4); }
}
@keyframes badgeSoft {
  0%, 25% { transform: scale(0); }
  38%, 60% { transform: scale(1); }
  80%, 100% { transform: scale(0); }
}

/* =====================================================
   V15 — footer complet + pages légales
   ===================================================== */
.site-footer { border-top: 1px solid var(--card-border); padding: 64px clamp(16px, 5vw, 64px) 32px; background: rgba(255, 255, 255, 0.015); }
.sf-grid { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.sf-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 12px; max-width: 340px; }
.sf-brand .sf-note { font-size: 0.82rem; }
.sf-col { display: flex; flex-direction: column; gap: 10px; }
.sf-col h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.sf-col a { color: var(--muted); font-size: 0.92rem; width: fit-content; transition: color 0.2s, transform 0.2s; }
.sf-col a:hover { color: var(--text); transform: translateX(3px); }
.sf-bottom {
  max-width: 1150px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--card-border);
  display: grid; gap: 6px; font-size: 0.78rem; color: var(--muted);
}
@media (max-width: 820px) {
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .sf-brand { grid-column: span 2; }
}
@media (max-width: 400px) {
  .sf-grid { grid-template-columns: 1fr; }
  .sf-brand { grid-column: auto; }
  .sf-col a { padding: 4px 0; }
}

/* pages légales */
.legal { max-width: 780px; margin: 0 auto; padding: 56px clamp(16px, 5vw, 32px) 80px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin-bottom: 14px; }
.legal h2 { font-size: 1.35rem; text-align: left; margin: 40px 0 12px; }
.legal p, .legal li, .legal td { color: #d6d3e4; font-size: 0.98rem; }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
.legal-intro { font-size: 1.1rem !important; color: var(--muted) !important; }
.legal-list { display: grid; gap: 8px; padding-left: 20px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 0.92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--card-border); vertical-align: top; }
.legal-table th { color: var(--text); font-weight: 600; font-size: 0.85rem; }
.todo { background: #fde047; color: #111; padding: 1px 6px; border-radius: 6px; font-weight: 600; font-size: 0.9em; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.contact-card h2 { margin-top: 0; font-size: 1.1rem; }
@media (max-width: 560px) {
  .legal-table thead { display: none; }
  .legal-table tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--card-border); }
  .legal-table td { border: 0; padding: 4px 0; }
  .legal-table td:first-child { font-weight: 600; color: var(--text); }
}
@media (max-width: 820px) { body:not(.legal-page) .site-footer { padding-bottom: 110px; } }

/* =====================================================
   V16 — « Tu te reconnais ? » avec mini-scènes de conv
   ===================================================== */
.pains h2 { margin-bottom: 10px; }
.pains-sub { text-align: center; margin-bottom: 40px; font-size: 1.05rem; }
.pains-grid2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain2 {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--card-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}
.pain2.visible:hover { transform: translateY(-6px); border-color: rgba(255, 77, 141, 0.45); }
.pain2 h3 { font-size: 1.12rem; letter-spacing: -0.01em; padding: 20px 20px 4px; line-height: 1.25; }
.pain2 > p { color: var(--muted); padding: 0 20px 22px; font-size: 0.95rem; }

/* zone « écran » de chaque carte */
.pv {
  position: relative; height: 190px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
  border-bottom: 1px solid var(--card-border); overflow: hidden;
}
.pv-bubble { max-width: 82%; padding: 7px 12px; border-radius: 16px; font-size: 0.8rem; line-height: 1.3; }
.pv-bubble.them { align-self: flex-start; background: #2a2436; border-bottom-left-radius: 5px; }
.pv-bubble.me { align-self: flex-end; background: var(--violet); border-bottom-right-radius: 5px; }
.pv-bubble b { display: block; font-size: 0.68rem; color: #c4b5fd; margin-bottom: 1px; }

/* 1 — écrire / effacer */
.pv-input {
  display: flex; align-items: center; min-height: 34px; margin-top: 6px; padding: 0 14px; border-radius: 99px;
  background: #1e1a28; border: 1px solid var(--card-border); font-size: 0.8rem; white-space: nowrap; overflow: hidden;
}
.pv-caret { width: 1.5px; height: 15px; margin-left: 1px; background: var(--pink); animation: blink 0.9s steps(1) infinite; }
.pv-sent { opacity: 0; transform: translateY(8px) scale(0.9); transition: all 0.35s cubic-bezier(0.2, 1.3, 0.4, 1); }
.pv-sent.show { opacity: 1; transform: none; }

/* 2 — groupe de potes */
.pv-title { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: 0.7rem; color: var(--muted); }
.pv-shot { display: grid; gap: 4px; width: 60px; padding: 8px; background: #3b2f5c; }
.pv-shot span { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); }
.pv-shot span:nth-child(2) { width: 70%; justify-self: end; background: rgba(139, 92, 246, 0.9); }
.pv-shot span:nth-child(3) { width: 55%; }

/* 3 — jauge qui hésite */
.pv-doubt { justify-content: space-between; }
.pv-gauge { display: grid; justify-items: center; gap: 6px; }
.pv-arc {
  position: relative; width: 150px; height: 75px; border-radius: 150px 150px 0 0; overflow: hidden;
  background: conic-gradient(from 270deg at 50% 100%, #fb7185, #ffb347 90deg, #34d399 180deg, transparent 180deg);
}
.pv-arc::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 61px; border-radius: 120px 120px 0 0; background: #1b1724; }
.pv-needle {
  position: absolute; left: 50%; bottom: 0; z-index: 1; width: 3px; height: 64px; margin-left: -1.5px; border-radius: 3px;
  background: #fff; transform-origin: 50% 100%; animation: hesitate 2.4s ease-in-out infinite;
}
.pv-needle::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #fff; }
@keyframes hesitate {
  0%, 100% { transform: rotate(-55deg); }
  30% { transform: rotate(40deg); }
  55% { transform: rotate(-20deg); }
  75% { transform: rotate(25deg); }
}
.pv-labels { display: flex; justify-content: space-between; width: 170px; font-size: 0.66rem; color: var(--muted); }

/* 4 — conv qui meurt */
.pv-dead .pv-bubble { opacity: 0.55; }
.pv-dead .pv-bubble:nth-child(3) { opacity: 0.9; }
.pv-seen { align-self: flex-end; font-size: 0.68rem; color: var(--muted); animation: fadeSeen 3s ease-in-out infinite; }
@keyframes fadeSeen { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.pains-answer { text-align: center; margin-top: 44px; display: grid; justify-items: center; gap: 10px; }
.pains-answer p { font: 800 clamp(1.6rem, 3.5vw, 2.4rem) "Bricolage Grotesque"; letter-spacing: -0.03em; }
.pains-link { color: var(--muted); font-weight: 500; transition: color 0.2s, transform 0.2s; }
.pains-link:hover { color: var(--text); transform: translateX(4px); }

@media (max-width: 1100px) { .pains-grid2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .pains-grid2 { grid-template-columns: 1fr; }
  .pv { height: 170px; }
}
@media (prefers-reduced-motion: reduce) { .pv-needle { animation-duration: 5s; } }
.pains-link { font: 500 1rem "Inter", sans-serif; letter-spacing: 0; }
.pv-group { padding-top: 34px; }
.pv-title { top: 10px; }

/* V17 — démo honnête : capture → site Wingo dans Safari → copier → coller */
.demo-status[data-state="shot"] i { background: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
.shot-flash { position: absolute; inset: 0; z-index: 40; background: #fff; pointer-events: none; animation: shotFlash 0.45s ease-out forwards; }
@keyframes shotFlash { from { opacity: 0.9; } to { opacity: 0; } }
.shot-thumb {
  position: absolute; left: 14px; bottom: 30px; z-index: 41; width: 30%; height: 27%; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 6px;
  background: #121212; border: 2px solid #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.6);
  font-size: 0.3rem; transform-origin: 0 100%; animation: thumbIn 0.5s cubic-bezier(0.22,1,0.36,1) both;
  transition: transform 0.6s cubic-bezier(0.32,0.72,0,1), opacity 0.4s;
}
.shot-thumb * { font-size: inherit !important; }
.shot-thumb.gone { transform: translateX(-120%) scale(0.8); opacity: 0; }
@keyframes thumbIn { from { transform: scale(3.2); opacity: 0.3; } }

/* Safari avec le site Wingo */
.app-safari { background: #0c0a14; padding: 50px 0 26px; }
.sf-page { flex: 1; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.sf-top { display: flex; justify-content: space-between; align-items: center; }
.sf-pill { font-size: 0.66rem; padding: 3px 9px; border-radius: 99px; background: rgba(255,77,141,.15); color: #ff8fb6; }
.sf-loading { flex: 1; display: grid; place-content: center; justify-items: center; gap: 10px; }
.sf-loading i { display: inline-block; width: 9px; height: 9px; margin: 0 3px; border-radius: 50%; background: var(--grad); animation: dot 1s infinite; }
.sf-loading i:nth-child(2) { animation-delay: .15s; } .sf-loading i:nth-child(3) { animation-delay: .3s; }
.sf-loading p { font-size: 0.78rem; color: var(--muted); }
.sf-result { display: none; flex-direction: column; gap: 6px; }
.app-safari.done .sf-loading { display: none; }
.app-safari.done .sf-result { display: flex; animation: rise .5s cubic-bezier(0.22,1,0.36,1) both; }
.app-safari.done .w-meter span { width: var(--w); }
.sf-label { font-size: 0.6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.sf-score { display: flex; align-items: baseline; gap: 4px; }
.sf-score b { font: 800 1.9rem "Bricolage Grotesque", sans-serif; line-height: 1; }
.sf-score small { color: var(--muted); font-size: .75rem; }
.sf-score span { margin-left: auto; font-size: .7rem; color: #6ee7b7; }
.sf-sugg { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid transparent; transition: all .3s; }
.sf-sugg small { font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #c4b5fd; }
.sf-sugg p { font-size: .74rem; line-height: 1.3; }
.sf-copy { margin-left: auto; flex-shrink: 0; font-size: .64rem; font-weight: 600; padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.1); }
.sf-sugg.picked { border-color: var(--pink); background: rgba(255,77,141,.18); }
.sf-sugg.picked .sf-copy { background: #22c55e; color: #fff; }
.sf-bar { margin: 6px 12px 0; padding: 9px; border-radius: 99px; text-align: center; font-size: .78rem; background: rgba(60,60,67,.6); backdrop-filter: blur(12px); }

/* bulle « Coller » d'iOS */
.a-input { position: relative; }
.paste-pop {
  position: absolute; left: 50px; top: -34px; z-index: 5; padding: 6px 14px; border-radius: 9px;
  background: #3a3a3c; color: #fff; font-size: .78rem; box-shadow: 0 6px 20px rgba(0,0,0,.5);
  animation: pop .25s cubic-bezier(0.2,1.3,0.4,1) both;
}
.paste-pop::after { content: ""; position: absolute; left: 18px; bottom: -5px; border: 6px solid transparent; border-bottom: 0; border-top-color: #3a3a3c; }
.paste-pop.tap { background: #636366; }
.sf-loading { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 0; }
.sf-loading p { width: 100%; text-align: center; margin-top: 12px; }

/* =====================================================
   V18 — sections plus propres et homogènes
   ===================================================== */
/* bulles communes, sobres */
.cm, .pv-bubble {
  max-width: 85%; padding: 8px 13px; border-radius: 18px; font-size: 0.86rem; line-height: 1.35;
  box-shadow: none;
}
.cm.them, .pv-bubble.them { align-self: flex-start; background: #262230; border-bottom-left-radius: 6px; }
.cm.me, .pv-bubble.me { align-self: flex-end; background: #7c4dff; border-bottom-right-radius: 6px; }
.cm-seen { align-self: flex-end; font-size: 0.7rem; color: var(--muted); }

/* ---- Tu te reconnais : visuels centrés, même rythme ---- */
.pain2 { background: rgba(255,255,255,0.03); }
.pv { height: 176px; justify-content: center; gap: 8px; background: rgba(255,255,255,0.025); padding: 18px; }
.pv-type { justify-content: flex-end; }
.pv-group { padding-top: 18px; }
.pv-dead .pv-bubble { opacity: 0.6; }
.pv-doubt { justify-content: center; gap: 14px; }
.pv-doubt .pv-bubble { align-self: center; }
.pain2 h3 { padding: 18px 20px 6px; font-size: 1.05rem; }
.pain2 > p { padding: 0 20px 20px; font-size: 0.92rem; }

/* ---- Situations : avant / après ---- */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.ex {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid var(--card-border);
  transition: transform .35s cubic-bezier(0.22,1,0.36,1), border-color .3s;
}
.ex.visible:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.5); }
.ex-head { padding: 20px 20px 0; }
.ex-app { font-size: 0.7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex-head h3 { font-size: 1.1rem; margin-top: 4px; letter-spacing: -0.01em; }
.ex-before { flex: 1; min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 20px; }
.ex-after { padding: 16px 20px 20px; background: rgba(139,92,246,.08); border-top: 1px solid rgba(139,92,246,.25); }
.ex-label { font-size: 0.72rem; color: #c4b5fd; margin-bottom: 8px; }
.ex-label .w-logo { font-size: 0.85rem; color: var(--text); }
.ex-reply { font: 600 1rem/1.4 "Inter", sans-serif; color: var(--text); }
.ex-profile { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: #262230; }
.ex-profile img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.ex-profile b { display: block; font-size: 0.95rem; }
.ex-profile small { color: var(--muted); font-size: 0.78rem; }
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.cases h2 { margin-bottom: 10px; }
.ex-after { min-height: 132px; }
.ex-before { min-height: 140px; }
.pv-group { gap: 6px; }

/* =====================================================
   V19 — « Simple comme un screen » illustré
   ===================================================== */
.steps h2 { margin-bottom: 10px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.flow-step {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.03); border: 1px solid var(--card-border);
  transition: border-color .5s, box-shadow .5s, transform .5s cubic-bezier(.22,1,.36,1);
}
.flow-step.active { border-color: rgba(255,77,141,.45); box-shadow: 0 20px 50px -25px rgba(255,77,141,.5); }
.flow-step.visible.active { transform: translateY(-4px); }
.fv { position: relative; height: 210px; padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--card-border); overflow: hidden; }
.flow-text { display: flex; gap: 14px; padding: 18px 20px 22px; }
.flow-n {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  font: 800 .9rem "Bricolage Grotesque", sans-serif; background: rgba(255,255,255,.07); color: var(--muted); transition: all .4s;
}
.flow-step.active .flow-n { background: var(--grad); color: #fff; }
.flow-text h3 { font-size: 1.08rem; margin-bottom: 4px; letter-spacing: -.01em; }
.flow-text p { color: var(--muted); font-size: .92rem; }

/* 1 — capture */
.fv-phone {
  position: relative; align-self: center; width: 78%; display: flex; flex-direction: column; gap: 5px; padding: 12px;
  border-radius: 18px; background: #121212; border: 1px solid #2a2a2a; overflow: hidden;
}
.fv-phone .cm { font-size: .72rem; padding: 6px 10px; }
.fv-name { font-size: .7rem; font-weight: 600; color: var(--muted); text-align: center; margin-bottom: 2px; }
.fv-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.fv-badge {
  position: absolute; bottom: 12px; left: 50%; transform: translate(-50%, 10px); opacity: 0;
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: #fff; color: #111; white-space: nowrap;
}
.flow-step.play .fv-flash { animation: fvFlash .6s ease-out; }
.flow-step.play .fv-phone { animation: fvShrink 1.4s cubic-bezier(.22,1,.36,1) .3s both; }
.flow-step.play .fv-badge { animation: fvBadge 2.2s ease .5s both; }
@keyframes fvFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes fvShrink { 0% { transform: scale(1); } 40%, 100% { transform: scale(.9) translateY(-8px); box-shadow: 0 0 0 2px #fff; } }
@keyframes fvBadge { 0% { opacity: 0; transform: translate(-50%, 10px); } 20%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 1; transform: translate(-50%, 0); } }

/* 2 — décodage */
.fv-score { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.fv-score small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fv-score b { font: 800 2.4rem/1 "Bricolage Grotesque", sans-serif; }
.fv-score em { font: 500 .85rem "Inter", sans-serif; color: var(--muted); font-style: normal; }
.fv-verdict { font-size: .78rem; font-weight: 600; color: #6ee7b7; padding-bottom: 6px; }
.fv-meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.fv-meter span { display: block; height: 100%; width: 82%; border-radius: 6px; background: linear-gradient(90deg, #34d399, #a3e635); transform-origin: left; }
.fv-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.fv-flags .flag { font-size: .72rem; padding: 5px 10px; }
.fv-scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,77,141,.25), transparent); border-bottom: 1px solid rgba(255,77,141,.6); }
.flow-step.play .fv-scan { animation: fvScan 1.1s ease-in-out; }
.flow-step.play .fv-meter span { animation: fvFill 1.2s cubic-bezier(.22,1,.36,1) .4s both; }
.flow-step.play .fv-score, .flow-step.play .fv-flags .flag { animation: cardIn .5s cubic-bezier(.22,1,.36,1) both; }
.flow-step.play .fv-score { animation-delay: .3s; }
.flow-step.play .fv-flags .flag:nth-child(1) { animation-delay: .7s; }
.flow-step.play .fv-flags .flag:nth-child(2) { animation-delay: .85s; }
.flow-step.play .fv-flags .flag:nth-child(3) { animation-delay: 1s; }
@keyframes fvScan { 0% { top: -40px; opacity: 1; } 100% { top: 100%; opacity: 1; } }
@keyframes fvFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 3 — envoi */
.fv-reply { padding: 12px 14px; border-radius: 16px; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.35); }
.fv-reply-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.fv-reply-top small { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c4b5fd; }
.fv-copy { font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #22c55e; color: #fff; }
.fv-reply p { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.fv-send .cm { font-size: .8rem; max-width: 80%; }
.flow-step.play .fv-copy { animation: pop .35s cubic-bezier(.2,1.4,.4,1) .4s both; }
.flow-step.play .fv-sent { animation: fvSend .6s cubic-bezier(.22,1,.36,1) 1.1s both; }
.flow-step.play .fv-seen { animation: cardIn .4s ease 1.7s both; }
@keyframes fvSend { from { opacity: 0; transform: translateY(14px) scale(.9); } }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .fv { height: 190px; }
}

/* V20 — étapes avec une vraie conv Snapchat */
.fv-phone.rs { width: 86%; padding: 0; gap: 0; border-radius: 20px; background: #121212; border: 1px solid #262626; }
.rs-head { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-bottom: 1px solid #262626; }
.rs-back { font-size: 1.1rem; line-height: 1; color: #fff; }
.rs-head img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #fffc00; }
.rs-name { display: grid; line-height: 1.1; }
.rs-name b { font-size: .72rem; }
.rs-name small { font-size: .56rem; color: #8e8e8e; }
.rs-chat { display: flex; flex-direction: column; padding: 8px 10px 10px; gap: 1px; }
.rs-label { font-size: .5rem; font-weight: 700; letter-spacing: .05em; margin-top: 4px; }
.rs-label.them { color: #0eadff; } .rs-label.me { color: #f23c57; }
.rs-line { font-size: .68rem; line-height: 1.3; padding-left: 7px; border-left: 2px solid; }
.rs-line.them { border-color: #0eadff; } .rs-line.me { border-color: #f23c57; }
.rs-input { display: flex; align-items: center; gap: 6px; padding: 0 8px 8px; }
.rs-cam { width: 20px; height: 20px; border-radius: 50%; background: #2a2a2a; flex-shrink: 0; }
.rs-field { flex: 1; font-size: .6rem; color: #8e8e8e; background: #262626; border-radius: 99px; padding: 5px 9px; }
.fv-send { padding-top: 12px; padding-bottom: 12px; }
.fv-send .fv-sent, .fv-send .fv-seen { display: flex; flex-direction: column; gap: 1px; }
.fv-send .fv-phone { align-self: center; }
.fv-copy-badge { bottom: 8px; }
.flow-step.play .fv-copy-badge { animation: fvBadge 2.2s ease .2s both; }
.flow-step.play .fv-sent { animation: fvSend .6s cubic-bezier(.22,1,.36,1) .6s both; }
.flow-step.play .fv-seen { animation: fvSend .6s cubic-bezier(.22,1,.36,1) 1.7s both; }
/* étape 2 : en-tête du site */
.rs-site { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.rs-site .w-logo { font-size: 1rem; }
.rs-thumb { display: flex; align-items: center; gap: 6px; font-size: .68rem; color: var(--muted); padding: 3px 9px 3px 3px; border-radius: 99px; background: rgba(255,255,255,.06); }
.rs-thumb img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.fv-decode { gap: 8px; }
.fv-decode .fv-score b { font-size: 2rem; }
.flow .fv { height: 256px; }
@media (max-width: 900px) { .flow .fv { height: 250px; } }

/* =====================================================
   V21 — mini-test interactif « On t'a répondu ça ? »
   ===================================================== */
.quiz h2 { margin-bottom: 10px; }
.quiz-box {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; max-width: 920px; margin: 0 auto;
  padding: 20px; border-radius: 28px; background: rgba(255,255,255,.03); border: 1px solid var(--card-border);
}
.quiz-pick { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 8px; }
.qp {
  align-self: flex-start; cursor: pointer; font: 500 .98rem "Inter", sans-serif; color: var(--text); text-align: left;
  padding: 11px 16px; border-radius: 20px; border-bottom-left-radius: 6px; border: 1px solid transparent;
  background: #262230; transition: all .25s cubic-bezier(.22,1,.36,1);
}
.qp:hover { transform: translateX(4px); border-color: rgba(255,77,141,.4); }
.qp.on { background: #fff; color: #111; transform: translateX(8px); box-shadow: 0 10px 30px -10px rgba(255,77,141,.6); }
.qp-seen { background: transparent; border: 1px dashed var(--card-border); color: var(--muted); font-size: .85rem; border-radius: 99px; }
.qp-seen.on { background: #fff; color: #111; border-style: solid; }
.quiz-result {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px;
  background: linear-gradient(#16121f, #16121f) padding-box, var(--grad) border-box; border: 1px solid transparent;
}
.quiz-result.in > * { animation: cardIn .45s cubic-bezier(.22,1,.36,1) both; }
.quiz-result.in > :nth-child(3) { animation-delay: .05s; }
.quiz-result.in > :nth-child(5) { animation-delay: .1s; }
.quiz-result.in > :nth-child(6) { animation-delay: .15s; }
.qr-top { display: flex; justify-content: space-between; align-items: flex-end; }
.qr-top small, .qr-label { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qr-top b { display: block; font: 800 2.6rem/1 "Bricolage Grotesque", sans-serif; }
.qr-top em { font: 500 .9rem "Inter", sans-serif; font-style: normal; color: var(--muted); }
.qr-verdict { font: 800 1.3rem "Bricolage Grotesque", sans-serif; padding-bottom: 4px; }
#qr-meter { display: block; height: 100%; border-radius: 6px; transform: none; transition: width .7s cubic-bezier(.22,1,.36,1), background .4s; }
.qr-read { color: #d6d3e4; font-size: .95rem; }
.qr-label { margin-top: 4px; }
.qr-reply { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.35); }
.qr-reply p { font-weight: 600; flex: 1; }
.qr-copy { flex-shrink: 0; cursor: pointer; font: 600 .78rem "Inter", sans-serif; color: var(--text); padding: 8px 14px; border-radius: 99px; border: 0; background: rgba(255,255,255,.1); transition: background .2s; }
.qr-copy:hover { background: rgba(255,255,255,.2); }
.qr-locked { display: grid; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--card-border); }
.qr-locked p { font-size: .88rem; color: var(--muted); }
.qr-blur { display: grid; gap: 6px; }
.qr-blur span { height: 38px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.14), rgba(255,255,255,.08)); filter: blur(1px); }
.qr-blur span:nth-child(2) { width: 80%; }
@media (max-width: 820px) {
  .quiz-box { grid-template-columns: 1fr; padding: 14px; }
  .quiz-pick { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding: 0; }
  .qp, .qp.on { transform: none; font-size: .9rem; padding: 10px 14px; }
  .qp:hover { transform: none; }
}
.qp-title { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; width: 100%; }

/* V22 — mini-test : vraie conv à gauche */
.quiz-pick { justify-content: flex-start; gap: 12px; padding: 0; }
.qc { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid #262626; min-height: 300px; }
.qc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #1f1f1f; }
.qc-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.qc-head b { display: block; font-size: .92rem; }
.qc-head small { font-size: .72rem; color: #8e8e93; }
.qc.qc-snap .qc-head img { box-shadow: 0 0 0 2px #fffc00; }
.qc-insta .qc-head img { box-shadow: 0 0 0 2px #000, 0 0 0 4px #d62976; }
.qc-imsg .qc-head { flex-direction: column; gap: 4px; background: #111; }
.qc-imsg .qc-head div { text-align: center; }
.qc-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; font-family: -apple-system, "Inter", sans-serif; }
.qc-b { max-width: 80%; padding: 8px 13px; border-radius: 20px; font-size: .9rem; line-height: 1.3; }
.qc-b.them { align-self: flex-start; background: #262626; }
.qc-b.me { align-self: flex-end; }
.qc-insta .qc-b.me { background: linear-gradient(135deg, #7b3cf7, #3a8bff); }
.qc-imsg .qc-b.me { background: #0a84ff; }
.qc-imsg .qc-b.them { background: #262628; }
.qc.qc-snap { background: #121212; }
.qc.qc-snap .qc-chat { gap: 2px; }
.qs small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .04em; margin-top: 6px; }
.qs.me small { color: #f23c57; } .qs.them small { color: #0eadff; }
.qs p { font-size: .9rem; padding-left: 9px; border-left: 2px solid; }
.qs.me p { border-color: #f23c57; } .qs.them p { border-color: #0eadff; }
.qs small:empty { display: none; }
.qc-typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 14px; border-radius: 20px; background: #262626; }
.qc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e93; animation: dot 1s infinite; }
.qc-typing i:nth-child(2) { animation-delay: .15s; } .qc-typing i:nth-child(3) { animation-delay: .3s; }
.qc-chat .new { animation: pop .35s cubic-bezier(.2,1.3,.4,1) both; box-shadow: 0 0 0 2px rgba(255,77,141,.6); }
.qs.new { box-shadow: none; }
.qc-seen { align-self: flex-end; font-size: .72rem; color: #8e8e93; animation: fadeSeen 3s ease-in-out infinite; }
.qp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.qp-tabs .qp { align-self: auto; font-size: .82rem; padding: 7px 12px; border-radius: 99px; }
.qp-tabs .qp.on { transform: none; }
.qp-tabs .qp:hover { transform: none; }
.qp-title { margin: 4px 0 0; }

/* =====================================================
   V23 — zone d'envoi : plus vivante, rebonds et pops
   ===================================================== */
#upload-card {
  padding: 26px; border-radius: 28px;
  background: linear-gradient(#15111e, #15111e) padding-box, linear-gradient(135deg, rgba(255,77,141,.5), rgba(139,92,246,.35), rgba(255,179,71,.4)) border-box;
  border: 1px solid transparent; box-shadow: 0 40px 90px -40px rgba(139,92,246,.5);
}
.label { display: flex; align-items: center; gap: 10px; }
.label-first { margin-top: 0; }
.step-dot {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font: 800 .78rem "Bricolage Grotesque", sans-serif; background: var(--grad); color: #fff;
}

/* choix de l'appli : rebond au clic */
.chip { transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s; }
.chip:active { transform: scale(.92); }
.chip.active { animation: chipPop .4s cubic-bezier(.34,1.56,.64,1); }
@keyframes chipPop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* onglets capture / texte avec pastille qui glisse */
.mode-tabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 14px;
  border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--card-border);
}
.mode-tabs::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px;
  background: #fff; transition: transform .45s cubic-bezier(.34,1.4,.64,1);
}
.mode-tabs[data-mode="text"]::before { transform: translateX(100%); }
.mode-tab {
  position: relative; z-index: 1; cursor: pointer; border: 0; background: none; padding: 10px;
  font: 600 .9rem "Inter", sans-serif; color: var(--muted); transition: color .3s;
}
.mode-tab.active { color: #111; }

/* alerte Snapchat */
.snap-warn {
  display: grid; gap: 8px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.45;
  background: rgba(255,252,0,.08); border: 1px solid rgba(255,252,0,.35); color: #fff7a8;
  animation: cardIn .4s cubic-bezier(.22,1,.36,1) both;
}
.snap-warn[hidden] { display: none; }
.snap-warn b { color: #fffc00; }
.snap-warn-btn {
  justify-self: start; cursor: pointer; border: 0; padding: 7px 14px; border-radius: 99px;
  font: 600 .85rem "Inter", sans-serif; background: #fffc00; color: #111; transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.snap-warn-btn:hover { transform: scale(1.05); }

/* zone texte */
.text-mode { display: grid; gap: 8px; margin-bottom: 16px; animation: cardIn .4s cubic-bezier(.22,1,.36,1) both; }
.text-mode[hidden] { display: none; }
#conv-text {
  width: 100%; resize: vertical; min-height: 170px; padding: 14px 16px; border-radius: 16px;
  font: 400 .95rem/1.5 "Inter", sans-serif; color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--card-border); outline: none; transition: border-color .2s, box-shadow .2s;
}
#conv-text:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,77,141,.15); }

/* zone de dépôt */
.dropzone {
  position: relative; min-height: 230px; margin-bottom: 16px; border-radius: 20px;
  border: 2px dashed rgba(255,255,255,.14); background: radial-gradient(circle at 50% 35%, rgba(139,92,246,.1), transparent 65%);
  transition: border-color .25s, background .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.dropzone[hidden] { display: none; }
.dropzone:hover { border-color: rgba(255,77,141,.6); }
.dropzone.drag { border-color: var(--pink); background: rgba(255,77,141,.08); transform: scale(1.02); }
.dropzone.filled { border-style: solid; border-color: rgba(139,92,246,.5); }
#drop-hint { display: grid; justify-items: center; gap: 14px; }
.drop-art { position: relative; width: 74px; height: 110px; animation: bob 3.5s ease-in-out infinite; }
.da-phone {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 10px 8px;
  border-radius: 16px; background: #121212; border: 2px solid rgba(255,255,255,.18);
}
.da-b { display: block; height: 11px; border-radius: 6px; width: 70%; }
.da-b.them { background: #3a3346; align-self: flex-start; }
.da-b.me { background: var(--violet); align-self: flex-end; }
.da-b.short { width: 45%; }
.da-arrow {
  position: absolute; right: -14px; top: -12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 6px 16px rgba(255,77,141,.5); animation: arrowHop 1.6s ease-in-out infinite;
}
.da-arrow svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes arrowHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.dropzone:hover .da-phone { border-color: rgba(255,77,141,.6); }
.dropzone.drag .drop-art { animation: none; transform: scale(1.12) rotate(-4deg); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }

/* la capture arrive en rebond */
#preview:not([hidden]) {
  max-height: 300px; border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
  animation: shotDrop .7s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes shotDrop {
  0% { opacity: 0; transform: translateY(-40px) scale(.7) rotate(-6deg); }
  60% { opacity: 1; transform: translateY(6px) scale(1.04) rotate(1.5deg); }
  100% { transform: none; }
}

/* bouton Décoder : cœur brisé au survol + pop quand il devient actif */
.btn-analyze { margin-top: 2px; }
.btn-analyze:disabled { opacity: .35; }
.btn-analyze:disabled .half { filter: grayscale(.6); }
.btn-analyze:disabled:hover .half-l, .btn-analyze:disabled:hover .half-r,
.btn-analyze:disabled:hover .heal-heart, .btn-analyze:disabled:hover .btn-label,
.btn-analyze:disabled:hover .heal-heart i { animation: none; }
.btn-analyze:disabled:hover { animation: none; transform: none; }
.btn-analyze.ready { animation: readyPop .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes readyPop { 0% { transform: scale(.94); } 55% { transform: scale(1.04); } 100% { transform: scale(1); } }

@media (max-width: 560px) {
  #upload-card { padding: 18px; }
  .dropzone { min-height: 200px; }
}
#drop-hint[hidden] { display: none; }
.snap-line { position: relative; }
.snap-line.copying { background: rgba(14,173,255,.18); border-radius: 0 6px 6px 0; }
.copy-pop { left: 20px; top: -34px; }

/* V24 — cœur brisé aussi sur les boutons « ghost » */
.btn-ghost.btn-heal .half { background: #2a2733; }
.btn-ghost.btn-heal { border: 0; }
.btn-ghost.btn-heal .half { box-shadow: inset 0 0 0 1px var(--card-border); }

/* =====================================================
   V25 — exemples : l'histoire complète de chaque conv
   ===================================================== */
.ex2 {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #0f0d15; border: 1px solid var(--card-border);
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s;
}
.ex2.visible:hover { transform: translateY(-6px); border-color: rgba(255,77,141,.45); }
.ex2-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #1f1c28; }
.ex2-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ex2-snap .ex2-head img { box-shadow: 0 0 0 2px #fffc00; }
.ex2-insta .ex2-head img { box-shadow: 0 0 0 2px #0f0d15, 0 0 0 4px #d62976; }
.ex2-tinder .ex2-head img { box-shadow: 0 0 0 2px #fe3c72; border-radius: 12px; }
.ex2-head b { display: block; font-size: .92rem; }
.ex2-head small { font-size: .72rem; color: var(--muted); }
.ex2-tag {
  grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 99px;
  background: rgba(251,113,133,.12); color: #fda4af;
}
.ex2-chat { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 10px; font-family: -apple-system, "Inter", sans-serif; }
/* style Snap */
.ex2-s { font-size: .86rem; line-height: 1.35; padding-left: 9px; border-left: 2px solid; }
.ex2-s small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 1px; }
.ex2-s.me { border-color: #f23c57; } .ex2-s.me small { color: #f23c57; }
.ex2-s.them { border-color: #0eadff; } .ex2-s.them small { color: #0eadff; }
.ex2-s + .ex2-s.me:not(:has(small)) { margin-top: -4px; }
/* style bulles */
.ex2-b { max-width: 84%; padding: 8px 12px; border-radius: 18px; font-size: .86rem; line-height: 1.35; }
.ex2-b.them { align-self: flex-start; background: #262626; border-bottom-left-radius: 6px; }
.ex2-insta .ex2-b.me { align-self: flex-end; background: linear-gradient(135deg, #7b3cf7, #3a8bff); border-bottom-right-radius: 6px; }
.ex2-tinder .ex2-b.me { align-self: flex-end; background: linear-gradient(135deg, #fd267a, #ff6036); border-bottom-right-radius: 6px; }
.ex2-seen { align-self: flex-end; font-size: .72rem; color: var(--muted); }
.ex2-match { align-self: center; font-size: .72rem; color: #fe8aa9; padding: 4px 10px; border-radius: 99px; background: rgba(254,60,114,.12); }
.ex2-draft { align-self: flex-end; text-align: right; font-size: .86rem; color: var(--muted); text-decoration: line-through; text-decoration-color: #fb7185; }
.ex2-draft small { display: block; text-decoration: none; font-size: .68rem; }
/* le message galère est entouré, la réponse Wingo ressort */
.ex2 .hl { outline: 2px solid rgba(251,113,133,.55); outline-offset: 3px; border-radius: 8px; }
.ex2-wingo {
  display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; font-size: .72rem; color: #c4b5fd;
}
.ex2-wingo::before, .ex2-wingo::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,.5), transparent); }
.ex2-wingo .w-logo { font-size: .85rem; color: var(--text); }
.ex2 .sent { box-shadow: 0 0 0 2px rgba(139,92,246,.6); }
.ex2 .ex2-s.sent { box-shadow: none; background: rgba(139,92,246,.12); border-radius: 0 8px 8px 0; padding: 4px 8px 4px 9px; }
.ex2-result {
  margin: 0 16px 16px; padding: 9px 12px; border-radius: 12px; font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.ex2-result.good { background: rgba(52,211,153,.1); color: #6ee7b7; }
.ex2-result.good::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; background: #22c55e; color: #fff; }
/* apparition des messages en cascade quand la carte arrive */
.ex2 .ex2-chat > * { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.34,1.4,.64,1); }
.ex2.visible .ex2-chat > * { opacity: 1; transform: none; }
.ex2.visible .ex2-chat > :nth-child(1) { transition-delay: 0.25s; }
.ex2.visible .ex2-chat > :nth-child(2) { transition-delay: 0.43s; }
.ex2.visible .ex2-chat > :nth-child(3) { transition-delay: 0.61s; }
.ex2.visible .ex2-chat > :nth-child(4) { transition-delay: 0.79s; }
.ex2.visible .ex2-chat > :nth-child(5) { transition-delay: 0.97s; }
.ex2.visible .ex2-chat > :nth-child(6) { transition-delay: 1.15s; }
.ex2.visible .ex2-chat > :nth-child(7) { transition-delay: 1.33s; }
.ex-note { text-align: center; margin-top: 16px; }
.ex2-draft small { display: inline-block; width: 100%; text-decoration: none; }
.pill { cursor: default; }
.pill-pro { cursor: pointer; background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }

/* =====================================================
   V26 — header qui devient une capsule flottante au scroll
   ===================================================== */
.nav {
  top: 0; margin: 0 auto; width: 100%; max-width: 100%;
  border: 1px solid transparent; border-bottom-color: var(--card-border); border-radius: 0;
  transition:
    top .6s cubic-bezier(.22,1,.36,1), max-width .6s cubic-bezier(.22,1,.36,1),
    border-radius .6s cubic-bezier(.22,1,.36,1), padding .6s cubic-bezier(.22,1,.36,1),
    background-color .4s, border-color .4s, box-shadow .6s;
  animation: navIn .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-100%); } }
.nav.scrolled {
  top: 14px; max-width: min(1120px, calc(100% - 32px));
  padding: 10px 12px 10px 24px; border-radius: 99px;
  border-color: rgba(255,255,255,.12);
  background: rgba(22, 18, 32, .72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.nav.scrolled .logo { font-size: 1.4rem; }
.nav .logo { transition: font-size .5s cubic-bezier(.22,1,.36,1); }
.nav.scrolled .nav-links { gap: 24px; }
.nav.scrolled .pill { background: rgba(255,255,255,.06); }
/* le contenu glisse légèrement quand la capsule se forme */
.nav.scrolled .nav-links, .nav.scrolled .nav-right { animation: navPop .5s cubic-bezier(.34,1.4,.64,1); }
@keyframes navPop { from { transform: scale(.96); opacity: .6; } }
@media (max-width: 820px) {
  .nav.scrolled { top: 10px; padding: 8px 8px 8px 18px; max-width: calc(100% - 20px); }
}

/* =====================================================
   V27 — section « pourquoi » en bento + logos des applis
   ===================================================== */
.why-head { text-align: center; margin-bottom: 36px; }
.why-head h2 { margin-bottom: 10px; }
.wb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wb {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--card-border); border-radius: 26px; padding: 28px;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s;
}
.wb:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.wb::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,77,141,.12), transparent 45%);
}
.wb h3 { font-size: 1.3rem; margin-bottom: 6px; letter-spacing: -.01em; }
.wb p { color: var(--muted); }
.wb-talk, .wb-private { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
.wb-talk .wb-text, .wb-private .wb-text { flex: 1; }

/* Parle comme toi : bulle robot barrée puis vraie bulle */
.wb-talk-vis { flex: 1.1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.wb-bub { padding: 11px 16px; border-radius: 20px; font-size: .95rem; max-width: 100%; }
.wb-robot { background: #2a2436; color: var(--muted); border-bottom-left-radius: 6px; position: relative; }
.wb-robot::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
}
.wb-arrow { align-self: center; width: 26px; height: 26px; display: grid; place-items: center; opacity: 0; }
.wb-arrow svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; rotate: 90deg; }
.wb-human {
  align-self: flex-end; background: linear-gradient(135deg, var(--pink), var(--violet)); color: #fff;
  border-bottom-right-radius: 6px; box-shadow: 0 10px 30px -10px rgba(139,92,246,.7);
  opacity: 0; transform: translateY(10px) scale(.9);
}
.wb-seen { align-self: flex-end; font-size: .75rem; color: var(--muted); opacity: 0; }
.wb-talk.visible .wb-robot::after { animation: wbStrike .5s .5s cubic-bezier(.6,0,.2,1) forwards; }
.wb-talk.visible .wb-arrow { animation: wbFade .4s 1s forwards; }
.wb-talk.visible .wb-human { animation: wbBub .6s 1.25s cubic-bezier(.34,1.56,.64,1) forwards; }
.wb-talk.visible .wb-seen { animation: wbFade .4s 2s forwards; }
@keyframes wbStrike { to { transform: scaleX(1); } }
@keyframes wbFade { to { opacity: 1; } }
@keyframes wbBub { to { opacity: 1; transform: none; } }

/* Te dit la vérité : jauge */
.wb-gauge { position: relative; width: 150px; margin: 0 auto; }
.wb-gauge svg { width: 100%; display: block; fill: none; stroke-width: 10; stroke-linecap: round; }
.wb-gauge .g-bg { stroke: rgba(255,255,255,.08); }
.wb-gauge .g-fg { stroke: var(--orange); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s .3s cubic-bezier(.22,1,.36,1); }
.wb-truth.visible .g-fg { stroke-dashoffset: calc(100 - var(--v)); }
.wb-gauge b { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font: 800 2rem "Bricolage Grotesque"; }
.wb-gauge small { font-size: 1rem; color: var(--muted); }
.wb .wb-flag {
  display: flex; align-items: center; gap: 8px; align-self: center; margin-top: -8px;
  font-size: .82rem; padding: 7px 12px; border-radius: 99px;
  background: rgba(251,113,133,.1); border: 1px solid rgba(251,113,133,.25); color: #fda4af;
}
.wb-flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(251,113,133,.2); animation: wbBlink 1.6s ease-in-out infinite; }
@keyframes wbBlink { 50% { opacity: .35; } }

/* Te fait progresser : barres qui montent */
.wb-bars { height: 124px; display: flex; align-items: flex-end; gap: 8px; padding: 0 6px; border-bottom: 1px solid var(--card-border); }
.wb-bars span {
  flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--violet), rgba(139,92,246,.25));
  transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.34,1.3,.64,1);
}
.wb-bars span:last-child { background: linear-gradient(180deg, var(--pink), var(--violet)); box-shadow: 0 0 24px -4px rgba(255,77,141,.7); }
.wb-grow.visible .wb-bars span { transform: none; }
.wb-grow.visible .wb-bars span:nth-child(2) { transition-delay: .08s; }
.wb-grow.visible .wb-bars span:nth-child(3) { transition-delay: .16s; }
.wb-grow.visible .wb-bars span:nth-child(4) { transition-delay: .24s; }
.wb-grow.visible .wb-bars span:nth-child(5) { transition-delay: .32s; }
.wb-grow.visible .wb-bars span:nth-child(6) { transition-delay: .4s; }

/* Reste entre nous : la capture s'efface, le cadenas apparaît */
.wb-shred { flex: .8; position: relative; height: 160px; display: grid; place-items: center; }
.wb-shot {
  width: 96px; height: 130px; border-radius: 14px; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px;
  background: #16121f; border: 1px solid rgba(255,255,255,.12);
  animation: wbForget 5s ease-in-out infinite;
}
.wb-shot i { height: 12px; border-radius: 6px; background: #2c2536; width: 70%; }
.wb-shot i:nth-child(even) { align-self: flex-end; background: var(--violet); width: 60%; opacity: .7; }
@keyframes wbForget {
  0%, 20% { opacity: 1; filter: blur(0); transform: scale(1); }
  55%, 80% { opacity: 0; filter: blur(8px); transform: scale(.85); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
.wb-lock {
  position: absolute; top: 45px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 12px 30px -8px rgba(139,92,246,.8);
  animation: wbLock 5s ease-in-out infinite;
}
.wb-lock svg { width: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
@keyframes wbLock { 0%, 30% { opacity: 0; transform: scale(.6); } 45%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }
.wb .wb-shred p { position: absolute; bottom: -6px; font-size: .78rem; }

@media (max-width: 820px) {
  .wb-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wb-grid { grid-template-columns: 1fr; }
  .wb-talk, .wb-private { grid-column: auto; flex-direction: column; align-items: stretch; gap: 22px; }
  .wb { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-shot, .wb-lock, .wb-flag i { animation: none !important; }
  .wb-lock { opacity: 0; }
}

/* ---------- logos des applis (étape 1) ---------- */
#platforms { gap: 10px; }
.app-chip {
  display: inline-flex; align-items: center; padding: 5px !important; border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.app-chip.active { background: rgba(255,255,255,.08); color: var(--text); border-color: rgba(255,255,255,.35); box-shadow: 0 0 0 3px rgba(255,77,141,.18); }
.app-chip .lg {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  filter: grayscale(.7) brightness(.75); transition: filter .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.app-chip:hover .lg, .app-chip.active .lg { filter: none; }
.app-chip:hover .lg { transform: rotate(-6deg) scale(1.06); }
.app-chip .lg svg { width: 23px; height: 23px; fill: #fff; }
.app-chip .app-name {
  max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .9rem;
  transition: max-width .45s cubic-bezier(.22,1,.36,1), padding .45s cubic-bezier(.22,1,.36,1);
}
.app-chip.active .app-name { max-width: 110px; padding: 0 12px 0 10px; }
.lg-snap { background: #FFFC00; }
.lg-snap svg { width: 26px !important; height: 26px !important; }
.lg-insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.lg-wa { background: #25D366; }
.lg-tinder { background: linear-gradient(135deg, #FD267A, #FF6036); }
.lg-hinge { background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.lg-hinge b { color: #fff; font: 700 1.35rem Georgia, "Times New Roman", serif; }
.lg-sms { background: linear-gradient(180deg, #5BF675, #0CBD2A); }
@media (max-width: 600px) {
  #platforms { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 6px; justify-content: space-between; }
  .app-chip { padding: 4px !important; border-radius: 14px; }
  .app-chip .lg { width: 38px; height: 38px; border-radius: 11px; }
  .app-chip.active .app-name { max-width: 0; padding: 0; }
  .wb-shred { height: 180px; }
}
@media (max-width: 600px) {
  #platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .app-chip { justify-content: center; min-width: 0; }
  .app-chip .lg { width: 34px; height: 34px; }
  .app-chip .lg svg { width: 20px; height: 20px; }
  .app-chip .app-name { display: none; }
}

/* ---------- V28 — « Arrive bientôt » (cartes de joueur / classement) ---------- */
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 14px 7px 12px; border-radius: 99px; font: 600 .82rem "Inter"; letter-spacing: .02em;
  color: #fff; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.45);
  box-shadow: 0 0 24px -6px rgba(139,92,246,.6);
}
.soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); position: relative; }
.soon-badge i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pink); animation: soonPing 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes soonPing { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.soon-note {
  margin-top: 16px; padding: 12px 16px; border-radius: 14px; font-size: .92rem; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14);
}
@media (max-width: 820px) { .players-text { text-align: center; } .soon-badge { margin-inline: auto; } }

/* =====================================================
   V29 — résultat : coup à jouer, scène recréée, retours
   ===================================================== */
[hidden] { display: none !important; }

/* Ce qui se passe vraiment + le coup à jouer */
.move { margin-top: 16px; padding: 0; overflow: hidden; border-color: rgba(139,92,246,.35); }
.move-situation {
  padding: 14px 22px; font-size: .95rem; color: var(--text);
  background: rgba(255,255,255,.04); border-bottom: 1px solid var(--card-border);
}
.move-situation::before { content: "👀 "; }
.move-main { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; }
.move-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(255,77,141,.25), rgba(139,92,246,.25)); border: 1px solid rgba(255,255,255,.1);
  animation: pop .5s .2s cubic-bezier(.34,1.56,.64,1) both;
}
.move h4 { font: 700 1.2rem "Bricolage Grotesque"; margin: 2px 0 4px; }
.move-when { color: var(--pink); font-weight: 600; text-transform: none; letter-spacing: 0; }
.move[data-type="attendre"] .move-icon, .move[data-type="laisser_tomber"] .move-icon { background: rgba(255,179,71,.18); }

/* flags vides : message motivant */
#green.is-empty li { color: var(--text); }
#green.is-empty li::before { content: ""; }

/* La scène : conv recréée à gauche, réponses à droite */
.scene { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 20px; align-items: start; }
.scene .replies { align-content: start; }
.rp {
  position: sticky; top: 96px; border-radius: 28px; overflow: hidden;
  background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  --them: #262626; --them-t: #fff; --me: #3797f0; --me-t: #fff;
}
.rp-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rp-av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}
.rp-who { display: flex; flex-direction: column; line-height: 1.2; }
.rp-who b { font-size: .95rem; }
.rp-who small { font-size: .72rem; color: #9a9a9a; }
.rp-chat {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; height: 340px; overflow-y: auto;
  scrollbar-width: none; scroll-behavior: smooth;
}
.rp-chat::-webkit-scrollbar { display: none; }
.rp-chat > :first-child { margin-top: auto; }
.rp-msg {
  max-width: 78%; padding: 8px 13px; border-radius: 19px; font-size: .9rem; line-height: 1.35;
  background: var(--them); color: var(--them-t); align-self: flex-start; overflow-wrap: anywhere;
}
.rp-msg.me { align-self: flex-end; background: var(--me); color: var(--me-t); }
.rp-new-msg { display: flex; flex-direction: column; gap: 4px; }
.rp-msg.pop { animation: rpPop .45s cubic-bezier(.34,1.56,.64,1) both; box-shadow: 0 0 0 2px rgba(255,77,141,.55); }
@keyframes rpPop { from { opacity: 0; transform: translateY(8px) scale(.85); } }
.rp-typing { display: flex; gap: 4px; padding: 12px 14px; }
.rp-typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: rpDot 1s infinite; }
.rp-typing i:nth-child(2) { animation-delay: .15s; }
.rp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes rpDot { 50% { opacity: 1; transform: translateY(-3px); } }
.rp-reaction {
  align-self: flex-start; margin: -10px 0 4px 14px; padding: 3px 9px; border-radius: 99px; font-size: .78rem;
  background: #1c1c1e; border: 2px solid #000; color: #fff; animation: rpPop .45s cubic-bezier(.34,1.56,.64,1) both;
}
.rp-media { display: flex; flex-direction: column; gap: 4px; }
.rp-media b { font-size: .75rem; opacity: .85; }
.rp-snap { background: linear-gradient(160deg, #3a3a3a, #1d1d1d) !important; color: #fff !important; border: 2px solid #f23c57; }
.rp-empty { color: #9a9a9a; font-size: .85rem; text-align: center; margin: auto; }

/* Chances maintenant → avec la réponse */
.rp-odds { padding: 14px 16px 16px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.rp-odds-row { display: flex; justify-content: space-between; font-size: .82rem; color: #9a9a9a; }
.rp-odds-row b { color: #fff; font-size: .95rem; }
.rp-odds-row .rp-new { color: var(--green); font: 800 1.15rem "Bricolage Grotesque"; }
.rp-bar { position: relative; height: 8px; margin: 8px 0; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.rp-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; transition: width .8s cubic-bezier(.22,1,.36,1); }
.rp-bar-now { background: rgba(255,255,255,.35); z-index: 1; }
.rp-bar-new { background: linear-gradient(90deg, var(--violet), var(--green)); box-shadow: 0 0 14px rgba(52,211,153,.5); }
.rp-bar-new.down { background: var(--red); }

/* Thèmes des applis */
.rp[data-app="Snapchat"] { --them: transparent; --me: transparent; }
.rp[data-app="Snapchat"] .rp-msg { max-width: 100%; padding: 0 0 0 10px; border-radius: 0; border-left: 2px solid #0eadff; align-self: stretch; }
.rp[data-app="Snapchat"] .rp-msg.me { border-left-color: #f23c57; }
.rp[data-app="Snapchat"] .rp-msg.pop { box-shadow: none; background: rgba(242,60,87,.12); }
.rp[data-app="Snapchat"] .rp-typing { color: #f23c57; }
.rp-label { font-size: .68rem; font-weight: 700; letter-spacing: .04em; margin-top: 8px; color: #0eadff; }
.rp-label.me { color: #f23c57; }
.rp[data-app="Snapchat"] .rp-av { background: #fffc00; color: #000; }
.rp[data-app="Instagram"] { --me: linear-gradient(135deg, #a033ff, #3f6dff); }
.rp[data-app="Instagram"] .rp-av { background: radial-gradient(circle at 30% 107%, #fdf497, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.rp[data-app="WhatsApp"] { background: #0b141a; --them: #202c33; --me: #005c4b; }
.rp[data-app="WhatsApp"] .rp-msg { border-radius: 10px; }
.rp[data-app="WhatsApp"] .rp-head { background: #202c33; }
.rp[data-app="WhatsApp"] .rp-av { background: #25d366; }
.rp[data-app="SMS"] { --them: #3b3b3d; --me: #0a84ff; }
.rp[data-app="SMS"] .rp-av { background: linear-gradient(#a5a5aa, #6e6e73); }
.rp[data-app="Tinder"] { background: #111; --them: #2a2a2e; --me: linear-gradient(135deg, #fd267a, #ff6036); }
.rp[data-app="Tinder"] .rp-av { background: linear-gradient(135deg, #fd267a, #ff6036); }
.rp[data-app="Hinge"] { background: #111; --them: #2c2c2e; --me: #6c47ff; }
.rp[data-app="Hinge"] .rp-msg { border-radius: 14px; }
.rp[data-app="Hinge"] .rp-av { background: #fff; color: #111; }

/* Cartes de réponses */
.reply { cursor: pointer; }
.reply.playing { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 14px 40px -18px rgba(255,77,141,.6); }
.reply-top { gap: 8px; justify-content: flex-start; }
.reply-format { font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: rgba(255,179,71,.15); color: var(--orange); }
.reply-odds { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--green); }
.reply .reply-copy { display: block; margin-top: 8px; }

/* « Ça a marché ? » */
.fb { margin-top: 16px; border-color: rgba(52,211,153,.35); animation: pop .4s cubic-bezier(.34,1.56,.64,1) both; }
.fb h4 { font-size: 1.1rem; margin-bottom: 4px; }
.fb-msg { margin: 12px 0; padding: 10px 14px; border-radius: 14px; background: rgba(139,92,246,.18); font-size: .92rem; }
.fb-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-btns .btn { flex: 1; min-width: 140px; }
.fb-yes { background: linear-gradient(135deg, #22c55e, #10b981); }
.fb-reply {
  width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: .9rem; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid var(--card-border);
}
.fb-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: .8rem; color: var(--muted); cursor: pointer; }
.fb-consent input { margin-top: 3px; accent-color: var(--pink); }
.fb-banner {
  position: fixed; z-index: 60; right: 20px; bottom: 20px; width: min(380px, calc(100% - 32px)); padding: 18px;
  border-radius: 20px; background: rgba(22,18,32,.95); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8);
  animation: fbIn .6s cubic-bezier(.22,1,.36,1) both;
}
.fb-banner .fb-msg { margin: 10px 0; }
.fb-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
@keyframes fbIn { from { opacity: 0; transform: translateY(30px); } }

@media (max-width: 820px) {
  .scene { grid-template-columns: 1fr; }
  .rp { position: static; }
  .rp-chat { height: 280px; }
  .fb-banner { left: 16px; right: 16px; bottom: 16px; width: auto; }
}
@media (min-width: 821px) {
  #result { position: relative; left: 50%; translate: -50% 0; width: min(980px, calc(100vw - 48px)); }
  .scene { grid-template-columns: 360px 1fr; }
}
.reply-tag, .reply-odds, .reply-format { white-space: nowrap; }
.reply-top { flex-wrap: wrap; }
.fb-btns .btn { padding: 13px 18px; font-size: .95rem; transform: none; }

/* V30 — gros bouton principal (hero + CTA final) */
.btn.btn-big { padding: 22px 44px; font-size: 1.3rem; border-radius: 99px; }
.btn.btn-big .heal-heart svg { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .btn.btn-big { padding: 19px 26px; font-size: 1.12rem; }
}

/* V31 — écran Wingo du téléphone de démo = la vraie page d'analyse en miniature */
.sf-result { gap: 7px; }
.sf-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 8px 10px; }
.sf-head { display: flex; align-items: center; gap: 10px; }
.sf-gauge { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.sf-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 4; stroke-linecap: round; }
.sf-gauge circle { stroke: rgba(255,255,255,.1); }
.sf-gauge .fg { stroke: #34d399; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s .2s cubic-bezier(.22,1,.36,1); }
.app-safari.done .sf-gauge .fg { stroke-dashoffset: calc(100 - var(--v)); }
.sf-gauge b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 .95rem "Bricolage Grotesque", sans-serif; }
.sf-head .sf-label { margin: 0; }
.sf-verdict { font: 700 .92rem "Bricolage Grotesque", sans-serif; }
.sf-move { display: flex; gap: 8px; align-items: center; border-color: rgba(139,92,246,.35); }
.sf-move > span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; background: rgba(139,92,246,.22); flex-shrink: 0; }
.sf-move .sf-label { margin: 0; }
.sf-move em { color: var(--pink); font-style: normal; }
.sf-move p { font-size: .74rem; font-weight: 600; }
.sf-flags { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sf-flags small { font-size: .56rem; font-weight: 700; }
.sf-flags p { font-size: .64rem; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.sf-title { margin-top: 2px; }
.sf-sugg { display: block; position: relative; padding: 8px 10px; border-color: rgba(255,255,255,.08); }
.sf-sugg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.sf-sugg-top small { padding: 2px 7px; border-radius: 99px; background: rgba(139,92,246,.2); color: #fff; text-transform: none; letter-spacing: 0; }
.sf-sugg-top em { font-style: normal; font-size: .6rem; font-weight: 700; color: #34d399; }
.sf-sugg p { display: inline-block; max-width: 100%; padding: 5px 9px; border-radius: 11px; background: var(--violet); color: #fff; font-size: .7rem; }
.sf-sugg .sf-copy { position: absolute; right: 8px; bottom: 8px; display: none; }
.sf-sugg.picked .sf-copy { display: block; }
.sf-sugg:nth-of-type(n+3) p { font-size: .68rem; }
.sf-sugg .sf-copy { top: 6px; bottom: auto; right: 8px; }
.sf-sugg.picked .sf-sugg-top em { visibility: hidden; }

/* V32 — annonce de l'appli à venir */
.soon-app { padding-top: 40px; }
.sa-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: 44px; border-radius: 32px; border: 1px solid rgba(139,92,246,.35);
  background: radial-gradient(600px circle at 100% 0%, rgba(139,92,246,.22), transparent 60%),
              radial-gradient(500px circle at 0% 100%, rgba(255,77,141,.16), transparent 60%), rgba(255,255,255,.03);
}
.sa-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; margin-bottom: 14px; }
.sa-text p { font-size: 1.02rem; }
.sa-goal { color: var(--text); background: linear-gradient(transparent 60%, rgba(255,77,141,.35) 60%); }
.sa-note { margin-top: 14px; font-size: .9rem !important; color: var(--muted); }
.sa-flow { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sa-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sa-step small { font-size: .75rem; color: var(--muted); }
.sa-ic {
  height: 60px; min-width: 60px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.sa-ic-apps { display: flex; padding: 0 10px; }
.sa-ic-apps .lg { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-left: -8px; box-shadow: 0 0 0 2px #15121e; }
.sa-ic-apps .lg:first-child { margin-left: 0; }
.sa-ic-apps svg { width: 17px; height: 17px; fill: #fff; }
.sa-ic-share svg { width: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sa-ic-wingo { overflow: hidden; padding: 0; border: 0; box-shadow: 0 10px 30px -8px rgba(139,92,246,.8); }
.sa-ic-wingo img { width: 60px; height: 60px; }
.sa-ic-reply { padding: 0 14px; font-size: .85rem; font-weight: 600; background: var(--violet); border: 0; border-radius: 18px 18px 6px 18px; }
.sa-arrow { width: 18px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4)); margin-bottom: 22px; position: relative; }
.sa-arrow::after { content: ""; position: absolute; right: 0; top: -3px; border: 4px solid transparent; border-left-color: rgba(255,255,255,.5); border-right: 0; }
.sa-card.visible .sa-step { animation: rise .6s cubic-bezier(.22,1,.36,1) both; }
.sa-card.visible .sa-step:nth-of-type(2) { animation-delay: .15s; }
.sa-card.visible .sa-step:nth-of-type(3) { animation-delay: .3s; }
.sa-card.visible .sa-step:nth-of-type(4) { animation-delay: .45s; }
@media (max-width: 820px) {
  .sa-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; text-align: center; }
  .sa-text .soon-badge { margin-inline: auto; }
  .sa-flow { gap: 6px; }
  .sa-arrow { width: 10px; }
  .sa-ic { height: 52px; min-width: 52px; border-radius: 15px; }
  .sa-ic-wingo img { width: 52px; height: 52px; }
  .sa-ic-apps .lg { width: 24px; height: 24px; }
  .sa-ic-apps svg { width: 14px; height: 14px; }
  .sa-ic-reply { font-size: .72rem; padding: 0 10px; }
}
.sa-text { text-align: left; }
.sa-flow { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; max-width: 360px; margin: 0 auto; width: 100%; }
.sa-step { flex-direction: row; gap: 16px; padding: 4px 0; }
.sa-step small { font-size: .95rem; color: var(--text); text-align: left; }
.sa-ic { width: 60px; flex-shrink: 0; }
.sa-ic-apps { width: 92px; padding: 0 8px; }
.sa-ic-apps .lg { margin-left: -4px; }
.sa-ic-reply { width: auto; padding: 0 14px; white-space: nowrap; }
.sa-step:has(.sa-ic-apps) + .sa-arrow, .sa-arrow { width: 2px; height: 18px; margin: 0 0 0 29px; background: linear-gradient(transparent, rgba(255,255,255,.4)); }
.sa-arrow::after { right: -3px; top: auto; bottom: -4px; border: 4px solid transparent; border-top-color: rgba(255,255,255,.5); border-bottom: 0; }
@media (max-width: 820px) {
  .sa-text { text-align: center; }
  .sa-ic { width: 52px; }
  .sa-ic-apps { width: 84px; }
  .sa-arrow, .sa-step:has(.sa-ic-apps) + .sa-arrow { width: 2px; margin-left: 25px; }
  .sa-step small { font-size: .88rem; }
}
.sa-text h2 { text-align: inherit; }
.sa-ic.sa-ic-reply { width: auto; min-width: 0; }
@media (max-width: 820px) { .sa-ic.sa-ic-reply { width: auto; } }

/* V33 — programme partenaire (parrainage Whop) */
.aff { padding-top: 40px; }
.aff-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.aff-head .soon-badge { margin-inline: auto; }
.aff-head h2 { margin-bottom: 12px; }
.aff-head p { font-size: 1.05rem; }
.aff-hl { color: var(--text); background: linear-gradient(transparent 60%, rgba(52,211,153,.35) 60%); }
.aff-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; }
.aff-calc {
  padding: 30px; border-radius: 28px; border: 1px solid rgba(52,211,153,.3);
  background: radial-gradient(500px circle at 0% 0%, rgba(52,211,153,.14), transparent 60%), rgba(255,255,255,.03);
}
.aff-q { display: block; font-size: 1.05rem; margin: 6px 0 14px; }
.aff-q b { color: var(--green); }
#aff-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--violet), var(--green)) 0 / var(--p, 7%) 100% no-repeat, rgba(255,255,255,.1);
}
#aff-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(52,211,153,.3), 0 4px 12px rgba(0,0,0,.5); }
#aff-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(52,211,153,.3); }
.aff-total { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.aff-total b { font: 800 clamp(2.6rem, 6vw, 3.6rem) "Bricolage Grotesque"; letter-spacing: -.03em; color: var(--green); line-height: 1; }
.aff-total span { color: var(--muted); font-size: 1.1rem; }
.aff-year { margin: 6px 0 16px; color: var(--muted); }
.aff-year b { color: var(--text); }
.aff-ideas { display: grid; gap: 12px; }
.aff-idea { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--card-border); }
.aff-idea > span { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.3rem; border-radius: 14px; background: rgba(255,255,255,.06); }
.aff-idea h4 { font-size: 1.05rem; margin-bottom: 3px; }
.aff-idea p { color: var(--muted); font-size: .92rem; }
.aff-steps {
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: center; margin-top: 18px;
  padding: 18px 18px 18px 24px; border-radius: 24px; background: rgba(255,255,255,.03); border: 1px solid var(--card-border);
}
.aff-step { display: flex; gap: 12px; align-items: center; }
.aff-step b { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; background: var(--grad); }
.aff-step p { font-size: .92rem; }
.aff-step code { font-size: .82rem; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); }
.aff-step em { color: var(--pink); font-style: normal; }
.aff-btn { background: linear-gradient(135deg, #22c55e, #10b981); white-space: nowrap; }
.aff-btn.btn-big { padding: 16px 28px; font-size: 1.05rem; }
.aff-btn.disabled { opacity: .6; pointer-events: none; background: rgba(255,255,255,.1); }
.aff-rules { text-align: center; margin-top: 14px; }
@media (max-width: 900px) {
  .aff-grid { grid-template-columns: 1fr; }
  .aff-steps { grid-template-columns: 1fr; padding: 20px; }
  .aff-btn { width: 100%; }
  .aff-calc { padding: 24px; }
}

/* V34 — icône compte (header) + pages Mon compte / Espace partenaire */
.nav-account {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--card-border); background: rgba(255,255,255,.04); transition: border-color .2s, background .2s;
}
.nav-account svg { width: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.nav-account:hover { border-color: var(--pink); }
.nav-account.on { background: linear-gradient(135deg, var(--pink), var(--violet)); border-color: transparent; }
.nav-right { gap: 10px; }

.espace { max-width: 560px; margin: 0 auto; padding: 48px 16px 80px; display: grid; gap: 16px; }
.espace:has(.es-wide) { max-width: 820px; }
.es-card { padding: 32px; border-radius: 28px; background: rgba(22,18,32,.7); border: 1px solid var(--card-border); backdrop-filter: blur(12px); }
.es-card h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.1; margin: 8px 0 10px; }
.es-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.es-card .btn-big { margin-top: 8px; }
.es-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 22px 0 18px; border-radius: 14px; background: rgba(255,255,255,.05); }
.es-tab { padding: 10px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 .92rem "Inter"; cursor: pointer; }
.es-tab.active { background: #fff; color: #0c0a14; }
.es-form { display: grid; gap: 14px; }
.es-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.es-form input {
  padding: 14px 16px; border-radius: 14px; font: 500 1rem "Inter"; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid var(--card-border); outline: none; transition: border-color .2s;
}
.es-form input:focus { border-color: var(--violet); }
.es-inline { grid-template-columns: 1fr auto; align-items: end; margin: 16px 0 12px; }
.es-inline .btn-big { margin: 0; padding: 15px 24px; font-size: 1rem; }
.es-error { color: var(--red); font-size: .9rem; }
.es-legal, .es-forgot { text-align: center; }
.es-legal a, .es-forgot a, .es-steps a { color: var(--pink); }
.es-plan {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 20px 0; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--card-border);
}
.es-plan.is-pro { border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.07); }
.es-plan-name { font: 700 1.1rem "Bricolage Grotesque"; }
.es-links { display: grid; gap: 10px; margin-bottom: 18px; }
.es-link { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--card-border); transition: border-color .2s, transform .2s; }
.es-link:hover { border-color: var(--violet); transform: translateX(3px); }
.es-link > span { font-size: 1.3rem; }
.es-link small { display: block; color: var(--muted); font-size: .82rem; }
.es-steps { display: grid; gap: 10px; padding-left: 20px; margin: 10px 0 4px; color: var(--muted); }
.es-steps b { color: var(--text); }
.es-link-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0 20px; }
.es-link-box code { flex: 1; min-width: 200px; padding: 14px 16px; border-radius: 14px; font-size: .95rem; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.35); overflow-wrap: anywhere; }
.es-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.es-stats > div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); }
.es-stats small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 6px; }
.es-stats b { font: 800 1.6rem "Bricolage Grotesque"; }
.es-stats .es-money { border-color: rgba(52,211,153,.4); }
.es-stats .es-money b { color: var(--green); }
.es-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 14px; }
.es-ideas > div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); }
.es-ideas span { font-size: 1.4rem; }
.es-ideas b { display: block; margin: 6px 0 4px; }
.es-ideas p { color: var(--muted); font-size: .88rem; }
.es-rules { margin-top: 6px; }
@media (max-width: 700px) {
  .es-card { padding: 24px 20px; }
  .es-stats { grid-template-columns: 1fr 1fr; }
  .es-ideas { grid-template-columns: 1fr; }
  .es-inline { grid-template-columns: 1fr; }
  .es-inline .btn-big { width: 100%; }
}

/* V35 — logo plus grand */
.nav .logo { font-size: 2.1rem; line-height: 1; }
.nav.scrolled .logo { font-size: 1.8rem; }
@media (max-width: 760px) { .nav .logo, .nav.scrolled .logo { font-size: 1.75rem; } }

/* =====================================================
   V36 — plein écran sur téléphone et tablette
   ===================================================== */
/* Le fond du site passe aussi sous la zone de l'heure et la barre du bas (iPhone, Android) */
html { background: #0c0a14; }
body { min-height: 100dvh; }
.nav { padding-top: max(16px, env(safe-area-inset-top)); }
.nav.scrolled { top: max(14px, calc(env(safe-area-inset-top) + 6px)); }
@media (max-width: 820px) {
  .nav.scrolled { top: max(10px, calc(env(safe-area-inset-top) + 4px)); }
  .sticky-cta { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  /* Moins de vide entre les sections */
  main > section { padding-top: 44px; padding-bottom: 44px; }
  .marquee { margin: 20px 0; }
}

/* Téléphone : le 1er écran remplit tout l'écran, bien centré */
@media (max-width: 699px) {
  main > section.hero { min-height: calc(100svh - 72px); align-content: center; padding-top: 20px; }
}

/* Tablette (700 → 1024 px) : comme sur ordi, le texte à gauche et le téléphone à droite */
@media (min-width: 700px) and (max-width: 1024px) {
  main > section.hero {
    grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; text-align: left;
    min-height: calc(100svh - 80px); padding-top: 24px;
  }
  main > section.hero .iphone { width: 280px; }
  .hero-cta .btn-big { width: auto; }
  main > section { padding-left: 40px; padding-right: 40px; }
  /* Blocs plus larges : moins de vide sur les côtés */
  .quiz-card, .cases-grid, .steps-grid, .wb-grid, .aff-grid, .faq details, .app .card, #result { max-width: 100%; }
  main > section.preview, main > section.players { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}
