/* ============================================
   MEAL — Section CTA Final
   <link rel="stylesheet" href="meal-cta.css">
   ============================================ */

.meal-cta {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(96px, 11vw, 164px) 0;
  background:
    radial-gradient(840px 240px at 50% 0%, rgba(41, 151, 255, 0.06), rgba(41, 151, 255, 0) 62%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.meal-cta__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 30px);
}

/* ── TITRE ── */
.meal-cta__title {
  max-width: 11ch;
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 760;
  line-height: 1.01;
  letter-spacing: -0.045em;
  color: var(--text-main);
  margin: 0;
  text-align: center;
}

/* ── SOUS-TITRE ── */
.meal-cta__sub {
  max-width: 28ch;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: rgba(29, 29, 31, 0.58);
  font-weight: 500;
  margin: 0;
}

/* ── ACTIONS ── */
.meal-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

/* ── BOUTON ── */
.meal-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #1d1d1f;
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  transition: opacity 0.16s ease, transform 0.14s ease, box-shadow 0.2s ease;
}

.meal-cta__btn:hover {
  opacity: 0.92;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.meal-cta__btn:active {
  transform: scale(0.98);
}

/* ── HINT ── */
.meal-cta__hint {
  font-size: clamp(12px, 0.9vw, 14px);
  color: rgba(29, 29, 31, 0.48);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .meal-cta {
    padding: 72px 0 84px;
  }

  .meal-cta__title {
    font-size: clamp(36px, 11vw, 54px);
  }

  .meal-cta__btn {
    font-size: 16px;
    padding: 14px 24px;
  }

  .meal-cta__sub {
    font-size: clamp(16px, 4.9vw, 20px);
  }
}

@media (prefers-color-scheme: dark) {
  .meal-cta {
    background:
      radial-gradient(840px 240px at 50% 0%, rgba(10, 132, 255, 0.16), rgba(10, 132, 255, 0) 62%),
      linear-gradient(180deg, #0e0e12 0%, #131319 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .meal-cta__sub {
    color: rgba(235, 235, 245, 0.7);
  }

  .meal-cta__btn {
    background: rgba(245, 245, 247, 0.95);
    color: #0f1014;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  }

  .meal-cta__btn svg {
    fill: #0f1014;
  }

  .meal-cta__btn:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  }

  .meal-cta__hint {
    color: rgba(235, 235, 245, 0.58);
  }
}
