/* Le bon cadeau OUALAOUTI en carte d'embarquement (25/11/2026).
   Même mise en page pour l'aperçu de la page Offrir et pour le bon à imprimer.
   Étroit : photo en haut, talon dessous. Large (640 px et plus) : photo à gauche, talon à droite. */
.billet-zone{container-type:inline-size;width:100%;--fond:#F1F3F4}
.billet{position:relative;display:grid;grid-template-columns:1fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 14px 40px rgba(18,33,49,.16),0 2px 6px rgba(18,33,49,.08);color:#122131;font-family:"Source Sans 3","Source Sans Pro","Helvetica Neue",Arial,sans-serif}
.billet-main{position:relative;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:56px;padding:20px 22px 22px;min-height:330px;
  background:linear-gradient(180deg,rgba(18,33,49,.30) 0%,rgba(18,33,49,.18) 32%,rgba(18,33,49,.78) 72%,rgba(18,33,49,.94) 100%),var(--photo,url(/img/annonce-p11-navigation-coucher-de-soleil-1200.webp)) center 40%/cover,#122131}
.billet-haut{display:flex;align-items:center;justify-content:space-between;gap:12px}
.billet-logo{width:112px;height:auto;display:block}
.billet-etiq{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.16em;text-transform:uppercase;border:1px solid rgba(255,255,255,.7);border-radius:999px;padding:5px 12px 4px;background:rgba(18,33,49,.28);white-space:nowrap}
.billet-bas{min-width:0}
.billet-pour-l,.billet-champ-l,.billet-champs dt{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;margin:0}
.billet-pour-l{color:#fff}
.billet-pour{font-weight:700;font-size:clamp(30px,9cqi,44px);line-height:1.08;letter-spacing:-.01em;margin:2px 0 0;overflow-wrap:anywhere}
.billet-pour.vide{opacity:.7;font-weight:600}
.billet-mot{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(20px,5.2cqi,26px);line-height:1.25;margin:10px 0 0;color:#F3F6F8;overflow-wrap:anywhere}
.billet-champs{display:flex;flex-wrap:wrap;gap:8px 28px;margin:18px 0 0}
.billet-champs div{min-width:0}
.billet-champs dt{color:#D6DEE5;opacity:.85}
.billet-champs dd{margin:2px 0 0;font-weight:600;font-size:16px;line-height:1.3}
/* talon */
.billet-talon{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 18px;padding:20px 22px 20px;background:#fff;border-top:2px dashed #B9C2CA}
.billet-talon::before,.billet-talon::after{content:"";position:absolute;width:26px;height:26px;border-radius:50%;background:var(--fond);top:-14px;box-shadow:inset 0 3px 5px rgba(18,33,49,.12)}
.billet-talon::before{left:-14px}.billet-talon::after{right:-14px}
.billet-champ-l{color:#4F5963}
.billet-talon .billet-champ-l{letter-spacing:.08em;font-size:11px}
.billet-val{font-weight:700;font-size:clamp(38px,11cqi,52px);line-height:1;letter-spacing:-.02em;margin:3px 0 14px;white-space:nowrap}
.billet-fin{font-weight:700;font-size:17px;margin:3px 0 0;line-height:1.25}
.billet-qr-bloc{text-align:center}
.billet-qr{width:118px;margin:0 auto;border-radius:8px;overflow:hidden;line-height:0;border:1px solid #E1E6EA}
.billet-qr svg{display:block;width:100%;height:auto}
.billet-qr.exemple{opacity:.28;filter:grayscale(1)}
.billet-code{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:14px;letter-spacing:.04em;font-weight:400;margin:7px 0 0;color:#122131}
.billet-scan{font-size:12.5px;color:#4F5963;margin:1px 0 0;line-height:1.3}
@container (min-width:640px){
  .billet{grid-template-columns:minmax(0,1fr) 262px}
  .billet-main{min-height:340px;padding:24px 28px 26px}
  .billet-logo{width:132px}
  .billet-talon{grid-template-columns:1fr;justify-items:center;text-align:center;gap:4px;padding:24px 22px;border-top:0;border-left:2px dashed #B9C2CA}
  .billet-talon::before,.billet-talon::after{left:auto;right:auto;margin-left:-14px;left:0;top:-14px;box-shadow:inset 0 -3px 5px rgba(18,33,49,.12)}
  .billet-talon::after{top:auto;bottom:-14px;box-shadow:inset 0 3px 5px rgba(18,33,49,.12)}
  .billet-val-bloc{margin-bottom:6px}
  .billet-val{font-size:46px;margin-bottom:12px}
  .billet-qr{width:124px}
}
/* page du bon imprimable */
.page-bon{background:var(--fond,#F1F3F4);margin:0;padding:28px 16px 10px}
.page-bon .billet-zone{max-width:860px;margin:0 auto}
.bon-suite{max-width:860px;margin:22px auto 0;color:#122131}
.bon-reserver{font-size:19px;line-height:1.55;margin:0 0 12px;font-weight:600;max-width:70ch}
.bon-suite .cond{font-size:14px;font-style:italic;color:#4F5963;line-height:1.5;margin:0;max-width:78ch}
.actions-bon{text-align:center;margin:26px 0 36px}.actions-bon .btn{display:inline-block;margin:0;cursor:pointer;border:0}
@media(max-width:640px){.bon-reserver{font-size:17px}}
@media print{
  @page{size:A4 landscape;margin:10mm}
  html,body,.page-bon{background:#fff!important;padding:0}
  .billet-zone{--fond:#fff}.billet{box-shadow:none;border:1px solid #CBD2D8;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .billet-main,.billet-etiq{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  /* Impression : le voile sombre devient une image (billet-voile.png) au lieu d'un dégradé transparent, que l'Aperçu du Mac affichait en rose. */
  .billet-main{background:url(/assets/billet-voile.png) 0 0/100% 100% no-repeat,var(--photo,url(/img/annonce-p11-navigation-coucher-de-soleil-1200.webp)) center 40%/cover,#122131}
  .page-bon .billet-zone{max-width:none}
  .actions-bon{display:none}
  .bon-reserver{font-size:15px}.bon-suite{margin-top:14px;max-width:none}.bon-suite .cond{font-size:12px}
}
