:root {
  --color-brand: #23484A;
  --color-cta: #B24A3A;
  --bg-page: #F5EFE2;
  --text-strong: #17201F;
  --text-muted: #5E6B68;
  --border: #D8D2C4;
  --surface: #EEE7D8;
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: #F5EFE2;
  color: #17201F;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}

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

a { color: #23484A; text-decoration: underline; text-underline-offset: 4px; }
a:hover { color: #17201F; }

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.65;
  color: #23484A;
  margin: 0 0 24px;
  letter-spacing: 0;
  text-transform: none;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.5vw, 48px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }

p { margin: 0 0 16px; }

.btn-cta {
  display: inline-block;
  background-color: #B24A3A;
  color: #F5EFE2;
  padding: 16px 24px;
  border: 0;
  border-radius: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.btn-cta:hover { opacity: 0.85; color: #F5EFE2; }
.btn-cta:focus { outline: 2px solid #23484A; outline-offset: 2px; }

.data-number {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(72px, 12vw, 160px);
  font-weight: 400;
  font-style: italic;
  color: #23484A;
  line-height: 1.65;
  margin: 0;
  letter-spacing: 0;
}

.category-hero {
  position: relative;
  min-height: 640px;
  height: 100vh;
  max-height: 900px;
  background-color: #23484A;
  background-image: url('/images/hero-consommer-mieux.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 32px;
  overflow: hidden;
}
.category-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}
.category-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #F5EFE2;
}
.category-hero__content h1 {
  color: #F5EFE2;
  font-style: italic;
  margin: 0 0 16px;
}
.category-hero .data-number { color: #F5EFE2; }
.hero-asterisk {
  display: flex;
  justify-content: center;
  margin: 16px 0 24px;
}
.category-hero__subtitle {
  color: #F5EFE2;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 32px;
}
.category-hero__data {
  font-style: italic;
  margin: 0 0 8px;
}
.category-hero__meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #F5EFE2;
  margin: 0 0 32px;
  text-transform: none;
}

.articles-section {
  padding: 96px 32px;
  background-color: #F5EFE2;
  border-top: 1px solid #D8D2C4;
}
.section-head {
  max-width: 1200px;
  margin: 0 auto 48px;
}
.section-head h2 { margin: 0 0 16px; }
.section-head p {
  color: #5E6B68;
  max-width: 680px;
  margin: 0;
}
.articles-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.article-card {
  background-color: #EEE7D8;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 24px;
}
.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 24px;
}
.article-card time {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #5E6B68;
  padding: 0 24px;
  margin-bottom: 8px;
  text-transform: none;
}
.article-card h3 {
  padding: 0 24px;
  margin: 0 0 16px;
  font-size: clamp(22px, 2vw, 26px);
}
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-card p {
  padding: 0 24px;
  color: #17201F;
  font-size: 16px;
  margin: 0;
}
.articles-empty {
  max-width: 1200px;
  margin: 0 auto;
  color: #5E6B68;
}

.editorial-section {
  padding: 96px 32px;
  background-color: #EEE7D8;
  border-top: 1px solid #D8D2C4;
}
.editorial-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.editorial-aside h2 {
  font-style: italic;
  margin: 0 0 16px;
}
.editorial-aside .data-number {
  display: block;
  margin: 0 0 8px;
}
.editorial-aside p {
  color: #5E6B68;
  font-size: 14px;
  margin: 0;
}
.editorial-body p {
  color: #17201F;
  font-size: 18px;
}
.editorial-body h3 {
  margin: 32px 0 16px;
}

.star-divider {
  display: flex;
  justify-content: center;
  padding: 48px 32px;
  background-color: #F5EFE2;
  border-top: 1px solid #D8D2C4;
}

.comparison-section {
  padding: 96px 32px;
  background-color: #F5EFE2;
  border-top: 1px solid #D8D2C4;
}
.comparison-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.comparison-inner > p {
  color: #5E6B68;
  max-width: 720px;
  margin: 0 0 32px;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid #23484A;
  border-bottom: 1px solid #23484A;
}
.table-wrap table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
}
.table-wrap thead th {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 12px;
  color: #23484A;
  border-bottom: 1px solid #23484A;
  background-color: #F5EFE2;
}
.table-wrap tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid #D8D2C4;
  color: #17201F;
  font-size: 16px;
  vertical-align: top;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody td:first-child {
  font-weight: 700;
  color: #23484A;
}
.section-note {
  max-width: 1200px;
  margin: 16px auto 0;
  font-size: 14px;
  color: #5E6B68;
}

.practices-section {
  padding: 96px 32px;
  background-color: #23484A;
  border-top: 1px solid #23484A;
  color: #F5EFE2;
}
.practices-section h2,
.practices-section h3,
.practices-section p,
.practices-section li,
.practices-section strong,
.practices-section a { color: #F5EFE2; }
.practices-section h2 { margin: 0 0 16px; }
.practices-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.practices-inner > p {
  color: #F5EFE2;
  max-width: 720px;
  margin: 0 0 32px;
}
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.practice-item {
  border-top: 1px solid #5E6B68;
  padding-top: 24px;
}
.practice-item h3 {
  font-style: italic;
  font-size: clamp(22px, 2vw, 26px);
  margin: 0 0 16px;
}
.practice-item p {
  font-size: 16px;
  margin: 0;
}

@media (max-width: 900px) {
  .editorial-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .category-hero { min-height: 560px; height: auto; padding: 64px 24px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .data-number { font-size: clamp(64px, 18vw, 96px); }
  .articles-section,
  .editorial-section,
  .comparison-section,
  .practices-section { padding: 64px 20px; }
  .articles-grid { gap: 24px; }
  .practices-grid { gap: 24px; }
  .editorial-body p { font-size: 16px; }
  .category-hero__subtitle { font-size: 16px; }
}

@media (max-width: 480px) {
  .category-hero { padding: 48px 16px; min-height: 480px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .articles-section,
  .editorial-section,
  .comparison-section,
  .practices-section { padding: 48px 16px; }
  .article-card h3,
  .article-card p,
  .article-card time { padding-left: 16px; padding-right: 16px; }
  .article-card img { height: 180px; }
  .section-note { font-size: 13px; }
}