/* Page Carte cadeau (/carte-cadeau) : reproduction du design de revisiondojo.com/gift-card (relevé le 20/10/2026) :
   formulaire en étapes à gauche (défile à part), grand aperçu de la carte à droite. Générée par server/tools/cadeau-page.py. */
.gc-body { margin: 0; background: #fcfcfc; }
.gc { display: grid; grid-template-columns: 410px minmax(0, 1fr); height: 100vh; height: 100dvh; }
.gc-form { overflow-y: auto; padding: 44px 32px 40px; background: #fff; border-right: 1px solid #ececec; }
.gc-top { display: flex; gap: 10px; align-items: flex-start; }
.gc-back { margin-top: 2px; font-size: 26px; line-height: 24px; color: #a3a3a3; }
.gc-top h1 { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 28px; line-height: 34px; color: var(--ink); }
.gc-incl { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: #737373; text-decoration: underline; text-underline-offset: 3px; }
.gc-steps { list-style: none; margin: 30px 0 0; padding: 0; }
.gc-steps > li { position: relative; padding: 0 0 34px 44px; }
.gc-steps > li::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: #ececec; }
.gc-steps > li:last-child::before { display: none; }
.gc-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f3e8ff; color: #9333ea; font-size: 15px; }
.gc-steps h2 { margin: 4px 0 18px; font-size: 18px; font-weight: 500; color: var(--ink); }
.gc-designs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gc-d { position: relative; aspect-ratio: 108 / 68; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--a), var(--b)); }
.gc-d img { position: absolute; right: -8%; bottom: -30%; width: 75%; }
.gc-d i { position: absolute; top: 5px; right: 5px; display: none; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #0a0a0a; font-style: normal; font-size: 11px; font-weight: 700; }
.gc-d.on { border-color: #0a0a0a; } .gc-d.on i { display: grid; }
.gc-opts { display: grid; gap: 8px; } .gc-opts.two { grid-template-columns: 1fr 1fr; }
.gc-opts button { height: 46px; padding: 0 12px; text-align: left; border: 2px solid transparent; border-radius: 12px; background: #f5f5f5; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.gc-opts button.on { border-color: #9333ea; background: #faf5ff; }
.gc-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: #a3a3a3; }
.gc-or::before, .gc-or::after { content: ''; flex: 1; height: 1px; background: #ececec; }
.gc-sum { margin-top: 18px; border: 1px solid #ececec; border-radius: 12px; }
.gc-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 14px; color: #525252; }
.gc-sum > div + div { border-top: 1px solid #ececec; font-weight: 600; color: var(--ink); }
.gc-help { margin: 12px 0 0; font-size: 12.5px; color: #737373; }
.gc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.gc-steps label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 500; color: #404040; }
.gc-steps input, .gc-steps textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1.5px solid #e5e5e5; border-radius: 10px; font: 400 15px var(--sans); color: var(--ink); outline: none; resize: vertical; }
.gc-steps input:focus, .gc-steps textarea:focus { border-color: #9333ea; box-shadow: 0 0 0 3px rgba(147,51,234,.12); }
.gc-steps small { font-size: 12px; font-weight: 400; color: #a3a3a3; text-align: right; }
.gc-go { width: 100%; height: 52px; border: 0; border-radius: 14px; background: #9333ea; color: #fff; font: 500 17px var(--sans); }
.gc-go:disabled { opacity: .55; cursor: not-allowed; }
.gc-soon { margin: 12px 0 0; font-size: 13px; line-height: 19px; color: #737373; text-align: center; } .gc-soon a { color: #9333ea; }
.gc-view { display: grid; place-items: center; padding: 40px; perspective: 1200px; }
.gc-card { position: relative; width: min(480px, 90%); aspect-ratio: 478 / 298; border-radius: 22px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 30px 60px -24px rgba(30,0,80,.45); transition: transform .2s ease-out; }
.gc-art { position: absolute; right: 4%; top: 12%; width: 52%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.gc-glow { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(255,255,255,.28)); }
.gc-logo { position: absolute; left: 22px; top: 20px; height: 32px; filter: brightness(0) invert(1); }
.gc-pill { position: absolute; right: 20px; top: 20px; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 999px; font-family: var(--display); font-size: 15px; font-weight: 600; }
.gc-foot { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--display); }
.gc-foot b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.8px; line-height: 32px; } .gc-foot small { font-size: 16px; font-weight: 600; }
.gc-foot span { font-size: 16px; font-weight: 600; }
.gc-to { position: absolute; left: 22px; top: 64px; margin: 0; font-family: var(--display); font-size: 15px; font-weight: 600; opacity: .9; }
@media (max-width: 860px) {
  .gc { grid-template-columns: 1fr; height: auto; }
  .gc-view { order: -1; padding: 24px 16px 8px; } .gc-form { overflow: visible; padding: 24px 16px 40px; border-right: 0; }
  .gc-two { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .gc-logo { height: 22px; left: 16px; top: 16px; } .gc-pill { right: 14px; top: 14px; padding: 4px 10px; font-size: 12.5px; }
  .gc-foot { left: 16px; right: 16px; bottom: 12px; } .gc-foot b { font-size: 22px; line-height: 24px; } .gc-foot small, .gc-foot span { font-size: 13px; } }
