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

html,
body {
  overflow-x: hidden;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-alt {
  background-color: var(--bg-surface);
}

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

.btn:focus-visible {
  outline: 2px solid var(--text-main);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  background-color: var(--color-cta);
  color: var(--text-main);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  z-index: 90;
}

.skip:focus {
  left: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-page);
  background-image: url('/images/hero-produits-bons-plans.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 76vh;
  padding: 140px 24px 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 18, 15, 0.42);
}

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

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
  margin: 0 0 18px;
}

.h1-row {
  display: block;
}

.h1-row-accent {
  font-style: italic;
  color: var(--color-brand);
}

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

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

.hero-lead {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  max-width: 560px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.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-soft);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.btn:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}

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

.shape-aster {
  top: 36px;
  right: 4vw;
  opacity: 0.55;
}

.shape-star {
  top: 44px;
  right: 5vw;
}

.shape-half {
  bottom: 44px;
  right: 5vw;
}

.articles-section {
  padding: 72px 0 60px;
}

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

.h2-row {
  display: block;
}

.h2-row-accent {
  font-style: italic;
}

.section-intro {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 36px;
}

.deal-list {
  margin-top: 8px;
}

.deal-band {
  display: flex;
  background-color: var(--bg-page);
}

.deal-band--tint {
  background-color: var(--bg-surface);
}

.deal-band--flip {
  flex-direction: row-reverse;
}

.deal-band-media {
  flex: 0 0 50%;
  min-width: 0;
  overflow: hidden;
}

.deal-band-img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.deal-band-body {
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 48px;
}

.deal-meta {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 10px;
}

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

.deal-title a {
  color: var(--text-main);
  text-decoration: none;
}

.deal-title a:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

.deal-excerpt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0;
}

.articles-empty {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  padding: 28px 0 8px;
}

.prose-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.prose-block p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  max-width: 760px;
  margin: 0 0 18px;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.heat-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.heat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 0 22px;
}

.heat-tile {
  min-width: 0;
  overflow: hidden;
  padding: 22px 20px;
  background-color: var(--line-soft);
  transition: transform 0.2s;
}

.heat-tile:hover {
  transform: translateY(-2px);
}

.heat-tile--warm {
  background-color: var(--heat-warm);
}

.heat-tile--hot {
  background-color: var(--color-brand);
}

.heat-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 8px;
}

.heat-note {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 10px;
}

.heat-temp {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--text-muted);
}

.heat-tile--hot .heat-name,
.heat-tile--hot .heat-note,
.heat-tile--hot .heat-temp,
.heat-tile--warm .heat-name,
.heat-tile--warm .heat-note,
.heat-tile--warm .heat-temp {
  color: #ffffff;
}

.heat-legend {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 10px;
}

.heat-source {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.criteria-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.criteria-list {
  list-style: disc;
  padding-left: 26px;
  max-width: 720px;
  margin: 0;
}

.criteria-list li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 14px;
}

.criteria-list li:last-child {
  margin-bottom: 0;
}

.budget-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

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

.price-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  border: 1px solid var(--line-soft);
}

.price-table caption {
  caption-side: bottom;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 2px 0;
}

.price-table th {
  background-color: var(--bg-surface);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--line-soft);
}

.price-table td {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

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

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.table-note {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.faq-section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.faq-item {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.faq-q {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 10px;
}

.faq-a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0;
}

.cta-final {
  padding: 80px 0 88px;
  background-color: var(--bg-page);
  border-top: 1px solid var(--line-soft);
}

.cta-final-inner {
  text-align: center;
}

.cta-final-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 30px;
}

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

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

  .shape-aster {
    width: 96px;
    height: 96px;
    top: 22px;
    right: 16px;
  }

  .shape-star,
  .shape-half {
    display: none;
  }

  .articles-section,
  .prose-section,
  .heat-section,
  .criteria-section,
  .budget-section,
  .faq-section {
    padding: 56px 0;
  }

  .deal-band,
  .deal-band--flip {
    flex-direction: column;
  }

  .deal-band-media,
  .deal-band-body {
    flex: none;
  }

  .deal-band-img {
    height: 240px;
  }

  .deal-band-body {
    padding: 26px 20px;
  }

  .deal-title {
    font-size: 24px;
  }

  .heat-grid {
    grid-template-columns: 1fr;
  }

  .faq-q {
    font-size: 22px;
  }

  .cta-final {
    padding: 60px 0 72px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

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

  .deal-band-body {
    padding: 22px 16px;
  }

  .deal-band-img {
    height: 200px;
  }

  .heat-tile {
    padding: 18px 16px;
  }

  .btn {
    padding: 12px 22px;
  }
}