/* vChat - site vitrine. Valeurs issues de design/tokens (variables --vc-*). */
@font-face { font-family: 'Sora'; src: url('/assets/Sora-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/assets/Sora-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/assets/Sora-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/DMSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/DMSans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/DMSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --vc-primary: #6D28D9;
  --vc-primary-deep: #4C1D95;
  --vc-primary-light: #8B5CF6;
  --vc-primary-soft: #B9A3FB;
  --vc-lavender: #EDE7FB;
  --vc-coral: #FF5A7A;
  --vc-gold: #E8B931;
  --vc-gold-soft: #FBF1D3;
  --vc-gold-ink: #7A5A00;
  --vc-ink: #1B1530;
  --vc-ink-soft: #4A4263;
  --vc-ink-muted: #5E5677;
  --vc-border: #E4DFF0;
  --vc-surface-alt: #F7F5FC;
  --vc-surface: #FFFFFF;
  --vc-night: #140B2B;
  --vc-night-raised: #2A1258;
  --vc-on-night-muted: #CFC6E6;
  --vc-danger: #E11D48;
  --vc-danger-soft: #FFF1F3;
  --vc-danger-border: #FBCFD8;
  --vc-danger-ink: #9F1239;
  --vc-success: #15803D;
  --vc-font-display: 'Sora', system-ui, sans-serif;
  --vc-font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--vc-font-body); color: var(--vc-ink); background: var(--vc-surface); -webkit-font-smoothing: antialiased; }
a { color: var(--vc-primary); }
a:hover { color: var(--vc-primary-deep); }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--vc-font-display); margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--vc-primary-light); outline-offset: 2px; }

/* ---- En-tête ---- */
.site-header { border-bottom: 1px solid var(--vc-border); background: var(--vc-surface); }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vc-ink); }
.brand-name { font-family: var(--vc-font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.04em; }
.brand-name b { color: var(--vc-primary); font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--vc-ink-muted); text-decoration: none; padding: 6px 0; }
.nav-links a[aria-current="page"] { color: var(--vc-primary); font-weight: 700; border-bottom: 2px solid var(--vc-primary); }
.menu-toggle { display: none; }

/* En-tête de l'accueil : blanc sur violet */
.hero { background: var(--vc-primary); color: #fff; overflow: hidden; }
.on-violet { background: var(--vc-primary); color: #fff; border: 0; }
.on-violet .brand { color: #fff; }
.on-violet .nav-links a { color: var(--vc-lavender); }
.on-violet .nav-links a.pill { height: 44px; padding: 0 20px; border-radius: 22px; background: #fff; color: var(--vc-primary-deep); font-weight: 700; display: flex; align-items: center; }

@media (max-width: 760px) {
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 22px; background: transparent; color: inherit; cursor: pointer; }
  .site-header nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links a[aria-current="page"] { border-bottom: 0; }
  .on-violet .nav-links a.pill { justify-content: center; margin-top: 8px; }
}

/* ---- Héro ---- */
.hero-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px; padding-top: 48px; }
.hero-copy { flex: 1 1 440px; min-width: 0; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow-pill { align-self: flex-start; min-height: 34px; padding: 6px 14px; border-radius: 17px; background: var(--vc-primary-deep); color: var(--vc-lavender); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--vc-coral); flex-shrink: 0; }
.hero h1 { font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; }
.hero-lead { max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--vc-lavender); }
.hero-note { font-size: 14px; color: var(--vc-lavender); }

/* Boutons de téléchargement */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { height: 60px; padding: 0 22px 0 18px; border-radius: 30px; background: #fff; color: var(--vc-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; border: 0; }
.store:hover { color: var(--vc-ink); background: var(--vc-lavender); }
.store svg { color: var(--vc-primary); flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; color: var(--vc-ink-muted); }
.store strong { font-size: 17px; }
.store[aria-disabled="true"] { cursor: default; }
.store[aria-disabled="true"]:hover { background: #fff; }

/* Téléphones dessinés */
.phones { flex: 1 1 440px; min-width: 0; height: 600px; position: relative; display: flex; justify-content: center; }
.phone { position: absolute; left: 50%; width: 270px; border-radius: 44px; border: 9px solid var(--vc-night); overflow: hidden; }
.phone-discover { bottom: -60px; margin-left: -250px; height: 560px; background: var(--vc-surface-alt); color: var(--vc-ink); transform: rotate(-6deg); display: flex; flex-direction: column; gap: 10px; padding: 18px 12px; }
.phone-call { bottom: -30px; margin-left: -10px; height: 580px; background: var(--vc-night); transform: rotate(5deg); }
@media (max-width: 640px) { .phones { height: 430px; transform: scale(.7); transform-origin: center bottom; } .hero-copy { padding-bottom: 32px; } }

/* ---- Sections ---- */
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vc-primary); }
.section h2, .cta h2 { font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-weight: 600; font-size: 22px; margin-top: 6px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--vc-ink-muted); }
.card-alt { background: var(--vc-surface-alt); }
.card-white { background: #fff; }
.icon-tile { width: 56px; height: 56px; border-radius: 18px; background: var(--vc-primary); display: flex; align-items: center; justify-content: center; }
.step-num { font-family: var(--vc-font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--vc-primary); }
.band-lavender { background: var(--vc-lavender); }
.band-lavender .eyebrow { color: var(--vc-primary-deep); }
ol.grid, ul.grid { margin: 0; padding: 0; list-style: none; }

.band-night { background: var(--vc-night); color: #fff; }
.band-night .section { flex-direction: row; flex-wrap: wrap; align-items: center; }
.band-night .eyebrow { color: var(--vc-primary-soft); }
.split { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split > p { font-size: 17px; line-height: 1.6; color: var(--vc-on-night-muted); }
.safety { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.safety li { border-radius: 20px; background: var(--vc-night-raised); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.safety strong { font-size: 17px; }
.safety span { font-size: 15px; line-height: 1.5; color: var(--vc-on-night-muted); }

/* Tarifs */
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pricing-head .section-head { max-width: 640px; }
.pricing-head .eyebrow { color: var(--vc-gold-ink); }
.pricing-head > p { max-width: 360px; font-size: 16px; line-height: 1.55; color: var(--vc-ink-muted); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.price { position: relative; border-radius: 24px; border: 1px solid var(--vc-border); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.price .kind { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vc-ink-muted); }
.price .amount { font-family: var(--vc-font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.price .detail { font-size: 15px; line-height: 1.5; color: var(--vc-ink-muted); }
.price.featured { border: 2px solid var(--vc-primary); background: var(--vc-lavender); }
.price.featured .kind { color: var(--vc-primary-deep); }
.price .tag { position: absolute; right: 20px; top: -13px; height: 26px; padding: 0 11px; border-radius: 13px; background: var(--vc-gold); color: var(--vc-ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; }
.price.boost { border: 0; background: var(--vc-night); color: #fff; }
.price.boost .kind { color: var(--vc-gold); display: flex; align-items: center; gap: 6px; }
.price.boost .detail { color: var(--vc-on-night-muted); }
.prices-loading { font-size: 15px; color: var(--vc-ink-muted); }
.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pay-methods > span:first-child { font-size: 14px; color: var(--vc-ink-muted); margin-right: 6px; }
.chip { min-height: 36px; padding: 6px 14px; border-radius: 18px; background: var(--vc-surface-alt); border: 1px solid var(--vc-border); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; }

/* FAQ */
.band-alt { background: var(--vc-surface-alt); }
.faq { max-width: 880px; gap: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details { border-radius: 20px; background: #fff; border: 1px solid var(--vc-border); padding: 22px 24px; }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary svg { flex-shrink: 0; transition: transform .2s; }
details[open] summary svg { transform: rotate(180deg); }
details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--vc-ink-muted); }

/* Appel à l'action final */
.cta { border-radius: 32px; background: var(--vc-primary); color: #fff; padding: clamp(32px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.05; }
.cta p { font-size: 18px; color: var(--vc-lavender); }

/* ---- Pied de page ---- */
.site-footer { border-top: 1px solid var(--vc-border); background: #fff; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer .copy { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--vc-ink-muted); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }

/* ---- Pages légales ---- */
.legal-band { background: var(--vc-lavender); }
.legal-band .wrap { padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.legal-band .eyebrow { color: var(--vc-primary-deep); }
.legal-band h1 { font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; font-size: 15px; color: var(--vc-ink-soft); }
.badge-draft { min-height: 32px; padding: 4px 12px; border-radius: 16px; background: #fff; color: var(--vc-primary-deep); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.legal-layout { padding-top: 48px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.toc { flex: 1 1 240px; max-width: 300px; min-width: 0; position: sticky; top: 24px; }
.toc nav { border-radius: 24px; background: var(--vc-surface-alt); padding: 24px; }
.toc p { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vc-ink-muted); }
.toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--vc-ink); text-decoration: none; }
.toc a.active { background: var(--vc-lavender); color: var(--vc-primary-deep); font-weight: 700; }
@media (max-width: 900px) { .toc { position: static; max-width: none; } }
.legal { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 40px; font-size: 17px; line-height: 1.65; }
.legal > p.intro { color: var(--vc-ink-soft); }
.legal section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.legal h2 { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.legal h2 .n { color: var(--vc-primary); }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.essentials { border-radius: 24px; border: 1.5px solid var(--vc-border); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.essentials h2 { font-size: 22px; }
.essentials ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 24px; font-size: 15px; line-height: 1.5; }
.essentials li { display: flex; gap: 10px; }
.essentials li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--vc-primary); }
.commitments { border-radius: 24px; background: var(--vc-night); color: #fff; padding: 28px; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; font-size: 15px; line-height: 1.5; }
.commitments li { display: flex; gap: 10px; }
.commitments li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; border-radius: 4px; background: var(--vc-coral); }
.todo { padding: 1px 8px; border-radius: 8px; background: var(--vc-lavender); border: 1px dashed var(--vc-primary-light); color: var(--vc-primary-deep); font-size: 15px; font-weight: 500; }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--vc-border); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--vc-border); }
th { background: var(--vc-surface-alt); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* ---- Suppression de compte ---- */
.delete-layout { padding-top: 56px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.delete-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.delete-info h1 { font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; }
.delete-info .lead { font-size: 18px; line-height: 1.55; color: var(--vc-ink-soft); }
.panel { border-radius: 24px; background: #fff; border: 1px solid var(--vc-border); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.panel h2 { font-weight: 600; font-size: 20px; }
.panel.lavender { background: var(--vc-lavender); border: 0; }
.consequences { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.consequences li { display: flex; gap: 12px; }
.consequences .mark { flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.mark.lost { background: #FDE4E9; color: #BE123C; }
.mark.info { background: var(--vc-lavender); color: var(--vc-primary-deep); }
.app-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.app-path .step { min-height: 40px; padding: 0 14px; border-radius: 20px; background: #fff; color: var(--vc-primary-deep); display: flex; align-items: center; gap: 8px; }
.app-path .step.red { color: #BE123C; }
.app-path em { font-style: normal; font-weight: 400; color: var(--vc-ink-soft); }
.form-card { flex: 1 1 420px; min-width: 0; border-radius: 28px; background: #fff; border: 1px solid var(--vc-border); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.form-card h2 { font-weight: 600; font-size: 22px; }
.form-card .sub { font-size: 15px; color: var(--vc-ink-muted); margin-top: 6px; }
.stepper { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.stepper .num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 14px; background: var(--vc-surface-alt); border: 1px solid var(--vc-border); color: var(--vc-ink-muted); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stepper .label { font-size: 13px; font-weight: 700; color: var(--vc-ink-muted); white-space: nowrap; }
.stepper .line { flex-grow: 1; height: 2px; border-radius: 1px; background: var(--vc-border); }
.stepper li:last-child .line { background: transparent; }
.stepper li.done .num, .stepper li.current .num { background: var(--vc-primary); border-color: var(--vc-primary); color: #fff; }
.stepper li.done .line { background: var(--vc-primary); }
.stepper li.current .label { color: var(--vc-ink); }
.form-card form, .form-card .step { display: flex; flex-direction: column; gap: 18px; }
/* Une étape masquée reste masquée, même avec un display défini par ailleurs. */
[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row .field { flex: 1 1 160px; }
input[type=tel], input[type=text], select { height: 52px; border-radius: 16px; border: 1.5px solid var(--vc-border); padding: 0 16px; font: inherit; font-size: 16px; color: var(--vc-ink); background: #fff; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--vc-primary); }
input.code { font-family: var(--vc-font-display); font-size: 26px; letter-spacing: 0.4em; text-align: center; }
.btn { height: 56px; border: 0; border-radius: 28px; background: var(--vc-primary); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn:hover { background: var(--vc-primary-deep); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.danger { background: var(--vc-danger); }
.btn.danger:disabled { background: #F3A3B5; opacity: 1; }
.btn.text { height: 44px; background: transparent; color: var(--vc-primary-deep); }
.btn.ghost { background: #fff; color: var(--vc-primary-deep); border: 1.5px solid var(--vc-primary); }
.hint { font-size: 14px; color: var(--vc-ink-muted); }
.alert { border-radius: 20px; background: var(--vc-danger-soft); border: 1px solid var(--vc-danger-border); padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--vc-ink-soft); }
.alert strong:first-child { font-size: 16px; color: var(--vc-danger-ink); }
.ack { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.ack input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--vc-danger); flex-shrink: 0; }
.error { font-size: 14px; color: var(--vc-danger); }
.ack.ok input { accent-color: var(--vc-primary); }
.ack a { color: var(--vc-primary-deep); font-weight: 700; }
.link-btn { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--vc-primary-deep); cursor: pointer; }
fieldset.gender { border: 0; margin: 0; padding: 0; flex-direction: row; flex-wrap: wrap; }
fieldset.gender legend { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 8px; width: 100%; }
fieldset.gender label { flex: 1 1 120px; cursor: pointer; }
fieldset.gender input { position: absolute; opacity: 0; pointer-events: none; }
fieldset.gender span { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 16px; border: 1.5px solid var(--vc-border); background: #fff; font-weight: 700; }
fieldset.gender input:checked + span { border-color: var(--vc-primary); background: var(--vc-primary); color: #fff; }
fieldset.gender input:focus-visible + span { outline: 2px solid var(--vc-primary-deep); outline-offset: 2px; }
.success { text-align: center; align-items: center; }
.success .ok { width: 64px; height: 64px; border-radius: 32px; background: #DCFCE7; color: var(--vc-success); display: flex; align-items: center; justify-content: center; }
.success h3 { font-weight: 700; font-size: 22px; }
.success p { color: var(--vc-ink-muted); line-height: 1.55; }

/* Lien de retour vers l'accueil (pages légales et suppression de compte) */
.back-home { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 10px; border-radius: 20px; background: #fff; border: 1px solid var(--vc-border); color: var(--vc-primary-deep); font-size: 14px; font-weight: 700; text-decoration: none; }
.back-home:hover { background: var(--vc-lavender); color: var(--vc-primary-deep); }
/* Choix de la langue dans le menu (FR / EN). */
.nav-links .lang-link { font-weight: 700; letter-spacing: .04em; }
/* Lien vers la même page dans l'autre langue (pages légales). */
.lang-switch { align-self: flex-start; margin-top: 10px; color: var(--vc-primary-deep); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* En-tête toujours visible en haut de l'écran ; les ancres tombent juste en dessous. */
.site-header { position: sticky; top: 0; z-index: 50; }
main section[id], #telecharger { scroll-margin-top: 96px; }

/* Formulaire « Nous écrire » */
textarea { border-radius: 16px; border: 1.5px solid var(--vc-border); padding: 14px 16px; font: inherit; font-size: 16px; color: var(--vc-ink); background: #fff; width: 100%; resize: vertical; min-height: 140px; }
textarea:focus { outline: none; border-color: var(--vc-primary); }
input[type=email] { height: 52px; border-radius: 16px; border: 1.5px solid var(--vc-border); padding: 0 16px; font: inherit; font-size: 16px; color: var(--vc-ink); background: #fff; width: 100%; }
input[type=email]:focus { outline: none; border-color: var(--vc-primary); }
.btn.whatsapp { background: #128C4B; gap: 10px; align-self: flex-start; }
.btn.whatsapp:hover { background: #0E6F3B; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Page d'invitation (lien de parrainage) */
.code-big { font-family: var(--vc-font-display); font-weight: 700; font-size: 34px; letter-spacing: 0.12em; color: var(--vc-primary-deep); }
.stores-light .store { border: 1.5px solid var(--vc-border); }
.panel.download { display: flex; flex-direction: column; gap: 12px; }
.download-after { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--vc-ink-soft); }
.download-after strong { font-size: 17px; color: var(--vc-ink); }
.download-after .stores { justify-content: center; margin-top: 4px; }

/* Recharger mon compte : choix d'un forfait ou d'un montant */
.topup-h { font-weight: 600; font-size: 17px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--vc-border); background: #fff; font: inherit; color: var(--vc-ink); cursor: pointer; text-align: left; }
.choice strong { font-family: var(--vc-font-display); font-size: 18px; }
.choice span { font-size: 13px; color: var(--vc-ink-muted); }
.choice em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--vc-primary-deep); }
.choice[aria-pressed="true"] { border-color: var(--vc-primary); background: var(--vc-lavender); }
.choices.amounts .choice { align-items: center; }

/* Champ à libellé flottant (montant libre de la recharge) */
.float-field { position: relative; }
.float-field input { height: 64px; width: 100%; border-radius: 18px; border: 1.5px solid var(--vc-border); background: #fff; padding: 28px 48px 8px 18px; font: inherit; font-family: var(--vc-font-display); font-weight: 700; font-size: 18px; color: var(--vc-ink); -moz-appearance: textfield; transition: border-color .15s, box-shadow .15s; }
.float-field input::-webkit-outer-spin-button, .float-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.float-field input:focus { outline: none; border-color: var(--vc-primary); box-shadow: 0 0 0 4px var(--vc-lavender); }
.float-field label { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--vc-ink-muted); pointer-events: none; transition: top .15s, font-size .15s, color .15s; }
.float-field input:focus + label, .float-field input:not(:placeholder-shown) + label { top: 10px; transform: none; font-size: 12px; font-weight: 700; color: var(--vc-primary-deep); }
.float-field .unit { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--vc-ink-muted); }

/* Détail du crédit d'appel par forfait (page de recharge) */
.credit-details { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--vc-ink-soft); }
.credit-details li::before { content: '•'; color: var(--vc-primary); margin-right: 8px; }

/* Tutoriel de recharge : étapes illustrées */
.tutorial { padding-top: 24px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 12px; }
.tutorial h2 { font-family: var(--vc-font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.tuto-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.tuto-step { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--vc-border); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.tuto-step h3 { font-weight: 700; font-size: 17px; }
.tuto-step p { font-size: 15px; line-height: 1.5; color: var(--vc-ink-soft); }
.tuto-num { position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 15px; background: var(--vc-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tuto-phone { height: 170px; border-radius: 18px; background: var(--vc-lavender); padding: 18px 16px 14px 48px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 12px; color: var(--vc-ink); overflow: hidden; }
.tuto-phone .m-bar { background: #fff; border-radius: 10px; padding: 6px 10px; color: var(--vc-ink-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tuto-phone .m-title { font-family: var(--vc-font-display); font-weight: 700; font-size: 16px; }
.tuto-phone .m-field { background: #fff; border: 1px solid var(--vc-border); border-radius: 10px; padding: 7px 10px; }
.tuto-phone .m-btn { background: var(--vc-primary); color: #fff; border-radius: 14px; padding: 7px 10px; text-align: center; font-weight: 700; }
.tuto-phone .m-bubble { background: #dcf8c6; border-radius: 10px 10px 10px 2px; padding: 8px 10px; color: #1b1530; }
.tuto-phone .m-code { font-family: var(--vc-font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.15em; background: #fff; border-radius: 10px; padding: 6px 10px; text-align: center; }
.tuto-phone .m-chips { display: flex; gap: 8px; }
.tuto-phone .m-chips span { flex: 1; background: #fff; border: 1.5px solid var(--vc-border); border-radius: 12px; padding: 6px 8px; }
.tuto-phone .m-chips span.on { border-color: var(--vc-primary); }
.tuto-phone .m-pay { font-weight: 700; color: var(--vc-primary-deep); }
.tuto-phone .m-ok { width: 44px; height: 44px; border-radius: 22px; background: var(--vc-success, #1f9d55); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; }

/* Tutoriel de recharge : version audio */
.tuto-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border-radius: 20px; background: var(--vc-lavender); padding: 14px 18px; }
.tuto-audio-icon { width: 44px; height: 44px; border-radius: 22px; background: var(--vc-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tuto-audio div { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; }
.tuto-audio span { font-size: 14px; color: var(--vc-ink-soft); }
.tuto-audio audio { flex: 1 1 260px; max-width: 100%; }

.wallet-topup { display: flex; flex-direction: column; gap: 18px; }
.btn.ghost:disabled { opacity: .5; cursor: default; }

.boost-slots { font-size: 14px; font-weight: 700; color: var(--vc-success, #1f9d55); margin-top: -6px; }
.boost-slots.full { color: var(--vc-danger, #c62828); }
.choice:disabled { opacity: .45; cursor: not-allowed; }
