/* ─────────────────────────────────────────────────────────────
   Guides pour restaurateurs – mise en page éditoriale (préfixe gd-)
   S'ajoute à styles.css. Utilisé par les guides publiés à partir d'octobre 2026.
   ───────────────────────────────────────────────────────────── */
.gd-page { --gd-ink: #1b120c; --gd-paper: #fffdf8; --gd-stripe: #a8462c; --gd-chalk: #f3ecdf; --gd-board: #27302b; }
.gd-page main { overflow-x: clip; }

/* Barre de lecture */
.gd-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.gd-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ── En-tête ─────────────────────────────────────────────── */
.gd-hero { position: relative; padding: 28px 0 0; }
.gd-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.gd-crumbs { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.gd-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.gd-crumbs a:hover { color: var(--violet); border-color: currentColor; }
.gd-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a8622a; }
.gd-kicker::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.gd-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.025em; color: var(--gd-ink); margin: 0 0 22px; text-wrap: balance; }
.gd-hero h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.gd-chapo { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.gd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.gd-meta img { width: 38px; height: 38px; border-radius: 50%; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); }
.gd-meta-who { display: flex; align-items: center; gap: 10px; }
.gd-meta-who b { display: block; color: var(--text); font-weight: 600; }
.gd-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }

/* Ticket de caisse (visuel d'en-tête) */
.gd-tickets { position: relative; display: grid; justify-items: center; padding: 0 0 130px; }
.gd-ticket { position: relative; width: min(100%, 300px); background: var(--gd-paper); color: var(--gd-ink); padding: 22px 22px 26px; font-family: 'Space Grotesk', var(--font); font-size: 13.5px; box-shadow: 0 30px 60px -30px rgba(70, 42, 24, .45), 0 0 0 1px var(--line);
  -webkit-mask: radial-gradient(7px 6px at 7px 100%, transparent 98%, #000) -7px 100% / 14px 8px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 7px) no-repeat; }
.gd-ticket--old { transform: rotate(-6deg) translate(-78px, -10px); opacity: .9; filter: saturate(.6); }
.gd-ticket--new { position: absolute; top: 120px; transform: rotate(3deg) translate(82px, 0); }
.gd-ticket-head { text-align: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed rgba(27, 18, 12, .3); }
.gd-ticket-head b { display: block; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.gd-ticket-head small { color: #8a7563; }
.gd-ticket-row { display: flex; gap: 8px; align-items: baseline; margin: 7px 0; }
.gd-ticket-row span:nth-child(2) { flex: 1; border-bottom: 1px dotted rgba(27, 18, 12, .3); transform: translateY(-3px); }
.gd-ticket-total { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(27, 18, 12, .3); font-weight: 600; font-size: 15px; }
.gd-ticket--old .gd-ticket-total b { color: #b5452f; }
.gd-ticket--new .gd-ticket-total b { color: #4f6b2c; }
.gd-stamp { display: table; margin: 16px auto 0; transform: rotate(-6deg); border: 2px solid #4f6b2c; color: #4f6b2c; border-radius: 8px; padding: 3px 9px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 253, 248, .85); }

/* Store rayé sous l'en-tête */
.gd-awning { height: 46px; margin-top: 46px; background: repeating-linear-gradient(90deg, #ead9bf 0 40px, var(--gd-stripe) 40px 80px);
  -webkit-mask: radial-gradient(20px 12px at 20px 34px, #000 98%, transparent) 0 0 / 40px 46px repeat-x, linear-gradient(#000, #000) 0 0 / 100% 34px no-repeat;
          mask: radial-gradient(20px 12px at 20px 34px, #000 98%, transparent) 0 0 / 40px 46px repeat-x, linear-gradient(#000, #000) 0 0 / 100% 34px no-repeat; }

/* ── Corps : sommaire + article ──────────────────────────── */
.gd-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 80px); padding-top: 56px; padding-bottom: 40px; }
.gd-toc { position: sticky; top: 28px; align-self: start; font-size: 14px; }
.gd-toc b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.gd-toc ol { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: toc; border-left: 1px solid var(--line-2); }
.gd-toc li { counter-increment: toc; }
.gd-toc ol a { display: grid; grid-template-columns: 22px 1fr; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.gd-toc ol a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; color: var(--dim); padding-top: 2px; }
.gd-toc ol a:hover { color: var(--text); }
.gd-toc ol a.is-active { color: var(--gd-ink); border-left-color: var(--violet); font-weight: 500; }
.gd-toc-cta { display: block; padding: 14px 16px; border-radius: 14px; background: var(--gd-ink); color: #fff; text-decoration: none; font-size: 13.5px; line-height: 1.4; }
.gd-toc-cta span { display: block; color: #f6c56b; font-weight: 600; margin-top: 4px; }

.gd-article { font-size: 17.5px; line-height: 1.75; color: #3b2a1f; }
.gd-article > p { margin: 0 0 1.15em; }
.gd-article h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; color: var(--gd-ink); margin: 2.4em 0 .7em; scroll-margin-top: 24px; }
.gd-article h2 .gd-num { display: block; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: #a8622a; margin-bottom: 10px; }
.gd-article a:not([class]) { color: #a8432a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gd-article strong { color: var(--gd-ink); }

/* L'essentiel : ardoise */
.gd-board { position: relative; margin: 0 0 1.5em; padding: 28px 30px 26px; border-radius: 16px; background: radial-gradient(120% 90% at 20% 0%, #34403a, var(--gd-board)); color: var(--gd-chalk);
  box-shadow: inset 0 0 0 7px #6b4128, inset 0 0 0 9px #3c2a1e, 0 30px 60px -36px rgba(27, 18, 12, .6); }
.gd-board b { display: block; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 32px; font-weight: 600; line-height: 1; margin-bottom: 14px; }
.gd-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16.5px; line-height: 1.55; }
.gd-board li { position: relative; padding-left: 28px; }
.gd-board li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #f6c56b; font-weight: 700; }
.gd-board strong { color: #fff; }

/* Citation */
.gd-quote { margin: 1.6em 0; padding: 0 0 0 26px; border-left: 3px solid; border-image: var(--grad) 1; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; color: var(--gd-ink); }

/* Calculateur */
.gd-calc { margin: 1.6em 0; border-radius: 22px; background: var(--gd-paper); box-shadow: 0 0 0 1px var(--line-2), 0 34px 70px -46px rgba(70, 42, 24, .55); overflow: hidden; }
.gd-calc-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: linear-gradient(100deg, rgba(240, 180, 90, .2), rgba(200, 71, 94, .1)); border-bottom: 1px solid var(--line); }
.gd-calc-head b { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--gd-ink); }
.gd-calc-head small { display: block; font-size: 13px; color: var(--muted); }
.gd-calc-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 20px; }
.gd-calc-body { display: grid; grid-template-columns: 1fr 1fr; }
.gd-calc-in { display: grid; gap: 16px; padding: 22px 24px; border-right: 1px solid var(--line); }
.gd-calc label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.gd-calc input[type="number"], .gd-calc select { width: 100%; font: inherit; font-size: 17px; color: var(--gd-ink); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; }
.gd-calc input:focus, .gd-calc select:focus { outline: 2px solid rgba(217, 102, 59, .35); outline-offset: 1px; border-color: #d9663b; }
.gd-calc-unit { position: relative; }
.gd-calc-unit::after { content: attr(data-unit); position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 14px; pointer-events: none; }
.gd-calc input[type="range"] { width: 100%; accent-color: #d9663b; }
.gd-calc-range { display: flex; justify-content: space-between; font-size: 13.5px; }
.gd-calc-range output { font-weight: 600; color: var(--gd-ink); }
.gd-calc-out { display: grid; align-content: center; gap: 18px; padding: 22px 24px; background: linear-gradient(180deg, rgba(243, 234, 221, .5), transparent); }
.gd-res small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.gd-res b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.1; color: var(--gd-ink); font-variant-numeric: tabular-nums; }
.gd-res--hot b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-calc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* Étapes */
.gd-steps { list-style: none; margin: 1.4em 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.gd-steps li { counter-increment: st; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: 26px; }
.gd-steps li::before { content: counter(st); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gd-paper); box-shadow: 0 0 0 1px var(--line-2); font-family: var(--font-display); font-size: 22px; color: #a8432a; position: relative; z-index: 1; }
.gd-steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.gd-steps b { display: block; font-size: 18px; color: var(--gd-ink); margin: 12px 0 4px; }
.gd-steps span { display: block; font-size: 16px; color: var(--muted); line-height: 1.6; }

/* Comparatif */
.gd-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0; }
.gd-vs-col { border-radius: 20px; padding: 24px; font-size: 15.5px; line-height: 1.5; }
.gd-vs-col h3 { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gd-vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gd-vs-col li { position: relative; padding-left: 26px; }
.gd-vs-col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.gd-vs-old { background: rgba(70, 42, 24, .045); color: var(--muted); }
.gd-vs-old h3 { color: var(--dim); }
.gd-vs-old li::before { content: "–"; color: var(--dim); }
.gd-vs-new { background: var(--gd-ink); color: rgba(255, 255, 255, .82); box-shadow: 0 30px 60px -36px rgba(27, 18, 12, .7); }
.gd-vs-new h3 { color: #f6c56b; }
.gd-vs-new li::before { content: "✓"; color: #f6c56b; }
.gd-vs-new strong { color: #fff; }

/* Encart démo */
.gd-try { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 1.8em 0; padding: 20px 22px; border-radius: 18px; border: 1px dashed rgba(217, 102, 59, .5); background: rgba(240, 180, 90, .08); }
.gd-try-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.gd-try b { display: block; color: var(--gd-ink); font-size: 16.5px; line-height: 1.35; }
.gd-try span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; margin-top: 3px; }

/* Cartes « passer en direct » */
.gd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.4em 0 1.6em; }
.gd-tile { position: relative; padding: 22px; border-radius: 18px; background: var(--gd-paper); box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.gd-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -30px rgba(70, 42, 24, .5); }
.gd-tile i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); font-style: normal; font-size: 21px; margin-bottom: 14px; }
.gd-tile h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--gd-ink); }
.gd-tile p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Fiche client (exemple) */
.gd-split { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: center; margin: 1em 0 1.4em; }
.gd-split p { margin: 0 0 1em; }
.gd-card-client { padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 30px 50px -34px rgba(70, 42, 24, .55); font-size: 13.5px; line-height: 1.4; transform: rotate(1.5deg); }
.gd-card-client header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gd-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 600; }
.gd-card-client header b { display: block; color: var(--gd-ink); font-size: 15px; }
.gd-card-client header small { color: var(--muted); }
.gd-card-client dl { margin: 0; display: grid; gap: 8px; }
.gd-card-client dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 9px; background: rgba(243, 234, 221, .55); }
.gd-card-client dt { color: var(--muted); }
.gd-card-client dd { margin: 0; color: var(--gd-ink); font-weight: 500; text-align: right; }
.gd-card-client .gd-warn { color: #b5452f; }
.gd-card-client figcaption { margin-top: 10px; font-size: 11.5px; color: var(--dim); text-align: center; }

/* Encart module */
.gd-module { position: relative; margin: 2.4em 0; padding: clamp(26px, 4vw, 40px); border-radius: 26px; overflow: hidden; color: rgba(255, 255, 255, .8); background: radial-gradient(80% 120% at 100% 0%, rgba(217, 102, 59, .45), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(200, 71, 94, .3), transparent 60%), var(--gd-ink); }
.gd-module .gd-kicker { color: #f6c56b; }
.gd-module h3 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 500; font-size: clamp(25px, 3vw, 32px); line-height: 1.15; color: #fff; max-width: 18em; }
.gd-module ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; font-size: 15.5px; line-height: 1.5; }
.gd-module li { position: relative; padding-left: 24px; }
.gd-module li::before { content: "✦"; position: absolute; left: 0; top: 0; color: #f6c56b; }
.gd-module strong { color: #fff; }
.gd-module-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.gd-module-btns a:not(.btn) { color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* FAQ */
.gd-faq { display: grid; gap: 10px; margin: 1.2em 0 1.6em; }
.gd-faq details { border-radius: 16px; background: var(--gd-paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s; }
.gd-faq details[open] { box-shadow: 0 0 0 1px rgba(217, 102, 59, .45), 0 20px 40px -32px rgba(70, 42, 24, .5); }
.gd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; color: var(--gd-ink); line-height: 1.4; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft); color: #a8432a; font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
.gd-faq details[open] summary::after { transform: rotate(45deg); }
.gd-faq details p { margin: 0; padding: 0 22px 20px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* À lire aussi */
.gd-next { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--gd-paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease); }
.gd-next:hover { transform: translateY(-2px); }
.gd-next small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.gd-next b { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--gd-ink); line-height: 1.25; }
.gd-next span:last-child { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 18px; }

/* Demande de démo */
.gd-lead { margin-top: 40px; padding: clamp(50px, 7vw, 90px) 0; background: linear-gradient(180deg, transparent, rgba(243, 234, 221, .8) 20%); }
.gd-lead-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.gd-lead h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; color: var(--gd-ink); margin: 0 0 16px; }
.gd-lead h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-lead-pitch > p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.gd-lead-pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gd-lead-pitch li { display: flex; gap: 10px; align-items: center; color: var(--text); }
.gd-lead-pitch li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(127, 155, 85, .18); color: #4f6b2c; font-size: 13px; font-weight: 700; }
.gd-lead-card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(70, 42, 24, .6); }
.gd-lead-card .lead-form { margin: 0; max-width: none; }
.gd-lead-card .lead-grid input { font-size: 16px; }
.gd-lead-card .btn { width: 100%; justify-content: center; }

/* Apparition douce */
@media (prefers-reduced-motion: no-preference) {
  .gd-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .gd-reveal.is-in { opacity: 1; transform: none; }
  .gd-ticket--new { animation: gdDrop .9s .25s var(--ease) both; }
  @keyframes gdDrop { from { opacity: 0; transform: rotate(10deg) translate(80px, -30px); } }
}

/* ── Tablette / mobile ───────────────────────────────────── */
@media (max-width: 1020px) {
  .gd-layout { grid-template-columns: minmax(0, 720px); }
  .gd-toc { position: static; }
  .gd-toc ol { display: flex; gap: 8px; overflow-x: auto; border: 0; margin: 0; padding-bottom: 4px; scrollbar-width: none; }
  .gd-toc li { flex: none; }
  .gd-toc ol a { display: block; padding: 8px 14px; margin: 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--gd-paper); white-space: nowrap; font-size: 13.5px; }
  .gd-toc ol a::before { content: none; }
  .gd-toc ol a.is-active { border-color: var(--violet); }
  .gd-toc b, .gd-toc-cta { display: none; }
}
@media (max-width: 860px) {
  .gd-hero-in { grid-template-columns: 1fr; }
  .gd-tickets { padding: 0 0 120px; }
  .gd-lead-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gd-article { font-size: 17px; }
  .gd-calc-body, .gd-vs, .gd-tiles, .gd-module ul { grid-template-columns: 1fr; }
  .gd-calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .gd-split { grid-template-columns: 1fr; }
  .gd-card-client { transform: none; max-width: 320px; }
  .gd-try { grid-template-columns: auto 1fr; }
  .gd-try .btn { grid-column: 1 / -1; justify-content: center; }
  .gd-ticket { width: 250px; font-size: 12.5px; padding: 18px 18px 22px; }
  .gd-ticket--old { transform: rotate(-5deg) translate(-36px, 0); }
  .gd-ticket--new { top: 110px; transform: rotate(3deg) translate(36px, 0); }
  .gd-board { padding: 24px 22px 22px; }
  .gd-lead-card .lead-grid { grid-template-columns: 1fr; }
}

/* ── Ajouts du guide no-show (novembre 2026) ─────────────── */
/* Visuel d'en-tête : chevalet « Réservé » + téléphone avec rappel */
.gd-remind { position: relative; display: grid; justify-items: center; padding: 0 0 96px; }
.gd-phone { position: relative; z-index: 1; width: 262px; padding: 11px; border-radius: 40px; background: var(--gd-ink); box-shadow: 0 40px 70px -34px rgba(27, 18, 12, .65), inset 0 0 0 2px #3c2a1e; transform: rotate(4deg) translateX(46px); }
.gd-phone-screen { position: relative; min-height: 400px; padding: 44px 13px 18px; border-radius: 30px; overflow: hidden; color: #fff; background: radial-gradient(90% 60% at 80% 0%, rgba(217, 102, 59, .55), transparent 70%), radial-gradient(80% 60% at 0% 100%, rgba(200, 71, 94, .35), transparent 70%), linear-gradient(180deg, #34403a, #1f2722); }
.gd-phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: var(--gd-ink); }
.gd-phone-day { display: block; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .75); }
.gd-phone-time { display: block; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 58px; line-height: 1; margin: 2px 0 22px; letter-spacing: -.02em; }
.gd-notif { padding: 12px 13px 13px; border-radius: 18px; background: rgba(255, 253, 248, .94); color: var(--gd-ink); font-size: 12.5px; line-height: 1.45; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); }
.gd-notif-top { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 11px; color: #8a7563; text-transform: uppercase; letter-spacing: .06em; }
.gd-notif-top img { width: 18px; height: 18px; border-radius: 5px; }
.gd-notif-top em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; }
.gd-notif b { display: block; font-size: 13px; margin-bottom: 2px; }
.gd-notif-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.gd-notif-btns span { padding: 7px 0; border-radius: 10px; text-align: center; font-weight: 600; font-size: 12px; background: rgba(70, 42, 24, .07); color: #8a4a2c; }
.gd-notif-btns .gd-ok { background: #4f6b2c; color: #fff; }
.gd-notif--done { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.gd-notif--done i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(127, 155, 85, .22); color: #4f6b2c; font-style: normal; font-size: 12px; }
.gd-placard { position: absolute; left: 50%; bottom: 0; z-index: 2; width: 200px; margin-left: -200px; padding: 16px 16px 20px; text-align: center; background: var(--gd-paper); color: var(--gd-ink); border-radius: 6px 6px 3px 3px; box-shadow: 0 28px 44px -26px rgba(70, 42, 24, .6), 0 0 0 1px var(--line); transform: rotate(-7deg); }
.gd-placard::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -9px; height: 9px; border-radius: 0 0 6px 6px; background: #e2d3bb; }
.gd-placard b { display: block; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 46px; font-weight: 600; line-height: .9; color: var(--gd-stripe); }
.gd-placard small { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(27, 18, 12, .3); font-family: 'Space Grotesk', var(--font); font-size: 12.5px; color: #6b5444; }
.gd-remind-note { position: absolute; bottom: 30px; right: 4%; font-size: 11.5px; color: var(--dim); }

/* Exemple de message de rappel */
.gd-msg { margin: 0; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 30px 50px -34px rgba(70, 42, 24, .55); font-size: 14px; line-height: 1.5; transform: rotate(-1.5deg); }
.gd-msg header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gd-msg header img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-2); }
.gd-msg header b { display: block; color: var(--gd-ink); font-size: 14.5px; line-height: 1.25; }
.gd-msg header small { color: var(--muted); font-size: 12px; }
.gd-msg-bubble { margin: 0; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: rgba(243, 234, 221, .7); color: var(--gd-ink); }
.gd-msg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.gd-msg-btns span { padding: 8px 0; border-radius: 10px; text-align: center; font-weight: 600; font-size: 13px; box-shadow: 0 0 0 1px var(--line-2); color: #8a4a2c; }
.gd-msg-btns .gd-ok { background: #4f6b2c; color: #fff; box-shadow: none; }
.gd-msg figcaption { margin-top: 10px; font-size: 11.5px; color: var(--dim); text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .gd-notif--done { animation: gdPop .7s 1.1s var(--ease) both; }
  @keyframes gdPop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
}
@media (max-width: 640px) {
  .gd-phone { width: 230px; transform: rotate(3deg) translateX(34px); }
  .gd-phone-screen { min-height: 360px; }
  .gd-phone-time { font-size: 50px; }
  .gd-notif-top em { display: none; }
  .gd-placard { width: 168px; margin-left: -168px; bottom: 0; }
  .gd-placard b { font-size: 38px; }
  .gd-msg { transform: none; max-width: 340px; }
}

/* ── Ajouts du guide réservation 24h/24 (novembre 2026) ──── */
/* Visuel d'en-tête : rail à bons avec des réservations reçues à toute heure + appel manqué */
.gd-rail { position: relative; padding: 18px 0 112px; }
.gd-rail-bar { position: relative; z-index: 2; height: 14px; margin: 0 -6px; border-radius: 8px; background: linear-gradient(180deg, #ece6dc, #a59c90 55%, #d7cfc3); box-shadow: 0 6px 14px -6px rgba(27, 18, 12, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.gd-rail-bons { display: flex; justify-content: center; gap: 12px; margin-top: -5px; }
.gd-bon { position: relative; flex: 0 1 136px; padding: 16px 13px 20px; background: var(--gd-paper); color: var(--gd-ink); font-family: 'Space Grotesk', var(--font); font-size: 12.5px; line-height: 1.45; transform-origin: 50% 0; box-shadow: 0 26px 40px -26px rgba(70, 42, 24, .55), 0 0 0 1px var(--line);
  -webkit-mask: radial-gradient(6px 5px at 6px 100%, transparent 98%, #000) -6px 100% / 12px 7px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 6px) no-repeat;
          mask: radial-gradient(6px 5px at 6px 100%, transparent 98%, #000) -6px 100% / 12px 7px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 6px) no-repeat; }
.gd-bon:nth-child(1) { transform: rotate(-3deg); }
.gd-bon:nth-child(2) { transform: rotate(2deg); margin-top: 6px; }
.gd-bon:nth-child(3) { transform: rotate(-1.5deg); }
.gd-bon small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8a7563; }
.gd-bon b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; margin: 2px 0 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(27, 18, 12, .3); }
.gd-bon span { display: block; }
.gd-bon i { display: inline-block; margin-top: 10px; padding: 2px 8px; border-radius: 6px; border: 1.5px solid #4f6b2c; color: #4f6b2c; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg); }
.gd-bon-moon { position: absolute; top: 12px; right: 12px; font-size: 15px; }
.gd-missed { position: absolute; left: 4%; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--gd-ink); color: #fff; box-shadow: 0 24px 40px -22px rgba(27, 18, 12, .7); transform: rotate(-4deg); }
.gd-missed i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #c8475e; font-style: normal; font-size: 16px; }
.gd-missed b { display: block; font-size: 14px; line-height: 1.2; }
.gd-missed small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.gd-rail-note { position: absolute; right: 4%; bottom: 44px; font-size: 11.5px; color: var(--dim); }

@media (prefers-reduced-motion: no-preference) {
  .gd-bon { animation: gdSwing 1s var(--ease) both; }
  .gd-bon:nth-child(2) { animation-delay: .15s; }
  .gd-bon:nth-child(3) { animation-delay: .3s; }
  .gd-missed { animation: gdPop .7s .9s var(--ease) both; }
  @keyframes gdSwing { from { opacity: 0; transform: translateY(-14px) rotate(6deg); } }
  @keyframes gdPop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
}
@media (max-width: 640px) {
  .gd-rail { padding-bottom: 104px; }
  .gd-rail-bons { gap: 8px; }
  .gd-bon { flex-basis: 108px; padding: 13px 10px 17px; font-size: 11.5px; }
  .gd-bon b { font-size: 27px; }
  .gd-bon-moon { top: 9px; right: 8px; font-size: 13px; }
  .gd-missed { left: 0; bottom: 30px; padding: 10px 14px 10px 10px; }
  .gd-rail-note { right: 0; bottom: 8px; }
}

/* ── Ajouts du guide plan de salle (novembre 2026) ───────── */
/* Visuel d'en-tête : plan de salle vu de dessus, tables réservées / arrivées / libres + réservation glissée */
.gd-floor { position: relative; margin: 0; padding: 18px; border-radius: 22px; background: var(--gd-paper); box-shadow: 0 0 0 1px var(--line-2), 0 40px 70px -42px rgba(70, 42, 24, .6); transform: rotate(1deg); font-family: 'Space Grotesk', var(--font); }
.gd-floor-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gd-floor-head b { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--gd-ink); }
.gd-floor-head small { color: var(--muted); font-size: 12.5px; }
.gd-floor-count { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--gd-ink); color: #f6c56b; font-size: 12px; font-weight: 600; }
.gd-floor-room { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 14px; padding: 22px 16px 16px; border-radius: 14px; background: repeating-linear-gradient(90deg, rgba(168, 98, 42, .05) 0 22px, rgba(168, 98, 42, .09) 22px 23px), #f7efe3; box-shadow: inset 0 0 0 2px rgba(27, 18, 12, .12); }
.gd-floor-room::before { content: "Fenêtres"; position: absolute; top: -1px; left: 14%; right: 14%; height: 5px; border-radius: 0 0 4px 4px; background: #9cc3d5; font-size: 0; }
.gd-tbl { position: relative; display: grid; place-content: center; text-align: center; min-height: 58px; padding: 6px 4px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1.5px rgba(27, 18, 12, .28); font-size: 11px; line-height: 1.25; color: var(--muted); }
.gd-tbl::before, .gd-tbl::after { content: ""; position: absolute; left: 50%; width: 22px; height: 5px; margin-left: -11px; border-radius: 3px; background: rgba(27, 18, 12, .22); }
.gd-tbl::before { top: -9px; } .gd-tbl::after { bottom: -9px; }
.gd-tbl b { display: block; font-size: 13px; color: var(--gd-ink); }
.gd-tbl--round { border-radius: 50%; aspect-ratio: 1; min-height: 0; width: 64px; justify-self: center; }
.gd-tbl--wide { grid-column: span 2; }
.gd-tbl.is-booked { background: var(--gd-ink); color: rgba(255, 255, 255, .78); box-shadow: none; }
.gd-tbl.is-booked b { color: #f6c56b; }
.gd-tbl.is-here { background: #4f6b2c; color: rgba(255, 255, 255, .85); box-shadow: none; }
.gd-tbl.is-here b { color: #fff; }
.gd-tbl.is-target { background: rgba(240, 180, 90, .16); box-shadow: 0 0 0 2px #d9663b; outline: 2px dashed #d9663b; outline-offset: 4px; }
.gd-floor-bar { grid-column: 1 / -1; padding: 8px; border-radius: 8px; background: rgba(27, 18, 12, .08); text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gd-floor-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--muted); }
.gd-floor-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gd-floor-legend span::before { content: ""; width: 11px; height: 11px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1.5px rgba(27, 18, 12, .28); }
.gd-floor-legend .l-booked::before { background: var(--gd-ink); box-shadow: none; }
.gd-floor-legend .l-here::before { background: #4f6b2c; box-shadow: none; }
.gd-floor-drag { position: absolute; z-index: 3; left: -22px; bottom: -22px; display: flex; align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: var(--gd-ink); font-size: 13px; line-height: 1.25; box-shadow: 0 0 0 1px var(--line-2), 0 26px 40px -20px rgba(27, 18, 12, .55); transform: rotate(-5deg); }
.gd-floor-drag i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; font-style: normal; font-size: 15px; }
.gd-floor-drag small { display: block; color: var(--muted); font-size: 11.5px; }
.gd-floor figcaption { margin-top: 8px; font-size: 11.5px; color: var(--dim); text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .gd-floor-drag { animation: gdDrag 1.1s .5s var(--ease) both; }
  @keyframes gdDrag { from { opacity: 0; transform: translate(60px, -40px) rotate(8deg); } }
}
@media (max-width: 640px) {
  .gd-floor { transform: none; padding: 14px; }
  .gd-floor-room { gap: 20px 9px; padding: 20px 10px 12px; }
  .gd-tbl { font-size: 10px; min-height: 52px; }
  .gd-tbl--round { width: 54px; }
  .gd-floor-drag { left: -4px; bottom: -22px; }
}
