/* Brucepilot Routines: page of the routines and page of one routine. Colours are CSS variables; the shop theme or the module settings may change them. */
.bp-rt { --bp-rt-ink: #231f1b; --bp-rt-muted: #7d736a; --bp-rt-line: #ebe4dc; --bp-rt-surface: #f7f3ee; --bp-rt-sand: color-mix(in srgb, var(--bp-rt-surface) 80%, var(--bp-rt-accent)); --bp-rt-accent: #9c876f; --bp-rt-ok: #4f6b4a; --bp-rt-hot: #a4442f; --bp-rt-dark: color-mix(in srgb, var(--bp-rt-ink) 92%, #000); --bp-rt-light: #f0d6a8; --bp-rt-radius: 16px; color: var(--bp-rt-ink); }
.bp-rt a { text-decoration: none; }
.bp-rt img { display: block; max-width: 100%; height: auto; }
.bp-rt-wrap { max-width: 1290px; margin: 0 auto; padding: 0 40px; }
.bp-rt-section { padding: 88px 0; }
.bp-rt-eyebrow { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bp-rt-accent); }
.bp-rt-eyebrow--light { color: var(--bp-rt-light); }
.bp-rt-title { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; color: var(--bp-rt-ink); }
.bp-rt-head { margin-bottom: 40px; }
.bp-rt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; border-radius: 999px; background: var(--bp-rt-ink); color: #fff !important; font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: background .2s, transform .2s, box-shadow .25s; }
.bp-rt-btn:hover { background: var(--bp-rt-dark); transform: translateY(-1px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .55); }
.bp-rt-btn--light { background: var(--bp-rt-light); color: var(--bp-rt-ink) !important; }
.bp-rt-btn--light:hover { background: #fff; }

/* Hero */
.bp-rt-hero { padding: 48px 0 72px; background: linear-gradient(180deg, color-mix(in srgb, var(--bp-rt-surface) 40%, #fff) 0%, var(--bp-rt-surface) 100%); }
.bp-rt-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bp-rt-hero__title { margin: 0 0 16px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; }
.bp-rt-hero__lead { margin: 0 0 24px; max-width: 540px; font-size: 16.5px; line-height: 1.6; color: color-mix(in srgb, var(--bp-rt-ink) 80%, #fff); }
.bp-rt-included { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.bp-rt-included li { margin: 0; display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: color-mix(in srgb, var(--bp-rt-ink) 80%, #fff); }
.bp-rt-included svg { flex: none; margin-top: 2px; color: var(--bp-rt-ok); }
.bp-rt-included strong { display: inline-block; min-width: 82px; margin-right: 6px; font-weight: 600; color: var(--bp-rt-ink); }
.bp-rt-price { padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--bp-rt-line); box-shadow: 0 24px 50px -36px rgba(35, 31, 27, .4); max-width: 520px; }
.bp-rt-price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.bp-rt-price__now { font-size: 38px; font-weight: 600; line-height: 1; color: var(--bp-rt-ink); }
.bp-rt-price__was { font-size: 19px; color: var(--bp-rt-muted); text-decoration: line-through; }
.bp-rt-price__off { padding: 4px 10px; border-radius: 999px; background: var(--bp-rt-hot); color: #fff; font-size: 13px; font-weight: 600; align-self: center; }
.bp-rt-price__save { margin: 8px 0 16px; font-size: 14px; font-weight: 600; color: var(--bp-rt-ok); }
.bp-rt-price .bp-rt-btn { width: 100%; }
.bp-rt-trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.bp-rt-trust li { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bp-rt-muted); }
.bp-rt-trust svg { flex: none; color: var(--bp-rt-accent); }
.bp-rt-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bp-rt-stack--3 .bp-rt-stack__item:first-child { grid-row: span 2; }
.bp-rt-stack__item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -40px rgba(35, 31, 27, .45); }
.bp-rt-stack__item img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.bp-rt-stack__item:hover img { transform: scale(1.05); }
.bp-rt-stack__num { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bp-rt-ink); color: #fff; font-size: 13px; font-weight: 600; }
.bp-rt-stack__label { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; color: var(--bp-rt-ink); }

/* Signes */
.bp-rt-signs { background: var(--bp-rt-ink); color: #fff; }
.bp-rt-signs__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-top: 24px; padding-bottom: 24px; }
.bp-rt-signs__title { margin: 0; font-size: 18px; color: var(--bp-rt-light); }
.bp-rt-signs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-rt-signs li { margin: 0; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }

/* Étapes */
.bp-rt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bp-rt-steps--3 { grid-template-columns: repeat(3, 1fr); }
.bp-rt-steps--5 { grid-template-columns: repeat(5, 1fr); }
.bp-rt-step { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--bp-rt-line); border-radius: 16px; overflow: hidden; background: #fff; }
.bp-rt-step__img { display: block; aspect-ratio: 1 / 1; background: var(--bp-rt-surface); overflow: hidden; }
.bp-rt-step__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.bp-rt-step:hover .bp-rt-step__img img { transform: scale(1.05); }
.bp-rt-step__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.bp-rt-step__head { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; color: var(--bp-rt-ink); }
.bp-rt-step__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bp-rt-ink); color: #fff; font-size: 13px; font-weight: 600; }
.bp-rt-step__when { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 4px 0 6px; padding: 4px 10px; border-radius: 999px; background: var(--bp-rt-surface); font-size: 12px; color: var(--bp-rt-muted); }
.bp-rt-step__brand { margin: 0; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--bp-rt-accent); }
.bp-rt-step__name { display: inline-block; font-size: 15px; line-height: 1.35; color: var(--bp-rt-ink); }
.bp-rt-step__name::first-letter { text-transform: uppercase; }
.bp-rt-step__why { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--bp-rt-muted); }
.bp-rt-step__price { margin: auto 0 0; padding-top: 10px; font-size: 15px; font-weight: 600; }

/* Conseil */
.bp-rt-advice { background: var(--bp-rt-dark); color: rgba(255, 255, 255, .75); padding: 80px 0; }
.bp-rt-advice__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.bp-rt-advice__img { margin: 0; aspect-ratio: 4 / 5; max-height: 520px; border-radius: 16px; overflow: hidden; }
.bp-rt-advice__img img { width: 100%; height: 100%; object-fit: cover; }
.bp-rt-advice__quote { margin: 0 0 18px; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: #fff; }
.bp-rt-advice__more { margin: 0 0 26px; font-size: 15px; line-height: 1.6; }

/* FAQ */
.bp-rt-faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.bp-rt-faq__list details { border-bottom: 1px solid var(--bp-rt-line); padding: 18px 0; }
.bp-rt-faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 16.5px; color: var(--bp-rt-ink); }
.bp-rt-faq__list summary::-webkit-details-marker { display: none; }
.bp-rt-faq__list summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--bp-rt-accent); transition: transform .2s; }
.bp-rt-faq__list details[open] summary::after { transform: rotate(45deg); }
.bp-rt-faq__list p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--bp-rt-muted); }

/* Final */
.bp-rt-final { background: var(--bp-rt-sand); padding: 64px 0; }
.bp-rt-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.bp-rt-final .bp-rt-price { flex: 0 1 460px; }

/* Barre collante */
.bp-rt-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--bp-rt-line); box-shadow: 0 -18px 40px -24px rgba(35, 31, 27, .35); transform: translateY(105%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.bp-rt-sticky.is-on { transform: none; }
.bp-rt-sticky__inner { max-width: 1290px; margin: 0 auto; padding: 10px 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bp-rt-sticky__info { display: flex; flex-direction: column; }
.bp-rt-sticky__info strong, .bp-rt-sticky__info span { font-size: 15px; font-weight: 600; }
.bp-rt-sticky__info del { font-weight: 400; color: var(--bp-rt-muted); font-size: 13px; margin-left: 6px; }
.bp-rt-sticky .bp-rt-btn { height: 46px; padding: 0 22px; font-size: 12.5px; }

@media (max-width: 1100px) { .bp-rt-steps, .bp-rt-steps--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 999px) {
  .bp-rt-wrap { padding: 0 20px; }
  .bp-rt-section { padding: 60px 0; }
  .bp-rt-hero { padding: 28px 0 48px; }
  .bp-rt-hero__grid, .bp-rt-advice__grid, .bp-rt-faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .bp-rt-hero__visual { order: -1; }
  .bp-rt-advice { padding: 56px 0; }
  .bp-rt-advice__img { aspect-ratio: 16 / 10; }
  .bp-rt-sticky__inner { padding: 10px 16px; }
}
@media (max-width: 560px) {
  .bp-rt-stack { gap: 10px; }
  .bp-rt-steps, .bp-rt-steps--3, .bp-rt-steps--5 { grid-template-columns: 1fr; }
  .bp-rt-step { flex-direction: row; }
  .bp-rt-step__img { flex: 0 0 120px; aspect-ratio: auto; }
  .bp-rt-price__now { font-size: 32px; }
  .bp-rt-included strong { min-width: 0; display: block; }
  .bp-rt-sticky__info strong { font-size: 13px; }
}

/* Cartes de routine */
.bp-rt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bp-rt-card { display: flex; flex-direction: column; border: 1px solid var(--bp-rt-line); border-radius: 18px; overflow: hidden; background: #fff; color: var(--bp-rt-ink); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.bp-rt-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(35, 31, 27, .5); }
.bp-rt-card__imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--bp-rt-line); }
.bp-rt-card__imgs span { display: block; aspect-ratio: 1 / 1; background: var(--bp-rt-surface); overflow: hidden; }
.bp-rt-card__imgs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.bp-rt-card:hover .bp-rt-card__imgs img { transform: scale(1.05); }
.bp-rt-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.bp-rt-card__family { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bp-rt-accent); }
.bp-rt-card__title { font-size: 21px; line-height: 1.2; }
.bp-rt-card__teaser { font-size: 14px; color: var(--bp-rt-muted); }
.bp-rt-card__foot { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; }
.bp-rt-card__price { font-size: 19px; font-weight: 600; }
.bp-rt-card__foot del { font-size: 14px; color: var(--bp-rt-muted); }
.bp-rt-card__steps { margin-left: auto; font-size: 12.5px; color: var(--bp-rt-muted); }
.bp-rt-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
.bp-rt-card:hover .bp-rt-card__cta svg { transform: translateX(3px); }
.bp-rt-card__cta svg { transition: transform .2s; }
.bp-rt-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bp-rt-link { font-size: 13.5px; font-weight: 600; color: var(--bp-rt-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.bp-rt-related { background: var(--bp-rt-surface); }

/* Page des routines */
.bp-rt-hub-hero { padding: 56px 0 8px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--bp-rt-surface) 40%, #fff) 0%, #fff 100%); }
.bp-rt-hub-hero .bp-rt-hero__lead { margin: 0 auto; }
.bp-rt-hub-group { padding: 48px 0; }
.bp-rt-hub-advice__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bp-rt-hub-advice .bp-rt-advice__quote { max-width: 680px; margin: 0; }

@media (max-width: 999px) {
  .bp-rt-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .bp-rt-cards { grid-template-columns: 1fr; }
  .bp-rt-head--row { flex-direction: column; align-items: flex-start; }
  .bp-rt-hub-hero { padding-top: 36px; text-align: left; }
}

/* Preview, empty hub, product page notice */
.bp-rt-preview { padding: 10px 20px; background: var(--bp-rt-hot); color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
.bp-rt-empty { margin: 0; color: var(--bp-rt-muted); }
.bp-rt-advice:not(:has(.bp-rt-advice__grid)) .bp-rt-advice__text { max-width: 760px; }
.bp-rt-notice { margin: 14px 0; padding: 12px 16px; border-radius: 12px; background: var(--bp-rt-surface); font-size: 14px; }
.bp-rt-notice p { margin: 0; }
.bp-rt-notice p + p { margin-top: 6px; }
.bp-rt-notice a { color: var(--bp-rt-ink); font-weight: 600; text-decoration: underline; }
