/* Refonte /echantillons/ + fiches — aligné accueil page-home--refonte */

.vitrine-detail--sheet .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-echantillons--refonte,
.vitrine-detail--refonte {
  --ech-refonte-gap: clamp(2.5rem, 5vw, 4rem);
  --ech-refonte-line: rgba(15, 53, 80, 0.1);
  --ech-refonte-surface: #f4f8fb;
  --ech-refonte-ink: var(--primary-dark, #0f3550);
  --ech-refonte-muted: var(--text-muted, #5a6b7a);
  --ech-refonte-accent: var(--primary-color, #2f78a6);
}

.page-echantillons--refonte {
  background: linear-gradient(180deg, var(--ech-refonte-surface) 0%, #f8fafc 38%, #fff 100%);
}

/* Hero recherche : plus sobre */
.page-echantillons--refonte .echantillons-search-hero .prestations-search-title {
  font-size: clamp(1.75rem, 3.8vw, 2.35rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 20ch;
  margin-inline: auto;
}

.page-echantillons--refonte .echantillons-search-hero .prestations-search-lead {
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ech-refonte-muted);
}

.page-echantillons--refonte .echantillons-search-hero .prestations-search-lead strong {
  color: var(--ech-refonte-ink);
  font-weight: 700;
}

.page-echantillons--refonte .prestations-search-chip {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.page-echantillons--refonte .prestations-search-submit:focus-visible,
.page-echantillons--refonte .prestations-search-chip:focus-visible {
  outline: 2px solid var(--ech-refonte-accent);
  outline-offset: 2px;
}

/* Parcours (réutilise home-parcours) */
.page-echantillons--refonte .home-parcours {
  background: #fff;
}

/* Deal semaine : moins kicker / dots déco */
.page-echantillons--refonte .echantillons-deal-week {
  margin-bottom: 1rem;
  padding-block: 0.5rem;
}

.page-echantillons--refonte.is-catalog-filtering .echantillons-deal-week,
.page-echantillons--refonte.is-catalog-filtering .home-parcours {
  display: none;
}

.page-echantillons--refonte.is-catalog-filtering .echantillons-catalog-head__lead {
  display: none;
}

.page-echantillons--refonte #catalogue {
  scroll-margin-top: calc(var(--nav-offset, 4.5rem) + 0.5rem);
}

.page-echantillons--refonte .echantillons-deal-week-inner {
  border-radius: 18px;
  border: 1px solid var(--ech-refonte-line);
  box-shadow: 0 18px 48px rgba(15, 53, 80, 0.07);
  background: #fff;
  grid-template-columns: minmax(8.5rem, 10.5rem) 1fr auto;
  gap: 0.85rem 1.15rem;
  padding: 0.95rem 1.1rem;
  padding-right: 1.35rem;
}

.page-echantillons--refonte .echantillons-deal-perks,
.page-echantillons--refonte .echantillons-deal-meta,
.page-echantillons--refonte .echantillons-deal-desc {
  display: none;
}

.page-echantillons--refonte .echantillons-deal-visual img {
  max-height: 7.5rem;
  width: auto;
  margin-inline: auto;
}

.page-echantillons--refonte .echantillons-deal-buy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: stretch;
  min-width: 10.5rem;
}

.page-echantillons--refonte .echantillons-deal-cta {
  width: 100%;
  justify-content: center;
}

.page-echantillons--refonte .echantillons-deal-ribbon {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.88rem;
}

.page-echantillons--refonte .echantillons-deal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ech-refonte-accent);
  letter-spacing: 0;
  text-transform: none;
}

.page-echantillons--refonte .echantillons-deal-kicker i {
  display: none;
}

.page-echantillons--refonte .echantillons-deal-frame-dots {
  display: none;
}

.page-echantillons--refonte .echantillons-deal-pills {
  gap: 0.45rem;
}

.page-echantillons--refonte .echantillons-deal-pills li {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Catalogue */
.page-echantillons--refonte .page-echantillons-catalog {
  padding-bottom: var(--ech-refonte-gap);
}

.page-echantillons--refonte .echantillons-catalog-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.page-echantillons--refonte .echantillons-catalog-head__label {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ech-refonte-accent);
}

.page-echantillons--refonte .echantillons-catalog-head__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--ech-refonte-ink);
  letter-spacing: -0.02em;
}

.page-echantillons--refonte .echantillons-catalog-head__lead {
  margin: 0;
  color: var(--ech-refonte-muted);
  line-height: 1.5;
}

.page-echantillons--refonte .vitrine-card {
  border-radius: 14px;
  border: 1px solid var(--ech-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-echantillons--refonte .vitrine-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 120, 166, 0.22);
  box-shadow: 0 18px 40px rgba(15, 53, 80, 0.09);
}

.page-echantillons--refonte .vitrine-card-badge {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.page-echantillons--refonte .vitrine-card-title {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.page-echantillons--refonte .vitrine-card-excerpt {
  display: none;
}

.page-echantillons--refonte .vitrine-card-body {
  padding: 0.75rem 0.85rem 0.9rem;
}

.page-echantillons--refonte .vitrine-card-tagline {
  margin-bottom: 0.65rem;
}

.page-echantillons--refonte .vitrines-grid {
  gap: 0.95rem;
}

@media (min-width: 1200px) {
  .page-echantillons--refonte .vitrines-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-echantillons--refonte .echantillons-search-hero .prestations-search-results-info.is-results-empty {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ech-refonte-ink);
}

.page-echantillons--refonte .echantillons-results-query {
  font-weight: 700;
}

.page-echantillons--refonte .echantillons-filter-reset {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--ech-refonte-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.page-echantillons--refonte .echantillons-filter-reset:hover {
  color: var(--ech-refonte-ink);
}

.page-echantillons--refonte .echantillons-filter-reset:focus-visible {
  outline: 2px solid var(--ech-refonte-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.page-echantillons--refonte .home-parcours {
  padding-block: 1.25rem;
}

.page-echantillons--refonte .echantillons-catalog-head {
  margin-bottom: 1rem;
}

.page-echantillons--refonte .vitrine-card-btn:focus-visible {
  outline: 2px solid var(--ech-refonte-accent);
  outline-offset: 2px;
}

/* CTA bas */
.page-echantillons--refonte .echantillons-cta {
  border-radius: 16px;
  border: 1px solid rgba(217, 119, 6, 0.16);
  background: linear-gradient(135deg, #fffbeb 0%, #fff 70%);
  box-shadow: 0 12px 36px rgba(15, 53, 80, 0.06);
}

.page-echantillons--refonte .legal-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ech-refonte-line);
}

.page-echantillons--refonte .legal-page-links .separator {
  display: none;
}

/* Fiche détail */
.vitrine-detail--refonte .vitrine-detail-hero {
  background: linear-gradient(180deg, var(--ech-refonte-surface) 0%, #fff 72%);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.vitrine-detail--refonte .vitrine-detail-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.vitrine-detail--refonte .vitrine-detail-meta {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ech-refonte-accent);
}

.vitrine-detail--refonte .vitrine-detail-lead {
  font-size: 1.08rem;
  max-width: 42rem;
  color: var(--ech-refonte-muted);
}

.vitrine-detail--refonte .vitrine-device-frame {
  border-radius: 14px;
  border: 1px solid var(--ech-refonte-line);
  box-shadow: 0 14px 40px rgba(15, 53, 80, 0.07);
}

.vitrine-detail--refonte .vitrine-purchase-card {
  border-radius: 16px;
  border: 1px solid var(--ech-refonte-line);
  box-shadow: 0 16px 44px rgba(15, 53, 80, 0.08);
}

.vitrine-detail--refonte .vitrine-device-label {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  .page-echantillons--refonte .vitrine-card {
    transition: none;
  }

  .page-echantillons--refonte .vitrine-card:hover {
    transform: none;
  }
}

/* ===== Fiche échantillon (layout sheet) ===== */

.vitrine-detail--sheet .vitrine-sheet-hero {
  padding-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

.vitrine-detail--refonte .vitrine-detail-hero {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.vitrine-detail--sheet .vitrine-sheet-hero__wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vitrine-detail--sheet .vitrine-sheet-hero__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .vitrine-detail--sheet .vitrine-sheet-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }
}

.vitrine-detail--sheet .vitrine-sheet-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ech-refonte-accent, #2f78a6);
  letter-spacing: 0;
  text-transform: none;
}

.vitrine-detail--sheet .vitrine-detail-title {
  margin: 0 0 0.35rem;
}

.vitrine-detail--sheet .vitrine-detail-lead {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ech-refonte-ink, #0f3550);
}

.vitrine-detail--sheet .vitrine-detail-excerpt {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ech-refonte-muted, #5a6b7a);
  max-width: 40rem;
}

/* Colonne sticky (hero + contenu | aside) */
.vitrine-detail--sheet .vitrine-sheet-rail {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 1024px) {
  .vitrine-detail--sheet .vitrine-sheet-rail {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  .vitrine-detail--sheet .vitrine-sheet-aside .vitrine-purchase-inner {
    position: sticky;
    top: calc(var(--nav-offset, 4.5rem) + 0.75rem);
    min-height: 12rem;
  }

  .vitrine-detail--sheet .vitrine-sheet-aside {
    align-self: start;
  }
}

.vitrine-detail--sheet .vitrine-sheet-rail__main {
  min-width: 0;
}

.vitrine-detail--sheet .vitrine-sheet-preview {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 1px solid var(--ech-refonte-line, rgba(15, 53, 80, 0.1));
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 53, 80, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vitrine-detail--sheet .vitrine-sheet-preview:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 120, 166, 0.25);
  box-shadow: 0 24px 56px rgba(15, 53, 80, 0.12);
}

.vitrine-detail--sheet .vitrine-sheet-preview:focus-visible {
  outline: 2px solid var(--ech-refonte-accent, #2f78a6);
  outline-offset: 3px;
}

.vitrine-detail--sheet .vitrine-sheet-preview__frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #eef5fa, #fff);
}

.vitrine-detail--sheet .vitrine-sheet-preview__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.vitrine-detail--sheet .vitrine-sheet-preview__label {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ech-refonte-ink, #0f3550);
  border-top: 1px solid var(--ech-refonte-line, rgba(15, 53, 80, 0.1));
  background: rgba(244, 248, 251, 0.65);
}

.vitrine-detail--sheet .vitrine-sheet-shots {
  padding: 0.25rem 0 1rem;
}

.vitrine-detail--sheet .vitrine-sheet-shots__title {
  margin: 0 0 0.85rem;
}

.vitrine-detail--sheet .vitrine-sheet-shots__title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  text-wrap: balance;
  max-width: 28ch;
}

.vitrine-detail--sheet .vitrine-sheet-shots__desktop-link {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.vitrine-detail--sheet .vitrine-sheet-shots__desktop-link a {
  color: var(--ech-refonte-accent, #2f78a6);
  text-decoration: none;
}

.vitrine-detail--sheet .vitrine-sheet-shots__desktop-link a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vitrine-detail--sheet .vitrine-sheet-shots__desktop-link a:focus-visible {
  outline: 2px solid var(--ech-refonte-accent, #2f78a6);
  outline-offset: 2px;
  border-radius: 2px;
}

.vitrine-detail--sheet .vitrine-sheet-device-grid--duo {
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .vitrine-detail--sheet .vitrine-sheet-device-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vitrine-detail--sheet .vitrine-sheet-body {
  padding-top: 0;
  background: transparent;
}

.vitrine-detail--sheet .vitrine-sheet-delivery-note p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .vitrine-detail--sheet .vitrine-sheet-aside {
    order: -1;
    margin-bottom: 0.5rem;
  }
}

.vitrine-detail--sheet .vitrine-sheet-shots__intro .section-description {
  margin: 0;
  max-width: 42rem;
  color: var(--ech-refonte-muted, #5a6b7a);
  line-height: 1.55;
}


.vitrine-detail--sheet .vitrine-shot-open {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.82rem;
}

.vitrine-detail--sheet .vitrine-shot-open i {
  display: none;
}

.vitrine-detail--sheet .vitrine-sheet-body {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  background: transparent;
}

.vitrine-detail--sheet .vitrine-sheet-main .section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.vitrine-detail--sheet .vitrine-sheet-features .vitrine-feature-list--plain {
  list-style: disc;
  margin: 0.35rem 0 0.85rem;
  padding: 0 0 0 1.15rem;
  display: block;
  max-width: 42rem;
}

.vitrine-detail--sheet .vitrine-sheet-features .vitrine-feature-list--plain li {
  padding: 0.15rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--ech-refonte-muted, #5a6b7a);
}

.vitrine-detail--sheet .vitrine-sheet-features .vitrine-feature-list--plain li::marker {
  color: var(--ech-refonte-accent, #2f78a6);
}

.vitrine-detail--sheet .vitrine-sheet-included .vitrine-included-lead {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ech-refonte-ink, #0f3550);
  line-height: 1.5;
}

.vitrine-detail--sheet .vitrine-sheet-tech {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--ech-refonte-line, rgba(15, 53, 80, 0.1));
  background: rgba(255, 255, 255, 0.85);
}

.vitrine-detail--sheet .vitrine-sheet-tech summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ech-refonte-ink, #0f3550);
  list-style: none;
}

.vitrine-detail--sheet .vitrine-sheet-tech summary::-webkit-details-marker {
  display: none;
}

.vitrine-detail--sheet .vitrine-sheet-tech summary:focus-visible {
  outline: 2px solid var(--ech-refonte-accent, #2f78a6);
  outline-offset: 3px;
  border-radius: 4px;
}

.vitrine-detail--sheet .vitrine-sheet-tech .vitrine-stack-list {
  margin-top: 0.75rem;
}

.vitrine-detail--sheet .vitrine-sheet-aside .vitrine-purchase-inner {
  background: #fff;
  border: 1px solid var(--ech-refonte-line, rgba(15, 53, 80, 0.12));
  box-shadow: 0 16px 40px rgba(15, 53, 80, 0.08);
  padding: 1.1rem 1.15rem;
  background-image: none;
}

.vitrine-detail--sheet .vitrine-purchase-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.vitrine-detail--sheet .vitrine-purchase-hint {
  margin-bottom: 0.85rem;
}

.vitrine-detail--sheet .vitrine-purchase-cta-stack .btn {
  width: 100%;
  justify-content: center;
}

.vitrine-detail--sheet .vitrine-sheet-delivery-note {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ech-refonte-muted, #5a6b7a);
  max-width: 40rem;
}

.vitrine-detail--sheet .vitrine-sheet-aside__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.vitrine-detail--sheet .vitrine-sheet-aside__links a {
  color: var(--ech-refonte-accent, #2f78a6);
  text-decoration: none;
}

.vitrine-detail--sheet .vitrine-sheet-aside__links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vitrine-detail--sheet .vitrine-sheet-aside__links a:focus-visible {
  outline: 2px solid var(--ech-refonte-accent, #2f78a6);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .vitrine-detail--sheet .vitrine-sheet-preview {
    transition: none;
  }

  .vitrine-detail--sheet .vitrine-sheet-preview:hover {
    transform: none;
  }
}