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

:root {
  --color-bg:        #fafaf9;
  --color-surface:   #ffffff;
  --color-border:    #e8e5e0;
  --color-text:      #1a1917;
  --color-text-muted:#6b6760;
  --color-accent:    #1e5a5a;
  --color-accent-h:  #145050;
  --color-accent-lt: #e6f2f2;
  --color-warning:   #92400e;
  --color-warning-bg:#fef3c7;
  --color-error:     #991b1b;
  --color-error-bg:  #fee2e2;
  --color-success:   #145050;
  --color-success-bg:#e0f0f0;
  --color-danger:    #dc2626;
  --color-danger-h:  #b91c1c;
  --radius:          8px;
  --radius-lg:       12px;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:       0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:       0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
}

/* ── Brand name bicolor ────────────────────────────────────────────────────── */
.brand-name { font-weight: 700; text-decoration: none; letter-spacing: -.5px; }
.brand-name .p1 { color: #14283c; }
.brand-name .p2 { color: #1e5a5a; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

p { text-align: justify; }
.section-sub, .pricing-reassurance, .pricing-note,
.cta-final p, .auth-alt, .pricing-card p { text-align: center; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Container ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-h); border-color: var(--color-accent-h); }

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

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-border); }

.btn-danger {
  background: var(--color-danger);
  color: #fff;
  border-color: var(--color-danger);
}
.btn-danger:hover { background: var(--color-danger-h); border-color: var(--color-danger-h); }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,249,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo picture { display: flex; align-items: center; }
.site-logo { height: 64px !important; width: auto !important; max-width: none; display: block; }
.logo-brand { font-size: 22px; font-weight: 700; letter-spacing: -.5px; line-height: 1; }
.logo-brand .p1 { color: var(--color-text); }
.logo-brand .p2 { color: var(--color-accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.site-nav a:hover { color: var(--color-text); text-decoration: none; }

.btn-nav {
  font-size: 14px;
  padding: 7px 16px;
}
.site-nav .btn-nav.btn-primary {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
}
.site-nav .btn-nav.btn-primary:hover {
  background: #f0f0ef;
  border-color: #f0f0ef;
}

/* ── Hamburger menu ────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.nav-hamburger:hover { background: rgba(0,0,0,0.05); }
.ham-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.is-open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(250,250,249,.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 20px 20px;
  flex-direction: column;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--color-text); }
.nav-mobile .nav-mobile-cta {
  margin-top: 12px;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  padding: 14px;
  font-weight: 600;
  border-bottom: none;
}
.nav-mobile .nav-mobile-cta:hover { opacity: 0.9; color: #fff; }

/* ── Flash messages ────────────────────────────────────────────────────────── */
.flash-container {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  padding: 0 16px;
}

.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.flash--info    { background: #e0f2fe; color: #0c4a6e; }
.flash--success { background: var(--color-success-bg); color: var(--color-success); }
.flash--warning { background: var(--color-warning-bg); color: var(--color-warning); }
.flash--error   { background: var(--color-error-bg);   color: var(--color-error); }
.flash--danger  { background: var(--color-error-bg);   color: var(--color-error); }

/* ── Alert blocks ──────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert--error   { background: var(--color-error-bg);   color: var(--color-error); }
.alert--warning { background: var(--color-warning-bg); color: var(--color-warning); }
.alert--success { background: var(--color-success-bg); color: var(--color-success); }
.alert--info    { background: #e0f2fe; color: #0c4a6e; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
/* ── Modale Démo ──────────────────────────────────────────────────────────── */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  animation: modal-in .15s ease;
}
.demo-modal[hidden] { display: none; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
body.modal-open { overflow: hidden; }
.demo-modal-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 64px rgba(0,0,0,.18);
  max-height: 90vh;
  overflow-y: auto;
}
.demo-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 18px; cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px 8px;
  line-height: 1;
}
.demo-modal-close:hover { color: var(--color-text); }
.demo-modal-title {
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--color-text);
}
.demo-modal-intro {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}
.demo-modes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.demo-mode {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}
.demo-mode-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.demo-mode-body {
  flex: 1;
}
.demo-mode-body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.demo-mode-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
}
.demo-mode-btn {
  font-size: 13px;
  padding: 7px 14px;
  display: inline-block;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  margin-top: 80px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { height: 24px !important; width: auto !important; max-width: none; display: block; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: 14px; color: var(--color-text-muted); }
.footer-nav a:hover { color: var(--color-text); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-inner > * { min-width: 0; }

.badge-tag {
  display: inline-block;
  background: var(--color-accent-lt);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero-text h1 em { font-style: italic; color: var(--color-accent); }

.hero-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  text-align: justify;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Hero screenshot (vraie copie d'écran agenda) */
.hero-visual {
  display: flex; justify-content: center; align-items: flex-start;
  min-width: 0; overflow: hidden;
  position: relative;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  cursor: default;
}

.hero-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Carrousel screenshots ────────────────────────────────────────────────── */
.showcase {
  padding: 80px 0;
  text-align: center;
}
.carousel-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.carousel-track {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }
.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-caption {
  padding: 20px 24px 24px;
  text-align: left;
  border-bottom: 2px solid var(--color-accent-lt);
  background: var(--color-bg);
}
.carousel-caption strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.carousel-caption p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.65;
  margin: 0;
}
.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: background .15s;
}
.carousel-btn:hover { background: var(--color-border); }
.carousel-btn-prev { left: -20px; }
.carousel-btn-next { right: -20px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .15s;
}
.carousel-dot.active { background: var(--color-accent); }

/* ── Practitioners strip ──────────────────────────────────────────────────── */
.practitioners {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
}
.practitioners-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.practitioners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.practitioners-list span {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.how-it-works { padding: 80px 0; text-align: center; }

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  padding: 24px;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

.step-arrow {
  font-size: 24px;
  color: var(--color-border);
  flex-shrink: 0;
  padding: 0 8px;
  margin-top: 38px;
}

/* ── Features grid ────────────────────────────────────────────────────────── */
.features {
  background: var(--color-surface);
  padding: 80px 0;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.features-grid--8 {
  grid-template-columns: repeat(4, 1fr);
}
.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

/* ── Testimonial ──────────────────────────────────────────────────────────── */
.testimonial {
  padding: 80px 0;
  text-align: center;
}
.testimonial blockquote {
  max-width: 660px;
  margin: 0 auto;
}
.testimonial blockquote p {
  font-size: 20px;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.testimonial cite {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: normal;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing {
  background: var(--color-surface);
  padding: 80px 0;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 24px;
}
.pricing-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card .btn-block { margin-top: auto; }
.pricing-card--featured {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-plan { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { margin-bottom: 24px; }
.price-amount { font-size: 42px; font-weight: 800; }
.price-unit   { font-size: 15px; color: var(--color-text-muted); }

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li { font-size: 14px; color: var(--color-text-muted); }
.pricing-features li::before { content: none; }

.pricing-reassurance {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
}
.pricing-note {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}
.pricing-note a { color: var(--color-accent); }

.visio-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 32px auto 28px;
}
.visio-compare-col {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.visio-compare-col--featured {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}
.visio-compare-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.visio-compare-badge {
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
}
.visio-compare-col p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Why PlumeRV (Fait différemment) ─────────────────────────────────────── */
.why-plumerv {
  background: var(--color-bg);
  padding: 80px 0;
}
.why-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}
.why-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}
.why-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.why-block p:last-child { margin-bottom: 0; }
.why-block--accent {
  border-left: 4px solid var(--color-accent);
  padding-left: 20px;
}
.why-block--accent p {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  font-style: italic;
}

/* ── CTA final ────────────────────────────────────────────────────────────── */
.cta-final {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #143c50 0%, #1e5a5a 100%);
  color: #fff;
}
.cta-final h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; }
.cta-final p  { font-size: 17px; opacity: .85; margin-bottom: 32px; }
.cta-final .btn-primary {
  background: #fff;
  color: var(--color-accent);
  border-color: #fff;
}
.cta-final .btn-primary:hover { background: #edf5f5; }

/* ── Auth pages ───────────────────────────────────────────────────────────── */
.page-auth main { min-height: calc(100vh - 60px - 80px); }

.auth-container {
  display: flex;
  justify-content: center;
  padding: 48px 16px;
}

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-sm);
}
.auth-card--wide { max-width: 640px; }

.auth-logo { margin-bottom: 24px; }
.auth-logo a {
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.5px;
}

.auth-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px; }
.auth-alt { font-size: 14px; color: var(--color-text-muted); text-align: center; margin-top: 20px; }
.auth-alt a { color: var(--color-accent); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color .15s;
  outline: none;
}
.form-group input:focus { border-color: var(--color-accent); background: #fff; }
.form-group input::placeholder { color: #b5b3af; }

.field-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 5px;
}

.input-readonly {
  background: var(--color-bg) !important;
  color: var(--color-text-muted);
  cursor: default;
  border-color: var(--color-border) !important;
}

.form-inline-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-inline-row input,
.form-inline-row .slug-input-group {
  flex: 1;
  min-width: 0;
}
.form-inline-label {
  width: 160px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
.field-hint--offset {
  margin-left: 172px;
}

.field-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  cursor: pointer;
  vertical-align: middle;
}
.field-tooltip-icon {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1;
}
.field-tooltip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #2d2b28;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  border-radius: 6px;
  padding: 7px 10px;
  width: 240px;
  white-space: normal;
  pointer-events: none;
  z-index: 100;
  text-transform: none;
  letter-spacing: 0;
}
.field-tooltip:hover .field-tooltip-text,
.field-tooltip:focus .field-tooltip-text,
.field-tooltip:focus-within .field-tooltip-text {
  display: block;
}

.form-section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  margin: 24px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}

.required { color: var(--color-accent); margin-left: 2px; }
.field-optional { font-size: 12px; font-weight: 400; color: var(--color-text-muted); margin-left: 4px; }

/* Password strength */
.password-strength {
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  height: 16px;
}
.password-strength.weak   { color: #dc2626; }
.password-strength.medium { color: #d97706; }
.password-strength.strong { color: var(--color-accent); }

/* Slug input group */
.slug-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  transition: border-color .15s;
  max-width: 340px;
}
.slug-input-group:focus-within { border-color: var(--color-accent); background: #fff; }
.slug-input-group input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 10px 14px;
}
.slug-input-group input:focus { border: none; }
.slug-suffix {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-text-muted);
  background: #f0eeeb;
  border-left: 1px solid var(--color-border);
  white-space: nowrap;
  font-weight: 500;
}

.slug-availability {
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  height: 16px;
}
.slug-availability.checking   { color: var(--color-text-muted); }
.slug-availability.available  { color: var(--color-accent); }
.slug-availability.unavailable { color: var(--color-danger); }

/* Plan toggle */
.plan-toggle { display: flex; gap: 12px; flex-wrap: wrap; }
.plan-option {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.plan-option input[type="radio"] { margin-top: 2px; accent-color: var(--color-accent); }
.plan-option:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-lt); }
.plan-option--featured { border-color: var(--color-accent); }
.plan-label { display: flex; flex-direction: column; gap: 2px; }
.plan-label strong { font-size: 15px; }
.plan-price { font-size: 13px; color: var(--color-text-muted); }

.plan-info {
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-accent-lt);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.plan-info-name { font-size: 15px; font-weight: 700; color: var(--color-accent); margin-bottom: 4px; }
.plan-info-note { font-size: 13px; color: var(--color-text-muted); text-align: left; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--color-border); margin: 28px 0; }

/* Danger zone */
.danger-zone {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 20px;
}
.danger-zone h4 { font-size: 14px; font-weight: 700; color: var(--color-danger); margin-bottom: 6px; }
.danger-zone p  { font-size: 13px; color: var(--color-text-muted); margin-bottom: 14px; }

/* Plan cards (choisir_plan.html) */
.plan-cards { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.plan-card {
  flex: 1;
  min-width: 200px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.plan-card--featured { border-color: var(--color-accent); }
.plan-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.plan-card-price { font-size: 30px; font-weight: 800; margin-bottom: 20px; }
.plan-card-price span { font-size: 14px; font-weight: 400; color: var(--color-text-muted); }

/* ── Creation page (SSE) ──────────────────────────────────────────────────── */
.page-creation main { min-height: calc(100vh - 60px - 80px); display: flex; align-items: center; }

.creation-container {
  display: flex;
  justify-content: center;
  padding: 48px 16px;
  width: 100%;
}
.creation-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-sm);
}
.creation-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.creation-sub   { font-size: 14px; color: var(--color-text-muted); margin-bottom: 28px; }

.steps-list { display: flex; flex-direction: column; gap: 10px; }

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #f9f8f7;
  border: 1px solid var(--color-border);
  font-size: 14px;
  transition: background .2s, border-color .2s;
}
.step-item--running { background: #e0f2fe; border-color: #7dd3fc; }
.step-item--ok      { background: var(--color-success-bg); border-color: #86efac; }
.step-item--error   { background: var(--color-error-bg);   border-color: #fca5a5; color: var(--color-error); }
.step-item--warning { background: var(--color-warning-bg); border-color: #fcd34d; }

.step-icon { font-size: 16px; width: 20px; flex-shrink: 0; text-align: center; display: flex; align-items: center; justify-content: center; }
.step-label { flex: 1; font-weight: 500; }
.step-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid #bae6fd; border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: step-spin .7s linear infinite;
}
@keyframes step-spin { to { transform: rotate(360deg); } }

.creation-error {
  margin-top: 20px;
  padding: 16px;
  background: var(--color-error-bg);
  border-radius: var(--radius);
  color: var(--color-error);
  font-size: 14px;
}
.creation-error a { color: var(--color-error); font-weight: 600; }

/* ── Generic info card (confirm email, pret, etc.) ────────────────────────── */
.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px;
}
.info-card .info-icon { font-size: 48px; margin-bottom: 20px; }
.info-card h1 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.info-card p  { font-size: 15px; color: var(--color-text-muted); max-width: 460px; line-height: 1.6; }
.info-card .btn { margin-top: 28px; }

/* ── essai_pret ───────────────────────────────────────────────────────────── */
.pret-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 24px;
}
.pret-card h1 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pret-card p  { font-size: 15px; color: var(--color-text-muted); margin-bottom: 28px; }
.pret-url {
  display: inline-block;
  background: var(--color-accent-lt);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 17px;
  padding: 12px 24px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  text-decoration: none;
  word-break: break-all;
}
.pret-url:hover { background: #cce8e8; text-decoration: none; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 840px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-screenshot { max-width: 100%; }
  .hero-sub { text-align: left; font-size: 16px; }

  .features-grid { grid-template-columns: 1fr; }
  .features-grid--8 { grid-template-columns: repeat(2, 1fr); }

  .carousel-btn-prev { left: -12px; }
  .carousel-btn-next { right: -12px; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .steps { flex-direction: column; gap: 0; }
  .step-arrow { transform: rotate(90deg); }

  .site-nav a { display: none; }
  .nav-hamburger { display: flex; }

  .auth-card, .auth-card--wide { padding: 28px 20px; }

  .plan-toggle { flex-direction: column; }
  .plan-cards  { flex-direction: column; }

  .footer-inner { justify-content: center; text-align: center; }

  .why-blocks { padding: 0 8px; }

  .practitioners-list { gap: 8px; }
}

.btn-group-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.btn-group-row > * { flex: 1; }

@media (max-width: 600px) {
  .form-inline-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .form-inline-label { width: auto; }
  .field-hint--offset { margin-left: 0; }
  .btn-group-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .how-it-works, .features, .showcase, .testimonial, .pricing, .cta-final, .why-plumerv { padding: 48px 0; }
  .section-sub { margin-bottom: 24px; }
  .site-nav { gap: 8px; }
  .btn-lg { font-size: 14px; padding: 10px 16px; }
  .hero-cta { gap: 8px; }
  .hero-sub { font-size: 15px; }
  .pricing-grid { max-width: 100%; }
  .visio-compare { grid-template-columns: 1fr; }
  .features-grid--8 { grid-template-columns: 1fr; }
  .carousel-btn { width: 32px; height: 32px; font-size: 14px; }
  .carousel-btn-prev { left: -4px; }
  .carousel-btn-next { right: -4px; }
  .carousel-slide img { height: 220px; }
  .why-block h3 { font-size: 17px; }
  .why-block p { font-size: 15px; }
}
