@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/jost.woff2") format("woff2"); }

:root {
  --wine: #5E1224;
  --wine-deep: #47091A;
  --wine-dot: #73202F;
  --wine-text: #6B1425;
  --blush: #F3C9CF;
  --blush-soft: #F6DDE0;
  --cream: #F6EEE8;
  --sand: #EADCD5;
  --line: #E2D0C8;
  --edge: #B99C92;
  --ink: #24120F;
  --muted: #6A4F4A;
  --white: #FFFFFF;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dots: radial-gradient(var(--wine-dot) 2.5px, transparent 3px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--sand); }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--wine-text); }
a:hover { color: var(--wine-deep); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.top :focus-visible, .tarifs :focus-visible, .foot :focus-visible { outline-color: var(--white); }
s { text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.page { max-width: 34rem; margin: 0 auto; min-height: 100vh; background: var(--cream); overflow: hidden; display: flex; flex-direction: column; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }
.icon { flex: none; }

.wrap { padding: 1.6rem 1.25rem 2rem; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack--tight { gap: .5rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; }
.lead em, .display em { font-style: italic; color: var(--wine-text); }
.label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-text); font-family: var(--sans); }

.display { font-family: var(--serif); font-weight: 400; font-size: 2.75rem; line-height: .98; letter-spacing: -.02em; }
.display--sm { font-size: 2rem; line-height: 1.08; }
.display--xl { font-size: 3.4rem; line-height: .95; letter-spacing: -.03em; }
.display--hero { font-size: clamp(3.3rem, 17vw, 4.4rem); line-height: .94; letter-spacing: -.03em; }
.top .display em, .tarifs .display em, .foot .display em { color: var(--blush); }
.eyebrow { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; color: var(--blush-soft); margin-bottom: .9rem; }

/* Bandeau du haut */
.top { background-color: var(--wine); background-image: var(--dots); background-size: 22px 22px; color: var(--white); padding: .9rem 1.25rem 1.6rem; border-radius: 0 0 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 1.4rem; }
.top--ink { background: var(--ink); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.bar-actions { display: flex; align-items: center; gap: .5rem; }
.bar-actions form { display: flex; }
.logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--white); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--white); }
.logo em { font-weight: 400; color: var(--blush); }
.round { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--wine-deep); color: var(--white); display: grid; place-items: center; }
.round:hover { color: var(--white); }

.pill { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 0; font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.pill--light { background: var(--white); color: var(--wine); font-weight: 600; padding: 0 1.25rem; }
.pill--dark { background: var(--wine-deep); color: var(--white); }
.top--ink .pill--dark { background: #3D2925; }
.pill--dark:hover { color: var(--white); }
.pill--blush { background: var(--blush); color: var(--wine-deep); }

.btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 3.75rem; padding: .5rem 1.5rem; border-radius: 999px; border: 0; background: var(--wine); color: var(--white); font-size: 1.1rem; font-weight: 600; text-decoration: none; text-align: center; }
.btn:hover { color: var(--white); background: var(--wine-deep); }
.btn--sm { min-height: 3.1rem; font-size: 1rem; }
.btn--blush { background: var(--blush); color: var(--wine-deep); }
.btn--blush:hover { background: #EDB7BF; color: var(--wine-deep); }
.btn--ghost { background: transparent; color: var(--wine); border: 1.5px solid var(--wine); }
.btn--ghost:hover { background: var(--white); color: var(--wine-deep); }
.btn--dashed { background: transparent; color: var(--wine); border: 1.5px dashed var(--wine); }
.btn--dashed:hover { background: var(--white); color: var(--wine-deep); }
.btn--ink { background: var(--ink); }
.btn--arrow { justify-content: space-between; padding: 0 .5rem 0 1.6rem; }
.btn-dot { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--wine); color: var(--white); display: grid; place-items: center; }
.btn:disabled { background: var(--sand); color: var(--muted); cursor: not-allowed; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.linklike { background: none; border: 0; padding: 0; min-height: 2.75rem; color: var(--wine-text); text-decoration: underline; font-size: .95rem; }
.links-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.links-row a { display: inline-flex; align-items: center; min-height: 2.75rem; }

.card { background: var(--white); border-radius: 1.4rem; padding: 1.1rem 1.15rem; }
.flash, .notice, .error { margin: .75rem 1.25rem 0; padding: .85rem 1.1rem; border-radius: 1rem; background: var(--ink); color: var(--white); }
/* Message de retour après une action : notification flottante en bas d'écran, qui s'efface seule.
   Placée dans le flux, elle s'empilait au-dessus du bandeau du haut. */
.flash { position: fixed; z-index: 20; left: 50%; bottom: 1rem; transform: translateX(-50%); width: calc(100% - 2rem); max-width: 32rem; margin: 0; box-shadow: 0 .6rem 1.8rem rgba(36, 18, 15, .3); cursor: pointer; animation: flash-out .4s ease 7s forwards; }
@keyframes flash-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .flash { animation-duration: .01s; } }
/* Confirmation avant une action qui ne s'annule pas (refuser, annuler, supprimer). */
.confirm { position: fixed; z-index: 30; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 1rem; background: rgba(36, 18, 15, .6); }
.confirm-card { width: 100%; max-width: 32rem; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.25rem 1.25rem; border-radius: 1.75rem; background: var(--cream); box-shadow: 0 1rem 2.5rem rgba(36, 18, 15, .35); }
.confirm-text { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; margin-bottom: .5rem; }
.wrap > .notice, .wrap > .error { margin: 0 0 1rem; }
.notice { background: var(--blush); color: var(--wine-deep); }
.error { background: var(--white); color: var(--ink); border: 2px solid var(--wine); font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; background: var(--blush); color: var(--wine-deep); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge--white { background: var(--white); }
.tag { align-self: flex-start; display: inline-block; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--blush); color: var(--blush); font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.tag--solid { border: 0; background: var(--wine-deep); }

/* Accueil */
.hero { gap: 1.5rem; padding-bottom: 2.75rem; border-radius: 0; }
.next-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--wine-deep); color: var(--white); font-size: .9rem; font-weight: 500; text-decoration: none; }
.next-chip:hover { color: var(--white); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blush); }
.hero-photo { position: relative; margin: .4rem .25rem 1.1rem; }
.hero-frame { position: relative; aspect-ratio: 7 / 6; overflow: hidden; isolation: isolate; border-radius: 1.75rem; border: 5px solid var(--white); background: var(--wine-deep); transform: rotate(-3deg); }
/* Carrousel : la photo affichée part à gauche, la suivante arrive par la droite. Les autres attendent à droite,
   sans transition, pour revenir à leur place sans traverser le cadre. */
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: translateX(101%); }
.hero-frame img.is-current { transform: none; }
.hero-frame img.is-leaving { transform: translateX(-101%); }
.hero-frame img.is-current, .hero-frame img.is-leaving { transition: transform .8s cubic-bezier(.65, 0, .25, 1); }
.sticker { z-index: 1; position: absolute; right: -.4rem; bottom: -2.1rem; width: 7rem; height: 7rem; border-radius: 50%; background: var(--blush); color: var(--wine); display: grid; place-items: center; text-align: center; transform: rotate(10deg); font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.05; }
.hero-lead { font-size: 1.06rem; color: var(--blush-soft); max-width: 16rem; }
.marquee { background: var(--blush); color: var(--wine-deep); padding: .85rem 0; white-space: nowrap; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: 1.4rem; transform: rotate(-1.500deg); margin: -.6rem -.75rem 0; }
/* Le bandeau défile en continu : la piste contient deux fois le même texte et glisse d'une moitié. */
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { flex: none; white-space: pre; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.section { padding: 3rem 0 2.75rem; }
.section > .wrap { padding-top: 0; padding-bottom: 0; }
.section--white { background: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; padding: 0 1.25rem 1.25rem; }
.rail { display: flex; gap: .6rem; overflow-x: auto; padding: .25rem 1.25rem .6rem; scroll-snap-type: x proximity; }
.day-card { flex: none; width: 9.25rem; padding: 1rem; border-radius: 1.5rem; background: var(--white); display: flex; flex-direction: column; gap: .2rem; scroll-snap-align: start; }
.day-card.is-full, .day-row.is-full { background: transparent; border: 1.5px dashed #C9B1AA; color: var(--muted); }
.day-num { font-family: var(--serif); font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; }
.day-sub { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }
.slot-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.slot { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 3.4rem; padding: 0 .6rem; border-radius: 999px; background: var(--wine); color: var(--white); font-weight: 600; text-decoration: none; }
a.slot:hover { background: var(--wine-deep); color: var(--white); }
.slot--taken { background: transparent; border: 1.5px solid #C9B1AA; color: var(--muted); font-weight: 500; }
.slot--full { flex: none; background: var(--sand); color: var(--muted); font-weight: 500; padding: 0 1rem; }

.tarifs { background: var(--ink); color: var(--cream); border-radius: 2.25rem 2.25rem 0 0; padding: 3rem 1.25rem; display: flex; flex-direction: column; gap: 1.75rem; }
.price-group { display: flex; flex-direction: column; }
.price-group .tag { margin-bottom: .4rem; }
.prices li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid #4A322D; font-size: 1.19rem; }
.prices li:last-child { border-bottom: 0; }
.price { font-family: var(--serif); font-size: 1.75rem; white-space: nowrap; }
.script-note { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.25; color: var(--blush); }
.script-note--dark { color: var(--wine-text); font-size: 1.15rem; }

.loyalty { background: var(--blush); color: var(--wine-deep); padding: 3rem 1.25rem; display: flex; flex-direction: column; gap: 1.4rem; }
.loyalty .display em { color: inherit; }
.loyalty-card { background: var(--wine); color: var(--white); border-radius: 1.75rem; padding: 1.4rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; transform: rotate(-2deg); }
.loyalty-head { display: flex; align-items: baseline; justify-content: space-between; font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }
.loyalty-head em { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0; text-transform: none; color: var(--white); }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.stamps span { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--blush); display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; }
.stamps .stamp-gift { border: 0; background: var(--white); color: var(--wine); font-weight: 600; font-size: 1.2rem; }

.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ref { background: var(--white); border-radius: 1.75rem; padding: 1.4rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.ref em { font-family: var(--serif); font-size: 1.35rem; color: var(--wine-text); }
.ref--dark { background: var(--wine); color: var(--white); }
.ref--dark em { color: var(--blush); }
.ref-amount { font-family: var(--serif); font-size: 3.5rem; line-height: 1; letter-spacing: -.03em; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1.25rem; }
.gallery li:first-child { grid-row: span 2; }
.gallery li:first-child img { height: 100%; aspect-ratio: auto; border-radius: 6rem 6rem 1.25rem 1.25rem; }
.gallery li:nth-child(3n + 4) { grid-column: span 2; }
.gallery li:nth-child(3n + 4) img { aspect-ratio: 2 / 1; }

.facts { counter-reset: fact; margin: 1.25rem 0 1.5rem; }
.facts li { counter-increment: fact; display: flex; gap: 1.1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
.facts li:last-child { border-bottom: 0; }
.facts li::before { content: "0" counter(fact); flex: none; width: 2.1rem; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--wine-text); }
.practical { display: flex; flex-direction: column; gap: .75rem; background: var(--white); border-radius: 1.4rem; padding: 1.1rem 1.15rem; }
.practical dt { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-text); }
.seo-text { margin-top: 1.25rem; font-size: .95rem; }

.foot { margin-top: auto; background-color: var(--wine); background-image: var(--dots); background-size: 22px 22px; color: var(--white); border-radius: 2.25rem 2.25rem 0 0; padding: 3rem 1.25rem 2.25rem; display: flex; flex-direction: column; gap: 1.4rem; }
/* Sur les pages terminées par ce pied bordeaux, le fond derrière la page est bordeaux à pois lui aussi :
   en tirant la page au-delà du bas sur mobile, on ne voit plus de beige. Le beige reste sur les côtés en grand écran. */
html:has(.foot) { background-color: var(--wine); background-image: var(--dots); background-size: 22px 22px; }
html:has(.foot) body { background: var(--sand); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; background: var(--wine-deep); border-radius: 1.25rem; padding: .35rem 1.1rem; }
.foot-nav a { color: var(--white); min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .95rem; }
.foot-sign { align-self: flex-start; font-size: .88rem; color: var(--blush-soft); background: var(--wine-deep); padding: .25rem .75rem; border-radius: 999px; }

/* Prise de rendez-vous */
.progress { display: flex; flex-direction: column; gap: .5rem; }
.bars { display: flex; gap: .4rem; }
.bars i { flex: 1; height: 5px; border-radius: 3px; background: #8A3A4A; }
.bars i.on { background: var(--blush); }
.step { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2.5rem; }
.step legend { margin-bottom: 1.1rem; }
.js .step { display: none; margin-bottom: 0; }
.js .step.is-active { display: flex; }
.js-only { display: none; }
.js .js-only { display: flex; }

.choice { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4.25rem; padding: .6rem .6rem .6rem 1.25rem; border-radius: 1.4rem; background: var(--white); border: 2px solid transparent; cursor: pointer; }
.choice input, .slot-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:has(input:checked) { border-color: var(--wine); }
.choice:has(input:focus-visible), .slot-pick:has(input:focus-visible) span { outline: 3px solid var(--ink); outline-offset: 2px; }
.choice-main { display: flex; flex-direction: column; }
.choice-name { font-size: 1.06rem; font-weight: 500; }
.choice-price { flex: none; min-width: 4rem; padding: .5rem .75rem; border-radius: 999px; background: var(--blush); color: var(--wine-deep); font-family: var(--serif); font-size: 1.25rem; text-align: center; }
.choice:has(input:checked) .choice-price { background: var(--wine); color: var(--white); }

.recap { align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem .5rem .5rem 1.1rem; border-radius: 999px; background: var(--white); font-size: .95rem; }
.recap--card { display: flex; border-radius: 1.4rem; padding: .7rem .6rem .7rem 1.1rem; }
.day-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem .75rem .75rem 1.1rem; border-radius: 1.4rem; background: var(--white); border: 1.5px solid var(--white); }
.day-id { display: flex; align-items: baseline; gap: .6rem; }
.day-row .day-num, .rdv .day-num { font-size: 2.4rem; }
.day-row .slot-row { flex-wrap: nowrap; }
.slot-pick { position: relative; cursor: pointer; }
.slot-pick span { display: inline-flex; align-items: center; justify-content: center; min-width: 3.9rem; min-height: 2.9rem; padding: 0 .6rem; border-radius: 999px; border: 1.5px solid var(--wine); background: var(--white); color: var(--wine); font-weight: 600; }
.slot-pick input:checked + span { background: var(--wine); color: var(--white); }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field-label, .checks legend { font-weight: 500; }
.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: .9rem; color: var(--muted); }
.input { width: 100%; min-height: 3.4rem; padding: .6rem 1.1rem; border-radius: 1rem; border: 1.5px solid var(--edge); background: var(--white); font-size: 1.06rem; }
textarea.input { resize: vertical; }
.input--code { min-height: 4.75rem; border-radius: 1.4rem; border-color: var(--wine); font-family: var(--serif); font-size: 2.5rem; letter-spacing: .4em; text-align: center; padding-left: 1.5rem; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.photo-add, .photo-thumb, .photo-pick { aspect-ratio: 1; border-radius: 1rem; }
.photo-add { border: 1.5px dashed var(--wine); background: var(--white); color: var(--wine); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; font-size: .8rem; font-weight: 600; cursor: pointer; }
.field:has(.file-input:focus-visible) .photo-add { outline: 3px solid var(--ink); outline-offset: 2px; }
.photo-thumb { position: relative; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; }
.photo-thumb button { position: absolute; top: -.75rem; right: -.75rem; width: 2.75rem; height: 2.75rem; border: 0; background: none; display: grid; place-items: center; }
.photo-thumb button span { width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.photo-pick { padding: 0; border: 3px solid var(--white); background: none; overflow: hidden; }
.photo-pick[aria-pressed="true"] { border-color: var(--wine); }
.photo-pick img { width: 100%; height: 100%; object-fit: cover; }

/* Suivi d'une demande */
.ticket { background: var(--wine); color: var(--white); border-radius: 1.6rem; padding: 1.25rem; display: flex; flex-direction: column; gap: .3rem; transform: rotate(-1.500deg); }
.ticket .badge { align-self: flex-start; text-transform: uppercase; letter-spacing: .06em; }
.ticket-when { font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; margin-top: .4rem; }
.ticket p:not(.ticket-when) { color: var(--blush-soft); }
.timeline li { display: flex; gap: .9rem; padding-bottom: 1.1rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 1.05rem; top: 2.1rem; bottom: 0; width: 2px; background: #C9B1AA; }
.timeline li.done:not(:last-child)::before { background: var(--wine); }
.node { flex: none; width: 2.15rem; height: 2.15rem; border-radius: 50%; border: 2px dashed var(--edge); color: var(--muted); display: grid; place-items: center; font-weight: 600; position: relative; background: var(--cream); }
.done .node { border: 2px solid var(--wine); background: var(--wine); color: var(--white); }
.current .node { border: 2px solid var(--wine); background: var(--blush); color: var(--wine-deep); }
.thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.thumbs img { width: 5.25rem; height: 5.25rem; object-fit: cover; border-radius: .9rem; }
.thumbs a.is-zoomed { flex-basis: 100%; }
.thumbs a.is-zoomed img { width: 100%; height: auto; max-height: 28rem; }

/* Espace cliente */
.rdv { background: var(--white); border-radius: 1.6rem; padding: 1.1rem; display: flex; flex-direction: column; gap: .8rem; }
.rdv--confirmed { background: var(--wine); color: var(--white); }
.rdv--confirmed .badge { background: var(--white); }
.rdv--confirmed .linklike { color: var(--white); }
.rdv--confirmed .btn--ghost { color: var(--white); border-color: var(--blush); }
.rdv--confirmed .btn--ghost:hover { background: var(--wine-deep); }
.rdv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.rdv-what { color: var(--muted); }
.rdv--confirmed .rdv-what { color: var(--blush-soft); }
.past li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.past li:last-child { border-bottom: 0; }
.account-foot { margin-top: 1rem; }

/* Espace de Chloé */
.count { display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .6rem; border-radius: 999px; background: var(--wine); color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.request { background: var(--white); border-radius: 1.4rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.request--pending { border-color: var(--wine); }
.request-when { font-size: .9rem; font-weight: 600; color: var(--wine-text); }
.request-who { font-size: 1.12rem; font-weight: 500; }
.request-note { margin-top: .3rem; padding: .6rem .8rem; border-radius: .9rem; background: var(--cream); }
.request .btn-row, .contact-row { margin-top: .6rem; }
.contact-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }
.lg { width: .9rem; height: .9rem; border-radius: .25rem; }
.lg--open { background: var(--wine); }
.lg--closed { border: 1.5px dashed var(--edge); }
.lg--held { background: var(--blush); border: 1.5px solid var(--wine); }
.lg--booked { background: var(--ink); }
.dispo { display: flex; flex-direction: column; gap: .7rem; }
.dispo-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.dispo-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.dispo-slots form { display: contents; }
.tslot { display: flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0; border-radius: .7rem; font-size: .95rem; font-weight: 500; }
.tslot--open { border: 1.5px solid var(--wine); background: var(--wine); color: var(--white); }
.tslot--closed { border: 1.5px dashed var(--edge); background: transparent; color: var(--muted); }
.tslot--held { border: 1.5px solid var(--wine); background: var(--blush); color: var(--wine-deep); }
.tslot--booked { border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); }
.tslot--add { border: 1.5px solid var(--wine); background: var(--blush); color: var(--wine-deep); cursor: pointer; list-style: none; }
.tslot--add::-webkit-details-marker, .add-day > summary::-webkit-details-marker { display: none; }
.add-time[open] { grid-column: 1 / -1; }
.add-time[open] .tslot--add { width: 25%; }
.add-time-form { display: flex; align-items: flex-end; gap: .5rem; margin-top: .6rem; padding: .75rem; border-radius: .9rem; background: var(--cream); }
.add-time-form .field { flex: 1; }
.add-time-form .btn { width: auto; }
.add-day { padding: 0; background: transparent; }
.add-day > summary { list-style: none; cursor: pointer; }
.add-day[open] { background: var(--white); padding: 1.1rem 1.15rem; }
.add-day[open] > summary { margin-bottom: 1.1rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.checks legend { margin-bottom: .4rem; }
.check { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; }
.check input { width: 1.4rem; height: 1.4rem; accent-color: var(--wine); }
.story-canvas { align-self: center; width: min(100%, 17rem); height: auto; border-radius: 1.4rem; border: 4px solid var(--white); }
.gallery-admin { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery-admin li { background: var(--white); border-radius: 1.25rem; padding: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.gallery-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .9rem; }

.prose { display: flex; flex-direction: column; gap: .9rem; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-top: .75rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }

@media (min-width: 34rem) {
  .page { box-shadow: 0 0 0 1px var(--line); }
}
