/* form.ipatlas.fr — Landing · fond blanc, densité pro, animations sobres */

:root {
  --white: #ffffff;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b7280;
  --green: #0f6e56;
  --green-hover: #0c5c47;
  --green-soft: #ebf4f1;
  --green-line: #c5e0d6;
  --blue: #378add;
  --accent: #c45c2a;
  --surface-muted: #f8faf9;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --icon-stroke: 1.25;
  --section-pad: 60px;
  --section-pad-tarif: clamp(72px, 10vw, 100px);
  --section-pad-light: 40px;
  --section-header-gap: 32px;
  --btn-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 1px rgba(0, 0, 0, 0.06);
  --btn-shadow-pressed:
    inset 0 1px 2px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--green);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* —— Typographie —— */
.text-hero {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.text-h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.text-h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.text-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.text-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.text-small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}
.panel-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.icon-svg--sm {
  width: 14px;
  height: 14px;
  stroke-width: 1.15;
}

/* —— Navigation —— */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 52px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled {
  box-shadow: none;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}
.navbar-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand .form-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.navbar-brand .ipa-atlas {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.navbar-brand .ipa-atlas em {
  font-style: italic;
  font-weight: 600;
  color: var(--green);
}
.navbar-links {
  display: flex;
  gap: 8px;
  margin: 0 auto;
}
.navbar-links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 4px;
}
.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.2s var(--ease-out);
}
.navbar-links a:hover {
  color: var(--green);
}
.navbar-links a:hover::after {
  width: 100%;
}
.navbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn-nav-login {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  transition: background 0.15s ease;
}
.btn-nav-login:hover {
  background: var(--green-soft);
  border-color: var(--green-line);
}
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #138564 0%, var(--green) 55%, #0d634c 100%);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #0a4d3c;
  box-shadow: var(--btn-shadow);
  transition:
    background 0.15s ease,
    transform 0.08s ease;
}
.btn-nav-cta:hover {
  background: linear-gradient(180deg, #0f6e56 0%, var(--green-hover) 100%);
}
.btn-nav-cta:active {
  transform: translateY(1px);
  box-shadow: var(--btn-shadow-pressed);
}
.nav-cta-label--short {
  display: none;
}
.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.navbar-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.navbar-mobile {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 16px;
  flex-direction: column;
  gap: 4px;
}
.navbar-mobile.is-open {
  display: flex;
}
.navbar-mobile a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.navbar-mobile a:hover {
  background: var(--surface-muted);
}

/* —— Boutons (conservés) —— */
.btn-primary,
.btn-ghost,
.btn-plan {
  font-family: var(--font);
  letter-spacing: 0.01em;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.08s ease;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #138564 0%, var(--green) 55%, #0d634c 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #0a4d3c;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #0f6e56 0%, var(--green-hover) 100%);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: var(--btn-shadow-pressed);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 1px rgba(0, 0, 0, 0.04);
}
.btn-ghost:hover {
  background: var(--green-soft);
  border-color: var(--green-line);
}
.btn-ghost:active {
  transform: translateY(1px);
  box-shadow: var(--btn-shadow-pressed);
}
.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
  min-height: 44px;
}

/* —— Hero —— */
.hero {
  min-height: auto;
  margin-top: 52px;
  padding: 32px 24px 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 40px;
  align-items: start;
}
.hero-panel {
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-panel-chrome {
  display: none;
}
.hero-panel-body {
  padding: 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 20px;
  padding: 5px 10px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 999px;
}
.tag-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.hero-title {
  margin-bottom: 18px;
}
.hero-title em {
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}
.hero-subtitle {
  margin-bottom: 28px;
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.price-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 4px;
  margin-bottom: 20px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.hero-trust-sep {
  color: var(--border);
  font-weight: 300;
  user-select: none;
}
.hero-trust-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-trust-lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-privacy-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 32rem;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hero-canvas {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.hero-canvas-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: none;
  background: transparent;
  margin-bottom: 0;
}
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border-light);
  min-height: 360px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.hero-stat-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.stat-row {
  flex: 1;
  text-align: center;
  padding: 0 6px;
  border-right: 1px solid var(--border-light);
}
.stat-row:last-child {
  border-right: none;
}
.stat-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
}
.stat-lbl {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* —— Bande citation —— */
.band {
  background: var(--green-soft);
  color: var(--text-secondary);
  text-align: center;
  padding: 32px 24px;
  font-size: 17px;
  line-height: 1.6;
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
}

/* —— Sections —— */
.section {
  padding: var(--section-pad) 0;
}
#tarif.section {
  padding-top: var(--section-pad-tarif);
  padding-bottom: var(--section-pad-tarif);
}
.section-sm {
  padding: var(--section-pad-light) 0;
}
.section.workspace-strip:not(#arguments):not(#catalogue):not(#profils):not(#tarif) {
  padding-top: var(--section-pad-light);
  padding-bottom: var(--section-pad-light);
}
.workspace-strip {
  background: var(--white);
}
.section-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.section-panel-head {
  padding: 0 0 12px;
  background: transparent;
  border: none;
  margin-bottom: 8px;
}
.section-panel-head .text-small {
  display: none;
}
.section-panel-body {
  padding: 0;
}
.section-header {
  margin-bottom: var(--section-header-gap);
}
.section-header .text-h2 {
  margin-top: 8px;
  margin-bottom: 12px;
  max-width: 100%;
}
.section-header--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.section-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 40rem;
}
.section-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-lead--tight {
  margin-top: 32px;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  color: var(--text-muted);
  padding: 20px 24px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section-lead--tight em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-secondary);
}

/* —— Pourquoi form —— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #ddd;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.feature-icon .icon-svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.2;
}
.feature-card .text-h3 {
  margin-bottom: 8px;
}

/* —— Démo CKD-EPI —— */
.section-demo {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.demo-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.demo-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}
.demo-win-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.demo-win-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.demo-win-tool {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.demo-win-body {
  padding: 24px;
}
.demo-field {
  margin-bottom: 14px;
}
.demo-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.demo-field-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  min-height: 1.4em;
}
.demo-field-value .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--green);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: demo-blink 1s step-end infinite;
}
@keyframes demo-blink {
  50% {
    opacity: 0;
  }
}
.demo-progress {
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  margin: 16px 0;
}
.demo-progress-bar {
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 0.8s var(--ease-out);
}
.demo-result {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin: 12px 0;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.demo-result.is-visible {
  opacity: 1;
  transform: none;
}
.demo-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff3e6;
  color: #b45309;
  border: 1px solid #fcd34d;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.demo-badge.is-visible {
  opacity: 1;
}
.demo-kdigo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.demo-kdigo.is-visible {
  opacity: 1;
}
.demo-kdigo span {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}
.demo-kdigo span.is-active {
  background: #fff3e6;
  border-color: #f59e0b;
  color: #b45309;
}
.demo-export {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.demo-export.is-visible {
  opacity: 1;
}
.demo-export svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.25;
}

/* —— Catalogue —— */
.catalogue-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}
.catalogue-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.catalogue-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr auto;
  gap: 12px 20px;
  align-items: baseline;
  padding: 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.catalogue-row:last-child {
  border-bottom: none;
}
.catalogue-row:hover {
  background: var(--surface-muted);
}
.catalogue-row:hover .catalogue-row-count {
  transform: translateX(2px);
}
.catalogue-row h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.catalogue-row-tools {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.catalogue-row-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease;
}
.pill-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: #faf0eb;
  border: 1px solid #e8c4b0;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.catalogue-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.catalogue-cta-hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* —— Profils —— */
.profils-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.profils-visual figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.profils-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.profils-visual figcaption {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--white);
  border-top: 1px solid var(--border);
}
.pro-block {
  margin-bottom: 32px;
}
.pro-block-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pro-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pro-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
}
.pro-chip:hover {
  box-shadow: var(--shadow-card-hover);
}
.pro-icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.pro-icon-wrap--lg {
  width: 40px;
  height: 40px;
}
.pro-icon-wrap .icon-svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.15;
}
.pro-spotlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pro-spotlight {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
}
.pro-spotlight:hover {
  box-shadow: var(--shadow-card-hover);
}
.pro-spotlight-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pro-detail {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.pro-spotlight-body {
  min-width: 0;
  flex: 1;
}

/* —— Différenciateur —— */
.section-dark {
  background: var(--surface-muted);
}
.section-dark .highlight-box {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  padding: 0;
  background: transparent;
  border: none;
}
.section-dark .highlight-box strong {
  color: var(--text-primary);
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* —— Tarifs (référence — conservé, aligné 8px / #E8E8E8) —— */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 24px;
  align-items: stretch;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.plan-card--featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-card-hover);
}
.plan-card--student {
  border-color: #c8daf0;
}
.plan-card-head {
  padding: 12px 16px;
  min-height: 44px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.plan-card--featured .plan-card-head {
  background: var(--green-soft);
  border-bottom-color: var(--green-line);
}
.plan-card-body {
  padding: 20px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  padding: 4px 8px;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: 4px;
}
.plan-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.plan-price {
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  line-height: 1;
  margin: 8px 0 8px;
  letter-spacing: -0.04em;
}
.plan-card--student .plan-price {
  color: var(--blue);
}
.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.plan-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.plan-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.plan-features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background-color: var(--green-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5.2' stroke='%230f6e56' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  border: 1px solid var(--green-line);
  border-radius: 4px;
}
.plan-card--student .plan-features li::before {
  background-color: #eef4fb;
  border-color: #c8daf0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5.2' stroke='%23378add' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 11px 16px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--green);
  margin-top: auto;
}
.btn-plan:hover {
  background: var(--green-soft);
}
.btn-plan--featured {
  background: linear-gradient(180deg, #138564 0%, var(--green) 55%, #0d634c 100%);
  color: #fff;
  border: 1px solid #0a4d3c;
  box-shadow: var(--btn-shadow);
}
.btn-plan--featured:hover {
  background: linear-gradient(180deg, #0f6e56 0%, var(--green-hover) 100%);
}
.btn-plan--student {
  color: var(--blue);
  border-color: #b8d4f0;
}
.btn-plan--student:hover {
  background: #eef4fb;
}
.plan-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 16px;
}
.plan-footer a {
  font-weight: 600;
}

/* —— Engagement qualité —— */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.col-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.col-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding: 0;
  background: transparent;
  border: none;
  text-transform: none;
  letter-spacing: -0.01em;
}
.col-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0;
}

/* —— Feuille de route HDS —— */
.coming-soon-section {
  padding: var(--section-pad-light) 24px;
}
.coming-soon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.coming-soon-head {
  padding: 14px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.coming-soon-body {
  padding: 24px 22px;
}
.coming-soon-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  padding: 4px 10px;
  border-radius: 999px;
}
.coming-soon-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 16px 0 12px;
}
.coming-soon-body > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.coming-soon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.coming-soon-tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
}
.coming-soon-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.coming-soon-included {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

/* —— Bandeau étudiant —— */
.student-band {
  background: var(--green-soft);
  border-top: 1px solid var(--green-line);
  padding: var(--section-pad-light) 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}
.student-band a {
  font-weight: 600;
  color: var(--green);
}

/* —— Footer —— */
.landing-footer {
  background: var(--white);
  color: var(--text-muted);
  padding: 48px 0 32px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.landing-footer strong {
  color: var(--text-primary);
  font-weight: 600;
}
.landing-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.landing-footer a:hover {
  color: var(--green);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0;
}
.footer-copy {
  font-size: 12px;
  margin-top: 16px;
  color: var(--text-muted);
}

/* —— Animations reveal —— */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.5s ease-out,
      transform 0.5s ease-out;
  }

  .js-ready .hero .reveal {
    transform: translateY(12px);
  }

  .js-ready .features-grid .reveal {
    transform: translateY(10px);
  }

  .js-ready .features-grid .reveal:nth-child(1) {
    transition-delay: 0ms;
  }
  .js-ready .features-grid .reveal:nth-child(2) {
    transition-delay: 80ms;
  }
  .js-ready .features-grid .reveal:nth-child(3) {
    transition-delay: 160ms;
  }
  .js-ready .features-grid .reveal:nth-child(4) {
    transition-delay: 240ms;
  }
  .js-ready .features-grid .reveal:nth-child(5) {
    transition-delay: 80ms;
  }
  .js-ready .features-grid .reveal:nth-child(6) {
    transition-delay: 160ms;
  }
  .js-ready .features-grid .reveal:nth-child(7) {
    transition-delay: 240ms;
  }
  .js-ready .features-grid .reveal:nth-child(8) {
    transition-delay: 320ms;
  }

  .js-ready .catalogue-row.reveal {
    transform: translateX(-8px);
  }

  .js-ready .plans-grid .reveal {
    transform: scale(0.98);
  }

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

  .js-ready .catalogue-row.reveal.visible,
  .js-ready .plans-grid .reveal.visible {
    transform: none;
  }
}

.reveal-delay-1 {
  transition-delay: 0.08s !important;
}
.reveal-delay-2 {
  transition-delay: 0.16s !important;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
  }
  .hero-canvas {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pro-spotlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding: 0 16px;
  }
  .navbar-links,
  .navbar-actions .btn-nav-login {
    display: none;
  }
  .navbar-toggle {
    display: inline-flex;
  }
  .nav-cta-label--long {
    display: none;
  }
  .nav-cta-label--short {
    display: inline;
  }
  .hero {
    padding: 40px 16px;
    margin-top: 52px;
  }
  .hero-trust-sep {
    display: none;
  }
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .profils-visual,
  .plans-grid,
  .cols-3 {
    grid-template-columns: 1fr;
  }
  .catalogue-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .section {
    padding: 40px 0;
  }
  #tarif.section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-sm,
  .section.workspace-strip:not(#arguments):not(#catalogue):not(#profils):not(#tarif),
  .coming-soon-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .coming-soon-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .student-band {
    padding: 24px 16px;
  }
  .band {
    padding: 32px 16px;
  }
  .demo-win-body {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.reduce-motion .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .demo-progress-bar {
    transition: none !important;
  }
}
