:root {
  --color-brand: #C8371E;
  --color-cta: #1F3A5F;
  --bg-page: #14120F;
  --bg-surface: #1B1814;
  --text-main: #F2EDE3;
  --text-muted: #A89F8C;
  --line-color: #2E2A24;
}

html, body {
  overflow-x: hidden;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
  height: auto;
}

section[id] {
  scroll-margin-top: 24px;
}

.page-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 96px;
  background-color: var(--bg-page);
  background-image: url('/images/hero-cuit-vapeur-bamboo-comment-choisir.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 700;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0;
  overflow-wrap: break-word;
}

.title-line {
  display: block;
}

.title-em {
  display: block;
  font-style: italic;
}

.marker {
  position: relative;
  display: inline-block;
}

.marker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  background-color: var(--color-brand);
  transform: skew(-8deg);
}

.hero-lead {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 560px;
  margin: 28px auto 0;
}

.hero-meta {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 18px 0 0;
}

.hero-actions {
  margin-top: 36px;
}

.btn {
  display: inline-block;
  background-color: var(--color-cta);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--line-color);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--color-brand);
  color: var(--text-main);
}

.btn:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--color-brand);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape-hero {
  top: 88px;
  right: 4%;
  width: 140px;
  height: 140px;
  opacity: 0.5;
  z-index: 1;
}

.shape-side {
  right: 3%;
  bottom: 24px;
  width: 90px;
  height: 54px;
}

.post {
  padding-bottom: 8px;
}

.prose-section {
  position: relative;
  padding: 44px 0 20px;
}

.intro-section {
  padding-top: 52px;
}

.final-section {
  padding-bottom: 56px;
}

.prose-section.band {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  padding-top: 56px;
  padding-bottom: 40px;
}

.prose {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.prose p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-main);
  margin: 0 0 1.4em;
  overflow-wrap: break-word;
}

.prose h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 0.7em;
}

.h2-line {
  display: block;
}

.h2-em {
  display: block;
  font-style: italic;
  color: var(--color-brand);
}

.prose-section.band .h2-em {
  color: var(--color-brand);
}

.prose h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin: 1.7em 0 0.4em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.6em;
  padding-left: 6px;
  list-style: none;
}

.prose ol {
  list-style: decimal;
  padding-left: 26px;
}

.prose ul li {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-main);
  padding-left: 26px;
  margin-bottom: 0.7em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background-color: var(--color-brand);
  transform: rotate(45deg);
}

.prose ol li {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 0.7em;
}

.prose ol li::marker {
  color: var(--color-brand);
  font-weight: 700;
}

.prose .check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 12px;
  height: 12px;
  background-color: transparent;
  border: 2px solid var(--color-brand);
  transform: none;
}

.toc {
  background-color: var(--bg-surface);
  padding: 26px 30px;
  margin: 24px 0 8px;
}

.prose .toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(minmax(0, 320px), 1fr));
  gap: 8px 32px;
}

.toc-list li {
  padding-left: 0;
  margin-bottom: 0.5em;
}

.toc-list li::before {
  content: none;
}

.toc-list a {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--color-brand);
}

.toc-list a:hover {
  color: var(--color-brand);
}

.pull-quote {
  margin: 2em 0;
  padding: 26px 30px;
  background-color: var(--bg-surface);
  border-left: 6px solid var(--color-brand);
}

.prose .pull-quote p {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-main);
  margin: 0;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background-color: var(--bg-surface);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  margin: 2.4em 0;
}

.stat-item {
  padding: 30px 26px;
  border-right: 1px solid var(--line-color);
}

.stat-item:last-child {
  border-right: none;
}

.prose .stat-value {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-brand);
  margin: 0 0 6px;
}

.prose .stat-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}

.ring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 2em 0;
}

.ring-item {
  background-color: var(--bg-page);
  border-top: 1px solid var(--line-color);
  padding: 28px 20px;
  text-align: center;
}

.prose .ring-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 14px 0 6px;
}

.prose .ring-note {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.8em 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-surface);
}

.prose-section.band .data-table {
  background-color: var(--bg-page);
}

.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  padding: 0 0 12px;
}

.data-table th {
  background-color: var(--line-color);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
}

.data-table td {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-main);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-color);
}

.data-table tbody tr:nth-child(even) td {
  background-color: var(--bg-page);
}

.prose-section.band .data-table tbody tr:nth-child(even) td {
  background-color: var(--bg-surface);
}

.prose .table-note {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin: -0.8em 0 1.6em;
}

.figure {
  margin: 2.2em 0;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

.prose .figure-caption {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.cta-block {
  position: relative;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  padding: 48px 40px;
  text-align: center;
}

.prose .cta-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 14px;
}

.prose .cta-text {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.prose .post-foot {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 2.4em 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-color);
}

.post-end {
  position: relative;
  height: 100px;
}

.shape-end {
  left: 50%;
  bottom: 10px;
  width: 76px;
  height: 76px;
  margin-left: -38px;
}

@media (max-width: 1240px) {
  .shape-side {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 480px;
    padding: 88px 20px 68px;
  }

  .shape-hero {
    width: 90px;
    height: 90px;
    top: 76px;
    right: 6%;
  }

  .hero-lead {
    font-size: 18px;
  }

  .prose {
    padding: 0 20px;
  }

  .prose-section {
    padding: 34px 0 14px;
  }

  .prose-section.band {
    padding-top: 44px;
    padding-bottom: 30px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line-color);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .ring-grid {
    gap: 18px;
  }

  .ring-item {
    padding: 22px 16px;
  }

  .toc {
    padding: 22px 20px;
  }

  .toc-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .pull-quote {
    padding: 20px 18px;
  }

  .cta-block {
    padding: 36px 20px;
  }

  .data-table th,
  .data-table td {
    padding: 11px 12px;
  }

  .post-end {
    height: 90px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 420px;
    padding: 72px 16px 56px;
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 56px);
  }

  .hero-actions .btn {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .stat-value {
    font-size: 36px;
  }

  .shape-end {
    display: none;
  }

  .post-end {
    height: 24px;
  }

  .figure-caption {
    font-size: 13px;
  }
}

/* ===== TYPOGRAPHY SPACING FIX (APS_ARTICLE_TYPO_REQUIRED_v2) ===== */
/* Defensive guard against universal * { margin: 0 } reset in global.css. */
/* body-scoped via :where() so specificity stays at 0,0,0,1 — beats * but
   loses to any component rule like .tip-box p / .faq-item p. */
body :where(p)              { margin-bottom: 1.1rem; }
body :where(h2)             { margin-top: 2.5rem; margin-bottom: 1rem; }
body :where(h3)             { margin-top: 1.75rem; margin-bottom: 0.75rem; }
body :where(h4)             { margin-top: 1.25rem; margin-bottom: 0.5rem; }
body :where(ul, ol)         { margin-bottom: 1.1rem; padding-left: 1.5rem; }
body :where(li)             { margin-bottom: 0.4rem; }
body :where(blockquote)     { margin: 1.5rem 0; }
