/* ==========================================================================
   STARGATE � Design System v2.0
   Direction artistique : Clean Startup, fond blanc + bleu electrique.
   Typographie : Inter � epaisse, arrondie, lisible. Style Google / Notion.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Inter+Tight:wght@700;800;900&display=swap');

:root {
  --white:     #FFFFFF;
  --off-white: #F7F8FA;
  --gray-50:   #F0F2F5;
  --gray-100:  #E4E7ED;
  --gray-200:  #CDD1DC;
  --gray-300:  #9DA5B8;
  --gray-400:  #6B7590;
  --gray-600:  #3D4560;
  --gray-800:  #1A2038;
  --ink:       #0D1224;

  --blue:      #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light:#EFF6FF;
  --blue-glow: rgba(37, 99, 235, 0.18);

  --violet:    #7C3AED;
  --violet-lt: #EDE9FE;

  --green:     #10B981;
  --green-lt:  #ECFDF5;

  --border:    rgba(13, 18, 36, 0.08);
  --border-md: rgba(13, 18, 36, 0.14);
  --shadow-sm: 0 1px 3px rgba(13,18,36,0.07), 0 1px 2px rgba(13,18,36,0.05);
  --shadow-md: 0 4px 16px rgba(13,18,36,0.09), 0 1px 4px rgba(13,18,36,0.06);
  --shadow-lg: 0 12px 40px rgba(13,18,36,0.12), 0 4px 12px rgba(13,18,36,0.07);
  --shadow-xl: 0 24px 64px rgba(13,18,36,0.14), 0 8px 24px rgba(13,18,36,0.08);

  --pad:       clamp(1.25rem, 4vw, 2.5rem);
  --section:   clamp(5rem, 10vw, 9rem);
  --max:       1240px;
  --radius-sm: 0.75rem;
  --radius:    1.25rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;

  --ease:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std:  cubic-bezier(0.4, 0, 0.2, 1);

  --sans:      'Inter', system-ui, -apple-system, sans-serif;
  --display:   'Inter Tight', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Typographie */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 7.5vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; }

em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
  background: var(--blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--gray-400);
  font-weight: 400;
  max-width: 50ch;
}

.quiet { color: var(--gray-300); font-size: 0.9375rem; }

.num {
  font-family: var(--sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

/* Structure */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; padding-block: var(--section); }

.rule {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,0.9) inset;
  max-width: calc(100vw - 2rem);
  transition: box-shadow 0.4s var(--ease-std);
}

.nav:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.9) inset;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark { width: 20px; height: 20px; flex: none; }
.brand-mark .ring { stroke: var(--blue); }
.brand-mark .dot { fill: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.3s var(--ease-std), background 0.3s var(--ease-std);
}

.nav-links a:hover { color: var(--ink); background: var(--gray-50); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { padding: 0.45rem 0.45rem 0.45rem 1rem; }
  .brand { border-right: 0; padding-right: 0; font-size: 0.8125rem; }
}

/* Boutons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease-std),
              background 0.3s var(--ease-std), border-color 0.3s var(--ease-std);
  background: transparent;
  color: var(--ink);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97) translateY(0); }

.btn-arrow {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(13, 18, 36, 0.07);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease-std);
  flex-shrink: 0;
}

.btn:hover .btn-arrow { transform: translate(3px, -3px) scale(1.08); }
.btn-arrow svg { width: 12px; height: 12px; stroke: currentColor; }

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 20px var(--blue-glow), 0 1px 3px rgba(0,0,0,0.1);
}
.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 8px 30px rgba(37,99,235,0.35), 0 2px 8px rgba(0,0,0,0.12);
}
.btn-blue .btn-arrow { background: rgba(255,255,255,0.22); }

.btn-ghost {
  background: var(--white);
  color: var(--gray-600);
  border-color: var(--border-md);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: var(--gray-50);
  color: var(--ink);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}
.btn-ghost .btn-arrow { background: var(--gray-100); }

/* Retrocompat */
.btn-gold { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 20px var(--blue-glow); }
.btn-gold:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-gold .btn-arrow { background: rgba(255,255,255,0.22); }

.btn-sm { padding: 0.55rem 0.55rem 0.55rem 1rem; font-size: 0.8125rem; }
.btn-sm .btn-arrow { width: 1.7rem; height: 1.7rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Hero */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(5rem, 10vh, 8rem);
  overflow: hidden;
  background: var(--white);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(124, 58, 237, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.hero > .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 { margin-block: 1.5rem 0; }
.hero h1 .line { display: block; }

.hero-aside {
  padding: 1.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease-std);
}

.hero-meta div:last-child { border-bottom: 0; }
.hero-meta div:hover { background: var(--blue-light); }
.hero-meta span:first-child { color: var(--gray-400); font-weight: 500; }
.hero-meta span:last-child { color: var(--ink); font-weight: 700; }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-foot span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  padding: 0.4rem 1.25rem 0.4rem 0;
  margin-right: 1.25rem;
  border-right: 1px solid var(--border);
}
.hero-foot span:last-child { border-right: 0; }
.hero-foot b { color: var(--blue); font-weight: 700; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-aside { margin-top: 1.5rem; }
}

/* Tags */
.tag {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  color: var(--gray-400);
  background: var(--off-white);
  white-space: nowrap;
}
.tag-blue { color: var(--blue); border-color: rgba(37,99,235,0.25); background: var(--blue-light); }
.tag-gold { color: var(--blue); border-color: rgba(37,99,235,0.25); background: var(--blue-light); }

/* Cards */
.shell {
  padding: 5px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s var(--ease-std), box-shadow 0.4s var(--ease-std), transform 0.4s var(--ease);
}

.shell:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-lg), 0 0 0 3px var(--blue-glow);
  transform: translateY(-2px);
}

.core {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius-lg) - 5px);
  background: var(--white);
}

/* Section head */
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.head h2 { margin-top: 1rem; }

@media (max-width: 860px) {
  .head { grid-template-columns: 1fr; align-items: start; }
}

/* Mecanisme */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.price-card .core { padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--off-white); }

.price-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1.5px solid var(--border);
}

.price-head .client-price {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.price-head .client-price small {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gray-300);
  margin-left: 0.4rem;
}

.stack {
  display: flex;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
}

.stack-seg {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  overflow: hidden;
  transition: flex-grow 0.9s var(--ease-soft), filter 0.5s var(--ease-std);
}

.stack-seg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-right: 2px solid rgba(255,255,255,0.5);
}

.stack:hover .stack-seg:not(:hover) { filter: brightness(0.75) saturate(0.6); }
.stack-seg:hover { flex-grow: 1.4; }

.seg-pro   { flex-grow: 80; background: linear-gradient(180deg, #94A3B8, #64748B); color: #fff; }
.seg-sales { flex-grow: 12.5; background: linear-gradient(180deg, var(--blue), var(--blue-dark)); color: #fff; }
.seg-sg    { flex-grow: 7.5; background: linear-gradient(180deg, var(--violet), #6D28D9); color: #fff; font-weight: 700; }

.legend {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 0.85rem;
  align-items: baseline;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.legend li:last-child { border-bottom: 0; }

.legend .chip {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: translateY(1px);
}
.legend .chip-pro   { background: #94A3B8; }
.legend .chip-sales { background: var(--blue); }
.legend .chip-sg    { background: var(--violet); }

.legend .k { font-size: 0.9375rem; color: var(--ink); font-weight: 600; }
.legend .d { grid-column: 2 / -1; font-size: 0.8125rem; color: var(--gray-300); margin-top: -0.1rem; }
.legend .v { font-size: 0.9375rem; color: var(--blue); font-weight: 700; white-space: nowrap; }

.note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--off-white);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--gray-400);
}
.note b { color: var(--gray-600); font-weight: 600; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.bento .shell { display: flex; }
.bento .core { display: flex; flex-direction: column; gap: 1.15rem; }

.bento .who {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bento h3 { font-size: clamp(1.2rem, 1.75vw, 1.5rem); }

.bento ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.bento li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.bento li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

.bento .footnote {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.01em;
}

.bento .highlight .core {
  background: linear-gradient(145deg, var(--blue-light), #F8F9FF);
  border-radius: calc(var(--radius-lg) - 5px);
}
.bento .highlight .core h3 { color: var(--blue-dark); }

@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.step {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-radius: var(--radius);
  transition: background 0.4s var(--ease-std), border-color 0.4s var(--ease-std),
              transform 0.4s var(--ease), box-shadow 0.4s var(--ease-std);
  cursor: default;
}

.step:hover {
  background: var(--white);
  border-color: rgba(37, 99, 235, 0.28);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step .idx {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.step h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.step p { font-size: 0.875rem; color: var(--gray-400); line-height: 1.6; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* HPP */
.hpp {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hpp-copy h2 { margin-block: 1rem 1.5rem; }

.hpp-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hpp-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  transition: border-color 0.4s var(--ease-std), box-shadow 0.4s var(--ease-std),
              transform 0.4s var(--ease);
  cursor: default;
}

.hpp-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--blue-glow);
  transform: translateY(-3px);
}

.hpp-item .k {
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.hpp-item .v { font-size: 0.8125rem; color: var(--gray-300); line-height: 1.5; }

.hpp-item .amount {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-top: 0.75rem;
}

@media (max-width: 900px) { .hpp { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hpp-list { grid-template-columns: 1fr; } }

/* Callout */
.callout .shell {
  background: linear-gradient(135deg, var(--ink), #1E2D5E);
  border-color: transparent;
}
.callout .shell:hover {
  transform: none;
  box-shadow: var(--shadow-xl), 0 0 0 3px var(--blue-glow);
}

.callout .core {
  padding: clamp(2rem, 5vw, 3.75rem);
  background: transparent;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.callout h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-block: 1rem 1.1rem; color: #fff; }
.callout .eyebrow { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.callout .eyebrow::before { background: rgba(255,255,255,0.8); }
.callout .lead { color: rgba(255,255,255,0.6); }

.callout em {
  -webkit-text-fill-color: unset;
  background: none;
  color: #93C5FD;
  font-style: italic;
}

.callout .btn-ghost {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.callout .btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}
.callout .btn-ghost .btn-arrow { background: rgba(255,255,255,0.15); }
.callout .btn-gold { box-shadow: 0 4px 20px rgba(37,99,235,0.5); }

@media (max-width: 900px) { .callout .core { grid-template-columns: 1fr; } }

/* Formulaire */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: border-color 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std);
  appearance: none;
  box-shadow: var(--shadow-sm);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7590' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
}

.field textarea { min-height: 110px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--gray-200); }

.form-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
  min-height: 1.25em;
}
.form-status.err { color: #DC2626; }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Footer */
footer {
  padding-block: clamp(3.5rem, 8vw, 6rem) 2rem;
  border-top: 1.5px solid var(--border);
  background: var(--off-white);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.foot-grid h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin: 0 0 1rem;
}

.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.foot-grid a { font-size: 0.875rem; color: var(--gray-400); transition: color 0.3s var(--ease-std); }
.foot-grid a:hover { color: var(--blue); }
.foot-brand p { margin-top: 0.85rem; font-size: 0.875rem; color: var(--gray-300); max-width: 32ch; line-height: 1.6; }
.foot-brand .brand { border: 0; padding: 0; font-size: 1rem; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-300);
}

@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Reveal scroll */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 2rem, 0);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

[data-reveal].in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Barre progression */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--violet));
  z-index: 45;
  pointer-events: none;
  border-radius: 0 999px 999px 0;
}

/* Sections specifiques */
#constat { background: var(--off-white); }
#constat .step { background: var(--white); }
#constat .step:hover { background: var(--white); }

/* Animations */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
.brand-mark { animation: pulse-ring 3s ease-in-out infinite; }

/* Highlight card */
.highlight .shell,
.bento .highlight {
  background: linear-gradient(145deg, var(--blue-light), var(--white));
  border-color: rgba(37, 99, 235, 0.25);
}

/* --------------------------------------------------------------------------
   Section Commerciaux Freelance
   -------------------------------------------------------------------------- */

.freelance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 900px) {
  .freelance-hero { grid-template-columns: 1fr; }
}

.freelance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.freelance-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std), transform 0.3s var(--ease);
}

.freelance-list li:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--blue-glow);
  transform: translateX(4px);
}

.fl-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  color: var(--blue);
}

.freelance-list li div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.freelance-list strong {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9375rem;
}

.freelance-list span {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.55;
}

.freelance-list b { color: var(--blue); font-weight: 700; }

/* Stats freelance */
.freelance-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .freelance-stats { grid-template-columns: 1fr; }
}

.fs-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std), transform 0.4s var(--ease);
}

.fs-card:hover {
  border-color: rgba(37,99,235,0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.fs-card--accent {
  background: linear-gradient(145deg, var(--blue), var(--violet));
  border-color: transparent;
  color: #fff;
}
.fs-card--accent:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.fs-num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--blue);
}
.fs-card--accent .fs-num { color: #fff; }

.fs-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}
.fs-card--accent .fs-label { color: rgba(255,255,255,0.7); }

.fs-note {
  font-size: 0.8125rem;
  color: var(--gray-300);
  line-height: 1.5;
  margin-top: 0.25rem;
}
.fs-card--accent .fs-note { color: rgba(255,255,255,0.65); }

/* Avantages */
.avantages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .avantages { grid-template-columns: 1fr; }
}

.av-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std), transform 0.4s var(--ease);
}

.av-item:hover {
  border-color: rgba(37,99,235,0.28);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.av-num {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.av-item h3 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-bottom: 0.5rem;
}

.av-item p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* Stats callout entreprise */
.callout-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.callout-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cs-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.cs-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  max-width: 12ch;
  line-height: 1.4;
}


/* ==========================================================================
   Home Hero & Dual CTA (Uber-Style Two Portals)
   ========================================================================== */

.home-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.dual-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
  width: 100%;
}

.dual-cta-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 1.25rem;
  text-decoration: none;
  color: var(--black);
  box-shadow: 0 4px 20px rgba(13, 18, 36, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.dual-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dual-cta-card--business::before {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}

.dual-cta-card--driver::before {
  background: linear-gradient(90deg, var(--violet), #9333EA);
}

.dual-cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(13, 18, 36, 0.1);
}

.dual-cta-card:hover::before {
  opacity: 1;
}

.dual-cta-card--business:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.dual-cta-card--driver:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

.dcc-icon {
  width: 58px;
  height: 58px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dual-cta-card--business .dcc-icon {
  background: var(--blue-light);
  color: var(--blue);
}

.dual-cta-card--driver .dcc-icon {
  background: rgba(124, 58, 237, 0.09);
  color: var(--violet);
}

.dual-cta-card:hover .dcc-icon {
  transform: scale(1.1) rotate(-3deg);
}

.dcc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dcc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dual-cta-card--business .dcc-label {
  color: var(--blue);
}

.dual-cta-card--driver .dcc-label {
  color: var(--violet);
}

.dcc-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}

.dcc-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.dcc-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--off-white);
  color: var(--gray-400);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dual-cta-card:hover .dcc-arrow {
  transform: translateX(4px);
}

.dual-cta-card--business:hover .dcc-arrow {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.dual-cta-card--driver:hover .dcc-arrow {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}


/* ==========================================================================
   Mechanic Grid (Section Comment ça marche)
   ========================================================================== */

.mechanic-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

@media (max-width: 960px) {
  .mechanic-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .mech-arrow {
    display: none;
  }
}

.mech-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 10px rgba(13, 18, 36, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.mech-step:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.mech-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.mech-step h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.mech-step p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.mech-arrow {
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ==========================================================================
   Two Profiles Comparison Cards (Uber vs Uber Driver style)
   ========================================================================== */

.two-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.profile-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.75rem 2.25rem;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 24px rgba(13, 18, 36, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(13, 18, 36, 0.1);
}

.profile-card--business:hover {
  border-color: var(--blue);
}

.profile-card--driver:hover {
  border-color: var(--violet);
}

.pc-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pc-header h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
}

.pc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pc-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.pc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.profile-card--business .pc-list li::before {
  background: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.profile-card--driver .pc-list li::before {
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.pc-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pc-stat-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pc-stat-num {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1.1;
}

.pc-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* ==========================================================================
   Page Themes (Theme Business vs Theme Pro)
   ========================================================================== */

body.theme-pro {
  --blue: var(--violet);
  --blue-light: rgba(124, 58, 237, 0.08);
  --blue-dark: #6D28D9;
}

body.theme-pro .btn-gold {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

body.theme-pro .btn-gold:hover {
  background: #6D28D9;
  border-color: #6D28D9;
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.45);
}

body.theme-pro .brand-mark .ring,
body.theme-pro .brand-mark .dot {
  stroke: var(--violet);
  fill: var(--violet);
}

/* Nav Session Switcher Pills */
.session-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
}

.session-pill {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--gray-400);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.session-pill:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}

.session-pill.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.session-pill--pro.active {
  color: var(--violet);
}

.session-pill--business.active {
  color: var(--blue);
}
