/* =============================================================================
   PharmaConnect — Landing styles
   "Healthcare Pro" : confiance médicale, bleu profond, clinique moderne
   ============================================================================= */

/* -----------------------------------------------------------------------------
   DESIGN TOKENS
   ----------------------------------------------------------------------------- */
:root {
  /* Type — IBM Plex (healthcare-grade, institutionnelle) */
  --display: 'IBM Plex Sans', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --serif: 'IBM Plex Serif', Georgia, serif;

  /* Color — Healthcare Pro */
  --bg: #ffffff;          /* clinical white */
  --bg-soft: #f8fafc;     /* very subtle gray bg for sections */
  --bg-muted: #f1f5f9;    /* muted bg */

  --ink: #0a1424;          /* near-black with blue undertone */
  --ink-2: #1e293b;        /* primary text */
  --ink-3: #475569;        /* secondary text */
  --ink-4: #64748b;        /* tertiary / labels */
  --ink-5: #94a3b8;        /* very muted */

  --hair: #e2e8f0;
  --hair-strong: #cbd5e1;

  /* Brand — deep trusted medical blue */
  --blue: #0e4a8a;         /* primary */
  --blue-dark: #082e55;
  --blue-darker: #051d39;
  --blue-light: #2563eb;   /* link/accent */
  --blue-tint: #dbe9f8;    /* light bg */
  --blue-tint-2: #f0f7ff;  /* even lighter */

  /* Healing teal */
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-tint: #ccfbf1;
  --teal-tint-2: #f0fdfa;

  /* Audience accents (more restrained than V1) */
  --c-pharmacy: #0e4a8a;     /* deep blue */
  --c-pharmacy-tint: #dbe9f8;
  --c-patient: #7c3aed;      /* refined purple */
  --c-patient-tint: #ede9fe;
  --c-courier: #ea580c;      /* warmer orange */
  --c-courier-tint: #ffedd5;
  --c-doctor: #0d9488;       /* teal */
  --c-doctor-tint: #ccfbf1;

  /* Status */
  --green: #16a34a;
  --orange: #ea580c;
  --red: #dc2626;

  /* Dark surface (for security section) */
  --dark: #051d39;
  --dark-2: #082e55;
  --dark-hair: rgba(255, 255, 255, 0.12);
  --dark-ink: #f1f5f9;
  --dark-ink-2: #cbd5e1;
  --dark-ink-3: #94a3b8;

  /* Layout */
  --max: 1240px;
  --gutter: 24px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows — Mayo Clinic style (subtile, blue-tinted) */
  --sh-sm: 0 1px 2px rgba(14, 74, 138, 0.04), 0 1px 3px rgba(14, 74, 138, 0.06);
  --sh-md: 0 4px 6px -1px rgba(14, 74, 138, 0.05), 0 2px 4px -2px rgba(14, 74, 138, 0.07);
  --sh-lg: 0 10px 15px -3px rgba(14, 74, 138, 0.07), 0 4px 6px -4px rgba(14, 74, 138, 0.08);
  --sh-xl: 0 20px 25px -5px rgba(14, 74, 138, 0.08), 0 8px 10px -6px rgba(14, 74, 138, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-emph: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -----------------------------------------------------------------------------
   RESET
   ----------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Global subtle grain — tactile, healthcare-paper feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

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

a {
  color: var(--blue-light);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0;
}

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

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

/* Skip link */
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
  z-index: 100;
}
.skip:focus {
  transform: translateY(0);
}

/* -----------------------------------------------------------------------------
   TYPOGRAPHY UTILITIES
   ----------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
  padding: 8px 14px;
  background: var(--blue-tint);
  border-radius: 999px;
}

.eyebrow__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.eyebrow__pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.35;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.kicker--inverse {
  color: #7eb6f5;
}

/* -----------------------------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}

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

.btn--solid {
  background: var(--blue);
  color: white;
}
.btn--solid:hover {
  background: var(--blue-dark);
  box-shadow: var(--sh-md);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: white;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
}
.btn--ghost:hover {
  background: var(--bg-muted);
  color: var(--ink);
}

/* -----------------------------------------------------------------------------
   HEADER / MASTHEAD
   ----------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.masthead.is-scrolled {
  border-bottom-color: var(--hair);
  box-shadow: var(--sh-sm);
}

.masthead__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo__word {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo__word em {
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
}
.logo--inverse .logo__word {
  color: white;
}
.logo--inverse .logo__word em {
  color: #7eb6f5;
}

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--ink-3);
  transition: all 0.2s var(--ease);
}
.nav__link:hover {
  color: var(--blue);
  background: var(--blue-tint-2);
}

.masthead__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: white;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}
.lang__btn {
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-4);
  transition: all 0.15s var(--ease);
}
.lang__btn[aria-pressed='true'] {
  background: var(--blue);
  color: white;
}
.lang__sep {
  color: var(--ink-5);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  margin-right: -10px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-2);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  border-radius: 2px;
}
.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.burger[aria-expanded='true'] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  padding: 32px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 40;
  overflow-y: auto;
  border-top: 1px solid var(--hair);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.mobile-nav__cta {
  margin-top: 16px;
  background: var(--blue);
  color: white !important;
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 0 !important;
}

/* -----------------------------------------------------------------------------
   HERO
   ----------------------------------------------------------------------------- */
.hero {
  padding: 80px var(--gutter) 96px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-tint-2) 100%);
  isolation: isolate;
}

/* Medical grid + radial accent */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(14, 74, 138, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 74, 138, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* Soft glowing accents — medical aurora */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 600px at 85% 15%, rgba(13, 148, 136, 0.10), transparent 60%),
    radial-gradient(circle 700px at 15% 90%, rgba(124, 58, 237, 0.06), transparent 65%),
    radial-gradient(circle 500px at 95% 95%, rgba(14, 74, 138, 0.08), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__copy {
  position: relative;
}

.hero__title {
  margin: 22px 0 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero__title > span,
.hero__title > em {
  display: block;
  font-style: normal;
}

.hero__l1,
.hero__l2,
.hero__l4 {
  animation: rise 0.6s var(--ease) both;
}
.hero__l2 { animation-delay: 0.06s; }
.hero__l3 {
  color: var(--blue);
  font-weight: 700;
  animation: rise 0.6s var(--ease) 0.12s both;
}
.hero__l4 {
  animation-delay: 0.18s;
}

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

.hero__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 32px;
  animation: rise 0.6s var(--ease) 0.24s both;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: rise 0.6s var(--ease) 0.3s both;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  animation: rise 0.6s var(--ease) 0.36s both;
}
.hero__proof li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proof__num {
  font-family: var(--sans);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.proof__unit {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  margin-left: 3px;
  color: var(--ink-4);
}
.proof__label {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Hero viz — clinical illustration */
.hero__viz {
  position: relative;
}
.network {
  width: 100%;
  height: auto;
  animation: rise 0.8s var(--ease) 0.2s both;
  filter: drop-shadow(0 20px 40px rgba(14, 74, 138, 0.12));
}

.network__paths path {
  stroke-dasharray: 6 6;
  stroke-dashoffset: 12;
  animation: flow 12s linear infinite;
  opacity: 0.5;
}
.network__paths .path--2 { animation-delay: -3s; }
.network__paths .path--3 { animation-delay: -6s; }
.network__paths .path--4 { animation-delay: -9s; }
@keyframes flow {
  to { stroke-dashoffset: -36; }
}

.node {
  transition: transform 0.3s var(--ease);
}

.node__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  fill: var(--ink-3);
}

/* -----------------------------------------------------------------------------
   TRUST STRIP
   ----------------------------------------------------------------------------- */
.strip {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 24px var(--gutter);
}
.strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.strip__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-ink-3);
}
.strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13px;
  color: var(--dark-ink-2);
}
.strip__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip__icon {
  color: #7eb6f5;
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   SECTION HEADERS (shared)
   ----------------------------------------------------------------------------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head__title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-head__title em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px;
}
.section-head__title span {
  display: block;
  color: var(--ink-3);
  font-weight: 500;
}
.section-head__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-top: 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-head--inverse .section-head__title {
  color: white;
}
.section-head--inverse .section-head__title span {
  color: var(--dark-ink-2);
}
.section-head--inverse .section-head__title em {
  color: #7eb6f5;
}
.section-head__sub--inverse {
  color: var(--dark-ink-2);
}

/* -----------------------------------------------------------------------------
   AUDIENCES PICKER
   ----------------------------------------------------------------------------- */
.audiences {
  padding: 100px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.audiences > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* Dotted grid pattern — clinical precision */
.audiences::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle, rgba(14, 74, 138, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* Soft accents */
.audiences::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 500px at 15% 30%, rgba(14, 74, 138, 0.06), transparent 60%),
    radial-gradient(circle 500px at 85% 70%, rgba(124, 58, 237, 0.05), transparent 60%);
  pointer-events: none;
}

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

.aud {
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid var(--hair);
  background: white;
  min-height: 340px;
  color: var(--ink-2);
}

.aud:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--sh-lg);
}

.aud--teal {
  --accent: var(--c-pharmacy);
  --accent-tint: var(--c-pharmacy-tint);
}
.aud--violet {
  --accent: var(--c-patient);
  --accent-tint: var(--c-patient-tint);
}
.aud--orange {
  --accent: var(--c-courier);
  --accent-tint: var(--c-courier-tint);
}
.aud--blue {
  --accent: var(--c-doctor);
  --accent-tint: var(--c-doctor-tint);
}

.aud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.aud__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}

.aud__icon {
  margin: 20px 0 20px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.aud__icon svg {
  width: 28px;
  height: 28px;
}

.aud__title {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.aud__copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 10px 0 20px;
  flex: 1;
}

.aud__more {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}
.aud:hover .aud__more {
  gap: 10px;
}

/* -----------------------------------------------------------------------------
   PROFILE SECTIONS (clean grid, not bento)
   ----------------------------------------------------------------------------- */
.profile {
  padding: 96px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle dotted grid background — clinical precision */
.profile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle, rgba(14, 74, 138, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}

/* Per-section radial accent — soft brand-colored mesh */
.profile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.profile,
#tarifs,
#faq,
#contact {
  scroll-margin-top: 80px;
}

.profile--pharmacy {
  --accent: var(--c-pharmacy);
  --accent-tint: var(--c-pharmacy-tint);
}
.profile--pharmacy::after {
  background:
    radial-gradient(circle 700px at 90% 10%, rgba(14, 74, 138, 0.08), transparent 60%),
    radial-gradient(circle 600px at 5% 95%, rgba(13, 148, 136, 0.05), transparent 60%);
}

.profile--patient {
  --accent: var(--c-patient);
  --accent-tint: var(--c-patient-tint);
  background: var(--bg-soft);
}
.profile--patient::after {
  background:
    radial-gradient(circle 800px at 10% 5%, rgba(124, 58, 237, 0.08), transparent 60%),
    radial-gradient(circle 600px at 95% 90%, rgba(14, 74, 138, 0.05), transparent 60%);
}

.profile--courier {
  --accent: var(--c-courier);
  --accent-tint: var(--c-courier-tint);
}
.profile--courier::after {
  background:
    radial-gradient(circle 600px at 85% 20%, rgba(234, 88, 12, 0.07), transparent 60%),
    radial-gradient(circle 500px at 10% 85%, rgba(14, 74, 138, 0.05), transparent 60%);
}

.profile--doctor {
  --accent: var(--c-doctor);
  --accent-tint: var(--c-doctor-tint);
  background: var(--bg-soft);
}
.profile--doctor::after {
  background:
    radial-gradient(circle 700px at 5% 15%, rgba(13, 148, 136, 0.09), transparent 60%),
    radial-gradient(circle 600px at 95% 85%, rgba(14, 74, 138, 0.05), transparent 60%);
}

.profile .section-head__title em {
  color: var(--accent);
}

/* Simplified bento — 3 cols clean grid, with featured xl card */
.bento {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento__card {
  position: relative;
  padding: 28px;
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.bento__card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--sh-md);
}

/* Featured XL card spans 2 cols */
.bento__card--xl {
  grid-column: span 2;
  padding: 36px;
  background: linear-gradient(135deg, white 0%, var(--accent-tint) 200%);
}

.bento__card--l {
  grid-column: span 1;
}

.bento__tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 3px 9px;
  border-radius: 999px;
}

.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.bento__icon svg {
  width: 22px;
  height: 22px;
}

.bento__card--xl .bento__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
}
.bento__card--xl .bento__icon svg {
  width: 28px;
  height: 28px;
}

.bento__title {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.bento__card--xl .bento__title {
  font-size: 26px;
  line-height: 1.15;
}

.bento__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  flex: 1;
}
.bento__card--xl .bento__copy {
  font-size: 15px;
  line-height: 1.65;
}

.bento__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.bento__pills li {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  background: var(--bg-muted);
  color: var(--ink-3);
  border-radius: 999px;
}

/* -----------------------------------------------------------------------------
   HOW IT WORKS — Steps
   ----------------------------------------------------------------------------- */
.howto {
  padding: 96px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-tint-2) 50%, var(--bg) 100%);
}

.howto > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* Diagonal lines pattern — progression rhythm */
.howto::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 38px,
    rgba(14, 74, 138, 0.04) 38px,
    rgba(14, 74, 138, 0.04) 39px
  );
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%);
  pointer-events: none;
}

.howto::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 600px at 50% 50%, rgba(13, 148, 136, 0.08), transparent 60%);
  pointer-events: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.step {
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.step__title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}
.step__copy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.step__time {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--green);
  color: white;
  border-radius: 999px;
}

/* -----------------------------------------------------------------------------
   SECURITY — Dark section
   ----------------------------------------------------------------------------- */
.security {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 100px var(--gutter);
  position: relative;
  overflow: hidden;
}
.security::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 600px at 80% -10%, rgba(126, 182, 245, 0.1), transparent),
    radial-gradient(circle 800px at 10% 110%, rgba(13, 148, 136, 0.08), transparent);
  pointer-events: none;
}

.security__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

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

.sec-card {
  padding: 28px 24px;
  background: var(--dark-2);
  border: 1px solid var(--dark-hair);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sec-card:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 182, 245, 0.4);
}
.sec-card__pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(126, 182, 245, 0.15);
  color: #7eb6f5;
  border-radius: 999px;
}
.sec-card__t {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: white;
  line-height: 1.25;
}
.sec-card__c {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--dark-ink-2);
}

/* -----------------------------------------------------------------------------
   PRICING
   ----------------------------------------------------------------------------- */
.pricing {
  padding: 100px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pricing > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* Vertical lines pattern — pricing rhythm */
.pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(14, 74, 138, 0.05) 1px, transparent 1px);
  background-size: 80px 100%;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.pricing::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 700px at 50% 30%, rgba(14, 74, 138, 0.06), transparent 60%),
    radial-gradient(circle 500px at 20% 90%, rgba(13, 148, 136, 0.05), transparent 60%);
  pointer-events: none;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  position: relative;
  padding: 36px 28px;
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.plan--featured {
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--dark) 100%);
  color: white;
  border-color: var(--blue-dark);
  transform: translateY(-8px);
  box-shadow: var(--sh-xl);
}
.plan--featured:hover {
  transform: translateY(-12px);
}

.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  background: var(--orange);
  color: white;
  border-radius: 999px;
}

.plan__name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
}
.plan--featured .plan__name {
  color: white;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 0;
}
.plan__amount {
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.plan--featured .plan__amount {
  color: white;
}
.plan__unit {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-4);
}
.plan--featured .plan__unit {
  color: var(--dark-ink-3);
}
.plan__period {
  font-size: 14px;
  color: var(--ink-4);
}
.plan--featured .plan__period {
  color: var(--dark-ink-3);
}

.plan__sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 4px;
}
.plan--featured .plan__sub {
  color: var(--dark-ink-2);
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.plan__features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--blue-tint);
  color: var(--blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.plan--featured .plan__features li::before {
  background: rgba(126, 182, 245, 0.2);
  color: #7eb6f5;
}

/* -----------------------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------------------- */
.faq {
  padding: 96px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-soft);
}

.faq > * {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 600px at 90% 10%, rgba(14, 74, 138, 0.06), transparent 60%),
    radial-gradient(circle 500px at 10% 90%, rgba(124, 58, 237, 0.04), transparent 60%);
  pointer-events: none;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.qa {
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.qa:hover {
  border-color: var(--hair-strong);
}
.qa[open] {
  border-color: var(--blue);
  box-shadow: var(--sh-sm);
}

.qa summary {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary:hover {
  color: var(--blue);
}

.qa__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}
.qa[open] .qa__icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: white;
}

.qa p {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 70ch;
}

/* -----------------------------------------------------------------------------
   CONTACT
   ----------------------------------------------------------------------------- */
.contact {
  padding: 100px var(--gutter);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(14, 74, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 74, 138, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 700px at 80% 30%, rgba(13, 148, 136, 0.08), transparent 60%),
    radial-gradient(circle 600px at 20% 80%, rgba(14, 74, 138, 0.06), transparent 60%);
  pointer-events: none;
}

.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__copy .kicker {
  margin-bottom: 14px;
}
.contact__copy .section-head__title {
  text-align: left;
  font-size: clamp(28px, 3.4vw, 40px);
}
.contact__copy .section-head__title em {
  margin-top: 0;
}
.contact__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 20px 0 32px;
  max-width: 480px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}
.contact__channels li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  padding: 8px 0;
}
.ch__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.ch__value {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
  transition: color 0.15s var(--ease);
}
.ch__value:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Form */
.contact__form {
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--sh-md);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 11px 14px;
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: var(--sans);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 74, 138, 0.1);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}

.form__hint {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 4px;
  text-align: center;
}

/* -----------------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 72px var(--gutter) 28px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__brand .logo__mark {
  width: 40px;
  height: 40px;
}
.footer__brand .logo__word {
  font-size: 22px;
  color: white;
}
.footer__brand .logo__word em {
  color: #7eb6f5;
}
.footer__motto {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--dark-ink-2);
  max-width: 320px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-ink-3);
  margin-bottom: 6px;
}
.footer__col a {
  font-size: 14px;
  color: var(--dark-ink-2);
  transition: color 0.15s var(--ease);
}
.footer__col a:hover {
  color: white;
}

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--dark-hair);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dark-ink-3);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  gap: 12px;
}

/* -----------------------------------------------------------------------------
   SCROLL-IN ANIMATIONS
   ----------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.05s; }
.reveal:nth-child(3) { transition-delay: 0.1s; }
.reveal:nth-child(4) { transition-delay: 0.15s; }
.reveal:nth-child(5) { transition-delay: 0.2s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }

/* -----------------------------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__viz {
    max-width: 480px;
    margin: 0 auto;
  }
  .hero__proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .audiences__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__card--xl {
    grid-column: span 2;
  }
  .security__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav,
  .masthead__tools .btn--ghost,
  .masthead__tools .btn--solid {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero {
    padding: 48px var(--gutter) 60px;
  }
  .hero__title {
    font-size: clamp(32px, 9vw, 44px);
  }
  .hero__proof {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .audiences,
  .profile,
  .howto,
  .pricing,
  .faq,
  .contact,
  .security {
    padding: 64px var(--gutter);
  }
  .audiences__grid,
  .bento,
  .steps,
  .security__grid,
  .plans {
    grid-template-columns: 1fr;
  }
  .bento__card--xl {
    grid-column: span 1;
    padding: 28px;
  }
  .bento__card--xl .bento__title {
    font-size: 22px;
  }
  .plan--featured {
    transform: none;
  }
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__form {
    padding: 24px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .aud {
    min-height: auto;
    padding: 26px 22px;
  }
  .aud__title {
    font-size: 22px;
  }
  .lang {
    padding: 5px 8px;
  }
  .logo__word {
    font-size: 17px;
  }
  .plan {
    padding: 28px 22px;
  }
  .qa summary {
    padding: 18px 20px;
    font-size: 16px;
  }
  .qa p {
    padding: 0 20px 18px 20px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .network__paths path,
  .eyebrow__pulse::before {
    animation: none !important;
  }
}

/* =============================================================================
   B2B RESTRUCTURE — Sections Problème + Solution + Comparatif (v1.1.0)
   ============================================================================= */

/* Button variant — text link for secondary hero CTA */
.btn--link {
  background: transparent;
  color: var(--blue);
  padding-left: 0;
  padding-right: 0;
  border: none;
  font-weight: 500;
}
.btn--link:hover {
  color: var(--blue-dark);
  background: transparent;
  transform: none;
}
.btn--link svg {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  transition: transform 0.2s var(--ease);
}
.btn--link:hover svg {
  transform: translateX(4px);
}

/* -----------------------------------------------------------------------------
   PROBLEM — Le miroir
   ----------------------------------------------------------------------------- */
.problem {
  padding: 96px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-tint-2) 100%);
}
.problem__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle, rgba(220, 38, 38, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.problem::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 500px at 80% 20%, rgba(220, 38, 38, 0.05), transparent 60%),
    radial-gradient(circle 500px at 20% 80%, rgba(14, 74, 138, 0.06), transparent 60%);
  pointer-events: none;
}

.problem .section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.problem__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: prob;
}

.problem__item {
  position: relative;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.problem__item:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: var(--sh-md);
}
.problem__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--red);
  background: rgba(220, 38, 38, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}
.problem__item p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.problem__item p strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

/* -----------------------------------------------------------------------------
   SOLUTION — 3 modules core
   ----------------------------------------------------------------------------- */
.solution {
  padding: 100px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.solution__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.solution::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle, rgba(14, 74, 138, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  opacity: 0.6;
  pointer-events: none;
}
.solution::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 700px at 95% 20%, rgba(14, 74, 138, 0.07), transparent 60%),
    radial-gradient(circle 600px at 5% 80%, rgba(13, 148, 136, 0.06), transparent 60%);
  pointer-events: none;
}

.solution .section-head {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}

.module {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.module:last-of-type {
  margin-bottom: 56px;
}
.module--reverse .module__copy {
  order: 2;
}
.module--reverse .module__viz {
  order: 1;
}

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

.module__tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 5px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

.module__title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.module__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
}

.module__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.module__points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.module__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--blue-tint);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M4 8l3 3 5-6' stroke='%230E4A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.module__points strong {
  color: var(--ink);
  font-weight: 600;
}

.module__impact {
  margin: 8px 0 0;
  padding: 18px 22px;
  background: var(--blue-tint-2);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.module__impact strong {
  color: var(--blue);
  font-weight: 600;
}

.module__viz {
  position: relative;
}
.module__viz svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(14, 74, 138, 0.12));
  border-radius: var(--radius-lg);
}

.solution__more {
  text-align: center;
  margin: 16px auto 0;
  max-width: 720px;
  font-size: 15px;
  color: var(--ink-3);
  padding-top: 40px;
  border-top: 1px solid var(--hair);
}
.solution__more a {
  color: var(--blue);
  font-weight: 600;
}
.solution__more a:hover {
  color: var(--blue-dark);
}

/* -----------------------------------------------------------------------------
   COMPARE — Tableau de différenciation
   ----------------------------------------------------------------------------- */
.compare {
  padding: 100px var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-soft);
}
.compare__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.compare::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 600px at 50% 20%, rgba(14, 74, 138, 0.06), transparent 60%);
  pointer-events: none;
}

.compare .section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.compare__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--hair);
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 720px;
}

.compare__table thead th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: var(--bg-soft);
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid var(--hair);
}
.compare__table thead th:first-child {
  text-align: left;
  background: transparent;
}
.compare__table thead th.compare__highlight {
  color: white;
  background: var(--blue);
  font-weight: 600;
  font-size: 13px;
}

.compare__table tbody th {
  text-align: left;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  padding: 18px 20px;
  border-bottom: 1px solid var(--hair);
  background: var(--bg-soft);
}
.compare__table tbody td {
  text-align: center;
  padding: 18px 16px;
  border-bottom: 1px solid var(--hair);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-3);
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td {
  border-bottom: none;
}

.cmp-yes {
  color: var(--green);
  font-size: 22px;
}
.cmp-no {
  color: var(--ink-5);
  font-size: 18px;
}
.cmp-warn {
  color: var(--orange);
  font-size: 22px;
}

.compare__table td.compare__highlight {
  background: var(--blue-tint-2);
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
}
.compare__table td.compare__highlight strong {
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}

/* -----------------------------------------------------------------------------
   STRIP — Override : simplifié à logos de pharmacies pilotes
   ----------------------------------------------------------------------------- */
.strip__list li {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark-ink-2);
  padding: 6px 14px;
  background: rgba(126, 182, 245, 0.08);
  border: 1px solid var(--dark-hair);
  border-radius: 999px;
}

/* -----------------------------------------------------------------------------
   FOOTER — Override : ligne légale RCCM + NIU
   ----------------------------------------------------------------------------- */
.footer__legal {
  display: block;
  margin-top: 4px;
  color: var(--dark-ink-3);
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------------------------
   SECURITY GRID — Override : 4 cards prioritaires sur 2 colonnes en desktop large
   ----------------------------------------------------------------------------- */
.security__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* -----------------------------------------------------------------------------
   RESPONSIVE — Nouvelles sections
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .problem__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .module {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 72px;
  }
  .module--reverse .module__copy {
    order: 1;
  }
  .module--reverse .module__viz {
    order: 2;
  }
  .module__viz {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  .security__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .problem {
    padding: 72px var(--gutter);
  }
  .solution {
    padding: 72px var(--gutter);
  }
  .compare {
    padding: 72px var(--gutter);
  }
  .module {
    margin-bottom: 56px;
  }
  .module__title {
    font-size: 26px;
  }
  .compare__table thead th {
    padding: 14px 10px;
    font-size: 10px;
  }
  .compare__table tbody th {
    padding: 14px 12px;
    font-size: 13px;
  }
  .compare__table tbody td {
    padding: 14px 8px;
    font-size: 16px;
  }
}

/* =============================================================================
   LEGAL PAGES — mentions-legales, confidentialite, cgu, cgv, cookies (v1.1.0)
   ============================================================================= */

.legal-page {
  background: var(--bg);
  padding: 56px var(--gutter) 96px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.legal-page::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle 600px at 10% 0%, rgba(14, 74, 138, 0.06), transparent 60%),
    radial-gradient(circle 500px at 95% 90%, rgba(13, 148, 136, 0.05), transparent 60%);
  pointer-events: none;
}

.legal-page__inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-head {
  grid-column: 1 / -1;
  margin-bottom: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hair);
}

.legal-head__crumb {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 14px;
}
.legal-head__crumb a {
  color: var(--blue);
}
.legal-head__crumb a:hover {
  text-decoration: underline;
}

.legal-head__title {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.legal-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

.legal-head__updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--blue-tint);
  color: var(--blue);
  border-radius: 999px;
  font-weight: 500;
}

.legal-toc {
  position: sticky;
  top: 96px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.legal-toc__label {
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
}
.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
  transition: color 0.15s var(--ease), padding-left 0.15s var(--ease);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero) ' · ';
  color: var(--blue);
  font-weight: 500;
}
.legal-toc a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.legal-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  font-family: var(--sans);
}

.legal-body > section {
  scroll-margin-top: 96px;
  padding: 32px 0;
  border-bottom: 1px dashed var(--hair);
}
.legal-body > section:last-child {
  border-bottom: none;
}

.legal-body h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  position: relative;
}
.legal-body h2::before {
  content: '§';
  position: absolute;
  left: -28px;
  color: var(--blue);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 22px;
}

.legal-body h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(14, 74, 138, 0.3);
  transition: text-decoration-color 0.15s var(--ease);
}
.legal-body a:hover {
  text-decoration-color: var(--blue);
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-body li {
  margin-bottom: 6px;
}
.legal-body li::marker {
  color: var(--blue);
}

.legal-body dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 24px;
  margin: 16px 0;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-body dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  font-weight: 500;
  padding-top: 2px;
}
.legal-body dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-body table th,
.legal-body table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.legal-body table thead th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: var(--bg-soft);
}

.legal-body code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-muted);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink);
}

.legal-body blockquote {
  margin: 16px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--teal);
  background: var(--teal-tint-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.legal-body blockquote p:last-child {
  margin-bottom: 0;
}

.legal-body__alert {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--orange);
  background: rgba(234, 88, 12, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
}
.legal-body__alert strong {
  color: var(--orange);
}

.legal-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--blue-tint-2);
  border-radius: var(--radius-lg);
  text-align: center;
}
.legal-cta h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
}
.legal-cta p {
  font-size: 15px;
  color: var(--ink-3);
  margin: 0 0 18px;
}

@media (max-width: 900px) {
  .legal-page__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    position: relative;
    top: auto;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--hair);
  }
  .legal-body h2::before {
    display: none;
  }
  .legal-body dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legal-body dt {
    padding-top: 8px;
  }
}
