/* 17/11 : page Offres (héros à grandes cartes, vidéos animées) et page Comparer */

/* Héros : les quatre formules en grandes cartes penchées */
.of-haut { padding-top: min(30px, 3vh); padding-bottom: min(40px, 4vh); }
.of-cartes { display: flex; justify-content: center; align-items: flex-start; gap: 1.8vw; margin-top: 0; }
.of-k { position: relative; display: flex; flex-direction: column; width: min(330px, 19vw); margin-top: var(--mt, 0); padding: min(50px, 2.9vw) min(42px, 2.4vw); border-radius: min(34px, 2vw); text-align: left; rotate: var(--r, 0deg); }
.of-k.j { background: var(--b); color: var(--a); }
.of-k.b { background: var(--a); color: #fff; }
.of-k.w { background: #fff; color: var(--a); }
.of-k .inc { position: absolute; top: -.9em; right: 1.2em; font-size: min(17px, 1.1vw); }
.of-nom { font: 800 min(26px, 1.6vw)/1.1 Unbounded, sans-serif; letter-spacing: -.02em; }
.of-pr { margin-top: min(70px, 4.2vw); font: 900 min(60px, 3.5vw)/1 Unbounded, sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.of-mois { margin-top: .7em; font-size: min(17px, 1.1vw); opacity: .82; }
.of-bt { display: flex; justify-content: center; gap: 14px; margin-top: min(60px, 6vh); }
.btn.of-cr { background: transparent; color: var(--a); box-shadow: inset 0 0 0 2px var(--a); }
.of-note { margin-top: 18px; font-size: 15px; color: color-mix(in srgb, var(--a-txt) 60%, #fff); }

/* Vidéos animées : fond bleu, trois écrans qui tournent en boucle */
.of-vid { background: var(--a); color: #fff; padding-block: min(110px, 11vh); overflow: hidden; }
.of-vid-g { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4vw; align-items: center; }
.of-vid .t2 { color: #fff; margin-top: 22px; }
.of-vid .sl .pinceau { color: var(--b); }
.of-vid-p { max-width: 520px; margin-top: 22px; font-size: min(20px, 1.4vw); color: color-mix(in srgb, #fff 82%, var(--a)); }
.of-vid-prix { display: flex; align-items: baseline; gap: 12px; margin-top: 30px; }
.of-vid-prix b { font: 900 min(54px, 3.4vw)/1 Unbounded, sans-serif; letter-spacing: -.04em; color: var(--b); }
.of-vid-prix span { color: color-mix(in srgb, #fff 70%, var(--a)); }
.of-vid ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 17px; }
.of-vid li::before { content: '✓'; margin-right: 10px; color: var(--b); font-weight: 700; }
.btn.of-pa { margin-top: 34px; background: var(--b); color: var(--a-txt); }
.of-ecrans { display: flex; justify-content: center; gap: 1.6vw; }
.of-ecrans figure { position: relative; margin: var(--y, 0) 0 0; width: min(250px, 15vw); rotate: var(--r, 0deg); }
.of-ecrans video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: min(26px, 1.6vw); background: #fff; box-shadow: 0 26px 50px rgba(0,0,0,.25); }
.of-ecrans figcaption { position: absolute; left: 50%; bottom: -1.3em; translate: -50% 0; font-size: min(14px, .95vw); white-space: nowrap; }

/* Payez un peu chaque mois : le calculateur sur le fond de la page, en une colonne */
.pm { display: flex; flex-direction: column; align-items: center; max-width: 820px; margin: min(80px, 9vh) auto 0; text-align: center; }
.pm .pm-seg { display: grid; grid-template-columns: repeat(4, auto); gap: 4px; width: auto; margin: 0; padding: 6px; border-radius: 40px; background: #fff; }
.pm .pm-seg button { padding: 15px 26px; border-radius: 30px; font: 800 min(17px, 1.15vw) Unbounded, sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.pm-res { display: flex; flex-direction: column; align-items: center; margin-top: min(56px, 6vh); color: var(--a); }
.pm-res b { font: 900 min(150px, 9vw)/.9 Unbounded, sans-serif; letter-spacing: -.06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-par { margin-top: 18px; font-size: min(21px, 1.45vw); font-weight: 500; color: var(--a-txt); }
.pm-fin { margin-top: 22px; padding: 8px 18px; border-radius: 30px; background: var(--b); color: var(--a); font: 800 min(17px, 1.1vw) Unbounded, sans-serif; letter-spacing: -.02em; rotate: -2deg; }
.pm-mois { width: min(640px, 100%); margin-top: min(60px, 6.5vh); }
.pm .mo-e { margin-bottom: 0; }
.pm-sw { margin-top: min(40px, 4.5vh); }

/* Page Comparer : « Laquelle vous va ? », tout le tableau sur le fond, la colonne conseillée en carte bleue */
.cp-t > .hd0 { align-items: flex-start !important; justify-content: flex-end !important; padding-left: 0 !important; }
.hd0 .cp-bascule { padding: 5px; }
.hd0 .cp-bascule button { padding: 11px 18px; font-size: 15px; }
.cp { padding-top: 0; }
.cp-bascule { display: flex; padding: 6px; border-radius: 40px; background: #fff; white-space: nowrap; }
.cp-bascule button { border: 0; padding: 14px 26px; border-radius: 30px; background: none; color: var(--a); font: 600 16px Onest, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.cp-bascule button.on { background: var(--a); color: #fff; }
.cp-tab { margin-top: min(130px, 14vh); padding-bottom: min(90px, 9vh); }
.cp-t { position: relative; display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); }
.cp-col { position: absolute; top: -44px; bottom: -34px; left: calc(2.7 / 5.7 * 100%); width: calc(1 / 5.7 * 100%); border-radius: 34px; background: var(--a); }
.cp-col .inc { position: absolute; top: 0; left: 50%; translate: -50% -50%; rotate: -3deg; font-size: 16px; white-space: nowrap; }
.cp-t > div:not(.cp-col) { position: relative; display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 0 14px; border-top: 1.5px solid color-mix(in srgb, var(--a) 11%, transparent); text-align: center; font-size: 17px; font-weight: 500; color: var(--a); }
.cp-t > .lib { justify-content: flex-start !important; padding-left: 0 !important; text-align: left !important; font-weight: 400 !important; color: var(--a-txt) !important; }
.cp-t > .w { color: #fff !important; border-top-color: rgba(255,255,255,.14) !important; }
.cp-t > .hd { flex-direction: column; justify-content: flex-end !important; min-height: 0 !important; padding-bottom: 34px !important; border-top: 0 !important; }
.cp-t > .hd b { font: 800 min(20px, 1.3vw)/1.15 Unbounded, sans-serif; letter-spacing: -.02em; }
.cp-t > .hd span { margin-top: 14px; font: 900 min(42px, 2.6vw)/1 Unbounded, sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.cp-t > .hd span small { display: block; margin-top: .3em; font-size: .4em; letter-spacing: 0; }
.cp-t > .grp { min-height: 0 !important; padding: 44px 0 14px !important; border-top: 0 !important; }
.cp-t > .grp:not(.w):nth-child(5n+2), .cp-t > .grp:first-of-type { justify-content: flex-start; font: 800 20px/1.1 Unbounded, sans-serif; letter-spacing: -.02em; }
.cp-t .ok { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.cp-t .ok.j { background-color: var(--b); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4f8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cp-t .non { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--a) 22%, #fff); }
.cp-t .w .non { background: rgba(255,255,255,.35); }
.cp-t > .fin { min-height: 0 !important; padding-top: 34px !important; border-top: 0 !important; }
.cp-bt { height: 3.7em; padding: 0 2.2em; font-size: 12px; }
.btn.cp-bt.j { background: var(--b); color: var(--a-txt); }

/* Page Vidéos animées : l'iPhone d'Aki penché, la vidéo dans l'écran, coupé par le bord de la page */
.aki { position: absolute; aspect-ratio: 1090 / 1142; rotate: var(--r, 0deg); pointer-events: none; filter: drop-shadow(0 50px 60px rgba(26,34,51,.22)); }
.aki-t { position: absolute; left: 0; top: 0; width: 1090px; height: 1142px; transform: scale(var(--k, .5)); transform-origin: 0 0; }
.aki-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.aki-m { position: absolute; inset: 0; -webkit-mask: url(img/videos/aki-masque.png) 0 0 / 100% 100%; mask: url(img/videos/aki-masque.png) 0 0 / 100% 100%; }
.aki-e { position: absolute; left: 0; top: 0; width: 948px; height: 2049px; overflow: hidden; transform-origin: 0 0; background: #fdf9f0; }
.aki-e video { position: absolute; left: 0; top: 230px; width: 948px; height: 1685px; object-fit: cover; }
.aki-e i { position: absolute; left: 322px; top: 30px; width: 304px; height: 90px; border-radius: 45px; background: #0a0a0c; }
main { overflow-x: clip; }
.vd-sous { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; padding-bottom: min(40px, 4vh); }

.vd-txt { justify-self: end; max-width: 520px; }
.vd-p { margin: 0; font: 800 min(40px, 2.5vw)/1.15 Unbounded, sans-serif; letter-spacing: -.03em; color: var(--a); }
.vd-txt .btn { margin-top: min(36px, 4vh); }
.aki.h { position: relative; justify-self: start; margin-top: calc(-1 * min(100px, 6.5vw)); width: min(560px, 36vw); }
.aki.mir { scale: -1 1; }
.aki.mir video { transform: scaleX(-1); }
.vd-cc { position: relative; z-index: 2; }
.vd-prix { display: flex; justify-content: center; align-items: flex-start; gap: 3vw; margin-top: min(80px, 9vh); }
.vd-k { position: relative; width: min(380px, 23vw); padding: min(44px, 2.6vw) min(40px, 2.4vw); border-radius: min(32px, 2vw); rotate: var(--r, 0deg); text-align: left; }
.vd-k.j { background: var(--b); color: var(--a); margin-top: 2vw; }
.vd-k.b { background: var(--a); color: #fff; }
.vd-k .inc { position: absolute; top: -.9em; right: 1.2em; font-size: min(16px, 1.05vw); }
.vd-k h3 { margin: 0; font: 800 min(24px, 1.5vw)/1.15 Unbounded, sans-serif; letter-spacing: -.02em; }
.vd-k b { display: block; margin-top: min(34px, 2.1vw); font: 900 min(64px, 3.8vw)/1 Unbounded, sans-serif; letter-spacing: -.05em; }
.vd-k p { margin: .9em 0 0; font-size: min(17px, 1.1vw); opacity: .85; }
.vd-com { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5vw; align-items: center; }
.aki.c { position: relative; justify-self: center; width: min(500px, 100%); }
.vd-com-t { position: relative; z-index: 2; max-width: 620px; }
.vd-et { margin: min(50px, 5.5vh) 0 0; padding: 0; list-style: none; }
.vd-et li { display: flex; align-items: baseline; gap: min(26px, 1.8vw); padding: min(26px, 2.8vh) 0; border-top: 1.5px solid color-mix(in srgb, var(--a) 14%, transparent); }
.vd-et li:last-child { border-bottom: 1.5px solid color-mix(in srgb, var(--a) 14%, transparent); }
.vd-et i { flex: none; width: 1.3em; font: 900 min(30px, 2vw)/1 Unbounded, sans-serif; font-style: normal; letter-spacing: -.04em; color: var(--a); }
.vd-et h3 { margin: 0; font: 800 min(26px, 1.65vw)/1.2 Unbounded, sans-serif; letter-spacing: -.02em; color: var(--a); }
.vd-et p { margin: 6px 0 0; font-size: min(18px, 1.2vw); color: color-mix(in srgb, var(--a-txt) 78%, #fff); }

/* 17/11 soir : cinq étiquettes centrées, et l'air sous les titres sans chapô */
@media (min-width: 1024px) and (orientation: landscape), (min-width: 1201px) {
  #options { padding-bottom: min(150px, 16vh); }
  #options .etq { display: flex; flex-wrap: wrap; justify-content: center; margin-top: min(80px, 9vh); }
  #options .etq-t { width: calc((100% - 2 * min(48px, 3.2vw)) / 3); }
}

/* Téléphone et tablette en portrait : tout s'empile, rien ne penche trop */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .of-chap, .of-vid-p { font-size: 17px; }
  .of-cartes { flex-direction: column; align-items: center; gap: 22px; }
  .of-k { width: min(100%, 420px); margin: 0; padding: 30px 26px; border-radius: 26px; rotate: calc(var(--r) / 2); }
  .of-haut { min-height: 0; } .of-nom { font-size: 22px; } .of-mois { font-size: 15px; } .of-pr { font-size: 46px; margin-top: 26px; }
  .of-k .inc { font-size: 14px; }
  .of-bt { flex-direction: column; align-items: center; }
  .of-vid-g { grid-template-columns: 1fr; gap: 50px; }
  .of-vid-prix b { font-size: 40px; }
  .of-ecrans figure { width: 30vw; } .of-ecrans figcaption { font-size: 12px; }
  .pm .pm-seg { grid-template-columns: repeat(2, 1fr); border-radius: 26px; } .pm .pm-seg button { padding: 13px 10px; font-size: 14px; } .pm-res b { font-size: clamp(56px, 18vw, 96px); } .pm-par { font-size: 16px; } .pm-fin { font-size: 14px; } .pm-mois { width: 100%; }
  .cp-tab { margin-top: 10px; } .cp-t { min-width: 820px; grid-template-columns: 1.3fr repeat(4, 1fr); } .cp-col { left: calc(2.3 / 5.3 * 100%); width: calc(1 / 5.3 * 100%); } .cp-t > div { font-size: 15px; } .cp-t > .hd span { font-size: 26px; } .cp-t > .hd b { font-size: 15px; }
  .vd-sous { grid-template-columns: 1fr; } .vd-txt { justify-self: start; } .vd-txt { max-width: none; } .vd-p { font-size: 22px; }
  .aki.h { position: relative; right: auto; top: auto; align-self: center; width: min(92vw, 420px); margin: 10px 0 -10px; }
  .vd-prix { flex-direction: column; align-items: center; gap: 30px; } .vd-k { width: min(100%, 420px); margin-top: 0; padding: 30px 26px; border-radius: 26px; } .vd-k h3 { font-size: 20px; } .vd-k b { font-size: 46px; margin-top: 20px; } .vd-k p { font-size: 15px; } .vd-k .inc { font-size: 14px; }
  .vd-com { grid-template-columns: 1fr; } .aki.c { width: min(78vw, 360px); order: 2; }
  .vd-et i { font-size: 22px; } .vd-et h3 { font-size: 19px; } .vd-et p { font-size: 16px; }
}

/* 24/11 soir : Offres au téléphone */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  /* les quatre formules en grille de deux, plus compactes */
  .of-cartes { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px !important; }
  .of-k { width: auto !important; padding: 22px 18px !important; border-radius: 22px !important; rotate: calc(var(--r) / 2) !important; margin: 0 !important; }
  .of-nom { font-size: 16px !important; } .of-pr { margin-top: 18px !important; font-size: clamp(26px, 8.6vw, 38px) !important; } .of-mois { font-size: 13px !important; }
  .of-k .inc { font-size: 12px !important; right: 10px; }
  #options .etq { margin-top: 34px; }
  /* le calculateur prend toute la largeur ; les mois en boutons, sans la jauge */
  .pm { max-width: none; }
  .pm .pm-seg { width: 100%; }
  .pm-mois .mo-r { display: none; }
  .pm-mois .mo-e { position: static; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: auto; margin: 0; padding: 5px; border-radius: 22px; background: #fff; }
  .pm-mois .mo-e button { position: static; left: auto; translate: none; min-height: 46px; border-radius: 17px; font: 800 15px Unbounded, sans-serif; color: var(--a); opacity: 1; }
  .pm-mois .mo-e .on { background: var(--a); color: #fff; }
  .pm-mois { margin-top: 34px; }
}

/* 24/11 nuit : téléphone, Offres moins hautes, calculateur rangé, Vidéos centrées */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .of-pr { font-size: clamp(22px, 6.4vw, 30px) !important; white-space: nowrap; }
  .of-nom { font-size: 15px !important; }
  #options .etq { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px !important; max-width: none !important; }
  #options .etq-c b { font-size: clamp(22px, 7vw, 30px) !important; }
  #options .etq-c h3 { font-size: 13px !important; line-height: 1.2; }
  #options .etq-c p { display: none; }
  /* calculateur : formule, puis durée, au même endroit, dans le même style */
  .pm .pm-seg { order: 1; } .pm-mois { order: 2; margin-top: 10px !important; } .pm-res { order: 3; } .pm-fin { order: 4; } .pm-sw { order: 5; }
  .pm-mois .mo-e button { font-size: 12.5px !important; letter-spacing: -.02em; }
  .pm-mois .mo-e button::after { content: " mois"; }
  /* Vidéos : la phrase et le bouton au centre, avec de l'air au-dessus */
  .vd-sous { justify-items: center; text-align: center; padding-top: 34px; }
  .vd-txt { justify-self: center !important; text-align: center; }
  .vd-p { font-size: 22px !important; }
}

/* Comparer au téléphone : onglets + la formule choisie */
.cp-m { display: none; }
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .cp-tab { display: none !important; }
  .cp-m { display: block; margin-top: 26px; }
  .cp-m > .cp-bascule { width: 100%; justify-content: stretch; margin-bottom: 14px; }
  .cp-m > .cp-bascule button { flex: 1; }
  .cp-m-ong { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 24px; background: #fff; }
  .cp-m-ong button { min-height: 50px; padding: 0 8px; border: 0; border-radius: 18px; background: none; color: var(--a); cursor: pointer; }
  .cp-m-ong b { font: 800 14px/1.15 Unbounded, sans-serif; letter-spacing: -.02em; }
  .cp-m-ong button.on { background: var(--a); color: #fff; }
  .cp-m-f { position: relative; display: none; margin-top: 30px; padding: 30px 22px 26px; border-radius: 28px; background: #fff; }
  .cp-m-f.on { display: block; animation: sous-menu .3s ease-out; }
  .cp-m-f .inc { position: absolute; top: -14px; left: 22px; rotate: -3deg; font-size: 14px; }
  .cp-m-p b { display: block; font: 800 20px Unbounded, sans-serif; letter-spacing: -.02em; color: var(--a); }
  .cp-m-p span { display: block; margin-top: 8px; font: 900 44px/1 Unbounded, sans-serif; letter-spacing: -.05em; color: var(--a); }
  .cp-m-p small { display: block; margin-top: 6px; font-size: 14px; letter-spacing: 0; }
  .cp-m-f h3 { margin: 26px 0 4px; font: 800 15px Unbounded, sans-serif; letter-spacing: -.01em; color: var(--a); }
  .cp-m-l { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 48px; border-top: 1px solid color-mix(in srgb, var(--a) 10%, transparent); font-size: 15px; }
  .cp-m-l > span:first-child { color: var(--a-txt); }
  .cp-m-l > span:last-child { flex: none; text-align: right; font-weight: 600; color: var(--a); }
  .cp-m-l .ok { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
  .cp-m-l .non { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--a) 25%, #fff); }
  .cp-m-l .cp-h { padding: 4px 10px; border-radius: 14px; background: var(--b); font: 800 14px Unbounded, sans-serif; }
  .cp-m-b { margin-top: 24px; }
  .cp-m-b .btn { width: 100%; height: 56px; }
}


/* 25/11 : téléphone — Comparer redevient un tableau qu'on fait glisser de côté, la colonne des libellés reste en place */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .cp-m { display: none !important; }
  .cp-tab { display: block !important; margin: 70px calc(-1 * var(--bord)) 0; padding: 0 var(--bord) 30px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .cp-tab::-webkit-scrollbar { display: none; }
  .cp-t { min-width: 0; width: 750px; grid-template-columns: 150px repeat(4, 150px); }
  .cp-col { left: 300px; width: 150px; top: -40px; bottom: -26px; border-radius: 26px; }
  .cp-col .inc { font-size: 13px; }
  .cp-t > div:not(.cp-col) { min-height: 54px; padding: 0 8px; font-size: 14px; }
  .cp-t > .lib, .cp-t > .hd0, .cp-t > .grp:not(.w):nth-child(5n+2), .cp-t > .grp:first-of-type, .cp-t > .fin:nth-child(5n+2) { position: sticky !important; left: calc(-1 * var(--bord)); z-index: 4; margin-left: calc(-1 * var(--bord)); padding-left: var(--bord) !important; background: var(--creme); }
  .cp-t > .lib { font-size: 13.5px !important; line-height: 1.3; padding-right: 10px !important; box-shadow: 8px 0 12px -10px rgba(0,0,0,.18); }
  .cp-t > .hd0 { align-items: flex-start; justify-content: flex-end; padding-bottom: 26px; }
  .cp-t > .hd0 .cp-bascule { flex-direction: column; width: 100%; border-radius: 22px; }
  .cp-t > .hd0 .cp-bascule button { padding: 10px 8px; font-size: 13px; }
  .cp-t > .hd b { font-size: 14px; }
  .cp-t > .hd span { font-size: 26px; }
  .cp-t > .grp:not(.w):nth-child(5n+2), .cp-t > .grp:first-of-type { font-size: 15px; white-space: nowrap; overflow: visible; }
  .cp-t .ok { width: 24px; height: 24px; }
  .cp-glisse { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--a); font: 600 14px Onest, sans-serif; }
  .cp-glisse::after { content: "→"; animation: cp-glisse 1.4s ease-in-out infinite; }
}
@keyframes cp-glisse { 50% { translate: 6px 0; } }
@media (min-width: 1201px), (min-width: 1024px) and (orientation: landscape) { .cp-glisse { display: none; } }

/* 25/11 : téléphone — les quatre formules empilées, une à gauche, une à droite, légèrement penchées (comme sur À propos) */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .of-cartes { display: flex !important; flex-direction: column; align-items: stretch; gap: 0 !important; padding-top: 10px; }
  .of-k { width: 78% !important; margin: 0 0 -10px !important; padding: 24px 24px 22px !important; rotate: var(--r) !important; box-shadow: 0 12px 26px rgba(15, 25, 30, .1); }
  .of-k:nth-child(odd) { align-self: flex-start; } .of-k:nth-child(even) { align-self: flex-end; }
  .of-k:nth-child(1) { z-index: 1; } .of-k:nth-child(2) { z-index: 2; } .of-k:nth-child(3) { z-index: 3; } .of-k:nth-child(4) { z-index: 4; }
  .of-nom { font-size: 17px !important; } .of-pr { margin-top: 14px !important; font-size: clamp(30px, 9.6vw, 40px) !important; } .of-mois { font-size: 14px !important; }
  .of-k .inc { top: -14px; right: 16px; font-size: 13px !important; }
  /* Payez un peu chaque mois : plus d'air au-dessus, moins sous le titre */
  #mensu { padding-top: 96px !important; }
  #mensu .pm { margin-top: 28px !important; }
}

/* 26/11 : Comparer au téléphone — la place au-dessus du tableau pour que la colonne « Mon conseil » garde ses arrondis et son étiquette */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .cp-tab { margin-top: 20px !important; padding-top: 52px !important; }
  .cp-t > .hd.w { border-radius: 26px 26px 0 0; }
}
/* 26/11 soir : Comparer au téléphone — la colonne « Mon conseil » commence au haut du tableau (elle ne passe plus sur les libellés), son étiquette dedans */
@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .cp-tab { padding-top: 6px !important; }
  .cp-col { top: 0 !important; z-index: 0; }
  .cp-col .inc { top: 14px !important; translate: -50% 0 !important; }
  .cp-t > .hd { padding-top: 48px !important; }
  .cp-t > .hd.w { border-radius: 0; }
}
