/* ==========================================================================
   Rencontres en Weppes — feuille de style principale
   Palette et rythme issus de la maquette : prune #5C2540, terre #C56A46, rose #E3A98C
   ========================================================================== */

:root {
  --plum: #5C2540;
  --plum-deep: #3E192C;
  --terra: #C56A46;
  --rose: #E3A98C;
  --sand: #F3E4DC;
  --cream: #FBF2EC;
  --cream-2: #FDF8F5;
  --cream-3: #FEF9F6;
  --paper: #FBF5F1;
  --line: #E7D9D2;
  --line-2: #E9C9B6;
  --line-3: #F0E5DF;
  --line-4: #EADBD3;
  --text: #4E4038;
  --muted: #6B5A50;
  --wine-light: #F1E2E9;
  --wine-soft: #E8CFDC;
  --white: #FFFFFF;
  --danger: #B3402E;
  --success: #3F7A57;
  --shadow-soft: 0 22px 44px -40px rgba(92, 37, 64, 0.5);
  --shadow-card: 0 26px 50px -34px rgba(92, 37, 64, 0.42);
  --shadow-modal: 0 40px 80px -40px rgba(92, 37, 64, 0.6);
  --radius-xl: 30px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font: Poppins, Helvetica, Arial, sans-serif;
  --pad-page: clamp(18px, 3.4vw, 40px);
  --pad-x: clamp(16px, 3vw, 36px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--plum);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-wrap: pretty;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; }
a:hover { color: var(--plum); }
input, textarea, button, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--plum); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 12px; color: #fff; }
:focus-visible { outline: 3px solid rgba(197, 106, 70, 0.55); outline-offset: 2px; border-radius: 6px; }

/* ---------- Animations ---------- */
@keyframes lt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lt-seal { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes lt-driftA { 0% { transform: translate3d(-6%, -4%, 0) scale(1); } 50% { transform: translate3d(6%, 6%, 0) scale(1.14); } 100% { transform: translate3d(-6%, -4%, 0) scale(1); } }
@keyframes lt-driftB { 0% { transform: translate3d(5%, 6%, 0) scale(1.08); } 50% { transform: translate3d(-7%, -5%, 0) scale(0.94); } 100% { transform: translate3d(5%, 6%, 0) scale(1.08); } }
@keyframes lt-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.9; } }
@keyframes lt-reveal { from { opacity: 0; filter: blur(10px); transform: scale(0.96); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes lt-chosen { 0%, 14% { transform: scale(1); border-color: rgba(197,106,70,0.28); } 22%, 62% { transform: scale(1.1); border-color: #C56A46; } 70%, 100% { transform: scale(1); border-color: rgba(197,106,70,0.28); } }
@keyframes lt-dimmed { 0%, 14% { opacity: 1; } 22%, 62% { opacity: 0.28; } 70%, 100% { opacity: 1; } }
@keyframes lt-satellite { 0%, 20% { opacity: 0; } 28%, 58% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes lt-vmsg { 0%, 4% { opacity: 0; transform: translateY(8px); } 12%, 100% { opacity: 1; transform: none; } }
@keyframes lt-vpills { 0%, 22% { opacity: 0; transform: translateY(6px); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes lt-vpick { 0%, 48% { background: #FFFFFF; color: #C56A46; transform: scale(1); } 56%, 100% { background: #C56A46; color: #FFFFFF; transform: scale(1.08); } }
@keyframes lt-vgauge { 0%, 56% { width: 18%; } 70%, 100% { width: 44%; } }
@keyframes lt-vbadge { 0%, 56% { opacity: 0; transform: translateY(8px); } 64%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes lt-swTrack { 0%, 34% { background: #C56A46; } 44%, 100% { background: #D2BFB2; } }
@keyframes lt-swKnob { 0%, 34% { transform: translateX(18px); } 44%, 100% { transform: translateX(0); } }
@keyframes lt-swOn { 0%, 34% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes lt-swOff { 0%, 34% { opacity: 0; } 44%, 100% { opacity: 1; } }
@keyframes lt-rowFade { 0%, 40% { opacity: 1; } 50%, 100% { opacity: 0.42; } }
@keyframes lt-s1 { 0%, 6% { opacity: 0; transform: translateY(6px); } 12%, 100% { opacity: 1; transform: none; } }
@keyframes lt-s2 { 0%, 28% { opacity: 0; transform: translateY(6px); } 34%, 100% { opacity: 1; transform: none; } }
@keyframes lt-s3 { 0%, 50% { opacity: 0; transform: translateY(6px); } 56%, 100% { opacity: 1; transform: none; } }
@keyframes lt-s4 { 0%, 72% { opacity: 0; transform: translateY(6px); } 78%, 100% { opacity: 1; transform: none; } }
@keyframes lt-gauge { 0% { width: 4%; } 12% { width: 24%; } 34% { width: 48%; } 56% { width: 72%; } 78%, 100% { width: 100%; } }
@keyframes lt-unblur { 0%, 72% { filter: blur(6px); } 78%, 100% { filter: blur(0); } }
@keyframes lt-ping { 0%, 72% { opacity: 0; transform: scale(0.8); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes lt-spark { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-150px) scale(1); opacity: 0; } }
@keyframes lt-pop { 0% { transform: scale(0.82); opacity: 0; } 60% { transform: scale(1.03); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes lt-fade { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
@keyframes lt-floatA { 0% { transform: translate3d(0,0,0); } 33% { transform: translate3d(14px,-22px,0); } 66% { transform: translate3d(-12px,-10px,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes lt-floatB { 0% { transform: translate3d(0,0,0); } 40% { transform: translate3d(-18px,16px,0); } 75% { transform: translate3d(10px,26px,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes lt-floatC { 0% { transform: translate3d(0,0,0); } 50% { transform: translate3d(20px,14px,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes lt-dots { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Page & fond ---------- */
.page {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--pad-page) var(--pad-x) 28px;
  background: linear-gradient(168deg, #FFFFFF 0%, #FEF9F6 42%, #FBF2EC 100%);
}
.page--onboarding { background: linear-gradient(150deg, #FDF8F5 0%, #FBF2EC 55%, #F6EEE7 100%); }
.page--app { padding-bottom: calc(28px + var(--nav-h) + env(safe-area-inset-bottom)); }
.blob { position: absolute; border-radius: 999px; pointer-events: none; filter: blur(30px); }
.blob--a { top: -22%; left: -14%; width: 78vw; height: 78vw; background: radial-gradient(circle at 50% 50%, rgba(197,106,70,0.20) 0%, rgba(197,106,70,0.07) 45%, rgba(197,106,70,0) 70%); animation: lt-driftA 26s ease-in-out infinite, lt-breathe 14s ease-in-out infinite; }
.blob--b { bottom: -30%; right: -16%; width: 70vw; height: 70vw; background: radial-gradient(circle at 50% 50%, rgba(92,37,64,0.12) 0%, rgba(92,37,64,0.06) 48%, rgba(92,37,64,0) 72%); animation: lt-driftB 32s ease-in-out infinite; }
.blob--a.blob--right { left: auto; right: -14%; }
.blob--b.blob--left { right: auto; left: -16%; }
.container { position: relative; display: flex; flex-direction: column; flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; }
.container--narrow { max-width: 880px; }
.container--article { max-width: 720px; }

/* ---------- Barre haute ---------- */
.topbar { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.topbar__logo { height: clamp(40px, 5vw, 56px); width: auto; display: block; }
.topbar__logo--big { height: clamp(52px, 8vw, 104px); margin: 0 auto; }
.topbar__actions { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.topbar--door { justify-content: center; gap: 14px 20px; }
.topbar--door .topbar__side { flex: 1 1 200px; display: flex; }
.topbar--door .topbar__side--right { justify-content: flex-end; }
.topbar--door .topbar__logo { flex: 0 1 auto; order: 2; }
.topbar--door .topbar__side--left { order: 1; }
.topbar--door .topbar__side--right { order: 3; }
.topbar__burger { display: none; }

/* ---------- Boutons & pilules ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.2; text-align: center;
  cursor: pointer; border: 1.5px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 15px; }
.btn--md { min-height: 52px; padding: 0 28px; font-size: 15px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn--xs { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: var(--plum); color: #fff; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--terra); color: #fff; }
.btn--soft { background: var(--sand); color: var(--plum); }
.btn--soft:hover { background: var(--terra); color: #fff; }
.btn--outline { border-color: rgba(197,106,70,0.35); background: rgba(255,255,255,0.7); backdrop-filter: blur(6px); color: var(--plum); }
.btn--outline:hover { border-color: var(--terra); color: var(--terra); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,0.7); color: var(--plum); }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn--white { background: #fff; color: var(--plum); border-color: #fff; }
.btn--white:hover { background: var(--sand); }
.btn--danger { background: #fff; border-color: rgba(179,64,46,0.4); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }
.btn--link { min-height: 0; padding: 0; color: var(--terra); font-weight: 500; }
.btn--link:hover { color: var(--plum); }
.btn--block { width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.7); border: 1.5px solid var(--line-2); backdrop-filter: blur(6px); font-size: 13px; font-weight: 500; color: var(--plum); }
.pill--credits strong { font-size: 15px; font-weight: 600; color: var(--terra); }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--terra); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tag--plum { background: var(--plum); color: #fff; }
.tag--outline { background: #fff; border: 1.5px solid var(--line-2); color: var(--plum); }
.tag--terra { background: var(--terra); color: #fff; }
.certif-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--terra); font-weight: 600; line-height: 1; vertical-align: middle; }
.certif-badge__icon { width: 16px; height: 16px; flex: none; }
.certif-badge__label { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.certif-badge--md .certif-badge__icon { width: 18px; height: 18px; }
.certif-badge--md .certif-badge__label { font-size: 12px; }
.certif-badge--icon { gap: 0; }
.certif-badge--icon .certif-badge__icon { width: 18px; height: 18px; }
.pill .certif-badge { color: var(--terra); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--terra); color: #fff; font-size: 11px; font-weight: 600; }
.badge--label { padding-inline: 8px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Typographie ---------- */
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); }
.kicker--tight { letter-spacing: .16em; }
.kicker--rose { color: var(--rose); }
.lead { font-size: clamp(16px, 1.8vw, 21px); line-height: 1.6; color: var(--muted); }
.lead--sm { font-size: clamp(15px, 1.6vw, 18px); }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.text-center { text-align: center; }
.h-display { font-size: clamp(34px, 6.8vw, 82px); line-height: 1.03; letter-spacing: -0.025em; max-width: 17em; }
.h-display--sm { font-size: clamp(32px, 6.2vw, 76px); max-width: 18em; }
.h-1 { font-size: clamp(28px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em; }
.h-2 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.15; }
.h-3 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.2; }
.h-4 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
.prose p { margin: 0 0 20px; font-size: 16px; line-height: 1.75; color: var(--text); }
.prose h2 { margin: 34px 0 14px; font-size: clamp(20px, 2.4vw, 26px); }
.prose h3 { margin: 28px 0 10px; font-size: 18px; }
.prose ul { margin: 0 0 20px 0; padding-left: 20px; list-style: disc; color: var(--text); }
.prose li { margin-bottom: 8px; line-height: 1.65; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-3); vertical-align: top; color: var(--text); }
.prose th { color: var(--plum); font-weight: 600; }
@media (max-width: 599px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose th, .prose td { padding: 8px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(20px, 2.6vw, 30px); padding: clamp(34px, 7vw, 80px) 0; animation: lt-in .7s ease both; }
.page--door .hero { padding: 0 0 9vh; }
.page--door .hero .lead { max-width: 38em; }
.hero--compact { padding: clamp(28px, 5vw, 60px) 0 clamp(24px, 4vw, 42px); gap: 12px; }
.hero--letter { padding: clamp(34px, 7vw, 78px) 0 clamp(26px, 4vw, 48px); gap: clamp(16px, 2vw, 24px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.hero__note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.page--door { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; min-height: 100dvh; padding: var(--pad-page); }
.page--door > *:not(.blob) { position: relative; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 14px; }
.grid--facts { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--settings { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--posts { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.grid--communes { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.card { background: rgba(255,255,255,0.72); border: 1px solid rgba(197,106,70,0.14); backdrop-filter: blur(6px); border-radius: var(--radius-md); padding: 20px 22px; }
.card--solid { background: rgba(255,255,255,0.78); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.card--paper { background: var(--paper); border: 0; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); }
.card--plum { background: var(--plum); color: #fff; border: 0; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 26px); }
.card--plum .kicker { color: var(--rose); }
.card--plum p { color: #F1E2E9; }
.card--plum h2, .card--plum h3 { color: #fff; }
.card--hover { cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.card--hover:hover { border-color: var(--terra); }
.fact__k { margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.fact__v { margin-bottom: 6px; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--plum); }
.fact__d { font-size: 13px; line-height: 1.55; color: var(--muted); }
.dotline { display: flex; gap: 12px; align-items: flex-start; }
.dotline__dot { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 999px; background: var(--terra); }
.dotline p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- Pied de page ---------- */
.footlinks { display: flex; align-items: center; gap: 8px clamp(12px, 2.4vw, 24px); flex-wrap: wrap; margin-top: auto; border-top: 1px solid rgba(197,106,70,0.18); padding: 16px 0 4px; }
.footlinks a, .footlinks button { font-size: 13px; font-weight: 500; color: var(--plum); }
.footlinks a:hover, .footlinks button:hover { color: var(--terra); }
.footlinks__legal { font-size: 12px !important; color: var(--muted) !important; font-weight: 400 !important; }
.footlinks__copy { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- Sections « comment ça marche » ---------- */
.steps { display: grid; gap: clamp(20px, 3vw, 34px); padding-bottom: clamp(34px, 5vw, 60px); }
.step { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 3.4vw, 44px); padding: clamp(22px, 3.4vw, 36px); border-radius: var(--radius-xl); background: rgba(255,255,255,0.72); border: 1px solid rgba(197,106,70,0.16); backdrop-filter: blur(6px); }
.step--plum { background: var(--plum); border-color: var(--plum); }
.step__text { flex: 1 1 280px; min-width: 0; }
.step__text .kicker { display: block; margin-bottom: 10px; letter-spacing: .16em; }
.step__text h2 { margin-bottom: 12px; }
.step__text p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.step--plum .step__text .kicker { color: var(--rose); }
.step--plum h2 { color: #fff; }
.step--plum .step__text p { color: #F1E2E9; }
.step--plum .step__text p + p { margin-top: 14px; font-size: 15px; color: var(--wine-soft); }
.step__visual { flex: 1 1 300px; min-width: 0; }
.demo-circle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 74px 24px; padding: 54px 0 58px; }
.demo-bubble { flex: 0 0 auto; border-radius: 999px; background: rgba(255,255,255,0.8); border: 1.5px solid rgba(197,106,70,0.28); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); animation: lt-dimmed 10s ease-in-out infinite; }
.demo-bubble--main { position: relative; width: 104px; height: 104px; background: #fff; flex-direction: column; gap: 2px; animation: lt-chosen 10s ease-in-out infinite; }
.demo-bubble--main strong { font-size: 12px; font-weight: 600; color: var(--plum); }
.demo-bubble__sat { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; padding: 6px 12px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 500; animation: lt-satellite 10s ease-in-out infinite; }
.demo-bubble__sat--down { top: 100%; margin-top: 10px; background: var(--terra); }
.demo-bubble__sat--up { bottom: 100%; margin-bottom: 10px; background: var(--plum); }
.demo-vote { padding: clamp(18px, 2.6vw, 26px); border-radius: 24px; background: rgba(255,255,255,0.08); }
.demo-vote__msg { margin-bottom: 14px; max-width: 88%; padding: 13px 16px; border-radius: 18px 18px 18px 6px; background: var(--paper); color: var(--text); font-size: 14px; line-height: 1.55; animation: lt-vmsg 10s ease-in-out infinite; }
.demo-vote__pills { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; animation: lt-vpills 10s ease-in-out infinite; }
.demo-vote__pills span:first-child { font-size: 12px; color: var(--wine-soft); }
.vpill { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 999px; background: #fff; color: var(--terra); font-size: 13px; font-weight: 600; }
.vpill--pick { animation: lt-vpick 10s ease-in-out infinite; }
.demo-vote__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.demo-vote__row .kicker { font-size: 11px; letter-spacing: .14em; color: var(--rose); }
.demo-vote__row strong { font-size: 12px; font-weight: 600; color: #fff; animation: lt-vbadge 10s ease-in-out infinite; }
.gauge { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.gauge--dark { background: rgba(255,255,255,0.18); }
.gauge__bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rose), var(--terra)); transition: width .6s cubic-bezier(.2,.8,.3,1); }
.gauge__bar--demo { animation: lt-vgauge 10s ease-in-out infinite; }
.gauge__bar--ladder { animation: lt-gauge 14s linear infinite; }
.demo-reveal { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 2.6vw, 30px); }
.demo-reveal__avatar { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.avatar-blur { position: relative; width: 116px; height: 116px; border-radius: 999px; overflow: hidden; border: 1.5px solid var(--line-2); background: repeating-linear-gradient(135deg, #F7EBE4 0 8px, #EFDDD3 8px 16px); animation: lt-unblur 14s linear infinite; }
.avatar-blur span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 0 5px; background: rgba(92,37,64,0.72); color: #fff; font-size: 9px; font-weight: 500; letter-spacing: .08em; text-align: center; text-transform: uppercase; animation: lt-ping 14s linear infinite; }
.demo-reveal__list { flex: 1 1 220px; min-width: 0; }
.demo-reveal__list .gauge { margin-bottom: 16px; }
.ladder { display: grid; gap: 9px; }
.ladder__row { display: flex; align-items: center; gap: 10px; }
.ladder__row:nth-child(1) { animation: lt-s1 14s linear infinite; }
.ladder__row:nth-child(2) { animation: lt-s2 14s linear infinite; }
.ladder__row:nth-child(3) { animation: lt-s3 14s linear infinite; }
.ladder__row:nth-child(4) { animation: lt-s4 14s linear infinite; }
.ladder__pts { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--terra); color: #fff; font-size: 12px; font-weight: 600; }
.ladder__row span:last-child { font-size: 14px; color: var(--text); }
.ladder__row strong { font-weight: 600; color: var(--plum); }
.demo-switch { display: grid; gap: 12px; }
.demo-switch__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line-2); }
.demo-switch__lbl { display: block; font-size: 15px; font-weight: 500; color: var(--plum); }
.demo-switch__states { position: relative; display: block; height: 20px; font-size: 13px; }
.demo-switch__states span { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--muted); }
.demo-switch__states span:first-child { animation: lt-swOn 9s ease-in-out infinite; }
.demo-switch__states span:last-child { animation: lt-swOff 9s ease-in-out infinite; }
.demo-switch__track { flex: none; display: inline-flex; align-items: center; width: 40px; height: 22px; padding: 2px; border-radius: 999px; animation: lt-swTrack 9s ease-in-out infinite; }
.demo-switch__knob { display: block; width: 18px; height: 18px; border-radius: 999px; background: #fff; animation: lt-swKnob 9s ease-in-out infinite; }
.demo-switch__faded { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-radius: 20px; background: var(--paper); animation: lt-rowFade 9s ease-in-out infinite; font-size: 14px; color: var(--muted); }
.demo-switch__faded span:last-child { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head p { max-width: 30em; font-size: 15px; line-height: 1.55; color: var(--muted); }
.cta-block { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: clamp(16px, 3vw, 30px) 0 clamp(6px, 1vw, 12px); }
.cta-block__title { max-width: 26em; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--plum); }
.cta-block p { max-width: 32em; font-size: 15px; line-height: 1.6; color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-md); background: rgba(255,255,255,0.78); border: 1.5px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; color: var(--plum); font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--terra); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- Journal ---------- */
.post-card { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: rgba(255,255,255,0.76); border: 1px solid rgba(197,106,70,0.16); backdrop-filter: blur(6px); transition: border-color .2s ease; }
.post-card:hover { border-color: var(--terra); }
.post-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--muted); }
.post-card h2 { margin-bottom: 10px; }
.post-card h2 a { color: var(--plum); }
.post-card p { margin-bottom: 18px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.post-card__more { margin-top: auto; font-size: 13px; font-weight: 500; color: var(--terra); }
.article { width: 100%; max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 60px) 0 clamp(30px, 5vw, 54px); }
.article__back { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 20px; font-size: 13px; font-weight: 500; color: var(--terra); }
.article__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.article h1 { margin-bottom: 18px; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.025em; }
.article__chapo { margin-bottom: 28px; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: var(--text); }
.article__cta { margin-top: 34px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: rgba(255,255,255,0.76); border: 1px solid rgba(197,106,70,0.16); }
.article__cta p { margin-bottom: 12px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; color: var(--plum); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; font-size: 13px; font-weight: 500; color: var(--plum); }
.field__hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.field__hint.is-ok { color: var(--success); }
.field__hint.is-bad { color: var(--danger); }
.input, .textarea, .select {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream-2);
  font-size: 16px; font-weight: 400; color: var(--plum); transition: border-color .2s ease, background .2s ease;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--terra); background: #fff; }
.textarea { min-height: 120px; padding: 14px 18px; line-height: 1.55; resize: vertical; }
.input--round { height: 62px; min-height: 62px; max-width: 520px; padding: 0 22px; border-radius: 999px; background: #fff; font-size: 18px; }
.textarea--round { padding: 18px 22px; border-radius: 22px; background: #fff; font-size: 17px; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C2540' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: var(--text); cursor: pointer; line-height: 1.5; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--terra); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form__error { padding: 12px 16px; border-radius: 14px; background: #FBE9E5; color: var(--danger); font-size: 14px; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.range { width: 100%; accent-color: var(--terra); }
.range-box { max-width: 560px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px; }
.range-box__label { margin-bottom: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--terra); }
.range-box__legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips--dense { gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--plum); font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; user-select: none; }
.chip:hover { border-color: var(--terra); }
.chip--sm { min-height: 46px; padding: 0 18px; font-size: 14px; }
.chip--xs { min-height: 42px; padding: 0 16px; font-size: 14px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.is-on, .chip:has(input:checked) { background: var(--terra); border-color: var(--terra); color: #fff; }
.chip--plum.is-on, .chip--plum:has(input:checked) { background: var(--plum); border-color: var(--plum); }
.chips + .chips__hint, .chips__hint { margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Onboarding ---------- */
.page--onboarding { display: grid; grid-template-rows: auto 1fr auto; padding: var(--pad-page); }
.ob__head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ob__head img { height: 40px; width: auto; }
.ob__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ob__meta .counter { color: var(--terra); }
.ob__meta a { color: var(--muted); }
.ob__meta a:hover { color: var(--plum); }
.ob__body { position: relative; max-width: 880px; width: 100%; margin: 0 auto; align-self: center; padding: clamp(28px, 6vw, 60px) 0; animation: lt-in .45s ease both; }
.ob__body .kicker { display: block; margin-bottom: 22px; letter-spacing: .18em; }
.ob__q { margin-bottom: 18px; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
.ob__help { margin-bottom: 36px; max-width: 34em; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; color: var(--muted); }
.ob__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(197,106,70,0.18); padding-top: 18px; flex-wrap: wrap; }
.ob__bars { display: flex; gap: 6px; }
.ob__bars span { width: 34px; height: 4px; border-radius: 999px; background: var(--line-4); }
.ob__bars span.is-done { background: var(--terra); }
.ob__bars span.is-current { background: var(--rose); }
.ob__nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ob__block { flex: 1 0 100%; margin: 0; font-size: 13px; color: var(--danger); }
.ob__nav .back { font-size: 13px; font-weight: 500; color: var(--muted); }
.ob__nav .back:hover { color: var(--plum); }
.ob__done { display: flex; flex-direction: column; align-items: center; text-align: center; animation: lt-in .5s ease both; }
.seal { display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 999px; background: var(--terra); margin-bottom: 28px; animation: lt-seal .6s cubic-bezier(.2,.8,.3,1) both; }
.ob__done h1 { margin-bottom: 18px; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
.ob__done .lead { max-width: 32em; margin-bottom: 14px; color: var(--text); line-height: 1.68; }
.credit-box { display: inline-flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 24px; padding: 18px 26px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line-2); }
.credit-box p:first-child { font-size: 16px; font-weight: 600; color: var(--plum); }
.credit-box p:first-child span { display: inline-block; padding: 2px 10px; border-radius: 8px; background: var(--sand); color: var(--terra); }
.credit-box p:last-child { font-size: 13px; color: var(--muted); }
.ob__fine { margin-bottom: 32px; max-width: 34em; font-size: 13px; font-weight: 500; letter-spacing: .04em; line-height: 1.8; color: var(--muted); }
.account-form { max-width: 560px; }
.account-form .form { margin-bottom: 18px; }

/* ---------- Espace / cercle ---------- */
.cercle { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 92px clamp(26px, 3.4vw, 46px); padding: clamp(70px, 8vw, 110px) 0 clamp(80px, 9vw, 120px); }
.bubble { position: relative; flex: 0 1 142px; max-width: 162px; width: 142px; aspect-ratio: 1; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.3,1); z-index: 1; }
.bubble:nth-child(5n+1) { animation: lt-floatA 19s ease-in-out infinite; }
.bubble:nth-child(5n+2) { margin-top: 26px; animation: lt-floatB 23s ease-in-out infinite; }
.bubble:nth-child(5n+3) { margin-top: 8px; animation: lt-floatC 21s ease-in-out infinite; }
.bubble:nth-child(5n+4) { margin-top: 30px; animation: lt-floatA 26s ease-in-out infinite; }
.bubble:nth-child(5n+5) { margin-top: 14px; animation: lt-floatC 24s ease-in-out infinite; }
.cercle.has-focus .bubble { opacity: .32; transform: scale(.94); }
.cercle.has-focus .bubble.is-focus { opacity: 1; transform: scale(1.12); z-index: 5; animation: none; }
.bubble__face { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,0.72); border: 1.5px solid rgba(197,106,70,0.28); backdrop-filter: blur(6px); box-shadow: var(--shadow-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 12px; cursor: pointer; width: 100%; transition: border-color .2s ease; }
.bubble.is-focus .bubble__face { border-color: var(--terra); }
.bubble__certif { position: absolute; top: 10px; right: 12px; z-index: 2; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(255,255,255,0.8)); }
.bubble__certif .certif-badge__icon { width: 18px; height: 18px; }
.bubble__code { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bubble__hint { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--plum); }
.bubble__dist { font-size: 11px; color: var(--muted); }
.bubble__sat { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(280px, calc(100vw - 40px)); display: none; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; animation: lt-fade .3s ease both; }
.bubble__sat--up { bottom: 100%; padding-bottom: 12px; }
.bubble__sat--down { top: 100%; padding-top: 12px; animation-duration: .4s; }
.bubble.is-focus .bubble__sat { display: flex; }
.bubble__sat span { display: inline-flex; align-items: center; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.sat--plum { background: var(--plum); color: #fff; }
.sat--white { background: #fff; border: 1.5px solid var(--line-2); color: var(--plum); }
.sat--terra { background: var(--terra); color: #fff; pointer-events: auto; cursor: pointer; }
.cercle__renew { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(26px, 4vw, 44px); transition: opacity .3s ease; }
.cercle.has-focus ~ .cercle__renew { opacity: 0; }
.cercle__empty { text-align: center; max-width: 34em; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; }
.cercle__empty p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.convlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 720px; margin: 0 auto clamp(10px, 2vw, 20px); width: 100%; }
.convlist__item { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,0.78); border: 1.5px solid var(--line); text-decoration: none; color: var(--plum); transition: border-color .2s ease; }
.convlist__item--new { border-color: rgba(197,106,70,.48); background: rgba(255,248,244,.92); }
.convlist__item:hover { border-color: var(--terra); color: var(--plum); }
.convlist__avatar { flex: none; width: 46px; height: 46px; border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(135deg, #F7EBE4 0 8px, #EFDDD3 8px 16px); border: 1.5px solid #EFDDD3; }
.convlist__avatar img { width: 100%; height: 100%; object-fit: cover; }
.convlist__body { min-width: 0; flex: 1; }
.convlist__name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.convlist__last { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convlist__score { flex: none; font-size: 12px; font-weight: 600; color: var(--terra); }

/* ---------- Visite guidée ---------- */
.tour-anchor { position: relative; display: inline-flex; }
.tour-tip { position: absolute; left: 0; top: 100%; width: max-content; max-width: min(290px, calc(100vw - 48px)); margin-top: 12px; padding: 16px 18px; border-radius: 20px; background: var(--plum); color: #fff; box-shadow: 0 30px 60px -36px rgba(92,37,64,0.7); animation: lt-fade .3s ease both; z-index: 40; text-align: left; }
.tour-tip--right { left: auto; right: 0; }
.tour-tip--center { position: relative; top: auto; left: auto; max-width: min(420px, calc(100vw - 48px)); margin-top: 8px; }
.tour-tip__k { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.tour-tip__t { display: block; margin-bottom: 12px; font-size: 14px; line-height: 1.55; white-space: normal; }
.is-tour-ring { box-shadow: 0 0 0 3px rgba(197,106,70,0.45); }
.is-tour-border { border-color: var(--terra) !important; }
.profil-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--sand); color: var(--plum); font-size: 13px; font-weight: 500; }
.profil-pill:hover { background: var(--terra); color: #fff; }
.profil-pill__bar { width: 54px; height: 5px; border-radius: 999px; background: rgba(92,37,64,0.16); overflow: hidden; }
.profil-pill__bar span { display: block; height: 100%; border-radius: 999px; background: var(--terra); }
.profil-pill:hover .profil-pill__bar span { background: #fff; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(62,25,44,0.46); backdrop-filter: blur(4px); animation: lt-in .3s ease both; }
.modal[hidden] { display: none; }
.modal__box { position: relative; max-width: 460px; width: 100%; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow-modal); }
.modal__box--celebrate { max-width: 440px; text-align: center; border-radius: 30px; padding: clamp(26px, 4vw, 38px); animation: lt-pop .5s cubic-bezier(.2,.8,.3,1) both; }
.modal__k { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.modal__t { margin-bottom: 12px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--plum); }
.modal__p { margin-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 999px; background: var(--sand); color: var(--plum); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.celebrate__pts { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; margin-bottom: 22px; border-radius: 999px; background: var(--terra); font-size: 26px; font-weight: 600; color: #fff; }
.celebrate__value { margin: 0 0 24px; padding: 16px 20px; border-radius: 20px; background: var(--paper); font-size: clamp(17px, 1.9vw, 20px); font-weight: 600; line-height: 1.4; color: var(--plum); }
.sparks { position: absolute; left: 50%; top: 84px; width: 0; height: 0; pointer-events: none; }
.sparks span { position: absolute; left: 0; top: 0; }
.sparks span i { display: block; border-radius: 999px; animation: lt-spark 1.8s ease-out infinite; }
@media (max-width: 560px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal__box { border-radius: 26px 26px 0 0; max-height: 92vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .modal__box--celebrate { border-radius: 26px 26px 0 0; }
  .modal__actions .btn { flex: 1 1 auto; }
}

/* ---------- Profil ---------- */
.profil-cols { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.4vw, 28px); align-items: flex-start; padding-bottom: clamp(30px, 5vw, 54px); }
.profil-col { flex: 1 1 300px; min-width: 0; }
.profil-col--sm { flex: 1 1 260px; }
.profil-col .kicker { display: block; margin-bottom: 16px; letter-spacing: .14em; }
.profil-col h3 { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.profil-col .chips { margin-bottom: 22px; }
.profil-col .chips--tight { margin-bottom: 10px; }
.kv { display: grid; gap: 10px; }
.kv__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-3); padding-bottom: 10px; font-size: 14px; }
.kv__row span:first-child { color: var(--text); }
.kv__row span:last-child, .kv__row strong { font-weight: 600; color: var(--plum); text-align: right; }
.kv__row select { max-width: 160px; min-height: 40px; padding: 0 34px 0 12px; font-size: 14px; }
.fields { display: grid; gap: 8px; margin-bottom: 16px; }
.fcard { padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; }
.fcard.is-filled { background: var(--cream-2); border-color: var(--line-2); }
.fcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fcard__label { display: block; font-size: 15px; font-weight: 500; color: var(--plum); }
.fcard__value { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.fcard__action { flex: none; font-size: 12px; font-weight: 600; color: var(--terra); min-height: 32px; display: inline-flex; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track { display: inline-flex; align-items: center; width: 40px; height: 22px; padding: 2px; border-radius: 999px; background: #DCCCC2; transition: background .25s ease; }
.switch__knob { display: block; width: 18px; height: 18px; border-radius: 999px; background: #fff; transform: translateX(0); transition: transform .25s cubic-bezier(.2,.8,.3,1); }
.switch.is-on .switch__track, .switch:has(input:checked) .switch__track { background: var(--terra); }
.switch.is-on .switch__knob, .switch:has(input:checked) .switch__knob { transform: translateX(18px); }
.switch.is-on, .switch:has(input:checked) { color: var(--plum); }
.big-number { margin-bottom: 18px; font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--plum); }
.photo-preview { width: 96px; height: 96px; border-radius: 999px; overflow: hidden; border: 1.5px solid var(--line-2); background: repeating-linear-gradient(135deg, #F7EBE4 0 8px, #EFDDD3 8px 16px); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.is-busy { opacity: .55; pointer-events: none; }
.danger-zone { border: 1.5px solid rgba(179,64,46,0.25); background: #FFF7F5; }
.danger-zone .kicker { color: var(--danger); }

/* ---------- Formules ---------- */
.plans { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.2vw, 26px); align-items: stretch; justify-content: center; padding-bottom: clamp(30px, 5vw, 54px); }
.plan { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 30px); border-radius: 28px; background: rgba(255,255,255,0.78); border: 1.5px solid var(--line); backdrop-filter: blur(6px); box-shadow: 0 22px 44px -40px rgba(92,37,64,0.4); }
.plan--featured { background: var(--plum); border-color: var(--plum); box-shadow: 0 34px 64px -44px rgba(92,37,64,0.7); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.plan__name { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.plan--featured .plan__name { color: var(--rose); }
.plan__price { margin-bottom: 4px; font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--plum); }
.plan--featured .plan__price { color: #fff; }
.plan__sub { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.plan--featured .plan__sub { color: var(--wine-soft); }
.plan__credits { margin-bottom: 20px; padding: 12px 16px; border-radius: 16px; background: var(--paper); font-size: 15px; font-weight: 600; color: var(--terra); }
.plan--featured .plan__credits { background: rgba(255,255,255,0.14); color: #fff; }
.plan__lines { display: grid; gap: 10px; margin-bottom: 24px; }
.plan__lines div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text); }
.plan__lines i { flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 999px; background: var(--terra); }
.plan--featured .plan__lines div { color: #F1E2E9; }
.plan--featured .plan__lines i { background: var(--rose); }
.plan .btn { margin-top: auto; }
.plan--current { border-color: var(--terra); }
.checkout { max-width: 560px; margin: 0 auto; width: 100%; padding-top: clamp(20px, 4vw, 44px); }
.checkout .h-1 { margin-bottom: 8px; }
.checkout .lead { margin-bottom: 18px; }
.checkout__summary { display: grid; gap: 10px; margin: 20px 0; }
.notice { padding: 14px 18px; border-radius: 18px; background: var(--sand); color: var(--plum); font-size: 14px; line-height: 1.55; }
.notice--info { background: var(--wine-light); }
.notice--warn { background: #FBEBD9; }

/* ---------- Fil de conversation ---------- */
.fil { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.6vw, 34px); align-items: flex-start; padding: clamp(26px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); flex: 1; }
.fil__main { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; }
.fil__side { flex: 1 1 290px; min-width: 0; display: grid; gap: 18px; align-content: start; }
.fil__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(197,106,70,0.18); margin-bottom: 22px; }
.fil__avatar { flex: none; position: relative; width: 62px; height: 62px; border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(135deg, #F7EBE4 0 8px, #EFDDD3 8px 16px); filter: blur(3px); border: 1.5px solid #EFDDD3; display: flex; align-items: flex-end; justify-content: center; transition: filter .6s ease; }
.fil__avatar.is-open { filter: none; }
.fil__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fil__avatar span { position: relative; width: 100%; padding: 3px 0 4px; background: rgba(92,37,64,0.72); color: #fff; font-size: 8px; font-weight: 500; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.fil__who { min-width: 0; flex: 1; }
.fil__name { margin-bottom: 4px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--plum); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fil__meta { font-size: 14px; color: var(--muted); }
.fil__score { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,0.75); border: 1.5px solid var(--line-2); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: var(--terra); }
.fil__more { flex: none; width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255,255,255,0.75); display: inline-flex; align-items: center; justify-content: center; color: var(--plum); font-size: 20px; line-height: 1; }
.fil__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 220px; padding: 8px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-modal); display: grid; gap: 2px; }
.fil__menu[hidden] { display: none; }
.fil__menu button, .fil__menu a { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--plum); }
.fil__menu button:hover, .fil__menu a:hover { background: var(--sand); }
.fil__menu .is-danger { color: var(--danger); }
.messages { display: grid; gap: 14px; align-content: start; flex: 1 1 auto; min-height: 0; height: clamp(240px, 46vh, 520px); max-height: clamp(240px, 46vh, 520px); overflow-y: auto; padding-right: 4px; margin-bottom: 20px; overscroll-behavior: contain; }
.msg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.msg--me { align-items: flex-end; }
.msg__bubble { max-width: 78%; padding: 14px 18px; border-radius: 18px 18px 18px 6px; background: var(--paper); color: var(--text); font-size: 15px; line-height: 1.55; box-shadow: 0 14px 30px -26px rgba(92,37,64,0.5); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--me .msg__bubble { border-radius: 18px 18px 6px 18px; background: var(--plum); color: #fff; }
.msg__time { font-size: 11px; color: var(--muted); }
.msg__vote { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.msg__vote button { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,0.75); border: 1.5px solid var(--line-2); color: var(--terra); font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.msg__vote button:hover { background: var(--terra); color: #fff; border-color: var(--terra); }
.msg__voted { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--terra); color: #fff; font-size: 12px; font-weight: 500; }
.msg__voted--me { background: var(--sand); color: var(--terra); }
.msg__tuto { max-width: 90%; padding: 14px 18px; border-radius: 18px 18px 18px 6px; background: var(--plum); color: #fff; animation: lt-fade .5s ease both; }
.msg__tuto .tour-tip__t { font-size: 14px; }
.msg--system { align-items: center; }
.msg--system p { font-size: 12px; color: var(--muted); text-align: center; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.7); }
.typing { font-size: 13px; font-style: italic; color: var(--muted); }
.typing i { display: inline-block; width: 5px; height: 5px; margin-left: 2px; border-radius: 999px; background: var(--muted); animation: lt-dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
.composer { display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 26px; background: rgba(255,255,255,0.82); border: 1.5px solid var(--line); backdrop-filter: blur(8px); box-shadow: 0 22px 44px -38px rgba(92,37,64,0.5); }
.composer__emoji { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; font-size: 19px; transition: background .2s ease; }
.composer__emoji:hover, .composer__emoji.is-on { background: var(--sand); }
.composer textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 120px; padding: 12px 0; border: 0; background: transparent; color: var(--plum); font-size: 15px; line-height: 1.5; resize: none; outline: none; }
.composer__send { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: #8A6A55; color: #fff; font-size: 14px; font-weight: 500; transition: background .2s ease; }
.composer__send.is-ready { background: var(--terra); }
.composer__send:hover { background: var(--plum); }
.composer__hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
.emoji-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; padding: 12px 14px; border-radius: 22px; background: rgba(255,255,255,0.86); border: 1.5px solid var(--line); backdrop-filter: blur(8px); animation: lt-fade .25s ease both; }
.emoji-bar[hidden] { display: none; }
.emoji-bar button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.emoji-bar button:hover { background: var(--sand); }
.bio-card p.bio { margin-bottom: 10px; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; color: #fff; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.bio-card.is-open p.bio { -webkit-line-clamp: unset; display: block; }
.bio-card .kicker { display: block; margin-bottom: 12px; letter-spacing: .14em; }
.bio-card__more { display: inline-flex; align-items: center; min-height: 34px; margin-bottom: 12px; font-size: 13px; font-weight: 500; color: var(--rose); }
.bio-card__more:hover { color: #fff; }
.bio-card__note { font-size: 13px; color: var(--wine-soft); }
.tiers-card .kicker { letter-spacing: .14em; }
.tiers-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tiers-card__who { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tiers-card__head strong { font-size: 13px; font-weight: 600; color: var(--plum); }
.tiers-card__next { margin-bottom: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tiers-card .gauge { margin-bottom: 20px; }
.tiers { display: grid; gap: 10px; }
.tier { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-3); }
.tier__pts { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--sand); color: var(--muted); font-size: 12px; font-weight: 600; }
.tier.is-open .tier__pts { background: var(--terra); color: #fff; }
.tier__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tier__title { margin-bottom: 2px; font-size: 15px; font-weight: 600; color: var(--muted); }
.tier.is-open .tier__title { color: var(--plum); }
.tier__state { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tier.is-open .tier__state { color: var(--terra); }
.tier__value { font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.tier.is-open .tier__value { color: var(--text); animation: lt-reveal .6s ease both; }
.tier--absent { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0 5px 50px; border-bottom: 1px solid #F5EBE6; font-size: 13px; color: var(--muted); }
.tier--absent span:last-child { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tier__photo { margin-top: 8px; width: 120px; height: 120px; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line-2); }
.tier__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Navigation mobile ---------- */
.mobnav { display: none; }
@media (max-width: 767px) {
  .mobnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted); position: relative; }
  .mobnav a.is-active { color: var(--terra); }
  .mobnav svg { width: 22px; height: 22px; }
  .mobnav .badge { position: absolute; top: 8px; left: calc(50% + 6px); }
  .topbar__actions .hide-mobile { display: none; }
  .topbar--app .topbar__actions { gap: 8px; }
  .topbar__burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid rgba(197,106,70,0.35); background: rgba(255,255,255,0.7); color: var(--plum); }
  .topbar__burger svg { width: 22px; height: 22px; }
  .topbar__menu { display: none; position: absolute; top: calc(100% + 10px); right: 0; left: 0; z-index: 60; padding: 10px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-modal); }
  .topbar__menu.is-open { display: grid; gap: 4px; }
  .topbar__menu a, .topbar__menu button { display: block; text-align: left; padding: 12px 14px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--plum); width: 100%; }
  .topbar__menu a:hover { background: var(--sand); }
  .topbar--door .topbar__side { flex: 1 1 auto; }
  .topbar--door .topbar__side--left { order: 1; }
  .topbar--door .topbar__logo { order: 0; flex: 1 1 100%; height: 56px; }
  .topbar--door .topbar__side--right { order: 2; }
  .topbar--door .topbar__side .btn { flex: 1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .h-display { max-width: none; }
  .cercle { gap: 64px 18px; padding: 56px 0 70px; }
  .bubble { flex: 0 1 128px; width: 128px; }
  .bubble__sat--up { display: none !important; }
  .messages { height: 52vh; max-height: 52vh; }
  .fil__head { flex-wrap: wrap; }
  .fil__score { order: 3; }
  .footlinks__copy { margin-left: 0; flex-basis: 100%; }
  .ob__foot .btn { min-height: 48px; }
  .chip { min-height: 50px; padding: 0 20px; font-size: 15px; }
  .plan { max-width: none; }
}
@media (min-width: 768px) {
  .topbar__menu { display: none; }
  .page--app { padding-bottom: 28px; }
}

/* ---------- Flash, cookies, divers ---------- */
.flash-stack { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(520px, calc(100vw - 28px)); }
.flash { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-modal); font-size: 14px; color: var(--plum); animation: lt-in .3s ease both; }
.flash--success { border-color: rgba(63,122,87,0.4); }
.flash--error { border-color: rgba(179,64,46,0.45); color: var(--danger); }
.flash--info { border-color: var(--line-2); }
.flash button { margin-left: auto; color: var(--muted); font-size: 18px; line-height: 1; }
.cookie { position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80; margin: 0 auto; max-width: 560px; padding: 16px 18px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-modal); font-size: 13px; line-height: 1.55; color: var(--text); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cookie p { flex: 1 1 260px; }
.cookie .btn { flex: 0 0 auto; }
@media (max-width: 767px) { .cookie { bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom)); } body:not(.has-mobnav) .cookie { bottom: calc(14px + env(safe-area-inset-bottom)); } }
.divider { border: 0; border-top: 1px solid rgba(197,106,70,0.18); margin: 0; }
.error-page { text-align: center; padding: clamp(40px, 8vw, 100px) 0; max-width: 34em; margin: 0 auto; }
.error-page h1 { font-size: clamp(28px, 5vw, 56px); margin: 16px 0; }
.error-page p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.auth-card { max-width: 460px; width: 100%; margin: clamp(30px, 6vw, 70px) auto; padding: clamp(24px, 4vw, 34px); border-radius: 28px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow-card); }
.auth-card .modal__k { margin-bottom: 8px; }
.auth-card .form { margin-bottom: 18px; }
.auth-card__foot { margin-top: 16px; font-size: 13px; color: var(--muted); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sand); color: var(--plum); font-size: 13px; font-weight: 500; }
.commune-card { display: block; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.78); border: 1.5px solid var(--line); color: var(--plum); font-size: 14px; font-weight: 500; transition: border-color .2s ease; }
.commune-card:hover { border-color: var(--terra); color: var(--plum); }
.commune-card small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.stat-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { flex: 1 1 140px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.78); border: 1.5px solid var(--line); }
.stat strong { display: block; font-size: 24px; font-weight: 600; color: var(--plum); letter-spacing: -0.02em; }
.stat span { font-size: 12px; color: var(--muted); }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.is-hidden { display: none !important; }
