/* ===================================================================
   POUPON & MOI — PAGE DE RÉSERVATION
   Calendrier de disponibilités + formulaire en 3 étapes.
   Palette douce crème / beige / terre de Sienne, comme le site.
   =================================================================== */

:root {
  --cream:        #fbf6ef;
  --cream-2:      #f6ede1;
  --sand:         #f1e3d2;
  --beige:        #e7d4bd;
  --offwhite:     #fffdf9;
  --taupe:        #b08d63;
  --brown:        #8a6a44;
  --brown-deep:   #6f5436;
  --ink:          #5b4a3a;
  --muted:        #9a876f;
  --gold:         #c5a079;
  --gold-deep:    #a87f4f;
  --rust:         #b5654a;
  --line:         rgba(176,141,99,.22);
  --line-strong:  rgba(176,141,99,.4);
  --shadow:       0 24px 60px -28px rgba(138,106,68,.35);
  --shadow-sm:    0 14px 36px -22px rgba(138,106,68,.4);
  --serif:        "Cormorant Garamond", Georgia, serif;
  --script:       "Dancing Script", cursive;
  --sans:         "Jost", system-ui, sans-serif;
  --ease:         cubic-bezier(.2,.8,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

body.res-page {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(120% 60% at 80% -10%, #fdf4e8 0%, transparent 55%),
    radial-gradient(100% 50% at 0% 110%, #f6ead9 0%, transparent 50%),
    var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

/* ---------------------------------------------------------
   CHROME
   --------------------------------------------------------- */
.res-chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(251,246,239,.92) 0%, rgba(251,246,239,.4) 60%, rgba(251,246,239,0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.res-chrome > * { pointer-events: auto; }
.res-chrome__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--brown-deep);
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  background: rgba(255,253,249,.8);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.res-chrome__back:hover { background: var(--offwhite); transform: translateX(-3px); border-color: var(--taupe); }
.res-chrome__back svg { width: 16px; height: 16px; }
.res-chrome__brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--brown);
  opacity: 0.85;
}
@media (max-width: 600px) { .res-chrome__brand { display: none; } }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.res-hero {
  position: relative;
  padding: clamp(7rem, 14vw, 11rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.res-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(231,212,189,.55) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(197,160,121,.18) 0%, transparent 50%);
}
.res-hero__inner {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  animation: resFadeUp 1000ms var(--ease) 0.15s both;
}
@keyframes resFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.res-hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.5rem;
}
.res-hero__kicker::before, .res-hero__kicker::after {
  content: ''; width: 26px; height: 1px; background: var(--gold); opacity: 0.8;
}

.res-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brown-deep);
  margin-bottom: 1.5rem;
}
.res-hero__title__line { display: block; }
.res-hero__title__script {
  display: block;
  font-family: var(--script);
  font-weight: 600;
  color: var(--gold);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin-top: 8px;
}

.res-hero__lead {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
  color: var(--muted);
}

.res-hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}
.res-hero__meta__dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 7px;
  vertical-align: middle;
  animation: resPulse 2.6s var(--ease) infinite;
}
@keyframes resPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(197,160,121,.5); } 50% { box-shadow: 0 0 0 6px rgba(197,160,121,0); } }

/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */
.res-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.res-flash {
  display: flex; gap: 14px;
  margin-bottom: 1.75rem;
  padding: 1rem 1.4rem;
  background: rgba(181,101,74,.06);
  border-left: 3px solid var(--rust);
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
}
.res-flash svg { width: 22px; height: 22px; color: var(--rust); flex-shrink: 0; margin-top: 2px; }
.res-flash strong { color: var(--rust); display: block; margin-bottom: 4px; }
.res-flash ul { margin: 0; padding-left: 1.2em; color: var(--ink); }

.res-honeypot {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ---------------------------------------------------------
   WIZARD — barre de progression
   --------------------------------------------------------- */
.res-wizard { scroll-margin-top: 90px; }

.res-wizard__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 640px;
  margin: clamp(1.5rem, 4vw, 2rem) auto 0;
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid var(--line);
}
.res-wizard__step-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0; background: transparent; border: 0; cursor: pointer;
  color: inherit;
  opacity: 0.45;
  transition: opacity .38s var(--ease);
}
.res-wizard__step-btn.is-completed { opacity: 0.9; }
.res-wizard__step-btn.is-active    { opacity: 1; }
.res-wizard__step-btn:hover { opacity: 0.9; }
.res-wizard__step-btn__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--offwhite);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--brown);
  transition: background .38s var(--ease), color .38s var(--ease), border-color .38s var(--ease), transform .38s var(--ease);
}
.res-wizard__step-btn.is-active .res-wizard__step-btn__num {
  background: linear-gradient(135deg, var(--taupe), var(--brown));
  border-color: transparent;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(197,160,121,.2);
}
.res-wizard__step-btn.is-completed .res-wizard__step-btn__num {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.res-wizard__step-btn__lbl {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.res-wizard__step-btn.is-active .res-wizard__step-btn__lbl { color: var(--brown-deep); }

.res-wizard__line {
  flex: 1; height: 1px; max-width: 120px;
  background: var(--line-strong);
  position: relative; overflow: hidden;
  margin-bottom: 30px;
}
.res-wizard__line__fill {
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms var(--ease);
}
.res-wizard__line__fill.is-filled { transform: scaleX(1); }
@media (max-width: 520px) {
  .res-wizard__step-btn__lbl { display: none; }
  .res-wizard__line { max-width: 70px; }
}

/* ---- panneaux d'étape ---- */
.res-wizard__panel { position: relative; min-height: 200px; margin-top: clamp(1.5rem, 4vw, 2rem); }
.res-step { display: none; }
.res-step.is-active { display: block; animation: resStepIn 600ms var(--ease) both; }
.res-step.is-active.from-prev { animation: resStepInLeft 600ms var(--ease) both; }
@keyframes resStepIn { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: translateX(0); } }
@keyframes resStepInLeft { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: translateX(0); } }

.res-step__head { text-align: center; margin: 0 auto clamp(1.5rem, 3vw, 2.25rem); max-width: 56ch; }
.res-step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--brown-deep);
}
.res-step__title em { font-style: italic; color: var(--gold); }
.res-step__hint { font-size: 0.95rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.6; }

/* ---- pied du wizard ---- */
.res-wizard__nav {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--line);
}
.res-wizard__recap {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}
.res-wizard__recap em { font-style: italic; color: var(--gold); }

.res-wizard__nav__submit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 1.05rem 2.2rem;
  background: linear-gradient(135deg, var(--taupe), var(--brown));
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 16px 30px -14px rgba(138,106,68,.7);
  transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.res-wizard__nav__submit svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.res-wizard__nav__submit:hover { background: linear-gradient(135deg, var(--brown), var(--brown-deep)); transform: translateY(-3px); box-shadow: 0 22px 40px -16px rgba(138,106,68,.8); }
.res-wizard__nav__submit:hover svg { transform: translateX(5px); }

.res-wizard__nav__hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  padding: 0.85rem 0;
}
.res-wizard__nav__hint::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); animation: resPulse 2.6s var(--ease) infinite;
}

.res-submit__legal {
  text-align: center;
  font-size: 0.78rem;
  max-width: 52ch;
  margin: 0.5rem auto 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CALENDRIER
   --------------------------------------------------------- */
.res-cal-wrap {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.res-cal-wrap.is-shake { animation: resShake 600ms var(--ease); }
@keyframes resShake {
  10%,90% { transform: translateX(-2px); }
  20%,80% { transform: translateX(3px); }
  30%,70% { transform: translateX(-5px); }
  40%,60% { transform: translateX(5px); }
  50%     { transform: translateX(-3px); }
}

.res-cal-nav { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.res-cal-nav__btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--brown);
  background: var(--offwhite);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.res-cal-nav__btn:hover { background: linear-gradient(135deg, var(--taupe), var(--brown)); border-color: transparent; color: #fff; }
.res-cal-nav__btn.is-disabled { opacity: 0.3; pointer-events: none; }
.res-cal-nav__btn svg { width: 18px; height: 18px; }
.res-cal-nav__title {
  flex: 1; text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  letter-spacing: -0.01em;
  color: var(--brown-deep);
}
.res-cal-nav__title em { font-family: var(--script); font-style: normal; color: var(--gold); }

.res-cal {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
}
.res-cal__head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.res-cal__head__cell {
  padding: 0.7rem 0.4rem;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
}
.res-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.res-cal__cell {
  position: relative;
  min-height: clamp(78px, 11vw, 118px);
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
  /* reset complet du <button> (les cases dispo sont des boutons) */
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--offwhite);
  color: inherit; font: inherit; text-align: left;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.res-cal__cell:nth-child(7n) { border-right: 0; }
.res-cal__cell:nth-last-child(-n+7) { border-bottom: 0; }
.res-cal__cell--empty { background: var(--cream-2); cursor: default; pointer-events: none; }
.res-cal__cell__num {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1;
  color: var(--brown-deep);
}
.res-cal__cell__today {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  position: absolute;
  top: 10px; right: 10px;
}
.res-cal__cell__status {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  opacity: 0.75;
  margin-top: auto;
}

/* dates passées */
.res-cal__cell.is-past { background: var(--cream-2); opacity: 0.45; cursor: not-allowed; }
.res-cal__cell.is-past .res-cal__cell__num { text-decoration: line-through; text-decoration-color: rgba(91,74,58,.3); }

/* dates réservées */
.res-cal__cell.is-blocked {
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 8px, rgba(181,101,74,.06) 8px, rgba(181,101,74,.06) 9px),
    rgba(181,101,74,.05);
  cursor: not-allowed;
}
.res-cal__cell.is-blocked .res-cal__cell__num { color: var(--rust); text-decoration: line-through; text-decoration-color: rgba(181,101,74,.45); }

/* dates disponibles */
.res-cal__cell.is-available { cursor: pointer; position: relative; }
.res-cal__cell.is-available::before {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid transparent; border-radius: 12px;
  transition: border-color .28s var(--ease), background .28s var(--ease);
  pointer-events: none;
}
/* petit point doré = jour réservable (rappel de la légende) */
.res-cal__cell.is-available::after {
  content: ''; position: absolute; left: 12px; bottom: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: 0.5;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  pointer-events: none;
}
.res-cal__cell.is-available:hover { background: rgba(197,160,121,.1); }
.res-cal__cell.is-available:hover::before { border-color: var(--taupe); }
.res-cal__cell.is-available:hover::after { opacity: 1; transform: scale(1.3); }
.res-cal__cell.is-available:hover .res-cal__cell__num { color: var(--gold-deep); }
/* focus clavier accessible */
.res-cal__cell.is-available:focus-visible { outline: none; }
.res-cal__cell.is-available:focus-visible::before {
  border-color: var(--gold-deep);
  background: rgba(197,160,121,.1);
}

/* aujourd'hui */
.res-cal__cell.is-today { box-shadow: inset 0 3px 0 var(--gold); }
.res-cal__cell.is-today .res-cal__cell__num { color: var(--gold-deep); }

/* sélectionné */
.res-cal__cell.is-selected {
  background: linear-gradient(135deg, var(--taupe), var(--brown)) !important;
  box-shadow: inset 0 0 0 2px var(--brown-deep);
}
.res-cal__cell.is-selected::before { border-color: transparent !important; }
.res-cal__cell.is-selected::after { display: none; }
.res-cal__cell.is-selected .res-cal__cell__num,
.res-cal__cell.is-selected .res-cal__cell__today { color: #fff; }

.res-cal__legend {
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.res-cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.res-cal__legend__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.res-cal__legend__dot--avail   { background: var(--gold); }
.res-cal__legend__dot--blocked { background: var(--rust); opacity: 0.6; }
.res-cal__legend__dot--past    { background: rgba(91,74,58,.25); }

.res-cal__selected {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(197,160,121,.18) 0%, transparent 60%),
    var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}
.res-cal__selected__lbl {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep);
}
.res-cal__selected__date {
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  color: var(--brown-deep);
}
.res-cal__selected__clear {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; border: 0; color: var(--brown);
  cursor: pointer; padding: 4px 0; position: relative;
  transition: color .3s var(--ease);
}
.res-cal__selected__clear:hover { color: var(--brown-deep); }
.res-cal__selected__clear::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; opacity: 0.5; }

/* ---------------------------------------------------------
   CHOIX DU TYPE
   --------------------------------------------------------- */
.res-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
}
.res-types.is-shake { animation: resShake 600ms var(--ease); }
.res-type { cursor: pointer; display: block; }
.res-type input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.res-type__inner {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 18px;
  height: 100%;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.res-type:hover .res-type__inner { border-color: var(--taupe); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.res-type.is-checked .res-type__inner,
.res-type input:checked + .res-type__inner {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(197,160,121,.18) 0%, transparent 60%),
    var(--offwhite);
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 1px var(--gold-deep), var(--shadow-sm);
}
.res-type__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--brown-deep);
}
.res-type:hover .res-type__title,
.res-type.is-checked .res-type__title { color: var(--gold-deep); }
.res-type__desc { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------
   CHAMPS DE CONTACT
   --------------------------------------------------------- */
.res-fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem 1.25rem;
}
.res-field { grid-column: span 6; display: flex; flex-direction: column; gap: 8px; }
.res-field--lg, .res-field--full { grid-column: span 12; }
@media (max-width: 720px) { .res-field, .res-field--lg { grid-column: span 12; } }

.res-field__lbl {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe);
}
.res-field__hint { text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--muted); }
.res-field input, .res-field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--offwhite);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.res-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; border-radius: 18px; }
.res-field input::placeholder, .res-field textarea::placeholder { color: var(--muted); }
.res-field input:focus, .res-field textarea:focus {
  outline: none;
  border-color: var(--taupe);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(197,160,121,.18);
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.res-foot { margin-top: clamp(3rem, 6vw, 4.5rem); }
.res-foot__rule { height: 1px; background: var(--line); margin-bottom: 1.25rem; }
.res-foot__row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.res-foot__row a { color: var(--brown); text-decoration: none; transition: color .3s var(--ease); }
.res-foot__row a:hover { color: var(--gold-deep); }
.res-foot__row strong { font-weight: 600; }

/* ---------------------------------------------------------
   ÉCRAN DE SUCCÈS
   --------------------------------------------------------- */
.res-success {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse at 50% 20%, rgba(197,160,121,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(176,141,99,.15) 0%, transparent 60%),
    var(--cream);
}
.res-success__ornament {
  width: 58px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
  background: rgba(255,253,249,.6);
  animation: resSpin 16s linear infinite;
}
@keyframes resSpin { to { transform: rotate(360deg); } }
.res-success__ornament svg { width: 28px; height: 28px; }
.res-success__kicker {
  font-size: 0.76rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
}
.res-success__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brown-deep);
  margin-bottom: 1.25rem;
}
.res-success__title em { font-family: var(--script); font-style: normal; color: var(--gold); }
.res-success__lead {
  max-width: 56ch;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.res-success__lead strong { color: var(--gold-deep); font-weight: 500; }
.res-success__rule { width: 60px; height: 1px; background: var(--gold); margin-bottom: 1rem; opacity: 0.7; }
.res-success__hint { font-size: 0.95rem; color: var(--muted); margin-bottom: 2rem; }
.res-success__hint a {
  color: var(--brown); text-decoration: underline;
  text-decoration-color: var(--gold); text-underline-offset: 3px;
}
.res-success__back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.86rem; letter-spacing: 0.04em;
  color: var(--brown-deep); text-decoration: none;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.res-success__back:hover { background: linear-gradient(135deg, var(--taupe), var(--brown)); color: #fff; border-color: transparent; }

/* ---------------------------------------------------------
   RESPONSIVE — calendrier mobile
   --------------------------------------------------------- */
@media (max-width: 600px) {
  .res-cal__cell { min-height: 54px; padding: 6px 7px; }
  .res-cal__cell__num { font-size: 1rem; }
  .res-cal__cell__status { font-size: 8px; letter-spacing: 0.1em; }
  .res-cal__cell__today { font-size: 7px; top: 5px; right: 6px; }
  .res-cal__head__cell { font-size: 9px; padding: 0.5rem 0.2rem; letter-spacing: 0.1em; }
  .res-cal__selected { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
