/* =====================================================================
   reservation.css — Page /reservation (système de réservation sur-mesure)
   Réutilise les tokens :root + composants de index.css (chargé avant).
   Direction Impeccable : aucun dégradé, courbes ease-out, motion
   intentionnel, champs vivants, delight aux moments clés. Identité
   préservée (Bellefair / Poppins / AlbertSans, orange #f4a378 / teal).
   ===================================================================== */

body.resa {
/* couleurs (--ink-*, --peach-*, --blue-*, --hair*) héritées de :root — index.css chargé avant */
/* courbes (Impeccable) */
--e-quart: cubic-bezier(0.25, 1, 0.5, 1);
--e-quint: cubic-bezier(0.22, 1, 0.36, 1);
--e-expo: cubic-bezier(0.16, 1, 0.3, 1);
background: var(--peach-3);
color: var(--ink-1);
font-family: var(--font-heading);
overflow-x: hidden;
}

/* ===== En-tête épuré (focalisation conversion) ===== */
.resa-top {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 12px clamp(16px, 5vw, 48px);
background: rgba(var(--peach-3-rgb), 0.86);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid var(--hair-soft);
}
.resa-top .resa-logo {
display: block;
width: auto;
height: 48px;
aspect-ratio: 225 / 422;
background: url("images/logo/logo@2x.png") center/contain no-repeat;
}
.resa-back {
display: inline-flex;
align-items: center;
gap: 7px;
font-family: var(--font-body);
font-size: 15px;
color: var(--teal-1);
font-weight: 600;
padding: 9px 6px;
transition: color 0.2s var(--e-quart), transform 0.2s var(--e-quart);
}
.resa-back svg { width: 18px; height: 18px; transition: transform 0.25s var(--e-quart); }
.resa-back:hover { color: var(--orange-1); }
.resa-back:hover svg { transform: translateX(-3px); }
.resa-back:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 3px; border-radius: 8px; }

/* ===== Ambiance : feuilles flottantes (discrètes) ===== */
.resa-leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.resa-leaf {
position: absolute;
width: var(--s, 120px);
opacity: 0.10;
will-change: transform;
animation: resa-drift var(--d, 22s) var(--e-quart) infinite alternate;
}
@keyframes resa-drift {
from { transform: translateY(0) rotate(0deg); }
to { transform: translateY(-26px) rotate(10deg); }
}

/* ===== HERO ===== */
.resa-hero {
position: relative;
text-align: center;
padding: clamp(40px, 7vw, 76px) clamp(20px, 5vw, 48px) clamp(28px, 4vw, 44px);
background: var(--peach-3);
overflow: hidden;
}
.resa-hero > * { position: relative; z-index: 1; }
.resa-hero h1 {
font-family: var(--font-display);
font-weight: 400;
font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem);
line-height: 1.08;
letter-spacing: -0.01em;
text-wrap: balance;
margin: 0 auto;
max-width: 16ch;
color: var(--ink-1);
}
.resa-hero .resa-rule { width: 58px; height: 3px; border-radius: 3px; background: var(--orange-1); margin: 18px auto 16px; }
.resa-hero .resa-sub {
font-family: var(--font-body);
font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
color: var(--ink-1);
max-width: 52ch;
margin: 0 auto;
line-height: 1.6;
}
.resa-hero .resa-frame {
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--ink-4);
max-width: 56ch;
margin: 14px auto 0;
line-height: 1.6;
}
.resa-next {
display: inline-flex;
align-items: center;
gap: 9px;
margin-top: 22px;
padding: 9px 18px 9px 14px;
background: var(--cream-3);
border-radius: 999px;
box-shadow: 0 10px 26px -20px rgba(var(--ink-1-rgb), 0.5);
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--ink-1);
}
.resa-next .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(var(--teal-2-rgb), 0.5); animation: resa-live 2.4s var(--e-quart) infinite; }
.resa-next b { font-weight: 600; color: var(--ink-2); }
@keyframes resa-live { 0%,100% { box-shadow: 0 0 0 0 rgba(var(--teal-2-rgb), 0.45);} 50% { box-shadow: 0 0 0 6px rgba(var(--teal-2-rgb), 0);} }

/* entrée orchestrée (moment signature) */
.resa-hero h1, .resa-hero .resa-rule, .resa-hero .resa-sub, .resa-hero .resa-frame, .resa-hero .resa-next {
opacity: 0;
transform: translateY(12px);
animation: resa-rise 0.7s var(--e-expo) forwards;
}
.resa-hero .resa-rule { animation-delay: 0.10s; }
.resa-hero .resa-sub { animation-delay: 0.18s; }
.resa-hero .resa-frame { animation-delay: 0.26s; }
.resa-hero .resa-next { animation-delay: 0.34s; }
@keyframes resa-rise { to { opacity: 1; transform: none; } }

/* ===== WIZARD ===== */
.resa-wrap { max-width: 780px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 22px) clamp(40px, 6vw, 72px); }
.resa-card {
position: relative;
background: var(--cream-3);
border-radius: 26px;
box-shadow: 0 28px 64px -34px rgba(var(--ink-1-rgb), 0.5);
padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 36px) clamp(20px, 3vw, 30px);
margin-top: -8px;
}

/* progression */
.rz-steps { display: flex; align-items: flex-start; gap: 0; margin: 0 0 6px; padding: 0; list-style: none; }
.rz-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; }
.rz-step .num {
width: 34px; height: 34px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-family: var(--font-body); font-weight: 600; font-size: 14px;
background: var(--blue-3); color: var(--ink-4);
transition: background 0.4s var(--e-quart), color 0.4s var(--e-quart), transform 0.4s var(--e-quint);
}
.rz-step .lbl { font-family: var(--font-body); font-size: 12px; color: var(--ink-4); text-align: center; transition: color 0.3s; }
.rz-step .bar { position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; border-radius: 2px; background: var(--blue-3); transition: background 0.5s var(--e-quart); }
.rz-step.done .num { background: var(--teal-1); color: var(--cream-3); }
.rz-step.done .bar { background: var(--teal-1); }
.rz-step.on .num { background: var(--cream-3); color: var(--teal-1); box-shadow: 0 0 0 2px var(--teal-1); animation: rz-pulse 2.4s var(--e-quart) infinite; transform: scale(1.06); }
.rz-step.on .lbl { color: var(--teal-1); font-weight: 600; }
@keyframes rz-pulse { 0%,100% { box-shadow: 0 0 0 2px var(--teal-1), 0 0 0 0 rgba(var(--teal-1-rgb), 0.4);} 50% { box-shadow: 0 0 0 2px var(--teal-1), 0 0 0 7px rgba(var(--teal-1-rgb), 0);} }
.rz-count { text-align: center; font-family: var(--font-body); font-size: 12.5px; color: var(--ink-4); margin: 14px 0 20px; }

/* panes (une étape visible) */
.rz-pane { display: none; }
.rz-pane.on { display: block; animation: rz-pane-in 0.45s var(--e-expo); }
@keyframes rz-pane-in { from { opacity: 0; transform: translate(26px, 6px) scale(0.99); } to { opacity: 1; transform: none; } }
.rz-pane.back.on { animation: rz-pane-in-back 0.45s var(--e-expo); }
@keyframes rz-pane-in-back { from { opacity: 0; transform: translate(-26px, 6px) scale(0.99); } to { opacity: 1; transform: none; } }
.rz-pane.on .rz-h { animation: rz-rise 0.5s var(--e-expo) 0.06s backwards; }
.rz-pane.on .rz-hsub { animation: rz-rise 0.5s var(--e-expo) 0.13s backwards; }

.rz-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); text-align: center; margin: 0 0 4px; color: var(--ink-1); }
.rz-hsub { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-1); text-align: center; margin: 0 0 22px; line-height: 1.55; }

/* ===== Étape 1 — Offres ===== */
.rz-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1100px; }
.rz-offer {
position: relative;
overflow: hidden;
text-align: left;
background: var(--cream-3);
border: 1px solid var(--hair-soft);
border-radius: 22px;
padding: 26px 24px 24px;
cursor: pointer;
transform-style: preserve-3d;
box-shadow: 0 14px 34px -26px rgba(var(--ink-1-rgb), 0.42);
animation: rz-rise-card 0.55s var(--e-expo) backwards;
transition: transform 0.18s var(--e-quart), box-shadow 0.35s var(--e-quart), border-color 0.3s, background 0.3s;
}
.rz-offers .rz-offer:nth-child(1) { animation-delay: 0.05s; }
.rz-offers .rz-offer:nth-child(2) { animation-delay: 0.14s; }
@keyframes rz-rise-card { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rz-offer > * { position: relative; z-index: 1; }
.rz-offer::before { content: ""; position: absolute; top: -38px; right: -38px; width: 104px; height: 104px; border-radius: 50%; background: var(--blue-3); opacity: 0.55; z-index: 0; transition: transform 0.6s var(--e-quint), opacity 0.3s; }
.rz-offer::after { content: ""; position: absolute; bottom: -44px; left: -30px; width: 78px; height: 78px; border-radius: 50%; background: var(--peach-3); opacity: 0.5; z-index: 0; transition: transform 0.7s var(--e-quint); }
.rz-offer:nth-child(2)::before { background: var(--peach-1); }
.rz-offer:nth-child(2)::after { background: var(--blue-3); }
.rz-offer:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(var(--ink-1-rgb), 0.55); border-color: var(--hair); }
.rz-offer:hover::before { transform: scale(1.3); opacity: 0.7; }
.rz-offer:hover::after { transform: scale(1.35); }
.rz-offer:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 3px; }
.rz-offer .ico { width: 54px; height: 54px; border-radius: 17px; display: flex; align-items: center; justify-content: center; background: var(--blue-3); color: var(--teal-1); margin-bottom: 16px; animation: rz-float-ico 5s ease-in-out infinite; transition: background 0.3s, color 0.3s; }
.rz-offer .ico svg { width: 26px; height: 26px; }
.rz-offer:nth-child(2) .ico { background: var(--peach-3); color: var(--orange-1); animation-delay: 1.2s; }
@keyframes rz-float-ico { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.rz-offer h3 { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0 0 4px; color: var(--ink-1); }
.rz-offer h3::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; border-radius: 2px; background: var(--teal-1); transition: width 0.45s var(--e-quart), background 0.45s var(--e-quart); }
.rz-offer:hover h3::after, .rz-offer.sel h3::after { width: 40px; background: var(--orange-1); }
.rz-offer p { font-family: var(--font-body); font-size: 0.86rem; color: var(--ink-1); line-height: 1.45; margin: 0 0 16px; min-height: 38px; }
.rz-offer .price { display: flex; align-items: baseline; gap: 6px; }
.rz-offer .price .amt { font-family: var(--font-brand); font-size: 3.05rem; letter-spacing: .5px; line-height: 1; color: var(--ink-1); }
.rz-offer .price .per { font-family: var(--font-body); font-size: 0.82rem; color: var(--ink-4); }
.rz-offer .tick { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-1); color: var(--cream-3); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.35s var(--e-quint); }
.rz-offer .tick svg { width: 15px; height: 15px; }
.rz-offer .hint { position: absolute; top: 14px; right: 14px; font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--blue-3); color: var(--teal-1); transition: background 0.4s var(--e-quart), color 0.4s var(--e-quart), opacity 0.2s; }
.rz-offer:hover .hint { background: var(--orange-1); color: var(--cream-3); }
.rz-offer.sel { border-color: transparent; background: var(--peach-3); box-shadow: 0 0 0 2px var(--orange-1), 0 28px 54px -28px rgba(var(--orange-1-rgb), 0.5); }
.rz-offer.sel .tick { opacity: 1; transform: scale(1); }
.rz-offer.sel .hint { opacity: 0; }
.rz-offer.sel .ico { background: var(--orange-1); color: var(--cream-3); animation: none; }

/* ===== Étape 2 — Jours (feuilles de calendrier) ===== */
.rz-kicker { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--ink-4); margin: 0 0 12px; text-align: center; }
/* padding horizontal = largeur des fondus du masque (14 px / 22 px, voir plus bas) :
   aux extrémités du défilement, la 1re et la dernière carte sont ENTIÈREMENT visibles
   (le fondu mangeait leur bordure — bug vécu) ; en cours de route, les cartes qui
   passent sous le fondu s'estompent toujours (l'affordance de scroll est préservée). */
.rz-days { display: flex; gap: 12px; overflow-x: auto; padding: 4px 22px 12px 14px; scroll-padding-left: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.rz-days::-webkit-scrollbar { height: 6px; }
.rz-days::-webkit-scrollbar-thumb { background: var(--hair); border-radius: 3px; }
.rz-day {
flex: 0 0 auto;
scroll-snap-align: start;
width: 116px;
text-align: center;
background: var(--cream-3);
border: 1.5px solid var(--hair);
border-radius: 18px;
padding: 14px 10px 13px;
cursor: pointer;
transition: transform 0.3s var(--e-quart), box-shadow 0.3s var(--e-quart), border-color 0.3s, background 0.3s;
}
.rz-day:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -26px rgba(var(--ink-1-rgb), 0.5); }
.rz-day:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 3px; }
.rz-day .wd { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-1); text-transform: capitalize; }
.rz-day .dn { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.05; color: var(--teal-1); }
.rz-day .mo { font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-4); text-transform: lowercase; }
.rz-day .av { margin-top: 9px; font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--blue-3); color: var(--teal-1); display: inline-block; }
.rz-day .av.rare { background: var(--peach-2); color: var(--orange-1); }
.rz-day .av .avl { font-weight: 500; font-size: 9.5px; opacity: 0.85; margin-left: 4px; }
.rz-day .soon { display: inline-block; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; color: var(--cream-3); background: var(--orange-1); border-radius: 999px; padding: 2px 8px; margin-bottom: 6px; }
.rz-day.sel { border-color: var(--orange-1); background: var(--peach-3); box-shadow: 0 18px 38px -24px rgba(var(--orange-1-rgb), 0.55); }
.rz-day.sel .dn { color: var(--orange-1); }
/* Journée COMPLÈTE : la carte reste visible (le calendrier ne « saute » plus de jour)
   mais éteinte et non cliquable — la rareté se lit d'un coup d'œil. */
.rz-day.full { cursor: default; opacity: 0.58; }
.rz-day.full:hover { transform: none; box-shadow: none; }
.rz-day.full .dn { color: var(--ink-4); }
.rz-day .av.off { background: var(--beige-3); color: var(--ink-4); }
.rz-day .av.av-ph { visibility: hidden; }   /* placeholder : réserve la place du compteur (cartes de hauteur identique) sans rien afficher */
.rz-day .soon.soon-ph { visibility: hidden; }   /* idem pour le badge « Demain » : place réservée → nom du jour à la même hauteur sur toutes les cartes */

/* créneaux */
.rz-slots { margin-top: 20px; padding: 18px; background: var(--cream-3); border: 1px solid var(--hair-soft); border-radius: 18px; animation: rz-rise 0.4s var(--e-quart); }
.rz-slots .day-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rz-slots .day-h .t { font-family: var(--font-display); font-size: 1.18rem; color: var(--ink-1); text-transform: capitalize; }
.rz-period { margin-top: 8px; }
.rz-period + .rz-period { margin-top: 16px; }
.rz-period .ph { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink-4); letter-spacing: 0.4px; margin: 0 0 9px; display: flex; align-items: center; gap: 8px; }
.rz-period .ph svg { width: 15px; height: 15px; color: var(--teal-1); }
.rz-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.rz-slot {
font-family: var(--font-body); font-weight: 500; font-size: 14px;
display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; flex: 0 0 auto;
padding: 10px 18px; border-radius: 999px;
background: var(--blue-3); color: var(--teal-1);
border: 1.5px solid transparent; cursor: pointer; min-height: 44px; min-width: 78px;
transition: transform 0.25s var(--e-quint), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.rz-slot:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(var(--teal-1-rgb), 0.5); }
.rz-slot:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 2px; }
.rz-slot.off { background: var(--blue-3); color: var(--ink-4); text-decoration: line-through; cursor: not-allowed; transform: none; box-shadow: none; }
.rz-slot.sel { background: var(--orange-1); color: var(--cream-3); box-shadow: 0 12px 24px -12px rgba(var(--orange-1-rgb), 0.7); }
.rz-slot.taken { background: var(--beige-3); color: var(--ink-4); gap: 6px; cursor: default; box-shadow: none; font-weight: 500; }
.rz-slot.taken:hover { transform: none; box-shadow: none; }
.rz-slot.taken .lk { width: 13px; height: 13px; opacity: 0.75; flex: 0 0 auto; }
.rz-slot.taken .tt { text-decoration: line-through; }   /* heure d'un créneau déjà pris : barrée (le cadenas, lui, reste net) */
.rz-rest { font-family: var(--font-body); font-size: 11.5px; color: var(--ink-4); font-style: italic; align-self: center; padding: 0 2px; }
.rz-empty { text-align: center; padding: 10px 4px; }
.rz-empty p { font-family: var(--font-body); color: var(--ink-1); font-size: 0.92rem; margin: 0 0 10px; }

/* ===== Étape 3 — Coordonnées ===== */
.rz-recap {
display: flex; align-items: center; gap: 12px;
background: var(--blue-3); border-radius: 16px; padding: 13px 16px; margin-bottom: 20px;
}
.rz-recap .ri { width: 38px; height: 38px; border-radius: 11px; background: var(--cream-3); display: flex; align-items: center; justify-content: center; color: var(--teal-1); flex: 0 0 auto; }
.rz-recap .ri svg { width: 19px; height: 19px; }
.rz-recap .rt { font-family: var(--font-body); font-size: 14px; color: var(--ink-1); line-height: 1.4; flex: 1; }
.rz-recap .rt b { font-weight: 600; color: var(--ink-2); }
.rz-recap .edit { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--teal-1); background: none; border: none; cursor: pointer; padding: 6px; white-space: nowrap; width: auto; flex: 0 0 auto; min-height: 0; }
.rz-recap .edit:hover { color: var(--orange-1); }

/* Champs « bain » : au repos ils sont posés dans une teinte d'eau douce (blue-3),
   SANS contour dur — le focus les réveille (fond blanc + halo teal + label teal).
   Moins de « blocs », plus de vivant, mêmes classes/logique (valid/invalid/ok). */
.rz-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; text-align: left; }
.rz-field { position: relative; }
.rz-field.full { grid-column: 1 / -1; }
.rz-field label { display: block; text-align: left; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.2px; color: var(--ink-1); margin: 0 0 7px 4px; transition: color 0.25s; }
.rz-field .req { color: var(--orange-1); }
.rz-field input, .rz-field textarea {
font-family: var(--font-body); font-size: 15px; width: 100%;
padding: 13px 16px; color: var(--ink-1);
background: var(--blue-3); border: 1.5px solid transparent; border-radius: 14px;
transition: border-color 0.3s var(--e-quart), box-shadow 0.35s var(--e-quart), background-color 0.3s var(--e-quart);
}
.rz-field textarea { resize: vertical; min-height: 52px; line-height: 1.5; }
.rz-field input::placeholder, .rz-field textarea::placeholder { color: var(--ink-4); }
.rz-field input:focus, .rz-field textarea:focus {
outline: none; background: var(--cream-3);
border-color: var(--teal-1);
box-shadow: 0 0 0 4px rgba(var(--teal-1-rgb), 0.13), 0 12px 26px -20px rgba(var(--teal-1-rgb), 0.55);
}
.rz-field.active label { color: var(--teal-1); }
/* champ validé : il reste « éveillé » (fond blanc, liseré teal doux) — la progression se voit */
.rz-field.valid input, .rz-field.valid textarea { background: var(--cream-3); border-color: rgba(var(--teal-1-rgb), 0.30); }
.rz-field .ok { position: absolute; top: 35px; right: 13px; width: 22px; height: 22px; color: var(--teal-2); opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.35s var(--e-quint); pointer-events: none; }
.rz-field.valid .ok { opacity: 1; transform: scale(1); }
.rz-field.invalid input, .rz-field.invalid textarea { background: var(--cream-3); border-color: var(--orange-1); box-shadow: 0 0 0 4px rgba(var(--orange-1-rgb), 0.12); }
/* Autocomplétion Chrome/Safari : le navigateur peint un fond bleu (#E8F0FE) qu'aucun
   `background` ne peut recouvrir — on le neutralise via l'astuce box-shadow « inset »
   + `-webkit-text-fill-color`. On suit les mêmes états que les autres champs :
   repos = blue-3, actif/validé/erreur = cream-3. (Réglait le champ e-mail qui
   « devenait bleu » alors que les autres restaient transparents.) */
.rz-field input:-webkit-autofill,
.rz-field textarea:-webkit-autofill,
.rz-field input:-webkit-autofill:hover,
.rz-field input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 100px var(--blue-3) inset !important;
  box-shadow: 0 0 0 100px var(--blue-3) inset !important;
  -webkit-text-fill-color: var(--ink-1) !important;
  caret-color: var(--ink-1);
  transition: background-color 100000s ease 0s;
}
.rz-field input:-webkit-autofill:focus,
.rz-field.valid input:-webkit-autofill,
.rz-field.invalid input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--cream-3) inset !important;
  box-shadow: 0 0 0 100px var(--cream-3) inset !important;
}
.rz-field .err { font-family: var(--font-body); font-size: 12px; color: var(--orange-1); margin: 6px 0 0 4px; min-height: 0; opacity: 0; transition: opacity 0.2s; }
.rz-field.invalid .err { opacity: 1; }
.rz-field.invalid label { color: var(--orange-1); }

/* Clic « Réserver » avec des champs manquants : secousse (posée/retirée par JS)
   sur les champs fautifs ET les cases à cocher obligatoires. */
@keyframes rz-shake {
  20% { translate: -5px 0; }
  40% { translate: 5px 0; }
  60% { translate: -4px 0; }
  80% { translate: 3px 0; }
}
.rz-field.shake, .rz-check.shake { animation: rz-shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
/* case obligatoire manquante : toute la ligne devient une douce pastille d'alerte
   (fond peach-3 + fin liseré intérieur orange) qui s'allume en fondu — plus harmonieux
   que l'ancien contour orange brut autour de la case. La pastille s'épaissit VERS
   L'INTÉRIEUR (padding seul, JAMAIS de marges négatives) : même largeur que les autres
   éléments du formulaire, et jamais coupée par le conteneur overflow:hidden de l'Art.9. */
.rz-check .req { color: var(--orange-1); font-weight: 700; }
.rz-check {
  border-radius: 14px;
  transition: background-color 0.35s var(--e-quart), box-shadow 0.35s var(--e-quart),
              color 0.3s var(--e-quart), padding 0.35s var(--e-quart);
}
.rz-check.invalid {
  color: var(--orange-1);
  background: var(--peach-3);
  box-shadow: inset 0 0 0 1.5px rgba(var(--orange-1-rgb), 0.38);
  padding: 10px 14px;
}
.rz-check.invalid a { color: inherit; }
.rz-check.invalid input { accent-color: var(--orange-1); }

/* paiement */
.rz-pay { grid-column: 1 / -1; background: var(--peach-3); border: 1px solid rgba(var(--orange-1-rgb), 0.18); border-radius: 16px; padding: 16px 18px; text-align: left; }
.rz-pay .pt { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--orange-1); margin: 0 0 10px; }
.rz-pay .methods { display: flex; gap: 9px; flex-wrap: wrap; }
.rz-pay .m { display: inline-flex; align-items: center; gap: 7px; background: var(--cream-3); border: 1px solid var(--hair-soft); border-radius: 999px; padding: 7px 13px; font-family: var(--font-body); font-size: 13px; color: var(--ink-1); font-weight: 500; }
.rz-pay .m svg { width: 17px; height: 17px; color: var(--teal-1); }
/* wordmark Wero inline (currentColor → teal comme les autres icônes), même hauteur */
.rz-pay .m svg.wero { width: auto; height: 9px; }
.rz-pay .note { font-family: var(--font-body); font-size: 12px; color: var(--ink-4); margin: 10px 0 0; }

/* consentement */
.rz-consent { grid-column: 1 / -1; }
.rz-check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-size: 12.5px; color: var(--ink-1); line-height: 1.5; cursor: pointer; padding: 4px 0; }
.rz-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--teal-1); flex: 0 0 auto; cursor: pointer; }
.rz-check a { color: var(--teal-1); text-decoration: underline; font-size: inherit; font-weight: 500; }
.rz-art9 { grid-column: 1 / -1; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.45s var(--e-quart), opacity 0.3s, margin 0.3s; }
.rz-art9.show { max-height: 170px; opacity: 1; margin-top: 2px; }   /* marge pour la pastille d'erreur (padding interne) */
.rz-art9 .box { background: var(--peach-3); border: 1px solid var(--hair-soft); border-radius: 12px; padding: 11px 13px; }
.rz-legal { grid-column: 1 / -1; font-family: var(--font-body); font-size: 11.5px; color: var(--ink-4); line-height: 1.5; margin: 2px 0 0; }
.rz-legal a { color: var(--teal-1); text-decoration: underline; font-size: inherit; }

/* ===== Étape 4 — Confirmation ===== */
.rz-done { text-align: center; padding: 6px 0 4px; }
.rz-done .seal { width: 78px; height: 78px; margin: 4px auto 16px; }
.rz-done .seal circle.ring { fill: none; stroke: var(--blue-1); stroke-width: 3; }
.rz-done .seal circle.run { fill: none; stroke: var(--teal-1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 207; stroke-dashoffset: 207; transform: rotate(-90deg); transform-origin: center; animation: rz-ring 0.7s var(--e-quart) 0.1s forwards; }
.rz-done .seal path.chk { fill: none; stroke: var(--teal-1); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rz-chk 0.5s var(--e-quart) 0.55s forwards; }
@keyframes rz-ring { to { stroke-dashoffset: 0; } }
@keyframes rz-chk { to { stroke-dashoffset: 0; } }
.rz-done h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem); margin: 0 0 6px; color: var(--ink-1); }
.rz-done .lead { font-family: var(--font-body); font-size: 1rem; color: var(--ink-1); margin: 0 0 18px; }
.rz-done .summary { background: var(--blue-3); border-radius: 18px; padding: 18px 20px; max-width: 440px; margin: 0 auto 16px; text-align: left; }
.rz-done .summary .row { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-1); }
.rz-done .summary .row svg { width: 18px; height: 18px; color: var(--teal-1); flex: 0 0 auto; }
.rz-done .summary .row + .row { border-top: 1px solid var(--hair-soft); }
/* Note « comment me trouver » (1er étage, côté B, B101) sous le récap. */
.rz-done .summary .access { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--hair-soft); font-family: var(--font-body); font-size: 12.5px; color: var(--ink-4); line-height: 1.55; }
.rz-done .after { font-family: var(--font-body); font-size: 13px; color: var(--ink-4); max-width: 420px; margin: 0 auto 20px; line-height: 1.6; }
.rz-done .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* « rz-contact » et PAS « contact » : le wizard vit DANS l'accueil, où .contact
   est la SECTION Contact d'index.css (son ::before dégradé + ses tailles
   débordaient sur ce paragraphe — bug vécu). font-size:inherit : index.css met
   tous les <a> à 18px (règle globale p,a,li), le numéro doit suivre ses 13px. */
.rz-done .rz-contact { font-family: var(--font-body); font-size: 13px; color: var(--ink-4); margin: 20px 0 0; }
.rz-done .rz-contact a { color: var(--teal-1); font-weight: 600; font-size: inherit; }

/* Confirmation : cascade d'apparition + confettis */
@keyframes rz-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* Entrée de la confirmation = GLISSEMENT SEUL (opacity toujours à 1). La
   visibilité ne doit JAMAIS dépendre du déclenchement de l'animation : sinon le
   récap (dont l'adresse) reste BLANC quand l'anim ne se joue pas — onglet en
   arrière-plan, rendu headless, insertion dynamique du contenu (bug vécu :
   l'adresse ajoutée au récap n'apparaissait pas). */
@keyframes rz-rise-y { from { transform: translateY(12px); } to { transform: none; } }
#pane-4.on .rz-done h2 { animation: rz-rise-y 0.6s var(--e-expo) 0.15s backwards; }
#pane-4.on .rz-done .lead { animation: rz-rise-y 0.6s var(--e-expo) 0.25s backwards; }
#pane-4.on .rz-done .summary { animation: rz-rise-y 0.6s var(--e-expo) 0.35s backwards; }
#pane-4.on .rz-done .summary .row { animation: rz-rise-y 0.5s var(--e-quart) backwards; }
#pane-4.on .rz-done .summary .row:nth-child(1) { animation-delay: 0.42s; }
#pane-4.on .rz-done .summary .row:nth-child(2) { animation-delay: 0.50s; }
#pane-4.on .rz-done .summary .row:nth-child(3) { animation-delay: 0.58s; }
#pane-4.on .rz-done .summary .row:nth-child(4) { animation-delay: 0.66s; }
#pane-4.on .rz-done .after { animation: rz-rise-y 0.6s var(--e-expo) 0.64s backwards; }
#pane-4.on .rz-done .acts { animation: rz-rise-y 0.6s var(--e-expo) 0.74s backwards; }
#pane-4.on .rz-done .rz-contact { animation: rz-rise-y 0.6s var(--e-expo) 0.82s backwards; }
.rz-confetti { position: absolute; top: -14px; width: 8px; height: 13px; border-radius: 2px; opacity: 0; pointer-events: none; z-index: 6; will-change: transform; animation: rz-fall 2.3s var(--e-quart) forwards; }
@keyframes rz-fall { 0% { opacity: 0; transform: translate(0, -14px) rotate(0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 0), 460px) rotate(var(--rot, 360deg)); } }

/* ===== Boutons du wizard ===== */
.rz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--hair-soft); }
.rz-btn {
font-family: var(--font-body); font-weight: 600; font-size: 15px; white-space: nowrap;
display: inline-flex; align-items: center; justify-content: center; width: auto;
border-radius: 999px; padding: 13px 26px; cursor: pointer; border: 2px solid var(--orange-1);
background: transparent; color: var(--orange-1); min-height: 48px;
transition: transform 0.15s var(--e-quart), background 0.3s var(--e-quart), color 0.3s, box-shadow 0.3s;
}
.rz-done .acts .rz-btn svg { width: 17px; height: 17px; }
.rz-btn:hover { background: var(--orange-1); color: var(--cream-3); box-shadow: 0 14px 28px -14px rgba(var(--orange-1-rgb), 0.7); }
.rz-btn:active { transform: translateY(2px) scale(0.985); }
.rz-btn:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 3px; }
.rz-btn.fill { background: var(--orange-1); color: var(--cream-3); border-color: transparent; }
.rz-btn.fill:hover { background: var(--orange-1); }
.rz-btn.ghost { border-color: rgba(var(--teal-1-rgb), 0.5); color: var(--teal-1); }
.rz-btn.ghost:hover { background: var(--teal-1); color: var(--cream-3); border-color: transparent; box-shadow: none; }
.rz-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.rz-btn[disabled]:hover { background: transparent; color: var(--orange-1); box-shadow: none; }
.rz-btn.fill[disabled]:hover { background: var(--orange-1); }
.rz-btn .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(var(--cream-3-rgb), 0.4); border-top-color: var(--cream-3); border-radius: 50%; vertical-align: -3px; margin-right: 8px; animation: rz-spin 0.7s linear infinite; }
.rz-btn.loading .spin { display: inline-block; }
@keyframes rz-spin { to { transform: rotate(360deg); } }

/* ===== État d'attente de l'étape 2 (1re ouverture : réveil du moteur ~2-5 s) =====
   grid-column 1/-1 : #rz-days est une GRILLE — sans ça, le bloc se coince dans la
   1re colonne (spinner et texte décalés à gauche, bug vécu). */
.rz-wait { grid-column: 1 / -1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 16px 28px; text-align: center; }
.rz-wait .sp { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--blue-3); border-top-color: var(--teal-1); animation: rz-spin 0.9s linear infinite; }
.rz-wait p { font-family: var(--font-body); font-size: 14px; color: var(--ink-4); margin: 0; max-width: 46ch; line-height: 1.55; }

/* ===== Voile « réservation en cours » (envoi de l'étape 3) =====
   Le bouton en mode chargement seul était trop discret (demande Mathis) :
   voile centré sur toute la carte + barre de progression. La barre monte à
   92 % en ~3 s (durée typique de l'écriture agenda+fichier+e-mails) puis
   attend la réponse — reduced-motion : barre statique, anneau figé. */
#wizard.has-veil { position: relative; }
.rz-busyveil { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(255, 254, 251, 0.9); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border-radius: inherit; animation: rz-veil-in 0.25s var(--e-quart); }
@keyframes rz-veil-in { from { opacity: 0; } to { opacity: 1; } }
/* Pas de « carte » autour du chargement : le .box hérite d'un fond blanc + ombre
   de la classe générique .box → on les neutralise pour ne garder que le voile. */
.rz-busyveil .box { text-align: center; padding: 24px; max-width: 360px; background: transparent; box-shadow: none; }
.rz-busyveil .sp { display: inline-block; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--blue-3); border-top-color: var(--teal-1); animation: rz-spin 0.9s linear infinite; }
.rz-busyveil .t { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink-1); margin: 14px 0 12px; }
.rz-busyveil .bar { height: 4px; border-radius: 999px; background: var(--blue-3); overflow: hidden; margin: 0 12px 12px; }
.rz-busyveil .bar .fill { display: block; height: 100%; width: 92%; border-radius: 999px; background: var(--teal-1); animation: rz-fill 3s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes rz-fill { from { width: 0; } to { width: 92%; } }
.rz-busyveil .s { font-family: var(--font-body); font-size: 13px; color: var(--ink-4); margin: 0; line-height: 1.55; }

/* ===== Re-rendu SILENCIEUX (rafraîchissement périodique des dispos) =====
   Aucune animation d'ENTRÉE ne rejoue — le refresh doit être invisible (demande
   Mathis : « je ne veux pas que ça se voit qu'il y a eu un refresh »). Les
   transitions de survol, elles, restent intactes. */
.rz-days.no-anim .rz-day,
.rz-slots.no-anim,
.rz-slots.no-anim .rz-period,
.rz-slots.no-anim .rz-slot,
.rz-slots.no-anim .day-h { animation: none !important; }
.rz-recapline { font-family: var(--font-body); font-size: 13px; color: var(--ink-1); text-align: right; flex: 1; margin: 0; }

/* Neutralise le remplissage orange des boutons hérité de index.css (button:hover/:focus).
   ⚠ SANS préfixe body.resa : ce garde-fou doit agir PARTOUT où le wizard est monté —
   il était scellé sur body.resa (la page annexe, supprimée), donc l'accueil gardait
   le voile orange au survol des offres et des jours (bug vécu). */
.rz-offer:hover, .rz-offer:focus, .rz-offer:active,
.rz-day:hover, .rz-day:focus, .rz-day:active,
.rz-slot:hover, .rz-slot:focus, .rz-slot:active,
.rz-btn:hover, .rz-btn:focus, .rz-btn:active,
.rz-recap .edit:hover, .rz-recap .edit:focus { background-image: none; }
/* index.css force color:#fffefb !important sur button:hover/:focus — on restaure
   la bonne couleur de texte là où le fond reste clair. (En cas d'égalité !important,
   la spécificité tranche : .rz-x:hover (2 classes) bat button:hover.) */
.rz-offer:hover, .rz-offer:focus { color: var(--ink-1) !important; }
.rz-day:hover, .rz-day:focus { color: var(--ink-1) !important; }
.rz-slot:hover, .rz-slot:focus { color: var(--teal-1) !important; }
.rz-slot.sel:hover, .rz-slot.sel:focus { color: var(--cream-3) !important; }
.rz-recap .edit:hover, .rz-recap .edit:focus { color: var(--orange-1) !important; }
/* Focalisation premium : la carte non survolée s'efface légèrement */
.rz-offers:hover .rz-offer:not(:hover) { opacity: 0.72; }

/* ===== Bandeau réassurance ===== */
.resa-trust { background: var(--cream-3); border-top: 1px solid var(--hair-soft); padding: clamp(30px, 5vw, 46px) clamp(20px, 5vw, 48px); }
.resa-trust .inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.resa-trust .t { text-align: center; }
.resa-trust .t .ti { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-3); display: inline-flex; align-items: center; justify-content: center; color: var(--teal-1); margin-bottom: 12px; transition: transform 0.4s var(--e-quint); }
.resa-trust .t .ti svg { width: 24px; height: 24px; }
.resa-trust .t:hover .ti { transform: translateY(-4px) rotate(-4deg); }
.resa-trust .t h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin: 0 0 4px; color: var(--ink-1); }
.resa-trust .t p { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-1); margin: 0; line-height: 1.5; }

/* ===== Toast (créneau pris en temps réel) =====
   Caché : sorti de 100 % de sa hauteur + 40 px (bottom 24 + marge d'ombre) —
   l'ancien 140 % laissait ~6 px visibles en bas d'écran (bug vécu). visibility
   masque tout (ombre comprise) une fois la glissade finie. */
.rz-toast {
position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px));
visibility: hidden;
background: var(--ink-1); color: var(--cream-3); font-family: var(--font-body); font-size: 14px;
padding: 13px 20px; border-radius: 14px; box-shadow: 0 20px 40px -16px rgba(var(--ink-1-rgb), 0.5);
z-index: 100; max-width: 90vw; display: flex; align-items: center; gap: 10px;
transition: transform 0.5s var(--e-expo), visibility 0s linear 0.5s;
}
.rz-toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform 0.5s var(--e-expo), visibility 0s; }
.rz-toast svg { width: 18px; height: 18px; color: var(--orange-1); flex: 0 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 560px) {
.rz-btn { padding: 13px 22px; }
}

/* ===== Contraste AA + lisibilité (toutes largeurs) ===== */
.rz-slot.taken { color: var(--ink-4); }
.rz-legal { color: var(--ink-1); }
.rz-day .av .avl { font-size: 10px; opacity: 1; font-weight: 500; }

/* ===== Cibles tactiles >= 44px + focus manquants ===== */
.resa-back { min-height: 44px; padding-block: 11px; }
.rz-recap .edit { min-height: 44px; padding: 8px 12px; margin: -8px -4px -8px 0; display: inline-flex; align-items: center; border-radius: 10px; }
.footer-legal, .footer-cookies { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
.footer-cookies:focus-visible, .rz-recap .edit:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 2px; border-radius: 8px; }
.rz-check input { width: 20px; height: 20px; }
.rz-check input:focus-visible { outline: 2px solid var(--teal-1); outline-offset: 3px; border-radius: 5px; }
.rz-consent .rz-check, .rz-art9 .rz-check { min-height: 44px; align-items: center; }

/* ===== Ruban de jours : affordance de scroll (s'auto-désactive si tout tient) ===== */
.rz-days { -webkit-mask-image: linear-gradient(90deg, transparent 0, var(--ink-1) 14px, var(--ink-1) calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, var(--ink-1) 14px, var(--ink-1) calc(100% - 22px), transparent 100%); }

/* ===== Tactile : neutralise les états hover collants ===== */
@media (hover: none), (pointer: coarse) {
.rz-offer { transform: none !important; }
.rz-offer.sel { box-shadow: 0 0 0 2px var(--orange-1), 0 28px 54px -28px rgba(var(--orange-1-rgb), 0.5); }
}
@media (hover: none) {
.rz-offer:hover { transform: none; box-shadow: 0 14px 34px -26px rgba(var(--ink-1-rgb), 0.42); border-color: var(--hair-soft); }
.rz-offer:hover::before { transform: none; opacity: 0.55; }
.rz-offer:hover::after { transform: none; }
.rz-offer:hover .hint { background: var(--blue-3); color: var(--teal-1); }
.rz-offers:hover .rz-offer:not(:hover) { opacity: 1; }
.rz-day:hover { transform: none; box-shadow: none; }
.rz-slot:hover { transform: none; box-shadow: none; }
.resa-trust .t:hover .ti { transform: none; }
.resa-back:hover svg { transform: none; }
}

/* ===== Tablette / entre-deux : <=760px ===== */
@media (max-width: 760px) {
.resa-card { padding: clamp(20px, 4vw, 30px) clamp(16px, 3.5vw, 24px) clamp(18px, 3vw, 26px); }
.rz-nav { flex-wrap: wrap; }
.rz-recapline { order: -1; flex: 1 0 100%; text-align: center; margin: 0 0 4px; }
.resa-trust .inner { grid-template-columns: 1fr; max-width: 420px; gap: 18px; }
}
@media (min-width: 561px) and (max-width: 780px) {
.rz-chips { gap: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); }
.rz-slot { width: auto; max-width: none; }
.rz-slots { padding: 20px; }
.rz-done .summary { max-width: 460px; }
}
@media (min-width: 561px) and (max-width: 820px) {
.resa-hero .resa-sub, .resa-hero .resa-frame { max-width: 92%; }
}

/* ===== Offres : 1 colonne sous 700px ===== */
@media (max-width: 700px) {
.rz-offers { grid-template-columns: 1fr; gap: 14px; }
.rz-offer { padding: 24px 22px 22px; }
.rz-offer p { min-height: 0; }
.rz-offer .price .amt { font-size: 2.6rem; }
}

/* ===== Formulaire : 1 colonne sous 640px ===== */
@media (max-width: 640px) {
.rz-form { grid-template-columns: 1fr; }
/* Mobile : la croix reste À L'INTÉRIEUR de la carte (coin haut-droit, en absolu
   comme sur ordinateur → jamais « hors du cadre » comme avant). On la rapproche
   du coin et on réserve une bande en haut de la carte : la croix occupe ainsi sa
   propre ligne et la barre des 4 étapes démarre juste en dessous, pleine largeur
   (demande Mathis). */
.rz-home-panel__close { top: 12px; right: 12px; }
.rz-home-panel__frame .resa-card { padding-top: 60px; }
}

/* ===== Mobile standard : <=430px ===== */
@media (max-width: 430px) {
.resa-next { max-width: 100%; flex-wrap: wrap; justify-content: center; padding: 9px 14px; font-size: 0.9rem; }
.rz-days { gap: 10px; }   /* le padding horizontal de base (14/22 px = fondus) reste valable */
.rz-day { width: 104px; padding: 12px 8px 11px; }
.rz-day .dn { font-size: 2rem; }
.rz-day .wd { font-size: 1.02rem; }
.rz-slots { padding: 14px; }
.rz-chips { gap: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.rz-slot { min-width: 0; max-width: none; padding: 10px 12px; font-size: 13.5px; }
.rz-recap { flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
.rz-recap .rt { flex: 1 1 100%; order: 3; font-size: 13.5px; }
.rz-recap .edit { order: 2; margin-left: auto; }
.rz-nav { flex-direction: column; align-items: stretch; gap: 10px; }
.rz-nav .rz-btn { width: 100%; }
.rz-nav #rz-next { order: 1; }
.rz-nav #rz-back { order: 2; }
.rz-nav .rz-btn[style*="hidden"] { display: none; }
.rz-btn { padding: 13px 18px; font-size: 14.5px; }
.rz-done .acts { flex-direction: column; align-items: stretch; gap: 10px; }
.rz-done .acts .rz-btn { width: 100%; }
.rz-done .summary { padding: 16px; }
.rz-done .summary .row { font-size: 14px; }
}

/* ===== Très petits écrans : <=380px ===== */
@media (max-width: 380px) {
.resa-top { padding: 10px 14px; gap: 10px; }
.resa-top .resa-logo { width: 108px; height: 38px; }
.resa-back { font-size: 13.5px; gap: 5px; }
.resa-hero { padding-left: 16px; padding-right: 16px; }
.resa-hero h1 { font-size: clamp(1.85rem, 1.5rem + 2vw, 2.1rem); }
.resa-wrap { padding-left: 12px; padding-right: 12px; }
.resa-card { padding: 22px 14px 20px; border-radius: 22px; }
.rz-step { min-height: 58px; justify-content: flex-start; }
.rz-step .num { width: 30px; height: 30px; font-size: 13px; }
.rz-step .bar { top: 15px; left: calc(50% + 19px); right: calc(-50% + 19px); }
.rz-step .lbl { font-size: 10.5px; line-height: 1.15; max-width: 8ch; overflow-wrap: anywhere; margin: 0 auto; }
.rz-offer { padding: 22px 18px 20px; }
.rz-offer h3 { font-size: 1.25rem; }
.rz-offer .price .amt { font-size: 2.5rem; }
.rz-offer .ico { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 12px; }
.rz-offer .ico svg { width: 22px; height: 22px; }
.rz-day .av .avl { display: none; }
.rz-pay { padding: 13px 14px; }
.rz-pay .methods { gap: 7px; }
.rz-pay .m { padding: 6px 11px; font-size: 12.5px; }
}

/* ===== <=360px : toast pleine largeur ===== */
@media (max-width: 360px) {
.rz-toast { left: 12px; right: 12px; transform: translateY(calc(100% + 40px)); max-width: none; font-size: 13px; }
.rz-toast.show { transform: translateY(0); }
}

/* ===== <=330px : libellés d'étapes masqués (le compteur reste) ===== */
@media (max-width: 330px) {
.rz-step .lbl { display: none; }
}

/* ===== Paysage mobile court : compacte header + hero ===== */
@media (max-height: 460px) and (orientation: landscape) {
.resa-top { padding-top: 8px; padding-bottom: 8px; }
.resa-top .resa-logo { width: 110px; height: 38px; }
.resa-hero { padding-top: 22px; padding-bottom: 18px; }
.resa-hero .resa-frame { display: none; }
.resa-hero .resa-next { margin-top: 14px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
.resa-leaf { display: none; }
.rz-field.shake, .rz-check.shake { animation: none !important; }
.rz-wait .sp { animation: none !important; border-top-color: var(--blue-3); }   /* anneau statique */
.rz-busyveil, .rz-busyveil .bar .fill { animation: none !important; }           /* voile instantané, barre statique à 92 % */
.rz-busyveil .sp { animation: none !important; border-top-color: var(--blue-3); }
.resa-hero h1, .resa-hero .resa-rule, .resa-hero .resa-sub, .resa-hero .resa-frame, .resa-hero .resa-next,
.rz-pane.on, .rz-pane.on .rz-h, .rz-pane.on .rz-hsub, .rz-slots, .rz-offers .rz-offer, .rz-offer .ico,
#pane-4.on .rz-done h2, #pane-4.on .rz-done .lead, #pane-4.on .rz-done .summary,
#pane-4.on .rz-done .summary .row, #pane-4.on .rz-done .after, #pane-4.on .rz-done .acts,
#pane-4.on .rz-done .rz-contact { animation: none !important; opacity: 1 !important; transform: none !important; }
.rz-confetti { display: none; }
.rz-step.on .num { animation: none; }
.resa-next .dot { animation: none; }
.rz-done .seal circle.run, .rz-done .seal path.chk { animation: none; stroke-dashoffset: 0; }
.rz-offer, .rz-day, .rz-slot, .resa-trust .t .ti, .resa-back svg, .rz-offer .ico { transition: none !important; }
.rz-offer:hover, .rz-day:hover, .rz-slot:hover { transform: none !important; }
* { scroll-behavior: auto !important; }
}
