:root {
  --cpb-final-ink: #07101f;
  --cpb-final-cream: #fffaf0;
  --cpb-final-gold: #d8b27a;
  --cpb-final-gold-strong: #b9974d;
}

@media screen {
  body.checkpoint-brochure-refonte .cpb-hero {
    min-height: 80vh !important;
    padding-top: clamp(96px, 9vw, 136px) !important;
    padding-bottom: clamp(72px, 8vw, 108px) !important;
    align-items: center !important;
  }

  body.checkpoint-brochure-refonte .cpb-hero__grid {
    align-items: center !important;
  }

  body.checkpoint-brochure-refonte .cpb-hero h1 {
    max-width: 780px !important;
    font-size: var(--rf-type-hero-title, clamp(3.15rem, 5.85vw, 5.15rem)) !important;
    line-height: 0.96 !important;
  }

  body.checkpoint-brochure-refonte .cpb-hero__lead {
    max-width: 760px !important;
    font-size: var(--rf-type-hero-subtitle, clamp(1.38rem, 2.2vw, 1.86rem)) !important;
    line-height: 1.18 !important;
  }

  body.checkpoint-brochure-refonte .cpb-hero__text {
    max-width: 720px !important;
    font-size: clamp(0.98rem, 0.55vw + 0.86rem, 1.16rem) !important;
    line-height: 1.62 !important;
  }

  body.checkpoint-brochure-refonte.theme-day .cpb-hero :is(.cpb-kicker, h1, .cpb-title-gold, .cpb-hero__lead, .cpb-hero__text),
  html[data-theme="day"] body.checkpoint-brochure-refonte .cpb-hero :is(.cpb-kicker, h1, .cpb-title-gold, .cpb-hero__lead, .cpb-hero__text) {
    color: var(--cpb-final-ink) !important;
    text-shadow: none !important;
  }

  body.checkpoint-brochure-refonte.theme-day .cpb-hero .cpb-btn--ghost,
  html[data-theme="day"] body.checkpoint-brochure-refonte .cpb-hero .cpb-btn--ghost {
    color: var(--cpb-final-ink) !important;
    border-color: rgba(7, 16, 31, 0.76) !important;
    background: rgba(255, 250, 240, 0.2) !important;
  }

  body.checkpoint-brochure-refonte #promesse .cpb-section-head p {
    max-width: 980px !important;
  }

  body.checkpoint-brochure-refonte #promesse .cpb-line {
    line-height: 1.55 !important;
  }

  body.checkpoint-brochure-refonte #cout .cpb-ledger--four article > span {
    font-size: clamp(0.86rem, 1.05vw, 1.02rem) !important;
    letter-spacing: 0.13em !important;
  }

  body.checkpoint-brochure-refonte.theme-day #methodologie .cpb-method-grid article,
  html[data-theme="day"] body.checkpoint-brochure-refonte #methodologie .cpb-method-grid article,
  body.checkpoint-brochure-refonte.theme-day #resultats .cpb-result-grid article,
  html[data-theme="day"] body.checkpoint-brochure-refonte #resultats .cpb-result-grid article {
    border-color: rgba(185, 151, 77, 0.28) !important;
    background: rgba(255, 250, 240, 0.92) !important;
    color: var(--cpb-final-ink) !important;
    box-shadow: 0 22px 68px rgba(7, 16, 31, 0.12) !important;
  }

  body.checkpoint-brochure-refonte.theme-day #methodologie .cpb-method-grid article :is(p, h3),
  html[data-theme="day"] body.checkpoint-brochure-refonte #methodologie .cpb-method-grid article :is(p, h3),
  body.checkpoint-brochure-refonte.theme-day #resultats .cpb-result-grid article p,
  html[data-theme="day"] body.checkpoint-brochure-refonte #resultats .cpb-result-grid article p {
    color: var(--cpb-final-ink) !important;
  }

  body.checkpoint-brochure-refonte.theme-night #methodologie .cpb-method-grid article,
  html[data-theme="night"] body.checkpoint-brochure-refonte #methodologie .cpb-method-grid article,
  body.checkpoint-brochure-refonte.theme-night #resultats .cpb-result-grid article,
  html[data-theme="night"] body.checkpoint-brochure-refonte #resultats .cpb-result-grid article {
    border-color: rgba(216, 178, 122, 0.34) !important;
    background: rgba(7, 16, 31, 0.86) !important;
    color: var(--cpb-final-cream) !important;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.24) !important;
  }

  body.checkpoint-brochure-refonte.theme-night #methodologie .cpb-method-grid article :is(p, h3),
  html[data-theme="night"] body.checkpoint-brochure-refonte #methodologie .cpb-method-grid article :is(p, h3),
  body.checkpoint-brochure-refonte.theme-night #resultats .cpb-result-grid article p,
  html[data-theme="night"] body.checkpoint-brochure-refonte #resultats .cpb-result-grid article p {
    color: var(--cpb-final-cream) !important;
  }

  body.checkpoint-brochure-refonte .cpb-deliverable {
    color: var(--cpb-final-ink) !important;
    font-size: clamp(0.94rem, 1.05vw, 1.08rem) !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
  }

  body.checkpoint-brochure-refonte .cpb-deliverable span {
    color: var(--cpb-final-gold-strong) !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  body.checkpoint-brochure-refonte.theme-night .cpb-deliverable,
  html[data-theme="night"] body.checkpoint-brochure-refonte .cpb-deliverable {
    color: var(--cpb-final-cream) !important;
  }

  body.checkpoint-brochure-refonte #resultats .cpb-result-grid article > span {
    color: var(--cpb-final-gold-strong) !important;
    font-size: clamp(0.88rem, 1.08vw, 1.02rem) !important;
    letter-spacing: 0.13em !important;
  }

  body.checkpoint-brochure-refonte #comparatif .cpb-section-subtitle {
    font-size: clamp(1.02rem, 1.45vw, 1.26rem) !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
  }

  body.checkpoint-brochure-refonte #comparatif .cpb-section-head p:not(.cpb-section-subtitle) {
    max-width: 780px !important;
    margin-inline: auto !important;
    line-height: 1.58 !important;
  }

  body.checkpoint-brochure-refonte.theme-day .cpb-final--checkpoint .cpb-btn--ghost,
  html[data-theme="day"] body.checkpoint-brochure-refonte .cpb-final--checkpoint .cpb-btn--ghost {
    color: var(--cpb-final-cream) !important;
    border-color: rgba(216, 178, 122, 0.9) !important;
    background: rgba(7, 16, 31, 0.22) !important;
    backdrop-filter: blur(14px) !important;
  }

  body.checkpoint-brochure-refonte .cpb-offer-card__media {
    width: 100% !important;
    overflow: hidden !important;
  }

  body.checkpoint-brochure-refonte .cpb-offer-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.04);
    transform-origin: center center;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer {
    padding-block: clamp(2.2rem, 4vw, 3.4rem) !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references {
    width: min(1120px, calc(100% - 40px)) !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: auto minmax(420px, 1fr) !important;
    grid-template-areas:
      "brand nav"
      "tagline nav" !important;
    align-items: center !important;
    column-gap: clamp(1.6rem, 4vw, 4rem) !important;
    row-gap: 0.38rem !important;
    text-align: left !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__brand {
    grid-area: brand !important;
    justify-content: flex-start !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references > p {
    grid-area: tagline !important;
    margin: 0 !important;
    max-width: none !important;
    font-size: clamp(0.8rem, 0.22vw + 0.74rem, 0.92rem) !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references nav {
    grid-area: nav !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: clamp(0.62rem, 1.5vw, 1rem) !important;
    white-space: nowrap !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__brand span {
    color: var(--cpb-final-gold) !important;
  }

  body.checkpoint-brochure-refonte.theme-day .checkpoint-screen-footer,
  html[data-theme="day"] body.checkpoint-brochure-refonte .checkpoint-screen-footer {
    border-top-color: rgba(185, 151, 77, 0.28) !important;
    background: var(--cpb-final-cream) !important;
    color: var(--cpb-final-ink) !important;
  }

  body.checkpoint-brochure-refonte.theme-night .checkpoint-screen-footer,
  html[data-theme="night"] body.checkpoint-brochure-refonte .checkpoint-screen-footer {
    border-top-color: rgba(216, 178, 122, 0.28) !important;
    background: #050b14 !important;
  }
}

@media screen and (max-width: 760px) {
  body.checkpoint-brochure-refonte .cpb-hero h1 {
    font-size: var(--rf-type-hero-title-mobile, clamp(2.85rem, 12.8vw, 3.95rem)) !important;
  }

  body.checkpoint-brochure-refonte #comparatif .cpb-section-subtitle {
    white-space: normal !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "brand"
      "tagline"
      "nav" !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__brand {
    justify-content: center !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references > p {
    text-align: center !important;
  }

  body.checkpoint-brochure-refonte .checkpoint-screen-footer .rf-footer__references nav {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}
