/* Mobile-first - optimisations extrêmes tactile & lisibilité */

:root {
  --nav-h: 56px;
  --presence-h: 52px;
  --tab-h: calc(64px + env(safe-area-inset-bottom, 0px));
  --touch: 48px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 17px;
  padding-bottom: var(--tab-h);
  overscroll-behavior-y: none;
}

body.has-tabs .footer {
  margin-bottom: 0;
}

.container {
  width: min(100% - 1.25rem, var(--max));
}

/* Safe areas */
.nav,
.presence-bar,
.tab-bar {
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
}

.tab-bar {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Nav compact */
.nav {
  height: var(--nav-h);
}

.nav__logo img {
  height: 34px;
}

.nav__links,
.nav-hide-mobile,
.nav__actions .btn--sm.nav-hide-mobile {
  display: none !important;
}

.nav__actions {
  gap: 0.5rem;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--black-card);
  cursor: pointer;
  min-height: var(--touch);
  -webkit-tap-highlight-color: transparent;
}

.nav-user__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--av, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.nav-user__label {
  font-size: 1rem;
  font-weight: 700;
  max-width: 4.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-user__tier {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.tier--gold {
  background: linear-gradient(135deg, #c9a227, #f4d03f);
  color: #1a1a1a;
}
.tier--platinum {
  background: linear-gradient(135deg, #bdc3c7, #ecf0f1);
  color: #1a1a1a;
}
.tier--silver {
  background: #95a5a6;
  color: #fff;
}
.tier--diamond {
  background: linear-gradient(135deg, #74b9ff, #a29bfe);
  color: #fff;
}

.nav__burger {
  min-width: var(--touch);
  min-height: var(--touch);
  justify-content: center;
}

.nav-mobile {
  top: calc(var(--nav-h) + var(--presence-h));
  padding-bottom: var(--tab-h);
}

.nav-mobile a {
  min-height: var(--touch);
  display: flex;
  align-items: center;
  font-size: 1.35rem;
}

/* Présence membres */
.presence-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(26, 26, 26, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.presence-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  min-height: var(--presence-h);
}

.presence-bar__scroll {
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.presence-bar__scroll::-webkit-scrollbar {
  display: none;
}

.presence-bar__avatars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-right: 0.5rem;
}

.presence-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--black-soft);
  background: var(--av, var(--red));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.presence-avatar--you {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red-dim);
}

.presence-avatar__tier {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--black);
}

.presence-bar__more {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 600;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.presence-bar__meta {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.presence-bar__meta strong {
  color: var(--white);
  font-size: 0.95rem;
}

.presence-bar__dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Bottom tabs */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  background: rgba(26, 26, 26, 0.98);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  min-height: 64px;
}

.tab-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray);
  min-height: var(--touch);
  -webkit-tap-highlight-color: transparent;
}

.tab-bar__item.is-active {
  color: var(--red-hover);
}

.tab-bar__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.tab-bar__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--av, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}

.tab-bar__item--user.is-active .tab-bar__avatar {
  box-shadow: 0 0 0 2px var(--red);
}

/* User sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.user-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  background: var(--black-soft);
  border-radius: 20px 20px 0 0;
  padding: 0.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  max-height: 85svh;
  overflow-y: auto;
}

.user-sheet.is-open {
  transform: translateY(0);
}

.user-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--gray-dim);
  border-radius: 4px;
  margin: 0 auto 1rem;
}

.user-sheet__head {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.user-sheet__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--av, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.user-sheet__hello {
  font-size: 1.35rem;
}

.user-sheet__tier {
  font-size: 1rem;
  margin-top: 0.25rem;
}

.user-sheet__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.user-sheet__stats div {
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--black-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.user-sheet__stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.user-sheet__stats span {
  font-size: 0.85rem;
  color: var(--gray);
}

.user-sheet__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.user-sheet__nav a {
  padding: 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--black-card);
  min-height: var(--touch);
  display: flex;
  align-items: center;
}

.user-sheet__presence {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Hero mobile */
.hero {
  min-height: auto;
  max-height: none;
}

.hero__content {
  padding: 1.5rem 0 2rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  max-width: none;
}

.hero__meta {
  font-size: 1.15rem;
}

.hero__artist-line {
  font-size: 1.25rem;
}

.hero__cta {
  flex-direction: column;
}

.hero__cta .btn {
  width: 100%;
  min-height: 52px;
  font-size: 1.15rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.stat__value {
  font-size: 1.75rem;
}

.stat__label {
  font-size: 0.75rem;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section__head {
  flex-direction: column;
  align-items: flex-start;
}

.section__head .btn {
  width: 100%;
  min-height: var(--touch);
}

.events-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.events-scroll .event-card {
  flex: 0 0 min(340px, 92vw);
}

#coming-soon .event-card {
  flex: none;
  width: 100%;
  max-width: 100%;
}

.event-card__inner {
  grid-template-columns: 1fr 100px;
  min-height: 120px;
}

.event-card__visual {
  min-height: 120px;
}

.event-card__title {
  font-size: 1.2rem;
}

.event-card__body {
  padding: 1rem 1.1rem;
}

.event-hero__split {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.event-hero__poster {
  order: 2;
  max-height: 380px;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}

.filters {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  margin: 0 -0.25rem 1.5rem;
  padding-left: 0.25rem;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  min-height: 44px;
}

/* News & about */
.news-block {
  border-radius: var(--radius);
}

.news-block__body {
  padding: 1.5rem !important;
}

.news-block__body h2 {
  font-size: 1.65rem;
}

.news-block__body p {
  font-size: 1.1rem;
}

.club-about {
  gap: 1.5rem;
}

.cta-duo {
  grid-template-columns: 1fr;
}

.cta-card__body .btn {
  min-height: var(--touch);
}

/* Tables */
.tables-layout {
  grid-template-columns: 1fr;
}

.floor-plan {
  padding: 1.25rem;
  overflow-x: auto;
}

.floor-plan__grid {
  min-width: 280px;
}

.table-seat {
  min-height: 56px;
  font-size: 0.85rem;
}

.table-panel {
  position: sticky;
  bottom: var(--tab-h);
  z-index: 10;
  margin-top: 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.bottle-item {
  min-height: var(--touch);
}

.bottle-item button {
  width: 44px;
  height: 44px;
}

/* Event page */
.event-hero {
  padding-top: calc(var(--nav-h) + var(--presence-h) + 1rem);
}

.event-hero h1 {
  font-size: clamp(1.85rem, 8vw, 2.75rem);
}

.ticket-box {
  position: static;
  margin-top: 1rem;
}

.ticket-box .btn {
  min-height: 52px;
}

/* Prélocation */
.presale-steps {
  flex-direction: column;
}

.presale-step {
  min-height: 44px;
  font-size: 1rem;
}

#event-select {
  min-height: var(--touch);
  font-size: 1.05rem;
}

.qty-control button {
  width: 52px;
  height: 52px;
}

/* Compte */
.compte-hero {
  padding-top: calc(var(--nav-h) + var(--presence-h) + 1rem);
}

.compte-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.compte-section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.wallet-card {
  padding: 1.35rem;
  background: linear-gradient(145deg, var(--black-card), var(--black-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--red);
}

.wallet-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.wallet-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--av, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.wallet-card__name {
  font-size: 1.5rem;
  font-weight: 800;
}

.wallet-card__tier {
  font-size: 0.95rem;
  font-weight: 700;
}

.wallet-card__live {
  margin-left: auto;
  font-size: 0.8rem;
  color: #2ecc71;
  font-weight: 700;
}

.wallet-card__pts {
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.wallet-card__pts-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.wallet-card__progress {
  height: 8px;
  background: var(--black);
  border-radius: 4px;
  margin: 0.75rem 0 0.5rem;
  overflow: hidden;
}

.wallet-card__bar {
  height: 100%;
  background: var(--red);
  border-radius: 4px;
}

.wallet-card__next {
  font-size: 0.95rem;
  color: var(--gray);
}

.wallet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.wallet-item strong {
  font-size: 1.1rem;
  display: block;
}

.wallet-item p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

.wallet-item__badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2ecc71;
  flex-shrink: 0;
}

.live-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.live-feed__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--black-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.live-feed__row--you {
  border-color: rgba(227, 45, 45, 0.45);
  background: var(--red-dim);
}

.live-feed__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.live-feed__text {
  flex: 1;
  min-width: 0;
}

.live-feed__text strong {
  font-size: 1.05rem;
}

.live-feed__text span {
  font-size: 0.7rem;
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  vertical-align: middle;
}

.live-feed__text p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 0.15rem;
}

.live-feed__dot {
  width: 10px;
  height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  flex-shrink: 0;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.perks-list li {
  padding: 1rem;
  background: var(--black-card);
  border-radius: var(--radius);
  font-size: 1.1rem;
  border: 1px solid var(--border);
}

.compte-invite {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--gray);
}

.compte-invite code {
  color: var(--red-hover);
  font-size: 0.9rem;
  word-break: break-all;
}

/* WhatsApp concierge */
.wa-widget {
  position: fixed;
  z-index: 130;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(var(--tab-h) + 1rem);
  pointer-events: none;
}

.wa-widget > * {
  pointer-events: auto;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(227, 45, 45, 0.45);
  position: relative;
  transition: transform 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.wa-fab:hover {
  background: var(--red-hover);
  transform: scale(1.05);
}

.wa-fab.is-open {
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
}

.wa-fab__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--white);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
}

.wa-fab__badge.is-hidden {
  display: none;
}

.wa-chat {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100vw - 2rem, 380px);
  max-height: min(72svh, 560px);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.wa-chat.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-chat__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--red);
  color: var(--white);
  flex-shrink: 0;
}

.wa-chat__back {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem;
  min-width: 40px;
  min-height: 40px;
}

.wa-chat__back:hover {
  background: rgba(255, 255, 255, 0.25);
}

.wa-chat__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.wa-chat__info {
  flex: 1;
  min-width: 0;
}

.wa-chat__info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
}

.wa-chat__info span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.wa-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f7f7f7;
  -webkit-overflow-scrolling: touch;
}

.wa-msg {
  display: flex;
  max-width: 88%;
}

.wa-msg--out {
  align-self: flex-end;
}

.wa-msg--in {
  align-self: flex-start;
}

.wa-msg__bubble {
  padding: 0.55rem 0.75rem 0.35rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wa-msg--out .wa-msg__bubble {
  background: var(--red);
  color: var(--white);
  border-top-right-radius: 4px;
}

.wa-msg--out .wa-msg__time {
  color: rgba(255, 255, 255, 0.7);
}

.wa-msg--in .wa-msg__bubble {
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top-left-radius: 4px;
}

.wa-msg__time {
  display: block;
  font-size: 0.65rem;
  color: var(--gray-dim);
  text-align: right;
  margin-top: 0.25rem;
}

.wa-msg__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.wa-msg__links a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0;
}

.wa-msg__links a:hover {
  color: var(--red-hover);
}

.wa-msg__typing {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  border-top-left-radius: 4px;
}

.wa-msg__typing span {
  width: 8px;
  height: 8px;
  background: var(--red);
  opacity: 0.45;
  border-radius: 50%;
  animation: wa-bounce 1.2s infinite;
}

.wa-msg__typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.wa-msg__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes wa-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

.wa-chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-top: 1px solid rgba(227, 45, 45, 0.15);
  flex-shrink: 0;
}

.wa-quick__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
}

.wa-quick__btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: flex;
  color: var(--red);
}

.wa-quick__btn-icon svg {
  width: 100%;
  height: 100%;
}

.wa-quick__btn:hover {
  background: var(--red);
  color: var(--white);
}

.wa-chat__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-top: 1px solid rgba(227, 45, 45, 0.15);
  flex-shrink: 0;
}

.wa-chat__form input {
  flex: 1;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 24px;
  background: #f5f5f5;
  color: var(--black);
  font-size: 1rem;
}

.wa-chat__form input:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.wa-chat__form input::placeholder {
  color: var(--gray);
}

.wa-chat__form button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.wa-chat__form button:hover {
  background: var(--red-hover);
}

body.has-sticky-cta .wa-widget {
  bottom: calc(var(--tab-h) + 4.5rem);
}

/* Toast above tabs */
.toast {
  bottom: calc(var(--tab-h) + 5.5rem);
  left: 1rem;
  right: 1rem;
  transform: translateY(120%);
  width: auto;
}

.toast.is-visible {
  transform: translateY(0);
}

/* Sticky mobile CTA */
.mobile-sticky-cta {
  display: flex;
  gap: 0.5rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--tab-h);
  padding: 0.65rem 1rem;
  background: rgba(26, 26, 26, 0.96);
  border-top: 1px solid var(--border);
  z-index: 85;
  backdrop-filter: blur(12px);
}

.mobile-sticky-cta .btn {
  flex: 1;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

body.has-sticky-cta {
  padding-bottom: calc(var(--tab-h) + 60px);
}

.page-head {
  padding-top: calc(var(--nav-h) + var(--presence-h) + 0.75rem);
}

.hero__content {
  padding-top: 0.5rem;
}

.page-head h1 {
  font-size: clamp(2rem, 8vw, 2.75rem);
}

.btn {
  min-height: 48px;
}

/* Centre nav (desktop only - évite layout cassé sur mobile) */
.nav__center {
  display: none;
}

/* Overrides tablette/desktop → voir desktop.css */
