@font-face { font-family: "Limelight"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/limelight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Limelight"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/limelight-latinext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-latinext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nuit: #16163a;
  --encre: #0d0e2a;
  --or: #f6c453;
  --or-pale: #ffe3a1;
  --creme: #fff3dc;
  --creme-2: #d9cfe8;
  --paprika: #e8463c;
  --vert: #3fa66b;
  --rose: #ff6fae;
  --ticket: #fff7e6;
  --ticket-encre: #24183c;
  --display: "Limelight", "Didot", Georgia, serif;
  --texte: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  --panier-h: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--creme);
  background: var(--nuit);
  padding-bottom: calc(var(--panier-h) + 24px);
  overflow-x: hidden;
}

h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }

#ciel, #confettis {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0;
}
#confettis { z-index: 61; }
.hero > *, main, .frise { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: max(56px, env(safe-area-inset-top)) 20px 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 26%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 12%, #fffa 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 83% 22%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 6%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 7% 40%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 74% 38%, #fff5 50%, transparent 51%),
    radial-gradient(ellipse 90% 60% at 50% 105%, #3a2a6e 0%, transparent 70%),
    linear-gradient(#0f1030 0%, #16163a 45%, #241f55 100%);
  overflow: hidden;
  cursor: crosshair;
  -webkit-tap-highlight-color: transparent;
}

.hero-langue {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--or-pale);
  letter-spacing: .02em;
  opacity: 0;
  animation: monte .8s .2s ease-out forwards;
}

.hero-titre {
  font-size: clamp(4.2rem, 21vw, 11rem);
  line-height: .95;
  color: var(--creme);
  display: flex; flex-wrap: wrap; justify-content: center;
  column-gap: .28em;
  margin-bottom: 18px;
  text-shadow: 0 0 30px #ff6fae55;
}
.hero-titre .lettre {
  display: inline-block;
  opacity: 0;
  transform: translateY(-.6em) scale(.4) rotate(-12deg);
  animation: lettre .7s cubic-bezier(.2,1.6,.4,1) forwards;
}
.hero-titre .mot-t { white-space: nowrap; display: inline-block; }
.mot-t:first-child .lettre:nth-child(1) { animation-delay: .35s; }
.mot-t:first-child .lettre:nth-child(2) { animation-delay: .45s; }
.mot-t:first-child .lettre:nth-child(3) { animation-delay: .55s; }
.mot-t:first-child .lettre:nth-child(4) { animation-delay: .65s; }
.mot-t:last-child .lettre:nth-child(1) { animation-delay: 1.05s; }
.mot-t:last-child .lettre:nth-child(2) { animation-delay: 1.15s; }
.mot-t:last-child .lettre:nth-child(3) { animation-delay: 1.25s; }
.mot-t:last-child .lettre:nth-child(4) { animation-delay: 1.45s; }
.hero-titre .zoe {
  color: var(--or);
  background: linear-gradient(100deg, var(--or) 0%, var(--or) 40%, #fff6d6 50%, var(--or) 60%, var(--or) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px #f6c45366);
  animation: lettre .7s cubic-bezier(.2,1.6,.4,1) forwards, reflet 4.5s 2.4s linear infinite;
  cursor: pointer;
}
@keyframes lettre { to { opacity: 1; transform: none; } }
@keyframes reflet { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero-phrase {
  font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  max-width: 22em;
  margin: 0 0 28px;
  opacity: 0;
  animation: monte .8s 1.2s ease-out forwards;
}

.compte {
  opacity: 0;
  animation: monte .8s 1.4s ease-out forwards;
}
.compte-titre { margin: 0 0 8px; font-size: .95rem; color: var(--creme-2); }
.compte-chiffres { display: flex; gap: 10px; justify-content: center; }
.compte-chiffres div {
  min-width: 64px;
  padding: 10px 6px 6px;
  border-radius: 14px;
  background: #ffffff10;
  border: 1px solid #f6c45333;
  backdrop-filter: blur(4px);
}
.compte-chiffres span {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem; line-height: 1;
  color: var(--or);
  font-variant-numeric: tabular-nums;
}
.compte-chiffres small { font-size: .78rem; color: var(--creme-2); }

.hero-astuce {
  margin: 20px 0 0;
  font-size: .9rem;
  color: var(--creme-2);
  opacity: 0;
  animation: monte .8s 1.6s ease-out forwards;
}

.hero-bouton {
  position: relative; z-index: 2;
  margin: 22px 0 0;
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--or);
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 30px #f6c45355;
  opacity: 0;
  animation: monte .8s 1.8s ease-out forwards;
  cursor: pointer;
}
.hero-bouton:active { transform: scale(.97); }

.ville {
  margin-top: auto;
  margin-inline: -20px;
  width: calc(100% + 40px);
  height: clamp(150px, 30vw, 260px);
  display: block;
  pointer-events: none;
}
.fenetres rect { animation: clignote 3s infinite alternate; }
.fenetres rect:nth-child(3n) { animation-delay: 1s; }
.fenetres rect:nth-child(4n) { animation-delay: 2s; }
@keyframes clignote { from { opacity: 1; } to { opacity: .45; } }
.reflets path { animation: ondule 2.6s ease-in-out infinite alternate; }
@keyframes ondule { from { opacity: .3; transform: translateX(-4px); } to { opacity: .8; transform: translateX(4px); } }
.lampes circle { filter: drop-shadow(0 0 3px #f6c453); }

/* Frise en tuiles de Zsolnay (toit de l'église Matthias) */
.frise {
  height: 22px;
  background:
    linear-gradient(135deg, var(--or) 25%, transparent 25%) -11px 0 / 22px 22px,
    linear-gradient(225deg, var(--or) 25%, transparent 25%) -11px 0 / 22px 22px,
    linear-gradient(315deg, var(--vert) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(45deg, var(--vert) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--paprika);
}

main .frise { margin-inline: calc(50% - 50vw); }

/* ---------- Contenu ---------- */
main { max-width: 760px; margin: 0 auto; padding: 0 16px; }

.intro { padding: 40px 4px 8px; }
.intro p { font-size: 1.15rem; max-width: 34em; margin: 0 0 20px; }

.raccourcis { display: flex; flex-wrap: wrap; gap: 10px; }
.raccourci {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px solid #f6c45366;
  background: #ffffff0a;
  cursor: pointer;
  text-align: left;
  flex: 1 1 200px;
  transition: background .2s, border-color .2s;
}
.raccourci:hover { background: #ffffff16; border-color: var(--or); }
.raccourci strong { font-size: 1.02rem; }
.raccourci span { font-size: .88rem; color: var(--creme-2); }
.raccourci em { font-style: normal; color: var(--or); font-weight: 700; }

.etape { padding: 44px 0 36px; }
.etape h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); color: var(--or); line-height: 1.05; }
.etape-sous { margin: 8px 0 22px; color: var(--creme-2); max-width: 34em; }

.filtres { display: flex; gap: 8px; margin-bottom: 20px; }
.filtre {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #ffffff33;
  background: transparent;
  cursor: pointer;
  font-size: .95rem;
}
.filtre.actif { background: var(--creme); color: var(--encre); border-color: var(--creme); font-weight: 700; }

.jour {
  font-family: var(--texte);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--creme);
  margin: 26px 0 10px;
  display: flex; align-items: baseline; gap: 10px;
}
.jour:first-child { margin-top: 0; }
.jour small { font-weight: 400; color: var(--creme-2); font-size: .9rem; }
.jour.cache { display: none; }

/* ---------- Billets ---------- */
.billet {
  position: relative;
  margin-bottom: 14px;
  color: var(--ticket-encre);
  transition: transform .25s cubic-bezier(.2,1.4,.4,1);
}
.billet.cache { display: none; }
.billet.secondaire { opacity: .78; }

.billet-corps {
  display: grid;
  grid-template-columns: 1fr 92px;
  background: var(--ticket);
  border-radius: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px #000a;
  outline: 3px solid transparent;
  transition: outline-color .2s, box-shadow .2s;
  /* encoches de part et d'autre de la ligne de découpe */
  -webkit-mask:
    radial-gradient(circle 11px at calc(100% - 92px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - 92px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 11px at calc(100% - 92px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - 92px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.billet-corps input { position: absolute; opacity: 0; pointer-events: none; }
.billet:has(input:focus-visible) .billet-corps { outline-color: var(--rose); }

.billet-gauche { padding: 14px 14px 14px 16px; min-width: 0; }
.billet-haut { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.mode {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700;
  padding: 3px 10px 3px 7px;
  border-radius: 999px;
  color: #fff;
}
.mode svg { width: 16px; height: 16px; }
.mode.bus { background: #257a41; }
.mode.avion { background: #3456c8; }
.mode.train { background: #9b2f6e; }
.billet-compagnie { font-size: .85rem; color: #5a4c70; }
.badge {
  font-size: .78rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  background: var(--or); color: var(--encre);
}
.badge.eva { background: var(--rose); color: var(--encre); }

.trajet { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; row-gap: 2px; }
.heure { font-family: var(--display); font-size: 1.75rem; line-height: 1.05; }
.lieu { font-size: .82rem; color: #5a4c70; }
.trajet .a-droite { text-align: right; }
.trajet .vide { grid-column: 2; }
.duree { grid-column: 1 / -1; font-size: .84rem; color: #5a4c70; margin-top: 4px; }
.ligne {
  position: relative;
  height: 2px; min-width: 24px;
  margin-inline: 12px;
  background: repeating-linear-gradient(90deg, #24183c55 0 6px, transparent 6px 11px);
}

.notes { margin: 10px 0 0; padding: 0; list-style: none; font-size: .9rem; }
.notes li { position: relative; padding-left: 20px; margin-top: 4px; }
.notes li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #b9a6d6; }
.notes li.attention::before { background: var(--paprika); }
.notes li.eva::before { background: var(--rose); }
.notes li.moi::before { background: var(--or); box-shadow: 0 0 0 2px #f6c45355; }

.billet-talon {
  border-left: 2px dashed #24183c33;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 6px;
  text-align: center;
  background: linear-gradient(#fff1d2, #ffe8bb);
}
.prix { font-family: var(--display); font-size: 1.55rem; line-height: 1; }
.prix-des { font-size: .75rem; color: #5a4c70; margin-bottom: 2px; }
.prix-devise { font-size: .78rem; color: #5a4c70; margin-top: 3px; }
.choisir {
  margin-top: 10px; white-space: nowrap;
  font-size: .78rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  border: 1.5px solid #24183c66;
}

.ligne .vehicule {
  position: absolute; top: 50%; left: 0; z-index: 1;
  width: 20px; height: 20px;
  color: var(--paprika);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.ligne .vehicule svg { width: 100%; height: 100%; display: block; }
.billet[data-mode="avion"] .vehicule svg { transform: rotate(90deg); }
.billet.choisi .vehicule { animation: roule 3.6s ease-in-out infinite; }
@keyframes roule {
  0% { left: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; }
}

/* Billet choisi */
.billet.choisi .billet-corps { outline-color: var(--or); box-shadow: 0 0 0 6px #f6c45333, 0 14px 40px -10px #f6c45388; }
.billet.choisi .choisir { display: none; }
.tampon {
  display: none;
  margin-top: 10px;
  padding: 2px 8px;
  border: 2.5px solid var(--paprika);
  border-radius: 8px;
  color: var(--paprika);
  font-family: var(--display);
  font-size: 1rem;
  white-space: nowrap;
  transform: rotate(-10deg) scale(2.2);
  opacity: 0;
  pointer-events: none;
}
.billet.choisi .tampon { display: block; }
.billet.choisi .tampon { animation: tampon .45s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes tampon { to { opacity: .85; transform: rotate(-10deg) scale(1); } }
.billet.tape { animation: tape .35s ease-out; }
@keyframes tape { 40% { transform: scale(.97); } 100% { transform: none; } }

/* Options du train de nuit */
.billet[data-id="train"] .billet-corps { border-radius: 18px 18px 0 0; }
.train-options {
  background: #fff7e6;
  border-radius: 0 0 18px 18px;
  border-top: 2px dashed #24183c22;
  padding: 16px 16px 14px;
  color: var(--ticket-encre);
  box-shadow: 0 10px 30px -12px #000a;
}
.train-options fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.train-options legend { font-size: .85rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.segments { display: flex; flex-wrap: wrap; gap: 6px; }
.segments label {
  position: relative;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid #24183c33;
  font-size: .88rem;
  cursor: pointer;
  background: #fff;
}
.segments input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segments label:has(input:checked) { background: var(--ticket-encre); color: var(--or); border-color: var(--ticket-encre); font-weight: 700; }
.segments label:has(input:focus-visible) { outline: 3px solid var(--rose); outline-offset: 2px; }
.segments .moi-pastille { font-size: .72rem; margin-left: 4px; }
.train-suite { margin: 4px 0 0; font-size: .9rem; }
.train-suite strong { color: #9b2f6e; }

/* ---------- Hongrois ---------- */
.hongrois { padding: 30px 0 10px; }
.hongrois h2 { font-size: clamp(2rem, 8vw, 2.8rem); color: var(--creme); margin-bottom: 16px; }
.hongrois ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mot {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid #ffffff22;
  background: #ffffff08;
  cursor: pointer;
}
.mot:hover { border-color: var(--rose); }
.mot-hu { font-family: var(--display); font-size: 1.45rem; color: var(--or); }
.mot-dit { grid-column: 1; font-size: .9rem; color: var(--creme-2); }
.mot-fr { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .95rem; text-align: right; }

/* ---------- Fin ---------- */
.fin { text-align: center; padding: 56px 0 40px; }
.fin h2 { font-size: clamp(2.6rem, 11vw, 4rem); color: var(--or); }
.fin p { max-width: 26em; margin: 12px auto 0; }
.signature { font-family: var(--display); font-size: 1.6rem; color: var(--rose); margin-top: 22px !important; }

/* ---------- Panier ---------- */
.panier {
  position: fixed; z-index: 40;
  left: 50%; bottom: 0;
  width: min(760px, 100%);
  transform: translate(-50%, calc(100% + 40px));
  transition: transform .45s cubic-bezier(.2,1.2,.4,1);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "lignes lignes" "sans sans" "total envoyer";
  gap: 6px 16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #252360;
  border-top: 1px solid #f6c45355;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 40px #0008;
}
.panier.visible { transform: translate(-50%, 0); }
.panier-lignes { grid-area: lignes; min-width: 0; }
.panier-ligne { margin: 0; font-size: .86rem; display: flex; gap: 8px; white-space: nowrap; }
.panier-ligne .panier-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.panier-prix { font-weight: 700; color: var(--or-pale); }
.panier-cle { color: var(--creme-2); display: inline-block; min-width: 3.6em; }
.panier-val.vide { color: #ffffffa0; font-style: italic; }
.panier-total { grid-area: total; text-align: left; align-self: center; }
.panier-total .panier-cle { display: block; font-size: .8rem; }
body.modale .panier { transform: translate(-50%, calc(100% + 40px)); }
body.modale #ciel { z-index: 49; }
.panier-total strong { display: inline-block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--or); line-height: 1; white-space: nowrap; }
.panier-total strong.pop { animation: pop .4s ease-out; }
@keyframes pop { 40% { transform: scale(1.25); color: #fff; } }
.panier-sans { grid-area: sans; margin: 0; font-size: .78rem; color: var(--creme-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panier-sans:empty { display: none; }
.panier-envoyer {
  grid-area: envoyer;
  padding: 12px;
  border: 0; border-radius: 14px;
  background: var(--or); color: var(--encre);
  font-weight: 800; font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
}
.panier-envoyer:disabled { background: #ffffff1c; color: #ffffff88; cursor: default; }
.panier-envoyer:not(:disabled) { animation: appel 2.4s ease-in-out infinite; }
@keyframes appel { 0%, 100% { box-shadow: 0 0 0 0 #f6c45300; } 50% { box-shadow: 0 0 0 6px #f6c45344; } }

/* ---------- Bravo ---------- */
.bravo {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 20px;
  background: #0d0e2a99;
}
.bravo[hidden] { display: none; }
.bravo-carte {
  width: min(460px, 100%);
  max-height: 90vh; overflow: auto;
  background: var(--ticket);
  color: var(--ticket-encre);
  border-radius: 22px;
  padding: 24px 20px 20px;
  text-align: center;
  animation: arrive .5s cubic-bezier(.2,1.5,.4,1);
}
@keyframes arrive { from { transform: scale(.6) rotate(-4deg); opacity: 0; } }
.bravo-titre { font-family: var(--display); font-size: 2.3rem; margin: 0 0 8px; color: var(--paprika); }
.bravo-texte {
  white-space: pre-wrap;
  text-align: left;
  font-family: var(--texte);
  font-size: .88rem;
  line-height: 1.4;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 10px;
  border: 1px solid #24183c22;
  max-height: 38vh; overflow: auto;
}
.bravo-info { font-size: .85rem; color: #5a4c70; margin: 0 0 14px; min-height: 1.2em; }
.bravo-boutons { display: flex; flex-direction: column; gap: 8px; }
.bravo-boutons a, .bravo-boutons button {
  display: block;
  padding: 11px;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--ticket-encre); color: var(--or);
}
.bravo-boutons .whatsapp { background: #168a47; color: #fff; }
.bravo-boutons .secondaire { background: transparent; color: var(--ticket-encre); border: 1.5px solid #24183c44; }

@media (min-width: 640px) {
  .billet-corps { grid-template-columns: 1fr 120px;
    -webkit-mask:
      radial-gradient(circle 12px at calc(100% - 120px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
      radial-gradient(circle 12px at calc(100% - 120px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
            mask:
      radial-gradient(circle 12px at calc(100% - 120px) 0, #0000 98%, #000) top / 100% 51% no-repeat,
      radial-gradient(circle 12px at calc(100% - 120px) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
  .heure { font-size: 2.1rem; }
  .prix { font-size: 1.9rem; }
  .billet-gauche { padding: 18px 20px; }
  .panier { grid-template-columns: 1fr auto auto; grid-template-areas: "lignes total envoyer" "sans sans sans"; align-items: center; bottom: 14px; border-radius: 20px; border: 1px solid #f6c45355; width: min(760px, calc(100% - 28px)); }
  .panier-envoyer { margin: 0; padding: 12px 20px; }
  .panier-total { text-align: right; }
  .hongrois ul { grid-template-columns: repeat(3, 1fr); }
  .mot { grid-template-columns: 1fr; }
  .mot-fr { grid-column: 1; grid-row: auto; text-align: left; margin-top: 6px; }
}

@media (max-height: 620px) {
  .hero { padding-top: max(36px, env(safe-area-inset-top)); }
  .hero-titre { font-size: clamp(3.4rem, 17vw, 6rem); margin-bottom: 12px; }
  .hero-phrase { margin-bottom: 16px; }
  .hero-astuce { display: none; }
  .compte-chiffres span { font-size: 1.6rem; }
}

.billet[data-mode="train"] .heure { font-size: 1.4rem; }
@media (max-width: 360px) {
  .heure { font-size: 1.45rem; }
  .billet[data-mode="train"] .heure { font-size: 1.15rem; }
  .trajet { column-gap: 6px; }
  .ligne { margin-inline: 4px; min-width: 12px; }
  .compte-chiffres div { min-width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
