:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.guest-body {
  --guest-accent: #1e4e45;
  min-height: 100vh;
  background: #f7f2e9;
  color: #252c29;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.guest-shell { min-height: 100vh; }
.guest-preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: #fff4cf;
  color: #654e09;
  border-bottom: 1px solid rgba(101,78,9,.12);
  font-size: 12px;
}
.guest-preview-banner span { opacity: .8; }
.guest-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.03em;
}
.guest-logo img { width: 31px; height: 31px; }
.guest-language { display: flex; align-items: center; gap: 4px; }
.guest-language a {
  min-width: 32px;
  padding: 6px 7px;
  border-radius: 9px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}
.guest-language a.active,
.guest-language a:hover { background: rgba(255,255,255,.16); color: #fff; }
.guest-richtext {
  color: #59635f;
  line-height: 1.75;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.guest-richtext p:first-child { margin-top: 0; }
.guest-richtext p:last-child { margin-bottom: 0; }
.guest-richtext strong { color: #252c29; }
.guest-richtext ul,
.guest-richtext ol { padding-left: 22px; }
.guest-richtext li + li { margin-top: .35em; }

/* ------------------------------------------------------------
   TL · document continu et imprimable
   ------------------------------------------------------------ */
.guest-view-tl { background: #e9e6df; }
.guest-document-toolbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 52px);
  background: color-mix(in srgb, var(--guest-accent) 95%, #000);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20,37,32,.18);
}
.guest-view-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.guest-view-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  color: rgba(255,255,255,.74);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}
.guest-view-links a.active,
.guest-view-links a:hover { background: rgba(255,255,255,.15); color: #fff; }
.guest-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.guest-print-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: #fff;
  color: var(--guest-accent);
  text-decoration: none;
  cursor: pointer;
  font: 800 11px/1 Manrope, sans-serif;
}
.guest-print-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.guest-print-document {
  width: min(210mm, calc(100% - 28px));
  min-height: 297mm;
  margin: 30px auto 54px;
  padding: 18mm 17mm 15mm;
  background: #fff;
  box-shadow: 0 26px 70px -38px rgba(28,45,39,.58);
}
.guest-print-cover {
  position: relative;
  overflow: hidden;
  min-height: 86mm;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 17mm 15mm 13mm;
  color: #fff;
  background: var(--guest-accent);
  page-break-after: avoid;
}
.guest-print-cover::before {
  content: "";
  position: absolute;
  width: 105mm;
  height: 105mm;
  right: -32mm;
  top: -49mm;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 43% 57% 59% 41% / 55% 42% 58% 45%;
  transform: rotate(21deg);
}
.guest-print-brand {
  position: absolute;
  left: 15mm;
  top: 12mm;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.guest-print-brand img { width: 29px; height: 29px; filter: brightness(0) invert(1); }
.guest-print-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 4mm;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 800;
  opacity: .72;
}
.guest-print-cover h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 145mm;
  font: 650 42pt/.92 Fraunces, Georgia, serif;
  letter-spacing: -.04em;
}
.guest-print-cover > p {
  position: relative;
  z-index: 1;
  margin: 4mm 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.guest-print-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4mm;
  margin-top: 9mm;
  padding-top: 5mm;
  border-top: 1px solid rgba(255,255,255,.24);
}
.guest-print-facts span { display: flex; flex-direction: column; gap: 1mm; font-size: 10px; color: rgba(255,255,255,.85); }
.guest-print-facts strong { text-transform: uppercase; letter-spacing: .08em; font-size: 7px; color: rgba(255,255,255,.58); }
.guest-print-toc {
  display: grid;
  grid-template-columns: 35mm 1fr;
  gap: 6mm;
  margin: 10mm 0 7mm;
  padding: 6mm 0;
  border-top: 1px solid #e2e5e2;
  border-bottom: 1px solid #e2e5e2;
}
.guest-print-toc > strong { font: 650 19px/1.1 Fraunces, Georgia, serif; color: var(--guest-accent); }
.guest-print-toc ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2mm 8mm; counter-reset: toc; list-style: none; }
.guest-print-toc li { position: relative; padding-left: 8mm; font-size: 10px; color: #53605b; counter-increment: toc; }
.guest-print-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; color: var(--guest-accent); font-weight: 800; }
.guest-print-sections { display: block; }
.guest-print-section {
  padding: 8mm 0 7mm;
  border-bottom: 1px solid #e4e7e5;
  break-inside: avoid-page;
  page-break-inside: avoid;
}
.guest-print-section > header {
  display: grid;
  grid-template-columns: 10mm 10mm 1fr;
  align-items: center;
  gap: 3mm;
  margin-bottom: 4mm;
}
.guest-print-section > header > span { color: #9aa5a0; font: 700 9px/1 Manrope, sans-serif; }
.guest-print-section > header > i {
  width: 9mm;
  height: 9mm;
  display: grid;
  place-items: center;
  border-radius: 3mm;
  background: color-mix(in srgb, var(--guest-accent) 10%, #fff);
  color: var(--guest-accent);
  font-size: 14px;
}
.guest-print-section h2 { margin: 0; font: 650 23px/1.05 Fraunces, Georgia, serif; letter-spacing: -.02em; color: #24302c; }
.guest-print-section .guest-richtext { margin-left: 23mm; font-size: 11px; line-height: 1.68; }
.guest-print-footer {
  display: flex;
  justify-content: space-between;
  gap: 10mm;
  margin-top: 10mm;
  padding-top: 5mm;
  border-top: 1px solid #dfe4e1;
  color: #818b87;
  font-size: 8px;
}
.guest-print-footer strong { color: var(--guest-accent); }

/* ------------------------------------------------------------
   TS · mini-site responsive
   ------------------------------------------------------------ */
.guest-site-shell { background: #f7f2e9; }
.guest-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 0 clamp(18px, 4vw, 58px);
  background: color-mix(in srgb, var(--guest-accent) 96%, #000);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20,37,32,.14);
}
.guest-topbar-actions { display: flex; align-items: center; gap: 12px; }
.guest-topbar-booklet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}
.guest-topbar-booklet:hover { background: rgba(255,255,255,.12); }
.guest-cover {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: clamp(54px, 9vw, 112px) clamp(20px, 7vw, 110px) 56px;
  color: #fff;
  background: var(--guest-accent);
}
.guest-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(255,255,255,.20), transparent 34%), linear-gradient(145deg, transparent 20%, rgba(0,0,0,.18));
}
.guest-cover-shape {
  position: absolute;
  width: min(52vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 47% 53% 38% 62% / 50% 37% 63% 50%;
  right: -12vw;
  top: -45%;
  transform: rotate(18deg);
}
.guest-cover-content { position: relative; z-index: 2; max-width: 900px; }
.guest-kicker { text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; opacity: .72; }
.guest-cover h1 { margin: 10px 0 4px; font: 650 clamp(44px, 8vw, 92px)/.94 Fraunces, Georgia, serif; letter-spacing: -.04em; }
.guest-cover p { margin: 12px 0 0; font-size: clamp(16px, 2vw, 22px); color: rgba(255,255,255,.82); }
.guest-stay-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.guest-stay-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 11px;
  font-weight: 700;
}
.guest-site-mobile-nav {
  display: none;
  width: 100%;
  overflow-x: auto;
  gap: 7px;
  padding: 12px 14px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(35,45,41,.08);
  scrollbar-width: none;
}
.guest-site-mobile-nav::-webkit-scrollbar { display: none; }
.guest-site-mobile-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3eee5;
  color: #4e5c57;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}
.guest-layout {
  width: min(1280px, calc(100% - 32px));
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.guest-section-nav {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(35,45,41,.10);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 22px 54px -48px rgba(29,48,42,.48);
  backdrop-filter: blur(16px);
}
.guest-section-nav > strong { padding: 5px 8px 10px; font: 600 18px/1.1 Fraunces, Georgia, serif; }
.guest-section-nav a {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  align-items: center;
  gap: 7px;
  padding: 9px 8px;
  border-radius: 10px;
  color: #68716d;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.guest-section-nav a:hover { color: var(--guest-accent); background: #f5f0e7; }
.guest-section-nav small { opacity: .45; text-align: right; }
.guest-content { display: grid; gap: 18px; min-width: 0; }
.guest-content.is-site { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guest-section {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(35,45,41,.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 54px -46px rgba(29,48,42,.5);
  scroll-margin-top: 90px;
}
.guest-content.is-site .guest-section:first-child,
.guest-content.is-site .guest-section:nth-child(4n) { grid-column: span 2; }
.guest-section-number {
  position: absolute;
  right: 22px;
  top: 15px;
  color: color-mix(in srgb, var(--guest-accent) 13%, transparent);
  font: 700 56px/1 Fraunces, Georgia, serif;
}
.guest-section-title { position: relative; display: flex; align-items: center; gap: 13px; padding-right: 48px; }
.guest-section-title > span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--guest-accent) 11%, #fff);
  color: var(--guest-accent);
}
.guest-section-title h2 { margin: 0; font: 650 clamp(25px, 3vw, 36px)/1.05 Fraunces, Georgia, serif; letter-spacing: -.02em; }
.guest-section .guest-richtext { position: relative; margin-top: 22px; }
.guest-footer {
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(35,45,41,.12);
  color: #7b827f;
  font-size: 11px;
}
.guest-footer strong { color: var(--guest-accent); }

/* Accès indisponible */
.guest-app { min-height: 100vh; }
.guest-unavailable .guest-hero { padding: 48px 22px 44px; background: var(--guest-accent, #1e4e45); color: #fbf6ee; border-radius: 0 0 34px 34px; }
.guest-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; margin-bottom: 28px; }
.guest-brand img { height: 34px; }
.guest-title { font: 650 42px/1 Fraunces, Georgia, serif; margin: 8px 0; }
.guest-sub { margin: 0; color: rgba(251,246,238,.82); max-width: 620px; }
.guest-main { width: min(720px, calc(100% - 28px)); margin: 18px auto; }
.guest-card { background: #fff; border: 1px solid rgba(42,37,33,.1); border-radius: 24px; padding: 22px; }
.guest-card h2 { font: 650 25px/1.1 Fraunces, Georgia, serif; margin: 0 0 10px; }
.guest-card p { color: #71675f; line-height: 1.5; }

@media (max-width: 960px) {
  .guest-document-toolbar { grid-template-columns: auto 1fr; }
  .guest-view-links { justify-content: flex-start; }
  .guest-toolbar-actions { grid-column: 1 / -1; justify-content: space-between; padding-top: 2px; border-top: 1px solid rgba(255,255,255,.10); }
  .guest-layout { grid-template-columns: 1fr; margin-top: 0; width: min(100% - 24px, 1280px); }
  .guest-section-nav { display: none; }
  .guest-site-mobile-nav { display: flex; position: sticky; z-index: 20; top: 66px; }
  .guest-content.is-site { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guest-topbar-booklet span { display: none; }
}
@media (max-width: 720px) {
  .guest-document-toolbar { position: relative; grid-template-columns: 1fr; gap: 9px; }
  .guest-document-toolbar .guest-logo { justify-self: center; }
  .guest-view-links { justify-content: center; }
  .guest-toolbar-actions { width: 100%; }
  .guest-print-document { width: 100%; min-height: 0; margin: 0; padding: 18px 16px 28px; box-shadow: none; }
  .guest-print-cover { min-height: 310px; padding: 44px 25px 28px; }
  .guest-print-brand { left: 25px; top: 24px; }
  .guest-print-cover h1 { font-size: clamp(42px, 13vw, 64px); }
  .guest-print-facts { grid-template-columns: 1fr; gap: 8px; }
  .guest-print-facts span { padding-top: 7px; border-top: 1px solid rgba(255,255,255,.14); }
  .guest-print-toc { grid-template-columns: 1fr; }
  .guest-print-toc ol { grid-template-columns: 1fr; }
  .guest-print-section .guest-richtext { margin-left: 0; }
  .guest-print-section > header { grid-template-columns: 28px 38px 1fr; }
  .guest-print-footer { flex-direction: column; }

  .guest-topbar { min-height: 62px; padding: 0 14px; }
  .guest-topbar-actions { gap: 5px; }
  .guest-topbar-booklet { min-width: 38px; padding: 0 10px; }
  .guest-site-mobile-nav { top: 62px; }
  .guest-cover { min-height: 300px; padding: 52px 18px 42px; }
  .guest-cover h1 { font-size: clamp(43px, 15vw, 62px); }
  .guest-layout { width: min(100% - 18px, 1280px); }
  .guest-content.is-site { grid-template-columns: 1fr; }
  .guest-content.is-site .guest-section:first-child,
  .guest-content.is-site .guest-section:nth-child(4n) { grid-column: auto; }
  .guest-section { padding: 23px 18px; border-radius: 20px; scroll-margin-top: 118px; }
  .guest-section-title h2 { font-size: 28px; }
  .guest-footer { width: calc(100% - 24px); flex-direction: column; }
  .guest-language a { min-width: 28px; padding: 5px; }
}

@page { size: A4 portrait; margin: 12mm 14mm 14mm; }
@media print {
  html, body { width: auto; min-height: 0; background: #fff !important; }
  .guest-document-toolbar,
  .guest-preview-banner,
  .guest-topbar,
  .guest-site-mobile-nav,
  .guest-section-nav,
  .guest-footer { display: none !important; }
  .guest-print-document {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: #fff;
  }
  .guest-print-cover {
    min-height: 80mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .guest-print-section { break-inside: avoid-page; page-break-inside: avoid; }
  .guest-print-section .guest-richtext { color: #303a36; }
  .guest-print-footer { display: flex; }

  /* Un mini-site imprimé bascule aussi vers une lecture linéaire propre. */
  .guest-site-shell { background: #fff; }
  .guest-cover {
    min-height: 65mm;
    padding: 16mm 12mm 10mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .guest-layout { display: block; width: auto; margin: 8mm 0 0; }
  .guest-content.is-site { display: block; }
  .guest-section { break-inside: avoid-page; page-break-inside: avoid; margin: 0 0 6mm; padding: 6mm; box-shadow: none; border-radius: 0; }
}

/* ------------------------------------------------------------
   009.5 · simulateur, navigation active et confort voyageur
   ------------------------------------------------------------ */
.guest-preview-simulator {
  position: relative;
  z-index: 60;
  background: #fff8df;
  color: #5c4810;
  border-bottom: 1px solid rgba(92,72,16,.16);
  font-size: 12px;
}
.guest-preview-simulator > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px clamp(16px, 4vw, 52px);
  cursor: pointer;
  list-style: none;
}
.guest-preview-simulator > summary::-webkit-details-marker { display: none; }
.guest-preview-simulator > summary > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.guest-preview-simulator > summary small { font-weight: 500; opacity: .72; }
.guest-preview-simulator[open] > summary > .bi-chevron-down { transform: rotate(180deg); }
.guest-preview-simulator > form {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(2, minmax(130px, .7fr)) minmax(170px, 1fr) minmax(140px, .8fr) minmax(130px, .7fr) repeat(5, minmax(78px, .35fr)) auto;
  align-items: end;
  gap: 10px;
  padding: 12px clamp(16px, 4vw, 52px) 16px;
  border-top: 1px solid rgba(92,72,16,.10);
}
.guest-preview-copy { align-self: center; display: grid; gap: 3px; padding-right: 12px; }
.guest-preview-copy strong { font-size: 13px; }
.guest-preview-copy span { color: rgba(92,72,16,.75); line-height: 1.35; }
.guest-preview-simulator label { display: grid; gap: 4px; min-width: 0; }
.guest-preview-simulator label > span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.guest-preview-simulator input,
.guest-preview-simulator select {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(92,72,16,.22);
  border-radius: 10px;
  padding: 7px 9px;
  background: #fff;
  color: #342b12;
  font: 600 11px/1.2 Manrope, sans-serif;
}
.guest-preview-simulator button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  padding: 0 13px;
  background: #5c4810;
  color: #fff;
  cursor: pointer;
  font: 800 10px/1 Manrope, sans-serif;
  white-space: nowrap;
}
.guest-scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}
.guest-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--guest-accent) 52%, #fff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .08s linear;
}
.guest-section-nav a.is-active,
.guest-site-mobile-nav a.is-active {
  color: var(--guest-accent);
  background: color-mix(in srgb, var(--guest-accent) 10%, #fff);
}
.guest-section-nav a.is-active { box-shadow: inset 3px 0 0 var(--guest-accent); }
.guest-back-to-top {
  position: fixed;
  z-index: 35;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--guest-accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(25,42,36,.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.guest-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.guest-richtext a { color: var(--guest-accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
.guest-richtext a:hover { text-decoration-thickness: .14em; }

@media (max-width: 1280px) {
  .guest-preview-simulator > form { grid-template-columns: repeat(6, minmax(100px, 1fr)); }
  .guest-preview-copy { grid-column: 1 / -1; }
  .guest-preview-simulator button { min-height: 38px; }
}
@media (max-width: 720px) {
  .guest-preview-simulator > summary { align-items: flex-start; }
  .guest-preview-simulator > summary small { width: 100%; padding-left: 24px; }
  .guest-preview-simulator > form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guest-preview-copy,
  .guest-preview-simulator label.is-grow,
  .guest-preview-simulator button { grid-column: 1 / -1; }
}
@media print {
  .guest-preview-simulator,
  .guest-scroll-progress,
  .guest-back-to-top { display: none !important; }
}

/* ------------------------------------------------------------
   009.5.4 · identité du bien, média Hero et itinéraire
   ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.guest-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--guest-hero-focus-x, 50%) var(--guest-hero-focus-y, 50%);
}
.guest-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,18,15,calc(var(--guest-hero-overlay, .34) + .18)) 0%, rgba(4,18,15,var(--guest-hero-overlay, .34)) 52%, rgba(4,18,15,calc(var(--guest-hero-overlay, .34) * .70)) 100%);
  pointer-events: none;
}
.guest-print-cover,
.guest-cover { isolation: isolate; }
.guest-print-cover .guest-hero-media,
.guest-cover .guest-hero-media { z-index: 0; }
.guest-print-cover .guest-hero-overlay,
.guest-cover .guest-hero-overlay { z-index: 1; }
.guest-print-cover.has-media::before { z-index: 2; opacity: .60; pointer-events: none; }
.guest-cover.has-media .guest-cover-shape { z-index: 2; opacity: .60; pointer-events: none; }
.guest-print-cover.has-media,
.guest-cover.has-media { text-shadow: 0 2px 22px rgba(0,0,0,.18); }
.guest-cover.has-media::after {
  z-index: 2;
  background: radial-gradient(circle at 78% 20%, rgba(255,255,255,.16), transparent 34%);
}
.guest-cover-shape { z-index: 2; pointer-events: none; }
.guest-cover-content { z-index: 3; }
.guest-print-brand,
.guest-print-kicker,
.guest-print-cover > p,
.guest-print-facts,
.guest-print-cover .guest-property-identity { z-index: 3; }

.guest-property-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(9px, 1.4vw, 15px);
  min-width: 0;
}
.guest-property-identity.is-logo_name { gap: clamp(6px, 1vw, 11px); }
.guest-property-name { overflow-wrap: anywhere; }
.guest-property-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(520px, 86vw);
  border-radius: 17px;
}
.guest-property-logo.is-light {
  padding: clamp(10px, 1.8vw, 18px) clamp(12px, 2vw, 21px);
  background: rgba(255,255,255,.93);
  box-shadow: 0 16px 42px rgba(0,0,0,.20);
}
.guest-property-logo.is-dark {
  padding: clamp(10px, 1.8vw, 18px) clamp(12px, 2vw, 21px);
  background: rgba(13,34,29,.89);
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
}
.guest-property-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: clamp(70px, 12vw, 145px);
  object-fit: contain;
}
.guest-property-identity.is-logo_name .guest-property-logo img { max-height: clamp(52px, 8vw, 96px); }
.guest-print-cover .guest-property-logo { max-width: 130mm; border-radius: 4mm; }
.guest-print-cover .guest-property-logo.is-light,
.guest-print-cover .guest-property-logo.is-dark { padding: 4mm 5mm; }
.guest-print-cover .guest-property-logo img { max-height: 31mm; }
.guest-print-cover .guest-property-identity.is-logo_name .guest-property-logo img { max-height: 21mm; }
.guest-print-cover .guest-property-identity.is-logo_name h1 { font-size: 31pt; }
.guest-cover .guest-property-identity.is-logo_name h1 { font-size: clamp(34px, 5.8vw, 72px); }

.guest-print-address { overflow-wrap: anywhere; }
.guest-print-address small { display: none; }
.guest-stay-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font: 700 11px/1.35 Manrope, sans-serif;
  text-decoration: none;
}
.guest-stay-facts > span { display: inline-flex; }
.guest-stay-facts > .guest-stay-fact { margin: 0; }
.guest-map-fact {
  max-width: min(620px, 100%);
  border: 1px solid rgba(255,255,255,.24);
  cursor: pointer;
  text-align: left;
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
button.guest-map-fact { appearance: none; font: 700 11px/1.35 Manrope, sans-serif; }
.guest-map-fact span { min-width: 0; overflow-wrap: anywhere; }
.guest-map-fact > i:last-child { flex: 0 0 auto; margin-left: 2px; opacity: .78; }
.guest-map-fact:hover,
.guest-map-fact:focus-visible {
  background: rgba(255,255,255,.21);
  border-color: rgba(255,255,255,.45);
  transform: translateY(-1px);
  outline: none;
}
.guest-map-fact.is-static { cursor: default; }

body.guest-map-open { overflow: hidden; }
.guest-map-modal[hidden] { display: none !important; }
.guest-map-modal {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  overscroll-behavior: contain;
}
.guest-map-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,31,27,.68);
  backdrop-filter: blur(8px);
}
.guest-map-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 25px;
  background: #fffdf8;
  box-shadow: 0 32px 90px rgba(3,19,15,.34);
}
.guest-map-modal-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--guest-accent) 9%, #fff), #fffdf8);
  border-bottom: 1px solid #e6e3dc;
}
.guest-map-modal-panel > header > div { min-width: 0; }
.guest-map-modal-panel > header span { color: var(--guest-accent); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.guest-map-modal-panel > header h2 { margin: 4px 0 5px; color: #26332f; font: 650 28px/1.05 Fraunces, Georgia, serif; }
.guest-map-modal-panel > header p { margin: 0; color: #6f7975; font-size: 11px; line-height: 1.5; }
.guest-map-modal-panel > header button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe4e1;
  border-radius: 12px;
  background: #fff;
  color: #52625d;
  cursor: pointer;
}
.guest-map-address { display: flex; align-items: flex-start; gap: 10px; margin: 16px 18px 0; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--guest-accent) 8%, #fff); color: var(--guest-accent); }
.guest-map-address i { margin-top: 1px; font-size: 18px; }
.guest-map-address span { color: #34453f; font-size: 11px; font-weight: 750; line-height: 1.45; }
.guest-map-apps { display: grid; gap: 8px; min-height: 0; overflow-y: auto; padding: 14px 18px 18px; }
.guest-map-apps a {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid #e0e5e2;
  border-radius: 15px;
  background: #fff;
  color: #33463f;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.guest-map-apps a:hover,
.guest-map-apps a:focus-visible { border-color: color-mix(in srgb, var(--guest-accent) 48%, #fff); background: color-mix(in srgb, var(--guest-accent) 5%, #fff); transform: translateY(-1px); outline: none; }
.guest-map-apps a > i:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #edf2ef; color: var(--guest-accent); font-size: 18px; }
.guest-map-apps a > span { display: grid; gap: 2px; }
.guest-map-apps strong { font-size: 12px; }
.guest-map-apps small { color: #7b8581; font-size: 9px; }
.guest-map-apps a > i:last-child { color: #89938f; }
.guest-map-modal-panel > footer { display: flex; justify-content: space-between; gap: 8px; padding: 12px 18px; border-top: 1px solid #e5e8e6; background: #fafaf8; }
.guest-map-modal-panel > footer button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid #dce2df; border-radius: 11px; background: #fff; color: #43564f; cursor: pointer; font: 800 10px/1 Manrope, sans-serif; }
.guest-map-modal-panel > footer button:first-child { border-color: color-mix(in srgb, var(--guest-accent) 30%, #fff); background: color-mix(in srgb, var(--guest-accent) 8%, #fff); color: var(--guest-accent); }
.guest-map-modal-panel > footer button.is-copied { background: #e6f4ed; color: #1b654e; }

@media (max-width: 720px) {
  .guest-property-logo { max-width: 88vw; }
  .guest-property-logo img { max-height: 92px; }
  .guest-property-identity.is-logo_name .guest-property-logo img { max-height: 70px; }
  .guest-stay-facts { align-items: stretch; }
  .guest-map-fact { width: 100%; justify-content: flex-start; border-radius: 14px; }
  .guest-map-fact > i:last-child { margin-left: auto; }
  .guest-map-modal { align-items: flex-end; padding: 0; }
  .guest-map-modal-panel { width: 100%; max-height: min(86dvh, 720px); margin: auto 0 0; border-radius: 25px 25px 0 0; border-bottom: 0; }
  .guest-map-modal-panel::before { content: ""; flex: 0 0 auto; width: 42px; height: 4px; margin: 9px auto -5px; border-radius: 99px; background: #d3d9d6; }
  .guest-map-modal-panel > header { padding: 18px 17px 14px; }
  .guest-map-modal-panel > header h2 { font-size: 25px; }
  .guest-map-address { margin: 13px 14px 0; }
  .guest-map-apps { padding: 12px 14px 15px; }
  .guest-map-modal-panel > footer { padding: 11px 14px max(11px, env(safe-area-inset-bottom)); }
}

@media print {
  .guest-hero-media,
  .guest-hero-overlay { display: block !important; }
  .guest-print-cover.has-media,
  .guest-cover.has-media { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .guest-map-modal { display: none !important; }
  .guest-property-logo.is-light,
  .guest-property-logo.is-dark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ------------------------------------------------------------
   009.5.6 · typographie et couleurs configurables du Hero
   ------------------------------------------------------------ */
.guest-body {
  --guest-title-color: #fff;
  --guest-hero-text-color: #fff;
  --guest-title-font: Fraunces, Georgia, serif;
}
.guest-title-font-editorial { --guest-title-font: Fraunces, Georgia, serif; }
.guest-title-font-classic { --guest-title-font: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; }
.guest-title-font-modern { --guest-title-font: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.guest-title-font-rounded { --guest-title-font: "Trebuchet MS", "Avenir Next", Manrope, system-ui, sans-serif; }

/* Le sélecteur global h1 des tokens Staysy impose la couleur d'encre. Cette
   règle locale est volontairement explicite afin que le rendu public reste
   identique à l'aperçu de l'atelier, avec ou sans image Hero. */
.guest-property-name {
  color: var(--guest-title-color, #fff);
}
/* Les couvertures définissent historiquement la police via le raccourci
   `font` sur leur h1, avec une spécificité supérieure à la classe du nom.
   Ces sélecteurs ciblés garantissent que le choix publié reste prioritaire. */
.guest-cover .guest-property-name,
.guest-print-cover .guest-property-name {
  font-family: var(--guest-title-font);
}
.guest-print-kicker,
.guest-cover .guest-kicker { color: var(--guest-hero-text-color, #fff); }
.guest-print-cover > p,
.guest-cover-content > p {
  color: var(--guest-hero-text-color, #fff);
  opacity: .84;
}
.guest-stay-fact { color: var(--guest-hero-text-color, #fff); }
.guest-print-facts span {
  color: var(--guest-hero-text-color, #fff);
  opacity: .86;
}
.guest-print-facts strong {
  color: var(--guest-hero-text-color, #fff);
  opacity: .64;
}

/* ------------------------------------------------------------
   009.5.10 · impression Apple/Safari préparée et isolée
   ------------------------------------------------------------ */
.guest-print-mode {
  min-height: 100%;
  background: #f1eee8;
}
.guest-print-launcher {
  position: sticky;
  z-index: 55;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(30,78,69,.16);
  background: #fffdf8;
  color: #26332f;
  box-shadow: 0 10px 26px rgba(20,37,32,.10);
}
.guest-print-launcher > div:first-child { display: grid; gap: 3px; min-width: 0; }
.guest-print-launcher strong { font-size: 12px; }
.guest-print-launcher span { color: #6f7975; font-size: 10px; line-height: 1.4; }
.guest-print-launcher > div:last-child { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.guest-print-launcher button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(30,78,69,.18);
  border-radius: 12px;
  background: #fff;
  color: var(--guest-accent);
  cursor: pointer;
  font: 800 10px/1 Manrope, sans-serif;
}
.guest-print-launcher button:first-child { background: var(--guest-accent); color: #fff; }
.guest-print-launcher button:disabled { cursor: wait; opacity: .62; }
.guest-print-launcher.is-ready strong { color: var(--guest-accent); }
.guest-print-mode .guest-document-toolbar,
.guest-print-mode .guest-preview-simulator { display: none; }
.guest-print-mode .guest-print-document { margin-top: 18px; }
.guest-print-preparing .guest-print-launcher strong::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(30,78,69,.22);
  border-top-color: var(--guest-accent);
  border-radius: 50%;
  animation: guest-print-spin .7s linear infinite;
}
.guest-printing .guest-print-launcher { opacity: .58; pointer-events: none; }
@keyframes guest-print-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .guest-print-launcher { position: relative; align-items: stretch; flex-direction: column; }
  .guest-print-launcher > div:last-child { width: 100%; }
  .guest-print-launcher button { flex: 1 1 0; }
  .guest-print-mode .guest-print-document { margin-top: 0; }
}

@media print {
  html,
  body,
  .guest-body,
  .guest-shell,
  .guest-booklet-shell,
  .guest-print-document,
  .guest-print-sections {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html,
  body,
  .guest-body,
  .guest-booklet-shell,
  .guest-print-document,
  .guest-print-sections {
    display: block !important;
    background: #fff !important;
  }
  body {
    margin: 0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .guest-print-launcher,
  .guest-document-toolbar,
  .guest-preview-banner,
  .guest-preview-simulator,
  .guest-scroll-progress,
  .guest-back-to-top,
  .guest-map-modal { display: none !important; }
  .guest-print-document {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    filter: none !important;
    contain: none !important;
    isolation: auto !important;
    box-shadow: none !important;
    will-change: auto !important;
  }
  .guest-print-document,
  .guest-print-document * {
    animation: none !important;
    transition: none !important;
  }
  .guest-print-document img {
    max-width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
  }
  .guest-print-cover {
    isolation: auto !important;
    contain: none !important;
    transform: none !important;
    filter: none !important;
    break-inside: avoid-page;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .guest-print-cover .guest-hero-media,
  .guest-print-cover .guest-hero-overlay {
    display: block !important;
    transform: none !important;
    filter: none !important;
  }
  .guest-print-toc,
  .guest-print-footer {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }
  .guest-print-section,
  .guest-section {
    break-inside: auto !important;
    page-break-inside: auto !important;
    overflow: visible !important;
  }
  .guest-print-section > header,
  .guest-section-title,
  .guest-richtext h2,
  .guest-richtext h3,
  .guest-richtext h4 {
    break-inside: avoid-page;
    page-break-inside: avoid;
    break-after: avoid-page;
    page-break-after: avoid;
  }
  .guest-richtext figure,
  .guest-richtext img,
  .guest-richtext table,
  .guest-richtext pre,
  .guest-richtext blockquote {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }
  .guest-richtext p,
  .guest-richtext li {
    orphans: 3;
    widows: 3;
  }
}

/* 009.5.13 — préférences privées d’aperçu stockées en MariaDB */
body.is-private-preview{--private-preview-width:100%;max-width:var(--private-preview-width);margin-inline:auto;min-height:100vh;box-shadow:0 0 70px rgba(20,45,39,.16);transform-origin:top center}
body.is-private-preview.preview-device-mobile{--private-preview-width:430px}
body.is-private-preview.preview-device-tablet{--private-preview-width:820px}
body.is-private-preview.preview-device-desktop{--private-preview-width:100%}
@supports (zoom:1){body.is-private-preview{zoom:var(--private-preview-zoom,1)}}
@media print{body.is-private-preview{max-width:none;box-shadow:none;zoom:1}}

/* 009.5.16.6 — aperçu privé du livret : grille réellement responsive */
.guest-preview-simulator > form {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}
.guest-preview-copy {
  grid-column: span 2;
  min-width: min(100%, 240px);
  padding-right: 0;
}
.guest-preview-simulator label.is-grow {
  grid-column: span 2;
}
.guest-preview-simulator > form > label:nth-last-of-type(-n+5) {
  min-width: 0;
}
.guest-preview-simulator button {
  justify-self: start;
  min-width: 180px;
}
@media (min-width: 1360px) {
  .guest-preview-simulator > form {
    grid-template-columns:
      minmax(240px, 1.7fr)
      repeat(4, minmax(132px, .85fr))
      repeat(5, minmax(84px, .42fr))
      auto;
  }
  .guest-preview-copy {
    grid-column: 1 / span 2;
    padding-right: 10px;
  }
}
@media (max-width: 980px) {
  .guest-preview-copy,
  .guest-preview-simulator label.is-grow,
  .guest-preview-simulator button {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .guest-preview-simulator > form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 009.5.16.6 — le bug visuel est limité à l'aperçu privé, pas au livret livré */
body.is-private-preview.guest-view-tl {
  background: #ece8df;
}
body.is-private-preview.guest-view-tl .guest-document-toolbar {
  padding-inline: clamp(14px, 2.8vw, 34px);
}
body.is-private-preview.guest-view-tl .guest-print-document {
  width: min(210mm, calc(100% - 24px));
  min-height: auto;
  margin: 18px auto 28px;
}
@media (max-width: 1100px) {
  body.is-private-preview.guest-view-tl .guest-print-document {
    width: calc(100% - 18px);
    padding: 14mm 12mm 12mm;
  }
}

/* 009.5.16.6b — correctif final du simulateur dans un aperçu contraint.
   Les media queries classiques utilisent la largeur du navigateur, pas celle
   du body simulé (430/820 px). On cible donc explicitement l'appareil choisi. */
body.is-private-preview.preview-device-mobile .guest-preview-simulator > form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding-inline: 14px !important;
}
body.is-private-preview.preview-device-mobile .guest-preview-copy,
body.is-private-preview.preview-device-mobile .guest-preview-simulator label.is-grow,
body.is-private-preview.preview-device-mobile .guest-preview-simulator button {
  grid-column: 1 / -1 !important;
}
body.is-private-preview.preview-device-mobile .guest-preview-simulator button {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}
body.is-private-preview.preview-device-mobile .guest-preview-simulator > summary {
  padding-inline: 14px;
}
body.is-private-preview.preview-device-mobile .guest-preview-simulator > summary small {
  width: 100%;
  padding-left: 24px;
}

body.is-private-preview.preview-device-tablet .guest-preview-simulator > form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.is-private-preview.preview-device-tablet .guest-preview-copy,
body.is-private-preview.preview-device-tablet .guest-preview-simulator label.is-grow {
  grid-column: span 2 !important;
}
body.is-private-preview.preview-device-tablet .guest-preview-simulator button {
  min-width: 0;
  width: 100%;
}

body.is-private-preview.preview-device-desktop .guest-preview-simulator > form {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
}
body.is-private-preview.preview-device-desktop .guest-preview-copy {
  grid-column: span 2 !important;
}
body.is-private-preview.preview-device-desktop .guest-preview-simulator label.is-grow {
  grid-column: span 2 !important;
}

/* Empêche tout enfant du simulateur de forcer un débordement horizontal. */
body.is-private-preview .guest-preview-simulator,
body.is-private-preview .guest-preview-simulator > form,
body.is-private-preview .guest-preview-simulator label,
body.is-private-preview .guest-preview-simulator input,
body.is-private-preview .guest-preview-simulator select,
body.is-private-preview .guest-preview-simulator button {
  max-width: 100%;
}
body.is-private-preview {
  overflow-x: hidden;
}

/* 009.5.17 — sept langues voyageur sans débordement de la barre d’outils */
.guest-language {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.guest-language::-webkit-scrollbar { display: none; }
.guest-language a { flex: 0 0 auto; }
.guest-toolbar-actions,
.guest-topbar-actions { min-width: 0; }


/* 009.5.21 — avertissement explicite de traduction partielle en aperçu privé */
.guest-preview-translation-warning{position:relative;z-index:59;display:flex;align-items:flex-start;gap:10px;padding:11px clamp(16px,4vw,52px);background:#FFF1E8;border-bottom:1px solid #EDC1AC;color:#7E351F;font-size:12px}
.guest-preview-translation-warning>i{font-size:16px;margin-top:1px}.guest-preview-translation-warning div{display:grid;gap:2px}.guest-preview-translation-warning strong{font-weight:850}.guest-preview-translation-warning span{line-height:1.4}
@media print{.guest-preview-translation-warning{display:none!important}}

/* 009.5.33 — accusé de réception voyageur, distinct du statut Twilio. */
.guest-receipt-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  width: min(1180px, calc(100% - clamp(28px, 7vw, 96px)));
  margin: clamp(24px, 5vw, 54px) auto;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--guest-accent) 24%, #d9e1dd);
  border-radius: 24px;
  background: color-mix(in srgb, #fff 94%, var(--guest-accent));
  box-shadow: 0 18px 52px rgba(16, 37, 31, .11);
  color: #17372f;
  overflow: hidden;
}
.guest-receipt-card::after {
  content: "";
  position: absolute;
  inset: auto -72px -92px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--guest-accent) 12%, transparent);
  pointer-events: none;
}
.guest-receipt-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--guest-accent);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--guest-accent) 28%, transparent);
  font-size: 24px;
}
.guest-receipt-copy { position: relative; z-index: 1; display: grid; gap: 5px; }
.guest-receipt-eyebrow {
  color: color-mix(in srgb, var(--guest-accent) 82%, #17372f);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.guest-receipt-copy h2 { margin: 0; color: #17372f; font-family: Manrope, sans-serif; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.15; }
.guest-receipt-copy > p { margin: 0; color: #52675f; font-size: 14px; line-height: 1.55; }
.guest-receipt-card form { position: relative; z-index: 1; }
.guest-receipt-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 17px;
  border: 0;
  border-radius: 14px;
  background: var(--guest-accent);
  color: #fff;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--guest-accent) 24%, transparent);
  font: 800 13px/1.25 Manrope, sans-serif;
  cursor: pointer;
}
.guest-receipt-card button:hover { transform: translateY(-1px); }
.guest-receipt-card button:focus-visible { outline: 3px solid color-mix(in srgb, var(--guest-accent) 32%, transparent); outline-offset: 3px; }
.guest-receipt-card button:disabled { cursor: wait; opacity: .72; transform: none; }
.guest-receipt-card.is-acknowledged { border-color: color-mix(in srgb, #2c8a67 34%, #d9e1dd); background: color-mix(in srgb, #f3fbf7 96%, var(--guest-accent)); }
.guest-receipt-card.is-acknowledged .guest-receipt-icon { background: #2c8a67; }
.guest-receipt-error { color: #a33f35 !important; font-weight: 700; }
.guest-receipt-error[hidden] { display: none !important; }
.guest-booklet-shell > .guest-receipt-card { width: min(1040px, calc(100% - clamp(28px, 7vw, 96px))); }
@media (max-width: 760px) {
  .guest-receipt-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; border-radius: 20px; }
  .guest-receipt-card form { grid-column: 1 / -1; width: 100%; }
  .guest-receipt-card button { width: 100%; }
}
@media (max-width: 430px) {
  .guest-receipt-card { width: calc(100% - 28px); padding: 18px; gap: 13px; }
  .guest-receipt-icon { width: 46px; height: 46px; border-radius: 15px; font-size: 21px; }
}
@media print { .guest-receipt-card { display: none !important; } }
