/* La planche validée reste la source visuelle, les contrôles HTML restent utilisables. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-canvas-home {
  container-type: inline-size;
  width: min(1390px, 100%);
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-canvas-home > main { background: transparent !important; }

.reference-artboard {
  position: relative;
  width: 100%;
  aspect-ratio: 1110 / 1024;
  overflow: hidden;
  background: var(--nr-coral);
}

.reference-artboard-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 138.378378% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: fill;
}

.reference-action {
  position: absolute;
  z-index: 25;
  display: block;
  border: 0 !important;
  border-radius: 30px;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.reference-action:hover { transform: none !important; }
.reference-action:focus-visible,
.home-site-header a:focus-visible,
.home-site-header button:focus-visible {
  outline: 5px solid var(--nr-yellow) !important;
  outline-offset: -6px;
}

.reference-heart-action:focus-visible { outline-color: var(--nr-plum) !important; }

.reference-card-action { left: 35.2%; top: 22.8%; width: 36%; height: 28%; }
.reference-products-action { left: 3.2%; top: 64.2%; width: 94.6%; height: 20%; }
.reference-rewards-action { left: 3.2%; top: 84.5%; width: 94.6%; height: 11.4%; }
.reference-heart-action { left: 68.5%; top: 67.5%; width: 27%; height: 13%; z-index: 26; }

/* Les contrôles réels sont calés sur les icônes de la planche, en unités liées à sa largeur. */
.site-canvas-home > .home-site-header {
  position: absolute !important;
  z-index: 60;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 14cqw !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  pointer-events: none;
}

.site-canvas-home > .home-site-header .header-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

.site-canvas-home > .home-site-header .logo,
.site-canvas-home > .home-site-header .menu-trigger,
.site-canvas-home > .home-site-header .header-actions,
.site-canvas-home > .home-site-header .header-actions > * {
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  text-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  pointer-events: auto;
}

.site-canvas-home > .home-site-header .logo {
  left: 6.5cqw !important;
  top: 6.6cqw !important;
  width: 31cqw !important;
  height: 5.3cqw !important;
  display: grid !important;
  place-items: center;
  background: var(--nr-plum) !important;
}

.site-canvas-home > .home-site-header .logo .brand-wordmark {
  visibility: visible !important;
  width: min(340px, 100%) !important;
  height: auto !important;
  aspect-ratio: 340 / 64;
  background: url('/nourissimo-logo-coral.png') center / 100% 100% no-repeat !important;
  filter: none !important;
}

.site-canvas-home > .home-site-header .menu-trigger {
  left: 68.5cqw !important;
  top: 6.7cqw !important;
  width: 5.3cqw !important;
  height: 5.3cqw !important;
}

.site-canvas-home > .home-site-header .header-actions {
  left: 75.1cqw !important;
  top: 6.7cqw !important;
  display: grid !important;
  grid-template-columns: repeat(3, 5.3cqw) !important;
  gap: 1.25cqw !important;
  width: auto !important;
  height: 5.3cqw !important;
}

.site-canvas-home > .home-site-header .header-actions > * {
  position: relative !important;
  inset: auto !important;
  width: 5.3cqw !important;
  height: 5.3cqw !important;
}

.site-canvas-home > .home-site-header .paw-icon,
.site-canvas-home > .home-site-header .cart-button b { visibility: hidden !important; }

/* Le logo et les boutons des pages intérieures sont des recadrages légers de la charte. */
.site-canvas .brand-wordmark {
  width: 340px;
  height: 64px;
  overflow: hidden;
  background: url('/nourissimo-logo-coral.png') center / 100% 100% no-repeat;
}

.site-canvas .brand-wordmark > span { visibility: hidden; }
.site-canvas:not(.site-canvas-home) > .site-header .logo { width: 340px; height: 64px; overflow: hidden; }
.site-canvas:not(.site-canvas-home) .cart-button {
  background: transparent url('/nourissimo-paw-button.png') center / contain no-repeat !important;
  border-color: transparent !important;
}
.site-canvas:not(.site-canvas-home) .cart-button .paw-icon { opacity: 0; }
.site-canvas:not(.site-canvas-home) .cart-button b { z-index: 3; }
.menu-panel .brand-wordmark { width: 205px; height: 39px; }
.menu-panel-head .logo { width: 205px; height: 39px; overflow: hidden; }
.main-footer .brand-wordmark { width: 245px; height: 46px; }
.main-footer .logo { width: 245px; height: 46px; overflow: hidden; }

@media (min-width: 601px) and (max-width: 740px) {
  .site-canvas-home > .home-site-header .search-trigger,
  .site-canvas-home > .home-site-header .account-button { display: grid !important; }
  .site-canvas-home > .home-site-header .menu-trigger::after,
  .site-canvas-home > .home-site-header .header-actions > *::after {
    content: '';
    position: absolute;
    inset: -7px;
  }
}

@media (max-width: 600px) {
  .site-canvas-home { width: 100%; margin: 0; }
  .reference-artboard { aspect-ratio: 424 / 890; }
  .reference-artboard-image {
    left: -260.377358%;
    top: 0;
    width: 362.264151% !important;
    height: auto !important;
  }

  .reference-card-action { left: 18%; top: 43%; width: 55%; height: 18.5%; }
  .reference-products-action { left: 8.5%; top: 63.5%; width: 83%; height: 14%; }
  .reference-rewards-action { left: 8.5%; top: 78.2%; width: 83%; height: 12%; }
  .reference-heart-action { left: 8.5%; top: 90.5%; width: 83%; height: 6.2%; }

  .site-canvas-home > .home-site-header { height: 38cqw !important; }
  .site-canvas-home > .home-site-header .logo {
    left: 29cqw !important;
    top: 23.4cqw !important;
    width: 40cqw !important;
    height: 10cqw !important;
  }

  .site-canvas-home > .home-site-header .menu-trigger {
    left: 10.8cqw !important;
    top: 22.5cqw !important;
    width: 13cqw !important;
    height: 13cqw !important;
  }
  .site-canvas-home > .home-site-header .header-actions {
    left: 75.7cqw !important;
    top: 22.5cqw !important;
    grid-template-columns: 13cqw !important;
    width: 13cqw !important;
    height: 13cqw !important;
  }
  .site-canvas-home > .home-site-header .search-trigger,
  .site-canvas-home > .home-site-header .account-button { display: none !important; }
  .site-canvas-home > .home-site-header .cart-button {
    width: 13cqw !important;
    height: 13cqw !important;
  }

  .site-canvas:not(.site-canvas-home) > .site-header .logo { width: 184px; height: 36px; }
  .site-canvas:not(.site-canvas-home) > .site-header .brand-wordmark { width: 184px; height: 36px; }
  .site-canvas:not(.site-canvas-home) .cart-button {
    background-image: url('/nourissimo-bag-button.png') !important;
  }
  .main-footer .brand-wordmark { width: 200px; height: 38px; }
  .main-footer .logo { width: 200px; height: 40px; }

  .site-canvas-home .club-section-head {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: start !important;
    gap: 20px !important;
  }
  .site-canvas-home .club-section-head h2 { margin: 0 !important; line-height: .92 !important; }
  .site-canvas-home .club-section-head > a {
    position: static !important;
    justify-self: start;
    margin: 0 !important;
  }
}

/* Plein écran validé : le liseré crème est désormais le bord de la fenêtre,
   sans gouttière corail derrière la coque ni entre les grands plateaux. */
html,
body {
  width: 100%;
  margin: 0;
  background: var(--nr-cream) !important;
}

.site-canvas {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.site-canvas:not(.site-canvas-home) {
  border-width: 6px !important;
  border-radius: 48px !important;
}

.site-canvas-home,
.site-canvas-home > main {
  background: var(--nr-cream) !important;
}

/* Recadrage exact de la planche : suppression du fond corail situé hors cadre. */
.reference-artboard {
  aspect-ratio: 1058 / 941;
  background: var(--nr-cream);
  border-radius: 3.6cqw;
}

.reference-artboard-image {
  left: -3.024575%;
  top: -4.569607%;
  width: 145.179584% !important;
  height: auto !important;
  object-fit: initial;
}

.reference-card-action { left: 33.9%; top: 20.25%; width: 37.77%; height: 30.47%; }
.reference-products-action { left: .35%; top: 65.3%; width: 99.2%; height: 21.76%; }
.reference-rewards-action { left: .35%; top: 87.38%; width: 99.2%; height: 12.4%; }
.reference-heart-action { left: 68.84%; top: 68.88%; width: 28.33%; height: 14.15%; }

.site-canvas-home > .home-site-header { height: 10cqw !important; }
.site-canvas-home > .home-site-header .logo {
  left: 3.8cqw !important;
  top: 2.86cqw !important;
  width: 32.52cqw !important;
  height: 5.56cqw !important;
}
.site-canvas-home > .home-site-header .menu-trigger {
  left: 68.84cqw !important;
  top: 2.97cqw !important;
  width: 5.56cqw !important;
  height: 5.56cqw !important;
}
.site-canvas-home > .home-site-header .header-actions {
  left: 75.77cqw !important;
  top: 2.97cqw !important;
  grid-template-columns: repeat(3, 5.56cqw) !important;
  gap: 1.31cqw !important;
  height: 5.56cqw !important;
}
.site-canvas-home > .home-site-header .header-actions > * {
  width: 5.56cqw !important;
  height: 5.56cqw !important;
}

/* Chaque grand bloc occupe toute la largeur de la coque. Le liseré blanc reste
   visible sur son propre contour, mais aucun fond n'apparaît dans les côtés. */
.site-canvas-home .club-favorites,
.site-canvas-home .intro-section,
.site-canvas-home .club-ribbon,
.site-canvas-home .match-section,
.site-canvas-home .editorial-section,
.site-canvas-home .join-section,
.site-canvas .page-hero,
.site-canvas .club-page .club-hero,
.site-canvas .universe-hero,
.site-canvas .shop-toolbar,
.site-canvas .shop-layout,
.site-canvas .nutrition-pillars,
.site-canvas .care-categories,
.site-canvas .club-benefits,
.site-canvas .universe-stats,
.site-canvas .bilan-section,
.site-canvas .season-check,
.site-canvas .club-dashboard,
.site-canvas .universe-profiles,
.site-canvas .universe-needs,
.site-canvas .universe-rhythm,
.site-canvas .universe-products,
.site-canvas .guide-section,
.site-canvas .expert-cta,
.site-canvas .care-alert,
.site-canvas .join-final,
.site-canvas .universe-club,
.site-canvas .club-how,
.site-canvas .universe-stories,
.site-canvas .universe-guides {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.site-canvas-home .intro-section,
.site-canvas-home .club-ribbon,
.site-canvas-home .match-section,
.site-canvas-home .editorial-section,
.site-canvas-home .join-section,
.site-canvas .page-hero,
.site-canvas .club-page .club-hero,
.site-canvas .universe-hero,
.site-canvas .shop-toolbar,
.site-canvas .shop-layout,
.site-canvas .nutrition-pillars,
.site-canvas .care-categories,
.site-canvas .club-benefits,
.site-canvas .universe-stats,
.site-canvas .bilan-section,
.site-canvas .season-check,
.site-canvas .club-dashboard,
.site-canvas .universe-profiles,
.site-canvas .universe-needs,
.site-canvas .universe-rhythm,
.site-canvas .universe-products,
.site-canvas .guide-section,
.site-canvas .expert-cta,
.site-canvas .care-alert,
.site-canvas .join-final,
.site-canvas .universe-club,
.site-canvas .club-how,
.site-canvas .universe-stories,
.site-canvas .universe-guides {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

.site-canvas:not(.site-canvas-home) .page-main {
  padding-bottom: 0;
  background: var(--nr-cream) !important;
}

@media (max-width: 600px) {
  body { padding-bottom: 74px; }

  .site-canvas,
  .site-canvas:not(.site-canvas-home) {
    width: 100% !important;
    margin: 0 !important;
    border-width: 4px !important;
    border-radius: 36px !important;
  }

  .site-canvas-home { border: 0 !important; border-radius: 0 !important; }

  .reference-artboard {
    aspect-ratio: 378 / 827;
    border-radius: 14cqw 14cqw 0 0;
  }
  .reference-artboard-image {
    left: -297.354497%;
    top: -7.859734%;
    width: 406.349206% !important;
    height: auto !important;
  }

  .reference-card-action { left: 14.9%; top: 38.42%; width: 61.69%; height: 19.91%; }
  .reference-products-action { left: 4.24%; top: 60.48%; width: 93.1%; height: 15.07%; }
  .reference-rewards-action { left: 4.24%; top: 76.3%; width: 93.1%; height: 12.91%; }
  .reference-heart-action { left: 4.24%; top: 89.54%; width: 93.1%; height: 6.67%; }

  .site-canvas-home > .home-site-header { height: 27cqw !important; }
  .site-canvas-home > .home-site-header .logo {
    left: 27.24cqw !important;
    top: 9.05cqw !important;
    width: 44.87cqw !important;
    height: 11.22cqw !important;
  }
  .site-canvas-home > .home-site-header .logo .brand-wordmark {
    width: min(184px, 100%) !important;
  }
  .site-canvas-home > .home-site-header .menu-trigger {
    left: 6.82cqw !important;
    top: 8.04cqw !important;
    width: 14.58cqw !important;
    height: 14.58cqw !important;
  }
  .site-canvas-home > .home-site-header .header-actions {
    left: 79.62cqw !important;
    top: 8.04cqw !important;
    grid-template-columns: 14.58cqw !important;
    width: 14.58cqw !important;
    height: 14.58cqw !important;
  }
  .site-canvas-home > .home-site-header .cart-button {
    width: 14.58cqw !important;
    height: 14.58cqw !important;
  }

  .mobile-tabs {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: none !important;
  }
}

@media (min-width: 601px) and (max-width: 740px) {
  body { padding-bottom: 74px; }

  .site-canvas:not(.site-canvas-home) {
    width: 100% !important;
    margin: 0 !important;
    border-width: 4px !important;
    border-radius: 36px !important;
  }

  .mobile-tabs {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: none !important;
  }
}

/* L'en-tête des favoris doit participer au flux sur toutes les largeurs.
   Sans flex explicite, le bouton inline dépassait de sa ligne et recouvrait la grille. */
.site-canvas-home .club-section-head {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 32px !important;
  margin-bottom: 36px !important;
}

.site-canvas-home .club-section-head > div {
  min-width: 0;
}

.site-canvas-home .club-section-head > a {
  position: relative !important;
  z-index: 2;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  margin: 0 !important;
}

.site-canvas-home .club-product-grid {
  position: relative;
  clear: both;
  margin-top: 0 !important;
}

/* Correctif final mobile, placé après toutes les anciennes règles afin
   qu'aucune d'elles ne puisse réduire de nouveau les espacements. */
@media (max-width: 740px) {
  .site-canvas-home .club-favorites {
    padding: 66px 12px 72px !important;
  }

  .site-canvas-home .club-section-head {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 34px !important;
    row-gap: 34px !important;
    margin-bottom: 40px !important;
  }

  .site-canvas-home .club-section-head > div {
    min-width: 0;
  }

  .site-canvas-home .club-section-head h2 {
    margin: 0 !important;
    padding-bottom: .12em;
    font-size: clamp(44px, 12.5vw, 58px) !important;
    line-height: .9 !important;
  }

  .site-canvas-home .club-section-head > a {
    position: relative !important;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-self: start;
    width: auto;
    margin: 0 !important;
  }

  .site-canvas-home .club-product-grid {
    position: relative;
    clear: both;
    margin-top: 0 !important;
  }
}

/* Accueil mobile plein écran : on conserve exactement le cadrage de la planche
   et on prolonge sa coque prune par-dessus les trois liserés extérieurs. */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body:has(.site-canvas-home) {
    background: var(--nr-plum) !important;
  }

  .site-canvas-home,
  .site-canvas-home > main,
  .site-canvas-home .reference-artboard {
    width: 100vw !important;
    max-width: none !important;
    margin-inline: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .site-canvas-home .reference-artboard::before {
    content: '';
    position: absolute;
    z-index: 5;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(var(--nr-plum), var(--nr-plum)) top / 100% 4cqw no-repeat,
      linear-gradient(var(--nr-plum), var(--nr-plum)) left / 4.8cqw 100% no-repeat,
      linear-gradient(var(--nr-plum), var(--nr-plum)) right / 4.8cqw 100% no-repeat;
  }
}

/* Univers en flat design : contours francs et micro-interactions colorées,
   sans ombre portée ni effet de plaque décalée. */
.site-canvas-home .world-card {
  isolation: isolate;
  overflow: hidden;
  border: 6px solid var(--nr-cream) !important;
  border-radius: 34px !important;
  outline: 2px solid rgba(43, 22, 53, .34);
  outline-offset: -9px;
  background: var(--nr-cream) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .22s ease, outline-color .22s ease !important;
}

.site-canvas-home .world-card:hover {
  border-color: var(--nr-yellow) !important;
  outline-color: var(--nr-plum);
  box-shadow: none !important;
  transform: none !important;
}

.site-canvas-home .world-image {
  overflow: hidden;
  border: 0 !important;
  border-bottom: 4px solid var(--nr-cream) !important;
  border-radius: 27px 27px 0 0 !important;
}

.site-canvas-home .world-image img {
  transition: transform .42s cubic-bezier(.2, .75, .25, 1) !important;
}

.site-canvas-home .world-card:hover .world-image img {
  transform: scale(1.035) !important;
}

.site-canvas-home .world-copy {
  position: relative;
  padding: 30px !important;
  background: #fff8e8 !important;
}

.site-canvas-home .world-hunt .world-copy {
  background: #edf5df !important;
}

.site-canvas-home .world-breed .world-copy {
  background: #fff0cd !important;
}

.site-canvas-home .world-copy > span {
  width: max-content;
  padding: 7px 11px;
  border: 2px solid rgba(43, 22, 53, .18);
  border-radius: 999px;
  background: var(--nr-cream);
  color: var(--nr-coral);
}

.site-canvas-home .world-copy b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  color: var(--nr-plum);
}

.site-canvas-home .world-copy b i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--nr-plum);
  border-radius: 50%;
  background: var(--nr-yellow);
  color: var(--nr-plum);
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.site-canvas-home .world-card:hover .world-copy b i {
  background: var(--nr-coral);
  color: var(--nr-cream);
  transform: rotate(-8deg);
}

.site-canvas-home .world-card::after {
  right: 22px;
  top: 22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--nr-cream);
  border-radius: 50%;
  background: var(--nr-yellow);
  color: var(--nr-plum);
  font-size: 27px;
  line-height: 1;
  text-shadow: none;
  transform: none;
}

@media (max-width: 740px) {
  .site-canvas-home .world-card {
    border-width: 4px !important;
    border-radius: 28px !important;
    outline-offset: -7px;
  }

  .site-canvas-home .world-image {
    border-bottom-width: 3px !important;
    border-radius: 23px 23px 0 0 !important;
  }

  .site-canvas-home .world-copy {
    padding: 24px !important;
  }

  .site-canvas-home .world-card::after {
    right: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    font-size: 23px;
  }

  .site-canvas-home .world-copy b i {
    width: 38px;
    height: 38px;
  }
}

/* ========================================================================== */
/* Système de blocs Nourissimo : plus rond, plus vivant, moins répétitif.     */
/* Les ombres noires décalées cèdent la place à des profondeurs colorées      */
/* légères, des photos recadrées et des petits signes graphiques de la marque. */
/* ========================================================================== */

:root {
  --nr-card-line: rgba(43, 22, 53, .24);
  --nr-soft-depth: 0 7px 0 rgba(43, 22, 53, .09);
  --nr-coral-depth: 0 7px 0 rgba(255, 79, 67, .20);
  --nr-yellow-depth: 0 7px 0 rgba(255, 193, 43, .30);
}

/* Grands plateaux : contour généreux, profondeur discrète et motifs pop. */
.site-canvas-home .intro-section,
.site-canvas-home .match-section,
.site-canvas-home .editorial-section,
.site-canvas-home .join-section,
.site-canvas .page-hero,
.site-canvas .club-page .club-hero,
.site-canvas .universe-hero,
.site-canvas .expert-cta,
.site-canvas .care-alert,
.site-canvas .join-final,
.site-canvas .universe-club {
  border-radius: 46px !important;
  box-shadow: none !important;
}

.site-canvas-home .intro-section,
.site-canvas-home .match-section,
.site-canvas-home .join-section,
.site-canvas .club-how,
.site-canvas .universe-guides {
  background-image:
    radial-gradient(circle at 5% 12%, rgba(255, 242, 218, .38) 0 5px, transparent 6px),
    radial-gradient(circle at 93% 18%, rgba(43, 22, 53, .10) 0 4px, transparent 5px),
    radial-gradient(circle at 87% 88%, rgba(255, 193, 43, .24) 0 6px, transparent 7px) !important;
  background-size: 116px 116px, 148px 148px, 180px 180px !important;
}

.site-canvas-home .club-ribbon,
.site-canvas .shop-toolbar {
  box-shadow: none !important;
  outline: 2px solid rgba(255, 242, 218, .20);
  outline-offset: -8px;
}

/* Une famille de cartes cohérente, mais avec des surfaces et profondeurs variées. */
.site-canvas .product-card,
.site-canvas .guide-card,
.site-canvas .profile-grid article,
.site-canvas .need-grid article,
.site-canvas .rhythm-grid article,
.site-canvas .universe-guide-grid article,
.site-canvas .nutrition-pillars article,
.site-canvas .care-categories a,
.site-canvas .club-benefits article,
.site-canvas .universe-stats article,
.site-canvas .timeline article {
  border: 4px solid var(--nr-cream) !important;
  outline: 2px solid var(--nr-card-line);
  outline-offset: -7px;
  border-radius: 32px !important;
  box-shadow: var(--nr-soft-depth) !important;
  transform: none !important;
  transition: border-color .22s ease, outline-color .22s ease, transform .22s ease !important;
}

.site-canvas .product-card:hover,
.site-canvas .guide-card:hover,
.site-canvas .profile-grid article:hover,
.site-canvas .universe-guide-grid article:hover {
  border-color: var(--nr-yellow) !important;
  outline-color: var(--nr-plum);
  transform: translateY(-3px) !important;
}

.site-canvas .product-card:nth-child(3n + 1),
.site-canvas .profile-grid article:nth-child(3n + 1),
.site-canvas .guide-card:nth-child(3n + 1) { box-shadow: var(--nr-coral-depth) !important; }

.site-canvas .product-card:nth-child(3n + 2),
.site-canvas .profile-grid article:nth-child(3n + 2),
.site-canvas .guide-card:nth-child(3n + 2) { box-shadow: var(--nr-yellow-depth) !important; }

/* Les packshots restent graphiques, mais sans l'effet de plaque noire. */
.site-canvas .packshot {
  border-radius: 19px 19px 31px 31px !important;
  box-shadow: 0 7px 0 rgba(255, 242, 218, .64) !important;
}

.site-canvas .add-button,
.site-canvas .club-section-head > a,
.site-canvas .button {
  box-shadow: 0 5px 0 rgba(43, 22, 53, .12) !important;
}

/* Accueil : photo accueillante dans le questionnaire et vraies cartes éditoriales. */
.site-canvas-home .match-app {
  overflow: hidden;
  padding: 0 28px 28px !important;
  border-radius: 38px !important;
  box-shadow: var(--nr-yellow-depth) !important;
}

.match-app-visual {
  position: relative;
  height: 172px;
  margin: 0 -28px 24px;
  overflow: hidden;
  border-bottom: 4px solid var(--nr-cream);
}

.match-app-visual img { object-fit: cover; object-position: center 44%; }
.match-app-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(43, 22, 53, .55));
}

.match-app-visual span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 14px;
  padding: 8px 13px;
  border: 2px solid var(--nr-cream);
  border-radius: 999px;
  background: var(--nr-coral);
  color: white;
  font-family: var(--font-nourissimo), sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.site-canvas-home .editorial-card {
  display: block;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 36px !important;
  box-shadow: none !important;
  outline: 2px solid rgba(255, 242, 218, .22);
  outline-offset: -8px;
}

.editorial-photo {
  position: relative;
  height: 218px;
  overflow: hidden;
  border-bottom: 5px solid var(--nr-cream);
}

.editorial-photo img { object-fit: cover; transition: transform .45s ease; }
.editorial-card:hover .editorial-photo img { transform: scale(1.035); }
.editorial-photo > span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid var(--nr-cream);
  border-radius: 50%;
  background: var(--nr-yellow);
  color: var(--nr-plum);
  font-size: 30px;
}

.editorial-body { padding: 30px 32px 32px; }
.editorial-body > small {
  display: inline-flex;
  padding: 7px 11px;
  border: 2px solid rgba(43, 22, 53, .18);
  border-radius: 999px;
  background: var(--nr-cream);
  color: var(--nr-plum);
}

/* Boutique : la promesse Club devient un vrai bloc produit et animal. */
.site-canvas .shop-hero-card {
  width: min(340px, 100%) !important;
  height: auto !important;
  min-height: 430px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 20px 25px !important;
  overflow: hidden;
  border-radius: 42px !important;
  box-shadow: none !important;
  outline: 2px solid rgba(43, 22, 53, .24);
  outline-offset: -9px;
}

.shop-hero-photo {
  position: relative;
  width: calc(100% + 16px);
  height: 190px;
  margin: -4px -8px 20px;
  overflow: hidden;
  border: 4px solid var(--nr-cream);
  border-radius: 32px;
}

.shop-hero-photo img { object-fit: cover; object-position: center 45%; }
.site-canvas .shop-hero-card > span { margin-top: 0 !important; }
.site-canvas .shop-hero-card > b { line-height: .9 !important; }

.site-canvas .advisor-box {
  overflow: hidden;
  border: 3px solid var(--nr-cream);
  border-radius: 25px !important;
  box-shadow: none !important;
}

.site-canvas .advisor-box::before {
  content: '';
  display: block;
  height: 96px;
  margin: -20px -20px 18px;
  background: url('/nutrition-hero.png') center 43% / cover no-repeat;
  border-bottom: 3px solid var(--nr-cream);
}

/* Nutrition, conseils et Club : des amorces photographiques dans les cartes. */
.site-canvas .nutrition-pillars article {
  min-height: 170px;
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: 16px !important;
}

.site-canvas .nutrition-pillars article::before {
  content: '';
  grid-row: 1 / 4;
  width: 88px;
  height: 100%;
  min-height: 132px;
  border: 3px solid var(--nr-cream);
  border-radius: 24px;
  background: url('/nutrition-hero.png') 60% center / cover no-repeat;
}

.site-canvas .nutrition-pillars article:nth-child(2)::before { background-position: 55% center; }
.site-canvas .nutrition-pillars article:nth-child(3)::before { background-position: 88% center; }
.site-canvas .nutrition-pillars article > span,
.site-canvas .nutrition-pillars article > b,
.site-canvas .nutrition-pillars article > p { grid-column: 2; }

.site-canvas .care-categories a {
  min-height: 176px;
  display: grid !important;
  grid-template-columns: 82px 1fr;
  grid-template-rows: auto auto auto;
  gap: 5px 14px;
  align-content: center;
  padding: 16px !important;
}

.site-canvas .care-categories a::before {
  content: '';
  grid-row: 1 / 4;
  width: 82px;
  height: 132px;
  border: 3px solid var(--nr-cream);
  border-radius: 24px;
  background: url('/care-hero.png') 24% center / cover no-repeat;
}

.site-canvas .care-categories a:nth-child(2)::before { background-position: 46% center; }
.site-canvas .care-categories a:nth-child(3)::before { background-position: 68% center; }
.site-canvas .care-categories a:nth-child(4)::before { background-position: 88% center; }
.site-canvas .care-categories a > span,
.site-canvas .care-categories a > b,
.site-canvas .care-categories a > small { grid-column: 2; }

.site-canvas .club-benefits article {
  position: relative !important;
  min-height: 205px;
  padding: 25px !important;
  overflow: hidden;
}

.site-canvas .club-benefits article > i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid var(--nr-cream);
  border-radius: 50%;
  background: var(--nr-coral);
  color: white;
  font-family: var(--font-nourissimo), sans-serif;
  font-size: 27px;
  font-style: normal;
}

.site-canvas .club-benefits article:nth-child(even) > i {
  background: var(--nr-plum);
  color: var(--nr-yellow);
}

/* Guides : photo, couleur et contenu réunis dans une seule carte éditoriale. */
.site-canvas .guide-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

.guide-photo {
  position: relative;
  height: 185px;
  flex: 0 0 auto;
  overflow: hidden;
  border-bottom: 4px solid var(--nr-cream);
}

.guide-photo img { object-fit: cover; transition: transform .4s ease; }
.guide-card:hover .guide-photo img { transform: scale(1.04); }
.guide-card-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 25px 25px;
}

.guide-card-body > span {
  width: max-content;
  padding: 7px 11px;
  border: 2px solid rgba(43, 22, 53, .18);
  border-radius: 999px;
  background: var(--nr-cream);
}

.guide-card-body h3 { margin-block: 18px auto; }
.guide-card-body > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guide-card-body > i {
  position: absolute;
  right: 21px;
  top: 21px;
  color: rgba(43, 22, 53, .18);
  font-family: var(--font-nourissimo), sans-serif;
  font-size: 31px;
  font-style: normal;
  font-weight: 700;
}

/* Les appels à l'action deviennent des compositions photo + message. */
.site-canvas .expert-cta,
.site-canvas .care-alert {
  display: grid !important;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 20px 30px 20px 20px !important;
  overflow: hidden;
  text-align: left !important;
}

.cta-photo {
  position: relative;
  height: 226px;
  overflow: hidden;
  border: 4px solid var(--nr-cream);
  border-radius: 32px;
}

.cta-photo img { object-fit: cover; }
.cta-copy { min-width: 0; }
.cta-copy > span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--nr-yellow);
  color: var(--nr-plum) !important;
  font-weight: 800;
}

.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-action small { max-width: 240px; color: rgba(255, 242, 218, .65); }

/* Espace Club : avatar réel, pictogrammes et dernière invitation photographique. */
.site-canvas .calculator-app,
.site-canvas .dashboard-mock,
.site-canvas .season-visual,
.site-canvas .member-card,
.site-canvas .club-ledger {
  box-shadow: var(--nr-soft-depth) !important;
}

.pet-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 3px solid var(--nr-cream);
  border-radius: 24px;
}

.pet-avatar img { object-fit: cover; object-position: 62% center; }
.site-canvas .timeline article { position: relative; overflow: hidden; padding: 22px !important; }
.site-canvas .timeline article > i {
  position: absolute;
  right: 17px;
  top: 17px;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 3px solid var(--nr-cream);
  border-radius: 50%;
  background: var(--nr-coral);
  font-size: 22px;
  font-style: normal;
}

.site-canvas .timeline article:nth-child(even) > i { background: var(--nr-mint); }
.site-canvas .join-final {
  display: grid !important;
  grid-template-columns: minmax(310px, 42%) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 18px !important;
  overflow: hidden;
  text-align: left !important;
}

.site-canvas .join-final::before { content: none !important; }
.join-final-photo {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 4px solid var(--nr-cream);
  border-radius: 34px;
}

.join-final-photo img { object-fit: cover; object-position: center 45%; }
.site-canvas .join-final > div:last-child { padding: 34px 34px 34px 0; }

/* Univers : les profils, besoins et guides utilisent les mêmes vraies scènes. */
.site-canvas .profile-grid article,
.site-canvas .universe-guide-grid article {
  overflow: hidden;
  padding: 0 !important;
}

.profile-photo,
.universe-guide-photo {
  position: relative;
  height: 188px;
  overflow: hidden;
  border-bottom: 4px solid var(--nr-cream);
}

.profile-photo img,
.universe-guide-photo img { object-fit: cover; transition: transform .42s ease; }
.profile-grid article:hover .profile-photo img,
.universe-guide-grid article:hover .universe-guide-photo img { transform: scale(1.04); }
.profile-body,
.universe-guide-body { position: relative; padding: 25px; }
.profile-body .profile-icon {
  position: absolute;
  right: 22px;
  top: -31px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid var(--nr-cream);
  border-radius: 50%;
}

.profile-body > small { display: block; max-width: calc(100% - 62px); }
.site-canvas .need-grid article {
  min-height: 226px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 5px 18px;
  align-content: center;
  padding: 22px !important;
}

.need-photo {
  position: relative;
  grid-row: 1 / 4;
  width: 94px;
  height: 152px;
  overflow: hidden;
  border: 4px solid var(--nr-cream);
  border-radius: 28px;
}

.need-photo img { object-fit: cover; }
.site-canvas .need-grid article > span,
.site-canvas .need-grid article > h3,
.site-canvas .need-grid article > p { grid-column: 2; }

.site-canvas .rhythm-grid article { position: relative; overflow: hidden; }
.site-canvas .rhythm-grid article::after {
  content: '♡ · ✦';
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: rgba(255, 79, 67, .34);
  font-size: 18px;
  letter-spacing: 5px;
}

.universe-guide-photo { height: 145px; }
.universe-guide-body > span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--nr-yellow);
}

.universe-guide-body > i { top: 22px !important; right: 22px !important; }

/* Les trois univers de l'accueil restent volontairement sans ombre. */
.site-canvas-home .world-card,
.site-canvas-home .world-card:hover { box-shadow: none !important; }

@media (max-width: 980px) {
  .site-canvas .expert-cta,
  .site-canvas .care-alert {
    grid-template-columns: minmax(220px, 300px) 1fr;
  }

  .site-canvas .expert-cta > .button,
  .site-canvas .care-alert > .cta-action { grid-column: 2; }
  .site-canvas .nutrition-pillars article { grid-template-columns: 74px 1fr; }
  .site-canvas .nutrition-pillars article::before { width: 74px; }
  .site-canvas .care-categories a { grid-template-columns: 66px 1fr; }
  .site-canvas .care-categories a::before { width: 66px; }
}

@media (max-width: 740px) {
  .site-canvas-home .intro-section,
  .site-canvas-home .match-section,
  .site-canvas-home .editorial-section,
  .site-canvas-home .join-section,
  .site-canvas .expert-cta,
  .site-canvas .care-alert,
  .site-canvas .join-final,
  .site-canvas .universe-club {
    border-radius: 31px !important;
  }

  .site-canvas .product-card,
  .site-canvas .guide-card,
  .site-canvas .profile-grid article,
  .site-canvas .need-grid article,
  .site-canvas .rhythm-grid article,
  .site-canvas .universe-guide-grid article,
  .site-canvas .nutrition-pillars article,
  .site-canvas .care-categories a,
  .site-canvas .club-benefits article,
  .site-canvas .universe-stats article,
  .site-canvas .timeline article {
    border-width: 3px !important;
    border-radius: 25px !important;
    outline-offset: -6px;
    box-shadow: 0 5px 0 rgba(43, 22, 53, .08) !important;
  }

  .match-app-visual { height: 150px; }
  .site-canvas-home .match-app { padding-inline: 20px !important; }
  .match-app-visual { margin-inline: -20px; }
  .editorial-photo { height: 180px; }
  .editorial-body { padding: 24px; }
  .site-canvas .shop-hero-card { width: min(330px, 88%) !important; min-height: 390px; }
  .shop-hero-photo { height: 155px; }

  .site-canvas .nutrition-pillars article {
    min-height: 154px;
    grid-template-columns: 78px 1fr;
    padding: 13px !important;
  }

  .site-canvas .nutrition-pillars article::before { width: 78px; min-height: 124px; }
  .site-canvas .care-categories a {
    min-height: 190px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px !important;
  }

  .site-canvas .care-categories a::before {
    width: 100%;
    height: 82px;
    flex: 0 0 auto;
    border-radius: 18px;
  }

  .site-canvas .care-categories a > span { position: absolute; right: 18px; top: 71px; }
  .site-canvas .club-benefits article { min-height: 184px; padding: 19px !important; }
  .site-canvas .club-benefits article > i { width: 43px; height: 43px; font-size: 21px; }
  .guide-photo { height: 178px; }
  .guide-card-body { padding: 21px; }

  .site-canvas .expert-cta,
  .site-canvas .care-alert {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 14px 14px 28px !important;
  }

  .cta-photo { height: 205px; border-radius: 24px; }
  .cta-copy,
  .site-canvas .expert-cta > .button,
  .site-canvas .care-alert > .cta-action { grid-column: 1; padding-inline: 8px; }
  .pet-avatar { width: 60px; height: 60px; border-radius: 20px; }

  .site-canvas .join-final {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 13px 32px !important;
  }

  .join-final-photo { min-height: 225px; border-radius: 25px; }
  .site-canvas .join-final > div:last-child { padding: 24px 10px 0; }
  .profile-photo { height: 205px; }
  .profile-body { padding: 22px; }
  .site-canvas .need-grid article { grid-template-columns: 82px 1fr; padding: 17px !important; }
  .need-photo { width: 82px; height: 138px; border-radius: 23px; }
  .universe-guide-photo { height: 175px; }
  .universe-guide-body { padding: 22px; }
}

/* ================================================================
   LE MAG NOURISSIMO — HUB ÉDITORIAL ET ARTICLES SEO
   ================================================================ */
.blog-page,
.article-page { color: var(--nr-plum); }

.blog-hero {
  position: relative;
  width: calc(100% - 32px);
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  margin: 0 auto 32px;
  overflow: hidden;
  border: 5px solid var(--nr-cream);
  border-radius: 0 0 44px 44px;
  background: var(--nr-yellow);
}

.blog-hero::before {
  content: '✦  ♡  ·  ✦';
  position: absolute;
  z-index: 2;
  left: 6%;
  bottom: 5%;
  color: rgba(43, 22, 53, .24);
  font-size: 30px;
  letter-spacing: 12px;
}

.blog-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px clamp(34px, 6vw, 88px) 92px;
}

.blog-hero-copy h1 {
  max-width: 720px;
  margin: 15px 0 24px;
  font-size: clamp(58px, 6.6vw, 96px) !important;
  line-height: .88 !important;
}

.blog-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(43, 22, 53, .76);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.blog-hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 31px; }
.blog-hero-pills span {
  padding: 10px 14px;
  border: 2px solid rgba(43, 22, 53, .18);
  border-radius: 999px;
  background: rgba(255, 242, 218, .72);
  font-weight: 800;
}

.blog-hero-visual { position: relative; min-height: 590px; margin: 18px 18px 18px 0; overflow: hidden; border: 5px solid var(--nr-cream); border-radius: 38px; }
.blog-hero-visual img { object-fit: cover; object-position: center; }
.blog-sticker {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 19px 13px 13px;
  border: 4px solid var(--nr-cream);
  border-radius: 25px;
  background: var(--nr-plum);
  color: var(--nr-cream);
  transform: rotate(-2deg);
}
.blog-sticker span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--nr-coral); color: white; font-size: 29px; }
.blog-sticker b { font-size: 19px; line-height: 1.05; }

.blog-featured { padding-block: 84px 98px; }
.blog-featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.blog-feature-card {
  min-width: 0;
  overflow: hidden;
  border: 4px solid var(--nr-cream);
  border-radius: 34px;
  outline: 2px solid rgba(43, 22, 53, .18);
  outline-offset: -7px;
  background: #fffaf0;
  color: var(--nr-plum);
  box-shadow: 0 7px 0 rgba(43, 22, 53, .09);
  transition: transform .25s ease;
}
.blog-feature-card:hover { transform: translateY(-4px) rotate(-.25deg); }
.blog-feature-card.blog-tone-2 { background: var(--nr-mint); }
.blog-feature-card.blog-tone-3 { background: var(--nr-salmon); }
.blog-card-photo { position: relative; height: 235px; overflow: hidden; border-bottom: 4px solid var(--nr-cream); }
.blog-card-photo img { object-fit: cover; transition: transform .4s ease; }
.blog-feature-card:hover img { transform: scale(1.035); }
.blog-card-copy { padding: 26px 27px 30px; }
.blog-card-copy > div,
.blog-list-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blog-card-copy > div span,
.blog-list-copy > div span,
.article-category {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--nr-plum);
  color: var(--nr-cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-card-copy small,
.blog-list-copy small { font-weight: 800; opacity: .62; }
.blog-card-copy h2 { min-height: 98px; margin: 19px 0 13px; font-size: clamp(28px, 2.4vw, 38px) !important; line-height: .98; }
.blog-card-copy p { min-height: 78px; margin: 0 0 23px; color: rgba(43, 22, 53, .7); line-height: 1.5; }
.blog-card-copy b { display: flex; justify-content: space-between; align-items: center; }
.blog-card-copy i { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--nr-yellow); font-style: normal; }

.blog-clusters { padding: 92px 0; background: var(--nr-plum); color: var(--nr-cream); }
.blog-clusters .section-title h2 { color: var(--nr-cream); }
.blog-clusters .section-title h2 em { color: var(--nr-yellow) !important; }
.blog-clusters .overline { color: var(--nr-coral) !important; }
.cluster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.cluster-grid article {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 3px solid var(--nr-cream);
  border-radius: 27px;
  background: var(--nr-coral);
}
.cluster-grid article:nth-child(3n + 2) { background: var(--nr-yellow); color: var(--nr-plum); }
.cluster-grid article:nth-child(3n) { background: var(--nr-mint); color: var(--nr-plum); }
.cluster-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-family: var(--font-nourissimo), sans-serif; font-weight: 800; }
.cluster-grid h3 { margin: 19px 0 8px; font-size: 23px !important; line-height: 1; }
.cluster-grid p { min-height: 61px; margin: 0 0 16px; color: inherit; opacity: .82; line-height: 1.35; }
.cluster-grid small { font-weight: 800; opacity: .7; }

.blog-library { padding-block: 96px 105px; }
.blog-library-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.blog-list-card {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  border: 3px solid rgba(43, 22, 53, .18);
  border-radius: 30px;
  background: #fffaf0;
  color: var(--nr-plum);
  box-shadow: 0 6px 0 rgba(43, 22, 53, .08);
}
.blog-list-card:nth-child(4n + 2), .blog-list-card:nth-child(4n + 3) { background: var(--nr-mint); }
.blog-list-photo { position: relative; min-height: 270px; overflow: hidden; border-right: 4px solid var(--nr-cream); }
.blog-list-photo img { object-fit: cover; transition: transform .4s ease; }
.blog-list-card:hover img { transform: scale(1.035); }
.blog-list-copy { min-width: 0; display: flex; flex-direction: column; padding: 23px 24px; }
.blog-list-copy h2 { margin: 17px 0 10px; font-size: clamp(23px, 2vw, 31px) !important; line-height: 1; }
.blog-list-copy p { margin: 0 0 19px; color: rgba(43, 22, 53, .7); line-height: 1.42; }
.blog-list-copy b { margin-top: auto; }
.blog-list-card > i { position: absolute; right: 16px; bottom: 10px; color: rgba(43, 22, 53, .1); font-family: var(--font-nourissimo), sans-serif; font-size: 42px; font-style: normal; font-weight: 800; }

.blog-trust {
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto 30px;
  padding: 58px clamp(30px, 6vw, 88px);
  border: 5px solid var(--nr-cream);
  border-radius: 42px;
  background: var(--nr-coral);
  color: var(--nr-cream);
}
.blog-trust > div > span { color: var(--nr-yellow); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.blog-trust h2 { margin: 13px 0; color: var(--nr-cream); font-size: clamp(42px, 5vw, 72px) !important; line-height: .92; }
.blog-trust p { max-width: 700px; margin: 0; color: rgba(255, 242, 218, .83); font-size: 18px; line-height: 1.5; }
.blog-trust .button { flex: 0 0 auto; }

/* Accueil : amorce du Mag. */
.home-mag { margin: 23px auto !important; padding: 82px 56px !important; border: 5px solid var(--nr-cream); border-radius: 42px; background: var(--nr-yellow); }
.home-mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.home-mag-card { overflow: hidden; border: 4px solid var(--nr-cream); border-radius: 30px; background: #fffaf0; color: var(--nr-plum); box-shadow: 0 6px 0 rgba(43, 22, 53, .09); }
.home-mag-2 { background: var(--nr-mint); }
.home-mag-3 { background: var(--nr-salmon); }
.home-mag-photo { position: relative; height: 205px; overflow: hidden; border-bottom: 4px solid var(--nr-cream); }
.home-mag-photo img { object-fit: cover; }
.home-mag-card > div:last-child { padding: 24px; }
.home-mag-card span { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-mag-card h3 { min-height: 69px; margin: 14px 0 10px; font-size: 29px !important; line-height: 1; }
.home-mag-card p { min-height: 72px; margin: 0 0 20px; color: rgba(43, 22, 53, .7); line-height: 1.45; }
.home-mag-card b { font-weight: 900; }
.home-mag-all { width: max-content; display: flex; align-items: center; gap: 18px; margin: 31px auto 0; padding: 13px 18px; border-radius: 999px; background: var(--nr-plum); color: var(--nr-cream); font-weight: 900; }
.home-mag-all span { color: var(--nr-yellow); }

/* Article : lecture longue, aérée et structurée. */
.article-breadcrumb { width: min(1240px, calc(100% - 64px)); display: flex; align-items: center; gap: 10px; margin: 31px auto 20px; color: rgba(43, 22, 53, .62); font-size: 14px; }
.article-breadcrumb a { color: var(--nr-plum); font-weight: 800; }
.article-hero { width: calc(100% - 32px); min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); margin: 0 auto 82px; overflow: hidden; border: 5px solid var(--nr-cream); border-radius: 42px; background: var(--nr-plum); color: var(--nr-cream); }
.article-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 65px clamp(32px, 6vw, 82px); }
.article-hero-copy .article-category { width: max-content; background: var(--nr-coral); }
.article-hero h1 { max-width: 820px; margin: 22px 0; color: var(--nr-cream); font-size: clamp(51px, 5.6vw, 82px) !important; line-height: .93 !important; }
.article-hero-copy > p { max-width: 760px; margin: 0; color: rgba(255, 242, 218, .78); font-size: 19px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 29px; }
.article-meta span { padding: 8px 11px; border: 1px solid rgba(255, 242, 218, .25); border-radius: 999px; font-size: 13px; }
.article-hero-photo { position: relative; min-height: 570px; margin: 18px 18px 18px 0; overflow: hidden; border: 5px solid var(--nr-cream); border-radius: 35px; }
.article-hero-photo img { object-fit: cover; }
.article-hero-photo > span { position: absolute; left: 22px; bottom: 22px; padding: 13px 17px; border: 3px solid var(--nr-cream); border-radius: 21px; background: var(--nr-yellow); color: var(--nr-plum); font-weight: 700; transform: rotate(-2deg); }
.article-hero-photo > span b { font-size: 21px; }

.article-layout { width: min(1120px, calc(100% - 64px)); display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: 70px; margin: 0 auto; }
.article-summary { position: sticky; top: 28px; height: max-content; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 3px solid rgba(43, 22, 53, .15); border-radius: 25px; background: var(--nr-mint); }
.article-summary > span { margin-bottom: 8px; color: var(--nr-coral); font-weight: 900; text-transform: uppercase; }
.article-summary a { padding: 9px 11px; border-radius: 13px; color: var(--nr-plum); font-size: 14px; font-weight: 750; line-height: 1.3; }
.article-summary a:hover { background: var(--nr-cream); }
.article-body { min-width: 0; }
.article-intro { margin: 0 0 34px; font-family: var(--font-nourissimo), sans-serif; font-size: clamp(23px, 2.3vw, 31px); font-weight: 600; line-height: 1.35; }
.article-takeaways { margin: 0 0 54px; padding: 28px 31px; border: 4px solid var(--nr-cream); border-radius: 28px; background: var(--nr-yellow); outline: 2px solid rgba(43, 22, 53, .18); outline-offset: -7px; }
.article-takeaways > span { display: inline-flex; margin-bottom: 15px; padding: 7px 11px; border-radius: 999px; background: var(--nr-plum); color: var(--nr-cream); font-weight: 900; }
.article-takeaways ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article-takeaways li { position: relative; padding-left: 29px; line-height: 1.45; }
.article-takeaways li::before { content: '♡'; position: absolute; left: 0; color: var(--nr-coral); font-weight: 900; }
.article-section { position: relative; padding: 7px 0 53px; }
.article-section > span { position: absolute; left: -60px; top: 3px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--nr-coral); color: white; font-family: var(--font-nourissimo), sans-serif; font-weight: 800; }
.article-section h2 { margin: 0 0 22px; font-size: clamp(34px, 3.6vw, 49px) !important; line-height: 1; }
.article-section p { margin: 0 0 19px; color: rgba(43, 22, 53, .79); font-size: 18px; line-height: 1.75; }
.article-section ul { padding-left: 24px; color: rgba(43, 22, 53, .79); font-size: 18px; line-height: 1.65; }
.article-faq { margin-top: 16px; padding: 37px; border-radius: 32px; background: var(--nr-salmon); }
.article-faq h2 { margin: 12px 0 26px; font-size: clamp(36px, 4vw, 54px) !important; line-height: 1; }
.article-faq details { border-top: 2px solid rgba(43, 22, 53, .18); }
.article-faq details:last-child { border-bottom: 2px solid rgba(43, 22, 53, .18); }
.article-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; font-family: var(--font-nourissimo), sans-serif; font-size: 20px; font-weight: 700; list-style: none; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary i { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--nr-yellow); font-style: normal; }
.article-faq details[open] summary i { transform: rotate(45deg); }
.article-faq details p { margin: -4px 45px 20px 0; color: rgba(43, 22, 53, .76); line-height: 1.6; }
.article-sources { margin: 25px 0 0; padding: 27px 29px; border: 3px solid rgba(43, 22, 53, .14); border-radius: 25px; background: #fffaf0; }
.article-sources > span { font-family: var(--font-nourissimo), sans-serif; font-size: 22px; font-weight: 700; }
.article-sources p { color: rgba(43, 22, 53, .66); line-height: 1.5; }
.article-sources a { display: block; width: max-content; max-width: 100%; margin-top: 8px; color: var(--nr-plum); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.article-next { padding-block: 90px 105px; }
.article-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.article-actions a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 3px solid rgba(43, 22, 53, .16); border-radius: 22px; background: var(--nr-yellow); color: var(--nr-plum); font-family: var(--font-nourissimo), sans-serif; font-size: 19px; font-weight: 700; }
.article-actions a:nth-child(2) { background: var(--nr-mint); }
.article-actions span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--nr-plum); color: var(--nr-yellow); }
.related-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 34px; }
.related-articles a { display: flex; align-items: center; gap: 14px; padding: 11px; border: 3px solid rgba(43, 22, 53, .14); border-radius: 22px; background: #fffaf0; color: var(--nr-plum); }
.related-articles img { width: 112px; height: 88px; flex: 0 0 auto; object-fit: cover; border-radius: 15px; }
.related-articles div { min-width: 0; }
.related-articles span { display: block; margin-bottom: 6px; color: var(--nr-coral); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.related-articles b { display: block; font-family: var(--font-nourissimo), sans-serif; line-height: 1.12; }

@media (max-width: 1080px) {
  .blog-hero { grid-template-columns: 1fr 43%; }
  .blog-hero-copy { padding-inline: 42px; }
  .cluster-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-list-card { grid-template-columns: 38% 1fr; }
  .article-layout { grid-template-columns: 200px minmax(0, 700px); gap: 50px; }
  .related-articles { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .blog-hero,
  .article-hero { width: 100%; grid-template-columns: 1fr; margin: 0 0 28px; border: 0; border-radius: 0; }
  .blog-hero-copy { padding: 52px 20px 42px; }
  .blog-hero-copy h1 { font-size: 53px !important; }
  .blog-hero-copy p { font-size: 17px; }
  .blog-hero-pills span { font-size: 12px; }
  .blog-hero::before { content: none; }
  .blog-hero-visual { min-height: 355px; margin: 0 12px 12px; border-radius: 28px; }
  .blog-sticker { right: 13px; bottom: 13px; }
  .blog-featured { padding-block: 65px 72px; }
  .blog-featured-grid,
  .home-mag-grid { grid-template-columns: 1fr; }
  .blog-card-photo { height: 205px; }
  .blog-card-copy h2,
  .blog-card-copy p { min-height: 0; }
  .blog-clusters { padding-block: 70px; }
  .cluster-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .cluster-grid article { min-height: 205px; padding: 16px; border-width: 3px; border-radius: 22px; }
  .cluster-grid h3 { font-size: 20px !important; }
  .cluster-grid p { min-height: 68px; font-size: 13px; }
  .blog-library { padding-block: 72px; }
  .blog-library-grid { grid-template-columns: 1fr; gap: 11px; }
  .blog-list-card { min-height: 225px; grid-template-columns: 38% 1fr; border-radius: 24px; }
  .blog-list-photo { min-height: 225px; }
  .blog-list-copy { padding: 17px; }
  .blog-list-copy h2 { font-size: 21px !important; }
  .blog-list-copy p { display: none; }
  .blog-list-copy b { font-size: 13px; }
  .blog-list-card > i { font-size: 31px; }
  .blog-trust { width: calc(100% - 24px); flex-direction: column; align-items: flex-start; padding: 37px 24px; border-radius: 30px; }
  .home-mag { padding: 65px 18px !important; border-radius: 31px; }
  .home-mag-card h3,
  .home-mag-card p { min-height: 0; }
  .article-breadcrumb { width: calc(100% - 30px); margin-block: 20px 14px; overflow: hidden; white-space: nowrap; }
  .article-breadcrumb b { overflow: hidden; text-overflow: ellipsis; }
  .article-hero { margin-bottom: 54px; }
  .article-hero-copy { padding: 52px 20px 45px; }
  .article-hero h1 { font-size: 48px !important; }
  .article-hero-copy > p { font-size: 17px; }
  .article-meta { flex-direction: column; align-items: flex-start; }
  .article-hero-photo { min-height: 340px; margin: 0 12px 12px; border-radius: 27px; }
  .article-layout { width: calc(100% - 32px); display: block; }
  .article-summary { position: relative; top: auto; margin-bottom: 34px; }
  .article-intro { font-size: 23px; }
  .article-takeaways { padding: 24px 22px; border-radius: 24px; }
  .article-section { padding-bottom: 43px; }
  .article-section > span { position: relative; left: auto; top: auto; margin-bottom: 15px; }
  .article-section h2 { font-size: 34px !important; }
  .article-section p { font-size: 17px; line-height: 1.68; }
  .article-faq { padding: 26px 21px; border-radius: 25px; }
  .article-faq h2 { font-size: 36px !important; }
  .article-faq summary { font-size: 18px; }
  .article-sources { padding: 23px 20px; }
  .article-next { padding-block: 70px; }
  .article-actions { grid-template-columns: 1fr; }
  .related-articles img { width: 95px; height: 78px; }
}

/* Navigation mobile : pictogrammes plus lisibles et retour tactile discret. */
@keyframes nr-mobile-tab-pop {
  0% { transform: scale(.86) translateY(2px); }
  62% { transform: scale(1.1) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

@media (max-width: 740px) {
  .mobile-tabs a {
    gap: 2px !important;
    color: rgba(255, 242, 218, .72) !important;
    transition: color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-tabs a i {
    width: 42px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: rgba(255, 242, 218, .72) !important;
    font-size: 28px !important;
    line-height: 1 !important;
    transition: color .2s ease, background-color .2s ease, transform .18s ease;
    transform-origin: center;
  }

  .mobile-tabs a:active i {
    color: var(--nr-yellow) !important;
    transform: scale(.86) rotate(-4deg);
  }

  .mobile-tabs a.active i {
    background: rgba(255, 84, 76, .14);
    color: var(--nr-coral) !important;
    animation: nr-mobile-tab-pop .32s cubic-bezier(.2, .8, .3, 1);
  }

  .mobile-tabs a.active span {
    color: var(--nr-yellow) !important;
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-tabs a,
  .mobile-tabs a i { transition: none !important; }
  .mobile-tabs a.active i { animation: none !important; }
}

@media (max-width: 600px) {
  /* Le premier bloc coloré rejoint directement l'en-tête : aucun quartier
     crème ne reste visible dans ses deux coins supérieurs. */
  .site-canvas .page-hero,
  .site-canvas .club-page .club-hero {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }

  /* Filtres Boutique : tous visibles et tactiles, sans ascenseur horizontal. */
  .site-canvas .shop-toolbar {
    height: auto !important;
    padding: 12px !important;
  }

  .site-canvas .filter-scroller {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    overflow: visible !important;
    scrollbar-width: none;
  }

  .site-canvas .filter-scroller::-webkit-scrollbar { display: none; }

  .site-canvas .filter-scroller button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 15px !important;
    touch-action: manipulation;
  }

  .site-canvas .shop-toolbar .sort-button { display: none !important; }
}
