/*
Theme Name: MaidiClear
Theme URI: https://maidiclear.com
Author: MaidiClear
Author URI: https://maidiclear.com
Description: Thème officiel MaidiClear — Votre compte rendu en clair. Site vitrine de la SAS MaidiClear : reformulation IA souveraine de comptes rendus radiologiques. Palette teal & sable, typographies Fraunces + DM Sans.
Version: 3.1
License: Proprietary
License URI: https://maidiclear.com
Text Domain: maidiclear
*/

:root {
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #CCFBF1;
  --teal-bg: #F0FDFA;
  --sable: #1C2B2B;
  --sable-soft: #3A4A4A;
  --cream: #F4F1EB;
  --cream-dark: #E8E2D5;
  --white: #FFFFFF;
  --gray: #64748B;
  --gray-light: #E2E8F0;
  --gray-lighter: #F8FAFC;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--sable);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
p { color: var(--sable-soft); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ══ HEADER ══ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 43, 43, 0.06);
  z-index: 1000;
  transition: padding 0.3s ease;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--sable);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--teal); }
.nav-menu {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--sable);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--teal); }
.nav-cta a {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cta a:hover { background: var(--teal-dark); }

/* ══ HERO ══ */
.hero {
  padding: 160px 0 110px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 60%);
  opacity: 0.5;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}
.hero-sub {
  font-size: 20px;
  color: var(--sable-soft);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sable);
  color: var(--white);
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}
.hero-cta:hover { background: var(--teal); transform: translateY(-2px); }
.hero-cta svg { width: 16px; height: 16px; }

/* ══ DÉMARCHE ══ */
.section-demarche {
  padding: 100px 0;
  background: var(--white);
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 720px;
}
.section-intro {
  font-size: 18px;
  color: var(--sable-soft);
  max-width: 640px;
  margin-bottom: 64px;
}
.demarche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.demarche-card {
  padding: 36px 32px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}
.demarche-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}
.demarche-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  color: var(--teal);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 20px;
}
.demarche-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.demarche-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* ══ EXEMPLE CR ══ */
.section-exemple {
  padding: 100px 0;
  background: var(--cream);
}
.exemple-doc {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 60px -20px rgba(28, 43, 43, 0.18);
  overflow: hidden;
}
.doc-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid var(--gray-light);
}
.doc-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.doc-brand {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--sable);
}
.doc-brand span { color: var(--teal); }
.doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.doc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.doc-meta-cell {
  padding: 14px 18px;
  background: var(--gray-lighter);
  border-radius: 8px;
}
.doc-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.doc-meta-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--sable);
}
.doc-body {
  padding: 32px 40px 40px;
}
.doc-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sable-soft);
  font-style: italic;
  padding: 16px 20px;
  background: var(--gray-lighter);
  border-radius: 8px;
  margin-bottom: 28px;
  text-align: center;
}
.doc-essentiel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.doc-essentiel-title svg {
  width: 18px; height: 18px;
}
.doc-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--sable);
}
.doc-text p { margin-bottom: 14px; color: var(--sable); }
.doc-apropos {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--teal);
  background: var(--teal-bg);
  border-radius: 0 10px 10px 0;
}
.doc-apropos-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.doc-apropos p {
  font-size: 14px;
  color: var(--sable-soft);
  line-height: 1.6;
}
.doc-footer {
  padding: 18px 40px;
  background: var(--gray-lighter);
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  font-style: italic;
}

/* ══ QUI SOMMES-NOUS ══ */
.section-equipe {
  padding: 100px 0;
  background: var(--white);
}
.section-equipe .container { text-align: center; }
.section-equipe .section-title,
.section-equipe .section-intro {
  margin-left: auto;
  margin-right: auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
  text-align: left;
}
.team-card {
  padding: 36px 32px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}
.team-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
  border: 1px solid var(--teal-light);
  overflow: hidden;
  flex-shrink: 0;
}
.team-avatar svg { width: 36px; height: 36px; }
.team-avatar-photo {
  padding: 0;
  border: 3px solid var(--teal-light);
}
.team-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-avatar-fallback {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.team-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.team-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--sable);
  margin-bottom: 14px;
}
.team-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--sable-soft);
}

/* ══ VALEURS ══ */
.section-valeurs {
  padding: 100px 0;
  background: var(--cream);
}
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.valeur-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: 14px;
}
.valeur-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
}
.valeur-icon svg { width: 22px; height: 22px; }
.valeur-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--sable);
  margin-bottom: 8px;
}
.valeur-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sable-soft);
}

/* ══ ILS NOUS FONT CONFIANCE ══ */
.section-partners {
  padding: 70px 0 90px;
  background: var(--white);
  border-top: 1px solid rgba(28, 43, 43, 0.06);
}
.partners-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 36px;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 40px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  min-width: 280px;
}
.partner-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 10px 30px -10px rgba(13, 148, 136, 0.2);
}
.partner-logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.partner-logo img {
  max-height: 70px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  display: block;
}
.partner-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.partner-name {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--sable);
  text-align: center;
  letter-spacing: -0.01em;
}
.partner-place {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

/* ══ CONTACT (email direct) ══ */
.section-contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 20px;
  padding: 70px 50px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 60%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.contact-badge svg { width: 14px; height: 14px; }
.contact-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  color: var(--sable);
}
.contact-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
.contact-lede {
  font-size: 16px;
  color: var(--sable-soft);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--sable);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 15px 40px -15px rgba(28, 43, 43, 0.35);
  margin-bottom: 18px;
  max-width: 100%;
}
.contact-email-btn:hover {
  background: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -15px rgba(13, 148, 136, 0.55);
}
.contact-email-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-email-icon svg { width: 20px; height: 20px; }
.contact-email-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.contact-email-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}
.contact-email-addr {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-wrap: anywhere;
}
.contact-email-arrow {
  flex-shrink: 0;
  transition: transform 0.25s;
}
.contact-email-btn:hover .contact-email-arrow {
  transform: translateX(5px);
}
.contact-email-arrow svg { width: 18px; height: 18px; }

.contact-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--sable-soft);
  padding: 10px 20px;
  border: 1px solid var(--gray-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  margin-bottom: 48px;
}
.contact-copy-btn:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--white);
}
.contact-copy-btn.is-copied {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}
.contact-copy-btn svg { width: 14px; height: 14px; }

.contact-promises {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(28, 43, 43, 0.08);
}
.contact-promise {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--sable-soft);
  font-weight: 500;
}
.contact-promise svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ══ FOOTER ══ */
.site-footer {
  background: var(--sable);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand span { color: var(--teal-light); }
.footer-top p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ══ AI EMPHASIS ══ */
.ai-hint {
  font-weight: 600;
  color: var(--sable);
  position: relative;
  cursor: help;
}
.ai-emphasis {
  font-style: italic;
  color: var(--teal);
  font-weight: 600;
  position: relative;
}
.ai-emphasis::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.35;
}
.ai-hint::before {
  content: "Le « AI » de MaidiClear — notre intelligence artificielle souveraine";
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sable);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-style: normal;
  z-index: 10;
}
.ai-hint:hover::before { opacity: 1; }

/* ══ DÉMO ANIMÉE ══ */
.section-demo {
  padding: 100px 0;
  background: var(--cream);
  overflow: hidden;
}
.demo-stage {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  background: var(--white);
  border-radius: 18px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px -20px rgba(28, 43, 43, 0.18);
  min-height: 360px;
  overflow: hidden;
}
.demo-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.demo-btn {
  padding: 10px 22px;
  background: var(--sable);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.04em;
}
.demo-btn:hover { background: var(--teal); transform: translateY(-1px); }
.demo-btn.ghost {
  background: transparent;
  color: var(--sable);
  border: 1px solid var(--gray-light);
}
.demo-btn.ghost:hover { background: var(--gray-lighter); color: var(--teal); }

.demo-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  position: relative;
}
.demo-stop {
  position: relative;
  text-align: center;
  padding: 12px 8px;
  opacity: 0.35;
  transition: opacity 0.4s;
}
.demo-stop.active { opacity: 1; }
.demo-stop-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-light);
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}
.demo-stop.active .demo-stop-dot {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.2);
  transform: scale(1.15);
}
.demo-stop.done .demo-stop-dot {
  background: var(--teal);
}
.demo-stop-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.4s;
}
.demo-stop.active .demo-stop-label { color: var(--teal-dark); }
.demo-track-line {
  position: absolute;
  top: 8px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-light);
  z-index: 1;
}
.demo-track-fill {
  position: absolute;
  top: 8px;
  left: 12.5%;
  height: 2px;
  background: var(--teal);
  z-index: 1;
  width: 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-panel {
  margin-top: 34px;
  min-height: 200px;
  position: relative;
}
.demo-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}
.demo-scene.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.demo-scene-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
  justify-content: center;
}
.demo-doc {
  background: var(--cream);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sable-soft);
  position: relative;
}
.demo-doc-title {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--sable);
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-light);
}
.demo-doc-line {
  height: 7px;
  background: var(--gray-light);
  border-radius: 3px;
  margin-bottom: 7px;
}
.demo-doc-line.w80 { width: 80%; }
.demo-doc-line.w60 { width: 60%; }
.demo-doc-line.w90 { width: 90%; }
.demo-doc-line.w40 { width: 40%; }
.demo-doc-line.highlighted {
  background: var(--teal-light);
  position: relative;
}
.demo-doc-line.redacted {
  background: var(--sable);
  opacity: 0.9;
}
.demo-arrow-anim {
  color: var(--teal);
}
.demo-arrow-anim svg {
  width: 32px; height: 32px;
  stroke-width: 2.2;
}

/* IA machine */
.demo-ai-box {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  box-shadow: 0 15px 40px -10px rgba(13, 148, 136, 0.5);
  animation: demo-ai-pulse 2s ease-in-out infinite;
}
.demo-ai-box svg {
  width: 50px; height: 50px;
  stroke-width: 1.5;
  animation: demo-ai-rotate 4s linear infinite;
}
@keyframes demo-ai-pulse {
  0%, 100% { box-shadow: 0 15px 40px -10px rgba(13, 148, 136, 0.5); }
  50% { box-shadow: 0 15px 50px -5px rgba(13, 148, 136, 0.8); }
}
@keyframes demo-ai-rotate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.demo-ai-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  white-space: nowrap;
}

/* Patient doc — version claire */
.demo-clear-doc {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sable);
  position: relative;
  box-shadow: 0 10px 30px -5px rgba(13, 148, 136, 0.3);
}
.demo-clear-pill {
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.demo-clear-title {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.demo-clear-text {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--sable);
}
.demo-clear-text strong { color: var(--teal-dark); }

.demo-caption {
  text-align: center;
  margin-top: 24px;
  padding: 14px 24px;
  background: var(--white);
  border-radius: 10px;
  font-size: 14px;
  color: var(--sable);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  line-height: 1.5;
  border: 1px solid var(--gray-light);
}
.demo-caption strong { color: var(--teal-dark); font-style: normal; }

/* ══ TECH DIFF — cartes sous la démo ══ */
.tech-diff {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 40px auto 0;
}
.tech-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  transition: border-color 0.25s, transform 0.25s;
}
.tech-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.tech-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}
.tech-yes {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.tech-no {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}
.tech-card strong {
  display: block;
  font-size: 15px;
  color: var(--sable);
  margin-bottom: 5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}
.tech-card p {
  font-size: 13.5px;
  color: var(--sable-soft);
  line-height: 1.55;
  margin: 0;
}

/* ══ NOTRE TECHNOLOGIE ══ */
.section-tech {
  padding: 110px 0;
  background: var(--sable);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-tech::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.section-tech::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.section-tech .container { position: relative; z-index: 1; }
.section-tech .section-label { color: var(--teal-light); }
.section-tech .section-title { color: var(--white); }
.section-tech .section-intro { color: rgba(255, 255, 255, 0.7); }

/* Pipeline figé */
.tech-pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 60px auto 80px;
}
.tech-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 12px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  position: relative;
  min-width: 0;
}
.tech-step-featured {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-color: var(--teal);
  box-shadow: 0 20px 50px -10px rgba(13, 148, 136, 0.55);
  transform: scale(1.05);
  z-index: 2;
}
.tech-step-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal-light);
}
.tech-step-featured .tech-step-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.tech-step-icon svg { width: 24px; height: 24px; }
.tech-step-label {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.tech-step-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tech-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  color: var(--teal-light);
  opacity: 0.55;
  flex-shrink: 0;
}
.tech-arrow svg { width: 22px; height: 22px; }

/* Trois piliers */
.tech-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.tech-pillar {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.tech-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.06);
}
.tech-pillar-featured {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.3) 0%, rgba(15, 118, 110, 0.2) 100%);
  border-color: var(--teal);
}
.tech-pillar-featured:hover {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.4) 0%, rgba(15, 118, 110, 0.3) 100%);
}
.tech-pillar-icon {
  width: 48px;
  height: 48px;
  background: rgba(204, 251, 241, 0.12);
  color: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tech-pillar-featured .tech-pillar-icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.tech-pillar-icon svg { width: 24px; height: 24px; }
.tech-pillar-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.tech-pillar-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.tech-pillar-featured .tech-pillar-text {
  color: rgba(255, 255, 255, 0.88);
}

/* ══ PIPELINE / TECHNOLOGIE ══ */
.section-pipeline {
  padding: 110px 0;
  background: var(--sable);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-pipeline::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 60%);
  z-index: 0;
}
.section-pipeline .container { position: relative; z-index: 1; }
.section-pipeline .section-label { color: var(--teal-light); }
.section-pipeline .section-title { color: var(--white); }
.section-pipeline .section-intro { color: rgba(255, 255, 255, 0.7); }
.pipeline-wrap {
  display: grid;
  grid-template-columns: 280px 60px 1fr;
  gap: 0;
  align-items: start;
  margin: 70px 0 60px;
}
.pipeline-zone {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.zone-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  height: 32px;
}
.zone-label svg { width: 14px; height: 14px; }
.zone-label-auto {
  color: var(--teal-light);
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(204, 251, 241, 0.25);
}
.zone-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 0;
}
.pipeline-step {
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-height: 180px;
}
.pipeline-step.featured {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-color: var(--teal);
  box-shadow: 0 20px 50px -10px rgba(13, 148, 136, 0.5);
  transform: scale(1.06);
  z-index: 2;
}
.pipeline-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-light);
}
.pipeline-step.featured .pipeline-icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.pipeline-icon svg { width: 24px; height: 24px; }
.pipeline-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.pipeline-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.pipeline-step.featured .pipeline-desc {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.pipeline-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--teal-dark);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Connecteur principal — transition radiologue → automatisé */
.pipeline-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  /* Compense le zone-label (32px) + gap (16px) au-dessus des cartes,
     pour se centrer verticalement sur le milieu de la carte */
  margin-top: calc(32px + 16px + 90px);
}
.pipeline-connector svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.2;
}
/* Mini-flèches — même famille, plus discret */
.pipeline-mini-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  opacity: 0.5;
}
.pipeline-mini-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}
.pipeline-diff {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.diff-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.diff-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}
.diff-no .diff-mark {
  background: rgba(239, 68, 68, 0.18);
  color: #FCA5A5;
}
.diff-yes .diff-mark {
  background: rgba(204, 251, 241, 0.2);
  color: var(--teal-light);
}
.diff-item strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}
.diff-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
  margin: 0;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 680px) {
  .nav-menu { display: none; }
  .demarche-grid, .team-grid, .valeurs-grid, .footer-top, .doc-meta, .pipeline-diff, .tech-diff, .tech-pillars {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 50px 24px 40px;
  }
  .contact-email-btn {
    gap: 14px;
    padding: 16px 20px;
    flex-wrap: nowrap;
  }
  .contact-email-addr {
    font-size: 15px;
  }
  .contact-promises {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-promise {
    justify-content: center;
  }
  .tech-pipeline {
    flex-direction: column;
    gap: 0;
  }
  .tech-arrow {
    width: 100%;
    height: 40px;
    transform: rotate(90deg);
  }
  .tech-step-featured { transform: none; }
  .pipeline-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pipeline-connector { transform: rotate(90deg); padding-top: 0; }
  .zone-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pipeline-mini-arrow { transform: rotate(90deg); }
  .pipeline-step.featured { transform: none; }
  .hero { padding: 130px 0 80px; }
  .section-demarche, .section-exemple, .section-equipe, .section-valeurs, .section-contact, .section-pipeline, .section-tech {
    padding: 70px 0;
  }
  .doc-header, .doc-body { padding-left: 26px; padding-right: 26px; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGES LÉGALES — Mentions légales / Confidentialité / Cookies
   ═══════════════════════════════════════════════════════════════ */
.legal-hero {
  padding: 100px 0 60px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 60%);
  opacity: 0.4;
  z-index: 0;
}
.legal-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.legal-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-dark);
  background: var(--teal-light); padding: 8px 16px;
  border-radius: 100px; margin-bottom: 28px;
}
.legal-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.legal-hero p.subtitle {
  font-size: 17px; color: var(--sable-soft);
  max-width: 580px; margin: 0 auto;
}
.legal-section { padding: 60px 0 100px; background: var(--cream); }
.legal-content {
  max-width: 820px; margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  padding: 48px 56px 56px;
  box-shadow: 0 20px 60px -20px rgba(28, 43, 43, 0.1);
}
.legal-intro {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--teal-dark);
  background: var(--teal-bg);
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 36px;
  line-height: 1.65;
}
.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--sable);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-light);
  letter-spacing: -0.01em;
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  margin-top: 22px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sable-soft);
  margin-bottom: 14px;
}
.legal-content p strong { color: var(--sable); font-weight: 600; }
.legal-content ul { margin: 10px 0 18px 0; padding-left: 0; list-style: none; }
.legal-content ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sable-soft);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 12px;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.legal-info-block {
  background: var(--gray-lighter);
  border-radius: 10px;
  padding: 22px 26px;
  margin: 14px 0 18px 0;
}
.legal-info-block p { margin-bottom: 6px; font-size: 14.5px; }
.legal-info-block p:last-child { margin-bottom: 0; }
.legal-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px !important;
}
.legal-footer-note {
  margin-top: 40px;
  padding: 22px 26px;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  font-size: 14px;
  color: var(--sable-soft);
  text-align: center;
  font-style: italic;
}
.legal-footer-note a { font-style: normal; }
.legal-update-date {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 28px;
  font-style: italic;
}
@media (max-width: 680px) {
  .legal-content { padding: 32px 26px 40px; }
}


/* ═══════════════════════════════════════════════════════════════
   MENU BURGER MOBILE
   ═══════════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sable);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 20px 28px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(28, 43, 43, 0.06);
    box-shadow: 0 10px 30px -10px rgba(28, 43, 43, 0.15);
  }
  .nav-menu.is-open {
    display: flex !important;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
  }
  .nav-cta a {
    display: inline-block;
    margin-top: 6px;
  }
}
