/* ===== SYNTHEBIO.COM — Style ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --burgundy: #6A1F3A;
  --burgundy-2: #4c1629;
  --gold: #C9A86A;
  --gold-light: #e8d5a8;
  --white: #ffffff;
  --off-white: #FAF8F5;
  --light-gray: #f0ede8;
  --text: #1a1a1a;
  --text-light: #555;
  --border: rgba(201,168,106,0.25);
  --shadow: 0 4px 24px rgba(106,31,58,0.10);
  --shadow-lg: 0 12px 48px rgba(106,31,58,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h1 { font-size: clamp(46px, 7vw, 96px); font-weight: 300; }
h2 { font-size: clamp(38px, 5vw, 72px); font-weight: 400; }
h3 { font-size: clamp(20px, 2.5vw, 30px); font-weight: 400; }
h4 { font-size: 20px; font-weight: 600; }
p { font-size: 17px; color: var(--text-light); }
a { color: inherit; text-decoration: none; }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.gold { color: var(--gold); }
.burgundy { color: var(--burgundy); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--burgundy-2); color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== HEADER / NAV ===== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#site-header.scrolled { padding: 0.8rem 0; box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-top: -2px;
}
nav { display: flex; align-items: center; gap: 1.1rem; }
nav a {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}
nav a:hover { color: var(--burgundy); }
.nav-cta {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--burgundy-2) !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--burgundy); color: var(--white); }
.btn-primary:hover { background: var(--burgundy-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent; color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: var(--white); }
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-gold:hover { background: #b8944d; color: #1a1a1a; transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.6rem; font-size: 1rem; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: flex-start;
  position: relative; overflow: hidden;
  padding-top: 170px; padding-bottom: 80px;
  background: #1a0810;
}
.hero-img {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero_patiente2.png') center 15%/cover no-repeat;
  animation: kenburns 15s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.10) translateX(-1.5%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,rgba(39,16,25,.72),rgba(39,16,25,.34) 42%,rgba(39,16,25,.05) 78%),linear-gradient(0deg,rgba(106,31,58,.24),transparent 45%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; color: var(--white); }
.lang-switch { display:flex; align-items:center; gap:4px; font-size:15px; font-weight:700; margin-left:1.2rem; flex-shrink:0; }
.lang-switch a { color: var(--text-light); text-decoration:none; transition:color 0.2s; }
.lang-switch a.active, .lang-switch a:hover { color: var(--burgundy); }
.lang-sep { color: rgba(0,0,0,0.25); font-weight:300; }
.hero-content .section-label { color: var(--gold-light); }
.hero-content h1 { font-size: clamp(34px, 4vw, 58px); color: var(--white); margin-bottom: 1.5rem; }
.hero-content h1 em { color: var(--gold); font-style: normal; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1rem; margin-bottom: 2.5rem; max-width: 560px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 1rem; margin-top: 3rem; flex-wrap: nowrap;
  padding-bottom: 3rem;
}
#menu-toggle { display: none; }
.hero-stat-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--burgundy);
  line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: var(--text-light); margin-top: 0.3rem; }

/* ===== STAT CARDS ===== */
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  color: var(--burgundy); line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card .stat-label { font-size: 0.85rem; font-weight: 500; color: var(--text-light); }

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--burgundy), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--text); }

/* ===== BEFORE / AFTER ===== */
.ba-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.ba-pair { border-radius: var(--radius); overflow: hidden; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-images img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ba-label {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--burgundy); color: var(--white);
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
}
.ba-label span { padding: 0.4rem; text-align: center; }
.ba-label span:first-child { background: rgba(0,0,0,0.15); }
.ba-caption { font-size: 0.8rem; color: var(--text-light); text-align: center; padding: 0.6rem 0; }

/* ===== TECH / SCIENCE ===== */
.tech-diagram {
  background: linear-gradient(135deg, #1a0a10 0%, var(--burgundy-2) 100%);
  border-radius: var(--radius-lg); padding: 3rem;
  color: var(--white); text-align: center;
  margin: 2rem 0;
}
.wavelength-bars {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 6px; height: 80px; margin: 1.5rem 0;
}
.wavelength-bars span {
  display: block; width: 8px; background: var(--gold);
  border-radius: 4px 4px 0 0; opacity: 0.6;
  animation: wave 1.4s ease-in-out infinite;
}
.wavelength-bars span:nth-child(2) { animation-delay: 0.1s; opacity: 0.8; }
.wavelength-bars span:nth-child(3) { animation-delay: 0.2s; opacity: 1; }
.wavelength-bars span:nth-child(4) { animation-delay: 0.3s; opacity: 0.9; }
.wavelength-bars span:nth-child(5) { animation-delay: 0.4s; opacity: 0.7; }
.wavelength-bars span:nth-child(6) { animation-delay: 0.5s; opacity: 0.5; }
@keyframes wave {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

.evidence-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.evidence-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,168,106,0.2);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center;
}
.evidence-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; color: var(--gold);
}
.evidence-item .label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 0.3rem; }

/* ===== CLINICAL ===== */
.clinical-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.clinical-header {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-2));
  color: var(--white); padding: 1.5rem 2rem;
}
.clinical-header h3 { color: var(--white); font-size: 1.1rem; }
.clinical-body { padding: 2rem; }
.clinical-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.kpi-item { text-align: center; padding: 1rem; background: var(--off-white); border-radius: 10px; }
.kpi-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--burgundy);
}
.kpi-label { font-size: 0.75rem; color: var(--text-light); }

/* ===== DOCTOR TESTIMONIAL ===== */
.doctor-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: 2rem; align-items: start;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.doctor-avatar {
  width: 120px; height: 120px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
}
.doctor-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-style: italic; font-weight: 300;
  color: var(--text); line-height: 1.5; margin-bottom: 1rem;
}
.doctor-name { font-weight: 600; font-size: 0.9rem; color: var(--burgundy); }
.doctor-title { font-size: 0.8rem; color: var(--text-light); }

/* ===== TÉMOIGNAGE PATIENT ===== */
.temoignage-patient-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  max-width: 900px; margin: 0 auto;
}
.temoignage-patient-photo {
  position: relative; min-height: 340px;
}
.video-poster-wrap {
  position: absolute; inset: 0;
}
.video-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(106,31,58,0.85); border: none;
  color: #fff; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s; z-index: 2; padding-left: 5px;
}
.video-play-btn:hover { background: var(--burgundy); transform: translate(-50%,-50%) scale(1.1); }
.temoignage-patient-content {
  padding: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 700px) {
  .temoignage-patient-card { grid-template-columns: 1fr; }
  .temoignage-patient-photo { min-height: 240px; position: relative; }
}

/* ===== TÉMOIGNAGE FLIP ===== */
.temoignage-flip {
  max-width: 860px; margin: 0 auto;
  perspective: 1200px; min-height: 480px;
}
.temoignage-inner {
  position: relative; width: 100%; min-height: 480px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.temoignage-flip.flipped .temoignage-inner { transform: rotateY(180deg); }
.temoignage-front, .temoignage-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.temoignage-front {
  display: flex; gap: 2rem; align-items: flex-start; padding: 2.5rem;
}
.temoignage-back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; overflow: hidden;
}
.temoignage-back embed { flex: 1; border: none; }
.temoignage-close {
  background: var(--burgundy); color: #fff; border: none;
  padding: 0.5rem 1.2rem; font-size: 0.82rem; cursor: pointer;
  text-align: right; align-self: flex-end; margin: 0.75rem 0.75rem 0 0;
  border-radius: 4px;
}
.temoignage-avatar-wrap { flex-shrink: 0; }
.temoignage-avatar {
  width: 120px; height: 120px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold);
}
.temoignage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-style: italic; font-weight: 600;
  color: var(--burgundy); margin-bottom: 1rem; line-height: 1.4;
}
.temoignage-text { font-size: 0.9rem; color: var(--text); margin-bottom: 0.75rem; }
.temoignage-list {
  list-style: none; padding: 0; margin: 0 0 0.75rem;
}
.temoignage-list li {
  font-size: 0.88rem; color: var(--text);
  padding: 0.3rem 0 0.3rem 1.4rem; position: relative;
}
.temoignage-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold);
}
@media (max-width: 640px) {
  .temoignage-front { flex-direction: column; align-items: center; text-align: center; }
  .temoignage-list li { text-align: left; }
  /* Fix flip card height on mobile — use normal flow instead of absolute positioning */
  .temoignage-flip { perspective: none; min-height: auto; }
  .temoignage-inner { transform-style: flat; min-height: auto; height: auto; }
  .temoignage-front { position: relative; inset: auto; }
  .temoignage-back { display: none; }
  .temoignage-flip.flipped .temoignage-front { display: none; }
  .temoignage-flip.flipped .temoignage-back { display: flex; position: relative; inset: auto; min-height: 500px; }
}

/* ===== POURQUOI SLIMISER — mobile single column reorder ===== */
.diff-img-mobile { display: none; }
@media (max-width: 900px) {
  .diff-grid { display: flex !important; flex-direction: column; gap: 1rem; }
  .diff-grid > * { height: auto !important; grid-column: auto !important; grid-row: auto !important; }
  .diff-r1c1 { order: 1; }
  .diff-img-mobile { display: block; margin: 0.8rem 0; }
  .diff-r1c2 { display: none !important; }
  .diff-r2c2 { order: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
  .diff-r2c1 { order: 3; }
  .diff-r3c2 { order: 4; }
  .diff-r3c1 { order: 5; }
  .diff-r4c2 { order: 6; border-radius: var(--radius); overflow: hidden; }
  .diff-r4c1 { order: 7; }
}

/* ===== ROI / COMPARATIF ===== */
.roi-card {
  background: linear-gradient(135deg, var(--burgundy-2), var(--burgundy));
  color: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
}
.roi-card .roi-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: var(--gold);
}
.roi-card p { color: rgba(255,255,255,0.8); }
.roi-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.roi-table th, .roi-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.roi-table th { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.roi-table tr:last-child td { border: none; font-weight: 700; color: var(--burgundy); }
.roi-table td:not(:first-child) { text-align: right; }
.comparatif-table { width: 100%; border-collapse: collapse; }
.comparatif-table th, .comparatif-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.comparatif-table th { background: var(--burgundy); color: var(--white); font-weight: 600; }
.comparatif-table tr:nth-child(even) { background: var(--off-white); }
.comparatif-table td:not(:first-child) { text-align: center; }
.check { color: #22c55e; font-size: 1.1rem; }
.cross { color: #ef4444; font-size: 1.1rem; }
.slimiser-col { background: rgba(106,31,58,0.06) !important; font-weight: 600; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--burgundy), var(--gold));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2.5rem; position: relative; }
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); border: 2.5px solid var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600;
  color: var(--burgundy); z-index: 1;
}
.timeline-content h4 { margin-bottom: 0.4rem; color: var(--text); }
.timeline-content p { font-size: 0.88rem; }
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 300; color: var(--gold);
  margin-bottom: 0.2rem;
}

/* ===== PRESS CAROUSEL ===== */
.press-carousel {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px 0 34px;
  scrollbar-width: thin;
}
.press-carousel::-webkit-scrollbar { height: 4px; }
.press-carousel::-webkit-scrollbar-track { background: var(--light-gray); border-radius: 2px; }
.press-carousel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.press-card {
  perspective: 1000px;
  flex: 0 0 238px; scroll-snap-align: start; cursor: pointer;
}
.card-inner {
  position: relative; height: 318px;
  transition: transform 0.7s; transform-style: preserve-3d;
  border-radius: 18px; box-shadow: var(--shadow);
}
.press-card.flipped .card-inner { transform: rotateY(180deg); }
.press-card .front, .press-card .back {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 18px;
  backface-visibility: hidden; background: #eee;
}
.press-card .back { transform: rotateY(180deg); }
.press-card span {
  display: block; text-align: center; margin-top: 12px;
  font-weight: 700; color: var(--text);
}

/* Modal article */
[data-modal] { cursor: default; }
[data-modal][hidden] { display: none !important; }

/* ===== SCIENCE STEPS ===== */
.science-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .science-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .science-steps { grid-template-columns: 1fr; } }
.science-step {
  display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1.4rem; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.science-step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--burgundy), var(--gold));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400;
}
.science-step-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text); }
.science-step-content p { font-size: 0.85rem; }

/* ===== PRESS LEGACY (kept for other uses) ===== */
.press-card-simple {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border);
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--text);
}
.press-card-simple cite { display: block; font-style: normal; font-size: 0.78rem; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--gold); margin-top: 0.6rem; }

/* ===== INTEGRATION ===== */
.integration-with-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .integration-with-photo { grid-template-columns: 1fr; } .integration-with-photo img { max-height: 340px !important; } }
.integration-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.5rem; }
.step-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; border: 1px solid var(--border); text-align: center;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--burgundy); color: var(--white);
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }

/* ===== DOSSIER / CTA ===== */
.dossier-box {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 3rem; border: 1px solid var(--border); text-align: center;
}
.dossier-checklist { list-style: none; text-align: left; max-width: 400px; margin: 1.5rem auto; }
.dossier-checklist li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem; display: flex; gap: 0.7rem; align-items: center;
}
.dossier-checklist li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ===== FORM ===== */
.form-section { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--burgundy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-cta-box {
  background: #2a1820;
  border-radius: var(--radius-lg); padding: 3rem;
  color: var(--white);
}
.form-cta-box h2 { color: var(--white); margin-bottom: 0.6rem; }
.form-cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.form-cta-box input,
.form-cta-box select,
.form-cta-box textarea {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25);
  color: var(--white);
}
.form-cta-box input::placeholder,
.form-cta-box textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-cta-box label { color: rgba(255,255,255,0.85); }
.form-success {
  display: none; background: #d1fae5; border: 1.5px solid #6ee7b7;
  border-radius: 10px; padding: 1rem 1.5rem; margin-top: 1rem;
  color: #065f46; font-size: 0.9rem; font-weight: 500;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 1.2rem 0; cursor: pointer;
  font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.faq-item summary:hover { color: var(--burgundy); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--gold); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 1.2rem; font-size: 0.9rem; color: var(--text-light); }

/* ===== FOOTER ===== */
footer {
  background: #2a1820; color: var(--white);
  padding: 3rem 0 1.5rem;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.8rem; max-width: 280px; }
footer h5 { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
}

/* ===== RÉSULTATS CLINIQUES ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: 1.5rem;
  align-items: start;
}
.result-kpi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem 1.2rem; text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.result-kpi-card--big { border-top: 3px solid var(--burgundy); }
.result-kpi-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--burgundy); line-height: 1;
}
.result-kpi-label { font-size: 0.78rem; font-weight: 600; color: var(--text-light); margin-top: 0.4rem; }
.result-bars-col { display: flex; flex-direction: column; gap: 1rem; }
.result-bar-item {}
.result-bar-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.4rem;
}
.result-bar-header span { font-size: 0.85rem; color: var(--text); }
.result-bar-header strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; color: var(--burgundy);
}
.result-bar-track {
  background: var(--light-gray); border-radius: 999px; height: 10px; overflow: hidden;
}
.result-bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--burgundy-2), var(--burgundy));
  transition: width 1.4s cubic-bezier(.25,.46,.45,.94);
}
.result-bar-fill.animated { width: var(--w); }

/* ===== APOPTOSE BARS ===== */
.apoptose-bars { display: flex; flex-direction: column; gap: 1rem; }
.apoptose-bar-item { display: flex; align-items: center; gap: 1rem; }
.apoptose-bar-label { font-size: 0.82rem; color: var(--text); min-width: 130px; flex-shrink: 0; }
.apoptose-bar-track { flex: 1; background: var(--off-white); border-radius: 999px; height: 22px; overflow: hidden; border: 1px solid var(--border); }
.apoptose-bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--burgundy-2), var(--gold));
  transition: width 1.6s cubic-bezier(.25,.46,.45,.94);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 8px;
}
.apoptose-bar-fill.animated { width: calc(var(--w) * 1%); }
.apoptose-bar-val { font-size: 0.72rem; font-weight: 700; color: #fff; white-space: nowrap; }

/* ===== BEFORE/AFTER SLIDER (identique slimiser.com) ===== */
.results { padding: 100px 0; }
.result-block {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem 3rem;
}
.result-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 1.2rem;
}
.result-header h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin: 0; color: var(--text); }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem;
}
.slider-controls button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(106,31,58,0.18); background: white;
  color: var(--burgundy); font-size: 1.6rem; cursor: pointer; margin-left: 8px;
  transition: background var(--transition), color var(--transition);
}
.slider-controls button:hover { background: var(--burgundy); color: white; }
.ba-slider {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 0 34px;
  scrollbar-width: thin;
}
.ba-slider::-webkit-scrollbar { height: 4px; }
.ba-slider::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.ba-card {
  flex: 0 0 min(760px, 86vw); background: white;
  border-radius: 28px; padding: 18px;
  box-shadow: var(--shadow); scroll-snap-align: center;
}
.ba-card .ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-card .ba-images figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 18px; background: #eee;
}
.ba-card .ba-images img { width: 100%; height: 420px; object-fit: cover; }
.ba-card .ba-images figcaption {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.88); padding: 7px 11px;
  border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--burgundy);
}
.ba-card p { font-size: 14px; margin: 14px 4px 2px; color: #555; }

@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr 1fr 1fr; }
  .result-bars-col { grid-column: 1 / -1; }
  .ba-card .ba-images img { height: 260px; }
}
@media (max-width: 600px) {
  .results-grid { grid-template-columns: 1fr; }
  .result-kpi-card { grid-column: auto; }
}

/* ===== PRÉCLINIQUE ===== */
.preclinical-block {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 2.5rem; margin-bottom: 1.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.preclinical-title {
  font-size: 1.15rem; color: var(--burgundy);
  margin-bottom: 0.8rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
}
.histo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 1rem;
}
.histo-item { position: relative; }
.histo-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); display: block;
}
.histo-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 0.3rem 0.8rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.histo-badge--before { background: rgba(106,31,58,0.85); color: #fff; }
.histo-badge--after { background: rgba(201,168,106,0.9); color: #fff; }
.histo-caption {
  font-size: 0.75rem; color: var(--text-light); text-align: center;
  margin-top: 0.5rem; font-style: italic; line-height: 1.4;
}
.quant-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.quant-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; border: 1px solid var(--border);
}
.quant-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300; color: var(--burgundy);
  line-height: 1;
}
.quant-label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); margin-top: 0.4rem; }

@media (max-width: 700px) {
  .histo-grid { grid-template-columns: 1fr; }
  .quant-grid { grid-template-columns: 1fr; }
  .preclinical-block { padding: 1.2rem; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== VIDEO YT THUMB ===== */
.yt-thumb { position: relative; display: block; width: 100%; }
.yt-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .evidence-row { grid-template-columns: 1fr; }
  .doctor-card { grid-template-columns: 1fr; text-align: center; }
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; right: 1rem; left: auto;
    width: auto; min-width: 220px;
    background: #fff; z-index: 999;
    padding: 0.4rem 0; gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--border);
  }
  nav.open a {
    color: var(--text); font-size: 0.92rem; font-weight: 500;
    padding: 0.65rem 1.4rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    white-space: nowrap;
  }
  nav.open a:last-child { border-bottom: none; }
  nav.open a:hover { background: var(--off-white); color: var(--burgundy); }
  nav.open .nav-cta { background: var(--gold) !important; color: #1a1a1a !important; border-radius: 0 !important; font-weight: 600 !important; }
  nav.open .nav-cta:hover { background: #b8944d !important; }
  nav.open a[href*="wa.me"] { background: #25D366 !important; color: #fff !important; border-radius: 0 !important; }
  .nav-wa-desktop { display: none !important; }
  .nav-dossier-desktop { display: none !important; }
  .nav-contact-mobile { display: block !important; }
  #menu-toggle { display: flex !important; }
  #hero { padding-top: 100px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; padding-bottom: 4rem; }
  .hero-stat-card { flex: none; width: 100%; min-width: unset; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .clinical-kpis { grid-template-columns: 1fr; }
  .comparatif-table { font-size: 0.78rem; }
  .comparatif-table th, .comparatif-table td { padding: 0.6rem 0.5rem; }
}
