/* Tafnt Tours — les couleurs de son flyer : bleu ciel, jaune soleil, sable, brun de la dune ; la nuit de la soirée. */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-display: swap; src: url(polices/fraunces-italique-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-display: swap; src: url(polices/fraunces-italique-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url(polices/cairo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url(polices/cairo-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url(polices/cairo-arabe.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2066-2069; }

:root {
  --ciel: #2b78c2;        /* bleu du flyer, assombri juste ce qu'il faut pour un texte blanc lisible */
  --ciel-clair: #cfe4f6;
  --ciel-fonce: #1b5690;
  --nuit: #0d2140;
  --soleil: #f6cf37;
  --soleil-fonce: #e3ae17;
  --sable: #fbf4e6;
  --sable-2: #f1e2c2;
  --dune: #7a4f26;
  --encre: #2b1d10;
  --encre-douce: #5b4632;
  --wa: #0f7a40;
  --bord: #9a8166;       /* contour des champs et boutons : 3:1 sur blanc */
  --rayon: 18px;
  --titre: 'Fraunces', 'Cairo', Georgia, serif;
  --texte: 'Cairo', system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; scroll-padding-bottom: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sable); color: var(--encre); font: 400 17px/1.55 var(--texte); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h2 { font: italic 600 clamp(1.85rem, 5.4vw, 2.6rem)/1.1 var(--titre); color: var(--ciel-fonce); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--ciel-fonce); }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.large { width: min(1180px, 100% - 32px); margin-inline: auto; }
.intro { margin-top: 10px; max-width: 46ch; color: var(--encre-douce); font-size: 1.06rem; }
.note { color: var(--encre-douce); font-size: 1rem; }
:focus-visible { outline: 3px solid var(--soleil-fonce); outline-offset: 3px; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .slogan { font-style: normal; font-family: var(--texte); font-weight: 800; }

/* Bandeau de maquette, en-tête */
[hidden] { display: none !important; }
.bandeau { background: var(--encre); color: #fff; font-size: .85rem; text-align: center; padding: 6px 16px; }
.tete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--ciel); color: #fff; }
.tete-logo { display: flex; align-items: center; gap: 8px; margin-inline-end: auto; color: #fff; text-decoration: none; font: italic 600 1.2rem/1 var(--titre); }
.tete-logo img { width: 54px; height: auto; }
.langue { position: relative; }
.langue summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; font: 600 1rem var(--texte); cursor: pointer; list-style: none; }
.langue summary::-webkit-details-marker { display: none; }
.langue summary:focus-visible, .langue a:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }
.drapeau { width: 24px; height: 16px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.18); object-fit: cover; }
.langue ul { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-end: 0; min-width: 180px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(13,33,64,.25); }
.langue ul a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--encre); font-weight: 600; text-decoration: none; }
.langue ul a:hover { background: var(--sable); }
.langue ul a[aria-current] { background: var(--ciel-clair); }
.tete-wa { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--soleil); color: var(--encre); font-weight: 700; text-decoration: none; }

/* Boutons */
.bouton { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--soleil); color: var(--encre); font-weight: 800; font-size: 1.08rem; text-decoration: none; box-shadow: 0 6px 18px rgba(43,29,16,.22); transition: transform .2s ease, background .2s ease; }
@media (hover: hover) { .bouton:hover { background: #ffd94d; transform: translateY(-1px); } }
.bouton-wa { background: var(--wa); color: #fff; }
.bouton-wa:hover { background: #0b6534; }
.bouton-clair { box-shadow: none; }

/* Bord déchiré de son flyer */
.dechire { display: block; width: 100%; height: 22px; fill: #fff; }

/* Ouverture */
.ouverture { background: var(--ciel); }
.ouverture-ciel { padding: 16px 16px 18px; color: #fff; text-align: center; }
.ouverture-logo { width: min(56%, 230px); height: auto; margin: 0 auto; }
.slogan { margin-top: 6px; font: italic 600 1.2rem/1.3 var(--titre); color: #fff; }
.ouverture h1 { margin-top: 14px; font: italic 600 clamp(1.75rem, 7.4vw, 3.1rem)/1.1 var(--titre); color: #fff; }
.ouverture h1 span { display: block; }
.h1-soleil { color: var(--soleil); }
.chapo { margin: 12px auto 0; max-width: 34ch; font-size: 1.06rem; }
.ouverture .dechire { margin-block: -11px; position: relative; z-index: 2; }
.ouverture-film { position: relative; height: clamp(190px, 27svh, 280px); overflow: hidden; background: var(--sable-2); }
.film-image, .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.film-video { opacity: 0; transition: opacity 1s ease; }
.film-video.joue { opacity: 1; }
.ouverture-film::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(13,33,64,.62)); pointer-events: none; }
/* Sous la photo : prochain départ, l'action, puis appeler et l'adresse. */
.ouverture-actions { display: grid; justify-items: center; gap: 12px; padding: 16px 16px 22px; color: #fff; text-align: center; }
.depart small { width: 100%; font-size: .85rem; color: #fff; }
.depart-quand { white-space: nowrap; }
.ouverture-contact { display: grid; gap: 2px; font-size: .95rem; }
.lien-appel { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: #fff; font-weight: 800; text-underline-offset: 4px; }
.pause-film { position: absolute; z-index: 3; inset-block-start: 10px; inset-inline-end: 10px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(13,33,64,.78); color: #fff; font: 700 .9rem var(--texte); cursor: pointer; }
.pause-film[aria-pressed="true"] { background: var(--soleil); color: var(--encre); }
.petit-seul { display: inline; } .large-seul { display: none; }
.tete.sans-logo .tete-logo { visibility: hidden; }
.depart { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; color: #fff; font-size: 1rem; }
.depart strong { font-size: 1.15rem; color: var(--soleil); }
.etiquette { position: absolute; z-index: 2; inset-inline-start: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(13,33,64,.7); color: #fff; font-size: .8rem; }
.etiquette-film { bottom: 8px; max-width: calc(100% - 20px); }
.journee-photo .etiquette, .soiree-film .etiquette { bottom: auto; top: 10px; }

/* Bon de sortie */
.bon { padding: 56px 0 64px; background: linear-gradient(var(--ciel-clair), var(--sable) 260px); }
.bon-grille { display: grid; gap: 24px; margin-top: 26px; }
.etape { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.etape > legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font: italic 600 1.45rem/1.2 var(--titre); color: var(--encre); }
[dir="rtl"] .etape > legend { font-style: normal; font-family: var(--texte); font-weight: 800; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ciel); color: #fff; font: 800 1rem var(--texte); }
.pastille input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pastille:has(input:focus-visible) { outline: 3px solid var(--soleil-fonce); outline-offset: 3px; }
.sous { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.sous > legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--bord); background: #fff; font-weight: 700; cursor: pointer; }
.pastille input:checked + span { background: var(--ciel); border-color: var(--ciel); color: #fff; }
.pastille input:disabled + span { cursor: not-allowed; color: #8c7a66; background: transparent; text-decoration: line-through; }
.champ { display: grid; gap: 6px; font-weight: 700; }
.champ input[type="text"], .champ input[type="date"] { min-height: 50px; padding: 0 14px; border: 2px solid var(--bord); border-radius: 12px; background: #fff; font: 400 1.05rem var(--texte); color: var(--encre); width: 100%; }
.champ-date { margin-top: 10px; max-width: 260px; }
.ligne-2 { display: grid; gap: 16px; }
.compteur { display: inline-flex; align-items: center; gap: 10px; }
.compteur button { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--bord); background: #fff; font: 700 1.4rem var(--texte); color: var(--encre); cursor: pointer; }
.compteur input { width: 64px; min-height: 50px; text-align: center; border: 2px solid var(--bord); border-radius: 12px; font: 700 1.15rem var(--texte); color: var(--encre); background: #fff; -moz-appearance: textfield; }
.compteur input::-webkit-inner-spin-button { appearance: none; }

/* Le ticket : son bon de sortie, aux couleurs du logo */
.ticket { position: relative; align-self: start; padding: 20px 20px 18px; border-radius: var(--rayon); background: var(--ciel); color: #fff; box-shadow: 0 12px 34px rgba(13,33,64,.28); }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 74px; width: 22px; height: 22px; border-radius: 50%; background: var(--sable); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket-tete { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 2px dashed rgba(255,255,255,.5); font: italic 600 1.4rem var(--titre); color: var(--soleil); }
[dir="rtl"] .ticket-tete { font-style: normal; font-family: var(--texte); font-weight: 800; }
.ticket-tete img { width: 58px; height: auto; }
.ticket-lignes { margin: 14px 0; display: grid; gap: 8px; }
.ticket-lignes div { display: grid; grid-template-columns: minmax(0, 11ch) 1fr; gap: 10px; }
.ticket-lignes dt { color: #fff; font-size: .95rem; }
.ticket-lignes dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.ticket-lignes dd.vide { font-weight: 400; color: #fff; font-style: italic; }
.ticket-prix { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.14); font-weight: 600; }
.ticket .bouton { width: 100%; margin-top: 14px; }
.ticket-tel { margin-top: 10px; font-size: .95rem; color: #fff; text-align: center; line-height: 1.6; }
.ticket-tel a { color: #fff; font-weight: 700; }
.barre-bon { position: fixed; z-index: 30; inset: auto 0 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nuit); color: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
.barre-texte { flex: 1; min-width: 0; font-size: .95rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.barre-bon .bouton { min-height: 46px; padding: 0 16px; font-size: 1rem; flex: none; }

/* Le parcours de 2 heures, qui se trace au défilement */
.parcours { padding: 64px 0; background: linear-gradient(var(--sable), var(--sable-2)); }
.route { position: relative; list-style: none; margin: 30px 0 0; padding: 0; padding-inline-start: 46px; display: grid; gap: 34px; }
.route-trait { position: absolute; inset-inline-start: 17px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(var(--dune) 0 10px, transparent 10px 18px); opacity: .35; }
.route-trait span { position: absolute; inset: 0; border-radius: 4px; background: var(--soleil-fonce); transform-origin: top; transform: scaleY(var(--avance, 1)); }
.arret { position: relative; }
.arret-point { position: absolute; inset-inline-start: -46px; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ciel); color: #fff; font-weight: 800; border: 3px solid var(--sable); }
.arret-photo { position: relative; margin: 0 0 12px; border-radius: var(--rayon); overflow: hidden; }
.arret-photo img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.arret-the { margin-bottom: 12px; }
.arret-the img { width: 96px; height: 96px; }
.arret h3 { font: italic 600 1.5rem/1.15 var(--titre); color: var(--encre); }
[dir="rtl"] .arret h3 { font-style: normal; font-family: var(--texte); font-weight: 800; }
.arret p { margin-top: 4px; color: var(--encre-douce); }
.note-forte { margin-top: 32px; padding: 16px 18px; border-radius: 14px; background: #fff; border-inline-start: 0; font-weight: 600; }

/* La journée */
.journee { position: relative; padding-top: 32px; }
.journee-carte { position: relative; padding: 26px 20px; border-radius: var(--rayon); background: #fff; box-shadow: 0 10px 30px rgba(43,29,16,.12); }
.horaire { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; gap: 0; }
.horaire li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--sable-2); }
.horaire time { font-weight: 800; color: var(--ciel-fonce); }
.journee .bouton { margin-top: 20px; }

/* La soirée de 17:00 : la nuit */
.soiree { position: relative; background: var(--nuit); color: #fff; padding-bottom: 72px; overflow: hidden; }
.soiree::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 12% 62%, #fff8 50%, transparent), radial-gradient(1px 1px at 28% 78%, #fff9 50%, transparent), radial-gradient(1.5px 1.5px at 46% 70%, #fff7 50%, transparent), radial-gradient(1px 1px at 64% 86%, #fffa 50%, transparent), radial-gradient(1.5px 1.5px at 82% 66%, #fff8 50%, transparent), radial-gradient(1px 1px at 92% 90%, #fff9 50%, transparent), radial-gradient(1px 1px at 6% 92%, #fff7 50%, transparent), radial-gradient(1.5px 1.5px at 56% 96%, #fff6 50%, transparent); pointer-events: none; }
.soiree-film { position: relative; height: clamp(260px, 52vw, 600px); overflow: hidden; }
.soiree-film img, .soiree-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soiree-film::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, var(--nuit)); }
.soiree-texte { position: relative; z-index: 2; margin-top: -40px; }
.soiree h2 { color: var(--soleil); }
.soiree .intro { color: #d9e3f2; }
.moments { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.moments li { display: grid; align-content: start; gap: 8px; font-weight: 600; font-size: 1.04rem; line-height: 1.35; }
.moments li:nth-child(-n+2) { grid-column: span 2; grid-template-columns: 64px 1fr; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); }
.moment-heure { color: var(--soleil); font-weight: 800; font-size: 1.1rem; }
.moments figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
.moments figure img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }

/* Bon à savoir */
.catalogue { padding: 60px 0 70px; }
.listes { display: grid; gap: 28px; margin-top: 24px; }
.listes h3 { font-size: 1.3rem; padding-bottom: 8px; border-bottom: 3px solid var(--soleil); }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: grid; grid-template-columns: 1fr; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--sable-2); }
.sortie-nom { justify-self: start; display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; color: var(--ciel-fonce); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sortie-nom::after { content: ' ›'; white-space: pre; color: var(--wa); }
.sortie-prix { grid-column: 1; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.sortie-prix bdi { font-weight: 700; color: var(--dune); }
.sans-prix { font-style: italic; }
.liste a:hover { color: var(--wa); }
.contact-titre { margin-top: 52px; }
.adresse { font-weight: 600; color: var(--encre); }
.carte h3 + p + h3 { margin-top: 16px; }
.cartes { display: grid; gap: 14px; margin-top: 24px; }
.carte { padding: 20px; border-radius: var(--rayon); background: #fff; box-shadow: 0 2px 10px rgba(43,29,16,.07); }
.carte p { margin-top: 6px; color: var(--encre-douce); }
.carte a { font-weight: 700; }
.carte-vide { background: transparent; box-shadow: none; border: 2px dashed #c9ad7d; }
.carte-vide ul { margin: 8px 0 0; padding-inline-start: 20px; color: var(--encre-douce); }

/* Pied */
.pied { background: var(--ciel); color: #fff; padding-bottom: 40px; font-size: 1rem; }
.pied .dechire { transform: translateY(-11px); }
.pied-logo { width: min(100%, 320px); height: auto; margin-top: 18px; }
.pied .slogan { margin: 6px 0 22px; }
.pied-titre { font: 700 1rem var(--texte); color: #fff; }
.credits { margin: 8px 0 14px; padding-inline-start: 18px; }
.pied a { color: #fff; }
.pied p { margin-top: 6px; color: #fff; }
/* Sur les fonds bleus, le focus passe au blanc cerné de nuit (3:1). */
.tete :focus-visible, .ouverture :focus-visible, .ticket :focus-visible, .pied :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--nuit); }

@media (min-width: 700px) {
  .ligne-2 { grid-template-columns: auto 1fr; align-items: end; }
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .listes { grid-template-columns: 1fr 1fr; gap: 48px; }
  .moments { grid-template-columns: repeat(4, 1fr); }
  .moments li:nth-child(-n+2) { grid-column: span 2; }
}
@media (min-width: 960px) {
  html { scroll-padding-top: 80px; }
  .ouverture { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: 1fr auto; grid-template-areas: "ciel film" "actions film"; min-height: min(86vh, 760px); }
  .ouverture-ciel { grid-area: ciel; display: grid; align-content: end; justify-items: start; padding: 48px 48px 0 max(32px, (100vw - 1180px) / 2); text-align: start; }
  .ouverture-actions { grid-area: actions; justify-items: start; padding: 24px 48px 48px max(32px, (100vw - 1180px) / 2); text-align: start; }
  .ouverture-contact { justify-items: start; }
  .lien-appel { justify-content: start; }
  .depart { justify-content: start; }
  .ouverture-film { grid-area: film; }
  .petit-seul { display: none; } .large-seul { display: inline; }
  .ouverture-logo { margin: 0; width: 100%; max-width: 460px; }
  .chapo { margin-inline: 0; }
  .ouverture .dechire { display: none; }
  .ouverture-film { height: auto; }
  .depart small { text-align: start; }
  .bon-grille { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
  .ticket { position: sticky; top: 96px; }
  .route { grid-template-columns: repeat(4, 1fr); padding-inline-start: 0; padding-top: 56px; gap: 24px; }
  .route-trait { inset: 17px 0 auto; top: 17px; bottom: auto; width: auto; height: 4px; background: repeating-linear-gradient(90deg, var(--dune) 0 10px, transparent 10px 18px); }
  [dir="rtl"] .route-trait { transform: scaleX(-1); }
  .route-trait span { transform-origin: left; transform: scaleX(var(--avance, 1)); }
  .arret-point { inset-inline-start: 0; top: -56px; }
  .journee-carte { width: min(760px, 100% - 64px); margin-inline: auto; }
  .soiree-texte { margin-top: -120px; }
}
@media (max-width: 380px) {
  .tete-logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Composeur de séjour */
.pastille-jour span { min-width: 42px; padding-inline: 6px; justify-content: center; }
.exemples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: var(--encre-douce); }
.exemples > span { width: 100%; font-weight: 600; }
.puce { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ciel); background: #fff; color: var(--ciel-fonce); font: 700 1rem var(--texte); cursor: pointer; }
.puce:focus-visible { outline: 3px solid var(--soleil-fonce); outline-offset: 2px; }
.puce-effacer { border-color: var(--bord); color: var(--encre-douce); }
.jours { display: grid; gap: 16px; }
.jour { padding: 16px; border-radius: var(--rayon); background: #fff; box-shadow: 0 2px 10px rgba(43,29,16,.07); }
.jour h3 { font-size: 1.2rem; }
.jour-date { display: block; font: 600 .98rem var(--texte); font-style: normal; color: var(--encre-douce); }
.frise { position: relative; height: 26px; margin: 12px 0 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ciel-clair) 0 30.77%, #fdeaa6 30.77% 61.54%, #c9d6ec 61.54%); }
.frise-h { position: absolute; top: 100%; font-size: .78rem; color: var(--encre-douce); transform: translateX(-50%); }
.frise-h:nth-child(1) { inset-inline-start: 0; transform: none; }
.frise-h:nth-child(2) { inset-inline-start: 30.77%; }
.frise-h:nth-child(3) { inset-inline-start: 61.54%; }
.frise-h:nth-child(4) { inset-inline-end: 0; transform: none; }
[dir="rtl"] .frise { background: linear-gradient(270deg, var(--ciel-clair) 0 30.77%, #fdeaa6 30.77% 61.54%, #c9d6ec 61.54%); }
.frise-bloc { position: absolute; top: 3px; bottom: 3px; inset-inline-start: calc(var(--a) * 100%); width: calc(var(--l) * 100%); border-radius: 4px; background: var(--dune); }
.frise-flou { background: repeating-linear-gradient(45deg, var(--dune) 0 6px, #a97a4a 6px 12px); opacity: .75; }
.jour summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; min-height: 44px; cursor: pointer; list-style: none; }
.jour summary::-webkit-details-marker { display: none; }
.jour summary::after { content: ''; flex: none; width: 10px; height: 10px; margin-inline-start: auto; border-inline-end: 3px solid var(--ciel); border-bottom: 3px solid var(--ciel); transform: rotate(45deg); align-self: center; }
.jour[open] summary::after { transform: rotate(-135deg); }
.jour summary:focus-visible { outline: 3px solid var(--soleil-fonce); outline-offset: 4px; border-radius: 6px; }
.jour-resume { flex-basis: 100%; color: var(--ciel-fonce); font-weight: 600; }
.jour[open] .jour-resume { display: none; }
.creneau { display: grid; gap: 10px; padding: 14px 0 6px; border-top: 1px solid var(--sable-2); margin-top: 18px; min-width: 0; }
.creneau + .creneau { margin-top: 0; }
.creneau-titre { margin: 0; font: 700 1.05rem var(--texte); font-style: normal; }
.creneau-suite { margin: 0; color: var(--encre-douce); font-style: italic; }
.onglets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.onglet { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--bord); background: #fff; color: var(--encre); font: 700 .95rem var(--texte); cursor: pointer; white-space: nowrap; }
.onglet[aria-pressed="true"] { border-color: var(--ciel); background: var(--ciel); color: #fff; }
.onglet:focus-visible, .sc-btn:focus-visible, .sc-film:focus-visible { outline: 3px solid var(--soleil-fonce); outline-offset: 2px; }
/* Une bande de cartes qui défile ; la suivante dépasse, pour dire qu'il y en a d'autres. */
.bande { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* Une sortie = une ligne : vignette, nom, durée, tarif, puis les heures de départ en dessous. */
.sc { display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "media corps" "choix choix"; border-radius: 14px; background: #fff; border: 1px solid var(--sable-2); overflow: hidden; }
.sc > .sc-media { grid-area: media; aspect-ratio: auto; min-height: 96px; }
.sc > .sc-corps { grid-area: corps; padding: 8px 12px 4px; }
.sc > .sc-choix { grid-area: choix; }
.sc .sc-film { inset-block-end: 4px; inset-inline-end: 4px; min-height: 32px; padding: 0 8px; font-size: .8rem; }
.sc .sc-vide span { display: none; }
.sc-media, .pris-media { position: relative; aspect-ratio: 16 / 10; background: var(--sable); }
.sc-media > img, .pris-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-vide { display: grid; place-content: center; justify-items: center; gap: 6px; padding: 10px; text-align: center; color: var(--encre-douce); font-size: .9rem; font-weight: 600; background: linear-gradient(160deg, var(--sable) 0 60%, var(--ciel-clair)); }
.sc-vide > img { width: 54px; height: auto; opacity: .55; }
.sc-ill { position: absolute; inset-block-start: 6px; inset-inline-start: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(13,33,64,.72); color: #fff; font-size: .75rem; }
.sc-film { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ciel-fonce); font: 700 .9rem var(--texte); cursor: pointer; }
.sc-corps { display: grid; gap: 2px; padding: 10px 12px 4px; font-size: .95rem; line-height: 1.35; color: var(--encre-douce); }
.sc-corps strong { color: var(--encre); font-size: 1rem; }
.sc-prix { color: var(--dune); font-weight: 700; }
.sc-non-dit { display: none; }
.sc-choix { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px 12px; border-top: 1px solid var(--sable); }
.sc-etiquette { flex-basis: 100%; font-size: .9rem; font-weight: 600; color: var(--encre-douce); }
.sc-btn { min-height: 44px; min-width: 64px; padding: 0 12px; border-radius: 10px; border: 2px solid var(--ciel); background: #fff; color: var(--ciel-fonce); font: 700 1rem var(--texte); cursor: pointer; }
.sc-btn[aria-pressed="true"] { background: var(--soleil); border-color: var(--soleil-fonce); color: var(--encre); }
.sc-btn[aria-disabled="true"] { border-color: var(--sable-2); color: var(--encre-douce); background: var(--sable); cursor: not-allowed; text-decoration: line-through; }
/* Départ passé : la sortie n'est plus proposée. Chevauchement : grisée, la raison écrite en clair. */
.sc.sc-passe { display: none; }
.sc.sc-non .sc-media, .sc.sc-non .sc-corps strong { opacity: .55; }
.sc.sc-non .sc-non-dit { display: block; font-style: italic; color: var(--encre); }
.ajouter { justify-self: start; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px dashed var(--ciel); background: #fff; color: var(--ciel-fonce); font: 700 1rem var(--texte); cursor: pointer; }
.ajouter span { font-size: 1.3rem; line-height: 1; }
.ajouter:focus-visible { outline: 3px solid var(--soleil-fonce); outline-offset: 2px; }
.creneau-choix { display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: var(--sable); }
.fermer { justify-self: start; }
.creneau-pris { display: grid; gap: 10px; }
.pris-carte { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 4px; border-radius: 14px; background: #fffbea; border: 2px solid var(--soleil-fonce); overflow: hidden; }
.pris-carte .pris-media { height: 100%; aspect-ratio: auto; min-height: 92px; }
.pris-carte .sc-corps { padding: 8px 10px; }
.pris-carte .sc-film { inset-block-end: 4px; inset-inline-end: 4px; min-height: 32px; padding: 0 8px; font-size: .8rem; }
.pris-carte .sc-vide span { display: none; }
.pris-actions { display: flex; gap: 8px; }
@media (hover: hover) {
  .sc-btn:not([aria-disabled="true"]):hover, .onglet:hover { border-color: var(--ciel-fonce); }
}
/* Vidéo de présentation, au toucher seulement. */
.film-boite { width: min(860px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 16px; background: var(--nuit); color: #fff; }
.film-boite::backdrop { background: rgba(13,33,64,.7); }
.film-boite-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; }
.film-boite video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-boite-ill { margin: 0; padding: 8px 12px 12px; font-size: .85rem; opacity: .8; }
.ticket-programme ol { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticket-programme ul { margin: 4px 0 0; padding-inline-start: 18px; }
.ticket-programme strong { display: block; }
.ticket-programme .vide { margin: 8px 0; opacity: .8; }
.jours, .jour { min-width: 0; } /* la bande de cartes ne doit pas élargir la journée */
