/* Styles du site démo Para Espoir (repris à l'identique). */
/* ---- variables.css ---- */
/*
 * GlowCare — jetons de design (design tokens).
 * Les couleurs et polices sont aussi déclarées dans src/config/site.config.js
 * (appliquées au démarrage). Modifiez l'un ou l'autre : la configuration a priorité.
 */
:root {
  /* Couleurs */
  --color-bg: #faf8f4;
  --color-bg-alt: #f1eae0;
  --color-sage: #687760;
  --color-forest: #344637;
  --color-text: #252521;
  --color-text-muted: #66645e; /* #77756F du cahier des charges, assombri pour un contraste AA */
  --color-blush: #e9c8c1;
  --color-white: #ffffff;
  --color-border: #e7e2da;

  /* Couleurs dérivées */
  --color-forest-hover: #2a3a2d;
  --color-sage-soft: #e3e8de;
  --color-blush-soft: #f6e7e3;
  --color-surface: var(--color-white);
  --color-success: #3f6b47;
  --color-error: #a3392d;
  --color-error-soft: #fbeceb;
  --color-warning: #8a5a14;
  --color-focus: #344637;
  --color-sage-text: #5e6c57; /* vert sauge lisible pour les petits textes */

  /* Typographie */
  --font-heading: 'Cormorant Garamond Variable', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  --text-display: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;

  /* Espacements */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* Mise en page */
  --container: 1320px;
  --container-narrow: 820px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --header-height: 72px;

  /* Formes */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgb(37 37 33 / 0.06);
  --shadow: 0 8px 24px -12px rgb(37 37 33 / 0.18);
  --shadow-lg: 0 24px 60px -24px rgb(37 37 33 / 0.3);

  /* Animations */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-fast: 150ms;
  --duration: 250ms;

  /* Plans */
  --z-header: 50;
  --z-overlay: 80;
  --z-drawer: 90;
  --z-toast: 100;
}
/* ---- global.css ---- */
/* Base, réinitialisation légère et typographie. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--color-blush);
  color: var(--color-text);
}

:where(ul, ol)[role='list'] {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
}

.icon {
  flex-shrink: 0;
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ---- layout.css ---- */
/* Structure générale : conteneurs, en-tête, navigation, panneaux, pied de page. */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.main {
  display: block;
  /* Réserve la hauteur de l'écran pendant le chargement de la page (évite le décalage du pied de page). */
  min-height: 100vh;
}

.main:focus {
  outline: none;
}

.page {
  padding-block: var(--space-5) var(--space-section);
}

.section {
  padding-block: var(--space-section);
}

.section--alt {
  background: var(--color-bg-alt);
}

.page .section {
  padding-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Barre d'annonce                                                     */
/* ------------------------------------------------------------------ */

.announcement {
  background: var(--color-forest);
  color: var(--color-white);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 38px;
}

.announcement__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  flex: 1;
}

.announcement__item {
  display: none;
}

.announcement__item[data-active] {
  display: block;
}

.announcement a {
  color: inherit;
  text-decoration: none;
}

.announcement a:hover {
  text-decoration: underline;
}

.announcement__nav {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
}

.announcement__nav:hover {
  background: rgb(255 255 255 / 0.12);
}

.announcement :focus-visible {
  outline-color: var(--color-white);
}

/* ------------------------------------------------------------------ */
/* En-tête                                                             */
/* ------------------------------------------------------------------ */

.header-sentinel {
  height: 1px;
  margin-bottom: -1px;
}

.site-header {
  position: relative;
  z-index: var(--z-header);
  background: rgb(250 248 244 / 0.94);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    backdrop-filter: blur(10px);
  }
}

.site-header--sticky {
  position: sticky;
  top: 0;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px -16px rgb(37 37 33 / 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-forest);
  margin-right: auto;
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border: 0;
  background: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current='page']::after,
.nav__link.is-active::after,
.nav__link[aria-expanded='true']::after {
  transform: scaleX(1);
}

.nav__link[aria-current='page'],
.nav__link.is-active {
  color: var(--color-forest);
}

.nav__chevron {
  transition: transform var(--duration) var(--ease);
}

.nav__link[aria-expanded='true'] .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 90vw);
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: dropdown-in var(--duration) var(--ease);
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
}

.dropdown__title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.dropdown__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px var(--space-4);
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
}

.dropdown__list a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--text-sm);
}

.dropdown__list a:hover,
.dropdown__list a[aria-current='page'] {
  background: var(--color-bg);
}

.dropdown__list__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-sage-soft);
  color: var(--color-forest);
}

.dropdown__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-forest);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ------------------------------------------------------------------ */
/* Fond assombri et tiroirs                                            */
/* ------------------------------------------------------------------ */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgb(37 37 33 / 0.38);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.backdrop.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  transition: transform 300ms var(--ease);
}

.drawer:focus {
  outline: none;
}

.drawer--right {
  right: 0;
  transform: translateX(100%);
}

.drawer--left {
  left: 0;
  transform: translateX(-100%);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.drawer__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-5);
}

.drawer__footer {
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.drawer__actions {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* Menu mobile */
.mobile-nav__list {
  display: grid;
  gap: 2px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: none;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  text-align: left;
  text-decoration: none;
  color: var(--color-text);
}

.mobile-nav__link[aria-current='page'] {
  color: var(--color-forest);
  font-weight: 600;
}

.mobile-nav__toggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.mobile-nav__categories {
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0 var(--space-3);
}

.mobile-nav__categories a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 4px;
  text-decoration: none;
  font-size: var(--text-sm);
}

.mobile-nav__categories__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--color-sage-soft);
  color: var(--color-forest);
}

.mobile-nav__contact {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.mobile-nav__contact p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ */
/* Panneau de recherche                                                */
/* ------------------------------------------------------------------ */

.search-panel {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-drawer);
  max-height: 100vh;
  overflow-y: auto;
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-16px);
  opacity: 0;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.search-panel.is-open {
  transform: none;
  opacity: 1;
}

.search-panel:focus {
  outline: none;
}

.search-panel__inner {
  padding-block: var(--space-4) var(--space-6);
}

.search-panel__top {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.search-panel__top .search-form {
  flex: 1;
}

.search-panel__content {
  max-width: 760px;
  margin-top: var(--space-4);
}

.search-panel__status {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.search-panel__status:empty {
  display: none;
}

.search-panel__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.suggestion {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius);
  cursor: pointer;
}

.suggestion img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}

.suggestion:hover,
.suggestion[aria-selected='true'] {
  background: var(--color-bg-alt);
}

.suggestion[aria-selected='true'] {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}

.suggestion__text {
  display: grid;
  flex: 1;
  min-width: 0;
}

.suggestion__name {
  font-weight: 500;
}

.suggestion__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.suggestion__price {
  font-size: var(--text-sm);
  font-weight: 500;
}

.suggestion--all {
  justify-content: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-forest);
}

/* ------------------------------------------------------------------ */
/* Notifications                                                       */
/* ------------------------------------------------------------------ */

.toast-region {
  position: fixed;
  z-index: var(--z-toast);
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: min(440px, 100%);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  background: var(--color-text);
  color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast__message {
  flex: 1;
}

.toast--success .icon {
  color: #b9d1b4;
}

.toast--error .icon {
  color: #f2b8b0;
}

.toast__action {
  border: 0;
  background: none;
  padding: 4px;
  color: var(--color-white);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.toast__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
}

.toast :focus-visible {
  outline-color: var(--color-white);
}

/* ------------------------------------------------------------------ */
/* Pied de page                                                        */
/* ------------------------------------------------------------------ */

.site-footer {
  background: var(--color-forest);
  color: rgb(255 255 255 / 0.82);
  padding-top: var(--space-8);
  font-size: var(--text-sm);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: var(--color-white);
}

.site-footer .logo {
  color: var(--color-white);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-6);
}

.site-footer__brand p {
  max-width: 36ch;
  margin-top: var(--space-3);
}

.site-footer__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-blush);
}

.site-footer__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.site-footer__contact li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.site-footer__contact .icon {
  margin-top: 3px;
}

.site-footer__newsletter p {
  margin-bottom: var(--space-3);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-block: var(--space-5);
  border-top: 1px solid rgb(255 255 255 / 0.16);
  font-size: var(--text-xs);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.social {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}

.site-footer .icon-btn--outline {
  border-color: rgb(255 255 255 / 0.3);
  color: var(--color-white);
}

.site-footer .icon-btn--outline:hover {
  background: rgb(255 255 255 / 0.1);
  text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* En-têtes de page et sections                                        */
/* ------------------------------------------------------------------ */

.page-header {
  max-width: 720px;
  margin-block: var(--space-5) var(--space-6);
}

.page-header--compact {
  margin-bottom: var(--space-5);
}

.page-header h1 {
  font-size: var(--text-3xl);
}

.page-header__text {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-sage-text);
  margin-bottom: var(--space-3);
}

.eyebrow a {
  color: inherit;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
}

.section-head__title {
  font-size: var(--text-3xl);
}

.section-head__text {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  max-width: 56ch;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}

/* Logo image (Para Espoir) : logo vertical fourni par la cliente */
.logo img {
  display: block;
  height: 64px;
  width: auto;
}

@media (min-width: 1024px) {
  .logo img {
    height: 104px;
  }

  .header__inner {
    padding-block: 6px;
  }
}

.site-footer .logo img {
  box-sizing: content-box;
  height: 150px;
  padding: 12px 20px;
  background: var(--color-bg);
  border-radius: 14px;
}
/* ---- components.css ---- */
/* Composants réutilisables. */

/* ------------------------------------------------------------------ */
/* Boutons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  --btn-bg: var(--color-forest);
  --btn-fg: var(--color-white);
  --btn-border: var(--color-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 46px;
  padding: 0 var(--space-5);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}

.btn:hover {
  --btn-bg: var(--color-forest-hover);
  --btn-border: var(--color-forest-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline-offset: 3px;
  border-radius: var(--radius-pill);
}

.btn:disabled,
.btn[aria-disabled='true'] {
  --btn-bg: var(--color-border);
  --btn-border: var(--color-border);
  --btn-fg: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--color-forest);
  --btn-border: var(--color-forest);
}

.btn--secondary:hover {
  --btn-bg: var(--color-forest);
  --btn-fg: var(--color-white);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-text);
  --btn-border: var(--color-border);
}

.btn--ghost:hover {
  --btn-bg: var(--color-white);
  --btn-border: var(--color-text-muted);
}

.btn--sm {
  min-height: 40px;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
}

.btn--lg {
  min-height: 52px;
  padding: 0 var(--space-6);
  font-size: var(--text-base);
}

.btn--block {
  width: 100%;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn:hover {
  color: var(--color-forest);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-forest);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow .icon {
  transition: transform var(--duration-fast) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.link-arrow--back:hover .icon {
  transform: translateX(-3px);
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.icon-btn:hover {
  background: var(--color-bg-alt);
}

.icon-btn--outline {
  border-color: var(--color-border);
}

.icon-btn--floating {
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-sm);
  width: 40px;
  height: 40px;
}

.icon-btn--floating:hover {
  background: var(--color-white);
}

.count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--color-forest);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.count[hidden] {
  display: none;
}

.wish-btn[aria-pressed='true'] {
  color: #b5524a;
}

.wish-btn[aria-pressed='true'] svg {
  fill: currentColor;
}

/* ------------------------------------------------------------------ */
/* Badges et pastilles                                                 */
/* ------------------------------------------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}

.badge--sale {
  background: var(--color-blush);
  color: #6e2f27;
}

.badge--new {
  background: var(--color-forest);
  color: var(--color-white);
}

.badge--muted {
  background: var(--color-white);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.badge--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: var(--space-6);
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.chip:hover {
  border-color: var(--color-forest);
}

.chip[aria-pressed='true'] {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.chip--removable {
  min-height: 34px;
  padding: 0 var(--space-3);
  background: var(--color-sage-soft);
  border-color: transparent;
}

/* ------------------------------------------------------------------ */
/* Formulaires                                                         */
/* ------------------------------------------------------------------ */

.input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}

.input::placeholder {
  color: #8d8a83;
}

.input:hover {
  border-color: #cfc8bd;
}

.input:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgb(52 70 55 / 0.15);
}

.input[aria-invalid='true'] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgb(163 57 45 / 0.12);
}

.input--textarea {
  min-height: 140px;
  resize: vertical;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: var(--text-sm);
  font-weight: 500;
}

.field__error {
  color: var(--color-error);
  font-size: var(--text-sm);
}

.field__error:empty {
  display: none;
}

.field--inline {
  gap: 4px;
}

.field--inline label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.form-message {
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

.form-message:empty {
  display: none;
}

.form-message[data-tone='error'] {
  color: var(--color-error);
}

.form-message[data-tone='success'] {
  color: var(--color-success);
}

.input-icon {
  position: relative;
}

.input-icon .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.input-icon .input {
  padding-left: 40px;
}

.select {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.select label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.select__input {
  appearance: none;
  min-height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: var(--text-sm);
  cursor: pointer;
}

.select__input:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.select__icon {
  position: absolute;
  right: 14px;
  pointer-events: none;
}

/* Cases à cocher et boutons radio personnalisés */
.check-list {
  display: grid;
  gap: 2px;
}

.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 38px;
  cursor: pointer;
  font-size: var(--text-sm);
}

.check input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.check__box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #b9b2a7;
  border-radius: 5px;
  background: var(--color-white);
  color: transparent;
  transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.check--radio .check__box {
  border-radius: 50%;
}

.check input:checked + .check__box {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.check--radio input:checked + .check__box {
  background: var(--color-white);
  box-shadow: inset 0 0 0 4px var(--color-forest);
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.check__label {
  flex: 1;
}

.check__count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Sélecteur de quantité */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  height: 52px;
}

.qty--compact {
  height: 40px;
}

.qty__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 100%;
  border: 0;
  background: none;
  border-radius: var(--radius-pill);
  color: var(--color-text);
}

.qty--compact .qty__btn {
  width: 38px;
}

.qty__btn:hover:not(:disabled) {
  background: var(--color-bg-alt);
}

.qty__btn:disabled {
  color: #c4beb4;
  cursor: not-allowed;
}

.qty__input {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 500;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty__input:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
  border-radius: 4px;
}

/* Recherche */
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 6px 6px 6px 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
}

.search-form:focus-within {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgb(52 70 55 / 0.12);
}

.search-form__icon {
  position: absolute;
  left: 18px;
  color: var(--color-text-muted);
}

.search-form__input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: var(--text-base);
}

.search-form__input:focus {
  outline: none;
}

.search-form__input::-webkit-search-cancel-button {
  display: none;
}

.search-form__clear {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.search-form__clear[hidden] {
  display: none;
}

.search-form--page {
  max-width: 720px;
  margin-bottom: var(--space-5);
}

/* ------------------------------------------------------------------ */
/* Prix, notes, disponibilité                                          */
/* ------------------------------------------------------------------ */

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--space-2);
}

.price__current {
  font-weight: 600;
  color: var(--color-text);
}

.price__compare {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.price--lg .price__current {
  font-size: 1.5rem;
  font-weight: 500;
}

.price--lg .price__compare {
  font-size: var(--text-base);
}

.stars {
  position: relative;
  display: inline-flex;
  color: #a57c3a;
  vertical-align: middle;
}

.stars__base,
.stars__fill {
  display: inline-flex;
  gap: 1px;
}

.stars__fill {
  position: absolute;
  inset: 0;
  width: var(--stars-pct);
  overflow: hidden;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.rating__count {
  white-space: nowrap;
}

.rating--empty {
  font-style: italic;
}

.availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
}

.availability--in {
  color: var(--color-success);
}

.availability--low {
  color: var(--color-warning);
}

.availability--out {
  color: var(--color-error);
}

.availability__note {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

/* ------------------------------------------------------------------ */
/* Carte produit et grille                                             */
/* ------------------------------------------------------------------ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
}

.product-card__image {
  display: block;
  height: 100%;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 400ms var(--ease), transform 600ms var(--ease);
}

.product-card__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) {
  .product-card:hover .product-card__img--alt {
    opacity: 1;
  }

  .product-card:hover .product-card__img {
    transform: scale(1.02);
  }
}

.product-card__badges {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.product-card .wish-btn {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding-top: var(--space-3);
}

.product-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.product-card__link {
  text-decoration: none;
}

.product-card__link::after {
  content: '';
}

.product-card__link:hover {
  text-decoration: underline;
}

.product-card .price {
  font-size: var(--text-sm);
}

.product-card__action {
  margin-top: auto;
  padding-top: var(--space-2);
}

.product-card__action .btn {
  white-space: normal;
  padding-inline: var(--space-3);
}

@media (max-width: 479.98px) {
  .product-card__action .btn .icon {
    display: none;
  }

  .product-card__action .btn {
    font-size: 0.8rem;
  }

  .product-card__title {
    font-size: 1.1rem;
  }
}

.product-card__note {
  margin-top: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------------ */
/* Fil d'Ariane                                                        */
/* ------------------------------------------------------------------ */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  padding: 4px 0;
}

.breadcrumb a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.breadcrumb [aria-current='page'] {
  color: var(--color-text);
}

/* ------------------------------------------------------------------ */
/* État vide et messages                                               */
/* ------------------------------------------------------------------ */

.empty-state {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-4);
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-blush-soft);
  color: var(--color-forest);
}

.empty-state__title {
  font-size: var(--text-2xl);
}

.empty-state__text {
  max-width: 44ch;
  color: var(--color-text-muted);
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  background: var(--color-bg-alt);
  list-style: none;
}

.notice .icon {
  margin-top: 2px;
}

.notice ul {
  display: grid;
  gap: 4px;
}

.notice--info {
  background: var(--color-sage-soft);
}

.notice--success {
  background: #e4efe2;
  color: #24452b;
}

.notice--error {
  background: var(--color-error-soft);
  color: #7a2a22;
}

.notice--warning {
  background: #f8ecd9;
  color: #5c3c0c;
}

.notice--muted {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.notice--large {
  padding: var(--space-5);
  font-size: var(--text-base);
}

.notice--large p + p {
  margin-top: var(--space-2);
}

.notice__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: inherit;
}

.card {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

/* ------------------------------------------------------------------ */
/* Accordéon                                                           */
/* ------------------------------------------------------------------ */

.accordion {
  border-top: 1px solid var(--color-border);
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__heading {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  min-height: 56px;
  padding: var(--space-3) 2px;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 500;
}

.accordion__chevron {
  transition: transform var(--duration) var(--ease);
}

.accordion__trigger[aria-expanded='true'] .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__content {
  padding: 0 2px var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.accordion__content ul {
  margin: 0;
  padding-left: 1.2em;
}

.accordion__content p + p {
  margin-top: var(--space-2);
}

.accordion__note {
  font-size: var(--text-xs);
  font-style: italic;
}

/* ------------------------------------------------------------------ */
/* Panier : lignes, récapitulatif, progression                         */
/* ------------------------------------------------------------------ */

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart-line__media img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
}

.cart-line__info {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
}

.cart-line__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.2;
}

.cart-line__name a {
  text-decoration: none;
}

.cart-line__name a:hover {
  text-decoration: underline;
}

.cart-line__variant,
.cart-line__unit,
.cart-line__limit {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.cart-line__compare {
  margin-left: 6px;
}

.cart-line__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-2);
}

.cart-line__remove {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.cart-line__total {
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
}

.summary-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--text-sm);
}

.summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.summary-list dd {
  margin: 0;
  font-weight: 500;
}

.summary-list__total {
  padding-top: var(--space-3);
  margin-top: var(--space-1);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-base);
}

.summary-list__total dt,
.summary-list__total dd {
  font-weight: 600;
}

.shipping-progress {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.shipping-progress__text {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.shipping-progress__text .icon {
  margin-top: 2px;
  color: var(--color-forest);
}

.shipping-progress__bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  overflow: hidden;
}

.shipping-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-sage);
  transition: width var(--duration) var(--ease);
}

.shipping-progress.is-complete .shipping-progress__bar span {
  background: var(--color-forest);
}

.cart-drawer .notice {
  margin-bottom: var(--space-3);
}

.cart-drawer .empty-state {
  border: 0;
  background: transparent;
  padding-block: var(--space-7);
}

/* ------------------------------------------------------------------ */
/* Articles                                                            */
/* ------------------------------------------------------------------ */

.article-grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-card {
  display: grid;
  gap: var(--space-4);
}

.article-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  background: var(--color-bg-alt);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.03);
}

.article-card__body {
  display: grid;
  gap: var(--space-2);
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.article-card__category {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-sage-text);
}

.article-card__title {
  font-size: 1.5rem;
}

.article-card__title a {
  text-decoration: none;
}

.article-card__title a:hover {
  text-decoration: underline;
}

.article-card__excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ------------------------------------------------------------------ */
/* Newsletter                                                          */
/* ------------------------------------------------------------------ */

.newsletter-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.newsletter-form__input {
  flex: 1 1 220px;
  border-radius: var(--radius-pill);
  padding-inline: var(--space-5);
}

.newsletter-form__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.newsletter-form--footer .newsletter-form__input {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.3);
  color: var(--color-white);
}

.newsletter-form--footer .newsletter-form__input::placeholder {
  color: rgb(255 255 255 / 0.65);
}

.newsletter-form--footer .newsletter-form__input:focus {
  border-color: var(--color-white);
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.2);
}

.newsletter-form--footer .btn {
  --btn-bg: var(--color-blush);
  --btn-border: var(--color-blush);
  --btn-fg: var(--color-text);
}

.newsletter-form--footer .btn:hover {
  --btn-bg: var(--color-white);
  --btn-border: var(--color-white);
}

.newsletter-form--footer .newsletter-form__note,
.newsletter-form--footer .form-message[data-tone] {
  color: rgb(255 255 255 / 0.85);
}

.newsletter-form--footer .form-message[data-tone='error'] {
  color: #ffd2cb;
}
/* ---- pages.css ---- */
/* Styles propres à chaque page. */

/* ------------------------------------------------------------------ */
/* Accueil                                                             */
/* ------------------------------------------------------------------ */

.hero {
  background: var(--color-bg-alt);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7) 0;
}

.hero__content {
  max-width: 600px;
}

.hero__title {
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero__text {
  margin-top: var(--space-5);
  max-width: 48ch;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__media {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
}

.hero__img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: var(--gutter);
  bottom: var(--space-5);
  display: grid;
  gap: 2px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero__badge strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-forest);
}

.hero__badge:hover {
  box-shadow: var(--shadow-lg);
}

.reassurance {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.reassurance__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-5);
  list-style: none;
}

.reassurance__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.reassurance__item > span:last-child {
  display: grid;
}

.reassurance__item strong {
  font-weight: 600;
}

.reassurance__item span span {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.reassurance__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sage-soft);
  color: var(--color-forest);
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  text-decoration: none;
}

.category-tile__media {
  display: block;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-2);
  background: var(--color-bg-alt);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.category-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile:hover .category-tile__media {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-tile__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

.category-tile__count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.promo-banners {
  display: grid;
  gap: var(--space-5);
}

.promo-banner {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.promo-banner--sage {
  background: var(--color-sage-soft);
}

.promo-banner--blush {
  background: var(--color-blush-soft);
}

.promo-banner__content {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
}

.promo-banner .eyebrow {
  color: var(--color-forest);
}

.promo-banner__title {
  font-size: var(--text-2xl);
}

.promo-banner__content > p:not(.eyebrow) {
  color: var(--color-text-muted);
  max-width: 40ch;
  margin-bottom: var(--space-2);
}

.promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.editorial {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.editorial__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.editorial__content h2 {
  font-size: var(--text-3xl);
}

.editorial__text {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

.steps {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.steps__number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-sage);
  line-height: 1;
}

.steps__title {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.steps__item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.steps__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-forest);
}

.newsletter-section {
  background: var(--color-blush-soft);
}

.newsletter {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.newsletter h2 {
  font-size: var(--text-3xl);
}

.newsletter p:not(.eyebrow):not(.form-message):not(.newsletter-form__note) {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------------ */
/* Catalogue                                                           */
/* ------------------------------------------------------------------ */

.catalog {
  display: grid;
  gap: var(--space-6);
}

.catalog__main {
  min-width: 0;
}

.catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.catalog__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.catalog__toolbar .catalog__count {
  margin-bottom: 0;
}

.catalog__count:focus {
  outline: none;
}

.catalog__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.catalog__more {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.catalog__progress {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
}

/* Filtres : panneau mobile par défaut */
.filters {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  width: min(380px, 100%);
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 300ms var(--ease), visibility 0s linear 300ms;
}

.filters.is-open {
  transform: none;
  visibility: visible;
  transition: transform 300ms var(--ease);
}

.filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.filters__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
}

.filters__form {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2) var(--space-5);
}

.filter-group {
  border: 0;
  margin: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  min-width: 0;
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group__title {
  display: block;
  padding: 0;
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: var(--space-2);
}

.price-range__sep {
  padding-bottom: 12px;
  color: var(--color-text-muted);
}

.price-range .field__error {
  grid-column: 1 / -1;
}

.filter-group .field__error {
  margin-top: var(--space-2);
}

.filters__footer {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

/* Page catégorie */
.category-hero {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  margin-block: var(--space-5) var(--space-7);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.category-hero__text {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  max-width: 48ch;
}

.category-hero__count {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
}

.category-hero__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* Fiche produit                                                       */
/* ------------------------------------------------------------------ */

.pdp {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-5);
}

.gallery {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.gallery__main {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.gallery__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery__thumbs {
  display: flex;
  gap: var(--space-2);
}

.gallery__thumb {
  width: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: none;
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease), opacity var(--duration-fast) var(--ease);
  opacity: 0.75;
}

.gallery__thumb img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery__thumb:hover {
  opacity: 1;
}

.gallery__thumb[aria-current='true'] {
  border-color: var(--color-forest);
  opacity: 1;
}

.pdp__info {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  min-width: 0;
}

.pdp__info .eyebrow {
  margin-bottom: 0;
}

.pdp__title {
  font-size: var(--text-3xl);
}

.pdp__rating {
  text-decoration: none;
  width: fit-content;
}

.pdp__rating .rating {
  font-size: var(--text-sm);
}

.pdp__rating:hover .rating__count {
  text-decoration: underline;
}

.pdp__short {
  color: var(--color-text-muted);
}

.pdp__form {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-block: 1px solid var(--color-border);
}

.variant-picker {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.variant-picker__legend {
  padding: 0;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.variant-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.variant-option {
  position: relative;
  cursor: pointer;
}

.variant-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.variant-option__label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: var(--text-sm);
  transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}

.variant-option:hover .variant-option__label {
  border-color: var(--color-forest);
}

.variant-option input:checked + .variant-option__label,
.variant-option input:checked ~ .variant-option__label {
  border-color: var(--color-forest);
  background: var(--color-forest);
  color: var(--color-white);
}

.variant-option input:focus-visible ~ .variant-option__label,
.variant-option input:focus-visible + .variant-option__swatch {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.variant-option.is-sold-out {
  cursor: not-allowed;
}

.variant-option.is-sold-out .variant-option__label {
  color: var(--color-text-muted);
  text-decoration: line-through;
  background: var(--color-bg);
}

.variant-option__swatch {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 1px var(--color-border);
  transition: box-shadow var(--duration-fast) var(--ease);
}

.variant-option input:checked + .variant-option__swatch {
  box-shadow: 0 0 0 2px var(--color-forest);
}

.variant-option.is-sold-out .variant-option__swatch {
  opacity: 0.4;
  background-image: linear-gradient(135deg, transparent 46%, var(--color-text-muted) 47%, var(--color-text-muted) 53%, transparent 54%);
}

.pdp__buy {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.pdp__add {
  flex: 1 1 220px;
}

.pdp__hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pdp__hint:empty,
.pdp__confirm:empty {
  display: none;
}

.pdp__confirm .notice {
  flex-wrap: wrap;
}

.pdp__secondary .btn {
  gap: var(--space-2);
}

.pdp__perks {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.pdp__perks li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.pdp__perks .icon {
  margin-top: 2px;
  color: var(--color-forest);
}

.reviews__head {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.reviews__score {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--color-text);
}

.reviews__score span {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.reviews__list {
  display: grid;
  gap: var(--space-4);
}

.review {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.review__title {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
}

.review p {
  font-size: var(--text-sm);
}

.review__meta {
  color: var(--color-text-muted);
  font-size: var(--text-xs) !important;
}

.reviews__empty {
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------------ */
/* Panier et commande                                                  */
/* ------------------------------------------------------------------ */

.cart-layout {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.cart-table-head {
  display: none;
}

.cart-layout__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.summary {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.summary__title {
  font-size: var(--text-2xl);
}

.summary__note {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.summary__note .icon {
  margin-top: 2px;
}

[data-cart-page] > .notice {
  margin-bottom: var(--space-5);
}

.checkout {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.checkout__main {
  display: grid;
  gap: var(--space-5);
}

.checkout__subtitle {
  font-size: var(--text-xl);
}

.checkout__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.checkout__lines li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}

.checkout__qty,
.checkout__variant {
  color: var(--color-text-muted);
}

.checkout__price {
  font-weight: 600;
}

.checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.wishlist__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}

/* ------------------------------------------------------------------ */
/* Contact, FAQ                                                        */
/* ------------------------------------------------------------------ */

.contact {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.contact__form {
  display: grid;
  gap: var(--space-4);
}

.contact__form > .btn {
  justify-self: start;
}

.form-result:empty {
  display: none;
}

.contact__info .card {
  display: grid;
  gap: var(--space-4);
}

.contact__title {
  font-size: var(--text-xl);
}

.contact__list {
  display: grid;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact__list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
}

.contact__list li > .icon {
  margin-top: 2px;
  color: var(--color-forest);
}

.contact__list div {
  display: grid;
  overflow-wrap: anywhere;
}

.contact__small {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.contact .social {
  margin-top: 0;
}

.faq-group + .faq-group {
  margin-top: var(--space-7);
}

.faq-group__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.faq-cta {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  margin-top: var(--space-8);
  background: var(--color-bg-alt);
  border: 0;
}

.faq-cta h2 {
  font-size: var(--text-2xl);
}

.faq-cta p {
  color: var(--color-text-muted);
}

.faq-cta__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-forest);
}

/* ------------------------------------------------------------------ */
/* Blog, articles, contenus                                            */
/* ------------------------------------------------------------------ */

.article__header {
  margin-block: var(--space-5) var(--space-6);
}

.article__title {
  font-size: var(--text-display);
  line-height: 1.05;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article__cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article__cover {
  margin-bottom: var(--space-7);
}

.article__lead {
  font-size: var(--text-xl);
  color: var(--color-text) !important;
}

.article__disclaimer {
  margin-block: var(--space-6);
}

.prose {
  font-size: var(--text-lg);
  line-height: 1.75;
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2 {
  margin-top: var(--space-7);
  font-size: var(--text-2xl);
}

.prose p,
.prose li {
  color: #3e3d38;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose blockquote {
  margin-inline: 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--color-sage);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/* À propos                                                            */
/* ------------------------------------------------------------------ */

.about-hero {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-5);
}

.about-hero h1 {
  font-size: var(--text-display);
}

.about-hero__text {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
}

.about-hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.split {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.split__content h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.split__content p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
}

.values {
  display: grid;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.value {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.value__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-blush-soft);
  color: var(--color-forest);
  margin-bottom: var(--space-2);
}

.value p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------------ */
/* 404                                                                 */
/* ------------------------------------------------------------------ */

.not-found {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding-block: var(--space-8) var(--space-6);
  text-align: center;
}

.not-found__code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  line-height: 1;
  color: var(--color-blush);
}

.not-found__text {
  max-width: 48ch;
  color: var(--color-text-muted);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.search-suggest {
  margin-top: var(--space-4);
}

/* ------------------------------------------------------------------ */
/* Carte de fidélité                                                   */
/* ------------------------------------------------------------------ */
.loyalty-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1.586;
  margin: 0;
  padding: clamp(16px, 4vw, 24px);
  border-radius: 20px;
  overflow: hidden;
  color: var(--color-forest);
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 200, 193, 0.9) 0, rgba(233, 200, 193, 0) 45%),
    radial-gradient(circle at 0% 100%, rgba(104, 119, 96, 0.28) 0, rgba(104, 119, 96, 0) 55%),
    linear-gradient(135deg, #fbf9f5 0%, #f1eae0 100%);
  border: 1px solid rgba(52, 70, 55, 0.12);
  box-shadow: 0 18px 40px rgba(37, 37, 33, 0.14);
}

.loyalty-card::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 70, 55, 0.18);
  pointer-events: none;
}

.loyalty-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.loyalty-card__logo {
  height: clamp(56px, 16vw, 78px);
  width: auto;
}

.loyalty-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.loyalty-card__points {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.loyalty-card__value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
}

.loyalty-card__unit {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.loyalty-card__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.loyalty-hero,
.loyalty-teaser {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.loyalty-hero h1 {
  margin-bottom: var(--space-3);
}

.loyalty-hero .btn,
.loyalty-teaser .btn {
  margin-top: var(--space-5);
}

.loyalty-teaser {
  padding: var(--space-8) var(--space-5);
  border-radius: 24px;
  background: var(--color-bg-alt);
}

.loyalty-teaser p {
  color: var(--color-text-muted);
  max-width: 46ch;
}

.loyalty-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
}

.loyalty-rewards,
.loyalty-perks {
  display: grid;
  gap: var(--space-4);
}

.loyalty-reward {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
}

.loyalty-reward__points {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-forest);
  white-space: nowrap;
}

.loyalty-reward__label {
  text-align: right;
}

.loyalty-perk {
  padding: var(--space-5);
  border-radius: 14px;
  background: var(--color-bg-alt);
}

.loyalty-perk h3 {
  font-size: var(--text-lg);
  margin: var(--space-3) 0 var(--space-1);
}

.loyalty-perk p {
  color: var(--color-text-muted);
}

.loyalty-perk__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-forest);
}

@media (min-width: 768px) {
  .loyalty-hero,
  .loyalty-teaser {
    grid-template-columns: 1.1fr 1fr;
  }

  .loyalty-teaser {
    padding: var(--space-10, 48px);
  }

  .loyalty-card {
    justify-self: end;
  }

  .loyalty-rewards,
  .loyalty-perks {
    grid-template-columns: repeat(3, 1fr);
  }

  .loyalty-reward {
    flex-direction: column;
    align-items: flex-start;
  }

  .loyalty-reward__label {
    text-align: left;
  }
}
/* ---- responsive.css ---- */
/*
 * Points de rupture (approche mobile-first) :
 * - ≥ 600px  : grand mobile / petite tablette
 * - ≥ 768px  : tablette
 * - ≥ 1024px : ordinateur portable
 * - ≥ 1280px : grand écran
 */

@media (min-width: 600px) {
  .product-grid {
    gap: var(--space-7) var(--space-5);
  }

  .reassurance__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-tiles {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-banner {
    grid-template-columns: 1fr 1fr;
  }

  .promo-banner__media img {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .category-hero {
    grid-template-columns: 1.1fr 1fr;
    padding: var(--space-6);
  }

  .newsletter {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }

  .cart-line {
    grid-template-columns: 96px 1fr auto;
    gap: var(--space-4);
  }

  .cart-line__media img {
    width: 96px;
    height: 120px;
  }

  .faq-cta {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__thumb {
    width: 92px;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-height: 84px;
  }

  .header__menu-btn {
    display: none;
  }

  .logo {
    margin-right: 0;
  }

  .nav {
    display: block;
    margin-inline: auto;
  }

  .header__inner {
    gap: var(--space-5);
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-7);
    padding-block: 0;
  }

  .hero__content {
    padding-block: var(--space-8);
  }

  .hero__media {
    margin-inline: 0 calc(var(--gutter) * -1);
    align-self: stretch;
  }

  .hero__img {
    height: 100%;
    max-height: 760px;
    aspect-ratio: auto;
  }

  .hero__badge {
    left: calc(var(--space-6) * -1);
    bottom: var(--space-7);
  }

  .category-tiles {
    grid-template-columns: repeat(8, 1fr);
    gap: var(--space-4);
  }

  .product-grid--default {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promo-banners {
    grid-template-columns: 1fr 1fr;
  }

  .promo-banner {
    grid-template-columns: 1fr;
  }

  .promo-banner__media img {
    aspect-ratio: 4 / 3;
  }

  .editorial {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.5fr;
    gap: var(--space-6);
  }

  /* Catalogue : filtres en colonne latérale */
  .catalog {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
  }

  .filters {
    position: static;
    z-index: auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .filters__header {
    padding: 0 0 var(--space-3);
  }

  .filters__close,
  .filters__apply,
  .catalog__filter-btn {
    display: none;
  }

  .filters__form {
    padding: 0;
    overflow: visible;
  }

  .filters__footer {
    padding: var(--space-4) 0 0;
    background: transparent;
  }

  .catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdp {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }

  .gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
    grid-template-columns: 92px 1fr;
  }

  .gallery__main {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery__thumbs {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
  }

  .reviews__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--space-7);
  }

  .cart-layout__summary,
  .checkout__summary {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
  }

  .cart-table-head {
    display: flex;
    justify-content: space-between;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
  }

  .checkout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--space-7);
  }

  .contact {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: var(--space-7);
  }

  .about-hero {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    gap: var(--space-8);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .split--reverse .split__media {
    order: 2;
  }

  .values {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

/* Très petits écrans (≤ 360px) */
@media (max-width: 359.98px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .header__actions .icon-btn {
    width: 40px;
  }

  .logo__text {
    font-size: 1.55rem;
  }

  .cart-line {
    grid-template-columns: 64px 1fr;
  }

  .cart-line__media img {
    width: 64px;
    height: 80px;
  }

  .cart-line__total {
    grid-column: 2;
  }
}
