/* ========================================
   UNE VOIX INTÉRIEURE — Design Tokens
   Natural, luminous, warm earth palette
   ======================================== */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ========================================
   LIGHT MODE (default)
   ======================================== */
:root, [data-theme="light"] {
  --color-bg:             #faf8f4;
  --color-surface:        #f5f2ec;
  --color-surface-2:      #ede9e0;
  --color-surface-offset: #e8e3d9;
  --color-divider:        #d9d3c7;
  --color-border:         #cec7b9;

  --color-text:           #2c2820;
  --color-text-muted:     #6b6558;
  --color-text-faint:     #8a7d6d;
  --color-text-inverse:   #faf8f4;

  --color-primary:        #6b7f4e;
  --color-primary-hover:  #556640;
  --color-primary-active: #3f4d30;

  --color-accent:         #b8952e;
  --color-accent-hover:   #9a7c24;
  --color-accent-active:  #7c641d;

  --color-terracotta:     #b5704a;

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.25 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.25 0.02 60 / 0.12);
}

/* ========================================
   DARK MODE
   ======================================== */
[data-theme="dark"] {
  --color-bg:             #1a1916;
  --color-surface:        #221f1b;
  --color-surface-2:      #2a2722;
  --color-surface-offset: #302c26;
  --color-divider:        #3a362e;
  --color-border:         #4a4538;

  --color-text:           #d8d3c8;
  --color-text-muted:     #8f8a7d;
  --color-text-faint:     #8a8478;
  --color-text-inverse:   #1a1916;

  --color-primary:        #8fa56e;
  --color-primary-hover:  #a3b88a;
  --color-primary-active: #7a9058;

  --color-accent:         #d4af4e;
  --color-accent-hover:   #e0c06a;
  --color-accent-active:  #c09d3a;

  --color-terracotta:     #cc8a66;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #1a1916;
    --color-surface:        #221f1b;
    --color-surface-2:      #2a2722;
    --color-surface-offset: #302c26;
    --color-divider:        #3a362e;
    --color-border:         #4a4538;
    --color-text:           #d8d3c8;
    --color-text-muted:     #8f8a7d;
    --color-text-faint:     #8a8478;
    --color-text-inverse:   #1a1916;
    --color-primary:        #8fa56e;
    --color-primary-hover:  #a3b88a;
    --color-primary-active: #7a9058;
    --color-accent:         #d4af4e;
    --color-accent-hover:   #e0c06a;
    --color-accent-active:  #c09d3a;
    --color-terracotta:     #cc8a66;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-default);
}

.container--admin-wide {
  max-width: 1800px;
  width: 95vw;
  transition: max-width 0.3s ease, width 0.3s ease;
}

/* ========================================
   SKIP LINK
   ======================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  z-index: 999;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-2);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 42, 38, 0.06);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

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

.header__logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

/* Halo doré désactivé : le nouveau logo contient déjà ses propres rayons */
.header__logo::before {
  display: none;
}

.header__logo {
  flex-shrink: 0;
  margin-right: var(--space-6);
}

.header__nav a,
.nav-auth {
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .header__logo {
    margin-right: 0;
  }
}

.header__logo-img {
  position: relative;
  z-index: 1;
  height: auto;
  width: 200px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  /* Logo fond blanc : multiply efface le blanc sur fond clair */
  filter: saturate(1.2) contrast(1.08);
  mix-blend-mode: multiply;
}

[data-theme="dark"] .header__logo-img {
  /* screen efface le fond blanc sur fond sombre */
  mix-blend-mode: screen;
  filter: saturate(1.3) brightness(1.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .header__logo-img {
    mix-blend-mode: screen;
    filter: saturate(1.3) brightness(1.1);
  }
}

@keyframes logo-glow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.2); }
}

.header__logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* Footer brand: centrage du logo et du texte */
.footer__brand {
  text-align: center;
}

.footer__brand .header__logo {
  justify-content: center;
  margin-inline: auto;
}

.footer__brand p {
  margin-inline: auto;
}

.footer__brand .footer__socials {
  justify-content: center;
}

.footer__brand .header__logo-img {
  height: auto;
  width: 280px;
  max-width: 280px;
  margin-inline: auto;
  filter: saturate(1.2) contrast(1.08);
  mix-blend-mode: multiply;
}

[data-theme="dark"] .footer__brand .header__logo-img {
  mix-blend-mode: screen;
  filter: saturate(1.3) brightness(1.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .footer__brand .header__logo-img {
    mix-blend-mode: screen;
    filter: saturate(1.3) brightness(1.1);
  }
}

.footer__brand .header__logo::before {
  /* Centrer le halo sur l'emblème: centre de l'image = milieu du lien - (largeur_image/2 - largeur_emblème/2) */
  /* L'emblème occupe les ~150 premiers px d'une image de 280px, soit centre à 75px du début de l'image */
  left: calc(50% - 65px);
  top: 50%;
  width: 140px;
  height: 140px;
  filter: blur(18px);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.32) 0%,
    rgba(184, 149, 46, 0.16) 45%,
    transparent 75%
  );
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
  white-space: nowrap;
}

.header__nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 400;
  position: relative;
  padding-block: var(--space-1);
}
.header__nav a:hover {
  color: var(--color-text);
}
.header__nav a.active {
  color: var(--color-primary);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* Hamburger (toujours visible) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 51;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Actions groupées à droite (icônes permanentes) */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.header__icon-btn:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.header__icon-btn[hidden] {
  display: none;
}

/* Navigation en overlay (à toutes tailles) */
.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  z-index: 49;
  overflow-y: auto;
  padding-top: 100px;
  padding-bottom: var(--space-8);
}
.header__nav.open {
  opacity: 1;
  pointer-events: auto;
}
.header__nav a {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

/* Desktop : hamburger seul — la nav reste en overlay comme sur mobile */
@media (min-width: 769px) {
  /* hamburger toujours visible */
  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header__logo-img {
    width: 160px;
    height: auto;
  }
  .footer__brand .header__logo-img {
    width: 220px;
    max-width: 220px;
  }
  .header__logo-text {
    display: none;
  }
  .header__logo::before {
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    filter: blur(10px);
  }
  .header__actions {
    gap: 2px;
  }
  .header__icon-btn {
    width: 36px;
    height: 36px;
  }
}

/* ========================================
   PAGES & SECTIONS
   ======================================== */
.page {
  display: none;
}
.page.active {
  display: block;
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(250, 248, 244, 0.88) 0%,
    rgba(250, 248, 244, 0.68) 40%,
    rgba(250, 248, 244, 0.28) 100%
  );
  background: linear-gradient(
    135deg,
    oklch(from var(--color-bg) l c h / 0.88) 0%,
    oklch(from var(--color-bg) l c h / 0.68) 40%,
    oklch(from var(--color-bg) l c h / 0.28) 100%
  );
  z-index: 1;
}
/* ========================================
   HERO — Animation lumineuse d'arrière-plan
   Particules, étoiles, halo — thème "lumière intérieure"
   ======================================== */

.hero-anim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* --- Halo central lumineux --- */
.hero-anim__halo {
  position: absolute;
  top: 30%;
  left: 25%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(184, 149, 46, 0.12) 0%,
    rgba(184, 149, 46, 0.06) 30%,
    rgba(184, 149, 46, 0.02) 60%,
    transparent 100%
  );
  background: radial-gradient(
    circle,
    oklch(from var(--color-accent) l c h / 0.12) 0%,
    oklch(from var(--color-accent) l c h / 0.06) 30%,
    oklch(from var(--color-accent) l c h / 0.02) 60%,
    transparent 100%
  );
  animation: halo-breathe 8s ease-in-out infinite;
  filter: blur(40px);
}

@keyframes halo-breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* --- Rayon de lumière diagonal --- */
.hero-anim__ray {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 200px;
  height: 140%;
  background: linear-gradient(
    180deg,
    rgba(184, 149, 46, 0.08) 0%,
    rgba(184, 149, 46, 0.03) 50%,
    transparent 100%
  );
  background: linear-gradient(
    180deg,
    oklch(from var(--color-accent) l c h / 0.08) 0%,
    oklch(from var(--color-accent) l c h / 0.03) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: ray-drift 12s ease-in-out infinite;
  filter: blur(30px);
}

@keyframes ray-drift {
  0%, 100% { transform: rotate(25deg) translateX(0); opacity: 0.5; }
  50% { transform: rotate(25deg) translateX(-30px); opacity: 0.8; }
}

/* --- Particules flottantes --- */
.hero-anim__particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float linear infinite;
  will-change: transform, opacity;
}

/* Tailles et couleurs variées (oklch uniquement — rgba supprimés) */
.hero-anim__particle--1  { width: 6px;  height: 6px;  background: oklch(from var(--color-accent) l c h / 0.4);  left: 8%;   top: 15%;  animation-duration: 14s; animation-delay: 0s; }
.hero-anim__particle--2  { width: 4px;  height: 4px;  background: oklch(from var(--color-terracotta) l c h / 0.35); left: 20%;  top: 60%;  animation-duration: 18s; animation-delay: -2s; }
.hero-anim__particle--3  { width: 8px;  height: 8px;  background: oklch(from var(--color-accent) l c h / 0.25);  left: 35%;  top: 30%;  animation-duration: 20s; animation-delay: -5s; }
.hero-anim__particle--4  { width: 5px;  height: 5px;  background: oklch(from var(--color-primary) l c h / 0.3);   left: 50%;  top: 70%;  animation-duration: 16s; animation-delay: -3s; }
.hero-anim__particle--5  { width: 3px;  height: 3px;  background: oklch(from var(--color-accent) l c h / 0.5);  left: 65%;  top: 20%;  animation-duration: 22s; animation-delay: -7s; }
.hero-anim__particle--6  { width: 7px;  height: 7px;  background: oklch(from var(--color-terracotta) l c h / 0.2); left: 78%;  top: 50%;  animation-duration: 15s; animation-delay: -1s; }
.hero-anim__particle--7  { width: 4px;  height: 4px;  background: oklch(from var(--color-accent) l c h / 0.35);  left: 90%;  top: 35%;  animation-duration: 19s; animation-delay: -9s; }
.hero-anim__particle--8  { width: 5px;  height: 5px;  background: oklch(from var(--color-primary) l c h / 0.25);   left: 15%;  top: 80%;  animation-duration: 17s; animation-delay: -4s; }
.hero-anim__particle--9  { width: 6px;  height: 6px;  background: oklch(from var(--color-accent) l c h / 0.3);  left: 42%;  top: 10%;  animation-duration: 21s; animation-delay: -6s; }
.hero-anim__particle--10 { width: 3px;  height: 3px;  background: oklch(from var(--color-terracotta) l c h / 0.4); left: 55%;  top: 85%;  animation-duration: 13s; animation-delay: -8s; }
.hero-anim__particle--11 { width: 5px;  height: 5px;  background: oklch(from var(--color-accent) l c h / 0.3);  left: 72%;  top: 75%;  animation-duration: 16s; animation-delay: -10s; }
.hero-anim__particle--12 { width: 4px;  height: 4px;  background: oklch(from var(--color-primary) l c h / 0.35);   left: 88%;  top: 15%;  animation-duration: 18s; animation-delay: -2s; }

@keyframes particle-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(-30px, -60px) scale(1.3);
    opacity: 0.7;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(20px, -120px) scale(0.8);
    opacity: 0;
  }
}

/* --- Étoiles scintillantes (SVG) --- */
.hero-anim__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-anim__star {
  fill: var(--color-accent);
  animation: star-twinkle ease-in-out infinite;
}

.hero-anim__star--1  { animation-duration: 3s;   animation-delay: 0s; }
.hero-anim__star--2  { animation-duration: 4s;   animation-delay: -1.2s; }
.hero-anim__star--3  { animation-duration: 3.5s; animation-delay: -0.5s; }
.hero-anim__star--4  { animation-duration: 5s;   animation-delay: -2.5s; }
.hero-anim__star--5  { animation-duration: 3.2s; animation-delay: -1.8s; }
.hero-anim__star--6  { animation-duration: 4.5s; animation-delay: -0.8s; }
.hero-anim__star--7  { animation-duration: 3.8s; animation-delay: -3s; }
.hero-anim__star--8  { animation-duration: 4.2s; animation-delay: -1.5s; }
.hero-anim__star--9  { animation-duration: 3.6s; animation-delay: -2.2s; }
.hero-anim__star--10 { animation-duration: 5.5s; animation-delay: -0.3s; }
.hero-anim__star--11 { animation-duration: 4s;   animation-delay: -3.5s; }
.hero-anim__star--12 { animation-duration: 3.3s; animation-delay: -1s; }
.hero-anim__star--13 { animation-duration: 4.8s; animation-delay: -2.8s; }
.hero-anim__star--14 { animation-duration: 3.7s; animation-delay: -0.7s; }
.hero-anim__star--15 { animation-duration: 5.2s; animation-delay: -4s; }

@keyframes star-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.4); }
}

/* --- Respect du prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-anim__particle,
  .hero-anim__star,
  .hero-anim__halo,
  .hero-anim__ray {
    animation: none;
    opacity: 0.3;
  }
}

/* --- Mobile : réduire les effets pour la performance --- */
@media (max-width: 768px) {
  .hero-anim__halo {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    filter: blur(25px);
  }
  .hero-anim__ray {
    width: 120px;
    filter: blur(20px);
  }
  .hero-anim__particle--7,
  .hero-anim__particle--8,
  .hero-anim__particle--9,
  .hero-anim__particle--10,
  .hero-anim__particle--11,
  .hero-anim__particle--12 {
    display: none;
  }
  .hero-anim__star--8,
  .hero-anim__star--9,
  .hero-anim__star--10,
  .hero-anim__star--11,
  .hero-anim__star--12,
  .hero-anim__star--13,
  .hero-anim__star--14,
  .hero-anim__star--15 {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero__bg::after {
    background: rgba(250, 248, 244, 0.85);
    background: oklch(from var(--color-bg) l c h / 0.85);
  }
  .hero__content {
    padding: var(--space-6) var(--space-4);
  }
  .hero__title {
    font-size: var(--text-2xl);
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
    min-height: 48px;
    text-align: center;
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: var(--space-8);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__desc {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-8);
  max-width: 480px;
  line-height: 1.7;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(45, 42, 38, 0.15);
  border: 1px solid oklch(from var(--color-text) l c h / 0.15);
}
.btn--outline:hover {
  background: var(--color-surface);
  border-color: rgba(45, 42, 38, 0.25);
  border-color: oklch(from var(--color-text) l c h / 0.25);
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: left;
  margin-bottom: var(--space-12);
}
.section-header__label {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-header__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ========================================
   INTRO SECTION (after hero)
   ======================================== */
.intro {
  background: var(--color-surface);
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-8);
}
.intro__item {
  padding: var(--space-6);
}
.intro__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.intro__item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-3);
}
.intro__item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .intro__grid { grid-template-columns: 1fr; }
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  overflow: hidden;
}
.services-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 248, 244, 0.88) 0%,
    rgba(250, 248, 244, 0.6) 60%,
    rgba(250, 248, 244, 0.3) 100%
  );
  background: linear-gradient(
    to right,
    oklch(from var(--color-bg) l c h / 0.88) 0%,
    oklch(from var(--color-bg) l c h / 0.6) 60%,
    oklch(from var(--color-bg) l c h / 0.3) 100%
  );
}
.services-hero__content {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  gap: var(--space-8);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid transparent;
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.45s ease;
}

/* Inner shimmer — soft warm glow that appears on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(184, 149, 46, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(107, 127, 78, 0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.service-card:hover::before {
  opacity: 1;
}

/* Ensure content stays above the shimmer */
.service-card__content,
.service-card__image {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(107, 127, 78, 0.10),
    0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(119, 137, 108, 0.18);
  border-color: oklch(from var(--color-primary) l c h / 0.18);
}

.service-card:nth-child(even) .service-card__image { order: -1; }

/* Staggered entrance */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.12s; }
.service-card:nth-child(3) { animation-delay: 0.24s; }
.service-card:nth-child(4) { animation-delay: 0.36s; }

.service-card__image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
  transition: color 0.3s ease;
}
.service-card:hover .service-card__content h3 {
  color: var(--color-primary);
}

.service-card__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.service-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.service-card__tag {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-card__tag {
  background: rgba(119, 137, 108, 0.1);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-accent);
  transition: transform 0.3s ease;
}
.service-card:hover .service-card__price {
  transform: scale(1.05);
}

.service-card__cta {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.service-card__cta .btn {
  width: auto;
}

@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 1fr;
    padding: var(--space-4);
    gap: var(--space-4);
  }
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }
  .service-card::before {
    display: none;
  }
  .service-card:nth-child(even) .service-card__image { order: 0; }
  .service-card__image {
    aspect-ratio: 16/9;
    max-height: 200px;
    border-radius: var(--radius-md);
  }
  .service-card__content h3 {
    font-size: var(--text-lg);
  }
  .services-hero__bg::after {
    background: rgba(250, 248, 244, 0.85);
    background: oklch(from var(--color-bg) l c h / 0.85);
  }
  .section-header {
    text-align: center;
  }
  .section-header__desc {
    margin-inline: auto;
  }
}

/* Service cards : breakpoint spécifique mobile ≤640px */
@media (max-width: 640px) {
  .service-card {
    grid-template-columns: 1fr;
    padding: var(--space-3);
    gap: var(--space-3);
  }
  .services-grid {
    gap: var(--space-6);
  }
  .service-card__image {
    max-height: 180px;
  }
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
}
.about-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-6);
}
.about-hero__content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.about-values {
  background: var(--color-surface);
}
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.about-values__item {
  padding: var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}
.about-values__item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-3);
}
.about-values__item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .about-hero__image {
    aspect-ratio: 4/3;
    max-height: 300px;
  }
  .about-hero__content h2 {
    font-size: var(--text-xl);
    text-align: center;
  }
  .about-hero__content .divider {
    margin-inline: auto;
  }
  .about-values__grid { grid-template-columns: 1fr; }
  .about-values__item {
    padding: var(--space-5);
  }
}

/* ========================================
   TESTIMONIALS PAGE
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Motif tarot/oracle en arrière-plan */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' stroke='%23b8952e' stroke-width='0.5'%3E%3Ccircle cx='100' cy='100' r='70'/%3E%3Ccircle cx='100' cy='100' r='45'/%3E%3Ccircle cx='100' cy='100' r='20'/%3E%3Cline x1='100' y1='10' x2='100' y2='190'/%3E%3Cline x1='10' y1='100' x2='190' y2='100'/%3E%3Cline x1='30' y1='30' x2='170' y2='170'/%3E%3Cline x1='170' y1='30' x2='30' y2='170'/%3E%3Cpolygon points='100,30 112,70 155,70 120,92 132,132 100,108 68,132 80,92 45,70 88,70' /%3E%3Ccircle cx='100' cy='36' r='4'/%3E%3Ccircle cx='100' cy='164' r='4'/%3E%3Ccircle cx='36' cy='100' r='4'/%3E%3Ccircle cx='164' cy='100' r='4'/%3E%3Cpath d='M100 55 C115 75,115 125,100 145 C85 125,85 75,100 55Z'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-position: right -30px bottom -30px;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.testimonial-card:hover::before {
  opacity: 0.19;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(184, 149, 46, 0.08), 0 2px 8px rgba(0,0,0,0.03);
  border-color: rgba(184, 149, 46, 0.15);
}

.testimonial-card__stars {
  position: relative;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
}
.testimonial-card__text {
  position: relative;
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-6);
}
.testimonial-card__author {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
}
.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 500;
}
.testimonial-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .testimonial-card {
    padding: var(--space-5);
  }
  .testimonial-card__text {
    font-size: var(--text-sm);
    line-height: 1.7;
  }
}

/* ========================================
   BLOG PAGE
   ======================================== */
.blog-hero {
  position: relative;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  overflow: hidden;
}
.blog-hero__bg {
  position: absolute;
  inset: 0;
}
.blog-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 248, 244, 0.9) 0%,
    rgba(250, 248, 244, 0.65) 100%
  );
  background: linear-gradient(
    to right,
    oklch(from var(--color-bg) l c h / 0.9) 0%,
    oklch(from var(--color-bg) l c h / 0.65) 100%
  );
}
.blog-hero__content {
  position: relative;
  z-index: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}
.blog-card__content {
  position: relative;
  padding: var(--space-6);
  overflow: hidden;
}

/* Carte Le Soleil (Tarot de Marseille) — arrière-plan */
.blog-card__content::before {
  content: '';
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 200px;
  height: 200px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 300' fill='none'%3E%3C!-- Soleil: disque central --%3E%3Ccircle cx='120' cy='95' r='36' fill='%23d4af37' fill-opacity='0.25' stroke='%23b8952e' stroke-width='1.2'/%3E%3Ccircle cx='120' cy='95' r='30' stroke='%23b8952e' stroke-width='0.6'/%3E%3C!-- Visage --%3E%3Ccircle cx='110' cy='88' r='3.5' fill='%23b8952e'/%3E%3Ccircle cx='130' cy='88' r='3.5' fill='%23b8952e'/%3E%3Cellipse cx='120' cy='98' rx='5' ry='2' stroke='%23b8952e' stroke-width='0.8'/%3E%3Cpath d='M112 80 Q120 76 128 80' stroke='%23b8952e' stroke-width='0.6'/%3E%3C!-- Bordure ondul%C3%A9e du soleil --%3E%3Ccircle cx='120' cy='95' r='40' stroke='%23b8952e' stroke-width='0.4' stroke-dasharray='3 3'/%3E%3C!-- Grands rayons droits (cardinaux) --%3E%3Cline x1='120' y1='12' x2='120' y2='50' stroke='%23b8952e' stroke-width='1.5'/%3E%3Cline x1='120' y1='140' x2='120' y2='178' stroke='%23b8952e' stroke-width='1.5'/%3E%3Cline x1='30' y1='95' x2='75' y2='95' stroke='%23b8952e' stroke-width='1.5'/%3E%3Cline x1='165' y1='95' x2='210' y2='95' stroke='%23b8952e' stroke-width='1.5'/%3E%3C!-- Rayons diagonaux larges (flammes color%C3%A9es) --%3E%3Cpath d='M120 55 L112 25 L120 35 L128 25Z' fill='%23b8952e' fill-opacity='0.4'/%3E%3Cpath d='M120 135 L112 165 L120 155 L128 165Z' fill='%23b8952e' fill-opacity='0.4'/%3E%3Cpath d='M80 95 L50 87 L60 95 L50 103Z' fill='%23b8952e' fill-opacity='0.4'/%3E%3Cpath d='M160 95 L190 87 L180 95 L190 103Z' fill='%23b8952e' fill-opacity='0.4'/%3E%3C!-- Rayons obliques --%3E%3Cpath d='M92 67 L65 38 L78 55Z' fill='%23b8952e' fill-opacity='0.3'/%3E%3Cpath d='M148 67 L175 38 L162 55Z' fill='%23b8952e' fill-opacity='0.3'/%3E%3Cpath d='M92 123 L65 152 L78 135Z' fill='%23b8952e' fill-opacity='0.3'/%3E%3Cpath d='M148 123 L175 152 L162 135Z' fill='%23b8952e' fill-opacity='0.3'/%3E%3C!-- Rayons fins suppl%C3%A9mentaires --%3E%3Cline x1='86' y1='62' x2='55' y2='30' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='154' y1='62' x2='185' y2='30' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='86' y1='128' x2='55' y2='160' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='154' y1='128' x2='185' y2='160' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='76' y1='78' x2='40' y2='58' stroke='%23b8952e' stroke-width='0.5'/%3E%3Cline x1='164' y1='78' x2='200' y2='58' stroke='%23b8952e' stroke-width='0.5'/%3E%3Cline x1='76' y1='112' x2='40' y2='132' stroke='%23b8952e' stroke-width='0.5'/%3E%3Cline x1='164' y1='112' x2='200' y2='132' stroke='%23b8952e' stroke-width='0.5'/%3E%3C!-- Gouttes tombantes --%3E%3Cpath d='M68 165 Q66 172 68 178 Q70 172 68 165Z' fill='%23b8952e' fill-opacity='0.5'/%3E%3Cpath d='M95 175 Q93 182 95 188 Q97 182 95 175Z' fill='%23b8952e' fill-opacity='0.4'/%3E%3Cpath d='M145 175 Q143 182 145 188 Q147 182 145 175Z' fill='%23b8952e' fill-opacity='0.4'/%3E%3Cpath d='M172 165 Q170 172 172 178 Q174 172 172 165Z' fill='%23b8952e' fill-opacity='0.5'/%3E%3Cpath d='M82 155 Q80 162 82 168 Q84 162 82 155Z' fill='%23b8952e' fill-opacity='0.35'/%3E%3Cpath d='M158 155 Q156 162 158 168 Q160 162 158 155Z' fill='%23b8952e' fill-opacity='0.35'/%3E%3Cpath d='M110 180 Q108 187 110 193 Q112 187 110 180Z' fill='%23b8952e' fill-opacity='0.3'/%3E%3Cpath d='M130 180 Q128 187 130 193 Q132 187 130 180Z' fill='%23b8952e' fill-opacity='0.3'/%3E%3C!-- Deux personnages simplifi%C3%A9s --%3E%3Ccircle cx='100' cy='215' r='8' stroke='%23b8952e' stroke-width='0.8'/%3E%3Cline x1='100' y1='223' x2='100' y2='250' stroke='%23b8952e' stroke-width='0.8'/%3E%3Cline x1='100' y1='232' x2='88' y2='225' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='100' y1='232' x2='112' y2='240' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='100' y1='250' x2='90' y2='268' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='100' y1='250' x2='110' y2='268' stroke='%23b8952e' stroke-width='0.7'/%3E%3Ccircle cx='140' cy='215' r='8' stroke='%23b8952e' stroke-width='0.8'/%3E%3Cline x1='140' y1='223' x2='140' y2='250' stroke='%23b8952e' stroke-width='0.8'/%3E%3Cline x1='140' y1='232' x2='128' y2='240' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='140' y1='232' x2='152' y2='225' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='140' y1='250' x2='130' y2='268' stroke='%23b8952e' stroke-width='0.7'/%3E%3Cline x1='140' y1='250' x2='150' y2='268' stroke='%23b8952e' stroke-width='0.7'/%3E%3C!-- Mur de briques --%3E%3Crect x='55' y='270' width='130' height='25' stroke='%23b8952e' stroke-width='0.6' rx='1'/%3E%3Cline x1='55' y1='280' x2='185' y2='280' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='80' y1='270' x2='80' y2='280' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='110' y1='270' x2='110' y2='280' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='140' y1='270' x2='140' y2='280' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='170' y1='270' x2='170' y2='280' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='95' y1='280' x2='95' y2='295' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='125' y1='280' x2='125' y2='295' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='155' y1='280' x2='155' y2='295' stroke='%23b8952e' stroke-width='0.4'/%3E%3Cline x1='68' y1='280' x2='68' y2='295' stroke='%23b8952e' stroke-width='0.4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.blog-card:hover .blog-card__content::before {
  opacity: 0.22;
}
.blog-card__category {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.blog-card__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}
.blog-card__views {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8rem;
  color: var(--color-text-faint);
}
.blog-card__views svg {
  opacity: 0.6;
}
.blog-card__heart {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: none;
  border: none;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-faint);
  transition: all 0.25s ease;
}
.blog-card__heart:hover {
  color: var(--color-terracotta);
}
.blog-card__heart.hearted {
  color: var(--color-terracotta);
}
.blog-card__heart.hearted svg {
  fill: var(--color-terracotta);
}
.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .blog-card__content {
    padding: var(--space-4);
  }
  .blog-card__title {
    font-size: var(--text-base);
  }
  .blog-hero__bg::after {
    background: rgba(250, 248, 244, 0.88);
    background: oklch(from var(--color-bg) l c h / 0.88);
  }
  .blog-card__heart {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-centered {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.contact-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

/* Horaires card */
.horaires-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  max-width: 420px;
  margin-inline: auto;
}
.horaires-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(119, 137, 108, 0.1);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
}
.horaires-card__body {
  width: 100%;
}
.horaires-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  margin: 0 0 var(--space-3) 0;
  color: var(--color-text);
}
.horaires-card__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-1) var(--space-4);
  font-size: var(--text-sm);
}
.horaires-card__day {
  color: var(--color-text-muted);
}
.horaires-card__time {
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}
.horaires-card__time--closed {
  color: var(--color-text-faint);
  font-weight: 400;
}
.horaires-card__note {
  font-size: var(--text-xs);
  color: var(--color-primary);
  margin: var(--space-2) 0 0 0;
  opacity: 0.85;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition-interactive),
              box-shadow var(--transition-interactive),
              background var(--transition-interactive);
}
.contact-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--color-surface-2);
}

.contact-action__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.contact-action:hover .contact-action__icon {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.contact-action__icon--whatsapp {
  color: #25D366;
}
.contact-action:hover .contact-action__icon--whatsapp {
  background: #25D366;
  color: #fff;
}

.contact-action__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
}
.contact-action__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  word-break: break-all;
}
/* Fix email truncation in contact section */
.contact-action a,
.contact-action span {
  word-break: break-all;
  overflow-wrap: anywhere;
}
.contact-action__cta {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  margin-top: var(--space-2);
}

.contact-action__availability {
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

.contact-location {
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.contact-location__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.contact-location__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 500px;
  margin-inline: auto;
}

.contact-availability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .contact-actions {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .contact-action {
    padding: var(--space-6) var(--space-4);
  }
  .contact-info .section-header__title {
    font-size: var(--text-xl);
  }
  .contact-location__map iframe {
    height: 200px;
  }
}

/* ========================================
   TRUST BANNER
   ======================================== */

.trust-banner {
  padding-block: 0 var(--space-6);
}

.trust-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-sm);
}

.trust-banner__lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-subtle, rgba(139, 92, 246, 0.1));
  color: var(--color-primary);
  flex-shrink: 0;
}

.trust-banner__text {
  text-align: left;
}

.trust-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

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

.trust-banner__icons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.trust-icon {
  width: 48px;
  height: 32px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .trust-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .trust-banner__text {
    text-align: center;
  }

  .trust-banner__icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--color-surface);
  text-align: center;
}
.cta-section__inner {
  max-width: 600px;
  margin-inline: auto;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
}
.cta-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ========================================
   NEWSLETTER SECTION (ACCUEIL)
   ======================================== */
.newsletter-section {
  background: var(--color-surface);
  text-align: center;
}
.newsletter-section__inner {
  max-width: 620px;
  margin-inline: auto;
  padding: var(--space-12) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.newsletter-section__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(194, 124, 97, 0.10);
  background: oklch(from var(--color-terracotta) l c h / 0.10);
  display: grid;
  place-items: center;
  color: var(--color-terracotta);
  margin-bottom: var(--space-2);
}
.newsletter-section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}
.newsletter-section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.newsletter-section .newsletter-inline {
  width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding-block: var(--space-12);
  border-top: 1px solid rgba(45, 42, 38, 0.06);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-3);
  max-width: 280px;
}
.footer__socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive);
}
.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse, #fff);
  transform: translateY(-2px);
}
.footer__col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}
.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-1);
}
.footer__col a:hover {
  color: var(--color-text);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(45, 42, 38, 0.06);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__bottom a {
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: var(--color-text-muted);
}
.footer__visiteurs {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  opacity: 0.7;
  margin: 0;
}
.footer__visiteurs span {
  font-weight: 600;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .footer {
    padding-block: var(--space-8);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer__brand p {
    max-width: 100%;
    margin-inline: auto;
  }
  .footer__socials {
    justify-content: center;
  }
  .footer__brand .header__logo {
    justify-content: center;
  }
  .footer__brand .header__logo::before {
    left: calc(50% - 50px);
    top: 50%;
    width: 110px;
    height: 110px;
    filter: blur(14px);
    transform: translate(-50%, -50%);
  }
  .footer__col h4 {
    font-size: var(--text-xs);
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
  padding-block: var(--space-8) var(--space-16);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.legal-page h2:first-of-type {
  margin-top: var(--space-8);
}
.legal-page p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.legal-page p a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page p a:hover {
  color: var(--color-primary-hover);
}
.legal-page ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.legal-page ul li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2);
  list-style: disc;
}
.legal-page ul li strong {
  color: var(--color-text);
  font-weight: 500;
}
.legal-page p strong {
  color: var(--color-text);
  font-weight: 500;
}
.legal-page__updated {
  margin-top: var(--space-12);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-style: italic;
}

/* ========================================
   PAYPAL PAYMENT BUTTONS
   ======================================== */
.service-card__pricing {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.paypal-form {
  display: contents;
}

.btn--paypal {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-body);
  color: #fff;
  background: #0070ba;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn--paypal:hover {
  background: #005ea6;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--paypal:active {
  transform: translateY(0);
  background: #004d8c;
}

.paypal-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Stripe / CB button ---- */
.btn--stripe {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-body);
  color: #fff;
  background: #635bff;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn--stripe:hover {
  background: #4b45c6;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn--stripe:active {
  transform: translateY(0);
  background: #3d38a3;
}

.stripe-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-card__pricing {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  .service-card__pricing .btn--paypal,
  .service-card__pricing .btn--stripe,
  .service-card__pricing .btn--primary,
  .service-card__pricing .btn--sm {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    text-align: center;
  }
}

/* ========================================
   BOUTIQUE COMING SOON
   ======================================== */
.boutique-coming {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  padding: var(--space-8);
}
.boutique-coming__icon {
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  display: flex;
  justify-content: center;
}
.boutique-coming__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-6);
}
.boutique-coming__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.boutique-coming__text:last-of-type {
  margin-bottom: var(--space-8);
}

/* ========================================
   CAL.COM ELEMENTS
   ======================================== */
.cal-badge {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}
.cal-note {
  font-size: var(--text-xs) !important;
  color: var(--color-text-faint) !important;
  margin-top: var(--space-3) !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.contact-calendly {
  margin-bottom: var(--space-8);
}
.contact-action--cal {
  max-width: 400px;
  margin-inline: auto;
  gap: var(--space-4);
}
.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

/* ========================================
   BLOG ARTICLE OVERLAY
   ======================================== */
.blog-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
}
.blog-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(250, 248, 244, 0.85);
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.blog-overlay__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-16) var(--space-24);
}
.blog-overlay__close {
  position: fixed;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 101;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}
.blog-overlay__close:hover {
  background: var(--color-surface-2);
}

#blog-article-body {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow: var(--shadow-lg);
}
#blog-article-body .blog-article__category {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
#blog-article-body .blog-article__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
#blog-article-body .blog-article__meta {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
}
#blog-article-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
#blog-article-body h2:first-of-type {
  margin-top: var(--space-6);
}
#blog-article-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}
#blog-article-body p strong {
  color: var(--color-text);
  font-weight: 500;
}
#blog-article-body ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
#blog-article-body ul li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-2);
  list-style: disc;
}
#blog-article-body .blog-article__cta {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}
#blog-article-body .blog-article__cta p {
  text-align: center;
  font-style: italic;
  max-width: 100%;
}

@media (max-width: 768px) {
  #blog-article-body {
    padding: var(--space-6) var(--space-4);
  }
}

/* ========================================
   BLOG INTERACTIONS — Likes & Commentaires
   ======================================== */
.blog-interactions {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

/* Like button */
.blog-like {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.blog-like__btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: all 0.25s ease;
}
.blog-like__btn svg {
  width: 20px;
  height: 20px;
  transition: all 0.25s ease;
}
.blog-like__btn:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}
.blog-like__btn.liked {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}
.blog-like__btn.liked svg {
  fill: var(--color-terracotta);
}
.blog-like__btn.liked .like-anim {
  animation: like-pop 0.35s ease;
}
@keyframes like-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Comments section */
.blog-comments__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.blog-comments__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.blog-comments__input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}
.blog-comments__input:focus {
  border-color: var(--color-primary);
}
.blog-comments__input::placeholder {
  color: var(--color-text-faint);
}
textarea.blog-comments__input {
  min-height: 80px;
  resize: vertical;
}
.blog-comments__submit {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: var(--space-2) var(--space-5);
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  cursor: pointer;
  transition: background 0.2s;
}
.blog-comments__submit:hover {
  background: var(--color-primary-hover);
}
.blog-comments__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.blog-comment {
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
}
.blog-comment__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}
.blog-comment__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.blog-comment__date {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}
.blog-comment__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}
.blog-comments__empty {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  font-style: italic;
}

/* ========================================
   NEWSLETTER
   ======================================== */

/* --- Global banner (before footer) --- */
.newsletter-banner {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.newsletter-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin-inline: auto;
}

.newsletter-banner__content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  flex: 1;
  min-width: 0;
}

.newsletter-banner__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  flex-shrink: 0;
}

.newsletter-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.newsletter-banner__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 420px;
}

/* --- Form shared styles --- */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.newsletter-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.newsletter-form__row {
  display: flex;
  gap: var(--space-3);
  align-items: stretch;
}

.newsletter-form__input {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
  min-width: 0;
}
.newsletter-form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(119, 137, 108, 0.12);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.12);
}
.newsletter-form__input::placeholder {
  color: var(--color-text-faint);
}
.newsletter-form__input--email {
  flex: 1;
}

.newsletter-form__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-form__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  margin: 0;
}

/* --- Success state --- */
.newsletter-success[hidden] {
  display: none;
}
.newsletter-success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: rgba(119, 137, 108, 0.08);
  background: oklch(from var(--color-primary) l c h / 0.08);
  border: 1px solid rgba(119, 137, 108, 0.2);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.2);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  animation: newsletter-appear 0.4s var(--ease-out);
}
.newsletter-success p {
  font-size: var(--text-sm);
  margin: 0;
  color: var(--color-text);
}

@keyframes newsletter-appear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Inline version (Boutique page) --- */
.newsletter-inline {
  margin-top: var(--space-6);
  max-width: 460px;
  margin-inline: auto;
}
.newsletter-inline .newsletter-form__fields {
  flex-direction: column;
  gap: var(--space-3);
}
.newsletter-inline .newsletter-form__btn {
  align-self: center;
  margin-top: var(--space-2);
}

/* --- Banner form alignment --- */
.newsletter-form--banner {
  flex-shrink: 0;
  max-width: 440px;
}
.newsletter-form--banner .newsletter-form__row {
  flex-wrap: wrap;
}
.newsletter-form--banner .newsletter-form__input {
  flex: 1;
  min-width: 140px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .newsletter-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
  }
  .newsletter-banner__content {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-banner__desc {
    max-width: 100%;
  }
  .newsletter-form--banner {
    max-width: 100%;
    width: 100%;
  }
  .newsletter-form--banner .newsletter-form__row {
    flex-direction: column;
  }
  .newsletter-form--banner .newsletter-form__btn {
    width: 100%;
    justify-content: center;
  }
  .newsletter-success {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in { opacity: 1; }

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ========================================
   DIVIDER
   ======================================== */
.divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-6);
}

/* ========================================
   AUTHENTIFICATION — Pages & Formulaires
   ======================================== */

.auth-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.auth-card {
  max-width: 520px;
  margin-inline: auto;
  padding: var(--space-10) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.auth-card__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--space-3);
  max-width: 100%;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.auth-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.auth-form__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.auth-form__required {
  color: var(--color-terracotta);
}

.auth-form__optional {
  font-weight: 400;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

.auth-form__input {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
  width: 100%;
}

.auth-form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(119, 137, 108, 0.12);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.12);
}

.auth-form__input::placeholder {
  color: var(--color-text-faint);
}

.auth-form__input--error {
  border-color: var(--color-terracotta);
}

.auth-form__input--error:focus {
  box-shadow: 0 0 0 3px rgba(194, 124, 97, 0.12);
  box-shadow: 0 0 0 3px oklch(from var(--color-terracotta) l c h / 0.12);
}

.auth-form__password-wrapper {
  position: relative;
}

.auth-form__password-wrapper .auth-form__input {
  padding-right: var(--space-12);
}

.auth-form__toggle-pwd {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-faint);
  cursor: pointer;
  background: none;
  border: none;
}

.auth-form__toggle-pwd:hover {
  color: var(--color-text-muted);
}

.auth-form__hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0;
}

.auth-form__submit {
  width: 100%;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  margin-top: var(--space-2);
}

.auth-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-form__message {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.auth-form__message[hidden] {
  display: none;
}

.auth-form__message--succes {
  background: rgba(119, 137, 108, 0.08);
  background: oklch(from var(--color-primary) l c h / 0.08);
  border: 1px solid rgba(119, 137, 108, 0.2);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.2);
  color: var(--color-primary);
}

.auth-form__message--erreur {
  background: rgba(194, 124, 97, 0.08);
  background: oklch(from var(--color-terracotta) l c h / 0.08);
  border: 1px solid rgba(194, 124, 97, 0.2);
  border: 1px solid oklch(from var(--color-terracotta) l c h / 0.2);
  color: var(--color-terracotta);
}

.auth-card__footer {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
}

.auth-card__link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

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

/* --- Navigation auth links --- */
.nav-auth {
  font-weight: 500 !important;
  color: var(--color-primary) !important;
}

.nav-auth--client[hidden] {
  display: none;
}

/* --- Page Mon Compte : Guest state --- */
.compte-guest {
  max-width: 520px;
  text-align: center;
}
.compte-guest__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
}
.compte-guest__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(119, 137, 108, 0.08);
  background: oklch(from var(--color-primary) l c h / 0.08);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.compte-guest__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}
.compte-guest__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
}
.compte-guest__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.compte-guest__actions .btn {
  min-width: 160px;
  justify-content: center;
}

/* --- Page Mon Compte : Authenticated state --- */
.compte-auth[hidden] { display: none; }

.compte-header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.compte-header__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-terracotta));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.compte-header__info {
  min-width: 0;
}
.compte-header__info .section-header__label {
  margin-bottom: var(--space-1);
}
.compte-header__info .section-header__title {
  font-size: var(--text-2xl);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Page Mon Compte : Profile info --- */
.compte-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.compte-info__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
  transition: background-color 0.15s ease;
}
.compte-info__item:hover {
  background: rgba(119, 137, 108, 0.03);
  background: oklch(from var(--color-primary) l c h / 0.03);
}

.compte-info__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.compte-info__value {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Edit profile button --- */
.compte-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-4);
}

/* --- Edit profile form --- */
.compte-edit-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
  animation: compte-slide-in 0.25s ease;
}
.compte-edit-form__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.compte-edit-form__actions .btn {
  flex: 1;
  justify-content: center;
}

/* --- Mon Compte : cadre élargi --- */
#mon-compte .auth-card {
  max-width: 740px;
}

/* --- Onglets Mon Compte --- */
.compte-tabs {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: var(--space-1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.compte-tabs::-webkit-scrollbar {
  display: none;
}

.compte-tabs__btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
  white-space: nowrap;
  position: relative;
}

.compte-tabs__btn:hover {
  color: var(--color-text);
}

.compte-tabs__btn--active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.compte-tabs__btn svg {
  flex-shrink: 0;
}

/* --- Contenu des onglets --- */
.compte-tab-content {
  display: none;
}

.compte-tab-content--active {
  display: block;
  animation: compte-slide-in 0.3s ease;
}

@keyframes compte-slide-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- État vide --- */
.compte-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-4);
  gap: var(--space-3);
}

.compte-empty__illustration {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(119, 137, 108, 0.06);
  background: oklch(from var(--color-primary) l c h / 0.06);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

.compte-empty__icon {
  color: var(--color-primary);
  opacity: 0.5;
}

.compte-empty__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.compte-empty__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 320px;
  margin: 0;
  line-height: 1.5;
}

.compte-empty__btn {
  margin-top: var(--space-4);
}

/* --- Saisie coupon --- */
.coupon-saisie {
  margin-bottom: var(--space-6);
}

.coupon-saisie__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 var(--space-3) 0;
}

.coupon-saisie__row {
  display: flex;
  gap: var(--space-3);
}

.coupon-saisie__row .auth-form__input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coupon-saisie__row .btn {
  white-space: nowrap;
}

/* --- Liste commandes/paiements/coupons --- */
.compte-liste {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.compte-liste__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
  gap: var(--space-4);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.compte-liste__item:hover {
  background: rgba(119, 137, 108, 0.03);
  background: oklch(from var(--color-primary) l c h / 0.03);
  border-color: rgba(119, 137, 108, 0.15);
  border-color: oklch(from var(--color-primary) l c h / 0.15);
}

.compte-liste__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.compte-liste__service {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
}

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

.compte-liste__montant {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.compte-liste__statut {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  white-space: nowrap;
}

.compte-liste__statut--paye {
  background: hsl(142 50% 92%);
  color: hsl(142 50% 30%);
}

.compte-liste__statut--actif {
  background: hsl(210 50% 92%);
  color: hsl(210 50% 30%);
}

.compte-liste__statut--expire {
  background: hsl(0 30% 92%);
  color: hsl(0 30% 40%);
}

.compte-liste__coupon-code {
  font-family: monospace;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.compte-liste__coupon-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .auth-card {
    padding: var(--space-6) var(--space-4);
  }

  .auth-form__row {
    grid-template-columns: 1fr;
  }

  .compte-tabs {
    gap: 0;
  }

  .compte-tabs__btn {
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
    gap: var(--space-1);
    flex-direction: column;
    text-align: center;
  }

  .compte-tabs__btn svg {
    width: 16px;
    height: 16px;
  }

  .compte-tabs__label {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .compte-header {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }
  .compte-header__info .section-header__title {
    white-space: normal;
    font-size: var(--text-xl);
  }

  .compte-guest__actions {
    flex-direction: column;
    width: 100%;
  }
  .compte-guest__actions .btn {
    min-width: auto;
    width: 100%;
  }
  .compte-guest__title {
    font-size: var(--text-lg);
  }

  .compte-edit-form__actions {
    flex-direction: column;
  }

  .compte-info__item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  .compte-info__value {
    max-width: 100%;
    text-align: left;
  }
}

/* --- Zone de danger (suppression compte) --- */
.compte-danger {
  margin-top: var(--space-10);
  border-top: 1px solid rgba(194, 124, 97, 0.2);
  border-top: 1px solid oklch(from var(--color-terracotta) l c h / 0.2);
}

.compte-danger__summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  cursor: pointer;
  padding: var(--space-4) 0;
  list-style: none;
  user-select: none;
  transition: opacity 0.2s;
}
.compte-danger__summary::-webkit-details-marker {
  display: none;
}
.compte-danger__summary::marker {
  content: '';
}
.compte-danger__summary:hover {
  opacity: 0.8;
}
.compte-danger__summary::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: auto;
}
.compte-danger[open] .compte-danger__summary::after {
  transform: rotate(-135deg);
}
.compte-danger__content {
  padding-bottom: var(--space-4);
  animation: compte-slide-in 0.25s ease;
}

.compte-danger__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.btn--danger {
  background: transparent;
  color: var(--color-terracotta);
  border: 1px solid rgba(194, 124, 97, 0.3);
  border: 1px solid oklch(from var(--color-terracotta) l c h / 0.3);
}
.btn--danger:hover {
  background: var(--color-terracotta);
  color: var(--color-text-inverse);
  border-color: var(--color-terracotta);
}

.compte-danger__actions {
  display: flex;
  gap: var(--space-3);
}
.compte-danger__actions .btn {
  flex: 1;
}

/* --- Modale de confirmation --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0 0 0 / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: modal-fade-in 0.2s ease;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(194, 124, 97, 0.1);
  background: oklch(from var(--color-terracotta) l c h / 0.1);
  border-radius: var(--radius-full);
  color: var(--color-terracotta);
}

.modal-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-3);
}

.modal-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.modal-card__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.modal-card__actions .btn {
  flex: 1;
  justify-content: center;
}

/* --- Modal close button --- */
.modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.modal-close:hover {
  background: rgba(45, 42, 38, 0.08);
  background: oklch(from var(--color-text) l c h / 0.08);
  color: var(--color-text);
}

/* --- Modal card positioning --- */
.modal-card {
  position: relative;
}

/* --- Wider modal variant --- */
.modal-card--wide {
  max-width: 520px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* Barre de défilement stylisée pour la modale */
.modal-card--wide::-webkit-scrollbar {
  width: 8px;
}
.modal-card--wide::-webkit-scrollbar-track {
  background: transparent;
}
.modal-card--wide::-webkit-scrollbar-thumb {
  background: oklch(from var(--color-primary) l c h / 0.35);
  border-radius: 4px;
}
.modal-card--wide::-webkit-scrollbar-thumb:hover {
  background: oklch(from var(--color-primary) l c h / 0.55);
}
.modal-card--wide {
  scrollbar-width: thin;
  scrollbar-color: oklch(from var(--color-primary) l c h / 0.35) transparent;
}

/* Bouton de fermeture sticky quand la modale scroll */
.modal-card--wide .modal-close {
  position: sticky;
  top: var(--space-3);
  margin-left: auto;
  margin-bottom: calc(var(--space-3) * -1);
  z-index: 2;
  background: var(--color-bg);
}

/* --- Service name display --- */
.modal-card__service {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: rgba(119, 137, 108, 0.08);
  background: oklch(from var(--color-primary) l c h / 0.08);
  border-radius: var(--radius-md);
  display: inline-block;
}
.modal-card__service:empty {
  display: none;
}
.modal-card__discount {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #16a34a;
  margin-top: calc(-1 * var(--space-2));
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: oklch(0.65 0.15 145 / 0.1);
  border-radius: var(--radius-sm);
  display: inline-block;
}
[data-theme="dark"] .modal-card__discount {
  color: #4ade80;
  background: oklch(0.65 0.15 145 / 0.15);
}

/* --- Icon color variants --- */
.modal-card__icon--paypal {
  background: oklch(0.55 0.1 250 / 0.1);
  color: #003087;
}
[data-theme="dark"] .modal-card__icon--paypal {
  background: oklch(0.55 0.1 250 / 0.15);
  color: #4da6ff;
}
.modal-card__icon--stripe {
  background: oklch(0.6 0.15 270 / 0.1);
  color: #635bff;
}
[data-theme="dark"] .modal-card__icon--stripe {
  background: oklch(0.6 0.15 270 / 0.15);
  color: #a299ff;
}
.modal-card__icon--cal {
  background: rgba(119, 137, 108, 0.1);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
}
.modal-card__icon--reflexo {
  background: rgba(119, 137, 108, 0.1);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
}
.modal-card__icon--email {
  background: rgba(119, 137, 108, 0.1);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
}
.modal-card__icon--avis {
  background: rgba(184, 149, 46, 0.1);
  background: oklch(from var(--color-accent) l c h / 0.1);
  color: var(--color-accent);
}

/* --- Legal preview inside modal --- */
.modal-legal-preview {
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
}
.modal-legal-preview p {
  margin: 0 0 var(--space-2) 0;
}
.modal-legal-preview p:last-child {
  margin-bottom: 0;
}
.modal-legal-preview strong {
  color: var(--color-text);
}

/* --- Contact form inside modal --- */
.modal-email-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}
.modal-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

/* --- Voyance mail tips box --- */
.modal-voyance-tips {
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: rgba(184, 149, 46, 0.06);
  background: oklch(from var(--color-accent) l c h / 0.06);
  border: 1px solid rgba(184, 149, 46, 0.15);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}
.modal-voyance-tips__title {
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-2) 0;
  font-size: var(--text-sm);
}
.modal-voyance-tips ul {
  margin: 0;
  padding-left: var(--space-5);
}
.modal-voyance-tips li {
  margin-bottom: var(--space-1);
}
.modal-voyance-tips li:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--color-primary);
}

/* --- Star rating for avis --- */
.avis-stars {
  display: flex;
  gap: var(--space-1);
}
.avis-star {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--color-divider);
  transition: color 0.15s, transform 0.15s;
  padding: 0;
  line-height: 1;
}
.avis-star:hover,
.avis-star.active {
  color: var(--color-accent);
  transform: scale(1.15);
}

/* --- Testimonial add button alignment --- */
.testimonial-add .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* --- Modal overlay hidden state --- */
.modal-overlay[hidden] {
  display: none !important;
}

/* --- Modal animation --- */
.modal-overlay:not([hidden]) .modal-card {
  animation: modal-card-in 0.25s ease;
}
@keyframes modal-card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Mobile modal adjustments --- */
@media (max-width: 768px) {
  .modal-card, .modal-card--wide {
    max-width: calc(100vw - 2rem);
    padding: var(--space-6) var(--space-4);
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-card__actions {
    flex-direction: column;
  }
}

/* --- Indicateur paiement RDV --- */
.rdv-paiement {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 0.4rem;
}

.rdv-paiement svg {
  flex-shrink: 0;
}

.compte-liste__service {
  display: flex;
  align-items: center;
}

/* ========================================
   GLOBAL MOBILE ENHANCEMENTS
   ======================================== */

/* Prevent horizontal overflow on mobile — use 'clip' instead of 'hidden'
   to avoid blocking inner scrollable containers (admin tables, tab bars) */
@media (max-width: 768px) {
  html {
    overflow-x: clip;
  }
  body {
    overflow-x: clip;
  }

  /* Global section padding reduction for mobile */
  section {
    padding-block: clamp(var(--space-8), 6vw, var(--space-16));
  }

  /* CTA sections more compact on mobile */
  .cta-section h2 {
    font-size: var(--text-xl);
  }
  .cta-section p {
    font-size: var(--text-sm);
  }

  /* Ensure all buttons are touch-friendly */
  .btn {
    min-height: 44px;
    padding: var(--space-3) var(--space-5);
  }

  /* Auth card adjustments */
  .auth-section {
    padding-block: var(--space-8);
    min-height: auto;
  }

  /* Boutique coming soon */
  .boutique-coming {
    padding: var(--space-4);
  }
  .boutique-coming__title {
    font-size: var(--text-xl);
  }

  /* Blog overlay more comfortable on mobile */
  .blog-overlay__content {
    padding-block: var(--space-12) var(--space-16);
  }

  /* Legal pages */
  .legal-page {
    padding-block: var(--space-4) var(--space-8);
  }

  /* Theme toggle bigger touch target */
  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  /* Divider centered on mobile */
  .divider {
    margin-inline: auto;
  }

  /* ---- Floating buttons: prevent overlap with content ---- */
  /* Add safe bottom padding so floating buttons don't cover text */
  .page {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }



  /* Service cards: breathing room on mobile */
  .service-card__content p {
    font-size: var(--text-sm);
    line-height: 1.7;
  }

  /* Service card tags wrap nicely */
  .service-card__details {
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  /* Trust banner more compact */
  .trust-banner__title {
    font-size: var(--text-base);
  }
  .trust-banner__desc {
    font-size: var(--text-xs);
  }

  /* Footer touch targets bigger */
  .footer__col a {
    padding-block: var(--space-2);
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  /* Improve readability on mobile */
  .hero__desc {
    font-size: var(--text-sm);
    line-height: 1.75;
  }

  /* Blog articles: bigger tap targets */
  .blog-card {
    padding: var(--space-4);
  }


  /* Smooth scroll behavior */
  html {
    -webkit-overflow-scrolling: touch;
  }
}

/* Extra-small screens (iPhone SE etc.) */
@media (max-width: 380px) {
  .container {
    padding-inline: var(--space-3);
  }

  .hero__title {
    font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  }

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

  .service-card {
    padding: var(--space-3);
  }

  .auth-card {
    padding: var(--space-4) var(--space-3);
  }

  .newsletter-form__input {
    padding: var(--space-2) var(--space-3);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__col {
    text-align: center;
  }
}

/* ========================================
   NEWSLETTER FLOTTANT
   ======================================== */
.nl-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.nl-float__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary);
  background: var(--color-surface);
  color: var(--color-primary);
  cursor: pointer;
  transition: all 320ms var(--ease-out);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nl-float__btn:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(107, 127, 78, 0.25);
}

.nl-float__btn:active {
  transform: scale(0.96);
}

/* Badge notification */
.nl-float__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transition: transform 300ms var(--ease-out);
}

.nl-float--open .nl-float__badge {
  transform: scale(0);
}

.nl-float__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 300ms var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}

.nl-float:hover .nl-float__label {
  opacity: 1;
  transform: translateY(0);
}

.nl-float--open .nl-float__btn {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

/* Card popup */
.nl-float__card {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 0;
  width: 300px;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  animation: nl-card-in 300ms var(--ease-out);
}

@keyframes nl-card-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nl-float__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.nl-float__card-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

.nl-float__card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.nl-float__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nl-float__form .newsletter-form__input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.nl-float__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.nl-float__note {
  font-size: 0.7rem;
  color: var(--color-text-faint);
  text-align: center;
  margin-top: var(--space-1);
}

.nl-float__success[hidden] {
  display: none;
}

.nl-float__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  padding: var(--space-4) 0;
  color: var(--color-primary);
}

.nl-float__success p {
  font-size: var(--text-sm);
  color: var(--color-text);
}

@media (max-width: 640px) {
  .nl-float {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
  }
  .nl-float__btn {
    width: 46px;
    height: 46px;
  }
  .nl-float__btn svg {
    width: 20px;
    height: 20px;
  }
  .nl-float__card {
    width: calc(100vw - 2rem);
    left: 0;
  }
}

/* ========================================
   SONS DE GUÉRISON — Bouton flottant
   ======================================== */
.sound-healer {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.sound-healer__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-accent);
  cursor: pointer;
  transition: all 320ms var(--ease-out);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sound-healer__btn:hover {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(184, 149, 46, 0.25);
}

.sound-healer__btn:active {
  transform: scale(0.96);
}

.sound-healer__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 300ms var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}

.sound-healer:hover .sound-healer__label {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation when playing */
.sound-healer__pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  opacity: 0;
  pointer-events: none;
}

.sound-healer--playing .sound-healer__pulse {
  animation: sound-pulse 2.4s ease-out infinite;
}

.sound-healer--playing .sound-healer__btn {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
}

@keyframes sound-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .sound-healer {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
  }
  .sound-healer__btn {
    width: 46px;
    height: 46px;
  }
  .sound-healer__btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Tablettes */
@media (min-width: 641px) and (max-width: 1024px) {
  .sound-healer {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}



/* ==========================================
   SECTION DERNIÈRES NOUVEAUTÉS (Accueil)
   Optimisée desktop + mobile
   ========================================== */

.nouveautes-section {
  padding: 3.5rem 0 2.5rem;
}

.nouveautes-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.nouveautes-header__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0.6rem auto 0;
  line-height: 1.6;
}

/* --- Filtres --- */
.nouveautes-filters {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.nouveautes-filter {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  white-space: nowrap;
}

.nouveautes-filter:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.nouveautes-filter.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* --- Grille --- */
.nouveautes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* --- Carte --- */
.nouveautes-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card, 12px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.nouveautes-card.hidden {
  display: none;
}

.nouveautes-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent);
}

/* Image */
.nouveautes-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.nouveautes-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nouveautes-card:hover .nouveautes-card__image img {
  transform: scale(1.04);
}

/* Badge */
.nouveautes-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: calc(100% - 1.2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nouveautes-card__badge svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.nouveautes-card__badge--blog { background: var(--color-accent); }
.nouveautes-card__badge--service { background: var(--color-primary); }
.nouveautes-card__badge--therapie { background: #8b6eae; }
.nouveautes-card__badge--boutique { background: #b87a4e; }

.nouveautes-card__pin {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  z-index: 2;
}

/* Corps */
.nouveautes-card__body {
  padding: 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nouveautes-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.nouveautes-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.nouveautes-card__excerpt {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  letter-spacing: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nouveautes-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--color-text-faint);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--color-border);
}

.nouveautes-card__price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.88rem;
}

/* CTAs */
.nouveautes-cta {
  text-align: center;
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================
   RESPONSIVE — Tablette
   ========================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .nouveautes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   RESPONSIVE — Mobile (≤768px)
   ========================================== */
@media (max-width: 768px) {
  .nouveautes-section {
    padding: 2.5rem 0 2rem;
  }

  .nouveautes-header__desc {
    font-size: 0.88rem;
    padding: 0 0.5rem;
  }

  /* Filtres mobile : scroll horizontal, pas de wrap */
  .nouveautes-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding: 0 1rem 0.5rem;
    margin-bottom: 1.25rem;
  }

  .nouveautes-filters::-webkit-scrollbar {
    display: none;
  }

  .nouveautes-filter {
    font-size: 0.78rem;
    padding: 0.38rem 0.85rem;
    flex-shrink: 0;
  }

  /* Grille mobile : 1 colonne */
  .nouveautes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Carte mobile : layout horizontal (image à gauche, texte à droite) */
  .nouveautes-card {
    flex-direction: row;
    min-height: 0;
  }

  .nouveautes-card__image {
    width: 120px;
    min-width: 120px;
    aspect-ratio: auto;
    height: auto;
  }

  .nouveautes-card__image img {
    height: 100%;
    object-fit: cover;
  }

  .nouveautes-card__badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.35rem;
    top: 0.35rem;
    left: 0.35rem;
    gap: 0.15rem;
  }

  .nouveautes-card__badge svg {
    width: 8px;
    height: 8px;
  }

  .nouveautes-card__body {
    padding: 0.75rem 0.85rem;
  }

  .nouveautes-card__category {
    font-size: 0.62rem;
    margin-bottom: 0.15rem;
  }

  .nouveautes-card__title {
    font-size: 0.85rem;
    min-height: 0;
    -webkit-line-clamp: 2;
    margin-bottom: 0.25rem;
  }

  .nouveautes-card__excerpt {
    font-size: 0.76rem;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .nouveautes-card__meta {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    font-size: 0.7rem;
  }

  .nouveautes-card__price {
    font-size: 0.82rem;
  }

  /* CTAs mobile : empilés */
  .nouveautes-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  .nouveautes-cta .btn {
    text-align: center;
    width: 100%;
  }
}

/* Pin toggle button on cards */
.pin-toggle-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, transform 0.2s ease, opacity 0.25s ease;
  opacity: 0.7;
  padding: 0;
  line-height: 1;
}
.pin-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
  transform: scale(1.1);
}
.pin-toggle-btn--active {
  background: #c9a84c;
  color: #fff;
  opacity: 1;
}
.pin-toggle-btn--active:hover {
  background: #b8923e;
}

/* Pinned badge for section cards */
.pinned-badge {
  position: absolute;
  top: 2.8rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: #8b6914;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  z-index: 2;
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease;
}

@media (max-width: 768px) {
  .pin-toggle-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
    opacity: 1;
  }
  .pinned-badge {
    top: 3.2rem;
  }
}

/* ─── Admin "+" Add Buttons ─── */
.admin-add-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 280px;
  background: var(--color-surface);
  border: 2px dashed var(--color-accent);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
}
.admin-add-btn:hover {
  background: rgba(169, 132, 94, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}
.admin-add-btn__icon {
  font-size: 2.5rem;
  line-height: 1;
}
.admin-add-btn--boutique {
  min-height: 200px;
  margin-bottom: 1.5rem;
}
.admin-add-btn--coupon {
  min-height: auto;
  margin-bottom: 1.5rem;
  background: rgba(212, 165, 116, 0.1);
  border-color: rgba(212, 165, 116, 0.4);
}
.admin-add-btn--coupon:hover {
  background: rgba(212, 165, 116, 0.2);
  border-color: rgba(212, 165, 116, 0.6);
}

/* ─── Admin Modal ─── */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-modal[hidden] {
  display: none;
}
.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.admin-modal__content {
  position: relative;
  background: var(--color-surface);
  border-radius: 0.75rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.admin-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}
.admin-modal__close:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.admin-modal__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.admin-modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.admin-modal__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.admin-modal__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
.admin-modal__input,
.admin-modal__textarea,
.admin-modal__select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: all 0.2s ease;
}
.admin-modal__input:focus,
.admin-modal__textarea:focus,
.admin-modal__select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(169, 132, 94, 0.1);
}
.admin-modal__textarea {
  resize: vertical;
}
.admin-modal__select {
  cursor: pointer;
}
.admin-modal__submit {
  margin-top: 0.5rem;
  width: 100%;
}
.admin-modal__message {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
.admin-modal__message[hidden] { display: none; }
.admin-modal__message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.admin-modal__message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ─── Boutique Products Grid ─── */
.boutique-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}
.boutique-products-grid:empty {
  display: none;
  margin: 0;
}

/* ─── Boutique Product Card ─── */
.boutique-product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.boutique-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.boutique-product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.boutique-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.boutique-product-card:hover .boutique-product-card__image img {
  transform: scale(1.05);
}
.boutique-product-card__content {
  padding: 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--color-accent);
}
.boutique-product-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}
.boutique-product-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.5rem 0;
  color: var(--color-text);
}
.boutique-product-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}
.boutique-product-card__desc-wrap {
  margin-bottom: auto;
}
.boutique-product-card__more {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0 0;
  text-decoration: none;
  transition: color 0.2s;
}
.boutique-product-card__more:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.boutique-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}
.boutique-product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  white-space: nowrap;
}
.boutique-product-card__add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.boutique-product-card__add-cart:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}
.boutique-product-card__add-cart:active {
  transform: scale(0.97);
}
.boutique-product-card__add-cart svg {
  flex-shrink: 0;
}

/* ========================================
   BOUTIQUE — Filtres par catégories + Suggestions
======================================== */

/* ─── Barre de filtres par catégorie ─── */
.boutique-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-divider);
}

.boutique-filters__label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.boutique-filters__label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.boutique-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive);
  white-space: nowrap;
}

.boutique-filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-surface);
}

.boutique-filter-btn--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.boutique-filter-btn--active:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.boutique-filter-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.boutique-filter-btn:not(.boutique-filter-btn--active) .boutique-filter-btn__count {
  background: var(--color-surface-2);
  color: var(--color-text-faint);
}

/* Compteur de résultats */
.boutique-results-count {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-left: auto;
  font-style: italic;
}

/* Animation de filtrage — carte masquée */
.boutique-product-card--filtered-out {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

/* Animation d'apparition filtrée */
@keyframes filter-appear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.boutique-product-card--filter-in {
  animation: filter-appear 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* État vide */
.boutique-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-10) var(--space-4);
}

.boutique-empty-state__icon {
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.boutique-empty-state__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.boutique-empty-state__text {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  max-width: 400px;
  margin-inline: auto;
}

/* ─── Section Suggestions / Recommandations ─── */
.boutique-suggestions {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.boutique-suggestions__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-6);
}

.boutique-suggestions__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  flex-shrink: 0;
}

.boutique-suggestions__icon svg {
  width: 18px;
  height: 18px;
}

.boutique-suggestions__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
}

.boutique-suggestions__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  margin-top: 0.15rem;
}

/* Grille horizontale de suggestions (scroll) */
.boutique-suggestions__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.boutique-suggestions__track::-webkit-scrollbar {
  height: 5px;
}

.boutique-suggestions__track::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.boutique-suggestion-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
}

.boutique-suggestion-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.boutique-suggestion-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.boutique-suggestion-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.boutique-suggestion-card:hover .boutique-suggestion-card__image img {
  transform: scale(1.06);
}

.boutique-suggestion-card__body {
  padding: 0.75rem;
}

.boutique-suggestion-card__cat {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.boutique-suggestion-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.boutique-suggestion-card__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Bannière de suggestion catégorie — conseil e-commerce */
.boutique-category-tip {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
  background: oklch(from var(--color-accent) l c h / 0.06);
  border: 1px solid oklch(from var(--color-accent) l c h / 0.15);
  border-radius: var(--radius-lg);
  animation: filter-appear 0.4s ease both;
}

.boutique-category-tip__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.boutique-category-tip__content {
  flex: 1;
}

.boutique-category-tip__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.boutique-category-tip__text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.boutique-category-tip__close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-faint);
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.boutique-category-tip__close:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

/* ─── Responsive filtres boutique ─── */
@media (max-width: 768px) {
  .boutique-filters {
    gap: 0.4rem;
  }

  .boutique-filter-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }

  .boutique-results-count {
    width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .boutique-suggestion-card {
    flex: 0 0 180px;
  }

  .boutique-category-tip {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
    position: relative;
  }

  .boutique-category-tip__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* ─── Cart Toggle (nav icon) ─── */
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.cart-toggle:hover {
  color: var(--color-accent);
}
.cart-toggle__count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ─── Cart Floating Button (FAB) ─── */
.cart-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent, #7c5cbf);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.cart-fab:active {
  transform: scale(0.95);
}
.cart-fab__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
  border: 2px solid var(--color-bg);
}

/* ─── Cart Drawer ─── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.cart-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--color-bg);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  z-index: 1;
  animation: cartSlideIn 0.3s ease;
}
@keyframes cartSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
}
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  transition: color 0.2s;
}
.cart-drawer__close:hover {
  color: var(--color-text);
}
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-drawer__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 3rem 0;
  font-size: 0.95rem;
}

/* Cart item */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item__img {
  width: 72px;
  height: 72px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f3ef;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__info {
  flex: 1;
  min-width: 0;
}
.cart-item__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.cart-item__price {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}
.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: 0.35rem;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}
.cart-item__qty-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.cart-item__qty {
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
  color: var(--color-text);
}
.cart-item__remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  margin-left: auto;
  transition: color 0.2s;
  align-self: flex-start;
}
.cart-item__remove:hover {
  color: #dc2626;
}

/* Cart footer */
.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}
.cart-drawer__total-amount {
  font-size: 1.2rem;
  color: var(--color-primary);
}
.cart-drawer__checkout {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__secure {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.6rem;
}

/* Add-to-cart confirmation toast */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-text);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 300;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.cart-toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 480px) {
  .cart-drawer__panel {
    width: 100vw;
  }
}

/* ─── Product Detail Overlay ─── */
.product-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent, #b8976a) transparent;
}
.product-overlay::-webkit-scrollbar { width: 6px; }
.product-overlay::-webkit-scrollbar-thumb { background: var(--color-accent, #b8976a); border-radius: 3px; }
.product-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(250, 248, 244, 0.9);
  background: oklch(from var(--color-bg) l c h / 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.product-overlay__content {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}
.product-overlay__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.product-overlay__close:hover {
  background: var(--color-surface-2, #f0ece6);
}
.product-overlay__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  background: var(--color-surface);
  border-radius: 1rem;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.product-overlay__gallery {
  position: sticky;
  top: 4rem;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f3ef;
  border-radius: 1rem 0 0 1rem;
}
.product-overlay__gallery .product-carousel {
  height: 100%;
}
.product-overlay__gallery .product-carousel__track {
  height: 100%;
}
.product-overlay__gallery .product-carousel__slide {
  min-width: 100%;
  height: 100%;
}
.product-overlay__gallery .product-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-overlay__gallery .product-carousel__btn {
  opacity: 0.7;
}
.product-overlay__gallery:hover .product-carousel__btn {
  opacity: 1;
}
.product-overlay__gallery .product-carousel__dots {
  bottom: 1rem;
}
.product-overlay__gallery .product-carousel__dot {
  width: 9px;
  height: 9px;
}
.product-overlay__gallery > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-overlay__info {
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}
.product-overlay__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.product-overlay__name {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1rem;
}
/* Short intro description */
.product-overlay__short-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}
/* Purchase block: price + button grouped together, always visible */
.product-overlay__purchase-block {
  background: var(--color-bg, #faf8f4);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.5rem;
}
.product-overlay__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.product-overlay__actions {
  margin-bottom: 0.6rem;
}
.product-overlay__add-cart {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-overlay__secure {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}
/* Description sections (accordion style) */
.product-overlay__desc-sections {
  border-top: 1px solid rgba(0,0,0,0.06);
}
.product-desc-section {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.product-desc-section__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.2s;
}
.product-desc-section__toggle:hover {
  color: var(--color-accent);
}
.product-desc-section__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.product-desc-section__toggle:hover .product-desc-section__title {
  color: var(--color-accent);
}
.product-desc-section__chevron {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.product-desc-section--open .product-desc-section__chevron {
  transform: rotate(180deg);
}
.product-desc-section__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0.25rem;
}
.product-desc-section--open .product-desc-section__body {
  max-height: 2000px;
  padding: 0 0.25rem 1rem;
}
.product-desc-section__body p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.product-desc-section__body ul {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.5rem;
}
.product-desc-section__body ul li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}
.product-desc-section__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent, #b8976a);
  opacity: 0.6;
}
.product-desc-section__body strong {
  color: var(--color-text);
  font-weight: 600;
}
/* Stock badges on product cards */
.boutique-product-card__stock-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  text-transform: uppercase;
  pointer-events: none;
}
.boutique-product-card__stock-badge--in {
  background: rgba(76, 140, 74, 0.12);
  color: #3a7a38;
}
.boutique-product-card__stock-badge--out {
  background: rgba(180, 60, 50, 0.12);
  color: #a33a30;
}
/* Disabled add-to-cart button on cards */
.boutique-product-card__add-cart--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-text-muted, #999) !important;
  color: #fff !important;
  pointer-events: none;
}
/* Stock badge in product overlay */
.product-overlay__stock-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.product-overlay__stock-badge--in {
  background: rgba(76, 140, 74, 0.12);
  color: #3a7a38;
}
.product-overlay__stock-badge--out {
  background: rgba(180, 60, 50, 0.12);
  color: #a33a30;
}
/* Disabled add-to-cart in overlay */
.product-overlay__add-cart--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-text-muted, #999) !important;
  pointer-events: none;
}
.boutique-product-card {
  cursor: pointer;
}
@media (max-width: 768px) {
  .product-overlay__body {
    grid-template-columns: 1fr;
  }
  .product-overlay__gallery {
    position: relative;
    top: auto;
    aspect-ratio: 4/3;
  }
  .product-overlay__info {
    padding: 1.5rem;
  }
  .product-overlay__content {
    padding: 3rem 1rem 2rem;
  }
}

/* ─── Product Image Carousel ─── */
.product-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.product-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.product-carousel__slide {
  min-width: 100%;
  height: 100%;
}
.product-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #333;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.boutique-product-card:hover .product-carousel__btn {
  opacity: 1;
}
.product-carousel__btn:hover {
  background: #fff;
}
.product-carousel__btn--prev {
  left: 0.5rem;
}
.product-carousel__btn--next {
  right: 0.5rem;
}
.product-carousel__dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 5;
}
.product-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.product-carousel__dot--active {
  background: #fff;
  transform: scale(1.2);
}

/* ─── Admin: Extra images preview ─── */
.admin-extra-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-extra-preview__item {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--color-border);
}
.admin-extra-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-extra-preview__remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
/* ─── Admin: Existing gallery in edit mode ─── */
.admin-gallery-existing {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.admin-gallery-existing__item {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--color-border);
}
.admin-gallery-existing__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-gallery-existing__remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ─── Hidden product styles (admin) ─── */
.boutique-product-card--hidden {
  opacity: 0.55;
  position: relative;
}
.boutique-product-card__badge-hidden {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #f59e0b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-dash-table__row--muted {
  opacity: 0.6;
}

/* ─── Admin Delete Button ─── */
.admin-delete-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}
.admin-delete-btn:hover {
  background: #f8d7da;
  opacity: 1;
  transform: scale(1.1);
}

/* ─── Responsive: Admin & Boutique ─── */
@media (max-width: 992px) {
  .boutique-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .boutique-products-grid {
    grid-template-columns: 1fr;
  }
  .admin-add-btn {
    min-height: 160px;
  }
  .admin-add-btn--boutique {
    min-height: 120px;
  }
  .admin-modal__content {
    padding: 1.25rem;
    max-height: 95vh;
  }
  .admin-modal__title {
    font-size: 1.25rem;
  }
  .admin-delete-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    opacity: 1;
  }
}

/* ========================================
   ADMIN DASHBOARD
   ======================================== */

/* Container override: admin dashboard needs more width */
#mon-compte .auth-card.admin-dashboard {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  box-sizing: border-box;
  overflow-x: visible;
}

.admin-dashboard[hidden] { display: none; }

/* Admin Header */
.admin-dash-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(30, 30, 30, 0.8) 100%);
  border: 1px solid rgba(212, 165, 116, 0.25);
  margin-bottom: var(--space-5);
}

.admin-dash-header__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.4), rgba(212, 165, 116, 0.15));
  border: 2px solid rgba(212, 165, 116, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: rgba(212, 165, 116, 1);
  flex-shrink: 0;
}

.admin-dash-header__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(212, 165, 116, 0.8);
  margin-bottom: 0.15rem;
}

.admin-dash-header__title {
  font-family: 'Zodiak', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
  margin: 0;
}

/* Admin Tabs */
.admin-dash-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-dash-tabs::-webkit-scrollbar {
  display: none;
}

/* Indicateur visuel de scroll horizontal sur mobile */
@media (max-width: 768px) {
  .admin-dash-tabs {
    position: relative;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .admin-dash-tabs:has(.admin-dash-tab:last-child.admin-dash-tab--active) {
    -webkit-mask-image: linear-gradient(to left, black 80%, transparent 100%);
    mask-image: linear-gradient(to left, black 80%, transparent 100%);
  }
}

.admin-dash-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border: none;
  background: transparent;
  flex-shrink: 0;
  color: var(--text-secondary, #999);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.admin-dash-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary, #fff);
}

.admin-dash-tab--active {
  background: rgba(212, 165, 116, 0.15);
  color: rgba(212, 165, 116, 1);
}

.admin-dash-tab--active svg {
  stroke: rgba(212, 165, 116, 1);
}

.admin-dash-tab svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.admin-dash-tab--active svg {
  opacity: 1;
}

/* Admin Tab Content */
.admin-tab-content {
  display: none;
}

.admin-tab-content--active {
  display: block;
}

/* Stats Grid */
.admin-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-3);
}

.admin-dash-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--space-4);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.admin-dash-stat-card:hover {
  border-color: rgba(212, 165, 116, 0.3);
  transform: translateY(-2px);
}

.admin-dash-stat-card--accent {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.03));
  border-color: rgba(212, 165, 116, 0.2);
}

.admin-dash-stat-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2);
  color: rgba(212, 165, 116, 0.7);
}

.admin-dash-stat-card__value {
  font-family: 'Zodiak', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
  margin: 0;
  line-height: 1.2;
}

.admin-dash-stat-card__label {
  font-size: 0.78rem;
  color: var(--text-secondary, #999);
  margin: 0.25rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Actions bar */
.admin-dash-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.admin-dash-search {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-primary, #fff);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.admin-dash-search:focus {
  border-color: rgba(212, 165, 116, 0.5);
}

.admin-dash-search::placeholder {
  color: var(--text-secondary, #777);
}

/* Table styles */
.admin-dash-table {
  width: 100%;
}

.admin-dash-loading {
  text-align: center;
  color: var(--text-secondary, #999);
  padding: var(--space-5);
  font-size: 0.9rem;
}

.admin-dash-table__row {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: center;
  transition: background 0.15s ease;
  border-radius: 8px;
}

.admin-dash-table__row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-dash-table__row--header {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary, #999);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.admin-dash-table__row--header:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Grid templates for different table types */
.admin-dash-table--blog .admin-dash-table__row {
  grid-template-columns: 60px 1fr 120px 100px 80px;
}

.admin-dash-table--boutique .admin-dash-table__row {
  grid-template-columns: 60px 1fr 100px 100px 80px;
}

.admin-dash-table--coupons .admin-dash-table__row {
  grid-template-columns: 100px 1fr 70px 90px 80px 100px;
}

.admin-dash-table--commandes .admin-dash-table__row {
  grid-template-columns: 1fr 1fr 90px 90px 90px 80px;
}

.admin-dash-table--rdv .admin-dash-table__row {
  grid-template-columns: 1fr 1fr 120px 90px 80px;
}

.admin-dash-table--clients .admin-dash-table__row {
  grid-template-columns: minmax(100px, 1.2fr) minmax(120px, 1.5fr) 95px 75px 80px;
}

.admin-dash-table--newsletter .admin-dash-table__row {
  grid-template-columns: minmax(80px, 1fr) minmax(120px, 1.5fr) 100px 70px;
}

.admin-dash-table--temoignages .admin-dash-table__row {
  grid-template-columns: 105px minmax(70px, 0.7fr) 80px minmax(120px, 2fr) 85px 150px;
}

.admin-dash-table--visiteurs .admin-dash-table__row {
  grid-template-columns: 135px 120px minmax(80px, 1fr) minmax(80px, 1fr) 90px 80px;
}

.admin-dash-table__row--highlight {
  background: rgba(243, 156, 18, 0.04);
  border-left: 3px solid rgba(243, 156, 18, 0.4);
}

/* Column resize handles */
.col-resize-handle {
  position: absolute;
  top: 0;
  right: -4px;
  width: 8px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
  background: transparent;
  transition: background 0.15s ease;
}

.col-resize-handle::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60%;
  border-radius: 1px;
  background: rgba(212, 165, 116, 0.2);
  transition: background 0.15s ease, height 0.15s ease;
}

.col-resize-handle:hover::after,
.col-resize-handle--active::after {
  background: rgba(212, 165, 116, 0.7);
  height: 80%;
  top: 10%;
}

.col-resize-handle--active {
  background: rgba(212, 165, 116, 0.05);
}

/* Allow horizontal scroll when columns are resized beyond container */
.admin-dash-table--rdv,
.admin-dash-table--clients,
.admin-dash-table--newsletter,
.admin-dash-table--temoignages,
.admin-dash-table--visiteurs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table cell styles */
.admin-dash-table__cell {
  font-size: 0.85rem;
  color: var(--text-primary, #ddd);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dash-table__cell--email {
  color: rgba(212, 165, 116, 0.9);
  font-size: 0.8rem;
}

.admin-dash-table__cell--img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
}

.admin-dash-table__cell--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badges */
.admin-dash-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.admin-dash-badge--success {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.admin-dash-badge--warning {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.admin-dash-badge--danger {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.admin-dash-badge--neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary, #aaa);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Action buttons inside tables */
.admin-dash-btn-sm {
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary, #ddd);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Work Sans', sans-serif;
  white-space: nowrap;
}

.admin-dash-btn-sm:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 165, 116, 0.4);
}

.admin-dash-btn-sm--edit {
  color: rgba(212, 165, 116, 0.9);
  border-color: rgba(212, 165, 116, 0.3);
}

.admin-dash-btn-sm--edit:hover {
  background: rgba(212, 165, 116, 0.1);
}

.admin-dash-btn-sm--delete {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
}

.admin-dash-btn-sm--delete:hover {
  background: rgba(231, 76, 60, 0.1);
}

.admin-dash-btn-sm--success {
  color: #27ae60;
  border-color: rgba(39, 174, 96, 0.3);
}

.admin-dash-btn-sm--success:hover {
  background: rgba(39, 174, 96, 0.1);
}

.admin-dash-btn-group {
  display: flex;
  gap: 0.3rem;
}

/* Empty state */
.admin-dash-empty {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  color: var(--text-secondary, #999);
  font-size: 0.9rem;
}

/* Responsive: tablet */
@media (max-width: 900px) {
  .admin-dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-dash-table--blog .admin-dash-table__row,
  .admin-dash-table--boutique .admin-dash-table__row,
  .admin-dash-table--coupons .admin-dash-table__row,
  .admin-dash-table--commandes .admin-dash-table__row,
  .admin-dash-table--rdv .admin-dash-table__row,
  .admin-dash-table--clients .admin-dash-table__row,
  .admin-dash-table--newsletter .admin-dash-table__row,
  .admin-dash-table--temoignages .admin-dash-table__row,
  .admin-dash-table--visiteurs .admin-dash-table__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .admin-dash-table__row--header {
    display: none;
  }
  .admin-dash-table__cell {
    white-space: normal;
  }
  .admin-dash-table__cell::before {
    content: attr(data-label);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary, #999);
    display: block;
    margin-bottom: 0.1rem;
  }
}

/* Responsive: mobile */
@media (max-width: 600px) {
  .admin-dashboard {
    padding: var(--space-3) var(--space-2);
  }
  .admin-dash-header {
    padding: var(--space-3);
    gap: var(--space-3);
  }
  .admin-dash-header__title {
    font-size: 1.2rem;
  }
  .admin-dash-header__avatar {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
  .admin-dash-tabs {
    gap: 0.15rem;
  }
  .admin-dash-tab {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }
  .admin-dash-tab span:not(.admin-tab-badge) {
    display: none;
  }
  .admin-tab-badge {
    display: inline-flex !important;
    position: absolute;
    top: -3px;
    right: -3px;
  }
  .admin-tab-badge[hidden] {
    display: none !important;
  }
  .admin-dash-stat-card {
    padding: var(--space-3);
  }
  .admin-dash-stat-card__value {
    font-size: 1.4rem;
  }
  .admin-dash-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-dash-search {
    min-width: unset;
  }
}

/* When admin is viewing Mon Compte, widen the container */
#mon-compte .container--admin-wide {
  max-width: 1800px;
  width: 95vw;
}

/* Fix mobile: ensure admin tab content allows internal scroll */
@media (max-width: 768px) {
  #mon-compte .container--admin-wide {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--space-2);
  }
  .admin-tab-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ─── Admin CA Section ─── */
.admin-ca-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.admin-ca-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-ca-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
  margin: 0;
}
.admin-ca-period {
  font-size: 0.85rem;
  color: #999;
  margin: 0.2rem 0 0;
}
.admin-ca-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}
.admin-ca-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.admin-ca-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.admin-ca-card--urssaf {
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.05);
}
.admin-ca-card--net {
  border-color: rgba(39, 174, 96, 0.3);
  background: rgba(39, 174, 96, 0.05);
}
.admin-ca-card__label {
  font-size: 0.78rem;
  color: #999;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.admin-ca-card__value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0;
}
.admin-ca-card--urssaf .admin-ca-card__value { color: #e74c3c; }
.admin-ca-card--net .admin-ca-card__value { color: #27ae60; }
.admin-ca-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.admin-ca-info {
  font-size: 0.78rem;
  color: #666;
  margin: 1rem 0 0;
  text-align: center;
}
#admin-ca-archives {
  margin-top: 1rem;
}
.admin-ca-archive-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.admin-ca-archive-item__info {
  font-size: 0.85rem;
  color: #bbb;
}
.admin-ca-archive-item__btn {
  background: none;
  border: 1px solid rgba(212,165,116,0.4);
  color: var(--accent, #d4a574);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
}
.admin-ca-archive-item__btn:hover {
  background: rgba(212,165,116,0.1);
}
@media (max-width: 768px) {
  .admin-ca-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-ca-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .admin-ca-grid { grid-template-columns: 1fr; }
}

/* ─── Revenus split consultations / boutique ─── */
.admin-revenus-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.admin-revenus-col {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.admin-revenus-col__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.admin-revenus-col__header--consult {
  background: rgba(155, 89, 182, 0.15);
  border-bottom: 1px solid rgba(155, 89, 182, 0.2);
}
.admin-revenus-col__header--boutique {
  background: rgba(212, 165, 116, 0.15);
  border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}
.admin-revenus-col__body {
  padding: 0.75rem 1rem;
}
.admin-revenus-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: #bbb;
}
.admin-revenus-line strong {
  color: #fff;
}
.admin-revenus-neg {
  color: #e74c3c;
}
.admin-revenus-line--total {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0.3rem;
  padding-top: 0.5rem;
}
.admin-revenus-line--total strong {
  color: #27ae60;
  font-size: 0.95rem;
}
.admin-revenus-line--count {
  font-size: 0.78rem;
  color: #777;
}
/* Depenses liste */
.admin-depense-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.7rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
}
.admin-depense-item__info {
  color: #bbb;
}
.admin-depense-item__info strong {
  color: #e74c3c;
  margin-left: 0.3rem;
}
.admin-depense-item__cat {
  font-size: 0.7rem;
  color: #888;
  background: rgba(255,255,255,0.05);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}
.admin-depense-item__del {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.2rem;
  opacity: 0.6;
}
.admin-depense-item__del:hover { opacity: 1; }
/* Benefices section */
.admin-benef-section {
  background: rgba(39, 174, 96, 0.03);
  border-color: rgba(39, 174, 96, 0.15);
}
@media (max-width: 640px) {
  .admin-revenus-split { grid-template-columns: 1fr; }
  #form-depense > div { grid-template-columns: 1fr !important; }
}

/* ========================================
   TOAST DE CONFIRMATION (inscription)
======================================== */
.toast-confirmation {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #d9d3c7);
  border-left: 4px solid #27ae60;
  border-radius: var(--radius-lg, 0.75rem);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  max-width: 380px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  font-family: var(--font-body, sans-serif);
}
.toast-confirmation--show {
  transform: translateX(0);
  opacity: 1;
}
.toast-confirmation__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
}
.toast-confirmation__body {
  flex: 1;
  font-size: var(--text-sm, 0.9rem);
  color: var(--color-text, #2c2820);
  line-height: 1.45;
}
.toast-confirmation__close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--color-text-muted, #6b6558);
  padding: 0 0.2rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.toast-confirmation__close:hover {
  opacity: 1;
}

/* ========================================
   BADGE MODÉRATION TÉMOIGNAGES
======================================== */
.moderation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full, 9999px);
  font-size: var(--text-xs, 0.8rem);
  font-weight: 600;
  font-family: var(--font-body, sans-serif);
}
.moderation-badge--pending {
  background: rgba(243, 156, 18, 0.12);
  color: #e67e22;
  border: 1px solid rgba(243, 156, 18, 0.25);
}
.moderation-badge--approved {
  background: rgba(39, 174, 96, 0.10);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.25);
}
.moderation-pending-notice {
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--radius-md, 0.5rem);
  padding: 0.75rem 1rem;
  font-size: var(--text-sm, 0.9rem);
  color: var(--color-text, #2c2820);
  text-align: center;
  margin-top: 0.5rem;
}

/* ========================================
   VOYANCE PAR MAIL — VÉRIFICATION PAIEMENT
======================================== */
.vm-payment-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md, 0.5rem);
  font-size: var(--text-sm, 0.9rem);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 0.75rem;
}
.vm-payment-status--verified {
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.2);
  color: #27ae60;
}
.vm-payment-status--unverified {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #c0392b;
}
.vm-payment-status__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   DISPONIBILITÉS — Admin Tab
   ═══════════════════════════════════════════════════ */

/* Sous-onglets */
.dispo-subtabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.75rem;
}
.dispo-subtab {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--text-secondary, #999);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.dispo-subtab:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary, #fff);
}
.dispo-subtab--active {
  background: rgba(212,165,116,0.15);
  color: rgba(212,165,116,1);
  border-color: rgba(212,165,116,0.3);
}
.dispo-subtab--active svg {
  stroke: rgba(212,165,116,1);
}

/* Panneaux */
.dispo-panel { display: none; }
.dispo-panel--active { display: block; }

.dispo-desc {
  font-size: 0.85rem;
  color: var(--text-secondary, #999);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

/* ─── Horaires hebdomadaires ─── */
.dispo-semaine {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dispo-jour {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: background 0.2s;
}
.dispo-jour:hover {
  background: rgba(255,255,255,0.05);
}
.dispo-jour__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.dispo-jour__nom {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary, #fff);
  min-width: 80px;
}

/* Toggle switch */
.dispo-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.dispo-toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}
.dispo-toggle__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 22px;
  transition: 0.3s;
}
.dispo-toggle__slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.dispo-toggle__input:checked + .dispo-toggle__slider {
  background: rgba(212,165,116,0.7);
}
.dispo-toggle__input:checked + .dispo-toggle__slider::before {
  transform: translateX(18px);
}

/* Créneaux horaires */
.dispo-jour__creneaux {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s;
}
.dispo-jour__creneaux--off {
  opacity: 0.35;
  pointer-events: none;
}
.dispo-creneau {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dispo-time {
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--text-primary, #fff);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.88rem;
  width: 110px;
  transition: border-color 0.2s;
}
.dispo-time:focus {
  outline: none;
  border-color: rgba(212,165,116,0.6);
  box-shadow: 0 0 0 2px rgba(212,165,116,0.1);
}
.dispo-sep {
  color: var(--text-secondary, #999);
  font-size: 0.85rem;
}
.dispo-creneau__suppr {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(231,76,60,0.3);
  background: rgba(231,76,60,0.08);
  color: #e74c3c;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.dispo-creneau__suppr:hover {
  background: rgba(231,76,60,0.2);
  border-color: rgba(231,76,60,0.5);
}

/* Bouton ajouter créneau */
.dispo-jour__ajouter {
  background: none;
  border: 1px dashed rgba(255,255,255,0.15);
  color: rgba(212,165,116,0.8);
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  transition: all 0.2s;
}
.dispo-jour__ajouter:hover {
  border-color: rgba(212,165,116,0.4);
  background: rgba(212,165,116,0.06);
  color: rgba(212,165,116,1);
}

/* Actions et messages */
.dispo-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.dispo-message {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}
.dispo-message[hidden] { display: none; }
.dispo-message--success {
  background: rgba(39,174,96,0.12);
  color: #27ae60;
  border: 1px solid rgba(39,174,96,0.25);
}
.dispo-message--error {
  background: rgba(231,76,60,0.12);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.25);
}

/* ─── Absences / Congés ─── */
.dispo-absence-form__row,
.dispo-date-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr auto;
  gap: 0.75rem;
  align-items: end;
}
.dispo-absence-form__group,
.dispo-date-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.dispo-absence-form__group--btn,
.dispo-date-form__group--btn {
  align-self: end;
}

/* ─── Dates spéciales ─── */
.dispo-date-form__row {
  grid-template-columns: 1fr 0.7fr 0.7fr 1.5fr auto;
}

/* ─── Listes absences / dates ─── */
.dispo-liste {
  margin-top: 1rem;
}
.dispo-liste__vide {
  text-align: center;
  color: var(--text-secondary, #999);
  font-size: 0.85rem;
  padding: 2rem 0;
  opacity: 0.7;
}
.dispo-liste__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}
.dispo-liste__item:hover {
  background: rgba(255,255,255,0.06);
}
.dispo-liste__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dispo-liste__dates {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
}
.dispo-liste__motif {
  font-size: 0.8rem;
  color: var(--text-secondary, #999);
}
.dispo-liste__badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.dispo-liste__badge--futur {
  background: rgba(212,165,116,0.15);
  color: rgba(212,165,116,1);
}
.dispo-liste__badge--passe {
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary, #999);
}
.dispo-liste__badge--actif {
  background: rgba(231,76,60,0.12);
  color: #e74c3c;
}
.dispo-liste__suppr {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(231,76,60,0.3);
  background: rgba(231,76,60,0.06);
  color: #e74c3c;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.dispo-liste__suppr:hover {
  background: rgba(231,76,60,0.2);
  border-color: rgba(231,76,60,0.5);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .dispo-subtabs {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .dispo-subtabs::-webkit-scrollbar { display: none; }
  .dispo-absence-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .dispo-absence-form__group:nth-child(3) {
    grid-column: 1 / -1;
  }
  .dispo-absence-form__group--btn {
    grid-column: 1 / -1;
  }
  .dispo-date-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .dispo-date-form__group:nth-child(4) {
    grid-column: 1 / -1;
  }
  .dispo-date-form__group--btn {
    grid-column: 1 / -1;
  }
  .dispo-time { width: 100%; }
}
@media (max-width: 480px) {
  .dispo-absence-form__row,
  .dispo-date-form__row {
    grid-template-columns: 1fr;
  }
  .dispo-creneau {
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════
   BANNIÈRE D'ABSENCE — Accueil
   ═══════════════════════════════════════════════════ */
.absence-banner {
  position: relative;
  z-index: 100;
  background: linear-gradient(135deg, rgba(212,165,116,0.12) 0%, rgba(180,120,60,0.18) 100%);
  border-bottom: 1px solid rgba(212,165,116,0.25);
  animation: absenceBannerSlideIn 0.5s ease-out;
}
.absence-banner[hidden] {
  display: none;
}
@keyframes absenceBannerSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.absence-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.absence-banner__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,165,116,0.15);
  border-radius: 50%;
  color: rgba(212,165,116,1);
}
.absence-banner__icon svg {
  stroke: rgba(212,165,116,1);
}
.absence-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.absence-banner__title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(212,165,116,1);
  line-height: 1.3;
}
.absence-banner__detail {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary, #bbb);
  line-height: 1.4;
}
.absence-banner__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary, #999);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.absence-banner__close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
@media (max-width: 600px) {
  .absence-banner__inner {
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }
  .absence-banner__title {
    font-size: 0.85rem;
  }
  .absence-banner__detail {
    font-size: 0.78rem;
  }
}

/* ═══════════════════════════════════════════════════
   BADGES NOTIFICATIONS — Onglets Admin
   ═══════════════════════════════════════════════════ */
.admin-dash-tab {
  position: relative;
}
.admin-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Work Sans', sans-serif;
  line-height: 1;
  margin-left: 0.3rem;
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}
.admin-tab-badge[hidden] {
  display: none;
}
@keyframes badgePop {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
/* Badge accent pour certains onglets */
.admin-tab-badge--accent {
  background: rgba(212,165,116,0.9);
}
.admin-tab-badge--info {
  background: #3498db;
}

/* ═══════════════════════════════════════════════════
   OPTIMISATIONS iPHONE / MOBILE (≤480px)
   ═══════════════════════════════════════════════════ */

/* --- Safe area pour les iPhone avec encoche --- */
@supports (padding: env(safe-area-inset-top)) {
  .header { padding-top: env(safe-area-inset-top); }
  .footer__bottom { padding-bottom: env(safe-area-inset-bottom); }
}

/* --- iPhone SE / petits écrans (≤380px) --- */
@media (max-width: 380px) {
  .admin-dash-stat-card__label {
    font-size: 0.65rem;
  }
  .admin-dash-stat-card__value {
    font-size: 1.1rem;
  }
  .admin-ca-card__label {
    font-size: 0.68rem;
  }
  .admin-ca-card__value {
    font-size: 1rem;
  }
  .hero__title {
    font-size: 1.6rem;
  }
  .hero__desc {
    font-size: 0.88rem;
  }
}

/* --- Mobile standard iPhone (≤480px) --- */
@media (max-width: 480px) {

  /* Admin stats : 2 colonnes sur mobile */
  .admin-dash-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
  }
  .admin-dash-stat-card {
    padding: 0.7rem;
  }
  .admin-dash-stat-card__label {
    font-size: 0.7rem;
    word-break: break-word;
    hyphens: auto;
  }

  /* Admin CA grids : 1 colonne sur mobile */
  .admin-ca-grid,
  .admin-ca-grid--3col {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }
  .admin-ca-card {
    padding: 0.75rem 0.5rem;
  }
  .admin-ca-card__label {
    font-size: 0.72rem;
    word-break: break-word;
  }

  /* Revenus split : empiler */
  .admin-revenus-split {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  /* Bénéfices grid */
  .admin-benef-section .admin-ca-grid {
    grid-template-columns: 1fr !important;
  }

  /* Dépenses grid */
  #form-depense > div {
    grid-template-columns: 1fr !important;
  }

  /* Admin tabs : badges positionnement mobile */
  .admin-dash-tab {
    padding: 0.5rem 0.55rem;
    gap: 0.2rem;
  }
  .admin-dash-tabs {
    gap: 0.25rem;
    justify-content: flex-start;
  }

  /* Bannière absence : safe padding */
  .absence-banner__inner {
    padding: 0.7rem 0.75rem;
    gap: 0.6rem;
  }
  .absence-banner__icon {
    width: 32px;
    height: 32px;
  }
  .absence-banner__icon svg {
    width: 18px;
    height: 18px;
  }
  .absence-banner__title {
    font-size: 0.82rem;
  }
  .absence-banner__detail {
    font-size: 0.75rem;
  }

  /* Footer : zone tactile minimum 44px */
  .footer__col a {
    display: block;
    padding: 0.55rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
  }
  .footer__col {
    padding-left: 0.5rem;
  }
  .footer__socials {
    gap: 1rem;
  }
  .footer__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer__social-link svg {
    width: 24px;
    height: 24px;
  }

  /* Filtres nouveautés : scroll horizontal avec indicateur de fade */
  .nouveautes-filters {
    padding: 0 0.75rem 0.5rem;
    gap: 0.3rem;
    position: relative;
  }
  .nouveautes-filter {
    padding: 0.4rem 0.8rem;
    font-size: 0.76rem;
  }
  /* Indicateur de scroll à droite */
  .nouveautes-filters::after {
    content: '';
    position: sticky;
    right: 0;
    top: 0;
    flex-shrink: 0;
    width: 2rem;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-bg, #1a1a2e));
    pointer-events: none;
  }

  /* Contact page : réduire le whitespace */
  .contact-page .section-header,
  #contact .section-header {
    margin-bottom: 1rem;
  }
  .contact-cards {
    gap: 0.75rem;
  }

  /* Boutons flottants : plus petits et mieux positionnés */
  .floating-btn,
  .btn-mute,
  [class*="floating"],
  [class*="mute-btn"],
  .audio-mute-btn {
    width: 38px !important;
    height: 38px !important;
    bottom: 12px !important;
  }

  /* Services : améliorations cartes */
  .service-card {
    margin: 0 0.25rem;
  }

  /* Compte tabs (client) : scroll horizontal fluide */
  .compte-tabs {
    gap: 0.15rem;
  }
  .compte-tabs__btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.72rem;
  }

  /* Disponibilités : formulaires mobiles */
  .dispo-absence-form__row,
  .dispo-date-form__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .dispo-time {
    width: 100%;
  }
  .dispo-creneau {
    gap: 0.35rem;
  }
  .dispo-subtabs {
    gap: 0.3rem;
  }
  .dispo-subtab {
    padding: 0.45rem 0.7rem;
    font-size: 0.76rem;
  }
}

/* --- Correctifs iPhone spécifiques --- */

/* Empêcher le zoom sur les inputs (iOS zoom quand font-size < 16px) */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Smooth momentum scrolling pour les zones scrollables */
.admin-dash-tabs,
.compte-tabs,
.nouveautes-filters,
.dispo-subtabs {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Tap highlight sur iOS */
a, button, [role="button"] {
  -webkit-tap-highlight-color: rgba(212, 165, 116, 0.15);
}

/* Fix pour le safe-area-inset en mode paysage iPhone */
@media (max-width: 812px) and (orientation: landscape) {
  .absence-banner__inner {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
  .footer__bottom {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* Newsletter section mobile */
@media (max-width: 480px) {
  .newsletter-section__inner {
    padding: var(--space-8) var(--space-4);
  }
  .newsletter-section__title {
    font-size: var(--text-xl);
  }
  .newsletter-form__fields {
    flex-direction: column;
  }
  .newsletter-form__input {
    width: 100%;
  }
}

/* Blog cards grid mobile fix */
@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Admin tabs overflow on mobile */
@media (max-width: 768px) {
  .admin-dash-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    flex-wrap: nowrap;
    gap: var(--space-1);
  }
  .admin-dash-tab {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
  }
}

/* Admin expense form grid mobile */
@media (max-width: 640px) {
  #form-depense {
    grid-template-columns: 1fr !important;
  }
}

/* Contact section email overflow */
@media (max-width: 480px) {
  .contact-card {
    word-break: break-all;
  }
}

/* Floating newsletter mobile positioning */
@media (max-width: 480px) {
  .nl-float {
    bottom: var(--space-3);
    right: var(--space-3);
  }
  .nl-float__card {
    right: 0;
    width: calc(100vw - var(--space-6));
    max-width: 340px;
  }
}

/* Hero CTA buttons stack on very small screens */
@media (max-width: 380px) {
  .hero__cta {
    flex-direction: column;
    gap: var(--space-3);
  }
  .hero__cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   UNIFIED FLOATING ACTION BUTTON (uFAB)
   ======================================== */
.ufab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0;
}

/* Backdrop */
.ufab__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: -1;
}
.ufab--open .ufab__backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Main toggle button */
.ufab__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full, 50%);
  border: 1.5px solid var(--color-primary, #6b7f4e);
  background: var(--color-surface, #fff);
  color: var(--color-primary, #6b7f4e);
  cursor: pointer;
  transition: all 320ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}
.ufab__main:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(107, 127, 78, 0.25);
  background: var(--color-primary, #6b7f4e);
  color: #fff;
}
.ufab__main:active {
  transform: scale(0.96);
}

/* Icon toggle */
.ufab__icon--close {
  display: none;
}
.ufab--open .ufab__icon--menu {
  display: none;
}
.ufab--open .ufab__icon--close {
  display: block;
}
.ufab--open .ufab__main {
  background: var(--color-primary, #6b7f4e);
  color: #fff;
  border-color: var(--color-primary, #6b7f4e);
  transform: rotate(0deg);
}

/* Main badge */
.ufab__main-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full, 50%);
  background: var(--color-accent, #b8952e);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ufab--open .ufab__main-badge {
  transform: scale(0);
}

/* Sub-action buttons container */
.ufab__action {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.4) translateY(0);
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger positions when open — vertical stack above main button */
.ufab--open .ufab__action {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.ufab--open .ufab__action--cart {
  bottom: 68px;
  transition-delay: 40ms;
}
.ufab--open .ufab__action--sound {
  bottom: 126px;
  transition-delay: 80ms;
}
.ufab--open .ufab__action--newsletter {
  bottom: 184px;
  transition-delay: 120ms;
}

/* Closing stagger (reverse) */
.ufab:not(.ufab--open) .ufab__action--newsletter {
  transition-delay: 0ms;
}
.ufab:not(.ufab--open) .ufab__action--sound {
  transition-delay: 40ms;
}
.ufab:not(.ufab--open) .ufab__action--cart {
  transition-delay: 80ms;
}

/* Sub-button style */
.ufab__action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full, 50%);
  border: 1.5px solid var(--color-divider, rgba(0,0,0,0.1));
  background: var(--color-surface, #fff);
  color: var(--color-text, #333);
  cursor: pointer;
  transition: all 240ms ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.ufab__action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.ufab__action-btn:active {
  transform: scale(0.94);
}

/* Newsletter sub-button accent */
.ufab__action--newsletter .ufab__action-btn {
  border-color: var(--color-primary, #6b7f4e);
  color: var(--color-primary, #6b7f4e);
}
.ufab__action--newsletter .ufab__action-btn:hover {
  background: var(--color-primary, #6b7f4e);
  color: #fff;
}

/* Sound sub-button accent */
.ufab__action--sound .ufab__action-btn {
  border-color: var(--color-accent, #b8952e);
  color: var(--color-accent, #b8952e);
}
.ufab__action--sound .ufab__action-btn:hover {
  background: var(--color-accent, #b8952e);
  color: #fff;
}

/* Sound playing state */
.ufab__action--sound.ufab-sound--playing .ufab__action-btn {
  background: var(--color-accent, #b8952e);
  color: #fff;
  border-color: var(--color-accent, #b8952e);
  animation: ufab-sound-glow 2.4s ease-out infinite;
}
@keyframes ufab-sound-glow {
  0%   { box-shadow: 0 2px 12px rgba(184, 149, 46, 0.2); }
  50%  { box-shadow: 0 2px 20px rgba(184, 149, 46, 0.5); }
  100% { box-shadow: 0 2px 12px rgba(184, 149, 46, 0.2); }
}

/* Cart sub-button accent */
.ufab__action--cart .ufab__action-btn {
  border-color: var(--color-accent, #b8952e);
  color: var(--color-accent, #b8952e);
}
.ufab__action--cart .ufab__action-btn:hover {
  background: var(--color-accent, #b8952e);
  color: #fff;
}

/* Sub-button badges */
.ufab__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full, 50%);
  background: var(--color-accent, #b8952e);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  border: 1.5px solid var(--color-surface, #fff);
}
/* FIX: hidden badge must not display */
.ufab__badge[hidden] {
  display: none !important;
}
.ufab__badge--cart {
  background: #dc2626;
}

/* Tooltip labels */
.ufab__action::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 0.6rem);
  white-space: nowrap;
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text, #333);
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-divider, rgba(0,0,0,0.1));
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-md, 6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(4px);
  transition: all 200ms ease;
  pointer-events: none;
}
.ufab--open .ufab__action:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter card repositioned for ufab */
.ufab .nl-float__card {
  position: absolute;
  bottom: 120px;
  right: calc(100% + 0.75rem);
  left: auto;
  width: 300px;
  z-index: 20;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .ufab {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
  }
  .ufab__main {
    width: 48px;
    height: 48px;
  }
  .ufab__main svg {
    width: 20px;
    height: 20px;
  }
  .ufab__action-btn {
    width: 42px;
    height: 42px;
  }
  .ufab__action-btn svg {
    width: 18px;
    height: 18px;
  }
  .ufab--open .ufab__action--cart {
    bottom: 60px;
    transition-delay: 40ms;
  }
  .ufab--open .ufab__action--sound {
    bottom: 114px;
    transition-delay: 80ms;
  }
  .ufab--open .ufab__action--newsletter {
    bottom: 168px;
    transition-delay: 120ms;
  }
  .ufab .nl-float__card {
    bottom: auto;
    right: 0;
    top: auto;
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    width: calc(100vw - 2rem);
    max-width: 340px;
  }
  /* Hide tooltips on mobile (touch devices) */
  .ufab__action::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .ufab {
    bottom: var(--space-3, 0.75rem);
    right: var(--space-3, 0.75rem);
  }
  .ufab .nl-float__card {
    width: calc(100vw - 1.5rem);
    right: var(--space-3, 0.75rem);
  }
}

/* Save error toast animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.save-error-toast {
  font-family: var(--font-body);
  line-height: 1.4;
}

/* ==================== RESTOCK ALERT SYSTEM ==================== */
.restock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #8b5e3c, #d4a574);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}
.restock-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.restock-btn svg {
  flex-shrink: 0;
}
/* Restock button on product cards (replaces disabled add-to-cart) */
.boutique-product-card__restock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #8b5e3c, #d4a574);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}
.boutique-product-card__restock-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Restock Modal */
.restock-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.restock-modal--open {
  opacity: 1;
  visibility: visible;
}
.restock-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.restock-modal__content {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s;
}
.restock-modal--open .restock-modal__content {
  transform: translateY(0);
}
.restock-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 0.25rem;
}
.restock-modal__close:hover {
  color: #333;
}
.restock-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 94, 60, 0.12), rgba(212, 165, 116, 0.12));
  margin-bottom: 1rem;
}
.restock-modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 0.4rem;
}
.restock-modal__product-name {
  font-size: 0.9rem;
  color: #8b5e3c;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.restock-modal__text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 0 0 1.2rem;
}
.restock-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.restock-modal__input {
  padding: 0.7rem 1rem;
  border: 1.5px solid #e0d8d0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.restock-modal__input:focus {
  border-color: #8b5e3c;
}
.restock-modal__submit {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #8b5e3c, #d4a574);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.restock-modal__submit:hover {
  opacity: 0.9;
}
.restock-modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.restock-modal__success {
  text-align: center;
  padding: 1rem 0;
}
.restock-modal__success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.restock-modal__success-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a7a38;
  margin: 0 0 0.5rem;
}
.restock-modal__success-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}
.restock-modal__error {
  font-size: 0.82rem;
  color: #a33a30;
  margin: 0;
  text-align: center;
}

/* Dark mode support */
[data-theme="dark"] .restock-modal__content {
  background: #1a1a2e;
}
[data-theme="dark"] .restock-modal__title {
  color: #f0ebe4;
}
[data-theme="dark"] .restock-modal__text {
  color: #b0a898;
}
[data-theme="dark"] .restock-modal__input {
  background: #2d2d44;
  border-color: #3d3d55;
  color: #f0ebe4;
}
[data-theme="dark"] .restock-modal__close {
  color: #777;
}
[data-theme="dark"] .restock-modal__close:hover {
  color: #ccc;
}


/* ========================================
   MOBILE OPTIMISATION — BOUTIQUE (2026-03-30)
   Comprehensive mobile enhancements for the
   boutique page and related components.
   ======================================== */

/* ─── 1. Nouveautés filters: ensure last tab is accessible ─── */
@media (max-width: 768px) {
  .nouveautes-filters {
    /* Override the existing padding to add right space for the last item */
    padding: 0 1rem 0.5rem;
    mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
  }
  /* Add an invisible spacer after the last filter to ensure full scroll */
  .nouveautes-filter:last-child {
    margin-right: 2rem;
  }
}

/* ─── 2. Nouveautés badge: prevent clipping on small thumbnails ─── */
@media (max-width: 768px) {
  .nouveautes-card__badge {
    max-width: calc(100% - 0.7rem);
    font-size: 0.48rem;
    padding: 0.12rem 0.3rem;
    letter-spacing: 0.01em;
    gap: 0.15rem;
    /* Hide the SVG icon on small thumbnails to save space */
  }
  .nouveautes-card__badge svg {
    display: none;
  }
}

/* ─── 3. Boutique filters: horizontal scroll on mobile ─── */
@media (max-width: 768px) {
  .boutique-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.75rem;
    position: relative;
  }
  .boutique-filters::-webkit-scrollbar {
    display: none;
  }
  .boutique-filters__label {
    flex-shrink: 0;
  }
  .boutique-filter-btn {
    flex-shrink: 0;
  }
}

/* ─── 4. Boutique product cards: mobile polish ─── */
@media (max-width: 768px) {
  .boutique-product-card {
    border-radius: 0.625rem;
  }
  .boutique-product-card__image {
    aspect-ratio: 4/3;
  }
  .boutique-product-card__content {
    padding: 1rem 0.875rem;
  }
  .boutique-product-card__name {
    font-size: 1rem;
    margin: 0.35rem 0;
  }
  .boutique-product-card__desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  /* Stack price + button when space is tight */
  .boutique-product-card__footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .boutique-product-card__price {
    font-size: 1.05rem;
  }
  .boutique-product-card__add-cart {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 1rem;
    min-height: 44px;
    font-size: 0.85rem;
  }
  /* Restock button same treatment */
  .boutique-product-card__restock-btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
  }
  /* Stock badge smaller on mobile */
  .boutique-product-card__stock-badge {
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
  }
  /* Disable hover transform on touch devices */
  .boutique-product-card:hover {
    transform: none;
  }
}

/* ─── 5. Boutique suggestions: improve mobile sizing ─── */
@media (max-width: 768px) {
  .boutique-suggestions {
    margin-top: var(--space-8);
    padding-top: var(--space-6);
  }
  .boutique-suggestions__header {
    margin-bottom: var(--space-4);
  }
  .boutique-suggestions__title {
    font-size: var(--text-base);
  }
  .boutique-suggestion-card {
    flex: 0 0 160px;
  }
  .boutique-suggestion-card__body {
    padding: 0.6rem;
  }
  .boutique-suggestion-card__name {
    font-size: 0.8rem;
  }
  .boutique-suggestion-card__price {
    font-size: 0.82rem;
  }
}

/* ─── 6. Cart FAB: safe positioning on mobile ─── */
@media (max-width: 768px) {
  .cart-fab {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  /* Ensure last product card isn't hidden behind FAB */
  .boutique-products-grid {
    padding-bottom: 1rem;
  }
}

/* ─── 7. Product overlay: better mobile experience ─── */
@media (max-width: 768px) {
  .product-overlay {
    padding: 0;
  }
  .product-overlay__body {
    border-radius: 0.75rem;
  }
  .product-overlay__gallery {
    border-radius: 0.75rem 0.75rem 0 0;
  }
  .product-overlay__name {
    font-size: 1.15rem;
  }
  .product-overlay__price {
    font-size: 1.25rem;
  }
  .product-overlay__add-cart,
  .product-overlay__add-cart.btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 0.95rem;
  }
  .product-overlay__desc-sections {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .product-overlay__close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }
}

/* ─── 8. Boutique hero: tighter on mobile ─── */
@media (max-width: 768px) {
  #boutique .services-hero {
    padding-block: clamp(var(--space-8), 8vw, var(--space-16));
  }
  #boutique .section-header__title {
    font-size: var(--text-xl);
  }
  #boutique .section-header__desc {
    font-size: var(--text-sm);
    line-height: 1.6;
    max-width: 90%;
    margin-inline: auto;
  }
}

/* ─── 9. Cart drawer: full-width on mobile ─── */
@media (max-width: 768px) {
  .cart-drawer__panel {
    width: 100vw;
  }
  .cart-drawer__items {
    padding: 0.75rem 1rem;
  }
  .cart-drawer__footer {
    padding: 1rem;
  }
  .cart-item__img {
    width: 60px;
    height: 60px;
  }
}

/* ─── 10. Newsletter in boutique: touch-friendly ─── */
@media (max-width: 768px) {
  .boutique-coming .newsletter-inline {
    max-width: 100%;
    padding: 0;
  }
  .boutique-coming .newsletter-form__input {
    min-height: 44px;
    font-size: 1rem;
  }
  .boutique-coming .newsletter-form__btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

/* ─── 11. Extra-small screens (iPhone SE, 375px and below) ─── */
@media (max-width: 380px) {
  .boutique-product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .boutique-product-card__add-cart {
    width: 100%;
  }
  .boutique-filter-btn {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }
  .boutique-product-card__content {
    padding: 0.75rem;
  }
  .product-overlay__info {
    padding: 1.25rem 1rem;
  }
}


/* ========================================
   DESKTOP OPTIMISATION — BOUTIQUE & SITE (2026-03-30)
   Comprehensive desktop enhancements for spacing,
   alignment, hover effects, and visual polish.
   ======================================== */

/* ─── 1. Boutique: reduce gap between hero and filters ─── */
@media (min-width: 769px) {
  #boutique > section:nth-child(2) {
    padding-top: var(--space-8);
  }
}

/* ─── 2. Boutique product cards: consistent heights ─── */
@media (min-width: 769px) {
  .boutique-product-card__content {
    padding: 1.25rem 1.25rem;
  }
  .boutique-product-card__name {
    font-size: 1.05rem;
    min-height: 2.85em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .boutique-product-card__desc--short {
    min-height: 3.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Ensure footer always sits at bottom of card */
  .boutique-product-card__footer {
    margin-top: auto;
  }
  /* Refine hover effect */
  .boutique-product-card {
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      border-color 0.35s ease;
  }
  .boutique-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
  }
}

/* ─── 3. Product overlay: desktop polish ─── */
@media (min-width: 769px) {
  .product-overlay__content {
    max-width: 1000px;
    margin-inline: auto;
    padding: 3rem 2rem;
  }
  .product-overlay__body {
    border-radius: 1rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  }
  .product-overlay__gallery {
    border-radius: 1rem 0 0 1rem;
  }
  .product-overlay__info {
    padding: 2.5rem 2.25rem;
  }
  .product-overlay__name {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .product-overlay__short-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-muted);
  }
  .product-overlay__purchase-block {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    margin-top: 1.25rem;
  }
  .product-overlay__price {
    font-size: 1.5rem;
  }
  .product-overlay__add-cart {
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
  }
  .product-overlay__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
  }
  .product-overlay__close:hover {
    background: var(--color-surface-2);
  }
}

/* ─── 4. Boutique hero: improve text readability on desktop ─── */
@media (min-width: 769px) {
  #boutique .services-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
  }
  #boutique .services-hero__bg::after {
    background: linear-gradient(
      to right,
      oklch(from var(--color-bg) l c h / 0.92) 0%,
      oklch(from var(--color-bg) l c h / 0.7) 50%,
      oklch(from var(--color-bg) l c h / 0.25) 100%
    );
  }
  #boutique .section-header {
    max-width: 560px;
  }
  #boutique .section-header__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
  }
  #boutique .section-header__desc {
    font-size: var(--text-lg);
    max-width: 480px;
    line-height: 1.6;
  }
}

/* ─── 5. Navigation header: subtle underline hover ─── */
@media (min-width: 769px) {
  .header__nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .header__nav a:hover::after,
  .header__nav a.active::after {
    width: 100%;
  }
  /* Exclude non-text links from underline */
  .header__nav .cart-toggle::after,
  .header__nav .theme-toggle::after {
    display: none;
  }
}

/* ─── 6. Nouveautés cards: desktop polish ─── */
@media (min-width: 769px) {
  .nouveautes-grid {
    gap: 1.5rem;
  }
  .nouveautes-card {
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      border-color 0.3s ease;
  }
  .nouveautes-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
  }
  .nouveautes-card__title {
    min-height: 2.6em;
  }
  .nouveautes-card__excerpt {
    min-height: 2.8em;
  }
}

/* ─── 7. Boutique filters: desktop alignment ─── */
@media (min-width: 769px) {
  .boutique-filters {
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
  }
  .boutique-filter-btn {
    transition:
      background 0.25s cubic-bezier(0.23, 1, 0.32, 1),
      border-color 0.25s ease,
      color 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.2s ease;
  }
  .boutique-filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .boutique-filter-btn--active {
    box-shadow: 0 2px 12px rgba(184, 149, 46, 0.2);
  }
}

/* ─── 8. Blog cards: desktop grid consistency ─── */
@media (min-width: 769px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 2rem;
  }
  .blog-card {
    transition:
      transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  }
}

/* ─── 9. Service cards: desktop hover refinement ─── */
@media (min-width: 769px) {
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border-color: oklch(from var(--color-accent) l c h / 0.2);
  }
}

/* ─── 10. Newsletter section: tighter desktop layout ─── */
@media (min-width: 769px) {
  .newsletter-section__inner {
    padding: var(--space-16) var(--space-8);
  }
  .newsletter-form__fields {
    max-width: 420px;
    margin-inline: auto;
  }
  .newsletter-form__btn {
    margin-inline: auto;
  }
}

/* ─── 11. Footer: desktop spacing refinement ─── */
@media (min-width: 769px) {
  .footer {
    padding-block: var(--space-16);
  }
  .footer__grid {
    gap: var(--space-10);
  }
  .footer__col a {
    transition: color 0.2s ease, padding-left 0.25s ease;
  }
  .footer__col a:hover {
    color: var(--color-primary);
    padding-left: 0.25rem;
  }
}

/* ─── 12. CTA section: desktop spacing ─── */
@media (min-width: 769px) {
  .cta-section__inner {
    padding: var(--space-12) var(--space-8);
    max-width: 640px;
    margin-inline: auto;
  }
}

/* ─── 13. Cart drawer: desktop refinement ─── */
@media (min-width: 769px) {
  .cart-drawer__panel {
    width: 440px;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  }
  .cart-drawer__checkout {
    font-size: 1.05rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
  }
}

/* ─── 14. Scroll animations: smoother on desktop ─── */
@media (min-width: 769px) {
  .fade-in {
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }
}

/* ─── 15. Wide screens (1600px+): prevent overly stretched layouts ─── */
@media (min-width: 1600px) {
  .boutique-products-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin-inline: auto;
  }
  .nouveautes-grid {
    max-width: 1400px;
    margin-inline: auto;
  }
  .blog-grid {
    max-width: 1400px;
    margin-inline: auto;
  }
}

/* ─── 16. Tablet (769px–1024px): 2 columns for products ─── */
@media (min-width: 769px) and (max-width: 1024px) {
  .boutique-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nouveautes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
