/* =====================================================================
   Réservation en ligne TimJ Photographies (lot 2, 14/11/2026)
   Charte du site : papier et encre, bleu encre réservé aux actions.
   Polices : Archivo (titres), IBM Plex Sans (texte), IBM Plex Mono (heures et prix).
   Pensé d'abord pour le téléphone. Sur grand écran, le récapitulatif passe à droite.
   ===================================================================== */
:root {
  --paper: #F6F5F2; --ink: #14161A; --accent: #17395B; --accent-fonce: #0F2740; --accent-clair: rgba(23, 57, 91, .08);
  --muted: #5F646C; --line: #D8D4CC; --surface: #EAE6DE; --carte: #FDFCFA;
  --ok: #1E6B45; --ok-fond: #E3F1E8; --ko: #9B2C2C; --ko-fond: #F8E5E3; --soleil: #C98A1B;
  --titre: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --corps: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --rayon: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--corps); }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- En-tête et pied ---------- */
.r-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
/* Logo dessiné (20/11/2026) : le texte du lien reste, seul son dessin change */
.r-logo { display: block; height: 36px; aspect-ratio: 2340 / 448; background: url("/images/marque/timj-logo-ligne-encre.svg") left center / contain no-repeat; font-size: 0; line-height: 0; color: transparent; overflow: hidden; text-decoration: none; }
.r-aide { font-size: .875rem; color: var(--muted); text-decoration: none; text-align: right; }
.r-aide b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.r-pied { max-width: 1080px; margin: 0 auto; padding: 28px 20px 120px; color: var(--muted); font-size: .875rem; }
.r-pied p { margin: 0 0 6px; }
.r-pied a { color: inherit; }

/* ---------- Mise en page ---------- */
.r-page { max-width: 1080px; margin: 0 auto; padding: 28px 20px 0; }
.r-intro h1 { font: 700 clamp(2rem, 1.4rem + 2.6vw, 3.1rem)/1.05 var(--titre); letter-spacing: -.015em; margin: 0 0 12px; max-width: 16ch; }
.r-intro p { color: var(--muted); margin: 0 0 22px; max-width: 54ch; }
/* Qui est le photographe : portrait et une phrase, pour que le client sache avec qui il réserve */
.r-hote { display: flex; align-items: center; gap: 14px; margin: 0 0 34px; }
.r-hote img { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #1F4A52; }
.r-hote p { margin: 0; font-size: .95rem; line-height: 1.45; max-width: 44ch; }
.r-hote b { color: var(--ink); font-weight: 600; }
.r-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.r-grille > * { min-width: 0; }   /* sans cela, la rangée de jours élargit toute la page sur téléphone */
@media (min-width: 980px) { .r-grille { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }

/* ---------- Étapes ---------- */
.r-etape { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.r-etape:first-child { border-top: 0; padding-top: 0; }
.r-etape h2 { font: 700 1.3rem/1.2 var(--titre); margin: 0 0 4px; display: flex; gap: 12px; align-items: baseline; }
.r-etape h2 span { font: 400 .95rem var(--mono); color: var(--muted); min-width: 1.2em; }
.r-etape > p.r-sous { color: var(--muted); margin: 0 0 16px 0; padding-left: calc(1.2em + 12px); font-size: .95rem; }
.r-etape.r-verrou { opacity: .45; pointer-events: none; }
.r-etape.r-verrou .r-corps { display: none; }

/* ---------- Choix (cartes radio) ---------- */
.r-famille { font: 600 .95rem var(--corps); color: var(--muted); margin: 18px 0 8px; }
.r-famille:first-of-type { margin-top: 6px; }
.r-choix { display: grid; gap: 8px; }
@media (min-width: 620px) { .r-choix.r-deux { grid-template-columns: 1fr 1fr; } }
.r-option { position: relative; display: block; }
.r-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.r-option .r-carte { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: baseline; padding: 14px 16px; background: var(--carte); border: 1px solid var(--line); border-radius: var(--rayon); transition: border-color .15s, background .15s; }
.r-option:hover .r-carte { border-color: #B9B4AA; }
.r-option input:checked + .r-carte { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #fff; }
.r-option input:focus-visible + .r-carte { outline: 2px solid var(--accent); outline-offset: 2px; }
.r-nom { font: 600 1.05rem var(--corps); }
.r-prix { font: 400 1rem var(--mono); white-space: nowrap; }
.r-detail { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
/* Détail d'une formule : replié par défaut, il se déplie en douceur sur la formule choisie.
   (grid-template-rows 0fr -> 1fr : la hauteur s'anime sans avoir à la connaître.) */
.r-aide-formule { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.r-plus { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.r-plus-in { overflow: hidden; min-height: 0; display: block; opacity: 0; transition: opacity .2s ease; }
.r-option input:checked + .r-carte .r-plus { grid-template-rows: 1fr; }
.r-option input:checked + .r-carte .r-plus-in { opacity: 1; }
.r-accroche { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.r-inclus { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 14px; line-height: 1.3; margin-top: 8px; font-size: .88rem; }
.r-inclus span { position: relative; padding-left: 18px; }
.r-inclus span::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.r-option .r-carte::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: opacity .15s; }
.r-option input:checked + .r-carte::after { opacity: 0; }
.r-option .r-detail { padding-right: 22px; }
@media (prefers-reduced-motion: reduce) { .r-plus, .r-plus-in { transition: none; } }
/* Formule arrivée par un bouton « Réserver » : une ligne « nom · prix » et « Changer » (22/11/2026).
   La liste complète reste dans la page, cachée, et revient d'un geste. */
.r-fixe-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 8px 8px 8px 16px; background: #fff; border: 1px solid var(--accent); box-shadow: inset 0 0 0 1px var(--accent); border-radius: var(--rayon); }
/* Nom et prix côte à côte, séparés par un point. Si le nom est long, le prix passe à la ligne et son
   point, sorti à gauche du cadre, est masqué (overflow) : jamais de ligne qui commence par « · ». */
.r-fixe-ligne p { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.2em; overflow: hidden; margin: 0; min-width: 0; font-size: 1.05rem; line-height: 1.3; }
.r-fixe-ligne b { font-weight: 600; }
.r-fixe-prix { position: relative; }
.r-fixe-prix::before { content: "·"; position: absolute; left: -.8em; color: var(--muted); font-family: var(--corps); }
.r-fixe-ligne .r-btn { flex: none; }
.r-fixe .r-liste-formules { display: none; }
.r-etape { scroll-margin-top: 12px; }
/* Paiement : « 0 € aujourd'hui » mis en avant (22/11/2026) */
.r-zero { display: flex; align-items: center; gap: 10px; margin: 12px 0 12px; padding: 10px 14px; background: var(--ok-fond); color: var(--ok); border-radius: var(--rayon); font-weight: 600; font-size: .98rem; line-height: 1.35; }
.r-option.r-mise-en-avant .r-prix { color: var(--ok); font-weight: 600; }

/* ---------- Jours ---------- */
.r-jours { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 12px; margin: 0 -20px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.r-jour { flex: 0 0 auto; min-width: 78px; scroll-snap-align: start; padding: 10px 12px; text-align: left; background: var(--carte); border: 1px solid var(--line); border-radius: var(--rayon); cursor: pointer; }
.r-jour b { display: block; font: 600 1rem var(--corps); white-space: nowrap; }
.r-jour small { display: block; color: var(--muted); font-size: .8rem; }
.r-jour[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #fff; }
.r-jour:disabled { opacity: .45; cursor: default; }
.r-jour:disabled b { text-decoration: line-through; text-decoration-color: var(--line); }

/* ---------- La journée : bande de lumière et heures ----------
   La bande représente la journée de 10 h à 21 h. La partie claire est celle où une séance
   peut avoir lieu (jusqu'au coucher du soleil en extérieur). La séance choisie s'y dessine. */
.r-journee { margin-top: 10px; padding: 16px; background: var(--carte); border: 1px solid var(--line); border-radius: var(--rayon); }
.r-journee h3 { font: 600 1.05rem var(--corps); margin: 0 0 2px; }
.r-journee .r-lumiere-texte { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.r-bande { position: relative; height: 34px; background: var(--surface); border-radius: 6px; overflow: hidden; }
.r-bande .r-jour-clair { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #FBF3DF 0%, #F6E3B4 62%, #EBC27A 100%); }
.r-bande .r-seance { position: absolute; top: 5px; bottom: 5px; background: var(--accent); border-radius: 4px; transition: left .2s ease, width .2s ease; }
.r-bande .r-coucher { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--soleil); }
.r-graduations { display: flex; justify-content: space-between; font: 400 .72rem var(--mono); color: var(--muted); margin: 5px 0 16px; }
.r-heures { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.r-heure { padding: 11px 0; font: 400 1rem var(--mono); text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.r-heure:hover { border-color: #B9B4AA; }
.r-heure[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.r-vide { color: var(--muted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .r-bande .r-seance { transition: none; } html { scroll-behavior: auto; } }

/* ---------- Formulaire ---------- */
.r-champs { display: grid; gap: 14px; }
@media (min-width: 620px) { .r-champs { grid-template-columns: 1fr 1fr; } .r-champs .r-large { grid-column: 1 / -1; } }
.r-champ label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.r-champ label small { font-weight: 400; color: var(--muted); }
.r-champ input, .r-champ select, .r-champ textarea { width: 100%; font-size: 16px; padding: 12px 13px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.r-champ textarea { min-height: 84px; resize: vertical; }
.r-champ input:focus, .r-champ select:focus, .r-champ textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.r-champ.r-erreur input, .r-champ.r-erreur select { border-color: var(--ko); }
.r-aide-champ { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.r-msg { color: var(--ko); font-size: .9rem; margin: 6px 0 0; }
.r-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r-bon { margin-top: 18px; }
.r-bon summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.r-bon-ligne { display: flex; gap: 8px; margin-top: 10px; }
.r-bon-ligne input { flex: 1; min-width: 0; font: 400 16px var(--mono); text-transform: uppercase; padding: 12px 13px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.r-bon-ok { color: var(--ok); font-size: .92rem; margin: 8px 0 0; }

/* ---------- Conditions, boutons, avis ---------- */
.r-conditions { margin: 20px 0 0; padding: 16px 18px; background: var(--surface); border-radius: var(--rayon); font-size: .92rem; }
.r-conditions ul { margin: 0 0 12px; padding-left: 18px; }
.r-conditions li { margin-bottom: 6px; }
.r-case { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.r-case input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.r-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; font: 600 1.02rem var(--corps); text-decoration: none; cursor: pointer; }
.r-btn:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.r-btn[disabled] { opacity: .55; cursor: progress; }
.r-btn.r-large { width: 100%; margin-top: 18px; }
.r-btn.r-second { background: transparent; color: var(--accent); }
.r-btn.r-second:hover { background: var(--accent-clair); }
.r-btn.r-petit { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.r-avis { border-radius: var(--rayon); padding: 13px 16px; margin: 0 0 16px; }
.r-avis.r-ko { background: var(--ko-fond); color: var(--ko); }
.r-avis.r-ok { background: var(--ok-fond); color: var(--ok); }
.r-avis.r-info { background: var(--surface); }

/* ---------- Paiement ---------- */
.r-garde { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 16px; background: var(--surface); border-radius: var(--rayon); margin-bottom: 14px; font-size: .95rem; }
.r-garde b { font: 400 1.05rem var(--mono); }
#sumup-card { min-height: 120px; }

/* ---------- Récapitulatif ---------- */
.r-recap { background: var(--carte); border: 1px solid var(--line); border-radius: var(--rayon); padding: 20px; }
@media (min-width: 980px) { .r-recap { position: sticky; top: 24px; } }
.r-recap h2 { font: 700 1.1rem var(--titre); margin: 0 0 14px; }
.r-recap dl { margin: 0; display: grid; gap: 10px; }
.r-recap dt { color: var(--muted); font-size: .85rem; }
.r-recap dd { margin: 0; font-weight: 500; }
.r-recap .r-attente { color: var(--muted); font-weight: 400; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.r-total span { color: var(--muted); }
.r-total b { font: 400 1.35rem var(--mono); }
.r-recap .r-note { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }
/* Sur téléphone, une barre fixe rappelle le choix en cours */
.r-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(253, 252, 250, .96); border-top: 1px solid var(--line); backdrop-filter: blur(6px); }
.r-barre div { min-width: 0; }
.r-barre .r-b1 { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-barre .r-b2 { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-barre b { font: 400 1.1rem var(--mono); white-space: nowrap; }
@media (min-width: 980px) { .r-barre { display: none; } .r-pied { padding-bottom: 40px; } }

/* ---------- Page de suivi ---------- */
.r-suivi { max-width: 640px; margin: 0 auto; padding: 36px 20px 0; }
.r-suivi h1 { font: 700 clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem)/1.08 var(--titre); letter-spacing: -.015em; margin: 0 0 12px; }
.r-suivi > p { color: var(--muted); margin: 0 0 22px; }
.r-fiche { background: var(--carte); border: 1px solid var(--line); border-radius: var(--rayon); padding: 6px 20px; margin: 0 0 20px; }
.r-fiche div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.r-fiche div:first-child { border-top: 0; }
.r-fiche dt { color: var(--muted); font-size: .9rem; }
.r-fiche dd { margin: 0; font-weight: 500; }
.r-suivi .r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }

/* ---------- Page de suivi : déplacer ou annuler sa séance (lot 3) ---------- */
.r-gerer { margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--rayon); background: var(--carte); }
.r-gerer details + details { border-top: 1px solid var(--line); }
.r-gerer summary { cursor: pointer; padding: 15px 20px; font-weight: 600; color: var(--accent); list-style-position: inside; }
.r-gerer-corps { padding: 0 20px 20px; }
.r-gerer-corps > p { margin: 0 0 14px; }
.r-gerer-corps .r-btn { margin-top: 14px; }

/* Repli WhatsApp quand le paiement en ligne est en panne */
.r-repli { margin-top: 16px; padding: 16px; border: 1px solid var(--accent); border-radius: var(--rayon); background: #fff; }
.r-repli p { margin: 0 0 8px; }
.r-repli-titre { font-weight: 600; }
.r-repli .r-btn.r-large { margin-top: 8px; }

/* Golden hour : petit soleil doré sur les heures concernées, et sa légende */
.r-heure.r-doree { position: relative; border-color: #D9A441; background: #FFF8E8; }
.r-heure.r-doree::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #E0A526; }
.r-heure.r-doree[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.r-legende-doree { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.r-legende-doree span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #E0A526; margin-right: 7px; }

/* Encart golden hour / blue hour, et case de demande de blue hour */
.r-lumieres { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--rayon); background: var(--carte); }
.r-lumieres-titre { margin: 0 0 8px; font-weight: 600; }
.r-lumieres dl { margin: 0; display: block; }
.r-lumieres dt { font-weight: 600; font-size: .92rem; margin-top: 8px; }
.r-lumieres dd { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.r-pt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.r-pt-or { background: #E0A526; } .r-pt-bleu { background: #2B4C8C; }
.r-case-bleue { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.r-case-bleue small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.r-lumieres-note { margin: 10px 0 0; color: var(--muted); font-size: .86rem; }

.r-note-prepa { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }

/* Heures de la golden hour et de la blue hour pour le jour choisi, et zone bleue sur la frise */
.r-plage { font-weight: 400; color: var(--muted); font-family: var(--mono); font-size: .86rem; margin-left: 4px; white-space: nowrap; }
.r-bande .r-zone-bleue { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #3E5FA3 0%, #1F3466 100%); }

/* Créneaux blue hour : point bleu */
.r-heure.r-bleue { position: relative; border-color: #5B78B8; background: #EEF2FA; }
.r-heure.r-bleue::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #2B4C8C; }
.r-heure.r-bleue[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.r-heure.r-bleue[aria-pressed="true"]::after { background: #9DB4E6; }

/* ---------- Choix de l'heure : frise de lumière interactive (14/11/2026) ---------- */
.r-lecture { margin: 6px 0 12px; }
.r-grande-heure { margin: 0; font: 700 2.3rem/1.05 var(--titre); letter-spacing: -.01em; }
.r-grande-heure.r-attente { font: 600 1.15rem/1.3 var(--corps); color: var(--muted); letter-spacing: 0; }
.r-grande-heure.est-doree { color: #9A6A0B; } .r-grande-heure.est-bleue { color: #2B4C8C; }
.r-journee .r-lecture .r-lumiere-texte { margin: 4px 0 0; }
.r-bande.r-frise { height: 60px; border-radius: 12px; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; border: 1px solid var(--line); background: var(--surface); }
.r-bande.r-frise:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.r-bande.r-frise .r-coucher { width: 2px; background: #B4690E; z-index: 1; }
.r-bande.r-frise .r-coucher::before { content: ""; position: absolute; top: 5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: #E0902A; box-shadow: 0 0 0 3px rgba(224,144,42,.25); }
.r-dispos { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; }
.r-dispos span { position: absolute; bottom: 0; width: 2px; height: 7px; margin-left: -1px; border-radius: 1px 1px 0 0; background: rgba(20,22,26,.38); }
.r-dispos span.or { background: #B4690E; height: 9px; } .r-dispos span.bleu { background: #fff; height: 9px; }
.r-bande.r-frise .r-seance { top: 9px; bottom: 13px; border-radius: 8px; background: var(--accent); box-shadow: 0 3px 10px rgba(23,57,91,.35), 0 0 0 2px #fff; overflow: hidden; z-index: 2; transition: left .16s ease, width .16s ease; }
.r-bande.r-frise .r-seance.est-doree { background: #8A5A07; } .r-bande.r-frise .r-seance.est-bleue { background: #1F3466; }
/* Les 15 minutes d'installation : partie hachurée, au début du bloc */
.r-seance-prepa { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 3px, rgba(255,255,255,.2) 3px 6px); border-right: 1px solid rgba(255,255,255,.7); }
.r-journee .r-graduations { margin: 6px 0 12px; }
.r-pas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; color: var(--muted); font-size: .84rem; text-align: center; }
.r-pas-btn { flex: 0 0 auto; white-space: nowrap; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .92rem var(--corps); cursor: pointer; }
.r-pas-btn:hover:not([disabled]) { border-color: #B9B4AA; } .r-pas-btn[disabled] { opacity: .4; cursor: default; }
.r-periodes { display: flex; gap: 6px; margin: 0 0 10px; padding: 4px; background: var(--surface); border-radius: 12px; }
.r-periode { flex: 1 1 0; min-height: 44px; padding: 6px 4px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 .9rem var(--corps); cursor: pointer; position: relative; }
.r-periode small { display: block; font: 400 .72rem var(--mono); opacity: .8; }
.r-periode[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,26,.14); }
.r-periode.a-or::after, .r-periode.a-bleu::after { content: ""; position: absolute; top: 7px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: #E0A526; }
.r-periode.a-bleu::after { background: #2B4C8C; }
@media (prefers-reduced-motion: reduce) { .r-bande.r-frise .r-seance { transition: none; } }

/* Bulle WhatsApp en bas à droite (même bouton que sur le reste du site). Sur téléphone, elle se place
   au-dessus de la barre de récapitulatif collée en bas de l'écran. */
.r-bulle { position: fixed; right: 18px; bottom: 18px; z-index: 6; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-size: 22px; box-shadow: 0 6px 18px rgba(20,22,26,.18); transition: transform .15s ease, background-color .15s ease; }
.r-bulle:hover { transform: scale(1.06); background: var(--accent-fonce); }
.r-bulle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 979px) { .r-bulle { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 48px; height: 48px; } }
@media print { .r-bulle { display: none; } }
@media (prefers-reduced-motion: reduce) { .r-bulle { transition: none; } }

/* Flèche de retour en haut : discrète, posée juste au-dessus de la bulle WhatsApp.
   Masquée au départ, le script de la page l'affiche après 300 px de défilement. */
.r-haut { display: none; position: fixed; right: 23px; bottom: 82px; z-index: 6; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--carte); color: var(--ink); font-size: 15px; cursor: pointer; padding: 0; box-shadow: 0 4px 14px rgba(20,22,26,.10); }
.r-haut:hover { background: var(--surface); border-color: var(--muted); }
.r-haut:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 979px) { .r-haut { right: 18px; bottom: calc(142px + env(safe-area-inset-bottom)); width: 40px; height: 40px; } }
/* Sans bulle WhatsApp (page de réservation) : la flèche prend la place de la bulle */
.r-haut.r-haut-seul { bottom: 23px; }
@media (max-width: 979px) { .r-haut.r-haut-seul { bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media print { .r-haut { display: none !important; } }

/* ---------- Offre Black Friday 2026 (27 au 30/11) ----------
   Affichée seulement pendant l'opération (PHP), retirée par la page à l'heure de fin (reservation.js). */
.r-bf { display: flex; align-items: stretch; margin: 0 0 22px; max-width: 720px; background: var(--ink); color: var(--paper); border-radius: var(--rayon); overflow: hidden; }
.r-bf-plus { flex: none; display: flex; align-items: center; justify-content: center; width: 96px; font: 700 2.6rem/1 var(--titre); letter-spacing: -.05em; background: var(--accent); }
.r-bf-texte { padding: 14px 18px; }
.r-intro .r-bf p { color: var(--paper); max-width: none; }
.r-intro .r-bf .r-bf-sur { margin: 0 0 4px; font: 400 .6875rem var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.r-intro .r-bf .r-bf-titre { margin: 0 0 4px; font: 700 1.05rem/1.25 var(--titre); letter-spacing: -.01em; }
.r-intro .r-bf .r-bf-detail { margin: 0; font-size: .875rem; opacity: .8; line-height: 1.45; }
.r-bf-tag { grid-column: 1 / -1; justify-self: start; display: inline-block; margin: 4px 0 2px; padding: 3px 8px; border-radius: 999px; background: var(--accent-clair); color: var(--accent); font: 500 .75rem var(--mono); letter-spacing: .02em; }
.r-jour-offre { border-color: var(--accent); }
.r-jour-bf { display: block; margin-top: 4px; font: 500 .6875rem var(--mono); color: var(--accent); white-space: nowrap; }
.r-jour[aria-pressed="true"].r-jour-offre { background: var(--accent); }
.r-jour[aria-pressed="true"].r-jour-offre b, .r-jour[aria-pressed="true"].r-jour-offre small, .r-jour[aria-pressed="true"].r-jour-offre .r-jour-bf { color: var(--paper); }
.r-recap .r-offre-ok { color: var(--accent); font-weight: 600; }
.r-recap .r-offre-ok small { display: block; font: 400 .75rem var(--mono); color: var(--muted); margin-top: 2px; letter-spacing: .02em; }
@media (max-width: 520px) { .r-bf-plus { width: 72px; font-size: 2rem; } .r-bf-texte { padding: 12px 14px; } .r-intro .r-bf .r-bf-titre { font-size: .98rem; } }

/* Macaron « +2 photos offertes » (Black Friday 2026) : récapitulatif, barre du téléphone, page de suivi */
.tj-macaron { flex: none; position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--accent); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-8deg); box-shadow: 0 8px 20px rgba(23, 57, 91, .32); }
.tj-macaron::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(246, 245, 242, .55); }
.tj-macaron b { font: 700 1.9rem/1 var(--titre); letter-spacing: -.04em; color: var(--paper); }
.tj-macaron span { font: 500 .5625rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; margin-top: 4px; color: var(--paper); }
.tj-macaron.tj-pop { animation: tj-macaron-pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes tj-macaron-pop { 0% { transform: rotate(-30deg) scale(.3); opacity: 0; } 100% { transform: rotate(-8deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tj-macaron.tj-pop { animation: none; } }
.r-offre-carte { display: flex; align-items: center; gap: 16px; margin: 16px 0 0; padding: 14px 16px 14px 12px; border: 1px solid var(--accent); border-radius: var(--rayon); background: var(--accent-clair); }
.r-offre-carte p { margin: 0; line-height: 1.35; }
.r-offre-carte p b { display: block; font: 700 1.02rem/1.25 var(--titre); color: var(--accent); }
.r-offre-carte p small { display: block; margin-top: 4px; font: 400 .75rem/1.4 var(--mono); color: var(--muted); letter-spacing: .02em; }
.r-barre-macaron { flex: none; width: 42px; height: 42px; margin-left: auto; border-radius: 50%; background: var(--accent); color: var(--paper); display: flex; align-items: center; justify-content: center; font: 700 1rem/1 var(--titre); letter-spacing: -.03em; transform: rotate(-8deg); }
