.cw-cms-page {
  --cw-ink: #111111;
  --cw-muted: #626262;
  --cw-line: #dedbd6;
  --cw-warm: #f7f4ef;
  --cw-soft: #f4f5f6;
  --cw-accent: #f25a24;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 80px;
  color: var(--cw-ink);
  font-size: 17px;
  line-height: 1.65;
}

/* Pages légales : lecture simple et compacte */
.cw-legal-page {
  max-width: 980px;
  padding-top: 22px;
  padding-bottom: 64px;
}

.cw-legal-header {
  padding: 24px 0 30px;
  border-bottom: 1px solid #dedede;
}

.cw-legal-page .cw-legal-header h1 {
  max-width: none;
  margin: 4px 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cw-legal-kicker {
  margin: 0;
  color: #5b5b5b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cw-legal-header > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.65;
}

.cw-legal-identity,
.cw-legal-section {
  padding: 30px 0;
  border-bottom: 1px solid #e4e4e4;
}

.cw-legal-page .cw-legal-identity h2,
.cw-legal-page .cw-legal-section h2 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.25;
}

.cw-legal-content {
  color: #292929;
  font-size: 16px;
  line-height: 1.72;
}

.cw-legal-content p,
.cw-legal-content ul,
.cw-legal-content ol {
  margin: 0 0 15px;
}

.cw-legal-content p:last-child,
.cw-legal-content ul:last-child,
.cw-legal-content ol:last-child {
  margin-bottom: 0;
}

.cw-legal-content ul,
.cw-legal-content ol {
  padding-left: 24px;
}

.cw-legal-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cw-legal-content h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.cw-legal-intro {
  padding: 24px 0;
  border-bottom: 1px solid #e4e4e4;
}

.cw-legal-accordion {
  border-top: 1px solid #111;
}

.cw-legal-detail {
  border-bottom: 1px solid #dcdcdc;
}

.cw-legal-detail summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 21px 0;
  color: #111;
  cursor: pointer;
  list-style: none;
}

.cw-legal-detail summary::-webkit-details-marker {
  display: none;
}

.cw-legal-detail summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.cw-legal-detail[open] summary::after {
  content: "−";
}

.cw-legal-detail summary strong {
  font-size: 18px;
  line-height: 1.35;
}

.cw-legal-number {
  color: #6a6a6a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cw-legal-detail > .cw-legal-content {
  padding: 0 38px 28px 62px;
}

.cw-legal-updated {
  padding-top: 22px;
  color: #666;
  font-size: 14px;
}

.cw-legal-updated p {
  margin: 0;
}

@media (max-width: 767px) {
  .cw-legal-page {
    padding-top: 8px;
    padding-bottom: 42px;
  }

  .cw-legal-header {
    padding: 18px 0 24px;
  }

  .cw-legal-page .cw-legal-header h1 {
    font-size: 34px;
  }

  .cw-legal-header > p:last-child,
  .cw-legal-content {
    font-size: 15px;
  }

  .cw-legal-identity,
  .cw-legal-section {
    padding: 24px 0;
  }

  .cw-legal-detail summary {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 18px 0;
  }

  .cw-legal-detail summary strong {
    font-size: 16px;
  }

  .cw-legal-detail > .cw-legal-content {
    padding: 0 0 24px 44px;
  }
}

.cw-cms-page *,
.cw-cms-page *::before,
.cw-cms-page *::after {
  box-sizing: border-box;
}

.cw-cms-page a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cw-cms-page h1,
.cw-cms-page h2,
.cw-cms-page h3,
.cw-cms-page p {
  margin-top: 0;
}

.cw-cms-page h1,
.cw-cms-page h2,
.cw-cms-page h3 {
  color: var(--cw-ink);
  letter-spacing: -0.035em;
}

.cw-cms-page h1 {
  max-width: 870px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
}

.cw-cms-page h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

.cw-cms-page h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.cw-cms-eyebrow {
  margin-bottom: 14px;
  color: var(--cw-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cw-cms-hero {
  padding: 48px 0 54px;
  text-align: center;
  border-bottom: 1px solid var(--cw-line);
}

.cw-cms-hero > p:not(.cw-cms-eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--cw-muted);
  font-size: 20px;
  line-height: 1.55;
}

.cw-cms-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--cw-line);
}

.cw-cms-section:last-child {
  border-bottom: 0;
}

.cw-cms-section-head {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 30px;
}

.cw-cms-index {
  color: #9b9893;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.cw-cms-section-head p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--cw-muted);
}

.cw-cms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.cw-cms-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--cw-line);
  background: #ffffff;
}

.cw-cms-card--warm {
  background: var(--cw-warm);
}

.cw-cms-card p:last-child {
  margin-bottom: 0;
}

.cw-cms-card p,
.cw-cms-note p {
  color: var(--cw-muted);
}

.cw-cms-card-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--cw-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cw-cms-stat {
  display: block;
  margin-bottom: 12px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}

.cw-cms-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--cw-warm);
  border-left: 3px solid var(--cw-ink);
}

.cw-cms-note strong {
  display: block;
  margin-bottom: 4px;
}

.cw-cms-note p {
  margin: 0;
}

.cw-cms-note-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--cw-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.cw-cms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.cw-cms-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--cw-ink);
  background: var(--cw-ink);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.cw-cms-button--secondary {
  background: #ffffff;
  color: var(--cw-ink) !important;
}

.cw-cms-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.cw-cms-quick-nav a {
  padding: 9px 15px;
  border: 1px solid var(--cw-line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.cw-cms-quick-nav a:hover,
.cw-cms-quick-nav a:focus-visible {
  border-color: var(--cw-ink);
}

.cw-faq-list {
  margin-left: 108px;
  border-top: 1px solid var(--cw-line);
}

.cw-faq-list details {
  border-bottom: 1px solid var(--cw-line);
}

.cw-faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
}

.cw-faq-list summary::-webkit-details-marker {
  display: none;
}

.cw-faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 6px;
  content: "+";
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}

.cw-faq-list details[open] summary::after {
  content: "−";
}

.cw-faq-answer {
  max-width: 820px;
  padding: 0 48px 24px 0;
  color: var(--cw-muted);
}

.cw-faq-answer p:last-child,
.cw-faq-answer ul:last-child {
  margin-bottom: 0;
}

.cw-delivery-highlight {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  margin-top: 34px;
  padding: 30px;
  background: var(--cw-ink);
  color: #ffffff;
  text-align: left;
}

.cw-delivery-highlight strong {
  display: block;
  font-size: 64px;
  letter-spacing: -.06em;
  line-height: .95;
}

.cw-delivery-highlight span {
  display: block;
  margin-top: 8px;
  color: #cfcfcf;
  font-size: 14px;
}

.cw-delivery-highlight p {
  margin: 0;
  color: #e8e8e8;
}

.cw-delivery-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
}

.cw-delivery-card .cw-delivery-price {
  margin-top: auto;
  padding-top: 18px;
  color: var(--cw-ink);
  font-weight: 700;
}

.cw-cms-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}

.cw-cms-step {
  position: relative;
  min-height: 190px;
  padding: 54px 24px 0 0;
  border-top: 2px solid var(--cw-ink);
  counter-increment: step;
}

.cw-cms-step::before {
  position: absolute;
  top: -19px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--cw-ink);
  color: #ffffff;
  content: counter(step);
  font-size: 14px;
  font-weight: 700;
}

.cw-cms-step p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 15px;
}

.cw-offer-card {
  position: relative;
  overflow: hidden;
}

.cw-offer-badge {
  display: inline-flex;
  min-width: 82px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 8px 14px;
  background: var(--cw-accent);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.cw-offer-card--dark {
  background: var(--cw-ink);
  color: #ffffff;
}

.cw-offer-card--dark h3,
.cw-offer-card--dark p,
.cw-offer-card--dark a {
  color: #ffffff;
}

.cw-cms-checks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-cms-checks li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--cw-line);
}

.cw-cms-checks li::before {
  position: absolute;
  top: 16px;
  left: 0;
  content: "✓";
  font-weight: 800;
}

.cw-about-manifesto {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.cw-about-manifesto .cw-about-lead {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.cw-about-manifesto p:not(.cw-about-lead) {
  color: var(--cw-muted);
}

.cw-about-values {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: value;
}

.cw-about-values li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cw-line);
  counter-increment: value;
}

.cw-about-values li::before {
  color: #9b9893;
  content: "0" counter(value);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.cw-about-values strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.cw-about-values span {
  color: var(--cw-muted);
}

@media (max-width: 900px) {
  .cw-cms-grid,
  .cw-cms-grid--two,
  .cw-cms-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-delivery-highlight,
  .cw-about-manifesto {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cw-cms-step:nth-child(n+3) {
    margin-top: 42px;
  }
}

@media (max-width: 620px) {
  .cw-cms-page {
    padding: 18px 18px 56px;
    font-size: 16px;
  }

  .cw-cms-page h1 {
    font-size: 36px;
  }

  .cw-cms-page h2 {
    font-size: 29px;
  }

  .cw-cms-hero {
    padding: 36px 0 42px;
    text-align: left;
  }

  .cw-cms-hero > p:not(.cw-cms-eyebrow) {
    font-size: 17px;
  }

  .cw-cms-quick-nav,
  .cw-cms-actions {
    justify-content: flex-start;
  }

  .cw-cms-section {
    padding: 46px 0;
  }

  .cw-cms-section-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cw-cms-grid,
  .cw-cms-grid--two,
  .cw-cms-steps {
    grid-template-columns: 1fr;
  }

  .cw-cms-card {
    padding: 24px 20px;
  }

  .cw-faq-list {
    margin-left: 0;
  }

  .cw-faq-list summary {
    padding: 20px 42px 20px 0;
    font-size: 17px;
  }

  .cw-faq-answer {
    padding-right: 22px;
  }

  .cw-delivery-highlight {
    padding: 24px 20px;
  }

  .cw-delivery-highlight strong {
    font-size: 52px;
  }

  .cw-cms-step,
  .cw-cms-step:nth-child(n+3) {
    min-height: 0;
    margin-top: 38px;
  }

  .cw-cms-step:first-child {
    margin-top: 0;
  }

  .cw-about-manifesto .cw-about-lead {
    font-size: 21px;
  }

  .cw-cms-button {
    width: 100%;
  }
}
