@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("inter-latin-c940764593.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("inter-latin-italique-7ddd9658a5.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  
  --ep-turquoise: #53cdd4;        
  --ep-turquoise-light: #7cd5de;  
  --ep-blue: #437fb3;             
  --ep-navy: #0066a8;             

  
  --data-cool: #437fb3;
  --data-warm: #eb6834;
  --data-neutral: #e8e6e1;        

  
  --warm-pale: #fff6ef;           
  --warm-doux: #fbe3d6;           
  --warm-moyen: #f3c3a9;          
  --warm-fonce: #8a3714;          
  --data-warm-texte: #a8441b;     
  --surface-alt-libre: #e6f6f7;   
  --on-fill-accent: #b8eef1;      
  --brand-focus-texte: #08707a;   

  
  --brand-primary: var(--ep-navy);
  --brand-accent: var(--ep-blue);
  --brand-focus: var(--ep-turquoise);
  --brand-focus-light: var(--ep-turquoise-light);
  --brand-caution: var(--data-warm);
  
  --brand-mark-image: url("expectpatient-mark-cb70387134.svg");

  
  --font-interface: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-editorial: Georgia, "Times New Roman", serif;

  --paper: #f7f8fc;               
  --paper-bright: #ffffff;        
  --surface-tint: #edf2f8;        
  --ink: #0f172a;                 
  --muted: #58657a;               
  --line: rgba(0, 102, 168, 0.14);
  --line-strong: rgba(0, 102, 168, 0.28);

  
  --fs-100: 12px;   
  --fs-200: 14px;   
  --fs-300: 16px;   
  --fs-400: 18px;   
  --fs-500: 21px;
  --fs-600: 26px;
  --fs-700: 34px;
  --fs-800: 44px;
  --fs-900: 56px;
  --fs-1000: 68px;  

  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  
  --shadow-panel: 0 18px 40px -18px rgba(15, 23, 42, 0.45);
  --shadow-dialog: 0 30px 90px rgba(23, 32, 29, 0.28);

  
  --ease-out: cubic-bezier(.2, .7, .1, 1);   
  --ease-io: cubic-bezier(.4, 0, .2, 1);     
  --dur-1: 120ms;   
  --dur-2: 220ms;   
  --dur-3: 420ms;   
  --rise: 16px;     

  
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --gutter: clamp(20px, 4vw, 68px);
  --header-height: 76px;

  color-scheme: light;
  font-family: var(--font-interface);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}



* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-300);
  line-height: 1.5;
}

h1, h2, .display { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }


:where(button, a, [tabindex="0"], input, select, summary):focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--paper-bright);
}



.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-100);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}


.kicker {
  margin: 0;
  color: var(--brand-primary);
  font-size: var(--fs-100);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


.title-display {
  margin: 0;
  color: var(--ink);
  font-size: clamp(var(--fs-800), 5vw, var(--fs-1000));
  font-weight: 600;
  letter-spacing: -0.062em;
  line-height: 0.92;
}


.title-display span {
  display: block;
  margin-top: 8px;
  color: var(--brand-primary);
  font-family: var(--font-editorial);
  font-size: 0.7em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}


.title-section {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(var(--fs-600), 3vw, var(--fs-800));
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}


.prose {
  max-width: 62ch;
  font-family: var(--font-editorial);
  font-size: var(--fs-400);
  line-height: 1.55;
}

.lede {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-200);
  line-height: 1.5;
}

.lede strong { color: var(--ink); }


.stat-value {
  display: block;
  max-width: 820px;
  margin: 30px 0 12px;
  color: var(--brand-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(var(--fs-800), 6vw, var(--fs-1000));
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  max-width: 680px;
  margin: 0;
  font-size: var(--fs-100);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}


.scope-note {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--brand-primary);
  color: var(--muted);
  font-size: var(--fs-100);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}


.source-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-100);
  line-height: 1.45;
}



.action-primary,
.action-secondary {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--fs-100);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}

.action-primary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  color: var(--paper-bright);
  transition: background var(--dur-2) var(--ease-io), transform var(--dur-2) var(--ease-out);
}

.action-primary:hover {
  background: color-mix(in oklab, var(--brand-primary) 34%, var(--brand-accent));
  transform: translateY(-2px);
}

.action-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.action-secondary:hover { color: var(--brand-primary); }


.tab {
  position: relative;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: var(--fs-100);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--dur-1) var(--ease-out);
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--brand-primary);
  transition: right var(--dur-2) var(--ease-io);
}

.tab:hover, .tab.is-active { color: var(--ink); }
.tab.is-active::after { right: 0; }



.panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-bright);
}

.stage {
  border-radius: var(--radius-md);
  background: var(--surface-tint);
}


.status-band {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px var(--gutter);
  border-bottom: 1px solid rgba(0, 102, 168, 0.16);
  background: #edf8fa;
  color: var(--brand-primary);
  font-size: var(--fs-100);
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.status-band strong { font-weight: 800; }
.status-band strong::after { content: "·"; margin-left: 8px; color: var(--brand-focus); }


.brand-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-focus));
}



.data-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.data-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 16px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--muted);
  font-size: var(--fs-100);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.data-table th:first-child { padding-left: 24px; text-align: left; }

.data-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--fs-300);
  text-align: right;
}

.data-table td:first-child {
  padding-left: 24px;
  font-family: inherit;
  font-size: var(--fs-200);
  text-align: left;
}

.data-table tbody tr { transition: background-color var(--dur-2) var(--ease-io); }
.data-table tbody tr:hover { background: var(--surface-tint); }




.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-reveal-ready {
    opacity: 0;
    transform: translateY(var(--rise));
    transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  }

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

  @supports (animation-timeline: view()) {
    .reveal.is-reveal-ready {
      opacity: 1;
      transform: none;
      transition: none;
      animation: reveal-in linear both;
      animation-timeline: view();
      
      animation-range: entry 8% entry 80%;
    }
    
    .reveal.is-reveal-ready.is-interactive { animation-name: reveal-in-motion; }
  }
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(var(--rise)); }
  to   { opacity: 1; transform: none; }
}

@keyframes reveal-in-motion {
  from { transform: translateY(var(--rise)); }
  to   { transform: translateY(0); }
}


@keyframes copy-in  { from { opacity: 0; transform: translate3d(-24px, var(--rise), 0); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translate3d(24px, var(--rise), 0); }  to { opacity: 1; transform: none; } }


@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }


@keyframes readout-in { from { opacity: 0; transform: translateY(4px); }  to { opacity: 1; transform: none; } }
@keyframes value-pop  { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes slot-in    { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }


@keyframes bar-grow  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes col-rise  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw-line { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes spin      { to { transform: rotate(360deg); } }


.stagger > * { animation: arrive 680ms var(--ease-out) both; }
.stagger > :nth-child(2) { animation-delay: 60ms; }
.stagger > :nth-child(3) { animation-delay: 120ms; }
.stagger > :nth-child(4) { animation-delay: 180ms; }
.stagger > :nth-child(5) { animation-delay: 240ms; }


.isolate-group:has(.isolate-item:hover, .isolate-item:focus-visible)
  .isolate-item:not(:hover):not(:focus-visible) {
  opacity: 0.46;
  filter: saturate(0.72);
}

.isolate-item { transition: opacity var(--dur-1) var(--ease-out), filter var(--dur-1) var(--ease-out); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    animation-timeline: none !important;
    transition: none !important;
  }
  .reveal, .reveal.is-reveal-ready { opacity: 1 !important; transform: none !important; }
}



.split {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(480px, 1.12fr);
  overflow: hidden;
}

.split > .split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(46px, 8vh, 100px) var(--gutter) 54px;
}

.split > .split-stage {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--surface-tint);
  border-left: 1px solid var(--line);
}

@media (max-width: 980px) {
  .split { min-height: 0; grid-template-columns: 1fr; }
  .split > .split-stage { border-left: 0; border-top: 1px solid var(--line); }
}



@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tab, .action-primary, .action-secondary, .no-print { display: none !important; }
  body { background: #fff; }
  .split { min-height: 0; grid-template-columns: 1fr; }
}
