/* ============================================================
   Gouro-bi — feuille de style principale
   ============================================================ */
:root {
  --primary: #bd1f58;
  --primary-d: #971844;
  --primary-dd: #6b0e30;
  --primary-l: #e5619a;
  --tint: #fdeaf1;
  --tint-2: #fef7fa;
  --gold: #c8913f;
  --gold-l: #fbeacd;
  --ink: #2c0f1c;
  --text: #4a3540;
  --muted: #806a74;
  --line: #f6e2e9;
  --bg: #fffcfe;
  --card: #fff;
  --danger: #c23b3b;
  --shadow: 0 12px 30px -14px rgba(107, 14, 48, .24);
  --shadow-lg: 0 30px 60px -22px rgba(107, 14, 48, .38);
  --font-d: "Fraunces", Georgia, "Times New Roman", serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; }
.gold { color: var(--gold); }
.rose { color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt { margin-top: 1.4em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font: 600 .95rem/1.1 var(--font);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary-l), var(--primary) 55%, var(--primary-d)); color: #fff; box-shadow: 0 10px 24px -10px rgba(189, 31, 88, .7); }
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(189, 31, 88, .85); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-gold { background: linear-gradient(135deg, #eccb94, var(--gold)); color: #3a2a05; box-shadow: 0 10px 24px -12px rgba(200, 145, 63, .8); }
.btn-white { background: #fff; color: var(--primary-d); }
.btn-danger { background: #fff; border-color: #f0d3d3; color: var(--danger); }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(253, 251, 254, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(107, 14, 48, .35); }
.nav { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 1.45rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 40px; height: 40px; }
.brand b { color: var(--primary); font-weight: 600; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links > a { position: relative; padding: .5em .75em; color: var(--ink); font-weight: 500; font-size: .92rem; border-radius: 10px; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a.active { color: var(--primary); }
.nav-links > a.active::after { content: ""; position: absolute; left: .75em; right: .75em; bottom: .1em; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--gold)); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-mobile-actions { display: none; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--primary-d); }
.icon-btn:hover { background: #ebdcfa; }
.dot-badge { position: absolute; top: 6px; right: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.avatar-btn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; }
.av-mini { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--h) 55% 45%), hsl(calc(var(--h) + 35) 60% 36%)); color: #fff; font-weight: 700; flex: none; }
.pill-gold { background: var(--gold-l); color: #7a521a; font-size: .7rem; padding: .2em .6em; border-radius: 99px; font-weight: 700; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); cursor: pointer; }
.burger .ic { width: 26px; height: 26px; }
.icon-btn .count-badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: #3a2a05; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; line-height: 1; }
.banner.gold { border: 1px solid #f0d9a0; }
.nav-quick { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nav-quick .icon-btn { width: 38px; height: 38px; }
.nav-quick .icon-btn.admin { background: var(--gold-l); color: #7a521a; }
@media (max-width: 1080px) {
  .nav-quick { display: flex; }
  .nav-quick + .burger { margin-left: 4px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--tint-2), #fff); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em 1em; border-radius: 99px; background: var(--tint); color: var(--primary-d); font-weight: 600; font-size: .82rem; border: 1px solid #e3cff7; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head .line { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--gold)); margin: 20px auto 0; }

/* ---------- Hero ---------- */
.hero {
  padding: 30px 0 64px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(229, 97, 154, .13), transparent 60%),
    radial-gradient(700px 400px at 0% 95%, rgba(200, 145, 63, .12), transparent 60%),
    linear-gradient(180deg, #fdeef4, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px; align-items: center; }
.hero-kicker { display: inline-flex; gap: .5em; align-items: center; color: var(--primary-d); font-weight: 600; font-size: .95rem; }
.hero-kicker .ic { color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); margin: 18px 0 22px; color: var(--primary-dd); }
.hero h1 .gold { font-style: italic; }
.hero h1 small { display: block; font-size: .6em; color: var(--primary-d); margin-top: .25em; }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: flex; align-items: center; gap: 10px; background: #1a1025; color: #fff; border-radius: 12px; padding: 8px 16px 8px 12px; font-size: .7rem; line-height: 1.2; }
.store svg { width: 24px; height: 24px; }
.store b { display: block; font-size: .98rem; }
.store em { font-style: normal; color: #d2b6f0; }
.proofs { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.proofs span { display: flex; align-items: center; gap: .45em; }
.proofs .ic { color: var(--primary); }

.hero-visual { position: relative; display: grid; place-items: end center; min-height: 760px; }
.float { position: absolute; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--ink); max-width: 240px; animation: bob 6s ease-in-out infinite; z-index: 4; line-height: 1.35; }
.float b { font-weight: 700; }
.float small { display: block; color: var(--muted); font-size: .72rem; }
.float .fi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--primary); flex: none; font-size: 1.1rem; }
.float .fi.g { background: var(--gold-l); color: #8a5d1c; }
.float.f1 { top: 11%; left: -34px; }
.float.f2 { bottom: 150px; right: -30px; animation-delay: -3s; }
.float.f3 { bottom: 64px; left: -10px; animation-delay: -1.5s; }

/* ---------- Héros : couple détouré + cœurs qui jaillissent ---------- */
/* L'image déborde volontairement vers la droite pour occuper la marge de la section */
.hero-scene {
  position: relative; display: grid; place-items: end center;
  width: calc(100% + clamp(0px, 3.5vw, 58px));
  max-width: 860px; margin-right: calc(-1 * clamp(0px, 3.5vw, 58px));
}
.hero-cut {
  position: relative; z-index: 2; width: 100%; height: auto; display: block;
  /* Le bas de l'image se fond dans le fond de la section */
  -webkit-mask-image: linear-gradient(180deg, #000 86%, rgba(0, 0, 0, .4) 95%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 86%, rgba(0, 0, 0, .4) 95%, transparent 100%);
  filter: drop-shadow(0 34px 34px rgba(107, 14, 48, .18));
}
/* Halo violet derrière le couple */
.hero-scene::before {
  content: ""; position: absolute; z-index: 1; bottom: 6%; left: 50%; translate: -50% 0;
  width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 97, 154, .26), rgba(200, 145, 63, .12) 45%, transparent 68%);
}

/* Point de départ : la main qui tend le gouro */
.hearts { position: absolute; z-index: 3; bottom: 53%; left: 33%; width: 0; height: 0; pointer-events: none; }
.hearts span {
  position: absolute; width: 18px; height: 18px;
  left: var(--ox, 0); bottom: var(--oy, 0);
  background: linear-gradient(145deg, #e5619a, #971844);
  rotate: -45deg; border-radius: 0 0 4px 0;
  opacity: 0; transform-origin: center;
  animation: jaillir var(--t, 8s) cubic-bezier(.2, .55, .35, 1) infinite; animation-delay: var(--d, 0s);
}
.hearts span::before, .hearts span::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: inherit;
}
.hearts span::before { top: -9px; left: 0; }
.hearts span::after { top: 0; right: -9px; }
@keyframes jaillir {
  0%   { opacity: 0; translate: 0 0; scale: .2; }
  8%   { opacity: .9; scale: var(--s, 1); }
  60%  { opacity: .55; }
  100% { opacity: 0; translate: var(--x, 0) -260px; scale: calc(var(--s, 1) * .7); }
}
@media (prefers-reduced-motion: reduce) {
  .hearts { display: none; }
}
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Avatars (photos floutées) ---------- */
.avatar { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(150deg, hsl(var(--h) 42% 80%), hsl(calc(var(--h) + 30) 45% 60%) 60%, hsl(calc(var(--h) + 50) 40% 42%)); }
.avatar .sil { position: absolute; inset: 0; filter: blur(8px); opacity: .9; }
.avatar .sil::before { content: ""; position: absolute; left: 50%; top: 20%; width: 34%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: hsl(calc(var(--h) + 20) 30% 28% / .7); }
.avatar .sil::after { content: ""; position: absolute; left: 50%; bottom: -16%; width: 80%; height: 50%; translate: -50% 0; border-radius: 50% 50% 0 0; background: hsl(calc(var(--h) + 20) 30% 26% / .78); }
.avatar.f .sil::before { top: 15%; width: 44%; border-radius: 50% 50% 42% 42%; }
.avatar .blurtag { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: .4em; background: rgba(255, 255, 255, .78); backdrop-filter: blur(4px); padding: .35em .75em; border-radius: 99px; font-size: .7rem; font-weight: 600; color: var(--ink); }
.avatar.coach { background: linear-gradient(145deg, #f3dfa6, var(--gold) 60%, #9c7420); display: grid; place-items: center; color: #fff; }
.avatar.coach .ic { width: 50%; height: 50%; }

/* ---------- Cartes fonctionnalités ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 26px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e3cff7; }
.fi-box { width: 58px; height: 58px; border-radius: 18px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin: 0 auto 18px; }
.fi-box .ic { width: 26px; height: 26px; }
.fcard h3 { font-size: 1.15rem; font-family: var(--font); font-weight: 700; margin-bottom: .4em; }
.fcard p { color: var(--muted); font-size: .95rem; margin: 0; }

.secu { background: radial-gradient(800px 400px at 10% 0%, rgba(229, 97, 154, .35), transparent 60%), linear-gradient(160deg, var(--primary-dd), #35091b); color: #e8dcf6; }
.secu .section-head h2 { color: #fff; }
.secu .section-head p { color: #f0bfd0; }
.secu .chip { background: rgba(255, 255, 255, .08); color: #dcc6f5; border-color: rgba(255, 255, 255, .14); }
.scard { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 32px 28px; }
.scard .fi-box { margin: 0 0 18px; background: rgba(200, 145, 63, .16); color: #eccb94; }
.scard h3 { color: #fff; font-family: var(--font); font-weight: 700; font-size: 1.15rem; margin-bottom: .4em; }
.scard p { color: #f0bfd0; margin: 0; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #d6bdf2 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step .num { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-l), var(--primary-d)); color: #fff; font-family: var(--font-d); font-size: 1.8rem; font-weight: 600; box-shadow: 0 0 0 10px var(--tint), 0 18px 30px -12px rgba(189, 31, 88, .6); }
.step h3 { font-family: var(--font); font-weight: 700; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .93rem; }
.dua { text-align: center; margin-top: 44px; font-family: var(--font-d); font-style: italic; color: var(--primary-d); font-size: 1.15rem; }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: 0 0 96px; }
.cta-box { border-radius: 32px; padding: 56px; background: radial-gradient(600px 300px at 100% 0%, rgba(230, 199, 124, .35), transparent 60%), linear-gradient(135deg, var(--primary), var(--primary-dd)); color: #f1e8fb; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; overflow: hidden; }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 8px; }
.cta-box p { margin: 0; color: #e2cff7; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.ribbon { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: linear-gradient(135deg, #eccb94, var(--gold)); color: #3a2a05; font-weight: 800; font-size: .72rem; letter-spacing: .06em; padding: .5em 1.1em; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 1.5rem; margin: 0; }
.plan .desc { color: var(--muted); font-size: .92rem; margin: .3em 0 1.2em; }
.price { display: flex; align-items: baseline; gap: .35em; flex-wrap: wrap; }
.price s { color: var(--muted); font-size: .95rem; }
.price b { font-family: var(--font-d); font-size: 2.8rem; color: var(--ink); line-height: 1; font-weight: 600; }
.price span { color: var(--muted); font-size: .9rem; }
.price-note { font-size: .82rem; color: var(--primary-d); font-weight: 600; margin: .5em 0 0; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: .92rem; flex: 1; align-content: start; }
.plan li { display: flex; gap: .6em; align-items: flex-start; }
.plan li .ic { color: var(--primary); margin-top: .2em; }
.plan li.head { font-weight: 700; color: var(--ink); }
.plan li.no { color: #a3b0aa; text-decoration: line-through; }
.plan li.no .ic { color: #c7d1cc; }
.paylogos { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; color: var(--muted); font-size: .88rem; align-items: center; }
.pl { display: inline-block; padding: .45em 1em; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--ink); }
.pl.wave { color: #1b9be0; }
.pl.om { color: #ff7900; }
.pl.free { color: #cd1e25; }
.fine { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 14px; }

/* ---------- Témoignages / engagements ---------- */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.tcard .fi-box { margin: 0; }
.tcard h3 { font-family: var(--font); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: -4px 0 -6px; }
.tcard > p { margin: 0; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 3px; }
.tcard blockquote { margin: 0; font-family: var(--font-d); font-size: 1.12rem; color: var(--ink); line-height: 1.55; font-style: italic; }
.who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.who b { display: block; color: var(--ink); }
.who small { color: var(--muted); }

/* ---------- Verset ---------- */
.verse { text-align: center; padding: 90px 0; background: linear-gradient(180deg, #fff, var(--tint)); }
.verse .ar { font-family: "Amiri", "Traditional Arabic", serif; font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: var(--primary-dd); direction: rtl; line-height: 2; margin: 0 auto 10px; max-width: 900px; }
.verse .tr { max-width: 720px; margin: 0 auto 8px; color: var(--muted); font-style: italic; }
.verse .ref { color: var(--gold); font-weight: 600; font-size: .9rem; margin-bottom: 34px; }
.verse h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 24px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #1e0a33; color: #c4b2d8; padding: 70px 0 30px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand b { color: #c77dff; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.site-footer a { color: #c4b2d8; display: block; padding: .25em 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.flag { display: inline-flex; height: 12px; width: 18px; border-radius: 2px; overflow: hidden; vertical-align: -1px; margin-left: 4px; }
.flag i { flex: 1; }
.flag i:nth-child(1) { background: #00853f; }
.flag i:nth-child(2) { background: #fdef42; }
.flag i:nth-child(3) { background: #e31b23; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 64px 0 44px; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(229, 97, 154, .12), transparent 70%), linear-gradient(180deg, #fdeef4, var(--bg)); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin: 16px 0 12px; }
.page-hero p { color: var(--muted); max-width: 660px; margin: 0 auto; font-size: 1.05rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }

/* ---------- Formulaires ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1.1fr; }
.auth-side { background: radial-gradient(600px 400px at 0% 0%, rgba(230, 199, 124, .25), transparent 60%), linear-gradient(160deg, var(--primary), var(--primary-dd)); color: #eee2fb; padding: 64px clamp(30px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.auth-side h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0; }
.auth-side ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: flex-start; }
.auth-side li .ic { color: #eccb94; margin-top: .2em; }
.auth-side blockquote { margin: 20px 0 0; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); font-family: var(--font-d); font-style: italic; font-size: 1.05rem; }
.auth-main { display: grid; place-items: center; padding: 48px 20px 70px; }
.auth-card { width: min(500px, 100%); }
.auth-card h1 { font-size: 2.2rem; margin-bottom: .2em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.input { width: 100%; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { resize: vertical; min-height: 110px; }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(189, 31, 88, .12); }
.input.err { border-color: var(--danger); }
.err-msg { color: var(--danger); font-size: .8rem; min-height: 0; }
.err-msg:empty { display: none; }
.hint { color: var(--muted); font-size: .8rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { position: relative; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; cursor: pointer; font-weight: 600; color: var(--ink); transition: .2s; background: #fff; }
.choice label:hover { border-color: #d6bdf2; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--primary); background: var(--tint); color: var(--primary-d); }
.choice label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(189, 31, 88, .15); }
.choice .emo { font-size: 1.9rem; display: block; margin-bottom: 4px; }
.progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 14px 0 28px; }
.progress i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--primary), var(--gold)); transition: width .35s; }
.step-label { font-size: .82rem; font-weight: 600; color: var(--primary-d); }
.step-pane { display: none; }
.step-pane.on { display: block; animation: fade .35s ease; }
.step-pane h2 { font-size: 1.5rem; margin-bottom: 18px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.form-nav { display: flex; gap: 12px; margin-top: 10px; }
.form-nav .btn { flex: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text); margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: .2em; accent-color: var(--primary); width: 18px; height: 18px; flex: none; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.switch-auth { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.switch-auth a { font-weight: 700; }

/* ---------- Profils ---------- */
.app-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 32px 0 90px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.filters-title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.filters-title button { background: none; border: 0; color: var(--primary); font-weight: 600; cursor: pointer; font-size: .82rem; }
.filters .field { margin-bottom: 14px; }
.filters .input { padding: .7em .9em; font-size: .9rem; }
.filters-toggle { display: none; }
.lock { display: inline-flex; align-items: center; gap: .25em; font-size: .68rem; font-weight: 700; color: #8a5d1c; background: var(--gold-l); padding: .15em .55em; border-radius: 99px; margin-left: 6px; }
.lock .ic { width: .9em; height: .9em; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.toggle-row input { accent-color: var(--primary); width: 18px; height: 18px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.results-head b { color: var(--ink); }
.searchbox { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.searchbox .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.searchbox .input { padding-left: 2.6em; border-radius: 999px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { padding: .6em 1.1em; border-radius: 99px; border: 1px solid var(--line); background: #fff; font: 600 .88rem var(--font); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: .45em; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab .count { background: var(--tint); color: var(--primary-d); border-radius: 99px; padding: 0 .5em; font-size: .75rem; }
.tab.on .count { background: rgba(255, 255, 255, .18); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s; text-align: left; padding: 0; font: inherit; color: inherit; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard:focus-visible { outline: 3px solid rgba(189, 31, 88, .35); outline-offset: 2px; }
.pcard-media { position: relative; aspect-ratio: 1 / 1.05; }
.pcard-media .avatar { position: absolute; inset: 0; }
.badge-verif { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--primary-d); font-size: .7rem; font-weight: 700; padding: .35em .7em; border-radius: 99px; display: flex; align-items: center; gap: .3em; }
.badge-online { position: absolute; top: 48px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .68rem; font-weight: 600; padding: .3em .65em; border-radius: 99px; display: flex; align-items: center; gap: .35em; }
.badge-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.badge-boost { position: absolute; top: 12px; right: 56px; background: linear-gradient(135deg, var(--gold), #eccb94); color: #482d0c; font-size: .68rem; font-weight: 800; padding: .32em .68em; border-radius: 99px; display: flex; align-items: center; gap: .3em; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.badge-boost .ic { width: 13px; height: 13px; }
.fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #9aa8a2; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.fav:hover { color: var(--gold); }
.fav.on { color: var(--gold); }
.fav.on svg { fill: currentColor; }
.pcard-body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { font-size: 1.2rem; margin: 0 0 2px; }
.meta { color: var(--muted); font-size: .83rem; margin: 0 0 10px; display: flex; align-items: center; gap: .35em; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { display: inline-flex; align-items: center; gap: .3em; font-size: .72rem; padding: .3em .7em; border-radius: 99px; background: var(--tint); color: var(--primary-d); font-weight: 600; }
.tags span.g { background: var(--gold-l); color: #7a521a; }
.tags span.s { background: #f8ecf1; color: var(--text); }
.tags span.gold-tag { background: linear-gradient(135deg, var(--gold), #eccb94); color: #482d0c; }
.gold-tag { display: inline-flex; align-items: center; font-size: .62rem; font-weight: 800; letter-spacing: .04em; padding: .28em .6em; border-radius: 99px; background: linear-gradient(135deg, var(--gold), #eccb94); color: #482d0c; }

/* Score de compatibilité détaillé (Premium) */
.cdetail { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--tint-2, #faf7fd); }
.cdetail.locked { text-align: center; }
.cd-head { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink); margin-bottom: 10px; }
.cdetail.locked .cd-head { justify-content: center; }
.cd-head .ic { width: 17px; height: 17px; color: var(--primary); }
.cd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cd-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.cd-list li:last-child { border-bottom: 0; }
.cd-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; }
.cd-ic .ic { width: 14px; height: 14px; }
.cd-list li.ok .cd-ic { background: #dcfce7; color: #15803d; }
.cd-list li.mid .cd-ic { background: var(--gold-l); color: #8a5d1c; }
.cd-list li.no .cd-ic { background: #fee2e2; color: #b91c1c; }
.cd-list li.nd .cd-ic { background: #f8ecf1; color: var(--muted); }
.cd-txt { flex: 1; min-width: 0; }
.cd-txt b { display: block; font-size: .85rem; color: var(--ink); font-weight: 700; }
.cd-txt small { display: block; font-size: .76rem; color: var(--muted); }
.cd-pts { font-size: .8rem; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; flex: none; }
.cd-list li.nd .cd-pts, .cd-list li.no .cd-pts { color: var(--muted); }
.cd-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.cd-total b { font-size: 1.15rem; color: var(--primary); }
.compat { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; font-size: .8rem; color: var(--muted); }
.compat .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.compat .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); }
.compat b { color: var(--primary-d); }
.status { margin-top: 10px; font-size: .78rem; font-weight: 700; color: #8a5d1c; }
.status.ok { color: var(--primary-d); }
.banner { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 18px; background: var(--gold-l); color: #5b430c; margin-bottom: 20px; flex-wrap: wrap; font-size: .93rem; }
.banner.soft { background: var(--tint); color: var(--primary-dd); }
.banner p { margin: 0; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: 22px; }
.empty .big { font-size: 2.4rem; }

/* ---------- Modales ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(40, 8, 21, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.modal-bg.open { opacity: 1; }
.modal { position: relative; width: min(780px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.98); transition: transform .25s; }
.modal-bg.open .modal { transform: none; }
.modal.sm { width: min(480px, 100%); }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; display: grid; place-items: center; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.modal-pad { padding: 34px; }
.pmodal { display: grid; grid-template-columns: 300px 1fr; }
.pmodal > .avatar { min-height: 420px; }
.pmodal-body { padding: 32px; }
.pmodal-body h2 { font-size: 1.9rem; }
.pmodal-body h4 { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 20px 0 6px; }
.pmodal-body p { margin: 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .9rem; margin: 18px 0 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; color: var(--ink); font-weight: 500; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.payopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.payopts label { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font-weight: 700; display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.payopts label:has(input:checked) { border-color: var(--primary); background: var(--tint); }
.payopts input { accent-color: var(--primary); }
.payopts .pl { border: 0; padding: 0; background: none; }
.demo-note { font-size: .8rem; color: #6b4e0c; background: var(--gold-l); padding: 10px 12px; border-radius: 12px; margin-bottom: 16px; }
.reasons { display: grid; gap: 8px; margin: 16px 0 20px; }
.reasons label { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; font-size: .92rem; }
.reasons label:has(input:checked) { border-color: var(--danger); background: #fdf3f3; }

/* ---------- Messagerie ---------- */
.chat-app { display: grid; grid-template-columns: 330px 1fr; height: calc(100vh - var(--header-h) - 48px); min-height: 540px; margin: 24px auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.chat-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.chat-list-head { padding: 22px 20px 12px; }
.chat-list-head h1 { font-size: 1.6rem; margin: 0; }
.chat-list-head p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.clist { overflow: auto; flex: 1; padding-bottom: 12px; }
.citem { display: flex; gap: 12px; align-items: center; padding: 12px 20px; cursor: pointer; border: 0; border-left: 3px solid transparent; width: 100%; background: none; text-align: left; font: inherit; color: inherit; }
.citem:hover { background: var(--tint-2); }
.citem.on { background: var(--tint); border-left-color: var(--primary); }
.cav { width: 48px; height: 48px; border-radius: 50%; flex: none; overflow: hidden; position: relative; }
.cav .avatar { position: absolute; inset: 0; }
.cav .avatar .sil { filter: blur(4px); }
.citem-txt { min-width: 0; flex: 1; }
.citem b { display: block; color: var(--ink); font-size: .95rem; }
.citem small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8rem; }
.clist-section { padding: 16px 20px 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .5em; }
.clist-section .count { background: var(--gold); color: #3a2a05; border-radius: 99px; padding: .1em .55em; font-size: .7rem; letter-spacing: 0; }
.creq { margin: 4px 12px 10px; padding: 12px; border: 1px solid #f0d9a0; background: #fffaf0; border-radius: 16px; display: grid; gap: 10px; }
.creq-top { display: flex; gap: 12px; align-items: center; }
.creq-top b { display: block; color: var(--ink); }
.creq-top small { color: var(--muted); font-size: .8rem; }
.creq-mot { margin: 0; font-size: .88rem; color: var(--text); font-style: italic; background: #fff; border-radius: 12px; padding: 8px 12px; border: 1px solid var(--line); }
.creq-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.creq-actions .btn { padding: .5em 1em; font-size: .82rem; }
.clist-empty { margin: 12px 20px; padding: 16px; border-radius: 16px; background: var(--tint-2); border: 1px dashed #e3cff7; font-size: .85rem; color: var(--muted); }
.chat-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chat-head .cav { width: 44px; height: 44px; }
.chat-head b { display: block; color: var(--ink); }
.chat-head small { color: var(--muted); font-size: .8rem; }
.chat-head .spacer { flex: 1; }
.back-btn { display: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint); color: var(--primary-d); cursor: pointer; flex: none; }
.chat-body { flex: 1; overflow: auto; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, var(--tint-2), #fff); }
.msg { max-width: 74%; padding: 10px 14px; border-radius: 18px; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.them { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; color: var(--ink); }
.msg.me { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg.sys { align-self: center; background: #fff4e0; color: #7a4b00; font-size: .82rem; border-radius: 12px; max-width: 92%; text-align: center; }
.msg time { display: block; font-size: .66rem; opacity: .6; margin-top: 4px; text-align: right; }
.msg .btn { margin-top: 10px; }

/* Messages vocaux */
.msg .vmsg { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.msg .vmsg .ic { width: 20px; height: 20px; flex: none; opacity: .75; }
.msg .vmsg audio { flex: 1; height: 36px; max-width: 220px; }
.msg .vmsg .vdur { font-size: .72rem; opacity: .7; font-variant-numeric: tabular-nums; flex: none; }
.msg.me .vmsg audio { filter: invert(1) hue-rotate(180deg); }
.recbar { display: flex; align-items: center; gap: 10px; padding: 6px 4px; }
.recbar .spacer { flex: 1; }
.recbar b { font-variant-numeric: tabular-nums; color: var(--ink); }
.recbar small { white-space: nowrap; }
.recdot { width: 11px; height: 11px; border-radius: 50%; background: #e0245e; flex: none; animation: recpulse 1.1s infinite; }
@keyframes recpulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (max-width: 560px) { .recbar small { display: none; } }
.day-sep { align-self: center; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: .2em .8em; border-radius: 99px; }
.typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 6px; padding: 12px 16px; display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b3a1c7; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-foot { border-top: 1px solid var(--line); padding: 12px 16px 14px; }
.breakers { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.breakers button { flex: none; border: 1px solid #e3cff7; background: var(--tint); color: var(--primary-d); border-radius: 99px; padding: .45em .9em; font: 500 .8rem var(--font); cursor: pointer; }
.breakers button:hover { background: #ebdcfa; }
.composer { display: flex; gap: 10px; align-items: center; }
.composer .input { flex: 1; border-radius: 999px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; transition: .2s; }
.round-btn.send { background: var(--primary); color: #fff; }
.round-btn.send:hover { background: var(--primary-d); }
.round-btn.soft { background: var(--gold-l); color: #8a5d1c; }
.round-btn.soft.on { background: var(--gold); color: #fff; }
.quota { font-size: .75rem; color: var(--muted); margin-top: 8px; text-align: center; }
.gate { max-width: 560px; margin: 70px auto; text-align: center; }
.gate .big { font-size: 3rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; padding-bottom: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #d6bdf2; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--primary); transition: transform .2s; line-height: 1; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }
.faq-cat { font-family: var(--font-d); font-size: 1.45rem; margin: 34px 0 4px; color: var(--primary-dd); display: flex; align-items: center; gap: .5em; }
.faq-cat:first-child { margin-top: 0; }
.faq-help { max-width: 820px; margin: 30px auto 90px; text-align: center; }

/* ---------- Blog ---------- */
.cats { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 90px; }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: inherit; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcover { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 3.2rem; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .6), transparent 50%), linear-gradient(135deg, hsl(var(--h) 55% 88%), hsl(calc(var(--h) + 30) 45% 68%)); }
.bbody { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bmeta { font-size: .78rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bcat { color: var(--primary-d); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bcard h3 { font-size: 1.25rem; margin: 0; }
.bcard p { color: var(--muted); font-size: .9rem; margin: 0; }
.bmore { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--primary); font-size: .88rem; display: flex; align-items: center; gap: .4em; }
.article .bcover { aspect-ratio: auto; height: 200px; font-size: 4rem; }
.article-body { padding: 34px 40px 40px; }
.article-body h2 { font-size: 2rem; margin: 10px 0 18px; }
.article-body h3 { font-size: 1.3rem; margin: 26px 0 10px; color: var(--primary-dd); }
.article-body p { font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; padding: 10px 0 90px; }
.cinfo { display: grid; gap: 14px; align-content: start; }
.cinfo-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.cinfo-item .fi-box { width: 46px; height: 46px; border-radius: 14px; margin: 0; flex: none; }
.cinfo-item .fi-box .ic { width: 22px; height: 22px; }
.cinfo-item b { display: block; color: var(--ink); }
.cinfo-item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Cookies & notifications ---------- */
.cookie { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 90; width: min(600px, calc(100% - 24px)); background: #fff; border-radius: 20px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .3); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; font-size: .88rem; border: 1px solid var(--line); }
.cookie-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-l); display: grid; place-items: center; font-size: 1.3rem; grid-row: span 2; }
.cookie strong { color: var(--ink); }
.cookie p { margin: 2px 0 0; color: var(--muted); }
.cookie-actions { grid-column: 2; display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 120; display: grid; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: .9rem; box-shadow: var(--shadow-lg); max-width: 360px; transform: translateX(20px); opacity: 0; transition: .3s; }
.toast.show { transform: none; opacity: 1; }
.toast.err { background: #a12f2f; }
.toast a { color: #d8b4fe; font-weight: 700; text-decoration: underline; }

/* ---------- Quelques gouros qui tombent ---------- */
.gouros { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.gouros span {
  position: absolute; top: 0; left: var(--l); width: 26px; height: 33px;
  opacity: var(--o, .2);
  animation: tomber var(--t, 18s) linear infinite; animation-delay: var(--d, 0s);
  will-change: transform;
}
.gouros svg { width: 100%; height: 100%; display: block; }
@keyframes tomber {
  0%   { transform: translate3d(0, -14vh, 0) rotate(0deg) scale(var(--sz, .8)); }
  100% { transform: translate3d(var(--dx, 0), 114vh, 0) rotate(var(--r, 90deg)) scale(var(--sz, .8)); }
}
@media (max-width: 640px) { .gouros span { width: 20px; height: 26px; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .burger { display: grid; place-items: center; }
  .nav-actions { display: none; }
  .nav-links { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 14px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; margin: 0; gap: 2px; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a { padding: .8em .6em; font-size: 1rem; }
  .nav-links > a.active::after { display: none; }
  .nav-mobile-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line); align-items: center; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-ctas, .stores, .proofs { justify-content: center; }
  .grid-3, .pricing, .bgrid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters-toggle { display: inline-flex; }
  .filters .filters-body { display: none; }
  .filters.open .filters-body { display: block; }
  .filters .filters-title { margin: 0; }
  .filters.open .filters-title { margin-bottom: 16px; }
  .pmodal { grid-template-columns: 1fr; }
  .pmodal > .avatar { min-height: 260px; }
}
@media (max-width: 820px) {
  .chat-app { grid-template-columns: 1fr; height: calc(100vh - var(--header-h)); margin: 0; border-radius: 0; border: 0; box-shadow: none; width: 100%; }
  .chat-app.has-active .chat-list { display: none; }
  .chat-app:not(.has-active) .chat-main { display: none; }
  .back-btn { display: grid; }
  .chat-wrap.container { width: 100%; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid-3, .pricing, .bgrid, .steps, .row-2 { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
  .hero-scene { max-width: 340px; }
  .hearts span { width: 14px; height: 14px; }
  .hearts span::before, .hearts span::after { width: 14px; height: 14px; }
  .hearts span::before { top: -7px; }
  .hearts span::after { right: -7px; }
  .float { font-size: .74rem; max-width: 200px; }
  .float.f1 { display: none; }
  .float.f3 { bottom: 36px; left: 0; }
  .float.f2 { right: 0; }
  .article-body { padding: 26px 22px 30px; }
  .modal-pad, .pmodal-body { padding: 26px 22px; }
  .payopts { grid-template-columns: 1fr; }
  .msg { max-width: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Photos ---------- */
.has-img { position: relative; isolation: isolate; overflow: hidden; }
.has-img > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.auth-side.has-img::before { background: linear-gradient(160deg, rgba(189, 31, 88, .7), rgba(53, 9, 27, .88)); }
.cta-box.has-img { min-height: 300px; }
.cta-box.has-img::before { background: linear-gradient(90deg, rgba(53, 9, 27, .94) 0%, rgba(151, 24, 68, .78) 50%, rgba(151, 24, 68, .25) 100%); }
.bcover:has(img) { padding: 0; }
.bcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article .bcover:has(img) { height: 280px; }
@media (max-width: 1020px) {
}
@media (max-width: 640px) {
}

/* ============================================================
   Finitions « pro »
   ============================================================ */
.hero { padding-bottom: 130px; }
.page-hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%237b2cbf' stroke-opacity='.06' stroke-width='1.2'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(700px 300px at 50% 0%, rgba(229, 97, 154, .12), transparent 70%),
    linear-gradient(180deg, #fdeef4, var(--bg));
}
.secu {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.2'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3Cpath d='M28 16 40 28 28 40 16 28Z'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='2.2' fill='%23c9a13b' fill-opacity='.2'/%3E%3C/svg%3E"),
    radial-gradient(800px 400px at 10% 0%, rgba(229, 97, 154, .35), transparent 60%),
    linear-gradient(160deg, var(--primary-dd), #35091b);
}

/* Cartes plus sobres, alignées à gauche */
.fcard { text-align: left; padding: 30px 28px; }
.fcard .fi-box { margin: 0 0 20px; }

/* Bandeau de confiance */
.trustbar { margin-top: -58px; position: relative; z-index: 3; }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px 8px; }
.trust { display: flex; gap: 14px; align-items: center; padding: 4px 20px; }
.trust + .trust { border-left: 1px solid var(--line); }
.trust .fi-box { width: 46px; height: 46px; border-radius: 14px; margin: 0; flex: none; }
.trust .fi-box .ic { width: 22px; height: 22px; }
.trust b { display: block; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.trust small { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }

/* Sections en deux colonnes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-text h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin: 18px 0 16px; }
.split-text > p { color: var(--muted); font-size: 1.06rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--tint); color: var(--primary); margin-top: -1px; }
.split-media { position: relative; isolation: isolate; }
.split-media::before { content: ""; position: absolute; width: 55%; height: 55%; right: -22px; top: -22px; border-radius: 28px; background-image: radial-gradient(var(--gold) 1.3px, transparent 1.6px); background-size: 16px 16px; opacity: .45; z-index: -1; }
.photo-frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; left: -26px; bottom: 30px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 290px; }
.photo-badge .fi-box { width: 44px; height: 44px; margin: 0; border-radius: 14px; flex: none; }
.photo-badge b { display: block; color: var(--ink); font-size: .92rem; }
.photo-badge small { color: var(--muted); font-size: .8rem; }

/* Maquette de conversation avec Badiène */
.chat-mock { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 470px; margin-left: auto; }
.chat-mock-head { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-mock-head .cav { width: 44px; height: 44px; }
.chat-mock-head b { display: block; color: var(--ink); }
.chat-mock-head small { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: .4em; }
.chat-mock-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.chat-mock-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, var(--tint-2), #fff); }
.chat-mock-body .msg { max-width: 86%; font-size: .9rem; }
.chat-mock-foot { display: flex; gap: 10px; align-items: center; padding: 12px 16px 16px; }
.chat-mock-foot span { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .7em 1em; color: var(--muted); font-size: .88rem; }
.chat-mock-foot i { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }

/* Mini-FAQ de l'accueil */
.faq-split { align-items: start; }
.faq-split .faq { margin: 0; max-width: none; padding: 0; }

/* Icônes à la place des émojis */
.empty .big, .gate .big { width: 64px; height: 64px; border-radius: 20px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin: 0 auto 16px; font-size: 1rem; }
.empty .big .ic, .gate .big .ic { width: 28px; height: 28px; }
.banner p .ic { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.faq-cat .ic { color: var(--gold); width: .85em; height: .85em; }
.cookie-ic { color: #8a5d1c; }
.cookie-ic .ic { width: 22px; height: 22px; }

/* Pied de page */
.site-footer {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.04' stroke-width='1.2'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z'/%3E%3C/g%3E%3C/svg%3E"),
    #1e0a33;
}
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
.footer-brand p { max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.site-footer .socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; padding: 0; transition: background .2s; }
.site-footer .socials a:hover { background: var(--primary); }
.site-footer .stores { flex-direction: column; align-items: flex-start; margin-top: 12px; }
.site-footer .store { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .footer-legal a { display: inline; padding: 0; }

/* ---------- Données réelles : photos, statuts ---------- */
.avatar.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-photo { position: relative; min-height: 420px; }
.pm-photo > .avatar { position: absolute; inset: 0; }
.status.gold { color: #8a5d1c; }
.status.muted { color: var(--muted); font-weight: 600; }
.statut { display: inline-flex; align-items: center; gap: .4em; font-size: .78rem; font-weight: 700; padding: .4em .85em; border-radius: 99px; white-space: nowrap; font-family: var(--font); }
.statut .ic { width: 1em; height: 1em; }
.statut.ok { background: #e7f7ee; color: #17803d; }
.statut.wait { background: var(--gold-l); color: #7a521a; }
.statut.bad { background: #fdecec; color: var(--danger); }

/* ---------- Mon profil ---------- */
.me-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding: 10px 0 90px; }
.me-side { position: sticky; top: calc(var(--header-h) + 20px); text-align: center; }
.me-photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; position: relative; box-shadow: var(--shadow); }
.me-photo img, .me-photo .avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.me-side h2 { font-size: 1.5rem; margin-bottom: 4px; }
.me-side .meta { justify-content: center; }
.me-nav { display: grid; gap: 2px; margin-top: 20px; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; }
.me-nav a { padding: .55em .8em; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .92rem; }
.me-nav a:hover { background: var(--tint); color: var(--primary); }
.me-main { display: grid; gap: 22px; min-width: 0; }
.me-card { scroll-margin-top: calc(var(--header-h) + 20px); }
.me-card h3 { font-family: var(--font); font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: .5em; }
.me-card h3 .ic { color: var(--primary); }
.photo-pair { display: flex; gap: 18px; margin: 18px 0; flex-wrap: wrap; }
.photo-pair figure { margin: 0; text-align: center; }
.photo-pair .thumb { width: 150px; height: 190px; border-radius: 18px; overflow: hidden; position: relative; background: var(--tint); display: grid; place-items: center; color: var(--primary); }
.photo-pair .thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-pair .thumb .ic { width: 32px; height: 32px; }
.photo-pair figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.upload-btn { cursor: pointer; }
.upload-btn.disabled { opacity: .6; pointer-events: none; }

/* Galerie de « Mon profil » */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; margin: 18px 0 4px; }
.gphoto { margin: 0; position: relative; }
.gphoto .thumb { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--tint); display: grid; place-items: center; color: var(--primary); }
.gphoto .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gphoto.main .thumb { outline: 2px solid var(--gold); outline-offset: 2px; }
.gphoto .gtag { position: absolute; top: 6px; left: 6px; background: var(--gold); color: #482d0c; font-size: .62rem; font-weight: 800; padding: .25em .55em; border-radius: 99px; display: flex; align-items: center; gap: .25em; }
.gphoto .gtag .ic { width: 11px; height: 11px; }
.gphoto .gacts { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.gphoto .gacts .btn { padding: .3em .6em; font-size: .7rem; }
.gfoot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

/* Bandeau de vignettes sur la fiche d'un membre */
.pm-thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent); }
.pm-thumb { width: 52px; height: 52px; flex: none; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; }
.pm-thumb.on { border-color: var(--gold); }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.verif-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.verif-form .hint, .verif-form .btn { grid-column: 1 / -1; }
.verif-form .btn { justify-self: start; }
.upload-box { border: 2px dashed var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 6px; justify-items: start; }
.upload-box > span { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.upload-box b { color: var(--ink); }
.upload-box small { color: var(--muted); }
.upload-box input { font-size: .82rem; max-width: 100%; margin-top: 6px; }
.notice { padding: 14px 16px; border-radius: 14px; background: var(--tint); color: var(--primary-dd); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.notice .ic { margin-top: .15em; }
.notice.bad { background: #fdecec; color: #8f2a2a; }
.notice.ok { background: #e7f7ee; color: #17603a; }
.danger-zone { margin-top: 24px; padding-top: 20px; border-top: 1px solid #f0d3d3; }
.danger-zone b { color: var(--danger); }

/* ---------- Administration ---------- */
.admin-wrap { padding: 10px 0 90px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 22px; margin-bottom: 16px; }
.admin-imgs { display: flex; gap: 10px; }
.admin-imgs figure { margin: 0; text-align: center; }
.admin-imgs img, .admin-imgs .noimg { width: 130px; height: 160px; object-fit: cover; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--muted); font-size: .75rem; }
.admin-imgs figcaption { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.admin-report { margin-bottom: 14px; padding: 22px 24px; }
.admin-report h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th, .admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; vertical-align: middle; }
.admin-table th { color: var(--muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.row-actions { display: flex; gap: 6px; }
.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-toolbar .input { max-width: 280px; }
.traite { opacity: .55; }
@media (max-width: 900px) {
  .me-grid { grid-template-columns: 1fr; }
  .me-side { position: static; }
  .admin-card { grid-template-columns: 1fr; }
  .admin-imgs { flex-wrap: wrap; }
  .verif-form { grid-template-columns: 1fr; }
  .pm-photo { min-height: 260px; }
}

@media (max-width: 1020px) {
  .trustbar-inner { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .trust:nth-child(3) { border-left: 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-text { text-align: left; }
  .photo-badge { left: 14px; }
  .chat-mock { margin: 0 auto; }
  .split-media::before { right: -10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .trustbar { margin-top: -70px; }
  .trustbar-inner { grid-template-columns: 1fr; padding: 16px 6px; }
  .trust + .trust { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-badge { position: relative; left: auto; bottom: auto; margin: -34px 14px 0; max-width: none; }
}

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 10px 0 90px; }
.legal h2 { font-size: 1.45rem; margin: 36px 0 10px; color: var(--primary-dd); }

/* Guide Premium */
.guide { max-width: 780px; margin: 0 auto; padding: 28px 0 90px; }
.backlink { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.backlink .ic { width: 16px; height: 16px; }
.guide-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.guide-head h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin: 14px 0 12px; color: var(--primary-dd); }
.guide-head .lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 10px; }
.guide-body h2 { font-size: 1.5rem; margin: 38px 0 12px; color: var(--primary-dd); scroll-margin-top: 90px; }
.guide-body h2:first-child { margin-top: 20px; }
.guide-body p { font-size: 1.04rem; line-height: 1.75; margin: 0 0 14px; }
.guide-body p b { color: var(--ink); }
.legal h2:first-of-type { margin-top: 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 6px 0 1.4em; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal-table th, .legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--tint-2); color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.legal-table tr:last-child td { border-bottom: 0; }
.captcha-box { margin: 4px 0 16px; min-height: 0; }
.captcha-box:empty { display: none; }
