/* ═══════════════════════════════════════════════════════════════════════════
   CARTE DE VISITE WALLET — /service-carte-visite
   ───────────────────────────────────────────────────────────────────────────
   Charte du site : papier, encre anthracite, une seule police. Le rouge du
   logo ne sert qu'aux petits intitulés (comme partout, cf. couleurs.css).
   La carte du hero imite un pass Apple Wallet (coins 14 px, champs en
   capitales grises, QR en bas) : c'est ce que le visiteur aura vraiment.
   Script : assets/js/carte-visite.js.
   ═══════════════════════════════════════════════════════════════════════════ */

.cv { background: var(--paper); color: var(--ink); overflow-x: clip; }
.cv-wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }

.cv-eyebrow {
  margin: 0 0 14px;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand, #b41824);
}
.cv h1, .cv h2, .cv h3 { color: var(--ink); margin: 0; }
.cv h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.cv h2 span, .cv h1 span { color: var(--muted); }

/* Boutons */
.cv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.cv-btn--main { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -12px rgba(33, 34, 36, .55); }
.cv-btn--main:hover { background: #000; transform: translateY(-1px); }
.cv-btn--ghost { border: 1.5px solid var(--border); color: var(--ink); background: #fff; }
.cv-btn--ghost:hover { border-color: var(--ink); }
.cv-btn--blanc { background: #fff; color: var(--ink); }
.cv-btn--blanc:hover { transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.cv-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(60px, 8vw, 100px); position: relative; }
.cv-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 78% 40%, rgba(180, 24, 36, .07), transparent 70%),
              radial-gradient(40% 40% at 10% 0%, rgba(33, 34, 36, .05), transparent 70%);
}
.cv-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.cv-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.cv-lead { margin: 22px 0 0; max-width: 34em; font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); }
.cv-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cv-hero__faits { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-2); }
.cv-hero__faits li { display: inline-flex; align-items: center; gap: 8px; }
.cv-hero__faits svg { color: #19875a; }

/* La scène 3D */
.cv-scene { position: relative; height: 540px; perspective: 1400px; display: grid; place-items: center; }
.cv-halo { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(180, 24, 36, .18), transparent 65%); filter: blur(10px); }
.cv-ombre { position: absolute; bottom: 34px; width: 230px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(33, 34, 36, .28), transparent 70%); filter: blur(6px); }
.cv-pass {
  --rx: 6deg; --ry: -18deg;
  position: relative; width: 300px; height: 440px; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cv-pass__face {
  position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 20px 20px 18px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #2b2c2f 0%, #1a1b1d 55%, #111214 100%);
  box-shadow: 0 40px 80px -30px rgba(17, 18, 20, .65), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.cv-pass__face::after { /* reflet */
  content: ""; position: absolute; inset: -40% -60%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .09) 50%, transparent 58%);
  transform: translateX(var(--reflet, 0%));
}
.cv-pass__verso { transform: rotateY(180deg); padding-top: 26px; }
.cv-pass__haut { display: flex; justify-content: space-between; align-items: center; }
.cv-pass__logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.cv-pass__logo img { width: 26px; height: 26px; border-radius: 7px; background: #fff; padding: 2px; }
.cv-pass__etiq { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cv-pass__photo {
  position: absolute; right: 20px; top: 64px; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
  background: linear-gradient(135deg, #b41824, #6e0d16); box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
.cv-pass__k { margin: 18px 0 2px; font-size: .58rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.cv-pass__nom { color: #fff; margin: 0; font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; max-width: 180px; }
.cv-pass__v { margin: 0; font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .92); word-break: break-word; }
.cv-pass__verso .cv-pass__k { margin-top: 14px; }
.cv-pass__ligne { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.cv-pass__qr {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .62rem; text-align: center; color: rgba(255, 255, 255, .55);
}
.cv-pass__qr img { width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 7px; }

.cv-badge {
  position: absolute; margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff;
  font-size: .82rem; color: var(--ink-2); box-shadow: 0 16px 40px -16px rgba(33, 34, 36, .35);
  animation: cv-flotte 6s ease-in-out infinite;
}
.cv-badge b { color: var(--ink); }
.cv-badge--a { left: 0; top: 6%; }
.cv-badge--b { right: 0; bottom: 20%; animation-delay: -3s; }
@keyframes cv-flotte { 50% { transform: translateY(-10px); } }

/* ── Bande de chiffres ───────────────────────────────────────────────────── */
.cv-bande { border-block: 1px solid var(--border); background: #fff; }
.cv-bande__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.cv-bande__in > div { padding: 26px 18px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--border); }
.cv-bande__in > div:first-child { border-left: 0; }
.cv-bande b { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.cv-bande span { font-size: .88rem; color: var(--muted); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.cv-sec { padding-block: clamp(72px, 9vw, 116px); }
.cv-sec--teinte { background: var(--bg-subtle); }
.cv-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.cv-head__s { margin: 14px 0 0; color: var(--muted); font-size: 1.02rem; }

.cv-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cv-etapes li { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.cv-etapes__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; }
.cv-etapes h3 { margin-top: 18px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.cv-etapes p { margin: 8px 0 0; color: var(--ink-2); line-height: 1.6; font-size: .95rem; }

.cv-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cv-f { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--border); }
.cv-f__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.cv-f:nth-child(4n+1) .cv-f__ico { background: var(--c1-bg); color: var(--c1); }
.cv-f:nth-child(4n+2) .cv-f__ico { background: var(--c2-bg); color: var(--c2); }
.cv-f:nth-child(4n+3) .cv-f__ico { background: var(--c3-bg); color: var(--c3); }
.cv-f:nth-child(4n+4) .cv-f__ico { background: var(--c4-bg); color: var(--c4); }
.cv-f h3 { margin-top: 16px; font-size: 1.02rem; font-weight: 700; }
.cv-f p { margin: 6px 0 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }

.cv-comp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.cv-comp__col { border-radius: 20px; padding: 30px; }
.cv-comp__col h3 { font-size: 1.15rem; font-weight: 700; }
.cv-comp__col ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cv-comp__col li { position: relative; padding-left: 28px; line-height: 1.5; }
.cv-comp__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.cv-comp__col--papier { background: #fff; border: 1px solid var(--border); color: var(--muted); }
.cv-comp__col--papier h3 { color: var(--muted); }
.cv-comp__col--papier li::before { content: "✕"; color: #b9b3a9; }
.cv-comp__col--wallet { background: var(--ink); color: #fff; }
.cv-comp__col--wallet h3 { color: #fff; }
.cv-comp__col--wallet li::before { content: "✓"; color: #6fd3a4; }

/* ── Formules ───────────────────────────────────────────────────────────── */
.cv-bascule { display: flex; width: max-content; margin: 0 auto 34px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.cv-bascule button { border: 0; background: transparent; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer; }
.cv-bascule button[aria-checked="true"] { background: var(--ink); color: #fff; }
.cv-bascule em { font-style: normal; font-size: .74rem; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: #e7f5ee; color: #19875a; }
.cv-bascule button[aria-checked="true"] em { background: rgba(255, 255, 255, .16); color: #fff; }

.cv-prix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.cv-plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; }
.cv-plan h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.cv-plan__pour { margin: 8px 0 0; min-height: 3em; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.cv-plan__prix { margin: 18px 0 0; display: flex; align-items: baseline; gap: 4px; }
.cv-plan__prix b { color: var(--ink); font-size: 2.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cv-plan__prix span { color: var(--ink); font-size: 1.4rem; font-weight: 700; }
.cv-plan__prix em { font-style: normal; margin-left: 4px; font-size: .92rem; color: var(--muted); }
.cv-plan__essai { margin: 8px 0 0; display: inline-flex; width: max-content; padding: 3px 10px; border-radius: 999px; background: #e7f5ee; color: #19875a; font-size: .78rem; font-weight: 600; }
.cv-plan__detail { margin: 6px 0 0; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cv-plan__btn { margin-top: 22px; width: 100%; }
.cv-plan__l { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); list-style: none; display: grid; gap: 11px; font-size: .92rem; }
.cv-plan__l li { position: relative; padding-left: 26px; line-height: 1.45; color: var(--ink-2); }
.cv-plan__l li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 16px; height: 16px; border-radius: 50%;
  background: #e7f5ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319875a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}
.cv-plan__l li:has(> b)::before { display: none; }
.cv-plan__l li:has(> b) { padding-left: 0; }
.cv-plan__devis { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.cv-plan__devis a, .cv-prix__note a { color: var(--ink); text-decoration: underline; }

.cv-plan--vedette { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-10px); box-shadow: 0 34px 70px -34px rgba(17, 18, 20, .7); }
.cv-plan--vedette h3, .cv-plan--vedette .cv-plan__prix b, .cv-plan--vedette .cv-plan__prix span { color: #fff; }
.cv-plan--vedette .cv-plan__pour, .cv-plan--vedette .cv-plan__prix em, .cv-plan--vedette .cv-plan__detail { color: rgba(255, 255, 255, .62); }
.cv-plan--vedette .cv-plan__l { border-color: rgba(255, 255, 255, .14); }
.cv-plan--vedette .cv-plan__l li { color: rgba(255, 255, 255, .86); }
.cv-plan--vedette .cv-plan__l li::before { background-color: rgba(111, 211, 164, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fd3a4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.cv-plan--vedette .cv-btn--main { background: #fff; color: var(--ink); box-shadow: none; }
.cv-plan__ruban { position: absolute; top: -13px; left: 26px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--brand, #b41824); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }

.cv-calc { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--paper); display: grid; gap: 14px; }
.cv-calc label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.cv-calc output { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-calc input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); }
.cv-calc__aide { margin: 0; font-size: .78rem; color: var(--muted); }
.cv-prix__note { margin: 28px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }

/* ── Essai ──────────────────────────────────────────────────────────────── */
.cv-essai { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.cv-essai__txt p:not(.cv-eyebrow) { margin: 16px 0 0; color: var(--ink-2); line-height: 1.65; }
.cv-essai__p { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cv-essai__p li { padding-left: 28px; position: relative; font-weight: 500; }
.cv-essai__p li::before { content: "✓"; position: absolute; left: 0; color: #19875a; font-weight: 800; }
.cv-form { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: 0 24px 60px -36px rgba(33, 34, 36, .35); }
.cv-form__formules { border: 0; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cv-form__formules legend { margin-bottom: 10px; font-size: .86rem; font-weight: 600; }
.cv-form__formules label { position: relative; cursor: pointer; }
.cv-form__formules input { position: absolute; opacity: 0; }
.cv-form__formules span { display: grid; place-items: center; height: 44px; border-radius: 12px; border: 1.5px solid var(--border); font-weight: 600; font-size: .92rem; transition: all var(--t); }
.cv-form__formules input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cv-form__formules input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cv-form__g { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cv-form__g label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.cv-form__large { grid-column: 1 / -1; }
.cv-form__g label[hidden] { display: none; }
.cv-form__g input { height: 46px; border-radius: 10px; border: 1px solid var(--border); padding: 0 12px; font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); background: #fff; }
.cv-form__g input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(33, 34, 36, .1); }
.cv-form__g input.is-faux { border-color: #b42318; }
.cv-form__err { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdf0ef; color: #b42318; font-size: .88rem; font-weight: 550; }
.cv-form__ok { width: 100%; margin-top: 18px; }
.cv-form__ok--2 { margin-top: 10px; }
.cv-form__etapes { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: e; display: grid; gap: 12px; }
.cv-form__etapes li { counter-increment: e; position: relative; padding-left: 44px; min-height: 32px; line-height: 1.45; color: var(--ink-2); font-size: .95rem; }
.cv-form__etapes li::before {
  content: counter(e); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--border);
  font-weight: 700; color: var(--ink); font-size: .9rem;
}
.cv-form__etapes b { color: var(--ink); }
.cv-form__ok[disabled] { opacity: .6; cursor: progress; }
.cv-form__legal { margin: 10px 0 0; text-align: center; font-size: .76rem; color: var(--muted); }
.cv-form__legal a { color: inherit; text-decoration: underline; }
.cv-form__fin { position: absolute; inset: 0; border-radius: 22px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.cv-form__fin[hidden] { display: none; }
.cv-form__fin span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; margin-bottom: 14px; }
.cv-form__fin-t { margin: 0 0 6px; font-size: 1.5rem; font-weight: 700; }
.cv-form__fin p { max-width: 32ch; color: var(--ink-2); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.cv-faq { max-width: 820px; }
.cv-faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; margin-bottom: 10px; }
.cv-faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; font-weight: 600; font-size: 1.02rem; }
.cv-faq summary::-webkit-details-marker { display: none; }
.cv-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform var(--t); }
.cv-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cv-faq details p { margin: 0 0 20px; color: var(--ink-2); line-height: 1.65; }
.cv-faq details a { color: var(--ink); text-decoration: underline; }

/* ── Dernier appel ──────────────────────────────────────────────────────── */
.cv-final { padding: 0 0 clamp(72px, 9vw, 110px); background: var(--bg-subtle); }
.cv-final__in { background: var(--ink); border-radius: 28px; padding: clamp(40px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cv-final h2 { color: #fff; max-width: 20em; font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* Apparition au défilement (carte-visite.js pose .is-in) */
.cv-anim .cv-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cv-anim .cv-rv.is-in { opacity: 1; transform: none; }
.cv-anim .cv-plan--vedette.cv-rv.is-in { transform: translateY(-10px); }

/* ── Tablette / téléphone ───────────────────────────────────────────────── */
@media (max-width: 980px) {
  .cv-hero__in, .cv-essai { grid-template-columns: 1fr; }
  .cv-scene { height: 500px; }
  .cv-grille { grid-template-columns: repeat(2, 1fr); }
  .cv-prix { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .cv-plan--vedette, .cv-anim .cv-plan--vedette.cv-rv.is-in { transform: none; }
  .cv-plan__pour { min-height: 0; }
}
@media (max-width: 700px) {
  .cv-wrap { padding-inline: 16px; }
  .cv-etapes, .cv-comp { grid-template-columns: 1fr; }
  .cv-bande__in { grid-template-columns: 1fr 1fr; }
  .cv-bande__in > div:nth-child(3) { border-left: 0; }
  .cv-bande__in > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cv-scene { height: 470px; }
  .cv-pass { width: 260px; height: 390px; }
  .cv-pass__qr img { width: 96px; height: 96px; }
  .cv-badge--a { left: 0; top: 10%; }
  .cv-badge--b { right: 0; bottom: 8%; }
  .cv-form { padding: 20px; }
  .cv-form__g { grid-template-columns: 1fr; }
  .cv-btn { width: 100%; }
  .cv-hero__cta { flex-direction: column; }
}
@media (max-width: 420px) { .cv-grille { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .cv-badge { animation: none; }
  .cv-anim .cv-rv { opacity: 1; transform: none; }
}

/* ── La vidéo de démonstration (mockup iPhone) ───────────────────────────────
   Le fond de la tuile reprend le dégradé gris du tournage : la vidéo s'y fond
   sans bord visible. Lecture muette en boucle ; arrêtée hors de l'écran et
   pour qui demande moins d'animation (bouton lecture à la place). */
.cv-film {
  position: relative; aspect-ratio: 9 / 16; width: 100%; overflow: hidden; isolation: isolate;
  border-radius: 34px; background: linear-gradient(160deg, #d1cfcb 0%, #dedcd9 55%, #e8e6e5 100%);
  box-shadow: 0 40px 80px -40px rgba(33, 34, 36, .45), 0 0 0 1px rgba(33, 34, 36, .05);
}
.cv-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-film__lire {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: none; place-items: center; width: 72px; height: 72px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
}
.cv-film.is-pause .cv-film__lire { display: grid; }
.cv-film__barre { display: block; position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; height: 3px; border-radius: 3px; background: rgba(33, 34, 36, .12); overflow: hidden; }
.cv-film__barre i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); border-radius: inherit; }

/* La vidéo dans le hero, à la place de la carte 3D (choix du 13/10/2026). */
.cv-hero__film { position: relative; justify-self: center; width: min(100%, 380px, calc((100svh - 150px) * 9 / 16)); }
.cv-hero__film .cv-badge--a { left: -70px; top: 14%; }
.cv-hero__film .cv-badge--b { right: -60px; bottom: 26%; }

@media (max-width: 980px) {
  .cv-hero__film { width: min(82vw, 340px); margin-top: 8px; }
  .cv-hero__film .cv-badge--a { left: -24px; }
  .cv-hero__film .cv-badge--b { right: -24px; }
}


/* Les badges officiels Apple Wallet et Google Wallet : « disponible sur les deux ». */
.cv-dispo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; }
.cv-dispo span { width: 100%; font-size: .85rem; color: var(--muted); }
.cv-dispo img { height: 44px; width: auto; }
@media (max-width: 700px) { .cv-dispo img { height: 40px; } }

/* ── Papier contre Wallet : les visuels ──────────────────────────────────────
   La carte papier : une pile de cartes ivoire, de travers, coordonnées barrées.
   La carte Clairtis : un pass Wallet sombre, numéro à jour. */
.cvx-papier { position: relative; width: 250px; height: 150px; margin: 6px auto 42px; }
.cvx-papier__carte {
  position: absolute; inset: 0; padding: 18px 20px; border-radius: 6px;
  background: #fbf9f4; border: 1px solid #e3ddd1; box-shadow: 0 10px 24px -14px rgba(33,34,36,.35);
  transform: rotate(-5deg); z-index: 3;
  background-image: linear-gradient(100deg, transparent 49.6%, rgba(0,0,0,.05) 50%, transparent 50.6%);
}
.cvx-papier__carte--2 { transform: rotate(4deg) translate(10px, 6px); z-index: 2; }
.cvx-papier__carte--3 { transform: rotate(9deg) translate(18px, 12px); z-index: 1; opacity: .8; }
.cvx-papier__nom { margin: 0; font-weight: 700; font-size: .98rem; color: #6e6b66; }
.cvx-papier__poste { margin: 2px 0 16px; font-size: .74rem; color: #a6a19a; }
.cvx-papier__l { margin: 3px 0 0; font-size: .74rem; color: #a6a19a; }
.cvx-papier__l s { text-decoration-color: #b41824; text-decoration-thickness: 2px; }

.cvx-pass {
  width: 250px; margin: 0 auto 30px; padding: 14px 16px 16px; border-radius: 14px; text-align: left;
  background: #1c1d20; color: #fff; box-shadow: 0 22px 44px -22px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(-2deg);
}
.cvx-pass__haut { display: flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; }
.cvx-pass__haut img { border-radius: 6px; background: #fff; padding: 2px; }
.cvx-pass__haut em { margin-left: auto; font-style: normal; font-size: .64rem; font-weight: 600; color: #6fd3a4; background: rgba(111,211,164,.14); padding: 3px 8px; border-radius: 999px; }
.cvx-pass__k { margin: 12px 0 0; font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cvx-pass__nom { margin: 1px 0 0; font-size: 1.25rem; font-weight: 300; }
.cvx-pass__bas { display: flex; align-items: flex-end; justify-content: space-between; }
.cvx-pass__v { margin: 1px 0 0; font-size: .82rem; }
.cvx-pass__bas img { border-radius: 4px; background: #fff; padding: 3px; }

/* Les deux colonnes, chacune illustrée (variante A, choisie le 13/10/2026). */
.cvx-a { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; margin: 0 auto; }
.cvx-a__col { border-radius: 24px; padding: 34px 32px 32px; }
.cvx-a__col h3 { font-size: 1.2rem; font-weight: 700; }
.cvx-a__col ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cvx-a__col li { position: relative; padding-left: 28px; line-height: 1.5; }
.cvx-a__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.cvx-a__col--papier { background: #fff; border: 1px solid var(--border); color: var(--muted); }
.cvx-a__col--papier h3 { color: var(--muted); }
.cvx-a__col--papier li::before { content: "✕"; color: #c9c2b6; }
.cvx-a__col--wallet { background: var(--ink); color: #fff; }
.cvx-a__col--wallet h3 { color: #fff; }
.cvx-a__col--wallet li::before { content: "✓"; color: #6fd3a4; }
.cvx-a__col--wallet .cvx-pass { box-shadow: 0 22px 44px -22px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); }

@media (max-width: 760px) {
  .cvx-a { grid-template-columns: 1fr; }
}
