/* ProPrint 2.10.0 — page d'accueil : campagne « à la une », repli saisonnier, carrousels, grille des thèmes.
   Chargé uniquement sur la page qui porte [proprint_themes_hero] / [proprint_home_feed] / [proprint_themes]. */
.ppq-home, .ppq-themes {
  --ppq-accent: #0f766e;
  --ppq-accent-strong: #0b5c55;
  --ppq-ink: #0f172a;
  --ppq-muted: #64748b;
  --ppq-line: #e2e8f0;
}
.ppq-home { margin: 0 0 2rem; }
.ppq-home ul, .ppq-home li { list-style: none; margin: 0; padding: 0; }
.ppq-home ul li::before { content: none; }
.ppq-home .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ppq-home a:focus-visible, .ppq-home button:focus-visible, .ppq-home [tabindex]:focus-visible { outline: 3px solid var(--ppq-accent); outline-offset: 2px; }

/* ---- campagne « à la une » -------------------------------------------- */
.ppq-hh { position: relative; margin: 0 0 2.75rem; }
.ppq-hh-media { position: relative; border-radius: 20px; overflow: hidden; background: #e2e8f0; }
.ppq-hh-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ppq-hh-body { padding: 1.25rem 0 0; }
.ppq-hh-kicker { display: inline-block; margin: 0; padding: .25rem .75rem; border-radius: 999px; background: var(--ppq-accent); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ppq-hh-title { margin: .55rem 0 1rem; color: var(--ppq-ink); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.ppq-hh-cta, .ppq-hs-cta {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 999px; background: var(--ppq-accent); color: #fff !important;
  font-weight: 700; text-decoration: none !important; transition: transform .15s ease, background-color .15s ease;
}
.ppq-hh-cta:hover { background: var(--ppq-accent-strong); transform: translateY(-2px); }
.ppq-hh-beacons { position: absolute; inset: 0; pointer-events: none; }
.ppq-hh-beacons li { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; }
.ppq-beacon { position: relative; display: block; width: 36px; height: 36px; text-decoration: none !important; }
.ppq-beacon-dot { position: absolute; inset: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .45), 0 2px 10px rgba(15, 23, 42, .35); }
.ppq-beacon-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ppq-accent); }
.ppq-beacon-dot::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ppq-pulse 2.4s ease-out infinite; }
@keyframes ppq-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.ppq-beacon-label {
  position: absolute; top: 50%; left: calc(100% + 4px); transform: translateY(-50%); white-space: nowrap;
  padding: .4rem .8rem; border-radius: 999px; background: #fff; color: var(--ppq-ink); font-size: .85rem; font-weight: 600;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .18); opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.ppq-beacon--left .ppq-beacon-label { left: auto; right: calc(100% + 4px); }
.ppq-beacon:hover .ppq-beacon-label, .ppq-beacon:focus-visible .ppq-beacon-label { opacity: 1; }
.ppq-beacon:focus-visible { outline: 3px solid #fff; border-radius: 50%; }
.ppq-hh-chips { display: none; }
@media (min-width: 900px) {
  .ppq-hh-body { position: absolute; left: 4.5%; top: 50%; transform: translateY(-50%); max-width: 38%; padding: 0; }
  .ppq-hh-title { color: var(--ppq-hh-title, #fff); }
}
@media (max-width: 899px) {
  .ppq-hh-media { aspect-ratio: 16 / 10 !important; border-radius: 16px; }
  .ppq-hh-beacons { display: none; }
  .ppq-hh-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
  .ppq-hh-chips a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--ppq-line); border-radius: 999px; color: var(--ppq-ink) !important; font-size: .9rem; font-weight: 600; text-decoration: none !important; }
}

/* ---- repli saisonnier : slider CSS scroll-snap ------------------------ */
.ppq-hs { position: relative; margin: 0 0 2.75rem; }
.ppq-hs-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ppq-hs-track::-webkit-scrollbar { display: none; }
.ppq-hs-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: var(--ppq-hs-ratio, 16 / 6); min-height: 320px; background: #0f172a; color: #fff; overflow: hidden; }
.ppq-hs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ppq-hs-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, .78) 100%); }
.ppq-hs-body { position: absolute; left: 0; bottom: 0; z-index: 1; max-width: 660px; padding: 2rem 2.2rem 3.2rem; }
.ppq-hs-kicker { display: inline-block; margin-bottom: .6rem; padding: .25rem .7rem; border-radius: 999px; background: var(--ppq-accent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ppq-hs-title { margin: 0 0 .5rem; color: #fff !important; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.ppq-hs-text { margin: 0 0 1rem; color: rgba(255, 255, 255, .92); }
.ppq-hs-cta { background: #fff; color: var(--ppq-accent-strong) !important; }
.ppq-hs-cta:hover { transform: translateY(-2px); }
.ppq-hs-nav, .ppq-hc-nav {
  position: absolute; z-index: 2; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ppq-ink); font-size: 1.6rem; line-height: 44px; text-align: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .18); opacity: 0; transition: opacity .2s ease;
}
.ppq-hs-prev { left: 14px; } .ppq-hs-next { right: 14px; }
.ppq-hs-nav { opacity: .8; }
.ppq-hs:hover .ppq-hs-nav, .ppq-hs:focus-within .ppq-hs-nav, .ppq-hs-nav:focus-visible { opacity: 1; }
/* 2.10.2 — campagne « à la une » en première diapositive : image entière (points produits bien placés), titre à gauche */
.ppq-hs-slide--campaign { background: #e2e8f0; }
.ppq-hs-slide--campaign::after { display: none; }
.ppq-hs-slide--campaign .ppq-hh-beacons { z-index: 1; }
.ppq-hs-body--campaign { top: 50%; bottom: auto; left: 4.5%; max-width: 40%; padding: 0; transform: translateY(-50%); z-index: 2; }
.ppq-hs-body--campaign .ppq-hs-title { color: var(--ppq-hh-title, #fff) !important; }
.ppq-hs-body--campaign .ppq-hs-cta { background: var(--ppq-accent); color: #fff !important; }
@media (min-width: 900px) { .ppq-hs--campaign .ppq-hs-slide { min-height: 0; } }
.ppq-hs-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.ppq-hs-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.ppq-hs-dot[aria-current="true"] { background: #fff; transform: scale(1.25); }
@media (max-width: 899px) {
  .ppq-hs-slide--campaign::after { display: block; }
  .ppq-hs-slide--campaign .ppq-hh-beacons { display: none; }
  .ppq-hs-body--campaign { top: auto; bottom: 0; left: 0; max-width: 660px; padding: 1.3rem 1.3rem 2.8rem; transform: none; }
  .ppq-hs-body--campaign .ppq-hs-title { color: #fff !important; }
}
@media (max-width: 640px) {
  .ppq-hs-slide { aspect-ratio: auto; min-height: 380px; }
  .ppq-hs-body { padding: 1.3rem 1.3rem 2.8rem; }
  .ppq-hs-nav { display: none; }
}

/* ---- carrousels -------------------------------------------------------- */
.ppq-hc { margin: 0 0 2.75rem; }
.ppq-hc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.ppq-hc-title { margin: 0; color: var(--ppq-ink); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.ppq-hc-all { flex: none; color: var(--ppq-accent-strong) !important; font-weight: 600; text-decoration: none !important; }
.ppq-hc-all:hover { text-decoration: underline !important; }
.ppq-hc-wrap { position: relative; }
.ppq-home .ppq-hc-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 4); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .4rem; scrollbar-width: thin;
}
.ppq-hc-item { scroll-snap-align: start; min-width: 0; }
.ppq-hc-card { display: flex; flex-direction: column; gap: .6rem; color: inherit !important; text-decoration: none !important; }
.ppq-hc-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #f1f5f9; transition: transform .2s ease; }
.ppq-hc-img--empty { background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
.ppq-hc-card:hover .ppq-hc-img { transform: scale(1.02); }
.ppq-hc-name { color: var(--ppq-ink); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.ppq-hc-card:hover .ppq-hc-name { text-decoration: underline; }
.ppq-hc-nav { top: 38%; }
.ppq-hc-prev { left: -14px; } .ppq-hc-next { right: -14px; }
.ppq-hc-wrap:hover .ppq-hc-nav:not([disabled]), .ppq-hc-wrap:focus-within .ppq-hc-nav:not([disabled]) { opacity: 1; }
.ppq-hc-nav[disabled] { cursor: default; }
@media (max-width: 900px) { .ppq-home .ppq-hc-track { grid-auto-columns: calc((100% - 2rem) / 2.6); } }
@media (max-width: 560px) { .ppq-home .ppq-hc-track { grid-auto-columns: 46%; } }
@media (hover: none) { .ppq-hc-nav, .ppq-hs-nav { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ppq-hs-track, .ppq-home .ppq-hc-track { scroll-behavior: auto; }
  .ppq-beacon-dot::before { animation: none; }
}

/* ---- [proprint_themes] : grille « Tous nos thèmes » (copie de configurator.css, qui n'est plus chargé ici) */
.ppq-themes { margin: 1.5rem 0; }
.ppq-themes-title { font-size: 1.6rem; font-weight: 700; margin: 0 0 1rem; color: var(--ppq-ink); }
.ppq-themes-grid { display: grid; grid-template-columns: repeat(var(--ppq-themes-cols, 3), minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 900px) { .ppq-themes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ppq-themes-grid { grid-template-columns: 1fr; } }
.ppq-theme-card {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--ppq-line); text-decoration: none !important; color: inherit !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06); transition: transform .18s ease, box-shadow .18s ease;
}
.ppq-theme-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, .12); }
.ppq-theme-card:focus-visible { outline: 3px solid var(--ppq-accent); outline-offset: 2px; }
.ppq-theme-img { display: block; width: 100%; height: auto; aspect-ratio: 1250 / 640; object-fit: cover; background: #f1f5f9; }
.ppq-theme-img-empty { background: linear-gradient(135deg, #e2e8f0, #f8fafc); }
.ppq-theme-body { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem 1rem; }
.ppq-theme-name { font-weight: 700; font-size: 1.05rem; color: var(--ppq-ink); }
.ppq-theme-count { font-size: .85rem; color: var(--ppq-muted); }
.ppq-theme-cta { margin-top: .35rem; font-weight: 600; font-size: .9rem; color: var(--ppq-accent-strong); }
.ppq-theme-card:hover .ppq-theme-cta { text-decoration: underline; }
