/* « Partir comme moi » : les trois formules (variante D du labo du 24/10) et les blocs formule 2 et 3 (variantes B).
   Repris de labo/labo.css ; la page charge ce fichier après style.css et v2.css. */
/* ---------- pièces communes aux variantes ---------- */
.lx-h { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.lx-h .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.lx-h p { margin-top: 10px; color: var(--ink-2); font-size: 18px; }
.lx-ok, .lx-no { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.lx-ok { background: var(--burnt); }
.lx-ok::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.lx-no { background: #ece6e4; }
.lx-no::before { content: ""; width: 10px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 2l6 6M8 2l-6 6' fill='none' stroke='%23a3999b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.lx-pill { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--burnt); }
.lx-pill .trio__n { margin: 0; width: 24px; height: 24px; font-size: 13px; }
.lx-price { font: 400 34px/1 var(--display); color: var(--burnt); }
.lx-price small { font: 600 14.5px/1 var(--sans); color: var(--ink-2); margin-left: 4px; }
.lx-need .btn { width: 100%; justify-content: space-between; padding-left: 24px; }



/* ---------- 01 D · selon votre envie ---------- */
.lx-scale { position: relative; max-width: 980px; margin: 0 auto 22px; display: flex; justify-content: space-between; font: 700 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.lx-scale::before { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 10px); height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--clay-2), var(--burnt)); }
.lx-needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.lx-need { display: flex; flex-direction: column; background: var(--paper); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -34px rgba(45, 27, 32, .6); }
.lx-need__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--clay); }
.lx-need__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-need__img .lx-pill { position: absolute; left: 14px; top: 14px; background: var(--paper); padding: 7px 12px 7px 7px; border-radius: 99px; }
.lx-need__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.lx-need__q { font: 700 12.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.lx-need h3 { margin-top: 6px; font: 400 25px/1.12 var(--display); }
.lx-need__gauge { margin-top: 18px; }
.lx-need__gauge p { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.lx-need__gauge p b { color: var(--choc); }
.lx-need__bar { margin-top: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.lx-need__bar i { height: 8px; border-radius: 9px; background: #ece6e4; }
.lx-need__bar i.on { background: var(--burnt); }
.lx-need__tags { list-style: none; margin: 16px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lx-need__tags li { padding: 6px 11px; border-radius: 99px; background: var(--clay); color: var(--burnt); font-size: 14px; font-weight: 600; }
.lx-need__foot { margin-top: auto; display: grid; gap: 14px; }
.lx-mini-phone { position: absolute; right: 18px; bottom: -40px; width: 120px; height: 210px; border-radius: 22px; background: #1d1316; padding: 6px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .5); transform: rotate(6deg); }
.lx-mini-phone div { height: 100%; border-radius: 17px; background: var(--paper); overflow: hidden; display: grid; grid-template-rows: 82px auto; }
.lx-mini-phone img { width: 100%; height: 82px; object-fit: cover; }
.lx-mini-phone p { padding: 8px; font: 400 12px/1.15 var(--display); color: var(--choc); }
.lx-mini-phone p small { display: block; margin-top: 6px; font: 600 9px/1.3 var(--sans); color: var(--ink-2); }

/* ---------- 02/03 B · photo + coches ---------- */
.lx-f { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--paper); border-radius: 30px; overflow: hidden; border: 2px solid var(--burnt); box-shadow: 0 30px 50px -36px rgba(139, 30, 63, .6); }
.lx-f__media { position: relative; min-height: 460px; }
.lx-f__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-f__cap { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 99px; background: rgba(255, 253, 251, .95); font-size: 14px; color: var(--ink-2); }
.lx-f__cap img { position: static; width: 34px; height: 34px; border-radius: 50%; }
.lx-f__cap b { display: block; color: var(--choc); font-size: 14.5px; }
.lx-f__body { padding: 36px 38px 32px; display: flex; flex-direction: column; }
.lx-f__body h3 { margin-top: 12px; font: 400 clamp(30px, 3vw, 40px)/1.05 var(--display); }
.lx-f__body h3 em { font-style: normal; color: var(--burnt); }
.lx-f__lead { margin-top: 10px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.lx-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.lx-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.35; color: var(--choc); }
.lx-checks li .lx-ok, .lx-checks li .lx-no { margin-top: 1px; }
.lx-checks li small { display: block; color: var(--ink-2); font-size: 15px; }
.lx-checks li.is-no { color: #8d8285; }
.lx-buy { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lx-buy .lx-price small { display: block; margin: 6px 0 0; }
.lx-buy .btn { flex: none; }
.lx-buy__more { width: 100%; font-size: 14.5px; color: var(--ink-2); }
.lx-buy__more button { border: 0; background: none; padding: 0; font: inherit; color: var(--burnt); text-decoration: underline; cursor: pointer; }


/* ---------- mobile ---------- */
@media (max-width: 1000px) {
  .lx-f { grid-template-columns: 1fr; }
  .lx-f__media { min-height: 0; aspect-ratio: 16 / 10; }
  .lx-scale { max-width: 560px; }
}
@media (max-width: 640px) {
  .lx-h { margin-bottom: 20px; }
  .lx-h .h2 { font-size: 30px; }
  .lx-h p { font-size: 16px; }
  /* D */
  .lx-scale { font-size: 11px; }
  .lx-needs { gap: 14px; margin-top: 30px; }
  .lx-need { border-radius: 22px; }
  .lx-need__img { aspect-ratio: 16 / 8; }
  .lx-need__body { padding: 16px 18px 18px; }
  .lx-need h3 { font-size: 21px; }
  .lx-need__tags { margin: 12px 0 14px; }
  .lx-need__tags li { font-size: 13px; padding: 5px 10px; }
  .lx-mini-phone { width: 92px; height: 160px; bottom: -26px; right: 14px; }
  .lx-mini-phone div { grid-template-rows: 60px auto; }
  .lx-mini-phone img { height: 60px; }
  .lx-mini-phone p { font-size: 10px; padding: 6px; }
  /* 02/03 B */
  .lx-f { border-radius: 24px; }
  .lx-f__media { aspect-ratio: 16 / 9; }
  .lx-f__cap { left: 10px; bottom: 10px; font-size: 12.5px; padding: 6px 12px 6px 6px; }
  .lx-f__cap img { width: 28px; height: 28px; }
  .lx-f__body { padding: 20px 18px 20px; }
  .lx-f__body h3 { font-size: 27px; margin-top: 10px; }
  .lx-f__lead { font-size: 16px; }
  .lx-checks { margin-top: 16px; gap: 10px; }
  .lx-checks li { font-size: 15.5px; gap: 10px; }
  .lx-checks li small { font-size: 13.5px; }
  .lx-buy { margin-top: 18px; padding-top: 16px; gap: 14px; }
  .lx-buy .lx-price { font-size: 28px; }
  .lx-buy .btn { width: 100%; justify-content: space-between; padding-left: 24px; }
}
.lx-h .eyebrow { display: block; text-align: center; }

/* intégration dans la page */
#formules .lx-h { margin-bottom: 26px; }
.lx-f { scroll-margin-top: 90px; }
.lx-buy__more button { border: 0; background: none; padding: 0; font: inherit; color: var(--burnt); text-decoration: underline; cursor: pointer; }
.lx-buy .btn [data-dest-label] { white-space: nowrap; }
.lx-swipe-hint { display: none; }

/* mobile et tablette : les trois formules l'une sous l'autre, elles s'empilent au défilement (comme « C'est mon voyage, prêt pour vous ») */
@media (max-width: 1000px) {
  .lx-needs { grid-template-columns: 1fr; max-width: 560px; margin: 26px auto 0; gap: 14px; }
  .lx-need { position: sticky; top: 76px; box-shadow: 0 -14px 30px -18px rgba(45, 27, 32, .35); }
  .lx-need:nth-child(2) { top: 90px; }
  .lx-need:nth-child(3) { top: 104px; }
}
@media (max-width: 640px) { .lx-f .lx-buy .btn { width: 100%; } }
@media (max-width: 640px) {
  .lx-need .btn { min-height: 50px; padding-left: 20px; font-size: 16px; white-space: nowrap; gap: 10px; }
  .lx-need .btn i { width: 34px; height: 34px; }
  .lx-need .lx-price { font-size: 28px; }
}

/* 24/10 · coches et croix sans rond, comme la liste du roadbook (les ronds restent pour les numéros) */
.lx-ok, .lx-no { width: 20px; height: 20px; border-radius: 0; background: none; }
.lx-ok::before { width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b1e3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.lx-no::before { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3999b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 16px no-repeat; }
.lx-checks li .lx-ok, .lx-checks li .lx-no { margin-top: 2px; }
/* 24/10 · photo Siquijor (bangka sur la droite) : le mini-téléphone passe à gauche pour ne pas cacher le bateau */
.lx-mini-phone { right: auto; left: 18px; transform: rotate(-6deg); }
.lx-need:first-child .lx-need__img img { object-position: 85% 50%; }
@media (max-width: 640px) { .lx-mini-phone { left: 14px; } }
