/* =====================================================
   Interpharmaciens — Landing
   Design tokens
   ===================================================== */

:root {
  /* Palette */
  --c-primary: #5C1F2E;
  --c-primary-dark: #2A1418;
  --c-primary-soft: #F7E8E8;
  --c-accent: #F4B942;
  --c-accent-dark: #D89A28;
  --c-bg: #FBF8F3;
  --c-paper: #FFFFFF;
  --c-ink: #1A1A1A;
  --c-muted: #6B6B6B;
  --c-muted-light: #9A9A9A;
  --c-border: #E8E2D8;
  --c-border-dark: rgba(255, 255, 255, 0.12);

  /* Typo */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizes */
  --container: 1240px;
  --container-narrow: 920px;

  /* Spacing — base 8 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Motion */
  --m-fast: 180ms;
  --m-medium: 320ms;
  --m-slow: 500ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 20, 24, 0.06);
  --shadow-md: 0 8px 32px rgba(42, 20, 24, 0.08);
  --shadow-lg: 0 24px 64px rgba(42, 20, 24, 0.12);
  --shadow-accent: 0 12px 32px rgba(244, 185, 66, 0.32);

  /* Header */
  --header-h: 76px;
}

/* =====================================================
   Reset
   ===================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

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

ul, ol { list-style: none; }

/* =====================================================
   Typography
   ===================================================== */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--c-ink);
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-primary);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 20px;
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h4 {
  font-size: 14px;
  font-family: var(--f-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

p { color: var(--c-ink); }
.lead { color: var(--c-muted); font-size: 17px; line-height: 1.65; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--s-4);
}
.eyebrow-light { color: var(--c-accent); }

/* =====================================================
   Accessibility helpers
   ===================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--c-primary);
  color: white;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  z-index: 1000;
  transition: top var(--m-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* =====================================================
   Layout
   ===================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

main > section { padding: var(--s-9) 0; }

@media (max-width: 768px) {
  main > section { padding: var(--s-8) 0; }
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.section-head p {
  margin-top: var(--s-4);
  color: var(--c-muted);
  font-size: 17px;
  line-height: 1.6;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
}

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

/* =====================================================
   Buttons
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: all var(--m-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-primary-dark);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(244, 185, 66, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-border);
}
.btn-ghost:hover {
  background: white;
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-ghost svg { transition: transform var(--m-fast) var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* =====================================================
   Header
   ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--m-fast) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--c-primary);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--c-primary);
  color: var(--c-accent);
  border-radius: var(--r-full);
}
.brand-name { letter-spacing: -0.02em; }

.nav-primary ul {
  display: flex;
  gap: var(--s-7);
}
.nav-primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  transition: color var(--m-fast) var(--ease);
}
.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--m-fast) var(--ease);
}
.nav-primary a:hover { color: var(--c-primary); }
.nav-primary a:hover::after { transform: scaleX(1); }

.nav-cta { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--m-fast) var(--ease), opacity var(--m-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: var(--s-5) var(--s-5) var(--s-6);
  background: white;
  border-top: 1px solid var(--c-border);
}
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--s-4); margin-bottom: var(--s-5); }
.mobile-menu a { font-size: 17px; font-weight: 500; color: var(--c-ink); }
.mobile-menu .btn { width: 100%; justify-content: center; }

@media (max-width: 960px) {
  .nav-primary, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
}

/* =====================================================
   Hero
   ===================================================== */

.hero {
  padding-top: var(--s-9) !important;
  padding-bottom: var(--s-10) !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-9);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero { padding-bottom: var(--s-8) !important; }
}

.hero-text { max-width: 580px; }
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: var(--s-5) 0 var(--s-7);
}
.hero-lead strong { color: var(--c-ink); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-border);
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
  color: var(--c-muted);
}
.hero-bullets svg { color: var(--c-primary); }

/* Hero card */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: linear-gradient(155deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: white;
  padding: var(--s-7) var(--s-6) var(--s-6);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(244, 185, 66, 0.12);
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-5);
  position: relative;
}

.hero-card-amount {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--f-display);
  position: relative;
  margin-bottom: var(--s-4);
}
.hero-card-currency {
  font-size: 28px;
  font-weight: 400;
  color: var(--c-accent);
  margin-top: 12px;
}
.hero-card-number {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin-bottom: var(--s-6);
  position: relative;
  max-width: 280px;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-border-dark);
  position: relative;
}
.hero-card-stats > div { display: flex; flex-direction: column; gap: 4px; }
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.stat-value {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -16px;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--c-accent);
  color: var(--c-primary-dark);
  padding: 12px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 540px) {
  .hero-card-number { font-size: 52px; }
  .hero-card-stats { grid-template-columns: 1fr; gap: var(--s-2); }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
}

/* =====================================================
   Intro
   ===================================================== */

.intro {
  padding: var(--s-8) 0 !important;
}
.intro-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.intro-text em {
  font-style: italic;
  color: var(--c-primary);
}

/* =====================================================
   Philosophie
   ===================================================== */

.philosophie { background: var(--c-bg); }

.pillar {
  padding: var(--s-6) var(--s-5);
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: transform var(--m-medium) var(--ease), box-shadow var(--m-medium) var(--ease), border-color var(--m-medium) var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-soft);
}
.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
}
.pillar h3 { margin-bottom: var(--s-2); }
.pillar p { color: var(--c-muted); font-size: 15px; line-height: 1.6; }

/* =====================================================
   Aide (dark section)
   ===================================================== */

.aide {
  background: var(--c-primary-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.aide::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.08), transparent 70%);
  pointer-events: none;
}

.aide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-areas:
    "head amount"
    "features amount"
    "footnote footnote";
  gap: var(--s-7) var(--s-9);
  align-items: start;
  position: relative;
}

@media (max-width: 960px) {
  .aide-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "amount" "features" "footnote";
    gap: var(--s-7);
  }
}

.aide-head { grid-area: head; }
.aide-head h2 { color: white; }
.aide-head em { color: var(--c-accent); }
.aide-head p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.65;
  margin-top: var(--s-4);
}

.aide-amount {
  grid-area: amount;
  padding: var(--s-7) var(--s-6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r-lg);
  text-align: center;
}
.amount-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: var(--s-4);
}
.amount-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.amount-sep {
  font-size: 0.35em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.amount-unit {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--c-accent);
  margin-top: var(--s-3);
}

.aide-features {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-6);
}
.aide-features li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  font-size: 15px;
}
.aide-features svg {
  flex-shrink: 0;
  color: var(--c-accent);
  margin-top: 4px;
}
.aide-features strong { color: white; font-weight: 600; }

@media (max-width: 640px) {
  .aide-features { grid-template-columns: 1fr; }
}

.aide-footnote {
  grid-area: footnote;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  margin-top: var(--s-3);
}

/* =====================================================
   Bénéficiaires
   ===================================================== */

.beneficiaires-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-9);
  align-items: center;
}
@media (max-width: 960px) {
  .beneficiaires-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.beneficiaires .lead { margin-top: var(--s-4); }

.criteria { display: flex; flex-direction: column; gap: var(--s-4); }
.criteria li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-5);
  padding: var(--s-5);
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color var(--m-fast) var(--ease), transform var(--m-fast) var(--ease);
}
.criteria li:hover {
  border-color: var(--c-primary-soft);
  transform: translateX(4px);
}
.criteria-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: var(--r-full);
}
.criteria h3 { margin-bottom: var(--s-1); font-size: 17px; }
.criteria p { color: var(--c-muted); font-size: 14px; line-height: 1.55; }

/* =====================================================
   Accompagnement
   ===================================================== */

.accompagnement { background: var(--c-paper); }

.expertise {
  padding: var(--s-6);
  background: var(--c-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  transition: transform var(--m-medium) var(--ease), box-shadow var(--m-medium) var(--ease);
}
.expertise:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.expertise-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--c-primary);
  color: var(--c-accent);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
}
.expertise h3 { margin-bottom: var(--s-2); }
.expertise p { color: var(--c-muted); font-size: 15px; line-height: 1.6; }

/* =====================================================
   Processus
   ===================================================== */

.processus { background: var(--c-bg); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 920px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--s-6);
  padding: var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color var(--m-fast) var(--ease);
}
.step:hover { border-color: var(--c-primary-soft); }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(var(--s-6) + 36px);
  bottom: -22px;
  width: 2px;
  height: 22px;
  background: var(--c-border);
}

.step-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--c-primary);
  color: var(--c-accent);
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
}

.step-body h3 { margin-bottom: var(--s-3); font-size: 22px; }
.step-body p { color: var(--c-muted); line-height: 1.6; margin-bottom: var(--s-3); }
.step-body p:last-child { margin-bottom: 0; }
.step-result {
  display: inline-block;
  font-weight: 500;
  color: var(--c-ink) !important;
  font-size: 15px;
  padding-left: var(--s-3);
  border-left: 3px solid var(--c-accent);
}

.step-duration {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  padding: 6px 14px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-5); }
  .step-num { width: 56px; height: 56px; font-size: 22px; }
  .step:not(:last-child)::after { display: none; }
}

/* =====================================================
   Montage financier
   ===================================================== */

.montage-card {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--s-7);
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.montage-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--c-border);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.montage-header span { color: var(--c-muted); font-size: 14px; }
.montage-header strong { font-family: var(--f-display); font-size: 28px; font-weight: 500; }

.montage-stack {
  display: flex;
  gap: 4px;
  height: 72px;
  margin-bottom: var(--s-6);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stack-bar {
  width: var(--w);
  display: grid;
  place-items: center;
  position: relative;
  transition: filter var(--m-fast) var(--ease);
}
.stack-bar:hover { filter: brightness(1.08); }

.stack-perso { background: var(--c-accent); color: var(--c-primary-dark); }
.stack-inter { background: var(--c-primary); color: var(--c-accent); }
.stack-bank  { background: var(--c-primary-dark); color: white; }

.stack-pct {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
}

.montage-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 720px) { .montage-legend { grid-template-columns: 1fr; } }

.legend-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  align-items: start;
}
.legend-item-highlight {
  background: var(--c-primary-soft);
  border-color: var(--c-primary-soft);
}
.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 4px;
}
.dot-perso { background: var(--c-accent); }
.dot-inter { background: var(--c-primary); }
.dot-bank  { background: var(--c-primary-dark); }

.legend-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.legend-value {
  display: block;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: var(--s-2);
  color: var(--c-ink);
}
.legend-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted);
}

/* =====================================================
   Verbatim
   ===================================================== */

.verbatim { background: var(--c-paper); }

.quote-card {
  position: relative;
  padding: var(--s-7) var(--s-6);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.quote-mark { color: var(--c-accent); opacity: 0.85; flex-shrink: 0; }
.quote-card blockquote p {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--c-ink);
}
.quote-card blockquote p + p { margin-top: var(--s-3); }
.quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}
.quote-card figcaption strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
}
.quote-card figcaption span {
  font-size: 13px;
  color: var(--c-muted);
}

/* =====================================================
   À propos
   ===================================================== */

.org-card {
  padding: var(--s-7);
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.org-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  padding: 4px 10px;
  border-radius: var(--r-full);
  width: max-content;
}
.org-card h3 {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 500;
}
.org-card > p { color: var(--c-muted); font-size: 15px; line-height: 1.6; }

.org-stats {
  display: flex;
  gap: var(--s-6);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin: var(--s-3) 0;
  flex-wrap: wrap;
}
.org-stats li { display: flex; flex-direction: column; gap: 4px; }
.org-stats strong {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-primary);
}
.org-stats span { font-size: 12px; color: var(--c-muted); line-height: 1.4; max-width: 140px; }

.org-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--c-primary);
  font-size: 14px;
  transition: gap var(--m-fast) var(--ease);
}
.org-link:hover { gap: var(--s-3); }

.apropos-note {
  max-width: 720px;
  margin: var(--s-7) auto 0;
  padding: var(--s-5);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
   FAQ
   ===================================================== */

.faq { background: var(--c-bg); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: var(--s-9);
  align-items: start;
}
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}
.faq .lead { margin-top: var(--s-4); }
.faq .lead a { color: var(--c-primary); font-weight: 600; }
.faq .lead a:hover { text-decoration: underline; }

.faq-list { display: flex; flex-direction: column; gap: var(--s-2); }

.faq-item {
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--m-fast) var(--ease);
}
.faq-item[open] { border-color: var(--c-primary-soft); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: background var(--m-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-bg); }

.faq-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--r-full);
  transition: transform var(--m-medium) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-body {
  padding: 0 var(--s-5) var(--s-5);
}
.faq-body p {
  color: var(--c-muted);
  line-height: 1.65;
  font-size: 15px;
}
.faq-body p + p { margin-top: var(--s-3); }
.faq-body a { color: var(--c-primary); font-weight: 600; }
.faq-body a:hover { text-decoration: underline; }

/* =====================================================
   Contact
   ===================================================== */

.contact {
  background: var(--c-primary-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.1), transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-9);
  align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; gap: var(--s-7); }
}

.contact-text h2 { color: white; }
.contact-text em { color: var(--c-accent); }
.contact-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.65;
  margin-top: var(--s-4);
}

.contact-cards { display: flex; flex-direction: column; gap: var(--s-4); }

.contact-card {
  padding: var(--s-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
}
.contact-card-primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-primary-dark);
}
.contact-card-primary .channel-label { color: rgba(42, 20, 24, 0.6); }
.contact-card-primary .channel-value { color: var(--c-primary-dark); }

.contact-person {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid rgba(42, 20, 24, 0.15);
}
.contact-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--c-primary);
  color: var(--c-accent);
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.contact-person strong { display: block; font-size: 17px; font-weight: 600; }
.contact-person span { font-size: 14px; opacity: 0.7; }

.contact-channels { display: flex; flex-direction: column; gap: var(--s-3); }
.contact-channels li { display: flex; flex-direction: column; gap: 4px; }
.channel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.channel-value {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
  transition: opacity var(--m-fast) var(--ease);
  word-break: break-all;
}
.channel-value:hover { opacity: 0.8; }

.contact-card address {
  font-style: normal;
  line-height: 1.7;
  margin-top: var(--s-2);
  color: white;
}
.contact-card address strong { font-size: 17px; }

/* =====================================================
   Footer
   ===================================================== */

.site-footer {
  background: var(--c-paper);
  padding: var(--s-8) 0 var(--s-5);
  border-top: 1px solid var(--c-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p { color: var(--c-muted); margin-top: var(--s-3); font-size: 14px; max-width: 280px; }
.footer-brand .brand { font-size: 18px; }

.footer-col h4 { margin-bottom: var(--s-3); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col a {
  font-size: 14px;
  color: var(--c-muted);
  transition: color var(--m-fast) var(--ease);
}
.footer-col a:hover { color: var(--c-primary); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-border);
  font-size: 12px;
  color: var(--c-muted);
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* =====================================================
   Decorative images & illustrations
   ===================================================== */

/* Hero decor */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-decor-left {
  left: -20px;
  top: -40px;
  width: min(300px, 22vw);
}
.hero-decor-right {
  right: -20px;
  top: 0;
  width: min(300px, 22vw);
}
.hero-text, .hero-visual { position: relative; z-index: 1; }

/* Pharmacy illustration behind hero card */
.hero-illustration {
  position: absolute;
  right: -60px;
  top: -80px;
  width: clamp(340px, 48vw, 540px);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 960px) {
  .hero-illustration { right: -30px; top: -50px; width: 300px; }
}
@media (max-width: 540px) {
  .hero-illustration { display: none; }
}

/* Section background patterns */
.section-bg-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.philosophie {
  position: relative;
  overflow: hidden;
}
.philosophie .section-bg-pattern {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(400px, 40vw);
}
@media (max-width: 768px) {
  .philosophie .section-bg-pattern {
    right: -80px;
    width: 200px;
  }
}

/* Aide section decorative blobs */
.aide {
  position: relative;
  overflow: hidden;
}
.aide-blob,
.aide-blob-secondary {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.aide-blob {
  right: -60px;
  bottom: -40px;
  width: min(450px, 50vw);
}
.aide-blob-secondary {
  left: -80px;
  top: -20px;
  width: min(400px, 45vw);
}

/* France map in bénéficiaires */
.beneficiaires {
  position: relative;
  overflow: hidden;
}
.france-map-bg {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: min(360px, 40vw);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 960px) {
  .france-map-bg {
    right: -80px;
    width: 220px;
  }
}
@media (max-width: 640px) {
  .france-map-bg { display: none; }
}

/* Shield in accompagnement */
.accompagnement {
  position: relative;
  overflow: hidden;
}
.shield-bg {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: min(320px, 34vw);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .shield-bg { display: none; }
}

/* Process illustration */
.process-illustration {
  display: block;
  margin: 0 auto var(--s-7);
  max-width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .process-illustration { display: none; }
}

/* Finance illustration in montage */
.finance-illustration {
  position: absolute;
  right: -40px;
  top: -20px;
  width: min(340px, 38vw);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 960px) {
  .finance-illustration { right: -80px; width: 220px; }
}
@media (max-width: 640px) {
  .finance-illustration { display: none; }
}

/* Testimonial portraits */
.testimonial-portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--c-border);
}
.quote-card figcaption {
  flex-direction: row !important;
  align-items: center;
  gap: var(--s-3);
}
.quote-card figcaption div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Seal in à propos */
.apropos {
  position: relative;
  overflow: hidden;
}
.apropos-seal {
  position: absolute;
  right: -30px;
  bottom: 40px;
  width: min(260px, 30vw);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .apropos-seal { display: none; }
}

/* FAQ background */
.faq {
  position: relative;
}
.faq-bg-pattern {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(400px, 45vw);
  pointer-events: none;
  z-index: 0;
}

/* Contact avatar */
.contact-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--c-primary);
}

/* Wave divider */
.wave-divider {
  position: relative;
  z-index: 2;
  margin-top: -2px;
  line-height: 0;
  background: var(--c-primary-dark);
}
.wave-divider img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   Reveal animations
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================
   Print
   ===================================================== */

@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-menu, .hero-cta { display: none; }
  .reveal { opacity: 1; transform: none; }
  main > section { padding: var(--s-5) 0; break-inside: avoid; }
  .aide, .contact { background: white !important; color: black !important; }
  .aide-head h2, .contact-text h2 { color: black !important; }
  .hero-decor, .hero-illustration, .section-bg-pattern,
  .aide-blob, .aide-blob-secondary, .france-map-bg, .shield-bg,
  .process-illustration, .finance-illustration, .testimonial-portrait,
  .apropos-seal, .faq-bg-pattern, .wave-divider { display: none !important; }
}
