/* ============================================================
   51AI合租 — 设计系统 (chinese e-commerce premium, chaleureux)
   ============================================================ */
:root {
  --brand: #F53D2D;
  --brand-d: #D92E1F;
  --brand2: #FF7A1A;
  --gold: #FFB300;
  --ink: #1F2329;
  --muted: #6B7280;
  --line: #F0E8E2;
  --bg: #FBF8F5;
  --card: #FFFFFF;
  --green: #16A34A;
  --shadow: 0 4px 20px rgba(31, 35, 41, .06);
  --shadow-lg: 0 12px 40px rgba(31, 35, 41, .12);
  --radius: 14px;
  --grad: linear-gradient(135deg, #F53D2D 0%, #FF7A1A 100%);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; }
::selection { background: #F53D2D22; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(245, 61, 45, .35); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245, 61, 45, .45); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- bandeau promo ---------- */
.promo-bar {
  background: var(--grad); color: #fff; text-align: center;
  font-size: 13px; font-weight: 600; padding: 8px 12px; letter-spacing: .5px;
  position: relative; z-index: 210;
}

/* ---------- logos produits ---------- */
.p-logo {
  width: 44px; height: 44px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); padding: 5px; object-fit: contain;
  flex-shrink: 0; box-shadow: 0 3px 10px rgba(31, 35, 41, .08);
}
.p-logo.p-icon-lg { width: 72px; height: 72px; border-radius: 18px; padding: 9px; }

/* ---------- header ---------- */
.hd {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.hd.scrolled { box-shadow: var(--shadow); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-badge {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 61, 45, .35);
}
.logo-txt { font-size: 20px; font-weight: 800; letter-spacing: .5px; line-height: 1.15; }
.logo-txt em { display: block; font-style: normal; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  color: var(--ink); transition: color .15s, background .15s;
}
.nav a:hover { color: var(--brand); background: #F53D2D0D; }
.hd-right { display: flex; align-items: center; gap: 12px; }
.rate-badge {
  font-size: 12px; color: var(--muted); background: #fff;
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.menu-btn {
  display: none; background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--ink); padding: 4px 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 85% -10%, #FFE4D6 0%, transparent 60%),
    radial-gradient(700px 380px at 10% 110%, #FFF3D9 0%, transparent 55%),
    linear-gradient(180deg, #FFFAF5 0%, var(--bg) 100%);
}
.hero-in {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 72px 20px 80px;
}
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid #FFD9CF;
  color: var(--brand); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow);
  animation: fadeUp .7s ease both;
}
.hero-txt h1 {
  font-size: clamp(38px, 5.2vw, 58px); font-weight: 800; letter-spacing: 1px;
  margin: 18px 0 16px; animation: fadeUp .7s .1s ease both;
}
.hero-txt h1 b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 16.5px; color: var(--muted); animation: fadeUp .7s .2s ease both; }
.hero-btns { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; animation: fadeUp .7s .3s ease both; }
.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  border-top: 1px dashed #EDD9CF; padding-top: 24px;
  animation: fadeUp .7s .4s ease both;
}
.hero-stats b { font-size: 26px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; font-size: 12.5px; color: var(--muted); }
.hero-cards { position: relative; height: 380px; animation: fadeUp .8s .3s ease both; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-lg); border: 1px solid #fff;
  transition: transform .25s ease;
}
.float-card:hover { transform: scale(1.04) !important; }
.float-card b { display: block; font-size: 15px; }
.float-card span { font-size: 12.5px; color: var(--brand); font-weight: 700; }
.float-card em {
  font-style: normal; font-size: 11px; color: var(--muted);
  background: var(--bg); padding: 3px 8px; border-radius: 999px;
}
.fc-1 { top: 30px; left: 8%; animation: floaty 5s ease-in-out infinite; }
.fc-2 { top: 150px; right: 2%; animation: floaty 6s .8s ease-in-out infinite; }
.fc-3 { top: 270px; left: 16%; animation: floaty 5.5s 1.6s ease-in-out infinite; }
.hero-glow {
  position: absolute; inset: 15% 10%; border-radius: 50%;
  background: radial-gradient(circle, #FF7A1A22 0%, transparent 70%);
  z-index: -1; animation: pulse 4s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- ticker ---------- */
.ticker {
  background: #1F2329; color: #FFD9CF; overflow: hidden;
  padding: 10px 0; font-size: 13px;
}
.ticker-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  animation: ticker 60s linear infinite; will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: 56px 0 8px; }
.sec.wrap, section.sec { max-width: none; }
.sec > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.sec-alt { background: #FFF6F0; max-width: none; padding: 48px 0 56px; margin-top: 48px; }
.sec-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 28px; position: relative; }
.sec-head h2 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.sec-head h2 i, .h2bar i {
  width: 6px; height: 22px; border-radius: 3px; background: var(--grad);
  display: inline-block; flex-shrink: 0;
}
.sec-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.sec-more {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 13.5px; color: var(--brand); font-weight: 600;
}
.sec-more:hover { text-decoration: underline; }
.sec-more-wrap { text-align: center; margin: 24px 0 8px; }
.h2bar {
  font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px;
  margin: 36px 0 18px;
}
.h2-note { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- catégories ---------- */
.cats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.cat-chip {
  display: flex; align-items: center; gap: 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.cat-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #FFD0C7; }
.cat-chip i {
  font-style: normal; font-size: 26px; width: 52px; height: 52px;
  background: var(--bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cat-chip b { display: block; font-size: 15.5px; }
.cat-chip span { font-size: 12px; color: var(--muted); display: block; line-height: 1.45; margin-top: 2px; }

/* ---------- grille produits ---------- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
}
.p-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #FFD0C7; }
.p-top { display: flex; align-items: center; gap: 12px; }
.p-icon {
  width: 44px; height: 44px; border-radius: 12px; color: #fff;
  font-size: 21px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 3px 10px rgba(31, 35, 41, .18);
}
.p-icon-lg { width: 72px; height: 72px; font-size: 36px; border-radius: 18px; }
.p-name { flex: 1; min-width: 0; }
.p-name h3 { font-size: 16.5px; font-weight: 700; }
.p-name span { font-size: 11.5px; color: var(--muted); }
.badge-hot {
  font-size: 11px; font-weight: 700; color: #fff; background: var(--grad);
  padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
}
.p-tagline { font-size: 13px; color: var(--muted); flex: 1; }
.p-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p-tags em {
  font-style: normal; font-size: 11px; color: var(--brand2);
  background: #FFF3E6; padding: 2px 8px; border-radius: 5px; font-weight: 600;
}
.p-tags em.tag-delivery, .tag-delivery {
  color: var(--green); background: #EAF7EE;
  font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 5px; font-weight: 600;
}
.p-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-top: 1px dashed var(--line); padding-top: 12px;
}
.p-price small { font-size: 11px; color: var(--muted); }
.p-price b { font-size: 21px; color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.p-sold { font-size: 11.5px; color: var(--muted); }

/* ---------- pourquoi nous / étapes ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.why-item {
  background: var(--card); border-radius: var(--radius); padding: 22px;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-item i { font-style: normal; font-size: 30px; }
.why-item h3 { font-size: 16.5px; margin: 10px 0 6px; }
.why-item p { font-size: 13.5px; color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: step; }
.step-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; position: relative;
}
.step-item b {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff;
  font-size: 18px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 61, 45, .35);
}
.step-item h3 { font-size: 16px; margin: 14px 0 6px; }
.step-item p { font-size: 13px; color: var(--muted); }

/* ---------- avis ---------- */
.rv-wall { columns: 3; column-gap: 16px; }
.rv-item {
  break-inside: avoid; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; margin-bottom: 16px;
}
.rv-list .rv-item { margin-bottom: 12px; }
.rv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.rv-head b { font-size: 14px; }
.rv-head time { font-size: 11.5px; color: var(--muted); margin-left: auto; }
.rv-prod {
  font-size: 11px; color: var(--brand2); background: #FFF3E6;
  padding: 2px 8px; border-radius: 5px; font-weight: 600;
}
.rv-item p { font-size: 13.5px; color: #41474F; }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.stars i { font-style: normal; color: #E8E2DC; }

/* ---------- guides cards ---------- */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.g-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.g-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.g-card h3 { font-size: 16px; font-weight: 700; }
.g-card p { font-size: 13px; color: var(--muted); flex: 1; }
.g-card span, .g-meta { font-size: 12.5px; color: var(--brand); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color .2s;
}
.faq-item[open] { border-color: #FFD0C7; }
.faq-item summary {
  padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 14.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; color: var(--brand); font-weight: 400;
  transition: transform .25s ease; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  max-width: 1200px; margin: 64px auto 72px; border-radius: 22px;
  background: var(--grad); color: #fff; text-align: center;
  padding: 56px 24px; box-shadow: 0 16px 48px rgba(245, 61, 45, .35);
}
.cta-band h2 { font-size: 28px; font-weight: 800; }
.cta-band p { margin: 10px 0 24px; opacity: .92; }

/* ---------- page produit ---------- */
.pd { padding-top: 28px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand); }
.pd-head {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px;
}
.pd-title { flex: 1; min-width: 0; }
.pd-title h1 { font-size: 26px; font-weight: 800; }
.pd-en { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.pd-tagline { color: var(--muted); margin: 6px 0 12px; }
.pd-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-meta b { color: var(--gold); }
.pd-meta span { color: var(--muted); }
.pd-meta i { color: var(--line); font-style: normal; }
.pd-price-box {
  text-align: right; background: #FFF6F0; border-radius: 14px; padding: 18px 24px;
  flex-shrink: 0;
}
.pd-price-box span { font-size: 12.5px; color: var(--muted); }
.pd-price-box b { font-size: 34px; color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.pd-price-box small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.plan-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #FFD0C7; }
.plan-card h3 { font-size: 14.5px; font-weight: 700; min-height: 40px; }
.plan-official { font-size: 12px; color: var(--muted); }
.plan-official s { color: #B0B6BD; }
.plan-ours { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; flex: 1; }
.plan-ours b { font-size: 26px; color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.plan-ours small { font-size: 11.5px; color: var(--muted); }
.plan-save {
  font-size: 11px; font-weight: 700; color: #fff; background: var(--brand2);
  padding: 2px 8px; border-radius: 999px;
}
.pd-tip {
  margin-top: 16px; font-size: 13px; color: var(--muted);
  background: #EAF7EE; border: 1px solid #CBEBD4; border-radius: 10px; padding: 12px 18px;
  color: #166534;
}
.pd-cols { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.pd-desc { font-size: 14.5px; color: #41474F; }
.pd-feats { list-style: none; margin-top: 14px; }
.pd-feats li { padding: 8px 0 8px 28px; position: relative; font-size: 14px; border-bottom: 1px dashed var(--line); }
.pd-feats li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.pd-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.side-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.side-box h3 { font-size: 15.5px; margin-bottom: 8px; }
.side-box p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.side-box p:last-child { margin-bottom: 0; }

/* ---------- pages génériques / articles ---------- */
.page-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.page-sub { color: var(--muted); margin-bottom: 28px; }
.art { max-width: 860px; }
.art h1 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.art-meta { font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.art-body h2 { font-size: 20px; font-weight: 800; margin: 32px 0 14px; padding-left: 12px; border-left: 5px solid var(--brand); }
.art-body h3 { font-size: 16.5px; margin: 22px 0 10px; }
.art-body p { margin-bottom: 14px; color: #41474F; font-size: 14.5px; }
.art-body ul { margin: 0 0 14px 22px; }
.art-body li { margin-bottom: 6px; font-size: 14.5px; color: #41474F; }
.art-body blockquote {
  border-left: 4px solid var(--gold); background: #FFFBEB;
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 16px 0;
  font-size: 14px; color: #78590A;
}
.art-body table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px;
  background: var(--card); border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  display: block; overflow-x: auto;
}
.art-body th, .art-body td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.art-body th { background: #FFF6F0; font-weight: 700; }
.art-body tr:last-child td { border-bottom: none; }
.art-body strong { color: var(--ink); }
.art-body a { color: var(--brand); }
.art-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: #FFF6F0; border: 1px solid #FFD9CF; border-radius: 16px;
  padding: 22px 26px; margin: 32px 0;
}
.art-cta b { font-size: 16.5px; }
.art-cta p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.art-verdict {
  background: #EAF7EE; border: 1px solid #CBEBD4; border-radius: 16px;
  padding: 22px 26px; margin: 28px 0;
}
.art-verdict h3 { margin-bottom: 8px; }
.art-verdict p { font-size: 14px; color: #166534; }

/* ---------- footer ---------- */
.ft { background: #1F2329; color: #B9BEC6; margin-top: 72px; }
.ft-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
  padding: 52px 0 36px;
}
.ft-brand p { font-size: 13px; margin-top: 16px; line-height: 1.8; }
.ft-pay { font-size: 13px; color: var(--gold); }
.ft-pay span { color: #7A8089; font-size: 11.5px; margin-left: 6px; }
.ft-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.ft-col a { display: block; font-size: 13px; padding: 5px 0; transition: color .15s; }
.ft-col a:hover { color: var(--brand2); }
.ft-bottom {
  border-top: 1px solid #33383F; padding: 18px 0 24px;
  font-size: 12px; color: #7A8089; text-align: center;
}

/* ---------- barre flottante ---------- */
.float-bar {
  position: fixed; right: 18px; bottom: 90px; z-index: 150;
  display: flex; flex-direction: column; gap: 10px;
}
.float-cs, .float-top {
  width: 52px; height: 52px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--card); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 18px; transition: transform .2s ease;
}
.float-cs span { font-size: 10px; color: var(--brand); font-weight: 700; }
.float-top { color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .25s, transform .2s; }
.float-top.show { opacity: 1; pointer-events: auto; }
.float-cs:hover, .float-top:hover { transform: translateY(-3px); }

/* ---------- modal commande ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(31, 35, 41, .55); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  backdrop-filter: blur(3px);
}
.modal-mask.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 20px; padding: 30px; width: 100%; max-width: 440px;
  position: relative; transform: translateY(20px) scale(.97); transition: transform .25s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-mask.open .modal { transform: translateY(0) scale(1); }
.modal-x {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1;
}
.modal h3 { font-size: 18px; margin-bottom: 16px; padding-right: 30px; }
.m-plans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.m-plan {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px;
  cursor: pointer; transition: border-color .15s, background .15s; font-size: 13.5px;
}
.m-plan:hover { border-color: #FFC4BA; }
.m-plan.sel { border-color: var(--brand); background: #FFF6F0; }
.m-plan b { font-weight: 600; }
.m-plan span { color: var(--brand); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.m-input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; font-family: var(--font); outline: none;
  transition: border-color .15s; margin-bottom: 14px;
}
.m-input:focus { border-color: var(--brand); }
.m-summary {
  font-size: 13px; background: var(--bg); border-radius: 10px; padding: 12px 16px;
  margin-bottom: 16px; color: var(--muted);
}
.m-summary b { color: var(--brand); font-size: 16px; }
.m-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.7; }
.m-input-error { border-color: var(--brand) !important; animation: shake .3s ease; }
.btn.loading { opacity: .75; pointer-events: none; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 33% { transform: translateX(-5px); } 66% { transform: translateX(5px); } }

/* ---------- page merci ---------- */
.thanks-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 48px 36px; text-align: center; margin-top: 24px;
}
.thanks-icon { font-size: 56px; }
.thanks-box h1 { font-size: 26px; margin: 14px 0 8px; }
.thanks-oid { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.thanks-oid b { color: var(--brand); font-variant-numeric: tabular-nums; }
.thanks-box > p { color: #41474F; font-size: 14.5px; }
.thanks-steps {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 28px 0; flex-wrap: wrap;
}
.thanks-steps > div:not(:nth-child(even)) {
  background: var(--bg); border-radius: 14px; padding: 14px 20px; min-width: 120px;
}
.thanks-steps b {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad); color: #fff; align-items: center; justify-content: center;
  font-size: 14px; margin-bottom: 6px;
}
.thanks-steps span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.thanks-steps i { color: #D8CFC8; font-style: normal; font-size: 20px; }
.thanks-note { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

/* ---------- page commandes ---------- */
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.orders-empty {
  background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius);
  text-align: center; padding: 48px 20px; color: var(--muted); font-size: 15px; line-height: 2;
}
.order-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px;
}
.order-main b { font-size: 15.5px; margin-right: 10px; }
.order-main span { font-size: 13px; color: var(--brand2); font-weight: 600; }
.order-main small { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.order-side { text-align: right; flex-shrink: 0; }
.order-side b { display: block; color: var(--brand); font-size: 17px; }
.order-side a { font-size: 12.5px; color: var(--brand2); font-weight: 600; }
.order-side a:hover { text-decoration: underline; }

/* ---------- pages 人群方案 ---------- */
.uc-pains { margin-bottom: 8px; }
.uc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.uc-prod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .2s ease, box-shadow .2s ease;
}
.uc-prod:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.uc-prod-head { display: flex; align-items: center; gap: 12px; }
.uc-prod-head > div { flex: 1; min-width: 0; }
.uc-prod-head b { display: block; font-size: 15.5px; }
.uc-prod-head span { font-size: 12.5px; color: var(--brand); font-weight: 700; }
.uc-prod-head em { font-style: normal; font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
.uc-prod p { font-size: 13px; color: var(--muted); margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.uc-tip {
  border-left: 4px solid var(--gold); background: #FFFBEB;
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 24px 0;
  font-size: 14px; color: #78590A;
}

/* ---------- 公告 / news ---------- */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 22px; transition: transform .2s ease, box-shadow .2s ease;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.news-item time {
  font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums;
  background: var(--bg); padding: 4px 10px; border-radius: 8px; flex-shrink: 0;
}
.news-item h3 { font-size: 15px; font-weight: 600; flex: 1; }
.news-item span { font-size: 12.5px; color: var(--brand); font-weight: 600; flex-shrink: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 20px 56px; }
  .hero-cards { height: 300px; }
  .rv-wall { columns: 2; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pd-cols { grid-template-columns: 1fr; }
  .pd-side { position: static; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .rate-badge { display: none; }
  .hd-in { gap: 12px; }
  .hd-right { margin-left: auto; }
  .rv-wall { columns: 1; }
  .pd-head { flex-direction: column; }
  .pd-price-box { text-align: left; width: 100%; }
  .hero-stats { gap: 22px; }
  .float-bar { right: 12px; bottom: 70px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { left: 6%; }
  .cta-band { margin: 48px 16px 56px; padding: 40px 18px; }
}
