/* Refonte accueil — Impeccable (Persuade) + garde-fous Hallmark, tokens site existants */

.page-home--refonte {
  --home-refonte-gap: clamp(3rem, 6vw, 4.5rem);
  --home-refonte-surface: #f4f8fb;
  --home-refonte-ink: var(--primary-dark, #0f3550);
  --home-refonte-muted: var(--text-muted, #5a6b7a);
  --home-refonte-line: rgba(15, 53, 80, 0.1);
  --home-refonte-accent: var(--primary-color, #2f78a6);
}

.page-home--refonte .home-section--lift {
  padding-top: var(--home-refonte-gap);
  padding-bottom: var(--home-refonte-gap);
}

.page-home--refonte .home-body-ecom {
  background: linear-gradient(180deg, var(--home-refonte-surface) 0%, #fff 42%, #fff 100%);
}

/* Parcours 1-2-3 */
.home-parcours {
  background: #fff;
  border-block: 1px solid var(--home-refonte-line);
}

.home-parcours__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .home-parcours__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-parcours__step {
  border-bottom: 1px solid var(--home-refonte-line);
}

@media (min-width: 768px) {
  .home-parcours__step {
    border-bottom: none;
    border-right: 1px solid var(--home-refonte-line);
  }

  .home-parcours__step:last-child {
    border-right: none;
  }
}

.home-parcours__link,
.home-parcours__link--static {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem clamp(1rem, 3vw, 1.5rem);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: background 0.18s ease;
}

.home-parcours__link--static {
  cursor: default;
}

.home-parcours__link:hover {
  background: rgba(244, 248, 251, 0.85);
}

.home-parcours__link:focus-visible {
  outline: 2px solid var(--home-refonte-accent);
  outline-offset: -2px;
  background: rgba(244, 248, 251, 0.95);
}

.home-parcours__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--home-refonte-accent);
  background: rgba(47, 120, 166, 0.12);
  border: 1px solid rgba(47, 120, 166, 0.22);
}

.home-parcours__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.home-parcours__text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--home-refonte-ink);
  overflow-wrap: break-word;
}

.home-parcours__text span:last-child {
  font-size: 0.88rem;
  color: var(--home-refonte-muted);
  line-height: 1.4;
}

/* En-têtes de section (sans eyebrow badge) */
.home-section-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
  max-width: 40rem;
}

.home-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: none;
}

.home-section-head__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.home-section-head__label {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--home-refonte-accent);
  letter-spacing: 0;
  text-transform: none;
}

.home-section-head__aside {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--home-refonte-accent);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.home-section-head__aside:hover {
  color: var(--home-refonte-ink);
  border-color: rgba(47, 120, 166, 0.35);
}

.home-section-head__aside:focus-visible {
  outline: 2px solid var(--home-refonte-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Échantillons */
.page-home--refonte .home-vitrines-wrap {
  background: #fff;
}

.page-home--refonte .home-vitrines-intro__title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.025em;
}

.page-home--refonte .home-vitrine-teaser--showcase {
  border-radius: 14px;
  border: 1px solid var(--home-refonte-line);
  box-shadow: 0 12px 32px rgba(15, 53, 80, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-home--refonte .home-vitrine-teaser--showcase:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 120, 166, 0.22);
  box-shadow: 0 18px 40px rgba(15, 53, 80, 0.09);
}

.page-home--refonte .home-vitrine-teaser-sector {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--home-refonte-accent);
}

/* Bandeau audit */
.page-home--refonte .home-audit-band__inner {
  border-radius: 16px;
  border: 1px solid rgba(47, 120, 166, 0.2);
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 53, 80, 0.07);
}

.page-home--refonte .home-audit-band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--home-refonte-muted);
}

.page-home--refonte .home-audit-band__meta li {
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background: rgba(244, 248, 251, 0.9);
  border: 1px solid var(--home-refonte-line);
}

/* Bouquins */
.page-home--refonte .home-livres--navy {
  padding-block: var(--home-refonte-gap);
}

.page-home--refonte .home-livres-navy {
  border-radius: 18px;
  overflow: hidden;
}

/* Blog */
.page-home--refonte .home-blog {
  padding-bottom: var(--home-refonte-gap);
}

.page-home--refonte .home-blog-card {
  border-radius: 14px;
  border: 1px solid var(--home-refonte-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 53, 80, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home--refonte .home-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 53, 80, 0.08);
}

.page-home--refonte .home-blog-card__cat {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--home-refonte-accent);
}

/* About */
.page-home--refonte .about--commerce {
  padding-block: var(--home-refonte-gap);
  background: var(--home-refonte-surface);
}

.page-home--refonte .about-content--feg {
  border-radius: 18px;
  border: 1px solid var(--home-refonte-line);
  background: #fff;
  box-shadow: 0 16px 48px rgba(15, 53, 80, 0.06);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-home--refonte .about-values {
  border-top: 1px solid var(--home-refonte-line);
}

@media (min-width: 960px) {
  .page-home--refonte .about-values {
    border-top: none;
    border-left: 1px solid var(--home-refonte-line);
  }
}

/* FAQ */
.page-home--refonte .faq {
  padding-block: var(--home-refonte-gap);
  background: #fff;
}

.page-home--refonte .faq-item {
  border-color: var(--home-refonte-line);
  border-radius: 12px;
}

.page-home--refonte .faq-question-btn:focus-visible {
  outline: 2px solid var(--home-refonte-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .home-parcours__link,
  .page-home--refonte .home-vitrine-teaser--showcase,
  .page-home--refonte .home-blog-card {
    transition: none;
  }

  .page-home--refonte .home-vitrine-teaser--showcase:hover,
  .page-home--refonte .home-blog-card:hover {
    transform: none;
  }
}