/* =========================================================
   pages.css — styles spécifiques par page
   ========================================================= */

/* ---------- Hero commun ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(40% 40% at 18% 20%, rgba(205, 225, 255, 0.8) 0%, transparent 65%),
    radial-gradient(45% 45% at 85% 30%, rgba(255, 228, 191, 0.8) 0%, transparent 65%),
    radial-gradient(50% 50% at 50% 110%, rgba(255, 216, 158, 0.6) 0%, transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  display: grid;
  gap: var(--meal-space-40);
  grid-template-columns: 1fr;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--meal-text-secondary);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 6px 12px;
  border-radius: var(--meal-radius-pill);
  margin-bottom: var(--meal-space-20);
}

.hero__title {
  margin-bottom: var(--meal-space-20);
}

/* Mot accentué dans le hero — gradient signature Meal */
.hero__title-accent {
  background: var(--meal-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--meal-text-secondary);
  max-width: 54ch;
  margin-bottom: var(--meal-space-24);
}

.hero__signature {
  font-size: 15px;
  font-weight: 600;
  color: var(--meal-text-primary);
  letter-spacing: -0.005em;
  margin-bottom: var(--meal-space-24);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--meal-space-12);
  margin-bottom: var(--meal-space-16);
}

.hero__microcopy {
  font-size: 13px;
  color: var(--meal-text-tertiary);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.hero__visual .hero-float--a {
  top: 10%; left: -4%;
}
.hero__visual .hero-float--b {
  bottom: 18%; right: -6%;
}
.hero__visual .hero-float--c {
  bottom: 2%; left: 8%;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--meal-space-56);
  }
  .hero__visual { padding: 40px 0; }
}

/* ---------- Home specifics ---------- */
.problem-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.4) 100%);
  border-top: 1px solid var(--meal-stroke-soft);
  border-bottom: 1px solid var(--meal-stroke-soft);
}

.problem-section__grid {
  display: grid;
  gap: var(--meal-space-40);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .problem-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--meal-space-56);
  }
}

.price-summary {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.price-summary__amount {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: var(--meal-space-16);
}

.price-summary__amount sup {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--meal-text-secondary);
  margin-left: 6px;
  letter-spacing: 0;
}

.price-summary__note {
  margin-top: var(--meal-space-12);
  color: var(--meal-text-secondary);
}

.trust__grid {
  display: grid;
  gap: var(--meal-space-16);
  grid-template-columns: 1fr;
  margin-top: var(--meal-space-24);
}

@media (min-width: 720px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
}

.trust__item {
  padding: var(--meal-space-20);
  border-radius: var(--meal-radius-18);
  background: var(--meal-card);
  border: 1px solid var(--meal-stroke-soft);
  display: flex;
  align-items: center;
  gap: var(--meal-space-12);
  font-size: 15px;
  font-weight: 500;
  color: var(--meal-text-primary);
}

.trust__item-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--meal-ink);
  flex: 0 0 7px;
}

/* ---------- Section intro (démo + autres) ---------- */
.section-intro {
  max-width: 720px;
  margin: 0 auto var(--meal-space-32);
  text-align: center;
}

.section-intro .section__title {
  max-width: none;
  margin-inline: auto;
}

.section-intro .section__lead {
  /* Garde le max-width 60ch hérité (lisibilité) mais centre le bloc */
  margin-inline: auto;
}

.section--showcase {
  border-top: 1px solid var(--meal-stroke-soft);
  /* Hérite du padding-block 96px du .section parent — rythme uniformisé. */
}

/* ---------- Phrase de conclusion ---------- */
.problem-conclusion {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--meal-text-primary);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* ---------- Prix éditorial (pas de card SaaS) ---------- */
.price-editorial {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4vw, 44px);
  border-radius: var(--meal-radius-22);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--meal-shadow-soft);
}

.price-editorial__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-bottom: var(--meal-space-24);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-editorial__lead {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--meal-text-primary);
  line-height: 1.05;
}

.price-editorial__then {
  font-size: 15px;
  color: var(--meal-text-secondary);
  letter-spacing: -0.005em;
}

.price-editorial__then strong {
  color: var(--meal-text-primary);
  font-weight: 600;
}

.price-editorial__hint {
  display: inline-block;
  margin-left: 4px;
  font-size: 13px;
  color: var(--meal-text-tertiary);
  font-style: normal;
}

.price-editorial__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--meal-space-8);
  margin-top: var(--meal-space-20);
}

@media (min-width: 540px) {
  .price-editorial__list { grid-template-columns: 1fr 1fr; }
}

.price-editorial__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--meal-text-secondary);
  letter-spacing: -0.005em;
}

.price-editorial__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--meal-ink);
  opacity: 0.55;
}

.price-editorial__cta {
  margin-top: var(--meal-space-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.price-editorial__microcopy {
  font-size: 13px;
  color: var(--meal-text-tertiary);
  text-align: center;
}

/* ---------- Product page ---------- */
.product-step {
  display: grid;
  gap: var(--meal-space-24);
  align-items: center;
  padding-block: var(--meal-space-40);
  grid-template-columns: 1fr;
}

.product-step__number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--meal-text-tertiary);
  text-transform: uppercase;
  margin-bottom: var(--meal-space-8);
}

.product-step__title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--meal-space-12);
  max-width: 22ch;
}

.product-step__body {
  color: var(--meal-text-secondary);
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.6;
}

.product-step__visual {
  border-radius: var(--meal-radius-22);
  padding: var(--meal-space-24);
  background: var(--meal-glass);
  border: 1px solid var(--meal-stroke);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--meal-shadow-card);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .product-step { grid-template-columns: 1fr 1fr; gap: var(--meal-space-56); padding-block: var(--meal-space-56); }
  .product-step--reverse .product-step__visual { order: -1; }
}

/* ---------- Features page ---------- */
.features-grid {
  margin-top: var(--meal-space-40);
}

/* ---------- Pricing page ---------- */
.pricing-hero__layout {
  display: grid;
  gap: var(--meal-space-40);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .pricing-hero__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--meal-space-56);
  }
}

.pricing-justify {
  padding: var(--meal-space-32);
  border-radius: var(--meal-radius-22);
  background: var(--meal-card);
  border: 1px solid var(--meal-stroke-soft);
}

/* ---------- Privacy page ---------- */
.privacy-grid {
  display: grid;
  gap: var(--meal-space-16);
  grid-template-columns: 1fr;
  margin-top: var(--meal-space-40);
}

@media (min-width: 720px) {
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

.privacy-block {
  padding: var(--meal-space-24);
  border-radius: var(--meal-radius-18);
  background: var(--meal-card-strong);
  border: 1px solid var(--meal-stroke-soft);
  box-shadow: var(--meal-shadow-soft);
}

.privacy-block__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--meal-space-8);
}

.privacy-block__body {
  color: var(--meal-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--meal-space-8);
  justify-content: center;
  margin-top: var(--meal-space-32);
}

.legal-menu__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 var(--meal-space-16);
  border: 1px solid var(--meal-stroke-soft);
  border-radius: var(--meal-radius-pill);
  background: rgba(255, 255, 255, 0.56);
  color: var(--meal-text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition:
    border-color 180ms var(--meal-ease),
    background 180ms var(--meal-ease),
    box-shadow 180ms var(--meal-ease),
    color 180ms var(--meal-ease),
    transform 180ms var(--meal-ease);
}

.legal-menu__link:hover {
  color: var(--meal-text-primary);
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.legal-panel {
  scroll-margin-top: 112px;
}

@supports selector(.legal-main:has(.legal-panel:target)) {
  .legal-main .legal-panel {
    display: none;
  }

  .legal-main:not(:has(.legal-panel:target)) #mentions-legales,
  .legal-main:has(#mentions-legales:target) #mentions-legales,
  .legal-main:has(#cgu:target) #cgu,
  .legal-main:has(#cgv:target) #cgv {
    display: block;
  }

  .legal-main:not(:has(.legal-panel:target)) .legal-menu__link[href="#mentions-legales"],
  .legal-main:has(#mentions-legales:target) .legal-menu__link[href="#mentions-legales"],
  .legal-main:has(#cgu:target) .legal-menu__link[href="#cgu"],
  .legal-main:has(#cgv:target) .legal-menu__link[href="#cgv"] {
    color: #fff;
    border-color: rgba(17, 17, 17, 0.9);
    background: linear-gradient(180deg, var(--meal-ink-hover) 0%, var(--meal-ink-strong) 100%);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 10px 24px rgba(15, 23, 42, 0.18);
  }
}

.legal-doc-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--meal-space-12);
  margin-top: var(--meal-space-32);
}

@media (min-width: 760px) {
  .legal-doc-overview { grid-template-columns: repeat(3, 1fr); }
}

.legal-doc-overview__item {
  min-height: 168px;
  padding: var(--meal-space-20);
  border: 1px solid var(--meal-stroke-soft);
  border-radius: var(--meal-radius-18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    var(--meal-card-strong);
  box-shadow: var(--meal-shadow-soft);
}

.legal-doc-overview__label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  margin-bottom: var(--meal-space-12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--meal-radius-pill);
  background: rgba(255, 255, 255, 0.7);
  color: var(--meal-text-secondary);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: none;
}

.legal-doc-overview__item strong {
  display: block;
  color: var(--meal-text-primary);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.25;
}

.legal-doc-overview__item p {
  margin-top: var(--meal-space-8);
  color: var(--meal-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.legal-downloads {
  margin-top: var(--meal-space-20);
}

.legal-downloads__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--meal-space-16);
  min-height: 92px;
  padding: var(--meal-space-20);
  border: 1px solid var(--meal-stroke-soft);
  border-radius: var(--meal-radius-22);
  background:
    radial-gradient(460px 160px at 8% 0%, rgba(205, 225, 255, 0.46), transparent 72%),
    radial-gradient(420px 180px at 100% 100%, rgba(255, 228, 191, 0.58), transparent 72%),
    rgba(255, 255, 255, 0.82),
    var(--meal-card-strong);
  color: var(--meal-text-primary);
  text-decoration: none;
  box-shadow: var(--meal-shadow-card);
  transition:
    border-color 180ms var(--meal-ease),
    background 180ms var(--meal-ease),
    box-shadow 180ms var(--meal-ease),
    transform 180ms var(--meal-ease);
}

.legal-downloads__link:hover {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.legal-downloads__type {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--meal-radius-16);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 245, 240, 0.82));
  color: var(--meal-text-primary);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.legal-downloads__content {
  flex: 1 1 auto;
  min-width: 0;
}

.legal-downloads__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--meal-text-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.legal-downloads__link strong,
.legal-downloads__link small {
  display: block;
}

.legal-downloads__link strong {
  font-size: 18px;
  font-weight: 720;
  line-height: 1.2;
}

.legal-downloads__link small {
  margin-top: 5px;
  color: var(--meal-text-secondary);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.legal-downloads__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 var(--meal-space-20);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--meal-radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: var(--meal-text-primary);
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

@media (max-width: 560px) {
  .legal-downloads__link {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .legal-downloads__content {
    flex-basis: calc(100% - 70px);
  }

  .legal-downloads__action {
    flex-basis: 100%;
    width: 100%;
  }
}

.legal-prose {
  display: grid;
  gap: var(--meal-space-12);
  margin-top: var(--meal-space-24);
}

.legal-prose__section {
  padding: var(--meal-space-24);
  border-radius: var(--meal-radius-18);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--meal-stroke-soft);
  box-shadow: var(--meal-shadow-soft);
}

.legal-prose__section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--meal-space-8);
}

.legal-prose__section p,
.legal-prose__section li {
  color: var(--meal-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.legal-prose__section ul {
  display: grid;
  gap: var(--meal-space-8);
  margin: var(--meal-space-12) 0 0;
  padding-left: 1.1rem;
}

.legal-prose__meta {
  color: var(--meal-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-top: var(--meal-space-16);
}

/* ---------- Support page ---------- */
.support-section {
  margin-top: var(--meal-space-32);
}

.support-section__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--meal-space-16);
}

/* ---------- About page ---------- */
.about-prose {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--meal-text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--meal-space-16);
}

.about-prose strong { color: var(--meal-text-primary); font-weight: 600; }

.about-values {
  display: grid;
  gap: var(--meal-space-16);
  grid-template-columns: 1fr;
  margin-top: var(--meal-space-32);
}

@media (min-width: 720px) {
  .about-values { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Idees repas page ---------- */
.ideas-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 46%),
    transparent;
}

.ideas-hero {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(44px, 7vw, 88px);
}

.ideas-hero__inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.ideas-hero__copy {
  max-width: 780px;
}

.ideas-hero__title {
  max-width: 10ch;
}

.ideas-hero__lead {
  max-width: 66ch;
  margin-top: var(--meal-space-20);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.48;
}

.ideas-hero__micro {
  margin-top: var(--meal-space-16);
  color: var(--meal-text-tertiary);
  font-size: 14px;
}

.ideas-search {
  width: min(100%, 760px);
  margin-top: var(--meal-space-32);
  padding: 10px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.ideas-search__field {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  color: var(--meal-text-primary);
  background: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.015em;
}

.ideas-search__field::placeholder {
  color: rgba(15, 23, 42, 0.38);
}

.ideas-search__field:focus {
  outline: 3px solid rgba(10, 132, 255, 0.16);
}

.ideas-search__button {
  min-height: 58px;
  border-radius: 20px;
}

.ideas-hero__chips,
.ideas-filter-row,
.ideas-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ideas-hero__chips {
  margin-top: var(--meal-space-20);
}

.ideas-hero__chip,
.ideas-filter,
.ideas-tab {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.68);
  background: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  font-weight: 680;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.ideas-hero__chip:hover,
.ideas-filter:hover,
.ideas-tab:hover,
.ideas-filter.is-active,
.ideas-tab.is-active {
  color: var(--meal-text-primary);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.16);
}

.ideas-proof {
  border-top: 1px solid var(--meal-stroke-soft);
  border-bottom: 1px solid var(--meal-stroke-soft);
  background: rgba(255, 255, 255, 0.26);
}

.ideas-proof__grid,
.ideas-steps,
.ideas-faq {
  display: grid;
  gap: var(--meal-space-16);
}

.ideas-proof__intro {
  max-width: 760px;
  margin-bottom: var(--meal-space-32);
}

.ideas-proof__cards {
  display: grid;
  gap: var(--meal-space-16);
}

.ideas-proof-card,
.ideas-step,
.ideas-faq__item {
  padding: var(--meal-space-24);
  border: 1px solid var(--meal-stroke-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--meal-shadow-soft);
}

.ideas-proof-card h3,
.ideas-step h3,
.ideas-faq__item h3 {
  margin-bottom: var(--meal-space-8);
  font-size: 20px;
}

.ideas-proof-card p,
.ideas-step p,
.ideas-faq__item p {
  font-size: 15px;
  line-height: 1.56;
}

.ideas-catalog__head {
  display: flex;
  gap: var(--meal-space-24);
  align-items: end;
  justify-content: space-between;
  margin-bottom: var(--meal-space-32);
}

.ideas-catalog__copy {
  max-width: 760px;
}

.ideas-count {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--meal-text-secondary);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--meal-stroke-soft);
  font-size: 14px;
  font-weight: 700;
}

.ideas-controls {
  display: grid;
  gap: var(--meal-space-16);
  margin-bottom: var(--meal-space-32);
}

.ideas-controls__label {
  margin-bottom: 8px;
  color: var(--meal-text-tertiary);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ideas-grid {
  display: grid;
  gap: 14px;
}

.idea-card {
  position: relative;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.065);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.66) 100%);
  box-shadow: var(--meal-shadow-soft);
}

.idea-card[hidden] {
  display: none;
}

.idea-card__media {
  aspect-ratio: 1.85 / 1;
  margin: -8px -8px 12px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
}

.idea-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idea-card__top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.idea-card__type {
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.62);
  background: rgba(15, 23, 42, 0.045);
  font-size: 11px;
  font-weight: 760;
}

.idea-card__time {
  color: var(--meal-text-tertiary);
  font-size: 12px;
  font-weight: 700;
}

.idea-card__title {
  max-width: 20ch;
  font-size: 19px;
  line-height: 1.13;
  letter-spacing: 0;
}

.idea-card__desc {
  display: none;
}

.idea-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.idea-card__meta span {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.62);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 11px;
  font-weight: 700;
}

.idea-card__meta span + span {
  display: none;
}

.ideas-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--meal-space-12);
  margin-top: var(--meal-space-32);
}

.ideas-pagination[hidden] {
  display: none;
}

.ideas-pagination__button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--meal-text-primary);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--meal-shadow-soft);
  font-size: 14px;
  font-weight: 720;
}

.ideas-pagination__button:hover:not(:disabled) {
  background: #fff;
}

.ideas-pagination__button:disabled {
  cursor: default;
  opacity: 0.42;
}

.ideas-pagination__status {
  min-width: 92px;
  color: var(--meal-text-tertiary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.ideas-empty {
  padding: var(--meal-space-32);
  border: 1px solid var(--meal-stroke-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.ideas-empty[hidden] {
  display: none;
}

.ideas-empty p {
  margin-bottom: var(--meal-space-16);
}

.ideas-bridge {
  background: rgba(255, 255, 255, 0.28);
  border-top: 1px solid var(--meal-stroke-soft);
  border-bottom: 1px solid var(--meal-stroke-soft);
}

.ideas-bridge__layout,
.ideas-editorial__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.ideas-bridge__line {
  margin-top: var(--meal-space-20);
  color: var(--meal-text-primary);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ideas-steps {
  counter-reset: meal-step;
}

.ideas-step {
  counter-increment: meal-step;
}

.ideas-step::before {
  content: counter(meal-step);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--meal-space-16);
  border-radius: 999px;
  color: #fff;
  background: var(--meal-ink);
  font-size: 14px;
  font-weight: 800;
}

.ideas-editorial__article {
  max-width: 620px;
}

.ideas-editorial__article + .ideas-editorial__article {
  margin-top: var(--meal-space-32);
}

.ideas-editorial__article p {
  margin-top: var(--meal-space-12);
  font-size: 17px;
  line-height: 1.65;
}

.ideas-faq {
  margin-top: var(--meal-space-32);
}

.ideas-final {
  text-align: center;
}

.ideas-final__inner {
  max-width: 760px;
  margin-inline: auto;
}

.ideas-final .meal-button {
  margin-top: var(--meal-space-24);
}

@media (min-width: 680px) {
  .ideas-search {
    grid-template-columns: 1fr auto;
  }

  .ideas-search__button {
    min-width: 210px;
  }

  .ideas-proof__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .ideas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ideas-hero__inner {
    grid-template-columns: 1fr 0.82fr;
  }

  .ideas-proof__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .ideas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ideas-bridge__layout,
  .ideas-editorial__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 719px) {
  .ideas-catalog__head {
    align-items: start;
    flex-direction: column;
  }

  .ideas-tab,
  .ideas-filter,
  .ideas-hero__chip {
    min-height: 38px;
    font-size: 13px;
  }

  .idea-card {
    min-height: 0;
  }

  .ideas-search__field {
    padding-inline: 14px;
    font-size: 14px;
  }
}

/* ---------- Idees repas: photo-first catalogue ---------- */
.ideas-page {
  background: transparent;
}

.ideas-page .ideas-hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
  overflow: hidden;
  background: transparent;
}

.ideas-page .ideas-hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.ideas-page .ideas-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.ideas-page .ideas-hero__title {
  max-width: 12.5ch;
  font-size: clamp(52px, 6.6vw, 88px);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.064em;
}

.ideas-page .ideas-hero__lead {
  max-width: 43ch;
  margin-top: 22px;
  color: var(--meal-text-secondary);
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.34;
}

.ideas-page .ideas-search {
  position: relative;
  width: min(100%, 620px);
  min-height: 58px;
  margin-top: 30px;
  padding: 0;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 46px rgba(36, 44, 57, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.ideas-search__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 21px;
  height: 21px;
  color: var(--meal-text-tertiary);
  transform: translateY(-50%);
  pointer-events: none;
}

.ideas-page .ideas-search__field {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 52px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--meal-text-primary);
  font-size: 16px;
}

.ideas-page .ideas-search__field:focus {
  outline: 3px solid rgba(10, 132, 255, 0.14);
  outline-offset: 2px;
}

.ideas-page .ideas-hero__chips {
  margin-top: 16px;
  gap: 8px;
}

.ideas-page .ideas-hero__chip,
.ideas-page .ideas-filter,
.ideas-page .ideas-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(15, 23, 42, 0.64);
  box-shadow:
    0 1px 2px rgba(31, 38, 48, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.015em;
  transition:
    transform 160ms var(--meal-ease),
    border-color 160ms var(--meal-ease),
    background 160ms var(--meal-ease),
    color 160ms var(--meal-ease),
    box-shadow 160ms var(--meal-ease);
}

.ideas-page .ideas-hero__chip:hover,
.ideas-page .ideas-filter:hover,
.ideas-page .ideas-tab:hover {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--meal-text-primary);
  box-shadow:
    0 7px 18px rgba(31, 38, 48, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.ideas-page .ideas-hero__chip.is-active,
.ideas-page .ideas-filter.is-active,
.ideas-page .ideas-tab.is-active {
  border-color: rgba(29, 29, 31, 0.92);
  background: rgba(29, 29, 31, 0.96);
  color: #fff;
  box-shadow:
    0 10px 22px rgba(29, 29, 31, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.ideas-page .ideas-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.ideas-page .ideas-hero__cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  box-shadow:
    0 14px 34px rgba(29, 29, 31, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 740;
  text-decoration: none;
  transition:
    transform 180ms var(--meal-ease),
    box-shadow 180ms var(--meal-ease),
    background 180ms var(--meal-ease);
}

.ideas-page .ideas-hero__cta:hover {
  background: #111113;
  box-shadow:
    0 18px 42px rgba(29, 29, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.ideas-page .ideas-hero__cta:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.22);
  outline-offset: 3px;
}

.ideas-page .ideas-hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--meal-text-tertiary);
  font-size: 12px;
  font-weight: 650;
}

.ideas-page .ideas-hero__micro span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  display: inline-block;
  margin: 0 10px 3px 0;
  border-radius: 50%;
  background: currentColor;
}

.ideas-hero__visual {
  position: relative;
  min-height: clamp(390px, 43vw, 560px);
}

.ideas-hero__photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 6px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  background: #e8e8e5;
  box-shadow: 0 28px 64px rgba(31, 38, 48, 0.16);
}

.ideas-hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ideas-hero__photo picture,
.ideas-hero__badge-symbol picture,
.ideas-page .idea-card__picture {
  width: 100%;
  height: 100%;
  display: block;
}

.ideas-hero__photo--main {
  inset: 9% 28% 8% 0;
  z-index: 2;
  transform: rotate(-2deg);
}

.ideas-hero__photo--top {
  inset: 0 0 52% 60%;
  z-index: 3;
  transform: rotate(3deg);
}

.ideas-hero__photo--bottom {
  inset: 53% 0 3% 61%;
  z-index: 1;
  transform: rotate(2deg);
}

.ideas-hero__badge {
  position: absolute;
  z-index: 4;
  left: 14%;
  bottom: 0;
  min-height: 66px;
  padding: 9px 17px 9px 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 42px rgba(31, 38, 48, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--meal-text-secondary);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.ideas-hero__badge-symbol {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  background: #ecebe6;
  box-shadow:
    0 5px 14px rgba(31, 38, 48, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ideas-hero__badge-symbol img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.08);
}

.ideas-hero__badge-copy {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.ideas-hero__badge-copy strong {
  display: block;
  color: var(--meal-text-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ideas-hero__badge-copy > span {
  color: rgba(15, 23, 42, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ideas-page .ideas-week-link {
  padding: 0 0 clamp(34px, 5vw, 64px);
}

.ideas-page .ideas-week-link__card {
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(132, 139, 150, 0.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(248, 244, 238, 0.78));
  box-shadow: 0 24px 58px rgba(31, 38, 48, 0.075);
}

.ideas-page .ideas-week-link__photos {
  position: relative;
  min-height: 260px;
  background: linear-gradient(145deg, rgba(219, 233, 255, 0.78), rgba(255, 226, 187, 0.62));
}

.ideas-page .ideas-week-link__photo {
  position: absolute;
  overflow: hidden;
  display: block;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(31, 38, 48, 0.16);
}

.ideas-page .ideas-week-link__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ideas-page .ideas-week-link__photo--main {
  inset: 12% 27% 10% 7%;
  transform: rotate(-2.5deg);
}

.ideas-page .ideas-week-link__photo--secondary {
  inset: 21% 5% 17% 62%;
  transform: rotate(4deg);
}

.ideas-page .ideas-week-link__copy {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ideas-page .ideas-week-link__copy h2 {
  max-width: 16ch;
  color: var(--meal-text-primary);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.ideas-page .ideas-week-link__copy > p:not(.section__eyebrow) {
  max-width: 54ch;
  margin-top: 14px;
  color: var(--meal-text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.ideas-page .ideas-week-link__facts {
  padding: 0;
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.ideas-page .ideas-week-link__facts li {
  padding: 7px 11px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--meal-text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.ideas-page .ideas-catalog {
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(72px, 9vw, 120px);
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: auto 1720px;
}

.ideas-page .ideas-catalog__head {
  margin-bottom: 28px;
}

.ideas-page .ideas-catalog__copy {
  max-width: 680px;
}

.ideas-page .ideas-count {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(93, 98, 109, 0.68);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.ideas-page .ideas-controls {
  gap: 14px;
  margin-bottom: 34px;
}

.ideas-page .ideas-controls__label {
  margin-bottom: 10px;
}

.ideas-page .ideas-tabs,
.ideas-page .ideas-filter-row {
  gap: 8px;
}

.ideas-page .ideas-filter {
  background: transparent;
}

.ideas-page .ideas-grid {
  gap: 22px;
}

.ideas-page .idea-card {
  min-height: 0;
  padding: 0 0 134px;
  overflow: hidden;
  border: 1px solid rgba(132, 139, 150, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(247, 247, 251, 0.96) 100%);
  font-family: inherit;
  box-shadow:
    0 1px 2px rgba(31, 38, 48, 0.035),
    0 18px 38px rgba(31, 38, 48, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    transform 220ms var(--meal-ease),
    box-shadow 220ms var(--meal-ease),
    border-color 220ms var(--meal-ease);
}

.ideas-page .idea-card:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 139, 150, 0.24);
  box-shadow:
    0 2px 5px rgba(31, 38, 48, 0.04),
    0 24px 52px rgba(31, 38, 48, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ideas-page .idea-card__media {
  position: relative;
  aspect-ratio: 1.04 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #ecece8;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.07);
}

.ideas-page .idea-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 16, 0.02) 0%, transparent 38%, rgba(11, 12, 16, 0.16) 66%, rgba(11, 12, 16, 0.58) 100%);
  pointer-events: none;
}

.ideas-page .idea-card__photo {
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 320ms ease, transform 500ms var(--meal-ease);
}

.ideas-page .idea-card__media.is-loaded .idea-card__photo {
  opacity: 1;
}

.ideas-page .idea-card:hover .idea-card__photo {
  transform: scale(1.045);
}

.ideas-page .idea-card__top {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: auto;
  bottom: 82px;
  height: 28px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.ideas-page .idea-card__type {
  display: none;
}

.ideas-page .idea-card__time {
  min-height: auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(114, 118, 127, 0.76);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.ideas-page .idea-card__time::before,
.ideas-page .idea-card__meta span + span::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  opacity: 0.82;
  background: currentColor;
}

.ideas-page .idea-card__time::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) 50% 25% / 2px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 62% 58% / 7px 2px no-repeat;
}

.ideas-page .idea-card__title {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 22px;
  bottom: 150px;
  max-width: none;
  min-height: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(22px, 2.05vw, 28px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.26);
}

.ideas-page .idea-card__desc {
  display: block;
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  width: auto;
  min-height: 42px;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  color: rgba(93, 98, 109, 0.72);
  font-size: 13.5px;
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.ideas-page .idea-card__meta {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 82px;
  height: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.ideas-page .idea-card__meta span {
  display: none;
}

.ideas-page .idea-card__meta span + span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(114, 118, 127, 0.76);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ideas-page .idea-card__meta span + span::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.3 22C7.9 22 4.7 19 4.7 14.9c0-2.5 1.3-4.8 3.4-6.4.7-.5 1.6.1 1.4.9-.2 1 .1 2.1.9 2.9.6-2.8 2.2-5.2 4.5-7 .6-.5 1.5 0 1.4.8-.2 1.7.4 3.1 1.6 4.4 1.4 1.5 2.2 3.1 2.2 5.1 0 3.7-3.1 6.4-7.8 6.4Zm-.1-3.2c1.6 0 2.7-1.1 2.7-2.6 0-1-.4-1.8-1.2-2.6-.3.9-.9 1.7-1.7 2.3-.7-.4-1.3-1-1.7-1.8-.4.6-.6 1.3-.6 2 0 1.5 1 2.7 2.5 2.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.3 22C7.9 22 4.7 19 4.7 14.9c0-2.5 1.3-4.8 3.4-6.4.7-.5 1.6.1 1.4.9-.2 1 .1 2.1.9 2.9.6-2.8 2.2-5.2 4.5-7 .6-.5 1.5 0 1.4.8-.2 1.7.4 3.1 1.6 4.4 1.4 1.5 2.2 3.1 2.2 5.1 0 3.7-3.1 6.4-7.8 6.4Zm-.1-3.2c1.6 0 2.7-1.1 2.7-2.6 0-1-.4-1.8-1.2-2.6-.3.9-.9 1.7-1.7 2.3-.7-.4-1.3-1-1.7-1.8-.4.6-.6 1.3-.6 2 0 1.5 1 2.7 2.5 2.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ideas-page .ideas-pagination {
  gap: 9px;
  margin-top: 44px;
}

.ideas-page .ideas-pagination__button,
.ideas-pagination__page {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--meal-text-primary);
  box-shadow:
    0 1px 2px rgba(31, 38, 48, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 720;
  transition:
    transform 160ms var(--meal-ease),
    background 160ms var(--meal-ease),
    border-color 160ms var(--meal-ease),
    box-shadow 160ms var(--meal-ease);
}

.ideas-page .ideas-pagination__button:hover:not(:disabled),
.ideas-pagination__page:hover {
  border-color: rgba(15, 23, 42, 0.18);
  background: #fff;
  box-shadow:
    0 8px 20px rgba(31, 38, 48, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.ideas-page .ideas-pagination__button svg {
  width: 18px;
  height: 18px;
}

.ideas-page .ideas-pagination__pages {
  display: flex;
  gap: 6px;
}

.ideas-pagination__page.is-active {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 29, 31, 0.13);
}

.ideas-page .ideas-pagination__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ideas-page .ideas-empty {
  border-radius: 8px;
  background: #fff;
}

.ideas-page .ideas-bridge {
  background: transparent;
  border-color: transparent;
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.ideas-page .ideas-bridge__layout {
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.ideas-page .ideas-bridge__line {
  max-width: 18ch;
  letter-spacing: 0;
}

.ideas-page .ideas-steps {
  gap: 0;
}

.ideas-page .ideas-step {
  position: relative;
  padding: 22px 0 22px 54px;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ideas-page .ideas-step:last-child {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.ideas-page .ideas-step::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 34px;
  height: 34px;
  margin: 0;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
}

.ideas-page .ideas-step h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.ideas-page .ideas-step p {
  max-width: 48ch;
  color: var(--meal-text-secondary);
}

.ideas-page .ideas-faq-section {
  background: transparent;
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

.ideas-page .ideas-faq {
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.ideas-page .ideas-faq__item {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ideas-page .ideas-faq__item summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  color: var(--meal-text-primary);
  font-size: 17px;
  font-weight: 700;
}

.ideas-page .ideas-faq__item summary::-webkit-details-marker {
  display: none;
}

.ideas-page .ideas-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--meal-text-tertiary);
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.ideas-page .ideas-faq__item[open] summary::after {
  content: "−";
}

.ideas-page .ideas-faq__item p {
  max-width: 62ch;
  padding: 0 44px 20px 0;
  color: var(--meal-text-secondary);
}

.ideas-page .ideas-final {
  padding-block: clamp(76px, 9vw, 118px);
  background: transparent;
  color: var(--meal-text-primary);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.ideas-page .ideas-final .section__title {
  color: var(--meal-text-primary);
}

.ideas-page .ideas-final .section__lead {
  margin-top: 16px;
  color: var(--meal-text-secondary);
}

.ideas-page .ideas-final .meal-button {
  background: #1d1d1f;
  color: #fff;
}

@media (min-width: 720px) {
  .ideas-page .ideas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ideas-page .ideas-hero__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.96fr);
  }

  .ideas-page .ideas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ideas-page .ideas-week-link__card {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  }

  .ideas-page .ideas-bridge__layout {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

@media (max-width: 719px) {
  .ideas-page .ideas-hero {
    padding-top: 42px;
    padding-bottom: 24px;
  }

  .ideas-page .ideas-hero__inner {
    gap: 28px;
  }

  .ideas-page .ideas-hero__title {
    font-size: clamp(43px, 13vw, 58px);
  }

  .ideas-page .ideas-week-link__card {
    border-radius: 20px;
  }

  .ideas-page .ideas-hero__visual {
    min-height: 240px;
  }

  .ideas-page .ideas-hero__photo {
    border-width: 4px;
    border-radius: 12px;
  }

  .ideas-page .ideas-hero__photo--main {
    inset: 4% 24% 4% 0;
  }

  .ideas-page .ideas-hero__photo--top {
    inset: 0 0 53% 62%;
  }

  .ideas-page .ideas-hero__photo--bottom {
    inset: 54% 0 2% 63%;
  }

  .ideas-page .ideas-hero__badge {
    left: 8%;
    min-height: 60px;
    padding: 8px 13px 8px 8px;
  }

  .ideas-page .ideas-hero__badge-symbol {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .ideas-page .ideas-catalog__head {
    gap: 10px;
  }

  .ideas-page .ideas-tabs,
  .ideas-page .ideas-filter-row {
    width: calc(100vw - (var(--meal-page-px) * 2));
    padding-bottom: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ideas-page .ideas-tabs::-webkit-scrollbar,
  .ideas-page .ideas-filter-row::-webkit-scrollbar {
    display: none;
  }

  .ideas-page .ideas-grid {
    gap: 18px;
  }

  .ideas-page .idea-card__title {
    min-height: 0;
  }

  .ideas-page .ideas-pagination__pages {
    gap: 4px;
  }

  .ideas-page .ideas-pagination__button,
  .ideas-pagination__page {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }
}

@media (max-width: 479px) {
  .ideas-page .ideas-week-link__photos {
    min-height: 220px;
  }

  .ideas-page .ideas-week-link__copy .meal-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ideas-page .idea-card,
  .ideas-page .idea-card__photo {
    transition: none;
  }
}
