/* Carte cadeau : le billet (page imprimable /carte, page de vente, merci, activation). Dessiné par billet.js.
   Tailles en cqw : tout suit la largeur du billet, à l'écran comme à l'impression.
   --encoche : couleur du fond autour du billet (les deux demi-cercles du talon). */
.cadre{container-type:inline-size;width:100%}
.billet{--or:#f0b84a;--or-2:#ffd88a;position:relative;display:grid;grid-template-columns:1fr 27%;aspect-ratio:2.05;border-radius:2.4cqw;overflow:hidden;color:#f4f1ea;background:#0b0c0f;
  box-shadow:0 2.2cqw 5cqw rgb(11 12 15 / .28);-webkit-print-color-adjust:exact;print-color-adjust:exact;text-align:left}
.billet *{-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0}
.billet p{max-width:none}
/* partie principale */
.b-main{position:relative;isolation:isolate;overflow:hidden}
.b-photo{position:absolute;top:0;bottom:0;right:0;left:28%;width:72%;height:100%;object-fit:cover;object-position:45% 22%;z-index:-2;filter:grayscale(1) contrast(1.15) brightness(.9)}
.b-main::before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,#0b0c0f 0%,#0b0c0f 30%,rgb(11 12 15 / .82) 44%,rgb(11 12 15 / .25) 70%,rgb(140 18 28 / .45) 100%),
             linear-gradient(0deg,rgb(196 32 43 / .55),transparent 45%)}
.b-main::after{content:"";position:absolute;inset:1.6cqw;border:1px solid rgb(240 184 74 / .35);border-right:0;border-radius:1.4cqw 0 0 1.4cqw;pointer-events:none}
.b-txt{position:absolute;inset:0;padding:4.6cqw 4cqw 4cqw 5cqw;display:flex;flex-direction:column;justify-content:space-between}
.b-lab{display:flex;align-items:center;gap:1.4cqw;font-family:var(--f-display);font-weight:700;font-size:1.75cqw;letter-spacing:.24em;text-transform:uppercase;color:rgb(244 241 234 / .72)}
.b-lab .mark{width:1.9cqw;color:var(--or)}
.b-lab i{font-style:normal;color:var(--or);padding-left:1.4cqw;border-left:1px solid rgb(240 184 74 / .45)}
.b-pour{font-family:'Caveat',cursive;font-weight:600;font-size:5.4cqw;line-height:1.05;color:var(--or-2);margin:0 0 .4cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:62%}
.b-titre{font-family:var(--f-display);font-weight:800;font-size:7.1cqw;line-height:.88;text-transform:uppercase;letter-spacing:.005em;color:#fff;text-wrap:balance}
.b-titre em{font-style:italic;color:var(--or);display:block}
.b-offre{font-family:var(--f-body,inherit);font-size:2.05cqw;line-height:1.35;color:rgb(244 241 234 / .9);margin-top:1.6cqw!important;max-width:66%!important;overflow-wrap:anywhere}
.b-offre b{color:#fff;font-weight:700}
.b-disc{font-family:var(--f-display);font-weight:700;font-size:1.5cqw;letter-spacing:.16em;text-transform:uppercase;color:rgb(244 241 234 / .62)}
/* talon détachable */
.b-talon{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;padding:3.6cqw 2.2cqw 3cqw;
  background:radial-gradient(120% 70% at 50% 0%,rgb(240 184 74 / .22),transparent 60%),linear-gradient(180deg,#1d2129,#121419)}
.b-talon::before{content:"";position:absolute;left:0;top:3cqw;bottom:3cqw;border-left:.3cqw dashed rgb(244 241 234 / .32)}
.b-talon>div{width:100%}
.encoche{position:absolute;left:73%;width:3.4cqw;height:3.4cqw;border-radius:50%;background:var(--encoche,#fff);transform:translateX(-50%);z-index:3}
.encoche--h{top:-1.7cqw}.encoche--b{bottom:-1.7cqw}
.t-mois{font-family:var(--f-display);font-weight:800;line-height:.8;text-transform:uppercase;color:#fff;display:flex;align-items:baseline;justify-content:center;gap:.8cqw}
.t-mois b{font-size:8.6cqw;color:var(--or)}
.t-mois span{font-size:3.4cqw;letter-spacing:.04em}
.t-qr{margin:0 auto;width:13.4cqw;aspect-ratio:1;background:#fff;border-radius:1.2cqw;padding:1cqw;display:grid;place-items:center}
.t-qr svg{width:100%;height:100%;display:block}
.t-scan{font-family:var(--f-display);font-weight:700;font-size:1.55cqw;letter-spacing:.2em;text-transform:uppercase;color:var(--or);margin-top:1cqw!important}
.t-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:700;font-size:1.9cqw;letter-spacing:.06em;color:#fff;white-space:nowrap}
.t-date{font-size:1.35cqw;line-height:1.3;color:rgb(244 241 234 / .62)}
.t-badge{display:inline-block;margin-bottom:.6cqw!important;padding:.45cqw 1.2cqw;border-radius:99px;background:var(--rouge,#c4202b);color:#fff;font-family:var(--f-display);font-weight:700;font-size:1.4cqw;letter-spacing:.14em;text-transform:uppercase}
