/* Page-specific styles — Happy Hour @ Le Braz. Header/nav, hero, trust
   strip, media+bullets grid, accordion, CTA banner, footer, buttons and
   badges all come from shared/css. What's added here is genuinely specific
   to this page: the "pinte vs pichet" price comparison, the partner-card
   layout reused for the itinéraire block, and the two-button sticky bar
   (itinéraire + share) instead of the base single-button one. */

/* ---------- Price math ("pinte vs pichet") ---------- */

.hh-math {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  max-width: 44rem;
  margin: var(--space-9) auto 0;
}

.hh-math-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
}

.hh-math-card.is-highlight {
  position: relative;
  border-color: var(--color-brand);
  background: linear-gradient(180deg, var(--color-brand-soft), var(--color-surface) 65%);
  box-shadow: var(--shadow-glow);
}

.hh-math-badge {
  position: absolute;
  top: -0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  color: var(--color-text-on-brand);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}

.hh-math-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.hh-math-amount {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1.1;
}

.hh-math-card.is-highlight .hh-math-amount { color: var(--color-brand-light); }

.hh-math-unit {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.hh-math-equals {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-tertiary);
}

.hh-callout {
  max-width: 36rem;
  margin: var(--space-7) auto 0;
  text-align: center;
  font-size: var(--text-md);
  color: var(--color-text-secondary);
}

@media (max-width: 640px) {
  .hh-math { grid-template-columns: 1fr; }
  .hh-math-equals { justify-self: center; transform: rotate(90deg); }
}

/* ---------- Itinéraire card (reuses cours-ateliers' partner-card layout) --- */

.partner-card {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8);
}

.partner-card .partner-icon { width: 4rem; height: 4rem; }
.partner-card .partner-icon svg { width: 1.75rem; height: 1.75rem; }
.partner-card h2 { margin-bottom: var(--space-3); }
.partner-card p { color: var(--color-text-secondary); max-width: 38rem; }

@media (max-width: 720px) {
  .partner-card { flex-direction: column; text-align: center; gap: var(--space-5); padding: var(--space-7) var(--space-6); }
  .partner-card .cta-actions { justify-content: center !important; }
}

/* ---------- Sticky bar: two stacked buttons instead of the base one ---- */

.btn-share {
  height: auto;
  min-height: 3.25rem;
  padding-block: var(--space-2);
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 640px) {
  .sticky-cta { display: flex; flex-direction: column; gap: var(--space-3); }
  body:has(.sticky-cta) { padding-bottom: 8.5rem; }
}
