/* ═══════════════════════════════════════════════════════════
   SOUTENA PLAN — Landing Page v2
   Thème éditorial — couleurs alignées sur le frontend Angular
   ═══════════════════════════════════════════════════════════ */

/* ── Custom properties ──────────────────────────────────── */
:root {
  /* Fond et surfaces — identiques au frontend Angular */
  --bg:           #f4f6f9;
  --bg-alt:       #eaecf2;
  --bg-surface:   #ffffff;
  --bg-dark:      #171a21;

  /* Encre — identique au frontend Angular */
  --ink:          #171a21;
  --ink-2:        #586173;
  --muted:        #9098a6;
  --muted-2:      #b8bec9;

  /* Couleur primaire — sky-600, identique à PrimeNG Aura sky */
  --accent:       #0284c7;
  --accent-hover: #0369a1;
  --accent-dim:   rgba(2, 132, 199, 0.10);
  --accent-soft:  #e8f4fc;

  /* Couleur éditoriale pour les grands chiffres 01–06 */
  --editorial:    #7a5af0;

  /* Bordures — reprises du frontend Angular */
  --border:       #e9ecf1;
  --border-med:   #d0d5dd;

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Constantes layout */
  --nav-h: 64px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.10);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 18px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img, svg { display: block; }
input, textarea, button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
}

/* Léger grain — texture subtile */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/></filter><rect width='256' height='256' filter='url(%23g)'/></svg>");
}

/* ── Containers ─────────────────────────────────────────── */
.nav__inner,
.hero__inner,
.features__inner,
.workflow__inner,
.roles__inner,
.contact__inner,
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.28);
}
.btn--outline {
  background: var(--bg-surface);
  color: var(--ink);
  border-color: var(--border-med);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn--lg   { padding: 14px 32px; font-size: 0.9rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Typo sections ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label--dim { color: rgba(255, 255, 255, 0.38); }

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-title--cream { color: #f4f6f9; }

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 520px;
}
.section-header { margin-bottom: 4rem; }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(244, 246, 249, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo — agrandi pour être lisible */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
}
.nav__logo:hover .nav__logo-mark {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 4px;
}
.nav__link {
  padding: 7px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-sep { font-size: 0.75rem; color: var(--muted-2); }
.lang-btn {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-btn.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.lang-btn:hover:not(.active) { color: var(--ink-2); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.28s ease;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.nav__mobile-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav__mobile .btn { margin: 16px 24px 24px; width: calc(100% - 48px); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__bg-split {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 72px;
  align-items: center;
}

.hero__left { display: flex; flex-direction: column; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  animation: slideInLeft 0.7s var(--ease) 0.1s both;
}
.eyebrow-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
  border-radius: 1px;
}
.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
  animation: slideInLeft 0.7s var(--ease) 0.2s both;
}
.hero__heading-pre {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.3;
}
.hero__heading-main {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero__rule {
  width: 0;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 2px;
  animation: ruleExpand 0.5s var(--ease) 0.4s both;
}
.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--ink-2);
  margin-bottom: 16px;
  animation: slideInLeft 0.7s var(--ease) 0.35s both;
}
.hero__desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 36px;
  animation: slideInLeft 0.7s var(--ease) 0.45s both;
}
.hero__proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: slideInLeft 0.7s var(--ease) 0.50s both;
}
.hero__proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 11px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-hover);
  letter-spacing: 0.01em;
}
.hero__proof-chip svg { flex-shrink: 0; }

/* Chip "IA" — violet pour se distinguer du chip plagiat */
.hero__proof-chip--ai {
  background: rgba(122, 90, 240, 0.08);
  border-color: rgba(122, 90, 240, 0.22);
  color: #6040d0;
}
.hero__proof-chip--ai svg { stroke: #6040d0; }

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: slideInLeft 0.7s var(--ease) 0.60s both;
}

/* KPIs */
.hero__kpis {
  display: flex;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: slideInLeft 0.7s var(--ease) 0.65s both;
}
.hero__kpi { flex: 1; }
.hero__kpi:not(:first-child) { padding-left: 24px; }
.hero__kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__kpi span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero__kpi-sep {
  width: 1px;
  height: 36px;
  background: var(--border-med);
  flex-shrink: 0;
}

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInRight 0.8s var(--ease) 0.3s both;
}

/* ── Document card stack ─────────────────────────────────── */
.doc-stack {
  position: relative;
  width: 100%;
  max-width: 390px;
  padding: 20px 20px 28px 14px;
}
.doc--back-2 {
  position: absolute;
  inset: 24px -14px -16px 22px;
  background: #d0d6e2;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  transform: rotate(3.5deg);
  z-index: 0;
}
.doc--back-1 {
  position: absolute;
  inset: 12px -7px -8px 14px;
  background: #e2e6ef;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 12px;
  transform: rotate(1.8deg);
  z-index: 1;
}
.doc--main {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 10px 32px rgba(0,0,0,0.10),
    0 28px 64px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doc__dept {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc__badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16a06a;
  background: rgba(22, 160, 106, 0.10);
  border: 1px solid rgba(22, 160, 106, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
}
.doc__type {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.doc__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.35;
}
.doc__student {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.doc__divider { height: 1px; background: var(--border); }

.doc__progress { display: flex; align-items: center; }
.dp { display: flex; align-items: center; flex: 1; }
.dp--last { flex: 0; }
.dp__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--border-med);
  background: transparent;
  flex-shrink: 0;
}
.dp__line { flex: 1; height: 1.5px; background: var(--border); }
.dp--done .dp__dot  { background: var(--accent); border-color: var(--accent); }
.dp--done .dp__line { background: var(--accent); }
.dp--active .dp__dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.doc__meta { display: flex; gap: 12px; justify-content: space-between; }
.doc__meta-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}
.doc__meta-val { font-size: 0.7rem; font-weight: 700; color: var(--ink-2); }

/* ════════════════════════════════════════
   TICKER
════════════════════════════════════════ */
.ticker {
  background: var(--ink);
  overflow: hidden;
  padding: 13px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.38);
  animation: tickerMove 28s linear infinite;
}
.ticker__sep { color: #38bdf8; font-size: 1rem; }

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features { padding: 120px 0; background: var(--bg); }
.feat-list { border-bottom: 1px solid var(--border); }

.feat-row {
  display: grid;
  grid-template-columns: 72px 1fr 180px;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.feat-row::before {
  content: '';
  position: absolute;
  inset: 0 -40px;
  background: var(--bg-surface);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: -1;
  border-radius: var(--radius);
}
.feat-row:hover::before { opacity: 1; }

.feat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--editorial);
  line-height: 1;
  padding-top: 4px;
  user-select: none;
  opacity: 0.55;
}

/* Lignes surlignées — fonctionnalités différenciantes */
.feat-row--highlight {
  background: linear-gradient(90deg, var(--accent-soft) 0%, transparent 60%);
  border-top-color: var(--accent-dim);
}
.feat-row--highlight .feat-num {
  color: var(--accent);
  opacity: 0.7;
}
.feat-row--highlight .feat-title {
  color: var(--accent-hover);
}
.feat-row--highlight::before {
  background: color-mix(in srgb, var(--accent-soft) 60%, white);
}
.feat-row--highlight .feat-tags span {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: rgba(2, 132, 199, 0.3);
  font-weight: 800;
}
.feat-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feat-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
}
.feat-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}
.feat-tags span {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  padding: 5px 12px;
  border-radius: 100px;
  width: fit-content;
}

/* ════════════════════════════════════════
   WORKFLOW
════════════════════════════════════════ */
.workflow {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.workflow__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.workflow__inner .section-header { margin-bottom: 0; }

.wf-list { display: flex; flex-direction: column; }
.wf-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}
.wf-step__track {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wf-step__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.22s, box-shadow 0.22s;
}
.wf-step:hover .wf-step__dot {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}
.wf-step__dot--1 { border-color: #9098a6; color: #9098a6; }
.wf-step__dot--1::before { content: '1'; }
.wf-step__dot--2 { border-color: #0284c7; color: #0284c7; }
.wf-step__dot--2::before { content: '2'; }
.wf-step__dot--3 { border-color: #e08a12; color: #e08a12; }
.wf-step__dot--3::before { content: '3'; }
.wf-step__dot--4 { border-color: #16a06a; color: #16a06a; }
.wf-step__dot--4::before { content: '4'; }
.wf-step__dot--5 { border-color: #7a5af0; color: #7a5af0; }
.wf-step__dot--5::before { content: '5'; }
.wf-step__dot--6 { border-color: #171a21; color: #171a21; }
.wf-step__dot--6::before { content: '6'; }

.wf-step__line {
  width: 2px;
  flex: 1;
  min-height: 36px;
  background: var(--border-med);
  border-radius: 1px;
}
.wf-step--last .wf-step__line { display: none; }
.wf-step__content { padding: 8px 0 32px; }
.wf-step--last .wf-step__content { padding-bottom: 0; }
.wf-step__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 5px;
}
.wf-step__desc {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════
   ROLES
════════════════════════════════════════ */
.roles { padding: 120px 0; background: var(--bg); }
.roles__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;
}
.role-card {
  background: #fff;
  padding: 32px 26px;
  border-left: 3px solid var(--c, var(--accent));
  transition: background 0.22s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-card:hover { background: var(--accent-soft); }
.role-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}
.role-card__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.78;
  flex: 1;
}
.role-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.role-card__tags span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
  background: color-mix(in srgb, var(--c, var(--accent)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 25%, transparent);
  padding: 3px 9px;
  border-radius: 100px;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact {
  padding: 120px 0;
  background: var(--bg-dark);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}
.contact__left { padding-top: 6px; }
.contact__desc {
  font-size: 1.05rem;
  color: rgba(244, 246, 249, 0.5);
  line-height: 1.85;
  margin-bottom: 40px;
}
.contact__promises {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.contact__promises li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: rgba(244, 246, 249, 0.65);
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 246, 249, 0.08);
}
.contact__promises li svg { color: #38bdf8; flex-shrink: 0; }

.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.has-error .form-error  { display: block; }
.form-group.has-error .form-input  { border-color: #ef4444; }
.form-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.42);
}
.form-input {
  background: rgba(244, 246, 249, 0.05);
  border: 1px solid rgba(244, 246, 249, 0.14);
  border-radius: 6px;
  padding: 13px 16px;
  color: #f4f6f9;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: rgba(244, 246, 249, 0.22); }
.form-input:focus {
  border-color: #38bdf8;
  background: rgba(244, 246, 249, 0.09);
}
.form-textarea { resize: vertical; min-height: 96px; }

/* Champ WhatsApp avec préfixe icône */
.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.form-input-wrap .form-input {
  padding-left: 44px;
}
.form-input-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  pointer-events: none;
  color: #25D366;
}
.form-error { font-size: 0.72rem; font-weight: 700; color: #f87171; display: none; }

.btn--submit {
  position: relative;
  overflow: hidden;
  justify-content: center;
  margin-top: 4px;
}
.btn-icon { flex-shrink: 0; transition: opacity 0.15s; }
.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.22);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn--submit.loading .btn-text,
.btn--submit.loading .btn-icon  { opacity: 0; }
.btn--submit.loading .btn-loader { display: block; }

.contact__success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}
.contact__success.visible { display: flex; }
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.contact__success h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2.2rem;
  color: #f4f6f9;
}
.contact__success p {
  font-size: 0.88rem;
  color: rgba(244, 246, 249, 0.5);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  padding: 32px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
}
.footer__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.footer__sub {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.footer__copy { font-size: 0.78rem; color: var(--muted); }

/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ruleExpand {
  from { width: 0; }
  to   { width: 56px; }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .roles__grid     { grid-template-columns: repeat(2, 1fr); }
  .workflow__inner { grid-template-columns: 1fr; gap: 52px; }
  .feat-row        { grid-template-columns: 64px 1fr; gap: 28px; }
  .feat-tags       { display: none; }
  .contact__inner  { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__end .btn { display: none; }
  .nav__burger { display: flex; flex-shrink: 0; }

  .nav__inner { gap: 0.6rem; overflow: hidden; }
  .nav__logo { gap: 8px; min-width: 0; }
  .nav__logo-mark { width: 34px; height: 34px; }
  .nav__logo-mark svg { width: 18px; height: 18px; }
  .nav__logo-name { font-size: 1.1rem; }
  .nav__logo-sub  { display: none; }
  .nav__end { gap: 8px; flex-shrink: 0; }
  .lang-btn { padding: 3px 6px; font-size: 0.62rem; }

  .hero__bg-split { display: none; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 72px;
    gap: 56px;
  }
  .hero__heading-main { font-size: clamp(3.6rem, 13vw, 5.5rem); }
  .hero__right { order: -1; }
  .doc-stack   { max-width: 320px; margin: 0 auto; }

  .features, .workflow, .roles, .contact { padding: 80px 0; }
  .feat-row {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .feat-row::before { inset: 0 -20px; }
  .roles__grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .footer__inner { justify-content: center; text-align: center; }

  .nav__inner,
  .hero__inner,
  .features__inner,
  .workflow__inner,
  .roles__inner,
  .contact__inner,
  .footer__inner { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .hero__kpis    { flex-wrap: wrap; gap: 20px; }
  .hero__kpi-sep { display: none; }
  .hero__kpi     { flex: 0 0 45%; }
}
