/* ============================================
   SIERRE PARTAGE — v2 premium
   Refonte travaillée pour comité d'association
   ============================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — plus profonde, plus chaleureuse */
  --coral: #E85D4E;
  --coral-dark: #C24234;
  --coral-bright: #FF6B5A;
  --coral-soft: #F4A091;
  --coral-tint: #FCE8E2;
  --terracotta: #C66547;
  --orange-warm: #F0A05B;
  --orange-soft: #F8C99A;

  --cream: #F9F2E5;
  --cream-deep: #F1E5CD;
  --cream-warm: #FAF5EC;
  --off-white: #FDFBF7;
  --paper: #FFFCF5;

  --sage: #94A87C;
  --sage-deep: #6F8560;
  --sage-soft: #C4D0AB;

  --earth: #2B1F1A;
  --earth-warm: #3A2A23;
  --earth-muted: #6B5D55;
  --earth-soft: #9A8C82;
  --earth-mist: #C7BCB4;

  --line: #E8DDCC;
  --line-soft: #F0E7D8;

  --success: #4A7C59;
  --error: #C65A4F;

  /* Ombres chaudes */
  --shadow-xs: 0 1px 3px rgba(43, 31, 26, 0.06);
  --shadow-sm: 0 4px 16px rgba(43, 31, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(43, 31, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(43, 31, 26, 0.10);
  --shadow-xl: 0 40px 100px rgba(43, 31, 26, 0.14);
  --shadow-coral: 0 24px 60px rgba(232, 93, 78, 0.22);
  --shadow-coral-lg: 0 40px 100px rgba(232, 93, 78, 0.28);

  /* Typographie */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tailles fluides */
  --fs-xs: 0.8125rem;     /* 13px */
  --fs-sm: 0.9375rem;     /* 15px */
  --fs-base: 1.0625rem;   /* 17px */
  --fs-lg: 1.1875rem;     /* 19px */
  --fs-xl: clamp(1.25rem, 1.5vw, 1.4rem);
  --fs-2xl: clamp(1.5rem, 2vw, 1.85rem);
  --fs-3xl: clamp(1.85rem, 3vw, 2.4rem);
  --fs-4xl: clamp(2.25rem, 4.5vw, 3.6rem);
  --fs-5xl: clamp(2.75rem, 6vw, 5.5rem);
  --fs-hero: clamp(3rem, 7.5vw, 6.5rem);

  /* Espacement fluide */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: clamp(4rem, 9vw, 7rem);
  --space-3xl: clamp(6rem, 12vw, 9rem);

  /* Layout */
  --container: 1280px;
  --container-narrow: 980px;

  /* Rayons */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;

  /* Easings */
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--earth);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-tap-highlight-color: transparent;
}

/* Texture chaude */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.85 0 0 0 0 0.7 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--coral); color: var(--off-white); }

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

/* ---------- Typographie ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--earth);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); font-variation-settings: "SOFT" 50, "WONK" 0; }
h2 { font-size: var(--fs-5xl); font-variation-settings: "SOFT" 40, "WONK" 0; }
h3 { font-size: var(--fs-2xl); font-weight: 500; }
h4 { font-size: var(--fs-lg); font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; }

.italic {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

p { color: var(--earth-muted); line-height: 1.7; }

/* ---------- Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

section { padding: var(--space-2xl) 0; position: relative; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
  font-feature-settings: "ss01";
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head p {
  font-size: var(--fs-lg);
  margin-top: 16px;
  color: var(--earth-muted);
  text-wrap: pretty;
  line-height: 1.6;
}

/* ============================================
   BOUTONS — refinés
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease-fluid),
              background 0.3s var(--ease-soft),
              box-shadow 0.4s var(--ease-fluid),
              color 0.3s var(--ease-soft);
  position: relative;
  white-space: nowrap;
  border: none;
  will-change: transform;
}

.btn:active { transform: translateY(1px) scale(0.98); transition-duration: 0.1s; }

.btn-primary {
  background: var(--coral);
  color: var(--off-white);
  box-shadow: 0 6px 20px rgba(232, 93, 78, 0.32),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--coral-bright);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(232, 93, 78, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--earth);
  color: var(--off-white);
  box-shadow: 0 6px 20px rgba(43, 31, 26, 0.2);
}

.btn-secondary:hover {
  background: var(--earth-warm);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(43, 31, 26, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--earth);
  border: 1.5px solid var(--earth);
}

.btn-outline:hover {
  background: var(--earth);
  color: var(--off-white);
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--earth);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(43, 31, 26, 0.08);
}

.btn-ghost:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-lg { padding: 22px 40px; font-size: var(--fs-base); }

.btn i { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.btn:hover i.arrow { transform: translateX(4px); }
.btn:hover i.heart { transform: scale(1.15); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s var(--ease-fluid);
  padding: 22px 0;
}

.header.scrolled {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(43, 31, 26, 0.06),
              0 4px 20px rgba(43, 31, 26, 0.04);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--earth);
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 50;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--terracotta) 100%);
  display: grid;
  place-items: center;
  color: var(--off-white);
  box-shadow: 0 6px 18px rgba(232, 93, 78, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.5s var(--ease-bounce);
  flex-shrink: 0;
  position: relative;
}

.logo-mark i { width: 22px; height: 22px; }

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--earth-soft);
  margin-top: 5px;
}

/* Nav */
.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-list a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--earth);
  position: relative;
  transition: color 0.3s;
  padding: 4px 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--coral);
  transition: width 0.4s var(--ease-out);
  border-radius: 2px;
}

.nav-list a:hover { color: var(--coral); }
.nav-list a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--earth);
  padding: 11px 20px;
  border-radius: 100px;
  background: rgba(148, 168, 124, 0.16);
  transition: all 0.3s var(--ease-soft);
}

.help-link:hover {
  background: var(--sage);
  color: var(--off-white);
  transform: translateY(-2px);
}

.help-link i { width: 15px; height: 15px; }

.btn-header-donate { padding: 13px 24px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--earth);
  color: var(--off-white);
  align-items: center;
  justify-content: center;
  z-index: 101;
  transition: transform 0.3s;
}
.menu-toggle:active { transform: scale(0.92); }
.menu-toggle i { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .nav-list, .help-link, .btn-header-donate { display: none; }
  .menu-toggle { display: flex; }
}

/* Mobile drawer — premium */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 420px);
  height: 100dvh;
  background: var(--paper);
  z-index: 99;
  padding: 110px 36px 40px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-fluid);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(43, 31, 26, 0.18);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu li {
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--earth);
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50;
  transition: padding 0.4s var(--ease-out), color 0.3s;
}

.mobile-menu a::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--earth-soft);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s var(--ease-out);
}

.mobile-menu a:hover, .mobile-menu a:active {
  padding-left: 14px;
  color: var(--coral);
}

.mobile-menu a:hover::after, .mobile-menu a:active::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--coral);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.mobile-actions .btn { width: 100%; padding: 18px; font-size: 15px; }

.mobile-help {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--cream);
  border-radius: var(--r-md);
  margin-top: 16px;
}

.mobile-help .icon {
  width: 44px;
  height: 44px;
  background: var(--sage);
  color: var(--off-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mobile-help .icon i { width: 20px; height: 20px; }

.mobile-help strong { display: block; font-size: 14px; color: var(--earth); }
.mobile-help span { font-size: 13px; color: var(--earth-muted); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 31, 26, 0.5);
  backdrop-filter: blur(6px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.menu-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================
   HERO — premium & émotionnel
   ============================================ */
.hero {
  padding: 160px 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  animation: float-slow 22s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg-blob.one {
  width: 600px;
  height: 600px;
  background: var(--coral-soft);
  top: -150px;
  right: -150px;
  opacity: 0.55;
}

.hero-bg-blob.two {
  width: 480px;
  height: 480px;
  background: var(--orange-warm);
  bottom: -120px;
  left: -120px;
  animation-delay: -11s;
  opacity: 0.32;
}

.hero-bg-blob.three {
  width: 300px;
  height: 300px;
  background: var(--sage-soft);
  top: 40%;
  left: 40%;
  animation-delay: -6s;
  opacity: 0.25;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 968px) {
  .hero { padding: 130px 0 var(--space-xl); }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 93, 78, 0.18);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero-tag .pulse {
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.hero-tag .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.35;
  animation: pulse-ring 2.4s var(--ease-out) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero h1 {
  margin-bottom: 28px;
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 .accent {
  color: var(--coral);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 300;
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: 0.06em;
  width: 104%;
  height: 0.22em;
  background: var(--coral-soft);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.65;
  transform: skewX(-3deg);
}

.hero-lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--earth-muted);
  margin-bottom: 40px;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14.5px;
  color: var(--earth-muted);
}

.avatars { display: flex; }

.avatars span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--off-white);
  margin-left: -12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s var(--ease-bounce);
}

.avatars span:first-child { margin-left: 0; }
.avatars:hover span { transform: translateY(-3px); }

.hero-trust strong { color: var(--earth); font-weight: 700; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 640px;
  perspective: 1200px;
}

@media (max-width: 968px) { .hero-visual { height: 540px; max-width: 540px; margin: 0 auto; } }
@media (max-width: 480px) { .hero-visual { height: 460px; } }

.hero-img-main {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-coral-lg);
  background: var(--cream-deep);
  transform: rotate(-2.5deg);
  transition: transform 1s var(--ease-fluid);
  will-change: transform;
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-main:hover { transform: rotate(0deg) scale(1.02); }

.hero-img-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(43, 31, 26, 0.35));
  pointer-events: none;
}

.hero-img-secondary {
  position: absolute;
  bottom: -36px;
  left: -32px;
  width: 220px;
  height: 260px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 7px solid var(--paper);
  transform: rotate(5deg);
  z-index: 2;
  animation: float-gentle 7s ease-in-out infinite;
}

.hero-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 480px) {
  .hero-img-secondary { width: 140px; height: 170px; bottom: -22px; left: -10px; }
}

.hero-event-card {
  position: absolute;
  top: 36px;
  right: -28px;
  background: var(--paper);
  padding: 18px 22px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  animation: float-gentle 8s ease-in-out infinite;
  animation-delay: -3s;
  max-width: 270px;
}

@media (max-width: 480px) {
  .hero-event-card { right: 0; padding: 14px 16px; max-width: 220px; }
}

.hero-event-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), var(--terracotta));
  display: grid;
  place-items: center;
  color: var(--off-white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(232, 93, 78, 0.4);
}

.hero-event-card .icon i { width: 22px; height: 22px; }

.hero-event-card strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--earth);
  display: block;
  line-height: 1.25;
}

.hero-event-card span {
  font-size: 12.5px;
  color: var(--earth-muted);
  font-weight: 500;
}

/* Quote floating card */
.hero-quote-card {
  position: absolute;
  bottom: 60px;
  right: -20px;
  background: var(--paper);
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  max-width: 230px;
  animation: float-gentle 9s ease-in-out infinite;
  animation-delay: -1.5s;
  display: flex;
  gap: 12px;
}

@media (max-width: 540px) { .hero-quote-card { display: none; } }

.hero-quote-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.hero-quote-card p {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--earth);
  margin: 0;
}

.hero-quote-card cite {
  font-style: normal;
  font-size: 11px;
  color: var(--earth-muted);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--earth-soft);
  z-index: 5;
  opacity: 0.7;
}

.scroll-cue::after {
  content: "";
  width: 1.5px;
  height: 32px;
  background: linear-gradient(to bottom, var(--earth-soft), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

@media (max-width: 968px) { .scroll-cue { display: none; } }

/* ============================================
   IMPACT — chiffres
   ============================================ */
.impact {
  background: var(--earth);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(232, 93, 78, 0.22), transparent 55%),
              radial-gradient(circle at 85% 30%, rgba(240, 160, 91, 0.16), transparent 55%);
}

.impact h2, .impact .eyebrow { color: var(--off-white); }
.impact .eyebrow { color: var(--coral-soft); }

.impact .section-head p { color: rgba(253, 251, 247, 0.75); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

@media (max-width: 968px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .impact-grid { grid-template-columns: 1fr; gap: 16px; } }

.stat {
  text-align: left;
  padding: 36px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s var(--ease-fluid);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 3px;
  background: var(--coral);
  border-radius: 0 0 4px 0;
  transition: width 0.5s var(--ease-out);
}

.stat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(244, 160, 145, 0.4);
}

.stat:hover::before { width: 80px; }

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.4rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
  font-variation-settings: "SOFT" 60;
}

.stat .num .plus { color: var(--coral); font-weight: 400; }

.stat .label {
  font-size: 13px;
  color: rgba(253, 251, 247, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.stat .detail {
  font-size: 14px;
  color: rgba(253, 251, 247, 0.5);
  font-weight: 400;
  line-height: 1.5;
}

/* ============================================
   MISSION
   ============================================ */
.mission { background: var(--cream); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}

@media (max-width: 968px) { .mission-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mission-grid { grid-template-columns: 1fr; } }

.mission-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.6s var(--ease-fluid);
  border: 1px solid var(--line);
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--orange-warm));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-fluid);
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mission-card:hover::before { transform: scaleX(1); }

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  color: var(--coral);
  margin-bottom: 24px;
  transition: all 0.5s var(--ease-bounce);
  position: relative;
}

.mission-icon i { width: 28px; height: 28px; }

.mission-card:hover .mission-icon {
  background: var(--coral);
  color: var(--off-white);
  transform: scale(1.08) rotate(-8deg);
}

.mission-card h3 { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.2; }
.mission-card p { font-size: 14.5px; line-height: 1.6; }

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: linear-gradient(180deg, var(--off-white), var(--cream-warm));
  padding: var(--space-3xl) 0;
}

.testimonial-card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--r-2xl);
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-soft);
}

@media (max-width: 868px) { .testimonial-card { grid-template-columns: 1fr; } }

.testimonial-img {
  background-size: cover;
  background-position: center;
  min-height: 460px;
  position: relative;
}

@media (max-width: 868px) { .testimonial-img { min-height: 320px; } }

.testimonial-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 93, 78, 0.1), transparent);
}

.testimonial-img .badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--paper);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

@media (max-width: 540px) { .testimonial-content { padding: 40px 28px; } }

.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--coral);
  opacity: 0.18;
  font-variation-settings: "SOFT" 100;
  position: absolute;
  top: 50px;
  left: 56px;
}

@media (max-width: 540px) { .quote-mark { font-size: 5rem; top: 30px; left: 20px; } }

.testimonial-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
  color: var(--earth);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  font-variation-settings: "SOFT" 50;
  text-wrap: balance;
}

.testimonial-content blockquote em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--coral);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--off-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--earth);
  font-weight: 700;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--earth-muted);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 50px;
}

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

.service-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.6s var(--ease-fluid);
  min-height: 260px;
}

@media (max-width: 540px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card .service-img { height: 220px; }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-img {
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.8s var(--ease-fluid);
}

.service-card:hover .service-img { transform: scale(1.05); }

.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 93, 78, 0.12), transparent);
}

.service-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.service-meta i { width: 14px; height: 14px; }

.service-content h3 { margin-bottom: 8px; font-size: 1.4rem; }
.service-content p { font-size: 14.5px; line-height: 1.55; }

.service-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--earth);
  padding: 8px 14px;
  background: var(--cream);
  border-radius: 100px;
  width: fit-content;
  font-weight: 500;
}

.service-hours i { width: 14px; height: 14px; color: var(--sage-deep); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--earth);
  margin-top: 4px;
  transition: gap 0.4s var(--ease-out), color 0.3s;
}

.service-link:hover { color: var(--coral); gap: 12px; }
.service-link i { width: 14px; height: 14px; }

/* ============================================
   COLLECTE — événement
   ============================================ */
.collecte {
  background: linear-gradient(135deg, var(--coral) 0%, var(--terracotta) 100%);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.collecte::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  border-radius: 50%;
}

.collecte::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 60%);
  border-radius: 50%;
}

.collecte-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 968px) { .collecte-inner { grid-template-columns: 1fr; gap: 50px; } }

.collecte h2 { color: var(--off-white); margin-bottom: 24px; }
.collecte .eyebrow { color: rgba(253, 251, 247, 0.92); }
.collecte p { color: rgba(253, 251, 247, 0.94); font-size: var(--fs-lg); line-height: 1.7; margin-bottom: 36px; }

.collecte-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.collecte .btn-primary { background: var(--off-white); color: var(--coral); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.collecte .btn-primary:hover { background: var(--earth); color: var(--off-white); }
.collecte .btn-outline { color: var(--off-white); border-color: rgba(255, 255, 255, 0.5); }
.collecte .btn-outline:hover { background: var(--off-white); color: var(--coral); border-color: var(--off-white); }

.countdown {
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-2xl);
  padding: 44px;
  text-align: center;
}

.countdown-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.8);
  margin-bottom: 10px;
}

.countdown-date {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  margin-bottom: 28px;
  color: var(--off-white);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 300;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown-cell {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 20px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.countdown-cell .value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1;
  display: block;
  font-variation-settings: "SOFT" 60;
}

.countdown-cell .unit {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(253, 251, 247, 0.72);
  margin-top: 8px;
  display: block;
  font-weight: 600;
}

/* ============================================
   BÉNÉVOLE
   ============================================ */
.benevole-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

@media (max-width: 968px) { .benevole-grid { grid-template-columns: 1fr; gap: 50px; } }

.benevole-img {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  aspect-ratio: 4/5;
}

.benevole-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-fluid);
}

.benevole-img:hover img { transform: scale(1.06); }

.benevole-img .float-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--paper);
  padding: 14px 18px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.benevole-img .float-badge .icon {
  width: 38px; height: 38px;
  background: var(--sage);
  color: var(--off-white);
  border-radius: 50%;
  display: grid; place-items: center;
}

.benevole-img .float-badge .icon i { width: 18px; height: 18px; }

.benevole-img .float-badge strong {
  font-size: 13.5px;
  color: var(--earth);
  display: block;
  line-height: 1.2;
}

.benevole-img .float-badge span {
  font-size: 11.5px;
  color: var(--earth-muted);
}

.benevole h2 { margin-bottom: 22px; }
.benevole-lead {
  font-size: var(--fs-lg);
  line-height: 1.65;
  margin-bottom: 40px;
  color: var(--earth-muted);
}

.steps { margin-bottom: 40px; }

.step {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  transition: all 0.4s var(--ease-out);
}

.step:last-child { border-bottom: none; }
.step:hover { padding-left: 8px; }

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--coral);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  flex-shrink: 0;
  border: 1.5px solid var(--coral-soft);
  transition: all 0.4s var(--ease-bounce);
  font-variation-settings: "SOFT" 80;
}

.step:hover .step-num {
  background: var(--coral);
  color: var(--off-white);
  border-color: var(--coral);
  transform: scale(1.08);
}

.step-content h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step-content p { font-size: 14.5px; line-height: 1.55; }

/* ============================================
   DON
   ============================================ */
.don { background: var(--cream); }

.don-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
  margin-bottom: 50px;
}

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

.don-card {
  background: var(--paper);
  border-radius: 32px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.6s var(--ease-fluid);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.don-card.featured {
  background: linear-gradient(160deg, var(--earth) 0%, #1a1310 100%);
  color: var(--off-white);
  border-color: var(--earth);
}

.don-card.featured h3, .don-card.featured p { color: var(--off-white); }
.don-card.featured p { color: rgba(253, 251, 247, 0.78); }

.don-card.featured::before {
  content: "Recommandé";
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--coral);
  color: var(--off-white);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.don-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.don-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--coral), var(--terracotta));
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  color: var(--off-white);
  box-shadow: 0 8px 20px rgba(232, 93, 78, 0.3);
}

.don-icon i { width: 32px; height: 32px; }

.don-card.featured .don-icon { background: var(--coral); }

.don-card h3 { margin-bottom: 14px; font-size: 1.4rem; }
.don-card p { font-size: 15px; line-height: 1.6; margin-bottom: 24px; flex: 1; }

.qr-mockup {
  width: 130px;
  height: 130px;
  margin: 0 auto 8px;
  background: var(--paper);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.qr-mockup svg { width: 100%; height: 100%; }

.don-cta {
  text-align: center;
  background: var(--paper);
  padding: 60px 36px;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.don-cta h3 { margin-bottom: 12px; font-size: 1.6rem; }
.don-cta p { margin-bottom: 28px; }

.don-iban {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  padding: 12px 20px;
  border-radius: 100px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 24px;
  border: 1px dashed var(--earth-soft);
}

/* ============================================
   ACTUALITÉS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

@media (max-width: 968px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--paper);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.6s var(--ease-fluid);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.news-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.news-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43, 31, 26, 0.25));
  transition: opacity 0.5s;
}

.news-card:hover .news-img::after { opacity: 0.6; }

.news-cat {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 14px;
  background: var(--paper);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.news-date {
  font-size: 13px;
  color: var(--earth-soft);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.news-body h3 { margin-bottom: 14px; font-size: 1.4rem; line-height: 1.2; }
.news-body p { font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; flex: 1; }

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--coral);
  align-self: flex-start;
  transition: gap 0.4s var(--ease-out);
}

.news-link:hover { gap: 14px; }
.news-link i { width: 14px; height: 14px; }

.news-more { text-align: center; margin-top: 60px; }

/* ============================================
   GALERIE
   ============================================ */
.gallery { background: var(--cream); }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 50px;
}

.filter-btn {
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--earth-muted);
  background: var(--paper);
  border: 1.5px solid var(--line);
  transition: all 0.4s var(--ease-soft);
}

.filter-btn:hover { color: var(--coral); border-color: var(--coral-soft); }

.filter-btn.active {
  background: var(--earth);
  color: var(--off-white);
  border-color: var(--earth);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 968px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.6s var(--ease-fluid);
}

.gallery-item:nth-child(3n) { aspect-ratio: 3/4; }
.gallery-item:nth-child(7n) { grid-column: span 2; aspect-ratio: 16/9; }

@media (max-width: 640px) {
  .gallery-item:nth-child(7n) { grid-column: span 2; aspect-ratio: 4/3; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-fluid);
}

.gallery-item:hover { transform: scale(1.02); z-index: 2; }
.gallery-item:hover img { transform: scale(1.12); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(43, 31, 26, 0.55));
  opacity: 0;
  transition: opacity 0.5s;
}

.gallery-item:hover::after { opacity: 1; }

.gallery-item .zoom-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  color: var(--off-white);
}

.gallery-item:hover .zoom-icon { opacity: 1; }

.gallery-item .zoom-icon i { width: 32px; height: 32px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(43, 31, 26, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.5s var(--ease-out);
}

.lightbox.open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--earth);
  display: grid;
  place-items: center;
  z-index: 10;
  transition: transform 0.3s, background 0.3s;
}

.lightbox-close:hover { background: var(--coral); color: var(--off-white); transform: rotate(90deg); }

.lightbox-close i { width: 26px; height: 26px; }

/* ============================================
   PARTENAIRES
   ============================================ */
.partners-marquee {
  margin-top: 50px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  gap: 50px;
  animation: scroll-marquee 38s linear infinite;
  width: max-content;
}

@keyframes scroll-marquee {
  to { transform: translateX(-50%); }
}

.partners-track:hover { animation-play-state: paused; }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 200px;
  padding: 20px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--earth-muted);
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 30;
  transition: all 0.4s var(--ease-soft);
}

.partner-logo:hover {
  color: var(--coral);
  border-color: var(--coral-soft);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   POURQUOI REFONTE — section comité
   ============================================ */
.why {
  background: linear-gradient(180deg, var(--cream-warm), var(--off-white));
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232, 93, 78, 0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(148, 168, 124, 0.06), transparent 40%);
}

.why-head {
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.why-head .eyebrow { justify-content: center; color: var(--earth); }
.why-head .eyebrow::before { background: var(--earth); }
.why-head h2 { margin-bottom: 22px; }
.why-head p { font-size: var(--fs-lg); }

/* Comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: var(--space-2xl);
  position: relative;
}

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

.compare-card {
  background: var(--paper);
  border-radius: var(--r-2xl);
  padding: 36px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.compare-card.before {
  background: #F2EBDF;
  border-color: var(--earth-mist);
}

.compare-card.after {
  background: var(--paper);
  border-color: var(--coral-soft);
  box-shadow: var(--shadow-coral);
  transform: translateY(-12px);
}

@media (max-width: 868px) { .compare-card.after { transform: translateY(0); } }

.compare-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.compare-label.before {
  background: rgba(154, 140, 130, 0.18);
  color: var(--earth-soft);
}

.compare-label.after {
  background: var(--coral);
  color: var(--off-white);
}

/* Browser mockup */
.browser-mock {
  background: var(--off-white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}

.browser-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--earth-mist);
}
.browser-bar .dot:nth-child(1) { background: #F4A091; }
.browser-bar .dot:nth-child(2) { background: #F0CB7A; }
.browser-bar .dot:nth-child(3) { background: #94A87C; }

.browser-bar .url {
  margin-left: 12px;
  font-size: 11px;
  color: var(--earth-soft);
  background: var(--paper);
  padding: 4px 12px;
  border-radius: 100px;
  flex: 1;
  font-family: monospace;
}

.browser-content {
  padding: 20px;
  min-height: 200px;
}

/* OLD site mock — stylisé daté */
.old-mock {
  background: #DFD7C8;
  font-family: 'Times New Roman', serif;
}

.old-mock .header-line {
  background: #6B5D55;
  height: 28px;
  margin: -20px -20px 16px;
  padding: 6px 20px;
  display: flex;
  align-items: center;
}

.old-mock .header-line::before {
  content: "Sierre Partage";
  color: #FAF5EC;
  font-size: 11px;
}

.old-mock .menu-line {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 9px;
  color: #6B5D55;
}

.old-mock .menu-line span { padding: 3px 6px; background: #C7BCB4; }

.old-mock h4 {
  font-size: 14px;
  color: #2B1F1A;
  margin-bottom: 10px;
  font-family: 'Times New Roman', serif;
  font-weight: 700;
}

.old-mock .text-line {
  background: #C7BCB4;
  height: 6px;
  margin-bottom: 5px;
  border-radius: 1px;
}

.old-mock .text-line.short { width: 70%; }
.old-mock .text-line.medium { width: 85%; }

.old-mock .image-block {
  background: #C7BCB4;
  height: 40px;
  margin: 10px 0;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #6B5D55;
}

/* NEW site mock */
.new-mock {
  background: linear-gradient(135deg, var(--cream-warm), var(--off-white));
  position: relative;
  overflow: hidden;
}

.new-mock .nav-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.new-mock .logo-mini {
  display: flex;
  align-items: center;
  gap: 6px;
}

.new-mock .logo-mini-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--coral);
}

.new-mock .logo-mini span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--earth);
}

.new-mock .menu-mini {
  display: flex;
  gap: 8px;
  font-size: 8px;
  color: var(--earth-muted);
}

.new-mock .btn-mini {
  background: var(--coral);
  color: var(--off-white);
  font-size: 8px;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.new-mock h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--earth);
  margin-bottom: 8px;
  line-height: 1.1;
  font-weight: 400;
}

.new-mock h4 em { color: var(--coral); font-style: italic; }

.new-mock .lead-mini {
  font-size: 9px;
  color: var(--earth-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.new-mock .cta-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.new-mock .cta-mini {
  font-size: 8px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
}

.new-mock .cta-mini.primary { background: var(--coral); color: var(--off-white); }
.new-mock .cta-mini.outline { background: transparent; color: var(--earth); border: 1px solid var(--earth); }

.new-mock .image-block {
  background: linear-gradient(135deg, var(--coral-soft), var(--orange-warm));
  height: 50px;
  border-radius: 8px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.new-mock .image-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

/* Compare title */
.compare-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.2;
}

.compare-card p {
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Benefits list */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 968px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefits { grid-template-columns: 1fr; } }

.benefit {
  background: var(--paper);
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.5s var(--ease-fluid);
}

.benefit:hover {
  transform: translateY(-6px);
  border-color: var(--coral-soft);
  box-shadow: var(--shadow-md);
}

.benefit-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.benefit-icon i { width: 20px; height: 20px; }

.benefit h4 {
  font-size: 1rem;
  color: var(--earth);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
}

.benefit-row .mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.benefit-row.before { color: var(--earth-soft); }
.benefit-row.before .mark { color: var(--earth-mist); }

.benefit-row.after { color: var(--earth); font-weight: 500; }
.benefit-row.after .mark { color: var(--success); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  margin-top: 50px;
}

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

.contact-info { display: flex; flex-direction: column; gap: 18px; }

.contact-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all 0.4s var(--ease-fluid);
  align-items: center;
}

.contact-card:hover {
  transform: translateX(6px);
  border-color: var(--coral-soft);
  background: var(--cream-warm);
}

.contact-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-card:hover .icon {
  background: var(--coral);
  color: var(--off-white);
}

.contact-card .icon i { width: 22px; height: 22px; }

.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--earth-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-card span {
  font-size: 16px;
  color: var(--earth);
  font-weight: 600;
  line-height: 1.4;
}

.contact-form {
  background: var(--paper);
  border-radius: var(--r-2xl);
  padding: 44px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) { .contact-form { padding: 30px 22px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 8px;
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream-warm);
  font-size: 15px;
  color: var(--earth);
  transition: all 0.3s;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(232, 93, 78, 0.12);
}

.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.form-foot small {
  font-size: 12.5px;
  color: var(--earth-soft);
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.form-foot small i { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--sage-deep); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--earth);
  color: var(--off-white);
  padding: 90px 0 30px;
  position: relative;
}

.footer-cta {
  background: linear-gradient(135deg, var(--coral) 0%, var(--terracotta) 100%);
  padding: 50px 60px;
  border-radius: var(--r-2xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 70px;
  margin-top: -150px;
  box-shadow: var(--shadow-coral-lg);
  position: relative;
  z-index: 3;
}

@media (max-width: 768px) {
  .footer-cta {
    grid-template-columns: 1fr;
    padding: 36px 30px;
    text-align: center;
    margin-top: -120px;
  }
}

.footer-cta h2 {
  color: var(--off-white);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 8px;
}

.footer-cta p {
  color: rgba(253, 251, 247, 0.9);
  font-size: var(--fs-base);
}

.footer-cta .btn {
  background: var(--off-white);
  color: var(--coral);
  flex-shrink: 0;
}

.footer-cta .btn:hover {
  background: var(--earth);
  color: var(--off-white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 868px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .logo { color: var(--off-white); }
.footer-brand .logo-text small { color: rgba(253, 251, 247, 0.6); }
.footer-brand p { color: rgba(253, 251, 247, 0.7); margin-top: 22px; max-width: 320px; line-height: 1.6; }

.footer h4 {
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul li { color: rgba(253, 251, 247, 0.7); font-size: 14.5px; transition: color 0.3s; }
.footer ul a:hover { color: var(--coral-soft); }

.socials { display: flex; gap: 10px; margin-top: 20px; }

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(253, 251, 247, 0.08);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease-bounce);
}

.socials a:hover { background: var(--coral); transform: translateY(-4px) rotate(8deg); }
.socials a i { width: 18px; height: 18px; color: var(--off-white); }

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(253, 251, 247, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(253, 251, 247, 0.5); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--coral-soft); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  z-index: 90;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.4s var(--ease-bounce);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: pulse-whatsapp 2.5s ease-out infinite;
}

@keyframes pulse-whatsapp {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-float:hover { transform: scale(1.12) rotate(8deg); }
.whatsapp-float i { width: 28px; height: 28px; position: relative; z-index: 2; }

/* ============================================
   ANIMATIONS reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-fluid), transform 1s var(--ease-fluid);
  will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  background: var(--earth);
  color: var(--off-white);
  padding: 16px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 300;
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease-fluid);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { width: 18px; height: 18px; color: var(--sage-soft); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--orange-warm));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================
   ADMIN — version simplifiée 60+
   ============================================ */
.admin-body {
  background: var(--cream-warm);
  min-height: 100vh;
  display: flex;
  font-size: 17px;
}

.admin-sidebar {
  width: 300px;
  background: var(--earth);
  color: var(--off-white);
  padding: 28px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: transform 0.5s var(--ease-fluid);
  overflow-y: auto;
}

.admin-sidebar .logo { color: var(--off-white); margin-bottom: 36px; padding: 0 8px; }
.admin-sidebar .logo-text small { color: rgba(253, 251, 247, 0.6); }

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  flex: 1;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  color: rgba(253, 251, 247, 0.78);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.admin-nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--off-white); }
.admin-nav a.active { background: var(--coral); color: var(--off-white); }
.admin-nav a i { width: 22px; height: 22px; flex-shrink: 0; }

.admin-help-call {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.admin-help-call .icon {
  width: 48px;
  height: 48px;
  background: var(--sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.admin-help-call .icon i { width: 22px; height: 22px; color: var(--off-white); }

.admin-help-call strong {
  font-size: 14px;
  color: var(--off-white);
  display: block;
  margin-bottom: 4px;
}

.admin-help-call span {
  font-size: 12.5px;
  color: rgba(253, 251, 247, 0.7);
  display: block;
  margin-bottom: 12px;
  line-height: 1.4;
}

.admin-help-call a {
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-soft);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
}

.admin-user .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange-warm));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--off-white);
  font-size: 18px;
  flex-shrink: 0;
}

.admin-user-info strong { display: block; font-size: 14px; color: var(--off-white); }
.admin-user-info small { font-size: 12px; color: rgba(253, 251, 247, 0.6); }

.admin-main {
  margin-left: 300px;
  flex: 1;
  min-height: 100vh;
  padding: 36px 44px;
  max-width: 1100px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
}

.admin-header .greeting {
  font-size: 1.05rem;
  color: var(--earth-muted);
  margin-top: 6px;
}

.admin-toggle-mobile {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--earth);
  color: var(--off-white);
  align-items: center;
  justify-content: center;
}

.admin-toggle-mobile i { width: 22px; height: 22px; }

@media (max-width: 968px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 22px; }
  .admin-toggle-mobile { display: flex; }
}

/* Big action cards */
.admin-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.admin-action-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 30px;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: all 0.5s var(--ease-fluid);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}

.admin-action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral-soft);
  background: var(--cream-warm);
}

.admin-action-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--coral), var(--terracotta));
  display: grid;
  place-items: center;
  color: var(--off-white);
  box-shadow: 0 6px 16px rgba(232, 93, 78, 0.3);
}

.admin-action-icon i { width: 30px; height: 30px; }

.admin-action-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.admin-action-card p {
  font-size: 15px;
  color: var(--earth-muted);
  line-height: 1.5;
}

.admin-action-card .arrow {
  align-self: flex-end;
  margin-top: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--earth);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease-bounce);
}

.admin-action-card:hover .arrow {
  background: var(--coral);
  color: var(--off-white);
  transform: translateX(6px) scale(1.05);
}

.admin-action-card .arrow i { width: 20px; height: 20px; }

/* Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.admin-stat {
  background: var(--paper);
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
}

.admin-stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--earth);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  font-variation-settings: "SOFT" 50;
}

.admin-stat .label {
  font-size: 13px;
  color: var(--earth-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.admin-stat .change {
  font-size: 13.5px;
  color: var(--success);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.admin-stat .change i { width: 14px; height: 14px; }

/* Form wrapping — bigger, cleaner */
.admin-form-wrap {
  background: var(--paper);
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--line);
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-form-head {
  padding: 32px 40px;
  border-bottom: 1.5px solid var(--line);
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-form-head .head-icon {
  width: 60px;
  height: 60px;
  background: var(--coral);
  color: var(--off-white);
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(232, 93, 78, 0.3);
}

.admin-form-head .head-icon i { width: 28px; height: 28px; }

.admin-form-head h2 {
  font-size: 1.7rem;
  margin-bottom: 4px;
  font-weight: 400;
}

.admin-form-head p {
  font-size: 1rem;
  color: var(--earth-muted);
}

.admin-form-body { padding: 40px; }

@media (max-width: 540px) {
  .admin-form-head { padding: 26px; flex-wrap: wrap; gap: 14px; }
  .admin-form-head h2 { font-size: 1.4rem; }
  .admin-form-body { padding: 26px; }
}

.admin-form-body .field { margin-bottom: 28px; }

.admin-form-body label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 10px;
}

.admin-form-body label .help {
  display: block;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--earth-muted);
  margin-top: 4px;
  line-height: 1.45;
}

.admin-form-body label .required {
  color: var(--coral);
  font-weight: 700;
  margin-left: 4px;
}

.admin-form-body input,
.admin-form-body textarea,
.admin-form-body select {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 17px;
  color: var(--earth);
  transition: all 0.3s;
  min-height: 60px;
}

.admin-form-body input:focus,
.admin-form-body textarea:focus,
.admin-form-body select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 93, 78, 0.12);
}

.admin-form-body textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) { .admin-form-row { grid-template-columns: 1fr; } }

/* Upload zone — friendly */
.upload-zone {
  border: 3px dashed var(--earth-mist);
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s;
  background: var(--cream-warm);
}

.upload-zone:hover {
  border-color: var(--coral);
  background: rgba(232, 93, 78, 0.04);
  transform: translateY(-2px);
}

.upload-zone .upload-icon {
  width: 70px;
  height: 70px;
  background: var(--coral);
  color: var(--off-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(232, 93, 78, 0.3);
}

.upload-zone .upload-icon i { width: 32px; height: 32px; }

.upload-zone strong {
  display: block;
  font-size: 17px;
  color: var(--earth);
  margin-bottom: 8px;
  font-weight: 700;
}

.upload-zone span {
  font-size: 14.5px;
  color: var(--earth-muted);
}

/* Form actions */
.admin-form-actions {
  display: flex;
  gap: 14px;
  padding-top: 28px;
  border-top: 1.5px solid var(--line);
  margin-top: 30px;
  flex-wrap: wrap;
}

.admin-form-actions .btn {
  padding: 18px 32px;
  font-size: 16px;
  min-height: 60px;
}

/* Toggle */
.admin-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--cream-warm);
  border-radius: var(--r-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.admin-toggle:hover { border-color: var(--coral-soft); }

.admin-toggle input {
  width: 56px;
  height: 32px;
  appearance: none;
  background: var(--earth-mist);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.4s var(--ease-out);
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.admin-toggle input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-bounce);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.admin-toggle input:checked { background: var(--success); }
.admin-toggle input:checked::before { transform: translateX(24px); }

.admin-toggle .toggle-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--earth);
}

.admin-toggle .toggle-help {
  font-size: 14.5px;
  color: var(--earth-muted);
  display: block;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.45;
}

/* Live preview */
.admin-preview {
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 2px dashed var(--earth-soft);
  margin-top: 30px;
}

.admin-preview-label {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--earth-soft);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-preview-label i { width: 14px; height: 14px; }

.preview-card {
  background: var(--paper);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 360px;
}

.preview-img {
  height: 180px;
  background: linear-gradient(135deg, var(--cream-deep), var(--coral-soft));
  display: grid;
  place-items: center;
  color: var(--earth);
  font-size: 13px;
  font-weight: 600;
  background-size: cover;
  background-position: center;
}

.preview-body { padding: 22px; }
.preview-body .cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.preview-body h3 { font-size: 1.25rem; margin-bottom: 8px; line-height: 1.2; }
.preview-body p { font-size: 14px; line-height: 1.5; }

/* Photo grid in admin */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-photo {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--cream-deep);
}

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

.admin-photo .remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(43, 31, 26, 0.75);
  color: var(--off-white);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.admin-photo .remove:hover { background: var(--coral); transform: scale(1.1); }
.admin-photo .remove i { width: 14px; height: 14px; }

/* Section visibility */
.admin-section { display: none; }
.admin-section.active { display: block; animation: fadeUp 0.5s var(--ease-out); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Helper banner — for elderly users */
.admin-banner {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(148, 168, 124, 0.18), rgba(148, 168, 124, 0.08));
  border: 1.5px solid rgba(148, 168, 124, 0.3);
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  align-items: center;
}

.admin-banner .icon {
  width: 50px;
  height: 50px;
  background: var(--sage-deep);
  color: var(--off-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.admin-banner .icon i { width: 24px; height: 24px; }

.admin-banner strong {
  display: block;
  font-size: 16px;
  color: var(--earth);
  margin-bottom: 2px;
}

.admin-banner span {
  font-size: 14.5px;
  color: var(--earth-muted);
  line-height: 1.5;
}

/* Big confirmation */
.admin-confirm {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43, 31, 26, 0.6);
  backdrop-filter: blur(8px);
  z-index: 250;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-confirm.show { display: flex; animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.admin-confirm-card {
  background: var(--paper);
  border-radius: var(--r-2xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: scaleUp 0.4s var(--ease-bounce);
}

@keyframes scaleUp { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.admin-confirm-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: var(--off-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  animation: bounce-in 0.6s var(--ease-bounce);
}

@keyframes bounce-in {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.admin-confirm-icon i { width: 40px; height: 40px; }

.admin-confirm h3 { font-size: 1.6rem; margin-bottom: 10px; }
.admin-confirm p { font-size: 1rem; margin-bottom: 26px; }

.admin-confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
