/* ─── Reset + Variables ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #ff5433;
  --red2:   #e8421f;
  --blue:   #5694ff;
  --green:  #66a149;
  --orange: #f36326;
  --grey:   #939397;
  --black:  #111111;
  --bg:     #f7f7f8;
  --white:  #ffffff;
  --border: #e8e8e8;
  --dark:   #0a0a0f;
  --dark2:  #141419;
  --radius: 3px;
  --shadow: 0 2px 16px rgba(0,0,0,.07);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* ─── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Alegreya Sans', sans-serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p  { line-height: 1.7; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
em { font-style: normal; }

/* ─── Utilities ─────────────────────────────────────────────────────────── */
.text-red    { color: var(--red); }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-orange { color: var(--orange); }
.text-grey   { color: var(--grey); }
.text-white  { color: var(--white); }
.font-roboto { font-family: 'Roboto', sans-serif; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
.section-sm { padding: 48px 0; }
/* Les ancres (#services, #methode, #apropos) passeraient sous la nav fixe de 60px. */
section[id] { scroll-margin-top: 80px; }

.label-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover { background: #333; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ─── Badge ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
}
.badge-red    { background: #fff0ee; color: var(--red);    border: 1px solid #ffd4cc; }
.badge-orange { background: #fff7f0; color: var(--orange); border: 1px solid #ffdfc9; }
.badge-blue   { background: #eef3ff; color: var(--blue);   border: 1px solid #c9d8ff; }
.badge-green  { background: #f0f7ee; color: var(--green);  border: 1px solid #c9e0c0; }
.badge-dark   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.15); }

/* ─── Card ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-sm { padding: 18px 20px; }

/* ─── Form elements ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 7px;
}
.form-label small { font-weight: 400; color: var(--grey); margin-left: 6px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
}
.form-control:focus { border-color: var(--red); }
textarea.form-control { min-height: 100px; resize: vertical; }
select.form-control { cursor: pointer; }

.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-hint { font-size: 12px; color: var(--grey); margin-top: 5px; }

.alert {
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success { background: #f0f7ee; border: 1px solid #c9e0c0; color: #3d6b30; }
.alert-error   { background: #fff0ee; border: 1px solid #ffd4cc; color: var(--red); }
.alert-info    { background: #eef3ff; border: 1px solid #c9d8ff; color: #2d5ed4; }

/* ─── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: 60px;
  display: flex;
  align-items: center;
}
.nav .container { width: 100%; max-width: 100%; margin: 0; padding: 0 24px; }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}
.nav-logo { justify-self: start; }
.nav-logo img { height: 26px; filter: invert(1); display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}
.nav-links a {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-login {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.nav-login:hover { color: #fff; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.6) 0%, rgba(10,10,10,.4) 60%, rgba(10,10,10,.8) 100%);
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,84,51,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,84,51,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,84,51,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 em { color: var(--red); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 720px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stat {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-val em { color: var(--red); font-style: normal; }
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ─── Logos bar ─────────────────────────────────────────────────────────── */
.logos-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.logos-bar-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.logos-bar-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ccc;
}
.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  background: var(--white);
}
.platform-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ─── Services ──────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 24px rgba(255,84,51,.08);
}
.service-icon {
  width: 44px; height: 44px;
  background: #fff0ee;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p  { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.service-tags    { display: flex; gap: 6px; flex-wrap: wrap; }
.service-tag {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 9px;
  color: #555;
}

/* ─── Stats ─────────────────────────────────────────────────────────────── */
.stats-section {
  background: var(--dark);
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/bg_numbers.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.stats-section > * { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.stat-card {
  padding: 36px 18px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.stat-card:last-child { border-right: none; }
.stat-val {
  font-family: 'Roboto', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-val em { color: var(--red); font-style: normal; }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-family: 'Roboto', sans-serif;
}

/* ─── Method ────────────────────────────────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.method-step {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.method-number {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.method-step h3 { font-size: 16px; margin-bottom: 10px; }
.method-step p  { font-size: 14px; color: #555; line-height: 1.7; }

/* ─── Cases ─────────────────────────────────────────────────────────────── */
.cases-section { background: var(--dark); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.case-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.case-card:hover { border-color: rgba(255,84,51,.35); }
.case-tag {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.case-card h3 { font-size: 15px; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.case-card p  { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 20px; }
.case-metrics { display: flex; gap: 16px; flex-wrap: wrap; }
.case-metric {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.case-metric-val {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.case-metric-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-top: 3px;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-stars { color: #f5a623; font-size: 14px; margin-bottom: 14px; }
.testimonial-card blockquote {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--grey);
}
.testimonial-name { font-size: 13px; font-weight: 700; }
.testimonial-role { font-size: 12px; color: var(--grey); }

/* ─── About ─────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 780px;
  margin-top: 48px;
}
.about-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-content h3 { font-size: 18px; margin-bottom: 4px; }
.about-content .about-role { font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.about-content p { font-size: 14px; color: #444; line-height: 1.75; }
.about-links { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.about-link {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: var(--blue);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: border-color .15s, color .15s;
}
.about-link:hover { border-color: var(--blue); color: var(--blue); }

/* ─── CTA banner ────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  padding: 80px 0;
}
.cta-banner-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.6); margin-bottom: 32px; font-size: 15px; }
.cta-banner .cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── Back to top ───────────────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: rgba(15,15,20,.75);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, background .2s, color .2s;
  z-index: 190;
  backdrop-filter: blur(6px);
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: rgba(15,15,20,.95); color: #fff; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.footer-logo img  { height: 54px; display: block; }
.footer-links     { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a   { font-size: 13px; color: rgba(255,255,255,.45); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.25);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.4); }

/* ─── Simulator page ────────────────────────────────────────────────────── */
.simu-page {
  min-height: 100vh;
  background: var(--bg);
  padding: 80px 0 80px;
}
.simu-page .container { max-width: 820px; }
.simu-header { text-align: center; margin-bottom: 48px; }
.simu-header h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.simu-header p  { color: #555; font-size: 15px; }

.simu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.simu-steps {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.simu-step-indicator {
  flex: 1;
  padding: 14px 16px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  border-right: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.simu-step-indicator:last-child { border-right: none; }
.simu-step-indicator.active { background: var(--red); color: #fff; }
.simu-step-indicator.done   { color: var(--green); }

.simu-body { padding: 40px; }
.simu-step-panel { display: none; }
.simu-step-panel.active { display: block; }

.canal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.canal-btn {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  background: var(--white);
  transition: border-color .15s, background .15s;
  text-align: left;
}
.canal-btn.selected {
  border-color: var(--red);
  background: #fff8f7;
}
.canal-btn-name {
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 3px;
}
.canal-btn-cpc {
  font-size: 12px;
  color: var(--grey);
  font-family: 'Roboto', sans-serif;
}

.range-wrap { position: relative; }
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) 50%, var(--border) 50%);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--red);
  box-shadow: 0 2px 8px rgba(255,84,51,.25);
  cursor: pointer;
  transition: transform .1s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--red);
  cursor: pointer;
}

.simu-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.simu-input-label { font-size: 13px; font-weight: 700; }
.simu-input-val {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
}

/* Results */
.results-header {
  background: var(--dark);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.results-header h2 { color: #fff; font-size: 18px; }
.verdict-badge {
  padding: 6px 16px;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.verdict-green  { background: rgba(102,161,73,.2);  color: #7fcf5c; border: 1px solid rgba(102,161,73,.3); }
.verdict-blue   { background: rgba(86,148,255,.2);  color: #7aaaff; border: 1px solid rgba(86,148,255,.3); }
.verdict-orange { background: rgba(243,99,38,.2);   color: #ff8f5c; border: 1px solid rgba(243,99,38,.3); }
.verdict-red    { background: rgba(255,84,51,.2);   color: #ff8066; border: 1px solid rgba(255,84,51,.3); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
}
.metric-cell {
  background: var(--white);
  padding: 20px 24px;
  text-align: center;
}
.metric-val {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-val.highlight { color: var(--red); }
.metric-val.positive  { color: var(--green); }
.metric-val.negative  { color: var(--orange); }
.metric-label {
  font-size: 12px;
  color: var(--grey);
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.reco-list { list-style: none; }
.reco-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: #444;
  align-items: flex-start;
}
.reco-list li:last-child { border-bottom: none; }
.reco-list li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.simu-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ─── Login page ────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.auth-header {
  background: var(--dark);
  padding: 28px 32px;
}
.auth-header img   { height: 36px; margin-bottom: 16px; display: block; }
.auth-header h2    { font-size: 18px; color: #fff; margin-bottom: 4px; }
.auth-header p     { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 300; }
.auth-body { padding: 28px 32px; }
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.auth-tab {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  background: var(--bg);
  color: var(--grey);
  border: none;
  transition: background .15s, color .15s;
}
.auth-tab.active { background: var(--white); color: var(--black); font-weight: 600; }

/* ─── Dashboard ─────────────────────────────────────────────────────────── */
.db-layout {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.db-topbar {
  background: var(--dark);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.db-topbar img   { height: 24px; filter: invert(1); }
.db-topbar-meta  { margin-left: auto; font-family: 'Roboto', sans-serif; font-size: 13px; color: rgba(255,255,255,.5); }
.db-topbar-meta a { color: rgba(255,255,255,.5); margin-left: 16px; transition: color .15s; }
.db-topbar-meta a:hover { color: #fff; }
.db-burger { display: none; }

/* Espace client sur mobile : logo + label + 3 liens ne tiennent pas dans les
   56px de la topbar. Les liens passent dans un panneau sous la barre, ouvert
   par un burger aligné à droite. */
@media (max-width: 720px) {
  .db-topbar { padding: 0 16px; gap: 10px; position: relative; }
  .db-topbar-meta {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 4px 16px 10px;
  }
  .db-topbar-meta.open { display: flex; }
  .db-topbar-meta a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-left: 0;
    font-size: 15px;
    color: rgba(255,255,255,.8);
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .db-topbar-meta a:first-child { border-top: none; }
  .db-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .db-burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px auto;
    background: #fff;
    border-radius: 2px;
    pointer-events: none;
  }
}

.db-main { flex: 1; padding: 40px 0 80px; }
.db-header { margin-bottom: 32px; }
.db-header h1 { font-size: 22px; }
.db-header p  { color: var(--grey); font-size: 14px; margin-top: 4px; }

.timeline { position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  margin-bottom: 20px;
  align-items: start;
}
.timeline-month {
  text-align: right;
  padding-top: 20px;
  font-family: 'Roboto', sans-serif;
}
.timeline-month-val { font-size: 13px; font-weight: 700; color: var(--black); }
.timeline-month-label { font-size: 11px; color: var(--grey); }
.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .15s;
}
.timeline-card:hover { border-color: #ccc; }
.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.timeline-card-header h3 { font-size: 14px; flex: 1; }
.timeline-comment {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 14px;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}
.timeline-actions { display: flex; gap: 10px; align-items: center; }
.timeline-actions a { font-size: 13px; }

/* Reply thread */
.reply-thread { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }
.reply-msg {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.65;
}
.reply-msg-meta { font-size: 11px; color: var(--grey); margin-top: 6px; font-family: 'Roboto', sans-serif; }
.reply-form { margin-top: 16px; }
.reply-form textarea { min-height: 80px; }

/* ─── Admin ──────────────────────────────────────────────────────────────── */
.admin-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  background: var(--dark);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar img { height: 22px; filter: invert(1); }
.admin-topbar-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red);
  margin-left: 6px;
}
.admin-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.admin-topbar-right a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .15s; }
.admin-topbar-right a:hover { color: #fff; }

.admin-body { display: flex; flex: 1; min-height: calc(100vh - 56px); }
.admin-sidebar {
  width: 216px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
}
.admin-nav-section {
  padding: 0 16px;
  margin-bottom: 4px;
}
.admin-nav-title {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ccc;
  padding: 16px 8px 8px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  font-size: 13px;
  color: #555;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.admin-nav-link:hover { background: var(--bg); color: var(--black); }
.admin-nav-link.active { background: #fff0ee; color: var(--red); font-weight: 700; }
.admin-nav-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  font-family: 'Roboto', sans-serif;
}

.admin-content { flex: 1; padding: 32px; background: var(--bg); min-width: 0; }
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-page-header h1 { font-size: 20px; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
}
.admin-table th {
  background: var(--bg);
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--grey);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.admin-stat-val {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.admin-stat-label { font-size: 12px; color: var(--grey); font-family: 'Roboto', sans-serif; }

.admin-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 680px;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid,
  .cases-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid,
  .hero-stats         { grid-template-columns: repeat(2, 1fr); }
  .method-grid        { grid-template-columns: 1fr 1fr; }
  .metrics-grid       { grid-template-columns: repeat(2, 1fr); }
  .admin-stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .form-row-3         { grid-template-columns: 1fr 1fr; }
}

/* ─── Nav mobile ─────────────────────────────────────────────────────────────
   Bascule à 900px et non 640px : entre les deux, la nav desktop ne tenait plus
   sur une ligne — le CTA passait sur 3 lignes (80px de haut dans une nav de
   60px, soit 20px de débordement sur le hero) et « Contact » chevauchait le
   sélecteur FR|EN. Cette plage est exactement celle du téléphone en paysage
   (667 / 720 / 768 / 844px), d'où des défauts visibles seulement dans cette
   orientation.                                                               */
@media (max-width: 900px) {
  .nav { height: auto; }
  .nav-links, .nav-cta .btn { display: none; }
  /* « Connexion » figure déjà dans le menu burger. Le garder aussi dans la
     barre forçait la nav sur deux rangées (122px, 14% d'un écran de 844px). */
  .nav-login { display: none; }
  .nav .container { padding: 10px 20px; }
  .nav .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 12px;
  }
  .nav-logo  { grid-column: 1; min-height: 44px; display: flex; align-items: center; }
  .nav-cta   { grid-column: 2; }
  .nav-burger {
    /* flex + 44px : la cible ne faisait que 22×26px, sous le seuil tactile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 3;
    justify-self: end;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
  }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px auto;
    pointer-events: none;
  }
}

/* Paysage téléphone : le hero réservait 180px de padding et `min-height:100vh`
   sur un écran de 390px de haut, ne laissant que 210px au contenu. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: 0; padding: 78px 0 32px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 90px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid, .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .canal-grid { grid-template-columns: 1fr; }
  .simu-body { padding: 24px; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-month { text-align: left; padding-top: 0; }
  .admin-sidebar { display: none; }
  .admin-content { padding: 16px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-avatar { margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ─── Cibles tactiles ────────────────────────────────────────────────────────
   44px minimum sur écran tactile. Mesuré avant correction sur la page
   d'accueil : burger 22×26, sélecteur de langue 40×15, « Connexion » 59×21,
   liens de pied de page 21px de haut, .about-link 31px. Ciblé sur
   `pointer: coarse` pour ne rien changer au rendu souris sur desktop.       */
@media (pointer: coarse) {
  .footer-links a,
  .about-link,
  .lang-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .lang-toggle    { padding: 0 6px; }
  .footer-links   { gap: 4px 24px; }
  .btn, .btn-sm   { min-height: 44px; }
  #backToTop      { width: 44px; height: 44px; }
  /* Mentions légales : contrôles autonomes, pas des liens en pleine phrase. */
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Au-delà de 900px la nav desktop reprend, y compris sur les grands
   téléphones en paysage (932x430) et les tablettes. Elle tient dans ses
   60px, mais ses liens ne faisaient que 21px de haut. `.nav-login` est
   masqué sous 900px, donc le déclarer dans le bloc ci-dessus réactivait
   son `display` : il lui faut cette portée restreinte. */
@media (pointer: coarse) and (min-width: 901px) {
  .nav-login,
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ─── Language toggle ────────────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: default;
  padding: 0;
  line-height: 1;
}
.lang-opt {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  cursor: pointer;
  transition: color .15s;
  padding: 2px 0;
  user-select: none;
}
.lang-opt:hover { color: rgba(255,255,255,.6); }
.lang-opt.active {
  color: rgba(255,255,255,.75);
  cursor: default;
  pointer-events: none;
}
.lang-sep {
  font-size: 10px;
  color: rgba(255,255,255,.15);
  user-select: none;
}
@media (max-width: 640px) {
  .lang-toggle { order: -1; }
}

/* ─── Blog ──────────────────────────────────────────────────────────────── */
.breadcrumb {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 4px; }

/* ─── Blog : page liste ─────────────────────────────────────────────────── */
.blog-hero {
  background: #f6f6f8;
  border-bottom: 1px solid #e6e6ea;
  padding: 100px 0 48px;
}
.blog-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.blog-hero-inner { max-width: 640px; }
/* Même contour fin que la photo de la page auteur. */
.blog-hero-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--black);
  padding: 3px;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-hero-title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.5px;
  color: #1d1d20;
  margin: 0 0 16px;
}
.blog-hero-lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: #52525b;
}
/* Même traitement que les liens dans le corps d'un article. */
.blog-hero-lede a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 84, 51, .45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.blog-hero-lede a:hover { color: var(--red); text-decoration-color: var(--red); }

.blog-list { padding: 40px 24px 80px; }

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.blog-filter {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #52525b;
  background: var(--white);
  transition: border-color .15s, color .15s;
}
.blog-filter:hover { border-color: var(--red); color: var(--red); }
.blog-filter.is-active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

/* Article mis en avant */
.blog-featured {
  display: block;
  background: #f6f6f8;
  border: 1px solid #e6e6ea;
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 32px 36px;
  margin-bottom: 32px;
  transition: border-color .15s, transform .15s;
}
.blog-featured:hover { border-color: var(--red); transform: translateY(-2px); }
.blog-featured-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.blog-featured-title {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.2;
  color: #1d1d20;
  margin: 0 0 12px;
  max-width: 640px;
}
.blog-featured-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #52525b;
  max-width: 640px;
  margin: 0 0 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.blog-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.blog-card-cluster {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
  /* Un nom de cluster long tiendrait sur deux lignes et alourdirait la carte. */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card-title {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--black);
  margin: 0 0 10px;
}
.blog-card-desc {
  font-size: 13.5px;
  color: #52525b;
  line-height: 1.6;
  margin: 0 0 20px;
}
/* Pousse la ligne de méta en pied de carte pour aligner toutes les cartes d'une rangée. */
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  font-size: 12px;
  color: var(--grey);
}
.blog-card-arrow {
  margin-left: auto;
  color: var(--red);
  font-size: 15px;
  transition: transform .15s;
}
.blog-card:hover .blog-card-arrow,
.blog-featured:hover .blog-card-arrow { transform: translateX(3px); }

.blog-empty {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 56px 24px;
  text-align: center;
}
.blog-empty-title {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.blog-empty-text { font-size: 14px; color: var(--grey); margin-bottom: 20px; }

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
}
.blog-pagination a:hover { border-color: var(--red); color: var(--red); }
.blog-pagination a.active { background: var(--red); border-color: var(--red); color: #fff; }
.blog-pagination-step { color: #52525b; }

@media (max-width: 640px) {
  .blog-hero { padding: 84px 0 36px; }
  .blog-hero-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-hero-photo { width: 88px; height: 88px; }
  .blog-list { padding: 32px 24px 64px; }
  .blog-featured { padding: 24px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ─── Blog : page article ───────────────────────────────────────────────── */
.article {
  --ink:        #1d1d20;
  --ink-soft:   #52525b;
  --rule:       #e6e6ea;
  --tint:       #f6f6f8;
}

/* Barre de progression de lecture, collée sous la nav fixe. */
.read-progress {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 199;
  background: transparent;
  pointer-events: none;
}
.read-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width .08s linear;
}

/* En-tête */
.article-hero {
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
  padding: 100px 0 48px;
}
/* Même largeur et même bord gauche que la colonne de texte de .article-layout. */
.article-hero-inner { max-width: 720px; }
.article-breadcrumb { margin-bottom: 20px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.article-tags .badge { text-decoration: none; }
.badge-pillar { background: var(--black); color: #fff; border: 1px solid var(--black); }
a.badge-blue:hover { background: #e2ebff; color: var(--blue); }

.article-title {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.12;
  letter-spacing: -.5px;
  color: var(--ink);
  margin: 0 0 18px;
}
.article-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 0 28px;
}
.article-meta { display: flex; align-items: center; gap: 12px; }
.article-meta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  padding: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.article-meta-author {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
a.article-meta-author { width: fit-content; }
a.article-meta-author:hover,
.article-author-name a:hover { color: var(--red); }
.article-author-name a { color: inherit; }
.article-meta-line { font-size: 12.5px; color: var(--grey); }

/* Grille sommaire + contenu */
/* Le texte occupe la colonne de gauche, le sommaire la marge de droite :
   l'article garde ainsi le bord gauche du conteneur, comme le reste du site. */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 56px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 72px;
}
.article-aside {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.article-toc { border-left: 1px solid var(--rule); }
.article-toc-title {
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0 0 12px 16px;
}
.article-toc ol { list-style: none; }
.article-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.article-toc a:hover { color: var(--red); }
.article-toc a.is-active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--red);
}
.article-toc-num {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey);
  padding-top: 2px;
}
.article-toc a.is-active .article-toc-num { color: var(--red); }

.article-aside-cta {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
}
.article-aside-cta-title {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}
.article-aside-cta-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}

.article-toc-mobile { display: none; }

/* width:100% borne la colonne à sa piste : sans ça, un tableau large
   (en-têtes en nowrap) étire la colonne et déborde l'écran sur mobile. */
.article-main { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; max-width: 720px; }

/* Corps de l'article */
.blog-article-content {
  font-size: 17.5px;
  line-height: 1.78;
  color: #2b2b31;
  counter-reset: article-h2;
}
.blog-article-content > p:first-of-type {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}
.blog-article-content h2 {
  counter-increment: article-h2;
  font-size: clamp(23px, 2.7vw, 30px);
  line-height: 1.22;
  letter-spacing: -.3px;
  color: var(--ink);
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 90px;
}
.blog-article-content h2::before {
  content: counter(article-h2, decimal-leading-zero);
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 8px;
}
.blog-article-content h3 {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink);
  margin: 36px 0 12px;
  scroll-margin-top: 90px;
}
.blog-article-content p { margin: 0 0 24px; }
.blog-article-content strong { color: var(--ink); font-weight: 700; }
.blog-article-content ul,
.blog-article-content ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.blog-article-content li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
.blog-article-content ul > li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.blog-article-content ol { counter-reset: article-ol; }
.blog-article-content ol > li { counter-increment: article-ol; }
.blog-article-content ol > li::before {
  content: counter(article-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}
.blog-article-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255,84,51,.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.blog-article-content a:hover { color: var(--red); text-decoration-color: var(--red); }
.blog-article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 32px 0; }
.blog-article-content figure { margin: 32px 0; }
.blog-article-content figcaption {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin-top: 10px;
}
.blog-article-content blockquote {
  border-left: 3px solid var(--red);
  background: var(--tint);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  color: #3b3b42;
}
.blog-article-content blockquote p:last-child { margin-bottom: 0; }
.blog-article-content hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }
.blog-article-content code {
  background: var(--tint);
  border: 1px solid var(--rule);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 14px;
}
.blog-article-content pre {
  background: #1a1a1a;
  color: #eee;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 32px 0;
}
.blog-article-content pre code { background: none; border: 0; padding: 0; color: inherit; }

/* Encadré « L'essentiel » */
.article-key-points {
  background: var(--tint);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px 8px;
  margin: 0 0 40px;
}
.article-key-points-title {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.blog-article-content .article-key-points-list { margin-bottom: 16px; }
.blog-article-content .article-key-points-list li { font-size: 16px; line-height: 1.65; }

/* Tableaux */
.article-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.article-table-wrap:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.blog-article-content th,
.blog-article-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.blog-article-content th {
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.blog-article-content tbody tr:nth-child(even) { background: #fafafb; }
.blog-article-content tbody tr:last-child td { border-bottom: 0; }
.blog-article-content td:first-child { font-weight: 600; color: var(--ink); }

/* Partage */
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.article-share > span { color: var(--grey); font-weight: 600; }
.article-share a,
.article-share-copy {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 7px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink-soft);
  background: none;
  cursor: pointer;
}
.article-share a:hover,
.article-share-copy:hover { border-color: var(--red); color: var(--red); }

/* Signature */
.article-author {
  display: flex;
  gap: 18px;
  margin-top: 48px;
  padding: 24px;
  background: var(--tint);
  border-radius: 8px;
}
.article-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--black);
  padding: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.article-author-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.article-author-bio { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 8px; }
.article-author-link { display: block; width: fit-content; font-size: 13px; font-weight: 600; color: var(--red); }
.article-author-link + .article-author-link { margin-top: 6px; }

/* Appel à l'action de fin */
.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 28px;
  background: var(--dark);
  border-radius: 8px;
  color: #fff;
}
.article-cta-title {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.article-cta-text { font-size: 14px; color: rgba(255,255,255,.6); }

.article-related { margin-top: 64px; }
/* La colonne de texte n'accueille que deux cartes de front : un nombre impair
   laisserait une carte orpheline, on lui fait occuper toute la largeur. */
.article-related .blog-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.article-related-title {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .article-aside { display: none; }
  .article-main { grid-column: 1; }
  .article-main { max-width: 720px; margin: 0 auto; }
  .article-toc-mobile {
    display: block;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 36px;
    background: var(--tint);
  }
  .article-toc-mobile summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    list-style: none;
  }
  .article-toc-mobile summary::-webkit-details-marker { display: none; }
  .article-toc-mobile summary::after { content: ' ▾'; color: var(--red); }
  .article-toc-mobile[open] summary::after { content: ' ▴'; }
  .article-toc-mobile ol { list-style: none; margin-top: 12px; }
  .article-toc-mobile a {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--ink-soft);
  }
}

@media (max-width: 640px) {
  .article-hero { padding: 84px 0 36px; }
  .blog-article-content { font-size: 16.5px; }
  .blog-article-content > p:first-of-type { font-size: 17.5px; }
  .article-key-points { padding: 20px 20px 4px; }
  .article-cta { padding: 24px 20px; }
  .article-author { flex-direction: column; gap: 14px; }
}

/* ─── Blog : page auteur ────────────────────────────────────────────────── */
.author-hero,
.author-body {
  --ink:        #1d1d20;
  --ink-soft:   #52525b;
  --rule:       #e6e6ea;
  --tint:       #f6f6f8;
}
.author-hero {
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
  padding: 100px 0 44px;
}
.author-hero-inner { max-width: 720px; }
.author-id { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.author-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--black);
  padding: 3px;
  object-fit: cover;
  flex-shrink: 0;
}
.author-id .label-eyebrow { margin-bottom: 6px; }
.author-name {
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.5px;
  color: var(--ink);
  margin: 0 0 6px;
}
.author-role { font-size: 15px; color: var(--grey); font-weight: 600; }
.author-lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.author-links { display: flex; flex-wrap: wrap; gap: 8px; }
.author-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
}
.author-links a:hover { border-color: var(--red); color: var(--red); }

.author-body { padding: 48px 24px 80px; }
.author-section { max-width: 720px; margin-bottom: 44px; }
.author-section:last-child { max-width: none; margin-bottom: 0; }
.author-section h2 { font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.author-section p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.author-section p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 84, 51, .45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.author-section p a:hover { color: var(--red); }
.author-topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.author-topics li {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--tint);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 5px 10px;
}
.author-method ul { list-style: none; display: grid; gap: 12px; }
.author-method li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 16px;
  border-left: 3px solid var(--red);
}
.author-method li strong { color: var(--ink); }

@media (max-width: 640px) {
  .author-hero { padding: 84px 0 36px; }
  .author-id { gap: 16px; }
  .author-photo { width: 84px; height: 84px; }
}

/* ─── Onboarding client ─────────────────────────────────────────────────── */
.ob-wrap { margin-bottom: 28px; }
.is-hidden { display: none !important; }

.ob-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f0f7ee;
  border: 1px solid #c9e0c0;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 20px;
}
.ob-banner strong { font-size: 15px; color: #3d6b30; }
.ob-banner p { font-size: 13px; color: #4a7a3c; margin-top: 2px; }

.ob-progress-card { margin-bottom: 24px; padding: 18px 22px; }
.ob-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ob-progress-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--grey);
}
.ob-progress-value { font-size: 18px; font-weight: 700; color: var(--black); }
.ob-progress-value span { font-size: 12px; font-weight: 400; color: var(--grey); margin-left: 6px; }
.ob-progress-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
}
.ob-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 999px;
  transition: width .35s ease;
}

/* Accordéon d'étapes */
.ob-etape {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.ob-etape-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
}
.ob-etape-head:hover { background: #fafafa; }
.ob-etape-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: transparent;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.ob-etape-check.is-done { background: var(--green); border-color: var(--green); color: #fff; }
.ob-etape-title { flex: 1; font-size: 15px; font-weight: 600; color: var(--black); }
.ob-etape-count { font-size: 12px; color: var(--grey); font-family: 'Roboto', sans-serif; }
.ob-etape-arrow { color: var(--grey); font-size: 12px; transition: transform .2s; }
.ob-etape.is-open .ob-etape-arrow { transform: rotate(180deg); }

.ob-etape-body { display: none; padding: 4px 20px 20px; }
.ob-etape.is-open .ob-etape-body { display: block; }
.ob-etape-desc { font-size: 13px; color: var(--grey); margin-bottom: 16px; }

/* Blocs */
.ob-bloc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.ob-bloc-joul { background: var(--bg); border-style: dashed; }
.ob-bloc-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.ob-bloc-consigne { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 12px; }
.ob-hint { font-size: 12px; color: var(--grey); margin-top: 8px; }

/* Choix des régies */
.ob-regie-choices { display: flex; gap: 10px; flex-wrap: wrap; }
.ob-regie {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: border-color .15s, background .15s;
}
.ob-regie:hover { border-color: var(--red); }
.ob-regie.is-on { border-color: var(--red); background: #fff0ee; }

/* ID partenaire Meta */
.ob-partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 14px;
}
.ob-partner-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--grey);
  margin-bottom: 2px;
}
.ob-partner code, .ob-copyable {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  user-select: all;
}
.ob-copy { background: var(--white); border: 1px solid var(--border); color: #555; }

/* Tâches */
.ob-taches { list-style: none; }
.ob-tache { padding: 7px 0; border-bottom: 1px solid #f2f2f2; }
.ob-tache:last-child { border-bottom: none; }
.ob-tache label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ob-tache.is-joul label { cursor: default; }
.ob-tache input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.ob-tache-label { font-size: 14px; line-height: 1.5; }
.ob-tache.is-done .ob-tache-label { color: var(--grey); text-decoration: line-through; }
.ob-optionnel, .ob-tag-joul {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.ob-optionnel { background: var(--bg); color: var(--grey); border: 1px solid var(--border); }
.ob-tag-joul  { background: #eef3ff; color: var(--blue); border: 1px solid #c9d8ff; }
.ob-note {
  font-size: 12px;
  color: #555;
  background: #fff7f0;
  border-left: 2px solid var(--orange);
  padding: 8px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 6px 0 0 26px;
}

/* Champs */
.ob-champ { margin-top: 16px; position: relative; }
.ob-radios { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  transition: border-color .15s, background .15s;
}
.ob-radio:hover { border-color: var(--red); }
.ob-radio.is-on { border-color: var(--red); background: #fff0ee; }

.ob-urls { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ob-url-row { display: flex; gap: 8px; width: 100%; }
.ob-url-del {
  flex-shrink: 0;
  width: 36px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  color: var(--grey);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.ob-url-del:hover { color: var(--red); border-color: var(--red); }
.ob-url-add {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 13px;
  cursor: pointer;
  padding: 2px 0;
}
.ob-url-add:hover { color: var(--red); }

.ob-saved, .ob-erreur {
  display: inline-block;
  font-size: 12px;
  margin-top: 6px;
  opacity: 0;
  transition: opacity .25s;
}
.ob-saved { color: var(--green); }
.ob-erreur { color: var(--red); }
.ob-saved.is-on, .ob-erreur.is-on { opacity: 1; }

.ob-callout {
  background: #fff7f0;
  border: 1px solid #ffdfc9;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
}
.ob-callout strong { font-size: 14px; display: block; margin-bottom: 4px; }
.ob-callout p { font-size: 13px; color: #555; margin-bottom: 12px; }

.ob-doc-link { display: inline-block; font-size: 13px; margin-top: 10px; }
.ob-call { margin-top: 14px; }

.ob-drive {
  font-size: 13px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 4px;
}

/* Bloc contact permanent */
.ob-contact { padding: 20px 24px; }
.ob-contact-title {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--grey);
  margin-bottom: 14px;
}
.ob-contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-contact-links .btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: #555;
  text-decoration: none;
}
.ob-contact-links .btn-primary { background: var(--red); border-color: var(--red); color: #fff; }

/* ─── Onboarding admin ──────────────────────────────────────────────────── */
.ob-mini-bar {
  height: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.ob-mini-fill { height: 100%; background: var(--red); border-radius: 999px; }

.ob-admin-tache { padding: 6px 0; border-bottom: 1px solid #f4f4f4; }
.ob-admin-tache:last-child { border-bottom: none; }
.ob-admin-tache-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.ob-admin-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.ob-admin-dot.is-done { background: var(--green); border-color: var(--green); }
.ob-admin-note { display: flex; gap: 6px; margin: 6px 0 0 17px; }
.ob-admin-note .form-control { font-size: 12px; padding: 6px 10px; }

@media (max-width: 720px) {
  .ob-etape-head { padding: 14px 16px; gap: 10px; }
  .ob-etape-body { padding: 4px 16px 16px; }
  .ob-regie-choices, .ob-radios { flex-direction: column; align-items: stretch; }
  .ob-admin-note { flex-direction: column; margin-left: 0; }
}
