﻿/*
  BriqueOS GiftMatch — Collector Briques editorial refit
  Direction:
  - beaucoup plus clair
  - moins “outil SaaS sombre”
  - plus magazine premium AFOL
  - images rares et seulement utiles
  - accents cuivre/graphite, pas ambiance MouluParfait

  Images locales optionnelles à déposer dans assets/giftmatch-media/ :
  - universe-star-wars.webp
  - universe-harry-potter.webp
  - universe-technic.webp
  - universe-botanique.webp
  - universe-architecture.webp
  - universe-icons.webp
  - universe-lotr.webp
  - universe-speed-champions.webp
*/

.briqueos-wrap {
  --bos-bg: #f3eee6;
  --bos-bg-2: #fbf8f3;
  --bos-paper: #ffffff;
  --bos-paper-2: #fcfaf7;
  --bos-ink: #171b22;
  --bos-ink-2: #2a313b;
  --bos-muted: #66707d;
  --bos-muted-2: #8e97a2;
  --bos-line: #ddd4c7;
  --bos-line-2: #ebe4da;
  --bos-accent: #b57d3e;
  --bos-accent-2: #8e6130;
  --bos-accent-soft: rgba(181,125,62,.11);
  --bos-accent-soft-2: rgba(181,125,62,.18);
  --bos-danger: #b53f3f;
  --bos-danger-bg: #fff1ef;
  --bos-success: #1d6a4f;
  --bos-shadow: 0 22px 50px rgba(20, 25, 32, .08);
  --bos-shadow-soft: 0 10px 28px rgba(20, 25, 32, .05);
  --bos-radius-xl: 30px;
  --bos-radius-lg: 22px;
  --bos-radius-md: 16px;
  --bos-radius-sm: 12px;

  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--bos-ink);
  max-width: 1280px;
  margin: 0 auto;
}

.briqueos-wrap *,
.briqueos-wrap *::before,
.briqueos-wrap *::after {
  box-sizing: border-box;
}

.briqueos-wrap button,
.briqueos-wrap input,
.briqueos-wrap select,
.briqueos-wrap textarea {
  font: inherit;
}

.briqueos-wrap a {
  color: inherit;
  text-decoration: none;
}

.bos-shell,
.bos-results-shell {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.72)),
    linear-gradient(180deg, var(--bos-bg-2) 0%, var(--bos-bg) 100%);
  border: 1px solid rgba(36, 42, 51, .08);
  border-radius: 34px;
  box-shadow: var(--bos-shadow);
  overflow: hidden;
}

.bos-shell::before,
.bos-results-shell::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #1c232d 0%, #2d3642 42%, #b57d3e 100%);
  opacity: .95;
}

.bos-hero {
  position: relative;
  padding: 42px 34px 28px;
  background:
    radial-gradient(circle at top right, rgba(181,125,62,.09), transparent 22%),
    radial-gradient(circle at left 20%, rgba(22,27,34,.05), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.58));
}
.bos-hero h2 {
    margin-top:1em !important;
}
.bos-hero--results {
  padding-bottom: 32px;
}

.bos-hero__kicker,
.bos-intro__kicker,
.bos-summary__eyebrow,
.bos-result-hero__eyebrow {
  margin: 0 0 10px;
  font-size: .72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bos-accent-2);
}

.bos-hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--bos-ink);
}

.bos-hero__sub {
  margin: 14px 0 0;
  max-width: 68ch;
  color: var(--bos-ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.bos-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px 34px 0;
}

.bos-step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--bos-line-2);
  color: var(--bos-muted);
  box-shadow: var(--bos-shadow-soft);
}

.bos-step--active {
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
  border-color: rgba(181,125,62,.35);
  color: var(--bos-ink);
}

.bos-step--done {
  background: #ffffff;
  color: var(--bos-ink-2);
}

.bos-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: #eef1f4;
  border: 1px solid rgba(23,27,34,.08);
  font-size: .84rem;
  font-weight: 700;
  color: var(--bos-ink);
}

.bos-step--active .bos-step__num {
  background: var(--bos-accent);
  border-color: var(--bos-accent);
  color: #fff;
}

.bos-step__label {
  font-size: .9rem;
  font-weight: 600;
}

.bos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, .9fr);
  gap: 26px;
  padding: 28px 34px 34px;
}

.bos-main {
  min-width: 0;
}

.bos-intro {
  margin-bottom: 22px;
}

.bos-intro__title {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  color: var(--bos-ink);
}

.bos-intro__text {
  margin: 12px 0 0;
  max-width: 60ch;
  color: var(--bos-muted);
  line-height: 1.7;
}

.bos-validation {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 15px;
  border: 1px solid rgba(181,63,63,.18);
  background: var(--bos-danger-bg);
  color: var(--bos-danger);
  font-weight: 600;
}

.bos-pane {
  display: grid;
  gap: 22px;
}

.bos-grid {
  display: grid;
  gap: 16px;
}

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

.bos-group {
  padding: 22px;
  border-radius: var(--bos-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82));
  border: 1px solid var(--bos-line-2);
  box-shadow: var(--bos-shadow-soft);
}

.bos-group--dense {
  padding: 18px;
}

.bos-group__head {
  margin-bottom: 14px;
}

.bos-group__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bos-ink);
}

.bos-group__hint {
  margin: 7px 0 0;
  color: var(--bos-muted);
  font-size: .93rem;
  line-height: 1.6;
}

.bos-field {
  display: grid;
  gap: 8px;
}

.bos-label {
  font-size: .86rem;
  font-weight: 700;
  color: var(--bos-ink);
}

.bos-select-wrap {
  position: relative;
}

.bos-select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--bos-muted);
  pointer-events: none;
  font-size: .95rem;
}

.bos-select,
.bos-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--bos-line);
  background: var(--bos-paper-2);
  color: var(--bos-ink);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.bos-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.bos-input::placeholder,
.bos-select:invalid {
  color: var(--bos-muted-2);
}

.bos-select:hover,
.bos-input:hover {
  border-color: #c8bcaa;
  background: #fffefb;
}

.bos-select:focus,
.bos-input:focus {
  border-color: rgba(181,125,62,.55);
  box-shadow: 0 0 0 4px rgba(181,125,62,.12);
  background: #fff;
}

.bos-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bos-chipline,
.bos-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bos-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bos-visual,
.bos-toggle {
  position: relative;
  display: block;
  cursor: pointer;
}

.bos-visual {
  min-width: 0;
}

.bos-visual__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 172px;
  padding: 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23,27,34,.08);
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
  box-shadow: var(--bos-shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.bos-visual__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,26,.08) 0%, rgba(15,20,26,.62) 100%);
}

.bos-visual__veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(13,17,21,.72));
}

.bos-visual__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: #fff;
}

.bos-visual__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.05;
}

.bos-visual__note {
  font-size: .84rem;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
}

.bos-toggle__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--bos-line);
  background: var(--bos-paper);
  color: var(--bos-ink-2);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.bos-toggle--accent .bos-toggle__inner {
  background: linear-gradient(180deg, #fffdfa, #fbf5ee);
}

.bos-toggle--muted .bos-toggle__inner {
  color: var(--bos-muted);
}

.bos-visual:hover .bos-visual__inner,
.bos-toggle:hover .bos-toggle__inner {
  transform: translateY(-2px);
  border-color: rgba(181,125,62,.38);
  box-shadow: 0 16px 30px rgba(20,25,32,.09);
}

.bos-visual .bos-check:focus-visible + .bos-visual__inner,
.bos-toggle .bos-check:focus-visible + .bos-toggle__inner {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(181,125,62,.14);
  border-color: rgba(181,125,62,.55);
}

.bos-visual .bos-check:checked + .bos-visual__inner {
  border-color: rgba(181,125,62,.75);
  box-shadow: 0 18px 34px rgba(20,25,32,.12);
  transform: translateY(-2px);
}

.bos-visual .bos-check:checked + .bos-visual__inner::after {
  content: 'Sélectionné';
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--bos-accent-2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bos-toggle .bos-check:checked + .bos-toggle__inner {
  border-color: rgba(181,125,62,.58);
  background: linear-gradient(180deg, #fff6ec 0%, #f9efe3 100%);
  color: var(--bos-ink);
  box-shadow: 0 10px 24px rgba(181,125,62,.12);
}

.bos-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.bos-actions--split {
  justify-content: space-between;
}

.bos-actions--center {
  justify-content: center;
}

.bos-btn,
.bos-link {
  transition: all .18s ease;
}

.bos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.bos-btn--primary {
  background: linear-gradient(180deg, #222a34 0%, #171d26 100%);
  color: #fff!important;
  border-color: #171d26;
  box-shadow: 0 16px 28px rgba(23,29,38,.16);
}

.bos-btn--primary:hover,
.bos-btn--primary:focus-visible,
.bos-btn--primary:visited {
  color: #fff;
}

.bos-btn--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #2b3440 0%, #1c232d 100%);
}

.bos-btn--ghost {
  background: rgba(255,255,255,.72);
  color: var(--bos-ink);
  border-color: var(--bos-line);
}

.bos-btn--ghost:hover,
.bos-btn--ghost:focus-visible,
.bos-btn--ghost:visited,
.bos-link:hover,
.bos-link:focus-visible,
.bos-link:visited {
  color: var(--bos-ink);
}

.bos-btn--ghost:hover,
.bos-link:hover {
  border-color: rgba(181,125,62,.4);
  background: #fffdf9;
}

.bos-summary {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(252,249,244,.95));
  border: 1px solid var(--bos-line-2);
  box-shadow: var(--bos-shadow-soft);
}

.bos-summary__title {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.08;
  color: var(--bos-ink);
}

.bos-summary__card,
.bos-featured__media,
.bos-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bos-summary__card {
  min-height: 172px;
  margin: 16px 0 18px;
  border: 1px solid rgba(23,27,34,.08);
  box-shadow: var(--bos-shadow-soft);
}

.bos-summary__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,12,16,.08), rgba(9,12,16,.64));
}

.bos-summary__content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: #fff;
}

.bos-summary__mini {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82)!important;
}

.bos-summary__content strong {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.06;
  color: rgba(255,255,255,.82)!important;
}

.bos-summary__content span:last-child {
  font-size: .9rem;
  color: rgba(255,255,255,.88);
}

.bos-summary__list {
  display: grid;
  gap: 10px;
}

.bos-summary__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bos-line-2);
}

.bos-summary__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bos-summary__k {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bos-muted);
}

.bos-summary__v {
  text-align: right;
  color: var(--bos-ink);
  font-weight: 600;
}

.bos-loader,
.bos-error {
  padding: 72px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(251,248,243,.96));
  border-radius: 30px;
  border: 1px solid var(--bos-line-2);
  box-shadow: var(--bos-shadow);
}

.bos-loader__glyphs {
  display: inline-flex;
  gap: 10px;
}

.bos-loader__glyphs span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #303846, #b57d3e);
  animation: bos-pulse 1.1s infinite ease-in-out;
}

.bos-loader__glyphs span:nth-child(2) {
  animation-delay: .12s;
}

.bos-loader__glyphs span:nth-child(3) {
  animation-delay: .24s;
}

@keyframes bos-pulse {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.bos-loader__title,
.bos-error__msg {
  margin: 18px 0 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--bos-ink);
}

.bos-loader__phrase {
  margin: 12px auto 0;
  max-width: 40ch;
  color: var(--bos-muted);
  line-height: 1.7;
}

.bos-result-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 0 34px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #faf5ee);
  border: 1px solid var(--bos-line-2);
  box-shadow: var(--bos-shadow-soft);
}

.bos-score-ring {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--bos-accent) 0 78%, #e6ddd1 78% 100%);
  box-shadow: inset 0 0 0 1px rgba(23,27,34,.06);
}

.bos-score-ring__inner {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--bos-line-2);
}

.bos-score-ring__num {
  display: block;
  margin-top: 8px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--bos-ink);
}

.bos-score-ring__label {
  display: block;
  margin-top: -2px;
  font-size: .78rem;
  color: var(--bos-muted);
}

.bos-result-hero__title {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.06;
  color: var(--bos-ink);
}

.bos-result-hero__mode {
  margin: 8px 0 0;
  color: var(--bos-accent-2);
  font-weight: 700;
}

.bos-result-hero__text,
.bos-result-hero__risk {
  margin: 10px 0 0;
  color: var(--bos-muted);
  line-height: 1.7;
}

.bos-featured {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: 26px;
  margin: 26px 34px 0;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf5 100%);
  border: 1px solid var(--bos-line-2);
  box-shadow: var(--bos-shadow-soft);
}

.bos-featured__media {
  min-height: 320px;
  border: 1px solid rgba(23,27,34,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.bos-featured__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,20,.10) 0%, rgba(11,15,20,.56) 100%);
}

.bos-featured__pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--bos-accent-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bos-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bos-featured__ref,
.bos-secondary__ref {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bos-muted);
}

.bos-featured__title,
.bos-secondary__title {
  margin: 8px 0 0;
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.07;
  color: var(--bos-ink);
}

.bos-featured__title {
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
}

.bos-featured__price,
.bos-secondary__price {
  color: var(--bos-accent-2);
  font-weight: 700;
}

.bos-featured__price {
  margin: 12px 0 0;
}

.bos-featured__why,
.bos-secondary__why {
  color: var(--bos-ink-2);
  line-height: 1.75;
}

.bos-featured__why {
  margin: 14px 0 0;
  max-width: 58ch;
}

.bos-featured__actions,
.bos-secondary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bos-featured__actions {
  margin-top: 18px;
}

.bos-secondary-list {
  display: grid;
  gap: 16px;
  margin: 18px 34px 0;
}

.bos-secondary {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--bos-line-2);
  box-shadow: var(--bos-shadow-soft);
}

.bos-secondary__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.bos-secondary__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f2630 0%, #171d26 100%);
  color: #fff;
  font-weight: 700;
}

.bos-secondary__title {
  font-size: 1.25rem;
}

.bos-secondary__price {
  white-space: nowrap;
}

.bos-secondary__why {
  margin: 14px 0 0;
}

.bos-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--bos-line);
  background: var(--bos-paper-2);
  color: var(--bos-ink);
  font-weight: 700;
}

.bos-disclaimer {
  margin: 20px 34px 0;
  color: var(--bos-muted);
  font-size: .88rem;
}

.bos-results-shell .bos-actions {
  padding: 26px 34px 34px;
}

.bos-media--editorial {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.14), rgba(11,15,20,.52)),
    linear-gradient(135deg, #6d7680, #2d3640);
}

.bos-media--star-wars,
.bos-visual--star-wars .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.54)),
    url('/assets/img/uploads/2026/03/photo-1518331647614-7a1f04cd34cf.avif'),
    linear-gradient(135deg, #6b737b, #171d26);
}

.bos-media--harry-potter,
.bos-visual--harry-potter .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.56)),
    url('/assets/img/uploads/2026/02/lego-placeholder.jpg'),
    linear-gradient(135deg, #7c746d, #252c35);
}

.bos-media--technic,
.bos-visual--technic .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.54)),
    url('/assets/img/uploads/2026/01/LEGO-F1-Ferrari-2026.jpg'),
    linear-gradient(135deg, #70757c, #20262e);
}

.bos-media--botanique,
.bos-visual--botanique .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.08), rgba(11,15,20,.50)),
    url('/assets/img/uploads/2026/01/fleurs-lego-saint-valentin-ambiance-1024x683-1.webp'),
    linear-gradient(135deg, #7d8374, #29322b);
}

.bos-media--architecture,
.bos-visual--architecture .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.56)),
    url('https://m.media-amazon.com/images/I/81cndZ5bvpL._AC_SX679_.jpg'),
    linear-gradient(135deg, #77736e, #272d35);
}

.bos-media--icons,
.bos-visual--icons .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.58)),
    url('/assets/img/uploads/2026/02/pirates-des-caraibes-featured-clean-720x480.jpg'),
    linear-gradient(135deg, #897864, #2b3138);
}

.bos-media--lotr,
.bos-visual--lotr .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.56)),
    url('/assets/img/uploads/2025/12/Minas-titith-lego-en-briques-exposee-sur-un-meuble-dans-un-salon-dadulte.jpg'),
    linear-gradient(135deg, #6e736b, #232a31);
}

.bos-media--speed-champions,
.bos-visual--speed-champions .bos-visual__inner {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,.10), rgba(11,15,20,.56)),
    url('/assets/img/uploads/2026/01/lego-technic-2026.jpg'),
    linear-gradient(135deg, #727679, #242a32);
}


/* =========================================
   GIFTMATCH EDITORIAL
   version propre, sobre, premium, complète
   ========================================= */

body.page-id-8634 .cb-giftmatch-editorial {
  padding: 64px 0 32px !important;
  background: #f5f1ea !important;
  border-radius: 25px;
    margin-top: 40px;
}

body.page-id-8634 .cb-giftmatch-editorial__inner {
  width: min(100%, 1160px) !important;
  margin: 0 auto !important;
}

/* ===== HERO ===== */

body.page-id-8634 .cb-giftmatch-editorial__hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr) !important;
  gap: 24px !important;
  align-items: start !important;
  margin-bottom: 40px !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-copy {
  position: relative !important;
  padding: 28px 30px !important;
  border: 1px solid rgba(23, 27, 34, 0.08) !important;
  border-radius: 22px !important;
  background: #fffdfa !important;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-copy::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  border-radius: 22px 0 0 22px !important;
  background: #b48755 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__eyebrow {
  margin: 0 0 12px !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #9b7346 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-copy h2 {
  margin: 0 0 14px !important;
  color: #151922 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__lead {
  margin: 0 !important;
  max-width: 68ch !important;
  color: #444d59 !important;
  font-size: 1.04rem !important;
  line-height: 1.8 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-points {
  display: grid !important;
  gap: 14px !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-points article {
  position: relative !important;
  padding: 18px 20px 18px 24px !important;
  border: 1px solid rgba(23, 27, 34, 0.08) !important;
  border-radius: 18px !important;
  background: #fffdfa !important;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.05) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-points article::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  border-radius: 18px 0 0 18px !important;
  background: #b48755 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-points strong {
  display: block !important;
  margin: 0 0 4px !important;
  color: #151922 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__hero-points span {
  color: #525b67 !important;
  line-height: 1.65 !important;
}

/* ===== SECTIONS ===== */

body.page-id-8634 .cb-giftmatch-editorial__section {
  margin-top: 36px !important;
}

body.page-id-8634 .cb-giftmatch-editorial__section-head {
  margin-bottom: 18px !important;
}

body.page-id-8634 .cb-giftmatch-editorial__section-head h2 {
  margin: 0 0 10px !important;
  color: #151922 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__section-head p {
  margin: 0 !important;
  max-width: 820px !important;
  color: #464f5b !important;
  line-height: 1.8 !important;
}

/* ===== GRIDS ===== */

body.page-id-8634 .cb-giftmatch-editorial__criteria,
body.page-id-8634 .cb-giftmatch-editorial__grid,
body.page-id-8634 .cb-giftmatch-editorial__split,
body.page-id-8634 .cb-giftmatch-editorial__checklist,
body.page-id-8634 .cb-giftmatch-editorial__faq,
body.page-id-8634 .cb-giftmatch-editorial__cta {
  display: grid !important;
  gap: 18px !important;
}

body.page-id-8634 .cb-giftmatch-editorial__criteria {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__checklist {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__faq {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__cta {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

/* ===== CARDS ===== */

body.page-id-8634 .cb-giftmatch-editorial__mini-card,
body.page-id-8634 .cb-giftmatch-editorial__card,
body.page-id-8634 .cb-giftmatch-editorial__panel,
body.page-id-8634 .cb-giftmatch-editorial__checklist article,
body.page-id-8634 .cb-giftmatch-editorial__faq article {
  position: relative !important;
  padding: 22px 22px 20px !important;
  border: 1px solid rgba(23, 27, 34, 0.08) !important;
  border-radius: 20px !important;
  background: #fffdfa !important;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.05) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__mini-card::before,
body.page-id-8634 .cb-giftmatch-editorial__card::before,
body.page-id-8634 .cb-giftmatch-editorial__panel::before,
body.page-id-8634 .cb-giftmatch-editorial__checklist article::before,
body.page-id-8634 .cb-giftmatch-editorial__faq article::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 3px !important;
  border-radius: 20px 20px 0 0 !important;
  background: rgba(180, 135, 85, 0.9) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__mini-card h3,
body.page-id-8634 .cb-giftmatch-editorial__card h3,
body.page-id-8634 .cb-giftmatch-editorial__checklist h3,
body.page-id-8634 .cb-giftmatch-editorial__faq h3 {
  margin: 0 0 10px !important;
  color: #151922 !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__panel h2 {
  margin: 0 0 10px !important;
  color: #151922 !important;
}

body.page-id-8634 .cb-giftmatch-editorial__mini-card p,
body.page-id-8634 .cb-giftmatch-editorial__card p,
body.page-id-8634 .cb-giftmatch-editorial__panel p,
body.page-id-8634 .cb-giftmatch-editorial__checklist p,
body.page-id-8634 .cb-giftmatch-editorial__faq p {
  margin: 0 !important;
  color: #48515d !important;
  line-height: 1.75 !important;
}

/* ===== CHECKLIST NUMBERS ===== */

body.page-id-8634 .cb-giftmatch-editorial__num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  margin-bottom: 14px !important;
  border-radius: 999px !important;
  background: #f0dfc8 !important;
  color: #8a6338 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}

/* ===== CTA ===== */

body.page-id-8634 .cb-giftmatch-editorial__link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 72px !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  text-decoration: none !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.page-id-8634 .cb-giftmatch-editorial__link:first-child {
  background: #1a1f28 !important;
  color: #fffaf3 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__link:last-child {
  background: #fffdfa !important;
  color: #161b22 !important;
  border: 1px solid rgba(23, 27, 34, 0.1) !important;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.05) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__link:hover,
body.page-id-8634 .cb-giftmatch-editorial__link:focus {
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

body.page-id-8634 .cb-giftmatch-editorial__link:first-child:hover,
body.page-id-8634 .cb-giftmatch-editorial__link:first-child:focus {
  color: #fffaf3 !important;
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.20) !important;
}

body.page-id-8634 .cb-giftmatch-editorial__link:last-child:hover,
body.page-id-8634 .cb-giftmatch-editorial__link:last-child:focus {
  color: #161b22 !important;
  border-color: rgba(180, 135, 85, 0.35) !important;
}

/* ===== GLOBAL TYPO ===== */

body.page-id-8634 .cb-giftmatch-editorial h2,
body.page-id-8634 .cb-giftmatch-editorial h3 {
  font-family: inherit !important;
}

body.page-id-8634 .cb-giftmatch-editorial p {
  font-family: inherit !important;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 980px) {
  body.page-id-8634 .cb-giftmatch-editorial {
    padding: 52px 0 24px !important;
  }

  body.page-id-8634 .cb-giftmatch-editorial__hero,
  body.page-id-8634 .cb-giftmatch-editorial__criteria,
  body.page-id-8634 .cb-giftmatch-editorial__grid,
  body.page-id-8634 .cb-giftmatch-editorial__split,
  body.page-id-8634 .cb-giftmatch-editorial__checklist,
  body.page-id-8634 .cb-giftmatch-editorial__faq,
  body.page-id-8634 .cb-giftmatch-editorial__cta {
    grid-template-columns: 1fr !important;
  }

  body.page-id-8634 .cb-giftmatch-editorial__hero-copy {
    padding: 24px 22px !important;
  }
}

@media (max-width: 640px) {
  body.page-id-8634 .cb-giftmatch-editorial {
    padding: 42px 0 18px !important;
  }

  body.page-id-8634 .cb-giftmatch-editorial__hero-copy,
  body.page-id-8634 .cb-giftmatch-editorial__hero-points article,
  body.page-id-8634 .cb-giftmatch-editorial__mini-card,
  body.page-id-8634 .cb-giftmatch-editorial__card,
  body.page-id-8634 .cb-giftmatch-editorial__panel,
  body.page-id-8634 .cb-giftmatch-editorial__checklist article,
  body.page-id-8634 .cb-giftmatch-editorial__faq article,
  body.page-id-8634 .cb-giftmatch-editorial__link {
    border-radius: 16px !important;
  }

  body.page-id-8634 .cb-giftmatch-editorial__hero-copy::before,
  body.page-id-8634 .cb-giftmatch-editorial__hero-points article::before {
    border-radius: 16px 0 0 16px !important;
  }

  body.page-id-8634 .cb-giftmatch-editorial__mini-card::before,
  body.page-id-8634 .cb-giftmatch-editorial__card::before,
  body.page-id-8634 .cb-giftmatch-editorial__panel::before,
  body.page-id-8634 .cb-giftmatch-editorial__checklist article::before,
  body.page-id-8634 .cb-giftmatch-editorial__faq article::before {
    border-radius: 16px 16px 0 0 !important;
  }
}

.cb-tool-hero {
  padding: 18px 0 30px;
}

.cb-tool-hero__inner {
  max-width: 920px;
}

.cb-tool-hero__label {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6a43;
}

.cb-tool-hero__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.cb-tool-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 16px;
}

.cb-tool-hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(22, 27, 34, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #313743;
  font-size: 0.88rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .cb-tool-hero {
    padding: 14px 0 8px;
  }

  .cb-tool-hero__title {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3.8rem);
    line-height: 0.96;
  }

  .cb-tool-hero__meta {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .cb-tool-hero__title {
    font-size: clamp(1.9rem, 10vw, 2.9rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .cb-tool-hero__meta span {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .cb-giftmatch-editorial__hero,
  .cb-giftmatch-editorial__criteria,
  .cb-giftmatch-editorial__checklist,
  .cb-giftmatch-editorial__faq,
  .cb-giftmatch-editorial__split,
  .cb-giftmatch-editorial__cta,
  .cb-giftmatch-editorial__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .bos-layout {
    grid-template-columns: 1fr;
  }

  .bos-summary {
    position: static;
  }
  body.page-id-8634 .cb-giftmatch-editorial {
      background:none!important;
  }
}

@media (max-width: 900px) {
  .bos-featured {
    grid-template-columns: 1fr;
  }

  .bos-featured__media {
    min-height: 260px;
  }

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

@media (max-width: 760px) {
  .bos-hero,
  .bos-results-shell .bos-hero {
    padding: 34px 22px 24px;
  }

  .bos-steps,
  .bos-layout,
  .bos-result-hero,
  .bos-featured,
  .bos-secondary-list,
  .bos-disclaimer,
  .bos-results-shell .bos-actions {
    margin-left: 0;
    margin-right: 0;
    padding-left: 22px;
    padding-right: 22px;
  }

  .bos-layout {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .bos-result-hero,
  .bos-featured,
  .bos-secondary-list,
  .bos-disclaimer,
  .bos-results-shell .bos-actions {
    padding-left: 22px;
    padding-right: 22px;
  }

  .bos-grid--2,
  .bos-secondary__head,
  .bos-result-hero {
    grid-template-columns: 1fr;
  }

  .bos-step__label {
    display: none;
  }

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

  .bos-step {
    justify-content: center;
  }

  .bos-actions--split {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .bos-btn,
  .bos-link,
  .bos-toggle {
    width: 100%;
  }

  .bos-toggle__inner,
  .bos-btn,
  .bos-link {
    width: 100%;
  }

  .bos-score-ring {
    width: 96px;
    height: 96px;
  }

  .bos-score-ring__inner {
    width: 68px;
    height: 68px;
  }

  .bos-summary__item {
    display: grid;
    gap: 4px;
  }

  .bos-summary__v {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .briqueos-wrap {
    padding-left: 0px;
    padding-right: 0px;
  }

  .bos-shell,
  .bos-results-shell {
    border-radius: 24px;
  }

  .bos-visual-grid {
    grid-template-columns: 1fr;
  }

  .bos-hero__title {
    max-width: 100%;
  }

  .bos-group,
  .bos-summary,
  .bos-result-hero,
  .bos-featured,
  .bos-secondary {
    border-radius: 18px;
  }
}



