/* ===== Sarah Privé — feuille de style ===== */

/* Polices hébergées sur le site (SIL Open Font License 1.1) : aucune requête vers Google. */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/playfair.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("fonts/playfair-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-700.woff2") format("woff2"); }

:root {
  --page: #FBF6F3;
  --card: #FFFCFB;
  --line: #EEDCD8;
  --line-soft: #F2E5E2;
  --ink: #2A1F22;
  --ink-2: #4A3A3E;
  --muted: #8C7175;
  --rose: #B86F7E;        /* vieux rose */
  --rose-dark: #9E5767;
  --rose-btn-a: #E2A6AE;  /* boutons « Choisir » */
  --rose-btn-b: #CD8792;
  --blush: #F5E3E1;       /* rose poudré */
  --blush-2: #F9EDEB;
  --nude: #EAD2CB;
  --gold: #CDAA6A;
  --gold-2: #E9D3A2;
  --gold-dark: #A8834A;
  --tg: #2AA3E0;
  --sc: #FFFC00;
  --radius: 22px;
  --shadow: 0 6px 22px rgba(160, 96, 108, .10);
  --serif: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% 0%, #F6E1DE 0%, transparent 60%),
    radial-gradient(90% 70% at 100% 100%, #EFD3D0 0%, transparent 60%),
    #F3E2DF;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.sprite { position: absolute; overflow: hidden; }

.page {
  position: relative;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--page);
  box-shadow: 0 0 60px rgba(150, 90, 100, .12);
  overflow-x: hidden;
}

/* ===== En-tête ===== */
.topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: calc(14px + env(safe-area-inset-top)) 16px 12px;
}
.brand {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 9vw, 38px);
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--ink);
}
.brand-md { font-size: clamp(26px, 7.6vw, 32px); }
.brand-sm { font-size: 26px; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: none; border-radius: 50%;
  color: var(--ink);
}
.icon-btn svg { width: 26px; height: 26px; }
.icon-btn:active { background: var(--blush); }
.icon-btn-spacer { width: 44px; }
.bag { position: relative; }
.bag-dot {
  position: absolute; top: 8px; right: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rose); border: 2px solid var(--page);
}

/* ===== Bannière « Boudoir doré » ===== */
.hero {
  position: relative;
  min-height: 292px;
  padding: 26px 16px 24px;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #FFF8F1 0%, #F6E6DB 55%, #EFD3CC 100%);
}
.hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero-rays {
  position: absolute; left: 50%; top: 84px;
  width: 540px; height: 540px; margin: -270px 0 0 -270px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(201,164,98,.17) 0deg 3deg, transparent 3deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%);
  mask: radial-gradient(circle, #000 18%, transparent 62%);
  animation: hero-spin 90s linear infinite;
}
@keyframes hero-spin { to { transform: rotate(360deg); } }
.petal {
  position: absolute; z-index: 1;
  width: 26px; height: 15px;
  border-radius: 60% 40% 60% 40%;
  background: radial-gradient(circle at 35% 30%, #F9DADF, #D99AA4);
  opacity: .85;
  animation: petal-float 9s ease-in-out infinite;
}
.petal.p1 { left: 24px; top: 46px; }
.petal.p2 { right: 28px; top: 118px; width: 22px; height: 13px; animation-delay: -3s; }
.petal.p3 { left: 54px; bottom: 30px; width: 18px; height: 11px; animation-delay: -6s; }
@keyframes petal-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(14deg); } }
.medal {
  position: relative; z-index: 2;
  width: 118px; height: 118px; margin: 0 auto;
  padding: 4px; border-radius: 50%;
  background: conic-gradient(from 0deg, #A8834A, #F4E2B8, #C9A462, #FFF4DA, #A8834A);
  box-shadow: 0 10px 26px rgba(150, 100, 60, .25);
  animation: medal-glow 5s ease-in-out infinite;
}
@keyframes medal-glow { 50% { box-shadow: 0 10px 34px rgba(201, 164, 98, .55); } }
.medal-inner {
  width: 100%; height: 100%;
  border-radius: 50%; border: 2px solid #FFF8EE;
  background: radial-gradient(circle at 40% 35%, #FBEDEC, #EFCDCF);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--rose-dark);
}
.hero-title {
  position: relative; z-index: 2;
  margin: 14px 0 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 9vw, 36px); line-height: 1.1; color: #2E2225;
}
.hero-orn { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; color: var(--gold); font-size: 10px; }
.hero-orn i { width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-welcome { position: relative; z-index: 2; margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 16px; color: #5A4246; }

/* ===== Pastilles ===== */
.chips {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px;
  padding: 18px 12px 6px;
}
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px clamp(8px, 2.4vw, 12px);
  background: var(--blush-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: clamp(12px, 3.35vw, 13.5px); color: var(--ink-2);
  white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; color: #9C6A6E; flex: none; }
.currency, .pay-cur {
  display: inline-flex; align-items: center;
  padding: 3px;
  background: var(--blush-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  flex: none;
}
.cur-btn {
  border: 0; background: none;
  padding: 5px clamp(8px, 2.4vw, 11px);
  border-radius: 999px;
  font-size: clamp(12px, 3.35vw, 13.5px); letter-spacing: .02em;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.cur-btn[aria-checked="true"] {
  background: linear-gradient(180deg, #DE9AA4, #C47B88);
  color: #fff;
  box-shadow: 0 2px 6px rgba(184, 111, 126, .35);
}
.cur-sep { color: #C9AFB2; font-size: 13px; padding: 0 1px; }

/* ===== Offres ===== */
.offers { display: grid; gap: 14px; padding: 12px 14px 4px; }
.offer {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  padding: 18px clamp(10px, 3vw, 14px);
  background: linear-gradient(180deg, #FFFDFC, #FCF5F3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.offer-ico {
  width: clamp(54px, 15vw, 64px); height: clamp(54px, 15vw, 64px);
  display: grid; place-items: center;
  border-radius: 18px;
  margin-right: clamp(8px, 2.6vw, 12px);
}
.offer-ico svg { width: 36px; height: 36px; }
.offer-ico.tg { background: linear-gradient(160deg, #FBE7E9, #F4D3D7); color: var(--tg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.offer-ico.tg svg { transform: translateX(-2px); }
.offer-ico.sc { background: linear-gradient(160deg, #FFF45A, #FBE53A); box-shadow: inset 0 -2px 0 rgba(0,0,0,.05); }
.offer-ico.sc svg { width: 40px; height: 40px; }
.offer-ico.gold {
  background: linear-gradient(150deg, #E6CBA0 0%, #C9A36E 55%, #B38B57 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 10px rgba(168, 131, 74, .3);
}
.offer-ico.gold svg { filter: drop-shadow(0 1px 1px rgba(120, 85, 40, .35)); }
.offer-body {
  padding: 2px clamp(8px, 2.4vw, 12px);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.offer-name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 5.1vw, 24px);
  line-height: 1.15;
  white-space: nowrap;
}
.offer-desc { margin: 0; font-size: clamp(13.5px, 3.8vw, 15px); line-height: 1.35; color: var(--ink-2); }
.offer-price {
  padding-left: clamp(8px, 2.4vw, 12px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.price-main {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 6vw, 27px);
  white-space: nowrap;
  line-height: 1.1;
}
.price-main small { font-size: .7em; font-weight: 500; }
.price-alt { margin-top: 3px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.btn-choose {
  margin-top: 10px;
  min-width: 86px;
  padding: 7px 14px;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--rose-btn-a), var(--rose-btn-b));
  color: #fff;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(205, 135, 146, .35);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-choose svg { width: 15px; height: 15px; }
.btn-choose:active { transform: scale(.97); }

.offer.vip {
  margin-top: 12px;
  background: linear-gradient(180deg, #FBEDEC 0%, #F7E1E1 100%);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 211, 162, .35), 0 8px 26px rgba(190, 140, 110, .18);
}
.vip-ribbon {
  position: absolute; top: -15px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #D18E99, #BB7381);
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(187, 115, 129, .35);
}
.vip-ribbon svg { width: 14px; height: 14px; }
.offer.vip .btn-choose { background: linear-gradient(180deg, #B76D7D, #9A5464); box-shadow: 0 3px 10px rgba(154, 84, 100, .35); }
.offer.vip .offer-body, .offer.vip .offer-body { border-color: #EBCFC4; }

.offer.selected { border-color: var(--rose); box-shadow: 0 0 0 2px rgba(184, 111, 126, .25), var(--shadow); }
.offer.vip.selected { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(205, 170, 106, .55), 0 8px 26px rgba(190, 140, 110, .22); }
.offer.selected .btn-choose { background: linear-gradient(180deg, #A85F6F, #8E4B5B); }
.offer.pulse { animation: pulse .5s ease; }
@keyframes pulse { 50% { transform: scale(1.015); } }

/* ===== Bouton Commander ===== */
.btn-order {
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 28px);
  margin: 22px 14px 0;
  padding: 14px 26px;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #C4808D 0%, #A9606F 100%);
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(24px, 7vw, 30px);
  box-shadow: 0 8px 20px rgba(169, 96, 111, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-order span { flex: 1; text-align: center; }
.btn-order .ico { width: 30px; height: 30px; }
.btn-order:active { transform: scale(.985); }
.btn-order.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.order-hint { min-height: 20px; margin: 8px 0 0; text-align: center; font-size: 14px; color: var(--rose-dark); }

.pill-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content;
  margin: 6px auto 0;
  padding: 9px 22px;
  background: var(--blush-2);
  border-radius: 999px;
  font-size: 15px; color: var(--ink-2);
}
.pill-note svg { width: 22px; height: 22px; color: #8E6E72; }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 8px; color: #C79AA2; }
.divider span { width: 26%; height: 1px; background: #E4CACB; }
.divider svg { width: 24px; height: 24px; }
.legal { margin: 0; padding: 0 16px calc(26px + env(safe-area-inset-bottom)); text-align: center; font-size: 12.5px; color: var(--muted); }

/* ===== Écran Commande ===== */
.order-banner { position: relative; height: 92px; margin-top: -4px; }
.order-banner .wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.order-title {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0; padding-top: 14px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(30px, 8.6vw, 36px);
  color: #3A2B2F;
}
.order-title svg { width: 32px; height: 32px; color: #5A4246; }

.order-form { padding: 6px 16px calc(30px + env(safe-area-inset-bottom)); }

.summary {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.summary.vip { border-color: var(--gold); background: linear-gradient(180deg, #FBEDEC, #F8E4E3); }
.summary .offer-ico { width: 46px; height: 46px; border-radius: 14px; margin: 0; }
.summary .offer-ico svg { width: 26px; height: 26px; }
.summary-body { flex: 1; min-width: 0; }
.summary-name { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 19px; }
.summary-price { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.summary-edit {
  border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 6px 12px;
  font-size: 13.5px; color: var(--rose-dark);
}

.field { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.label {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px; padding: 0;
  font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink);
}
.label svg { width: 22px; height: 22px; color: #4A3A3E; flex: none; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  background: #FBF7F6;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .radio {
  flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #B9A4A7; background: #fff;
  display: grid; place-items: center;
}
.choice .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); transform: scale(0); transition: transform .15s; }
.choice:has(input:checked) { border-color: #C98893; background: linear-gradient(180deg, #FCF1F1, #F8E6E7); box-shadow: 0 2px 10px rgba(184, 111, 126, .12); }
.choice:has(input:checked) .radio { border-color: var(--rose); }
.choice:has(input:checked) .radio::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.choice-label { font-size: 15.5px; line-height: 1.2; color: var(--ink); }
.brand-ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.brand-ico svg { width: 20px; height: 20px; }
.brand-ico.tg { background: var(--tg); color: #fff; }
.brand-ico.tg svg { width: 17px; height: 17px; transform: translateX(-1px); }
.brand-ico.sc { background: var(--sc); border-radius: 8px; }
.brand-ico.sc svg { width: 22px; height: 22px; }
.brand-ico.ix { width: 36px; height: 34px; border-radius: 6px; background: #FDB913; }
.brand-ico.ix span { font-size: 9px; font-weight: 700; font-style: italic; color: #1a1a1a; letter-spacing: -.02em; transform: rotate(-8deg); }
.brand-ico.pp { width: 30px; height: 30px; border-radius: 0; }
.brand-ico.pp svg { width: 28px; height: 28px; }
.choices.single { grid-template-columns: 1fr; }

.input-wrap { position: relative; }
.input-at { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; }
.input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 32px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #FFFDFC;
  font: inherit; font-size: 16px; color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #B8A4A7; }
.input:placeholder-shown { padding-left: 14px; }
.input:placeholder-shown ~ .input-at { display: none; }
.input:focus { border-color: #C98893; box-shadow: 0 0 0 3px rgba(201, 136, 147, .18); }
.input[aria-invalid="true"] { border-color: #C0475E; }
.field-msg { min-height: 18px; margin: 6px 2px 0; font-size: 13px; color: var(--muted); }
.field-msg.err { color: #B23A52; }

.notice {
  display: flex; align-items: center; gap: 10px;
  margin: 24px 0 0;
  padding: 12px 14px;
  background: var(--blush);
  border-radius: 12px;
  font-size: 15px; color: var(--ink);
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--rose-dark); }

.pay-box {
  position: relative;
  margin-top: 12px;
  padding: 16px 14px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.pay-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 17px; }
.pay-cur { position: absolute; top: 12px; right: 12px; }
.pay-row {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pay-row:last-of-type { border-bottom: 0; }
.pay-ico { width: 22px; height: 22px; color: #5A4246; }
.pay-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pay-label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pay-value {
  display: inline-block; width: fit-content; max-width: 100%;
  padding: 4px 10px;
  background: var(--blush-2);
  border-radius: 999px;
  font-size: 15.5px; color: var(--ink);
  overflow-wrap: anywhere;
}
.pay-amount { font-weight: 700; }
.copy {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  border: 1px solid #E4C9CB; border-radius: 999px;
  background: #fff;
  font-size: 13px; color: var(--rose-dark);
}
.copy svg { width: 15px; height: 15px; }
.copy.done { background: var(--rose); border-color: var(--rose); color: #fff; }
@media (max-width: 430px) {
  .copy { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .copy svg { width: 18px; height: 18px; }
  .copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pay-value { font-size: 15px; padding: 4px 9px; }
}
.pay-help { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 20px 2px 0;
  font-size: 15px; line-height: 1.4; cursor: pointer;
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  flex: none;
  width: 22px; height: 22px; margin-top: 0;
  border: 1.5px solid #B9A4A7; border-radius: 6px; background: #fff;
  display: grid; place-items: center; color: #fff;
}
.check .box svg { width: 15px; height: 15px; opacity: 0; }
.check input:checked + .box { background: var(--rose); border-color: var(--rose); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid var(--rose); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { display: flex; justify-content: center; margin-top: 16px; min-height: 0; }
.turnstile:empty { display: none; }
.form-error { min-height: 0; margin: 12px 2px 0; font-size: 14px; color: #B23A52; text-align: center; }
.form-error:empty { display: none; }

.btn-paid {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%;
  margin-top: 18px;
  padding: 15px 20px;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #B97384 0%, #9E5767 100%);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(158, 87, 103, .32);
}
.btn-paid svg { width: 22px; height: 22px; }
.btn-paid:disabled { opacity: .55; cursor: default; }
.btn-paid.loading span::after { content: "…"; }
.small-print { margin: 12px 4px 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ===== Numéro de commande et statut ===== */
.cur-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 14px 2px 0;
  font-size: 14px; color: var(--ink-2);
}
.cur-row .pay-cur { position: static; }
.order-form.locked .choice, .order-form.locked .input, .order-form.locked .check { opacity: .62; }
.order-form.locked .choice { cursor: default; }
.pay-section { padding: 0 16px calc(30px + env(safe-area-inset-bottom)); scroll-margin-top: 12px; }
.order-chip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; margin: 0 auto 4px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FBEDEC, #F5DEDD);
  border: 1px solid var(--gold-2);
  font-family: var(--serif); font-size: 17px; color: var(--ink-2);
}
.order-chip strong { font-family: var(--sans); font-size: 18px; letter-spacing: .08em; color: var(--rose-dark); }
.pay-status {
  margin: 14px 2px 0; padding: 12px 14px;
  border-radius: 12px;
  background: #FFF8EC; border: 1px solid #F0DDB8;
  font-size: 14.5px; line-height: 1.45; color: #5C4A2E;
}
.btn-edit { display: block; margin: 8px auto 0; }
.done-status {
  display: inline-block; margin: 14px 0 0; padding: 8px 14px;
  border-radius: 999px; background: #FFF8EC; border: 1px solid #F0DDB8;
  font-size: 14px; color: #5C4A2E;
}
.privacy p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.nowrap { white-space: nowrap; }

/* ===== Confirmation ===== */
.done { padding: 16px 26px calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.done-badge {
  width: 84px; height: 84px; margin: 18px auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #F9E3E4, #EFC9CD);
  color: var(--rose-dark);
  box-shadow: 0 8px 22px rgba(184, 111, 126, .2);
}
.done-badge svg { width: 42px; height: 42px; }
.done-title { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 7.4vw, 32px); outline: none; }
.done-text { margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.done-sign { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--rose-dark); }
.done-recap {
  margin-top: 6px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  text-align: left; font-size: 14.5px; line-height: 1.7; color: var(--ink-2);
}
.done-recap strong { color: var(--ink); }

/* ===== Âge, menu, toast ===== */
.agegate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 20px 16px;
  background: rgba(243, 226, 223, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.agegate-card {
  width: 100%; max-width: 380px;
  padding: 28px 22px 18px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 26px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(150, 90, 100, .22);
}
.agegate-heart { width: 36px; height: 36px; margin: 6px auto 4px; color: var(--rose); }
.agegate-title { margin: 6px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.agegate-text { margin: 0 0 20px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.btn {
  border: 0; border-radius: 999px;
  padding: 14px 18px; font-size: 16.5px;
}
.btn-primary { background: linear-gradient(180deg, #C4808D, #A9606F); color: #fff; box-shadow: 0 6px 16px rgba(169, 96, 111, .3); }
.btn-block { width: 100%; }
.btn-link { margin-top: 10px; padding: 10px; border: 0; background: none; font-size: 14px; color: var(--muted); text-decoration: underline; }

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(60, 35, 40, .28);
  display: flex; justify-content: center; align-items: flex-end;
}
.sheet {
  width: 100%; max-width: 460px;
  max-height: 86vh; overflow-y: auto;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--page);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 40px rgba(120, 60, 70, .18);
  animation: up .25s ease;
}
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.sheet-sub { margin: 18px 0 8px; font-family: var(--serif); font-weight: 500; font-size: 18px; }
.steps, .facts { margin: 10px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.steps li, .facts li { margin-bottom: 6px; }
.steps li::marker { color: var(--rose); font-weight: 700; }
.facts li::marker { color: var(--rose); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px);
  padding: 10px 18px;
  background: #3A2B2F; color: #fff;
  border-radius: 999px;
  font-size: 14.5px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Très petits écrans */
@media (max-width: 359px) {
  .chips { flex-wrap: wrap; justify-content: center; }
  .offer-ico { width: 46px; height: 46px; }
  .offer-ico svg { width: 28px; height: 28px; }
  .offer-name { white-space: normal; }
  .choices { grid-template-columns: 1fr; }
  .pay-row { grid-template-columns: 1fr auto; }
  .pay-ico { display: none; }
  .pay-value { font-size: 14px; }
}

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