/* —— Hero (accueil) —— */
.hero.hero--banner {
  display: block;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

.hero--banner .hero-inner.hero-inner--bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  width: min(1140px, 92vw);
  margin-inline: auto;
  padding: 1.35rem 0 1.15rem;
  min-height: clamp(168px, 26vh, 228px);
  box-sizing: border-box;
}

.hero--banner .hero-inner.hero-inner--bottom .hero-kicker {
  margin: 0 0 0.35rem;
}

.hero--banner .hero-inner.hero-inner--bottom h1 {
  text-transform: none;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  max-width: 13em;
  margin: 0 0 0.45rem;
  letter-spacing: 0.01em;
}

.hero--banner .hero-inner.hero-inner--bottom .hero-lead {
  margin: 0 0 0.55rem;
  margin-left: 0;
  margin-right: auto;
  max-width: 42ch;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  line-height: 1.45;
}

.hero--banner .hero-inner.hero-inner--bottom .trust-row {
  justify-content: flex-start;
  margin: 0;
}

.trust-row--inline {
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.trust-row--inline .trust-item {
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem;
}

body[data-nav="home"] .advantages {
  display: none;
}

body[data-nav="home"] .hero--banner {
  min-height: 0;
  max-height: none;
  padding: 0;
  margin-bottom: 0.35rem;
}

body[data-nav="home"] .hero--banner .hero-inner--bottom {
  min-height: clamp(160px, 22vh, 200px);
  padding: 1.15rem 0 1rem;
}

body[data-nav="home"] .rankings {
  position: relative;
  z-index: 2;
}

body[data-nav="home"] .rankings {
  padding-top: 0.25rem;
}

body[data-nav="home"] .rankings-head {
  margin-bottom: 0.45rem;
  padding: 0.45rem 0.65rem;
}

body[data-nav="home"] .rankings-head .ranking-editorial-note {
  font-size: 0.72rem;
  line-height: 1.35;
}

body[data-nav="home"] .rankings-head .updated-label {
  font-size: 0.72rem;
}

/* Critères */
.adv-grid--stagger {
  max-width: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.adv-grid--stagger .adv-card {
  text-align: left;
  padding: 0.75rem 0.85rem 0.75rem 2.5rem;
  position: relative;
  min-height: 3.25rem;
}

.adv-num {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
}

.advantages h2 {
  text-align: left;
  border-left: 4px solid var(--accent-2);
  padding-left: 0.65rem;
}

.rankings-head--stack {
  display: flex;
  flex-direction: column;
  border-right: none;
  border-left: 4px solid var(--gold);
  background: rgba(26, 24, 36, 0.75);
  border-radius: 8px;
}

.rankings-head--stack .ranking-editorial-note {
  order: 1;
}

.rankings-head--stack .updated-label {
  order: 2;
  margin-top: 0.25rem;
}

.rankings-editorial {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: rgba(26, 24, 36, 0.55);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.rankings-editorial p {
  margin: 0 0 0.65rem;
}

.rankings-editorial__list {
  margin: 0;
  padding-left: 1.15rem;
}

.rankings-editorial__list li {
  margin-bottom: 0.35rem;
}

.review-grid--zigzag {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.review-grid--zigzag .review-card:nth-child(odd) {
  margin-right: auto;
  max-width: 92%;
}

.review-grid--zigzag .review-card:nth-child(even) {
  margin-left: auto;
  max-width: 92%;
}

.reviews h2,
.section-note {
  text-align: right;
  margin-left: auto;
}

.editorial-layout--top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.affiliate-notice--top {
  margin: 0;
  border-bottom: 3px solid var(--accent-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
}

@media (min-width: 900px) {
  .editorial-layout--top .editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
  }

  .hero--banner .hero-overlay--banner {
    background: linear-gradient(
      95deg,
      rgba(18, 16, 26, 0.92) 0%,
      rgba(18, 16, 26, 0.78) 38%,
      rgba(18, 16, 26, 0.45) 62%,
      rgba(18, 16, 26, 0.25) 100%
    );
  }

  .hero--banner .hero-inner.hero-inner--bottom {
    padding: 1.5rem 0 1.35rem;
  }

  body[data-nav="home"] .hero--banner .hero-inner--bottom {
    min-height: 188px;
    padding: 1.25rem 0 1.1rem;
  }

  body[data-nav="home"] .hero--banner .hero-inner--bottom h1 {
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    max-width: 11em;
  }

  body[data-nav="home"] .hero--banner .hero-inner--bottom .hero-lead {
    max-width: 36ch;
    margin-bottom: 0.45rem;
  }
}

@media (max-width: 768px) {
  .hero--banner .hero-inner.hero-inner--bottom {
    min-height: 112px;
    padding: 0.85rem 0 0.75rem;
    align-items: center;
    text-align: center;
  }

  .hero--banner .hero-inner.hero-inner--bottom .hero-lead {
    display: none;
  }

  .hero--banner .hero-inner.hero-inner--bottom h1 {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero--banner .hero-inner.hero-inner--bottom .trust-row {
    justify-content: center;
  }

  body[data-nav="home"] .hero--banner .hero-inner--bottom {
    min-height: 104px;
    max-height: none;
  }

  .reviews h2,
  .section-note {
    text-align: left;
    margin-left: 0;
  }
}
