/* ===================================================================
   Sagamite -- "Offrez l'expérience" gift card block.
   Shared by index.html (under « Trois tables, un territoire ») and
   restaurants.html (under « Trouvez votre table »).
   =================================================================== */
.gift {
  max-width: 1200px;
  margin: clamp(48px, 6vw, 88px) auto 0;
  padding: 0 clamp(24px, 4vw, 72px);
}
.gift--flush { max-width: none; padding: 0; }

.gift-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(36px, 5vw, 72px);
  border-radius: 18px;
  background: var(--black, #0b1012);
  color: #fff;
}
/* warm ember glow + hairline gold frame */
.gift-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(200,164,100,.18), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(176,144,104,.10), transparent 70%);
}
.gift-panel::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(200,164,100,.16);
}

.gift-kicker {
  display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-family: var(--ff-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase; color: var(--gold, #c8a464);
}
.gift-kicker::before { content: '◆'; font-size: .5em; }

.gift-title {
  margin: 0 0 20px;
  font-family: var(--ff-sans); font-weight: 300;
  font-size: clamp(30px, 3.1vw, 54px); letter-spacing: -.03em; line-height: 1.05;
  color: var(--taupe, #d4cec6);
}
.gift-text {
  max-width: 46ch; margin: 0;
  font-family: var(--ff-sans); font-size: clamp(15px, 1.05vw, 17px); line-height: 1.72;
  color: rgba(255,255,255,.72);
}

.gift-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.gift-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 0 26px; border-radius: 100px;
  font-family: var(--ff-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--black, #0b1012); background: var(--gold, #c8a464);
  transition: transform .35s cubic-bezier(.165,.84,.44,1), background .3s ease, box-shadow .35s ease;
}
.gift-cta:hover { transform: translateY(-2px); background: #d4b070; box-shadow: 0 10px 30px -10px rgba(200,164,100,.55); }
.gift-cta:focus-visible { outline: 2px solid var(--gold, #c8a464); outline-offset: 3px; }
.gift-cta-arrow { transition: transform .35s cubic-bezier(.165,.84,.44,1); }
.gift-cta:hover .gift-cta-arrow { transform: translate(2px, -2px); }
.gift-note {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.5);
}

/* ── The card itself ─────────────────────────────── */
.gift-visual { display: flex; justify-content: center; perspective: 1100px; }
.gift-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden;
  width: 100%; max-width: 420px; aspect-ratio: 1.586;
  border-radius: 16px;
  padding: clamp(18px, 2.2vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(200,164,100,.22), transparent 55%),
    linear-gradient(135deg, #1d1712 0%, #2a2119 48%, #120e0b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(200,164,100,.42),
    0 30px 60px -20px rgba(0,0,0,.7),
    0 12px 24px -12px rgba(0,0,0,.5);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-4deg);
  transition: transform .6s cubic-bezier(.165,.84,.44,1);
  will-change: transform;
}
.gift-card.is-tilting { transition: transform .12s linear; }
.gift-card-sheen {
  position: absolute; inset: -40%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,232,190,.16) 50%, transparent 60%);
  transform: translateX(-60%);
  animation: gift-sheen 6s cubic-bezier(.77,0,.175,1) infinite;
}
@keyframes gift-sheen {
  0%, 55% { transform: translateX(-60%); }
  100%    { transform: translateX(60%); }
}
.gift-card-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.gift-card-logo { width: clamp(110px, 12vw, 150px); height: auto; filter: brightness(0) invert(1); opacity: .92; }
.gift-card-mark { width: clamp(26px, 2.6vw, 34px); height: auto; opacity: .85; }
.gift-card-foot {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.gift-card-foot strong { font-weight: 500; color: var(--gold, #c8a464); }

@media (max-width: 860px) {
  .gift-panel { grid-template-columns: 1fr; }
  .gift-visual { order: -1; }
  .gift-card { max-width: 340px; }
}
@media (max-width: 767px) {
  .gift { margin-top: 44px; padding: 0 16px; }
  .gift--flush { padding: 0; }
  .gift-panel { padding: 32px 22px 28px; border-radius: 16px; }
  .gift-cta { flex: 1 1 100%; justify-content: center; }
  .gift-actions { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .gift-card-sheen { animation: none; opacity: 0; }
  .gift-card, .gift-cta, .gift-cta-arrow { transition: none; }
}

/* ── Top-nav pill (next to FR/EN + Réserver), all pages ── */
.top-pill-gift { gap: 9px; }
.top-gift-card {
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: 22px; height: 14px; border-radius: 3px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(200,164,100,.35), transparent 60%),
    linear-gradient(135deg, #2a2119 0%, #1d1712 55%, #120e0b 100%);
  box-shadow: inset 0 0 0 1px rgba(200,164,100,.75), 0 2px 6px -2px rgba(0,0,0,.6);
  transform: rotate(-6deg);
  transition: transform .45s cubic-bezier(.165,.84,.44,1);
}
/* gold signature stripe */
.top-gift-card::before {
  content: ''; position: absolute; left: 3px; bottom: 3px;
  width: 8px; height: 1.5px; border-radius: 1px; background: var(--gold, #c8a464);
}
/* sheen */
.top-gift-card::after {
  content: ''; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,232,190,.45) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: gift-sheen 6s cubic-bezier(.77,0,.175,1) infinite;
}
.top-gift-card img {
  position: absolute; top: 2px; right: 2.5px; width: 5px; height: auto; opacity: .9;
}
.top-pill-gift:hover .top-gift-card { transform: rotate(4deg) translateY(-1px) scale(1.12); }

@media (max-width: 767px) {
  /* icon-only on phones so the nav stays on one line */
  .top-pill-gift { padding-left: 13px; padding-right: 13px; }
  .top-pill-gift .top-gift-label { display: none; }
  .top-gift-card { width: 24px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .top-gift-card::after { animation: none; opacity: 0; }
  .top-gift-card { transition: none; }
}
