/* 212 LAB — la terrasse 3D (reprise de la première maquette), la carte en vrai menu, et le plateau. */

/* ================= LA TERRASSE SUR L'AVENUE */
.t-scene { position: relative; margin: 30px auto 0; aspect-ratio: 16 / 7.4; max-height: 68vh; background: #dde6ee; overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--encre), 0 30px 60px -36px rgba(35, 31, 32, .5); }
.t-repli { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--papier); transition: opacity .8s; }
.en-3d .t-repli { opacity: 0; }
.t-toile { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s; touch-action: pan-y; }
.t-toile.pret { opacity: 1; }
.t-heure { position: absolute; left: 18px; top: 16px; margin: 0; padding: 12px 16px; max-width: min(420px, calc(100% - 36px));
  background: color-mix(in srgb, var(--papier) 90%, transparent); border: 1px solid color-mix(in srgb, var(--vert) 60%, transparent); }
.t-heure b { display: block; font: 400 1.25rem/1.2 var(--titre); }
.t-heure span { display: block; font-size: .95rem; color: var(--encre-2); margin-top: 4px; }
.t-rail { display: flex; align-items: center; gap: 14px; margin: 26px auto 0; max-width: 900px; font: 500 .85rem/1 var(--etroit); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-2); }
.t-piste { position: relative; flex: 1; padding-top: 30px; }
.t-piste input { width: 100%; margin: 0; accent-color: var(--vert); height: 28px; cursor: pointer; }
.t-bulle { position: absolute; top: 0; left: calc(var(--p, 50) * 1%); transform: translateX(-50%); font: 600 .9rem/1 var(--etroit); letter-spacing: .06em;
  background: var(--encre); color: var(--papier); padding: 5px 8px; white-space: nowrap; pointer-events: none; }
.t-bulle::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: var(--encre); transform: translateX(-50%) rotate(45deg); }
.t-direct { background: none; border: 1.5px solid var(--encre); padding: 8px 12px; font: 600 .82rem/1 var(--etroit); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.t-legende { text-align: center; color: var(--encre-2); font-size: .95rem; margin: 14px auto 0; max-width: 60ch; }
@media (max-width: 900px) {
  .t-scene { aspect-ratio: 4 / 5; max-height: 72vh; margin-inline: calc(var(--marge) * -1 + 4px); }
  .t-heure { left: 10px; top: 10px; right: 10px; max-width: none; padding: 10px 12px; }
  .t-heure b { font-size: 1.08rem; } .t-heure span { font-size: .88rem; }
  .t-rail { flex-wrap: wrap; gap: 8px 12px; } .t-direct { width: 100%; }
}

/* ================= LA CARTE : un vrai menu, qu'on ouvre et dont on tourne les pages */
.carte-tete { text-align: center; padding: clamp(36px, 6vw, 64px) var(--marge) 0; }
.carte-tete .chapeau { margin-bottom: 0; }
.plus-mini { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border: 1.5px solid var(--vert); border-radius: 50%; color: var(--vert-fonce); font: 400 1em/1 var(--texte); vertical-align: -.2em; }
.onglets-livre { display: none; }
.livre { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: calc(100% - 2 * var(--marge)); max-width: 1320px;
  margin: 30px auto clamp(50px, 7vw, 96px); background: var(--papier); overflow: clip;
  box-shadow: 0 1px 0 #d7c5ae, 0 3px 0 -1px #e4d4bf, 0 5px 0 -2px #d7c5ae, 0 40px 70px -40px rgba(35, 31, 32, .5), 0 0 0 1px rgba(35, 31, 32, .07); }
.livre::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 80px; transform: translateX(-50%); pointer-events: none; z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(35, 31, 32, .07) 40%, rgba(35, 31, 32, .2) 50%, rgba(35, 31, 32, .06) 60%, transparent); }
.page-in { position: relative; padding: clamp(32px, 3.6vw, 52px) clamp(28px, 3.6vw, 56px) 26px; }
.page-in::before { content: ''; position: absolute; inset: 14px; border: 1.5px solid var(--vert); pointer-events: none; }
.livre-gauche { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow: auto; scrollbar-width: none; z-index: 1; transition: opacity .5s; }
.livre-gauche::-webkit-scrollbar { display: none; }
.livre-gauche .page-in { min-height: calc(100vh - 64px); display: flex; flex-direction: column; align-items: center; }
.sm-logo { width: 150px; color: var(--encre); margin: 6px 0 16px; } .sm-logo img, .sm-logo svg { width: 100%; height: auto; display: block; }
.sm-titre { font: 400 1.05rem/1 var(--etroit); letter-spacing: .5em; text-transform: uppercase; margin: 0 0 16px .5em; }
.livre .chercher { display: flex; align-items: center; gap: 8px; width: min(100%, 320px); border-bottom: 1.5px solid var(--encre); padding: 6px 2px; margin: 0 0 18px; }
.chercher input { flex: 1; min-width: 0; border: 0; background: none; font: 400 1rem/1.2 var(--texte); outline: none; color: var(--encre); }
.chercher svg { width: 17px; height: 17px; flex: none; }
.sm-liste { list-style: none; margin: 0; padding: 0; width: min(100%, 440px); }
.sm-liste > li { padding: 5px 0; }
.sm-g { display: flex; align-items: baseline; gap: 8px; text-decoration: none; padding: 3px 0; }
.sm-nom { font: 400 1.35rem/1.15 var(--titre); text-transform: uppercase; transition: color .2s; }
.sm-g .points { flex: 1; border-bottom: 1.5px dotted color-mix(in srgb, var(--encre) 45%, transparent); transform: translateY(-5px); min-width: 14px; }
.sm-n { font: 400 1.05rem/1 var(--titre); }
.sm-g.actif .sm-nom, .sm-g:hover .sm-nom { color: var(--vert-fonce); }
.sm-g.actif .sm-nom::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--vert); transform: translateY(-3px) rotate(45deg); margin-right: 10px; }
.sm-sous { margin: 1px 0 2px; font-size: .9rem; color: var(--encre-2); line-height: 1.55; }
.sm-sous a { text-decoration: none; white-space: nowrap; } .sm-sous a + a::before { content: ' · '; color: var(--encre-2); }
.sm-sous a:hover, .sm-sous a.actif { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.sm-devise { margin: auto 0 0; padding-top: 18px; font-size: .92rem; color: var(--encre-2); }

.livre-droite { position: relative; z-index: 2; min-width: 0; perspective: 2800px; perspective-origin: 0 35%; }
.page { background: var(--papier); scroll-margin-top: 120px; }
.livre-js .livre-droite > .page { display: none; }
.livre-js .livre-droite > .page.actuelle { display: block; position: relative; }
.livre-js .page .page-in { min-height: calc(100vh - 64px); display: flex; flex-direction: column; }
.page-tete { display: flex; justify-content: space-between; margin: 0 0 20px; font: 500 .76rem/1 var(--etroit); letter-spacing: .24em; text-transform: uppercase; color: var(--encre-2); }
.page .titre { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.page .sous { margin-bottom: 4px; }
.page .plats { list-style: none; margin: 18px 0 0; padding: 0; }
.plat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; align-items: center; padding: 11px 0; border-bottom: 1px dashed color-mix(in srgb, var(--encre) 22%, transparent); }
.plat:last-child { border-bottom: 0; }
.plat.avec-photo { grid-template-columns: 88px minmax(0, 1fr) auto; }
.plat img { width: 88px; height: 66px; object-fit: contain; }
.plat .ligne .nom { font-size: 1.1rem; }
.plat .desc { margin: 3px 0 0; font-size: .93rem; line-height: 1.45; color: var(--encre-2); }
.plat-txt a { text-decoration: none; }
.r-cat { display: block; font: 500 .74rem/1.3 var(--etroit); letter-spacing: .14em; text-transform: uppercase; color: var(--vert-fonce); margin-top: 4px; }
.ajouts { display: flex; gap: 6px; }
.ajout { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--vert); background: transparent; color: var(--vert-fonce); cursor: pointer;
  font: 300 1.6rem/1 var(--texte); display: grid; place-items: center; padding: 0; transition: background .2s, color .2s; }
.ajout.taille { width: auto; min-width: 46px; padding: 0 9px; border-radius: 20px; font: 600 1rem/1 var(--etroit); letter-spacing: .04em; display: inline-flex; align-items: center; justify-content: center; }
.ajout.taille small { font-size: .78em; margin-left: 1px; }
.ajout:hover { background: var(--vert); color: var(--papier-3); }
.ajout.pose { animation: pose .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pose { 0% { transform: scale(1); } 35% { transform: scale(.78); background: var(--vert); color: var(--papier-3); } 100% { transform: scale(1); } }
.page-sous-titre { text-align: center; margin: 30px 0 2px; color: var(--vert-fonce); }
.page .frise { margin: 22px auto 0; width: min(100%, 400px); }
.page-pied { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: auto; padding-top: 30px;
  font: 500 .82rem/1.25 var(--etroit); letter-spacing: .12em; text-transform: uppercase; }
.page-pied a { text-decoration: none; color: var(--encre-2); padding: 8px 0; } .page-pied a:hover { color: var(--encre); }
.p-suiv { text-align: right; }
.folio { font: 400 1.05rem/1 var(--titre); letter-spacing: 0; display: flex; align-items: center; gap: 9px; }
.folio::before, .folio::after { content: ''; width: 16px; height: 1px; background: currentColor; }
.vide-recherche { text-align: center; padding: 40px 0; font: 400 1.2rem/1.4 var(--titre); }

/* la feuille qui tourne sur la reliure */
.tourne { position: absolute; top: 0; left: 0; width: 100%; transform-origin: 0 50%; transform-style: preserve-3d; z-index: 5; pointer-events: none; will-change: transform; }
.tourne.avant { animation: tourne-avant .95s cubic-bezier(.4, .02, .3, 1) forwards; }
.tourne.arriere { animation: tourne-arriere .95s cubic-bezier(.4, .02, .3, 1) forwards; }
@keyframes tourne-avant { from { transform: rotateY(0) translateZ(1px); } to { transform: rotateY(-180deg) translateZ(1px); } }
@keyframes tourne-arriere { from { transform: rotateY(-180deg) translateZ(1px); } to { transform: rotateY(0) translateZ(1px); } }
.tourne-recto, .tourne-verso { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.tourne-recto { position: relative; }
.tourne-recto::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(35, 31, 32, 0) 30%, rgba(35, 31, 32, .28)); opacity: 0; }
.tourne-verso { position: absolute; inset: 0; transform: rotateY(180deg); background: var(--papier); box-shadow: inset -30px 0 40px -20px rgba(35, 31, 32, .25); }
.tourne-verso::before { content: ''; position: absolute; inset: 14px; border: 1.5px solid color-mix(in srgb, var(--vert) 55%, transparent); }
.avant .tourne-recto::after { animation: ombre-monte .95s ease-in forwards; }
.arriere .tourne-recto::after { animation: ombre-monte .95s ease-out reverse forwards; }
.avant .tourne-verso { animation: verso-part .95s linear forwards, face-vient .95s linear forwards; }
.arriere .tourne-verso { animation: verso-part .95s linear reverse forwards, face-part .95s linear forwards; }
/* Certains Safari ne cachent pas le dos d'une feuille en 3D : chaque face s'efface d'elle-même
   à l'instant où la feuille passe de profil (90°, à 38,4 % du temps avec cette courbe) */
.avant .tourne-recto { animation: face-part .95s linear forwards; }
.arriere .tourne-recto { animation: face-vient .95s linear forwards; }
@keyframes face-part { 0%, 38.4% { visibility: visible; } 38.5%, 100% { visibility: hidden; } }
@keyframes face-vient { 0%, 38.4% { visibility: hidden; } 38.5%, 100% { visibility: visible; } }
@keyframes ombre-monte { to { opacity: 1; } }
@keyframes verso-part { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.en-tour > .page.actuelle::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(35, 31, 32, .3), rgba(35, 31, 32, 0) 55%); }
.en-avant > .page.actuelle::after { animation: ombre-part .95s ease-out forwards; }
.en-arriere > .page.actuelle::after { animation: ombre-part .95s ease-in reverse forwards; }
@keyframes ombre-part { from { opacity: 1; } to { opacity: 0; } }

/* la couverture de son menu, qui s'ouvre */
.livre-couv { position: absolute; top: 0; left: 50%; width: 50%; height: min(100%, calc(100vh - 64px)); z-index: 6; transform-origin: 0 50%; transform-style: preserve-3d; transform: perspective(2800px) rotateY(0); }
.livre.ferme .livre-gauche { opacity: 0; }
.livre.ouvre .livre-gauche { opacity: 1; transition: opacity .6s .75s; }
.livre.ouvre .livre-couv { animation: couv-ouvre 1.5s cubic-bezier(.5, .04, .22, 1) forwards; }
@keyframes couv-ouvre { from { transform: perspective(2800px) rotateY(0); } to { transform: perspective(2800px) rotateY(-180deg); } }
.livre.ouvre .couv-recto { animation: couv-fond 2.3s linear forwards, couv-part 1.5s linear forwards; }
.livre.ouvre .couv-verso { animation: couv-fond 2.3s linear forwards, couv-vient 1.5s linear forwards; }
.livre-couv .couv-verso { visibility: hidden; }
/* la couverture passe de profil à 38,9 % de son ouverture (à 54,4 % sur téléphone, où elle ne s'ouvre qu'à 112°) */
@keyframes couv-part { 0%, 38.9% { visibility: visible; } 39%, 100% { visibility: hidden; } }
@keyframes couv-vient { 0%, 38.9% { visibility: hidden; } 39%, 100% { visibility: visible; } }
@keyframes couv-part-tel { 0%, 54.4% { visibility: visible; } 54.5%, 100% { visibility: hidden; } }
@keyframes couv-vient-tel { 0%, 54.4% { visibility: hidden; } 54.5%, 100% { visibility: visible; } }
@keyframes couv-fond { 0%, 68% { opacity: 1; } 100% { opacity: 0; } }
.couv-recto, .couv-verso { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: var(--papier); overflow: hidden; }
.couv-recto { display: flex; flex-direction: column; align-items: center; padding: 0 22px; box-shadow: 8px 0 30px -10px rgba(35, 31, 32, .35); }
.couv-recto::before, .couv-verso::before { content: ''; position: absolute; inset: 14px; border: 1.5px solid var(--vert); z-index: 2; pointer-events: none; }
.couv-recto .fil { height: 11%; flex: none; } .couv-recto .fil.court { height: 7%; }
.couv-recto .point { flex: none; }
.couv-logo { width: min(48%, 230px); color: var(--encre); margin: 10px 0; flex: none; } .couv-logo img { width: 100%; height: auto; display: block; mix-blend-mode: normal; max-height: none; margin: 0; }
.couv-mot { font: 400 clamp(2.4rem, 4vw, 3.6rem)/1 var(--etroit); letter-spacing: .4em; margin: 14px 0 0 .4em; text-transform: uppercase; flex: none; }
.couv-recto > img { width: 104%; margin-top: auto; min-height: 0; max-height: 46%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; }
.couv-devise { position: absolute; bottom: 24px; margin: 0; font-size: .9rem; color: var(--encre-2); background: var(--papier); padding: 2px 10px; z-index: 3; }
.couv-verso { transform: rotateY(180deg); display: grid; place-items: center; }
.couv-verso img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; opacity: .9; }

/* mon plateau */
.plateau-bouton { position: fixed; right: clamp(14px, 3vw, 34px); bottom: clamp(14px, 3vw, 30px); z-index: 70; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 14px; background: var(--encre); color: var(--papier); border: 0; cursor: pointer; font: 600 1rem/1 var(--etroit); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 16px 30px -14px rgba(35, 31, 32, .7); transform: translateY(160%); transition: transform .5s cubic-bezier(.2, 1.3, .4, 1); }
.plateau-bouton.la { transform: none; }
.plateau-bouton svg { width: 34px; height: 34px; color: #b9c9ae; }
.plateau-n { min-width: 28px; height: 28px; border-radius: 14px; background: var(--vert); color: #fff; display: grid; place-items: center; font: 600 1rem/1 var(--etroit); letter-spacing: 0; padding: 0 7px; }
.plateau-bouton.bump .plateau-n { animation: bump .5s cubic-bezier(.3, 1.8, .5, 1); }
.plateau-bouton.bump svg { animation: penche .6s ease-out; }
@keyframes bump { 40% { transform: scale(1.45); } }
@keyframes penche { 30% { transform: rotate(-12deg) translateY(-2px); } 70% { transform: rotate(6deg); } }
.vol { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; }
.vol-img { width: 84px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(35, 31, 32, .3)); }
.vol-losange { width: 18px; height: 18px; background: var(--vert); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.plateau { position: fixed; inset: 0; z-index: 90; }
.plateau-fond { position: absolute; inset: 0; background: rgba(35, 31, 32, .45); opacity: 0; transition: opacity .35s; }
.plateau.montre .plateau-fond { opacity: 1; }
.plateau-ticket { position: absolute; right: clamp(0px, 3vw, 34px); bottom: 0; width: min(440px, 100%); max-height: min(88vh, 900px); overflow: auto; background: var(--papier);
  padding: 34px 28px 26px; transform: translateY(105%); transition: transform .42s cubic-bezier(.2, .9, .3, 1); text-align: center;
  -webkit-mask: radial-gradient(circle 7px at 11px 0, #0000 98%, #000) 0 0 / 22px 100%; mask: radial-gradient(circle 7px at 11px 0, #0000 98%, #000) 0 0 / 22px 100%; }
.plateau.montre .plateau-ticket { transform: none; }
.plateau-ticket::before { content: ''; position: absolute; inset: 18px 12px 12px; border: 1.5px solid var(--vert); pointer-events: none; }
.plateau-fermer { position: absolute; right: 22px; top: 24px; width: 40px; height: 40px; border: 0; background: none; font: 300 2rem/1 var(--texte); cursor: pointer; z-index: 2; }
.t-logo { width: 74px; margin: 4px auto 10px; color: var(--encre); } .t-logo img { width: 100%; height: auto; display: block; }
.plateau-ticket h2 { font: 400 1.9rem/1 var(--titre); text-transform: uppercase; margin: 0 0 14px; }
.plateau-lignes { list-style: none; margin: 0; padding: 0; text-align: left; }
.plateau-lignes li { display: grid; grid-template-columns: auto minmax(0, auto) 1fr auto; align-items: baseline; gap: 4px 8px; padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--encre) 25%, transparent); }
.plateau-lignes .q { font: 600 1rem/1 var(--etroit); color: var(--vert-fonce); }
.plateau-lignes .tn { font: 400 1.05rem/1.25 var(--titre); }
.plateau-lignes .tn small { font: 500 .78rem/1 var(--etroit); letter-spacing: .1em; text-transform: uppercase; color: var(--encre-2); }
.plateau-lignes .points { border-bottom: 1.5px dotted color-mix(in srgb, var(--encre) 40%, transparent); transform: translateY(-4px); min-width: 10px; }
.plateau-lignes .tp { white-space: nowrap; }
.plateau-lignes .qb { grid-column: 2 / -1; display: flex; gap: 6px; }
.plateau-lignes .qb button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--vert); background: none; cursor: pointer; font: 400 1.15rem/1 var(--texte); color: var(--vert-fonce); }
.plateau-vide { color: var(--encre-2); margin: 10px 0; }
.plateau-total { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 0; font: 400 1.5rem/1 var(--titre); text-transform: uppercase; }
.plateau-total .points { flex: 1; border-bottom: 1.5px dotted var(--encre); transform: translateY(-6px); }
.plateau-total small { font-size: .6em; }
.tampon { display: inline-flex; flex-direction: column; gap: 5px; margin: 22px auto 6px; padding: 10px 18px; border: 2px solid var(--vert); color: var(--vert-fonce); transform: rotate(-3deg);
  font: 600 1rem/1 var(--etroit); letter-spacing: .2em; text-transform: uppercase; box-shadow: inset 0 0 0 3px var(--papier), inset 0 0 0 4px color-mix(in srgb, var(--vert) 70%, transparent); }
.tampon span { font: 400 1.05rem/1 var(--titre); letter-spacing: .02em; text-transform: none; }
.plateau.montre .tampon { animation: tampon .5s cubic-bezier(.3, 1.6, .5, 1) .35s backwards; }
@keyframes tampon { from { transform: rotate(-14deg) scale(1.6); opacity: 0; } }
.plateau-note { font-size: .93rem; color: var(--encre-2); margin: 8px auto 18px; max-width: 34ch; }
.plateau-ticket .boutons { justify-content: center; }
html.plateau-ouvert { overflow: hidden; }

@media (max-width: 900px) {
  .livre { grid-template-columns: minmax(0, 1fr); width: 100%; margin-top: 18px; box-shadow: 0 -1px 0 rgba(35, 31, 32, .06); }
  .livre::after, .livre-gauche { display: none; }
  .livre-couv { left: 0; width: 100%; height: min(100%, calc(100svh - 120px)); }
  .livre.ouvre .livre-couv { animation-name: couv-ouvre-tel; }
  .livre.ouvre .couv-recto { animation-name: couv-fond, couv-part-tel; }
  .livre.ouvre .couv-verso { animation-name: couv-fond, couv-vient-tel; }
  .page-in { padding: 34px 26px 22px; }
  .page-in::before { inset: 8px; }
  .livre-js .page .page-in { min-height: calc(100svh - 120px); }
  .livre-droite { perspective: 1600px; }
  .onglets-livre { display: flex; position: sticky; top: 61px; z-index: 40; align-items: center; background: color-mix(in srgb, var(--papier) 96%, transparent);
    backdrop-filter: blur(6px); border-bottom: 1px solid color-mix(in srgb, var(--vert) 45%, transparent); }
  .onglets-livre-in { position: relative; flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 8px 6px 8px var(--marge); }
  .onglets-livre-in::-webkit-scrollbar { display: none; }
  /* les onglets suivants s'effacent au bord : on comprend qu'il y en a d'autres en glissant */
  .onglets-livre-in { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); }
  .onglets-livre-in a { flex: none; text-decoration: none; padding: 9px 11px; font: 500 .95rem/1 var(--etroit); letter-spacing: .12em; text-transform: uppercase; border: 1px solid transparent; }
  .onglets-livre-in a.actif { border-color: var(--encre); }
  .loupe { flex: none; width: 46px; height: 46px; border: 0; border-left: 1px solid color-mix(in srgb, var(--vert) 45%, transparent); background: none; display: grid; place-items: center; cursor: pointer; }
  .loupe svg { width: 19px; height: 19px; }
  .chercher-tel { position: absolute; left: 0; right: 0; top: 100%; background: var(--papier); border-bottom: 1px solid color-mix(in srgb, var(--vert) 45%, transparent); padding: 8px var(--marge) 12px; }
  .chercher-tel .chercher { display: flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--encre); padding: 6px 2px; }
  .chercher-tel input { font-size: 16px; }
  .plat.avec-photo { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 0 10px; }
  .plat img { width: 70px; height: 56px; }
  .plat .ligne .points { display: none; }
  .plat .ligne { flex-wrap: wrap; column-gap: 8px; }
  .page-pied { font-size: .76rem; letter-spacing: .08em; }
  .plateau-ticket { right: 0; width: 100%; max-height: 86svh; padding: 32px 22px 22px; }
}
@keyframes couv-ouvre-tel { from { transform: perspective(1600px) rotateY(0); } to { transform: perspective(1600px) rotateY(-112deg); } }
@media (prefers-reduced-motion: reduce) { .plateau-bouton { transition: none; } }
.carte-tete { padding-top: clamp(26px, 4vw, 44px); } .carte-tete .titre { font-size: clamp(2rem, 4vw, 3rem); }

/* retouches : sommaire entier sur les écrans peu hauts, bouton du plateau qui ne cache rien, terrasse sur tablette */
@media (max-height: 940px) and (min-width: 901px) {
  .sm-logo { width: 104px; margin: 0 0 8px; }
  .livre-gauche .filet { margin-bottom: 8px; }
  .sm-titre { margin-bottom: 10px; }
  .livre .chercher { margin-bottom: 10px; }
  .sm-liste > li { padding: 2px 0; }
  .sm-nom { font-size: 1.16rem; }
  .sm-sous { font-size: .84rem; line-height: 1.4; }
  .sm-devise { display: none; }
  .livre-gauche .page-in { padding-top: 26px; padding-bottom: 18px; }
}
@media (max-height: 760px) and (min-width: 901px) { .sm-sous { display: none; } .sm-liste > li { padding: 3px 0; } }
html.avec-plateau .livre-droite .page-in { padding-bottom: 92px; }
@media (min-width: 601px) and (max-width: 900px) {
  .t-scene { aspect-ratio: 4 / 3; max-height: none; margin-inline: auto; }
}
