/**
 * Accueil — macarteimprimee.com
 * Styles dédiés (header / bandeau menu : header.css, inchangés)
 */

.home-page main {
  padding-top: 0;
  padding-bottom: 0;
}

.home-page {
  background: var(--bg);
}

/* ========== HERO ========== */
/* Pattern standard : container--home centré, grille 2 colonnes ≥960px (DESIGN.md) */
.home-hero {
  position: relative;
  background: var(--card);
  border-bottom: 1px solid var(--b);
}

.home-hero--story {
  overflow: hidden;
}

.home-hero__viewport {
  position: relative;
  overflow: hidden;
  transition: height 360ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero__track {
  display: flex;
  flex-direction: column;
  transition: transform 720ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.home-hero.is-input-locked {
  touch-action: none;
}

.home-hero__panel {
  box-sizing: border-box;
}

.home-hero--story .home-hero__panel {
  flex: 0 0 auto;
}

.home-hero__shell {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

@media (min-width: 60rem) {
  .home-hero__shell {
    /* Même largeur max que .container--header (1280px) — image jusqu’au bord droit contenu */
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1rem, 2vw, 2rem);
    align-items: stretch;
    /* Hauteur = écran laptop moins le header sticky, plafonnée sur grand écran
       (best practice : remplit le laptop, mais pas trop haut au-delà). */
    min-height: min(calc(100vh - var(--header-total)), 680px);
    min-height: min(calc(100svh - var(--header-total)), 680px);
    grid-template-rows: 1fr;
  }
}

.home-hero__copy {
  min-width: 0;
  max-width: 38rem;
}

.home-hero__eyebrow {
  margin: 0 0 var(--space-md);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a);
}

.home-hero__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--p);
  text-wrap: balance;
}

.home-hero__lead {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1875rem);
  line-height: 1.65;
  color: var(--m);
  max-width: 34rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-sm);
}

.home-hero__note {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Visuel : hauteur = colonne texte, largeur = moitié droite du container (aligné header) */
.home-hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@media (min-width: 60rem) {
  .home-hero__copy {
    align-self: center;
  }

  /* Image : pleine largeur de sa colonne ET pleine hauteur du hero.
     Aucune hauteur en px : identique au chargement et au retour arrière. */
  .home-hero__art {
    align-self: stretch;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 0;
  }
}

.home-hero__art > picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.home-hero__img,
.home-hero__art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 60rem) {
  .home-hero__img,
  .home-hero__art img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
}

/* Mobile : image pleine largeur, hauteur naturelle */
@media (max-width: 59.9375rem) {
  .home-hero__shell {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
    gap: var(--space-md);
  }

  .home-hero__title {
    font-size: clamp(1.75rem, 1.2rem + 4.2vw, 2.5rem);
  }

  .home-hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .home-hero__art {
    align-self: auto;
  }

  .home-hero__art > picture {
    height: auto;
  }

  .home-hero__img,
  .home-hero__art img,
  .home-hero__gallery-slide .home-hero__img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

.home-hero__art > .home-hero__gallery-viewport {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Desktop : galerie en position absolue → elle remplit le cadre SANS gonfler
   sa hauteur (les 2 slides empilées ne s'additionnent plus). La hauteur du
   cadre reste calée sur la colonne texte via align-self: stretch. */
@media (min-width: 60rem) {
  .home-hero__art > .home-hero__gallery-viewport {
    position: absolute;
    inset: 0;
    flex: none;
    height: auto;
  }
}

/* Bleed : image derrière les deux colonnes. Mobile inchangé (empilement). */
@media (min-width: 60rem) {
  .home-hero__panel--bleed .home-hero__shell {
    gap: 0;
  }

  .home-hero__panel--bleed .home-hero__art {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 0;
  }

  .home-hero__panel--bleed .home-hero__copy {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    position: relative;
    align-self: center;
    padding-block: var(--space-xl);
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
    background: linear-gradient(
      90deg,
      var(--card) 0%,
      color-mix(in srgb, var(--card) 92%, transparent) 52%,
      color-mix(in srgb, var(--card) 55%, transparent) 78%,
      transparent 100%
    );
  }

  .home-hero__panel--bleed .home-hero__img,
  .home-hero__panel--bleed .home-hero__art img,
  .home-hero__panel--bleed .home-hero__gallery-slide .home-hero__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 59.9375rem) {
  .home-hero__art > .home-hero__gallery-viewport {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

.home-hero__gallery-viewport {
  display: flex;
  overflow: hidden;
}

.home-hero__gallery-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.home-hero__gallery-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.home-hero__gallery-slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.home-hero__gallery-slide .home-hero__img {
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

/* Storytelling : indicateur + hint */
.home-hero__progress {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--b);
  pointer-events: none;
  backdrop-filter: blur(6px);
}

@media (max-width: 59.9375rem) {
  .home-hero__progress {
    left: 50%;
    right: auto;
    bottom: var(--space-sm);
    top: auto;
    transform: translateX(-50%);
    flex-direction: row;
  }

  .home-hero__progress-dot--active {
    width: 22px;
    height: 6px;
  }
}

@media (min-width: 60rem) {
  .home-hero__progress {
    right: max(var(--space-md), env(safe-area-inset-right, 0px));
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
  }

  .home-hero__progress-dot--active {
    height: 22px;
    width: 6px;
  }
}

.home-hero__progress-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(17, 24, 39, 0.2);
  transition:
    width 320ms cubic-bezier(0.4, 0, 0.2, 1),
    height 320ms cubic-bezier(0.4, 0, 0.2, 1),
    background 320ms ease;
}

.home-hero__progress-dot--active {
  background: var(--a);
}

.home-hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--space-md);
  transform: translateX(-50%);
  margin: 0;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--r);
  pointer-events: none;
  transition: opacity var(--ease);
}

@media (max-width: 59.9375rem) {
  .home-hero--story .home-hero__scroll-hint {
    bottom: calc(var(--space-md) + 2.25rem);
  }
}

.home-hero__scroll-hint--hidden {
  opacity: 0;
}

/* ========== BANDEAU ENGAGEMENTS ========== */
.home-strip {
  background: var(--card);
  color: var(--p);
  padding: clamp(4.75rem, 10vw, 8rem) 0;
  border-bottom: 1px solid var(--b);
}

.home-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

@media (min-width: 1024px) {
  .home-strip__list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1rem, 1.6vw, 1.5rem);
  }
}

.home-strip__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 17.5rem;
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.home-strip__item--cta {
  background: linear-gradient(135deg, var(--cta-l) 0%, color-mix(in srgb, var(--cta) 18%, #fff) 100%);
}

.home-strip__item--slate {
  background: linear-gradient(135deg, #f1f5f9 0%, color-mix(in srgb, var(--p) 8%, #e2e8f0) 100%);
}

.home-strip__item--cyan {
  background: linear-gradient(135deg, var(--al) 0%, color-mix(in srgb, var(--a) 16%, #fff) 100%);
}

.home-strip__item--green {
  background: linear-gradient(135deg, #ecfdf5 0%, color-mix(in srgb, var(--s) 18%, #fff) 100%);
}

.home-strip__item:hover,
.home-strip__item:focus-within {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.home-strip__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-strip__media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.home-strip__img {
  position: absolute;
  right: -18%;
  bottom: -22%;
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: darken;
  opacity: 0.92;
  transform-origin: 80% 80%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-strip__item:hover .home-strip__img,
.home-strip__item:focus-within .home-strip__img {
  transform: scale(1.08) rotate(3deg);
}

.home-strip__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 18rem;
}

.home-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  backdrop-filter: blur(8px);
  font-size: var(--text-sm);
  font-weight: 650;
  color: color-mix(in srgb, var(--p) 80%, var(--m));
}

.home-strip__badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cta);
}

.home-strip__item--slate .home-strip__badge::before {
  background: #4b5563;
}

.home-strip__item--cyan .home-strip__badge::before {
  background: var(--a);
}

.home-strip__item--green .home-strip__badge::before {
  background: var(--s);
}

.home-strip__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.35vw, 1.4rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--p);
}

.home-strip__detail {
  margin: 0;
  max-width: 16.5rem;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: color-mix(in srgb, var(--p) 62%, var(--m));
}

.home-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--p);
  text-decoration: none;
}

.home-strip__cta svg {
  flex: 0 0 auto;
  transition: transform 300ms ease;
}

.home-strip__cta:hover,
.home-strip__cta:focus-visible {
  color: var(--a);
}

.home-strip__cta:hover svg,
.home-strip__cta:focus-visible svg {
  transform: translateX(0.25rem);
}

.home-brands {
  margin-top: 0;
}

.home-strip:has(.home-strip__list) .home-brands {
  margin-top: clamp(3.75rem, 7vw, 6.25rem);
}

.home-brands__title {
  margin: 0 auto 2.15rem;
  max-width: 22em;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.35vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--p);
  text-wrap: balance;
}

.home-brands__title em {
  font-style: normal;
  color: var(--cta);
}

.home-brands__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-brands__track {
  display: flex;
  width: max-content;
  animation: home-brands-scroll 42s linear infinite;
}

.home-brands__viewport:hover .home-brands__track,
.home-brands__viewport:focus-within .home-brands__track {
  animation-play-state: paused;
}

.home-brands__group {
  display: flex;
  align-items: center;
  gap: clamp(2.25rem, 4.8vw, 4.25rem);
  margin: 0;
  padding: 0.35rem clamp(1.15rem, 2.4vw, 2.15rem);
  list-style: none;
}

.home-brands__item {
  flex: 0 0 auto;
  margin: 0;
}

.home-brands__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.2rem 0.35rem;
  border-radius: var(--r);
  color: inherit;
  text-decoration: none;
  outline-offset: 4px;
}

.home-brands__link:focus-visible {
  outline: 2px solid var(--a);
}

.home-brands__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 8.75rem;
  max-height: 2.85rem;
  object-fit: contain;
}

@keyframes home-brands-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ========== CORPS DE PAGE ========== */
.home-body {
  padding-bottom: var(--space-2xl);
}

.home-block {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.home-block--audience {
  background: var(--card);
}

.home-block--intro {
  position: relative;
  background: var(--card);
  border-bottom: 1px solid var(--b);
  padding: 0;
  overflow: hidden;
}

.home-intro__shell {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  box-sizing: border-box;
}

.home-intro__copy {
  min-width: 0;
  max-width: 40rem;
}

.home-intro__copy .home-head {
  margin-bottom: var(--space-md);
}

.home-intro__prose {
  max-width: 38rem;
  font-size: var(--text-base);
  line-height: 1.7;
}

.home-intro__prose p {
  margin: 0 0 var(--space-md);
}

.home-intro__prose p:last-child {
  margin-bottom: 0;
}

.home-intro__prose a {
  font-weight: 600;
  color: var(--a);
}

.home-intro__art {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.home-intro__art picture {
  display: flex;
  width: 100%;
  height: 100%;
}

.home-intro__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 72% 50%;
}

@media (min-width: 60rem) {
  .home-intro__shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: 1fr;
    gap: 0;
    align-items: stretch;
    min-height: min(32rem, 56vh);
    min-height: min(32rem, 56svh);
  }

  .home-intro__art {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 0;
    align-self: stretch;
    height: 100%;
  }

  .home-intro__art picture,
  .home-intro__img {
    height: 100%;
  }

  .home-intro__img {
    max-width: none;
    max-height: none;
  }

  .home-intro__copy {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    position: relative;
    align-self: center;
    padding-block: clamp(2rem, 4vw, 3.25rem);
    padding-right: clamp(1.75rem, 4vw, 3.75rem);
    background: linear-gradient(
      90deg,
      var(--card) 0%,
      color-mix(in srgb, var(--card) 92%, transparent) 52%,
      color-mix(in srgb, var(--card) 55%, transparent) 78%,
      transparent 100%
    );
  }
}

@media (max-width: 59.9375rem) {
  .home-intro__shell {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
  }

  .home-intro__art {
    aspect-ratio: 16 / 9;
  }

  .home-intro__img {
    height: 100%;
  }
}

.home-block--poles {
  background: var(--bg);
}

.home-block--catalog {
  background: var(--bg);
}

.home-block--faq {
  background: var(--bg);
  border-top: 1px solid var(--b);
}

.home-block--guides {
  background: var(--card);
  border-top: 1px solid var(--b);
}

.home-guides {
  display: grid;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 48rem) {
  .home-guides {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-guides__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  min-height: 12rem;
  height: 100%;
  overflow: hidden;
  padding: var(--space-lg);
  padding-right: clamp(5.75rem, 34%, 7.5rem);
  background: var(--bg);
  border: 1px solid var(--b);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-guides__card:hover {
  border-color: color-mix(in srgb, var(--a) 45%, var(--b));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--p) 8%, transparent);
  transform: translateY(-1px);
}

.home-guides__icon {
  position: absolute;
  right: 0.15rem;
  bottom: 0.15rem;
  width: clamp(5.5rem, 34%, 7.35rem);
  height: clamp(5.5rem, 34%, 7.35rem);
  pointer-events: none;
}

.home-guides__icon picture,
.home-guides__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-guides__card:hover .home-guides__icon-img {
  transform: translateY(-3px) scale(1.04);
}

.home-guides__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a);
}

.home-guides__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25;
  color: var(--p);
}

.home-guides__excerpt {
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--m);
}

.home-guides__cta {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--a);
}

.home-guides__more {
  margin: var(--space-lg) 0 0;
  font-size: var(--text-base);
  font-weight: 600;
}

.home-guides__more a {
  color: var(--a);
}

.home-block--usages {
  background: var(--bg);
  border-top: 1px solid var(--b);
}

.home-block--glossary {
  background: var(--card);
  border-top: 1px solid var(--b);
}

.home-usages {
  display: grid;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 48rem) {
  .home-usages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .home-usages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-usages__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  height: 100%;
  padding: var(--space-lg);
}

.home-usages__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
  color: var(--p);
}

.home-usages__need,
.home-usages__sol {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.home-usages__more {
  margin: var(--space-lg) 0 0;
  font-size: var(--text-sm);
}

.home-usages__more a {
  color: var(--a);
  font-weight: 600;
}

.home-glossary {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--b);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}

@media (min-width: 48rem) {
  .home-glossary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-glossary__row {
  display: grid;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--b);
}

.home-glossary__row:nth-child(odd) {
  background: color-mix(in srgb, var(--card) 60%, transparent);
}

@media (min-width: 48rem) {
  .home-glossary__row:nth-child(odd) {
    border-right: 1px solid var(--b);
  }

  .home-glossary__row:last-child:nth-child(odd) {
    border-right: none;
  }
}

.home-glossary__row:last-child {
  border-bottom: none;
}

.home-glossary__term {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--p);
}

.home-glossary__def {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* En-têtes de section */
.home-head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  max-width: 42rem;
}

.home-head__kicker {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a);
}

.home-head__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p);
  line-height: 1.2;
}

.home-head__lead {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
}

.home-head__lead a {
  font-weight: 600;
}

/* ========== AUDIENCE ========== */
.home-audience__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .home-audience__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-audience__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--bg);
  border: 1px solid var(--b);
  border-radius: var(--r-lg);
  color: var(--p);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.home-audience__tile:hover {
  border-color: color-mix(in srgb, var(--a) 40%, var(--b));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--p);
}

.home-audience__tile--accent {
  background: linear-gradient(160deg, var(--al) 0%, var(--card) 55%);
}

.home-audience__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--a) 18%, transparent);
  pointer-events: none;
}

.home-audience__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--p);
}

.home-audience__text {
  margin: 0;
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--m);
}

.home-audience__go {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--a);
}

.home-audience__tile:hover .home-audience__go {
  color: var(--cta);
}

/* ========== PÔLES — tuiles magazine (image + overlay) ========== */
.home-poles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1100px) {
  .home-poles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-poles__link {
  display: block;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.45);
  transition: box-shadow var(--ease), transform var(--ease);
}

.home-poles__link:hover {
  box-shadow: 0 22px 44px -20px rgba(15, 23, 42, 0.55);
  transform: translateY(-3px);
  color: #fff;
}

.home-poles__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: var(--bar-bg);
}

.home-poles__media--gif {
  background: #e8eef3;
}

@media (min-width: 640px) {
  .home-poles__media {
    min-height: clamp(220px, 32vw, 360px);
  }
}

.home-poles__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-poles__media .home-poles__img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-poles__img {
  object-fit: cover;
  object-position: center center;
  transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-poles__link:hover .home-poles__img,
.home-poles__link:hover .home-poles__gif {
  transform: scale(1.04);
}

.home-poles__gif {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease, transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-poles__gif:not([src]) {
  display: none;
}

.home-poles__media.is-gif-playing .home-poles__gif[src] {
  opacity: 1;
  visibility: visible;
}

.home-poles__media--fallback {
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--a) 45%, transparent), transparent 50%),
    linear-gradient(145deg, var(--bar-bg) 0%, #0c4a5e 100%);
}

.home-poles__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: clamp(3rem, 8vw, 4.5rem);
}

.home-poles__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.06) 0%,
    rgba(15, 23, 42, 0.18) 42%,
    rgba(15, 23, 42, 0.42) 68%,
    rgba(15, 23, 42, 0.62) 100%
  );
  pointer-events: none;
}

.home-poles__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.42) 38%,
    rgba(15, 23, 42, 0.68) 100%
  );
}

.home-poles__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.home-poles__meta--end {
  justify-content: flex-end;
}

.home-poles__num {
  font-family: var(--font-heading);
  color: #fff;
}

.home-poles__tag {
  padding: 0.2rem 0.45rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-poles__title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 14px rgba(0, 0, 0, 0.45);
}

.home-poles__desc {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: #f1f5f9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-inline-end: 0.25rem;
}

.home-poles__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.5rem;
}

.home-poles__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.375rem;
  padding: 0.45rem 0.95rem;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--r);
  text-shadow: none;
  text-decoration: none;
  white-space: nowrap;
}

/* Teinte charte en bas uniquement (ne pas éclaircir la zone texte) */
.home-poles__link--carte .home-poles__shade {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.2) 42%,
    rgba(8, 70, 88, 0.48) 74%,
    rgba(15, 23, 42, 0.62) 100%
  );
}

.home-poles__link--acces .home-poles__shade {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.2) 42%,
    rgba(17, 24, 39, 0.5) 74%,
    rgba(15, 23, 42, 0.62) 100%
  );
}

.home-poles__link--tag .home-poles__shade {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.2) 42%,
    rgba(6, 78, 59, 0.48) 74%,
    rgba(15, 23, 42, 0.62) 100%
  );
}

.home-poles__link--accessoire .home-poles__shade {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.2) 42%,
    rgba(120, 53, 35, 0.46) 74%,
    rgba(15, 23, 42, 0.62) 100%
  );
}

/* Pôles « bientôt disponible » */
.home-poles__link--soon {
  cursor: default;
  pointer-events: none;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.35);
}

.home-poles__link--soon:hover {
  transform: none;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.35);
}

.home-poles__link--soon .home-poles__img,
.home-poles__link--soon .home-poles__fallback {
  filter: grayscale(0.92) saturate(0.45) brightness(0.82);
}

.home-poles__link--soon .home-poles__shade {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.16) 0%,
    rgba(15, 23, 42, 0.38) 48%,
    rgba(15, 23, 42, 0.64) 100%
  ) !important;
}

.home-poles__soon-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 9px
    ),
    rgba(15, 23, 42, 0.22);
  pointer-events: none;
}

.home-poles__soon-badge {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1rem);
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35);
  white-space: nowrap;
}

.home-poles__link--soon .home-poles__overlay {
  opacity: 0.92;
}

.home-poles__go--soon {
  color: #e2e8f0 !important;
  background: rgba(100, 116, 139, 0.55) !important;
  box-shadow: none !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.home-poles__link--soon:hover .home-poles__go--soon {
  transform: none;
  background: rgba(100, 116, 139, 0.55) !important;
}

/* ========== CATALOGUE ACCUEIL (tuiles magazine = pôles) ========== */
.home-catalog__group {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.home-catalog__group:first-of-type {
  padding-top: 0;
}

.home-catalog__heading {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--p);
}

.home-catalog__note {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 42rem;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.home-catalog__note a {
  color: var(--a);
  font-weight: 600;
}

.home-coverflow {
  position: relative;
  margin: 0 0 var(--space-md);
  outline: none;
  user-select: none;
}

.home-coverflow:focus-visible {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-focus-accent);
}

.home-coverflow__viewport {
  position: relative;
  margin-bottom: 1.25rem;
}

.home-coverflow__stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26.5rem;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 48%;
}

.home-coverflow__card {
  position: absolute;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: min(17.5rem, 78vw);
  height: 24.25rem;
  overflow: hidden;
  backface-visibility: hidden;
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(0) scale(0.4) rotateY(0deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  filter: brightness(0.72);
  pointer-events: none;
  cursor: pointer;
  transition:
    transform 800ms cubic-bezier(0.25, 1, 0.5, 1),
    opacity 800ms cubic-bezier(0.25, 1, 0.5, 1),
    filter 800ms cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 800ms cubic-bezier(0.25, 1, 0.5, 1);
}

.home-coverflow__card.is-center {
  z-index: 30;
  opacity: 1;
  filter: brightness(1);
  transform: translateX(0) scale(1) rotateY(0deg);
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
  cursor: default;
}

.home-coverflow__card.is-right-1 {
  z-index: 20;
  opacity: 0.72;
  filter: brightness(0.88);
  transform: translateX(13.75rem) scale(0.84) rotateY(-24deg);
  pointer-events: auto;
}

.home-coverflow__card.is-right-2 {
  z-index: 10;
  opacity: 0.42;
  filter: brightness(0.78);
  transform: translateX(24.5rem) scale(0.68) rotateY(-38deg);
  pointer-events: auto;
}

.home-coverflow__card.is-left-1 {
  z-index: 20;
  opacity: 0.72;
  filter: brightness(0.88);
  transform: translateX(-13.75rem) scale(0.84) rotateY(24deg);
  pointer-events: auto;
}

.home-coverflow__card.is-left-2 {
  z-index: 10;
  opacity: 0.42;
  filter: brightness(0.78);
  transform: translateX(-24.5rem) scale(0.68) rotateY(38deg);
  pointer-events: auto;
}

.home-coverflow__card.is-hidden {
  z-index: 0;
  opacity: 0;
  filter: brightness(0.55);
  transform: translateX(0) scale(0.4) rotateY(0deg);
  pointer-events: none;
}

.home-coverflow__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
}

.home-coverflow__media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.85rem 0.85rem 0.35rem;
  box-sizing: border-box;
}

.home-coverflow__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-coverflow__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--al) 70%, #fff), #fff);
}

.home-coverflow__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
  padding: 0.35rem 1rem 1.05rem;
  text-align: center;
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.home-coverflow__card.is-center .home-coverflow__body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.home-coverflow__tag {
  margin: 0 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a);
}

.home-coverflow__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--p);
  text-wrap: pretty;
}

.home-coverflow__desc {
  margin: 0.15rem 0 0.45rem;
  max-width: 16rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}

.home-coverflow__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--cta);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(var(--cta-rgb), 0.28);
  transition: background var(--ease), transform var(--ease);
}

.home-coverflow__cta:hover,
.home-coverflow__cta:focus-visible {
  background: var(--cta-hover);
  color: #fff;
}

.home-coverflow__nav {
  position: absolute;
  top: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--b);
  border-radius: 50%;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--p);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.home-coverflow__nav:hover,
.home-coverflow__nav:focus-visible {
  border-color: color-mix(in srgb, var(--a) 45%, var(--b));
  color: var(--a);
  background: var(--card);
}

.home-coverflow__nav--prev {
  left: 0.15rem;
}

.home-coverflow__nav--next {
  right: 0.15rem;
}

.home-coverflow__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.home-coverflow__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--p) 18%, var(--b));
  cursor: pointer;
  transition: width 300ms ease, background 300ms ease;
}

.home-coverflow__dot.is-active {
  width: 1.65rem;
  background: var(--a);
}

@media (max-width: 767px) {
  .home-coverflow__stage {
    height: 24.5rem;
  }

  .home-coverflow__card {
    width: min(18.5rem, 84vw);
    height: 22.5rem;
  }

  .home-coverflow__card.is-left-1,
  .home-coverflow__card.is-left-2,
  .home-coverflow__card.is-right-1,
  .home-coverflow__card.is-right-2 {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.9) rotateY(0deg);
  }

  .home-coverflow__nav--prev {
    left: 0;
  }

  .home-coverflow__nav--next {
    right: 0;
  }
}

.home-catalog__list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

@media (min-width: 1280px) {
  .home-catalog__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-catalog__item {
  min-width: 0;
}

/* Cartes produit (fond clair — distinct des tuiles pôle magazine) */
.home-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--product-card-radius, var(--r, 4px));
  color: var(--p);
  text-decoration: none;
  box-shadow: none;
  transition: border-color var(--ease);
}

.home-product-card:hover {
  border-color: color-mix(in srgb, var(--p) 22%, var(--b));
  color: var(--p);
}

.home-product-card--pole-entry {
  border-color: color-mix(in srgb, var(--p) 18%, var(--b));
}

.home-product-card__media {
  position: relative;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  contain: paint;
  aspect-ratio: 4 / 3;
  background: #fff;
  min-height: 0;
}

.home-product-card__media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(0.7rem, 2.4vw, 1.15rem);
  box-sizing: border-box;
}

.home-product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.home-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  min-height: 0;
  padding: 0 var(--product-card-pad, 1.15rem) var(--product-card-pad, 1.15rem);
}

.home-product-card__badge {
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a);
  background: color-mix(in srgb, var(--a) 12%, var(--card));
  border-radius: var(--r);
}

.home-product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--p);
}

.home-product-card__teaser {
  flex: 1;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--m);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-card__foot {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--space-xs);
  margin-top: auto;
}

.home-product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--a);
  background: transparent;
  border: none;
  border-radius: 0;
  transition: color var(--ease);
}

.home-product-card:hover .home-product-card__btn {
  background: transparent;
  color: var(--p);
  border-color: transparent;
}

@media (max-width: 639px) {
  .home-product-card {
    padding: 0;
  }

  .home-product-card__media {
    margin-bottom: 0;
    padding: 0.65rem;
    aspect-ratio: 1;
    border-radius: 0;
  }

  .home-product-card__title {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-product-card__teaser {
    font-size: 0.75rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .home-product-card__foot {
    justify-content: stretch;
  }

  .home-product-card__btn {
    width: 100%;
    min-height: 2.5rem;
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem;
  }

  .home-poles__overlay {
    padding: 0.7rem 0.65rem 0.75rem;
    gap: 0.25rem;
  }

  .home-poles__desc {
    display: none;
  }

  .home-poles__title {
    font-size: 0.95rem;
  }

  .home-poles__go {
    min-height: 2.25rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
  }

  .home-poles__tag {
    font-size: 0.62rem;
  }

  .home-poles__soon-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
  }
}

.home-catalog__all {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  text-align: right;
}

.home-catalog__all a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--a);
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.home-catalog__all a:hover {
  color: var(--cta);
}

/* ========== FAQ ========== */
.home-faq__layout {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .home-faq__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.home-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.home-faq__item {
  background: var(--card);
  border: 1px solid var(--b);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.home-faq__summary {
  cursor: pointer;
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--p);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.home-faq__summary::-webkit-details-marker {
  display: none;
}

.home-faq__summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--a);
  line-height: 1;
}

.home-faq__item[open] .home-faq__summary::after {
  content: '−';
}

.home-faq__body {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--b);
}

.home-faq__body p {
  margin: var(--space-md) 0 0;
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ========== RECHERCHE (?q=) ========== */
.home-page--search main {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.home-page--search .home-search {
  margin-bottom: var(--space-xl);
}

.home-search__intro {
  margin: 0 0 var(--space-md);
  font-size: var(--text-sm);
}

.home-search__intro a {
  color: var(--a);
  font-weight: 600;
}

.home-search__hint {
  margin: 0;
  padding: var(--space-md);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--w) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--w) 35%, transparent);
  font-size: var(--text-sm);
}

.home-search__summary {
  margin: 0 0 var(--space-md);
}

.home-search__empty {
  margin: 0;
  padding: var(--space-md);
  border-radius: var(--r-md);
  background: var(--al);
  font-size: var(--text-sm);
}

.home-search__empty a {
  color: var(--a);
  font-weight: 600;
}

.home-search__grid {
  margin-top: var(--space-md);
}

/* ========== ACCESSIBILITÉ ========== */
@media (prefers-reduced-motion: reduce) {
  .home-guides__card,
  .home-guides__icon-img {
    transition: none;
  }

  .home-guides__card:hover {
    transform: none;
  }

  .home-guides__card:hover .home-guides__icon-img {
    transform: none;
  }

  .home-hero__gallery-track {
    transition: none;
  }

  .home-hero__gallery-viewport .home-hero__gallery-slide:not(:first-child) {
    display: none;
  }

  .home-hero--story .home-hero__track {
    transition: none;
  }

  .home-hero--story .home-hero__panel:not(.home-hero__panel--active) {
    display: none;
  }

  .home-hero__scroll-hint,
  .home-hero__progress {
    display: none;
  }

  .home-audience__tile:hover,
  .home-poles__link:hover,
  .home-poles__link:hover .home-poles__img,
  .home-poles__link:hover .home-poles__gif,
  .home-product-card:hover {
    transform: none;
  }

  .home-coverflow__card {
    transition: opacity 200ms ease;
  }

  .home-coverflow__body {
    transition: opacity 200ms ease;
  }

  .home-coverflow__card.is-left-1,
  .home-coverflow__card.is-left-2,
  .home-coverflow__card.is-right-1,
  .home-coverflow__card.is-right-2,
  .home-coverflow__card.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .home-strip__item,
  .home-strip__img,
  .home-strip__cta svg {
    transition: none;
  }

  .home-strip__item:hover,
  .home-strip__item:focus-within,
  .home-strip__item:hover .home-strip__img,
  .home-strip__item:focus-within .home-strip__img {
    transform: none;
  }

  .home-brands__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 72rem;
    margin-inline: auto;
    row-gap: 1.1rem;
  }

  .home-brands__viewport {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-brands__group[aria-hidden="true"],
  .home-brands__item--repeat {
    display: none;
  }
}

@media (hover: none) {
  .home-audience__tile:hover,
  .home-poles__link:hover,
  .home-product-card:hover,
  .home-strip__item:hover,
  .home-strip__item:hover .home-strip__img {
    transform: none;
  }
}
