@charset "UTF-8";
/* =====================================================
   1MAX2VUES - EDITORIAL TECH . Design System
   Architecture : tokens + reset + primitives + patterns
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ========== COLOR SYSTEM ========== */
  --cream: #FAF6EC;
  --cream-2: #F3EDDD;
  --cream-3: #EDE6D1;

  --ink: #0F0F0F;
  --ink-soft: #272724;
  --ink-muted: #6B6558;
  --ink-faint: #A8A193;

  --border: #E3DCC8;
  --border-soft: #EFE9DB;
  --border-strong: #C9BFA3;

  --accent: #C14E2A;
  --accent-deep: #9A3A1C;
  --accent-warm: #E07A4E;
  --accent-tint: #FBE7DC;

  --sand: #D4C9AB;
  --moss: #485847;

  --dark: #0F0E0C;
  --dark-2: #1A1814;
  --dark-3: #252219;
  --dark-border: #2F2B22;
  --dark-ink: #FAF6EC;
  --dark-muted: #8E8674;

  /* ========== TYPOGRAPHY ========== */
  --ff-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Bricolage Grotesque', 'Helvetica Neue', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  /* type scale - fluid clamps */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.625rem;
  --fs-3xl: clamp(2rem, 4vw, 2.75rem);
  --fs-4xl: clamp(2.75rem, 6vw, 4.5rem);
  --fs-5xl: clamp(3.75rem, 8vw, 6.5rem);

  /* ========== SPACING ========== */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* ========== RADIUS & SHADOWS ========== */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 36px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(15,14,12,0.04), 0 1px 4px rgba(15,14,12,0.04);
  --shadow-md: 0 4px 12px rgba(15,14,12,0.06), 0 2px 8px rgba(15,14,12,0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15,14,12,0.12), 0 8px 16px -8px rgba(15,14,12,0.08);
  --shadow-xl: 0 30px 70px -20px rgba(15,14,12,0.2), 0 12px 28px -12px rgba(15,14,12,0.1);
  --shadow-accent: 0 20px 50px -15px rgba(193,78,42,0.35);

  /* ========== TIMING ========== */
  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-med: 320ms cubic-bezier(.4,0,.2,1);
  --t-slow: 600ms cubic-bezier(.16,1,.3,1);
  --t-xslow: 1000ms cubic-bezier(.16,1,.3,1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* ========== LAYOUT ========== */
  --w-narrow: 720px;
  --w-text: 840px;
  --w-content: 1200px;
  --w-wide: 1400px;
}

/* ========== BASE ========== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.no-smooth { scroll-behavior: auto; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv01", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  padding-top: 76px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }

::selection { background: var(--accent); color: var(--cream); }

/* ========== TYPOGRAPHY ========== */
.display {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.display-italic {
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.mono {
  font-family: var(--ff-mono);
  font-feature-settings: "calt" 1;
  letter-spacing: -0.01em;
}

/* ========== LAYOUT PRIMITIVES ========== */
.container {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 var(--s-8);
}
.container-wide {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--s-8);
}
.container-narrow {
  max-width: var(--w-narrow);
  margin: 0 auto;
  padding: 0 var(--s-8);
}

section { padding: var(--s-24) 0; position: relative; }
section.sec-lg { padding: var(--s-32) 0; }
section.sec-sm { padding: var(--s-16) 0; }
section.sec-dark {
  background: var(--dark);
  color: var(--dark-ink);
}
section.sec-warm { background: var(--cream-2); }

/* ========== NAV ========== */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--t-med), border-color var(--t-med);
}
.nav-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 var(--s-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: opacity var(--t-fast);
}
.nav-brand:hover { opacity: 0.7; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-sm);
}
.nav-brand-text { line-height: 1; }
.nav-brand-text .brand-main { display: block; }
.nav-brand-text .brand-sub {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: var(--s-8);
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: color var(--t-fast);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease-expo);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: var(--accent);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  text-transform: uppercase;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform var(--t-med) var(--ease-expo);
}
.nav-cta > * { position: relative; z-index: 1; }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta svg { transition: transform var(--t-fast); }
.nav-cta:hover svg { transform: translateX(3px); }

/* ========== MOBILE NAV ========== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--t-med) var(--ease-expo);
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: var(--r-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t-fast);
  text-align: center;
  line-height: 1;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.005em;
}
.btn svg { transition: transform var(--t-fast); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--accent); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-accent {
  background: var(--accent);
  color: var(--cream);
}
.btn-accent:hover { background: var(--accent-deep); }
.btn-accent:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-light:hover {
  border-color: var(--ink);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 10px 18px;
}

/* ========== LABELS / TAGS / EYEBROWS ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  font-weight: 400;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.is-light { color: var(--dark-muted); }
.eyebrow.is-light::before { background: var(--accent-warm); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: var(--r-xs);
  background: var(--cream-2);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  text-transform: uppercase;
  font-weight: 400;
}
.tag.is-accent {
  background: var(--accent-tint);
  color: var(--accent-deep);
  border-color: var(--accent-warm);
}
.tag.is-dark {
  background: var(--dark-2);
  color: var(--dark-ink);
  border-color: var(--dark-border);
}

/* ========== SECTION HEADINGS ========== */
.sec-head {
  margin-bottom: var(--s-12);
}
.sec-head .eyebrow { margin-bottom: var(--s-4); }
.sec-title {
  font-family: var(--ff-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40;
  font-weight: 400;
  font-size: var(--fs-3xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 780px;
}
.sec-title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--accent);
}
.sec-lead {
  font-size: var(--fs-md);
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: var(--w-text);
  margin-top: var(--s-5);
}
.sec-lead strong {
  color: var(--ink);
  font-weight: 500;
}

section.sec-dark .sec-title { color: var(--dark-ink); }
section.sec-dark .sec-title em { color: var(--accent-warm); }
section.sec-dark .sec-lead { color: var(--dark-muted); }
section.sec-dark .sec-lead strong { color: var(--dark-ink); }

/* ========== FOOTER ========== */
footer.site-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  padding: var(--s-20) 0 var(--s-10);
  color: var(--ink-soft);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.7fr;
  gap: var(--s-12);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--border);
}
.footer-brand-block h4 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.footer-brand-block p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col-title {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.footer-links-list a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: color var(--t-fast);
  display: inline-block;
}
.footer-links-list a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-8);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  padding: var(--s-4) 0;
}
.breadcrumb .container {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { color: var(--ink-faint); }

/* ========== UTILITIES ========== */
.text-accent { color: var(--accent); }
.text-muted { color: var(--ink-muted); }
.text-ink { color: var(--ink); }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  body { padding-top: 68px; }

  nav.site-nav {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .nav-inner { height: 68px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    padding: var(--s-8) var(--s-5);
    gap: 0;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateX(24px);
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    overflow-y: auto;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .nav-links li {
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links a {
    padding: var(--s-5) 0;
    font-size: 1.25rem;
    font-family: var(--ff-display);
    font-weight: 400;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  section { padding: var(--s-16) 0; }
  section.sec-lg { padding: var(--s-20) 0; }
  .container, .container-wide, .container-narrow { padding: 0 var(--s-5); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .sec-title { font-size: 2.125rem; }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* =========================================
   TYPOGRAPHIE - anti-veuves (orphan words)
   Balance sur les titres pour eviter qu'un mot seul termine la ligne
   Pretty sur les paragraphes pour ameliorer les coupures
   ========================================= */
h1, h2, h3, h4, h5, h6,
.hero-title, .sec-title, .page-hero h1,
.story-quote-text, .manifesto-text,
.freins-grid h3, .tool-card h3, .demo-step h4,
.price-name, .work-item h4,
.faq-question, .usecase h4 {
  text-wrap: balance;
}

p, li,
.sec-lead, .hero-lead, .page-hero-lead,
.story-text p, .frein-desc, .tool-card p,
.price-features li, .demo-step p,
.manifesto-sub, .work-item p {
  text-wrap: pretty;
}

/* =========================================
   SELECT STYLE - menu deroulant services
   ========================================= */
.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: var(--s-4) var(--s-5);
  padding-right: var(--s-10);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  background-image: none;
}
.select-wrap select:hover {
  border-color: var(--ink-soft);
}
.select-wrap select:focus {
  outline: 0;
  border-color: var(--accent);
  background: #fff;
}
.select-wrap select:invalid,
.select-wrap select option[value=""] {
  color: var(--ink-muted);
}
.select-wrap select optgroup {
  font-family: var(--ff-mono);
  font-size: .78rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  background: var(--cream-2);
  padding: var(--s-2) 0;
}
.select-wrap select option {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  padding: var(--s-3);
}
.select-chevron {
  position: absolute;
  right: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mid);
  pointer-events: none;
  transition: transform var(--t), color var(--t);
}
.select-wrap select:focus + .select-chevron {
  color: var(--accent);
  transform: translateY(-50%) rotate(180deg);
}

/* Overlay mobile pour fermer le menu en tapant dehors */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.4);
  z-index: 999;
  animation: navOverlayFadeIn 220ms ease both;
}
.nav-overlay.is-open {
  display: block;
}
@keyframes navOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (min-width: 1024px) {
  .nav-overlay { display: none !important; }
}