@import url('https://fonts.cdnfonts.com/css/satoshi');

:root {
  --ink: #111111;
  --muted: #6f6f6f;
  --paper: #f7f7f5;
  --white: #ffffff;
  --lavender: #b7a6ff;
  --lavender-light: #e9e5ff;
  --line: rgba(17,17,17,.14);
  --container: 1240px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Satoshi', 'Manrope', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 64px), var(--container)); margin: 0 auto; }
.section { position: relative; padding: 140px 0; }
.eyebrow {
  margin: 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 700;
}
.eyebrow span { color: var(--lavender); padding: 0 5px; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(247,247,245,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 21px; line-height: 1; letter-spacing: -.06em; font-weight: 700; }
.logo-dot { color: var(--lavender); }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.site-nav > a:not(.nav-cta) { transition: color .2s; }
.site-nav > a:not(.nav-cta):hover { color: #777; }
.nav-cta { display: inline-flex; gap: 9px; align-items: center; margin-left: 10px; padding: 12px 17px; border: 1px solid var(--ink); border-radius: 999px; }
.nav-cta span { color: var(--lavender); font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }

.hero { min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 150px; }
.hero-inner { position: relative; z-index: 2; }
.hero-title {
  max-width: 1050px;
  margin: 30px 0 80px;
  font-size: clamp(52px, 7.1vw, 108px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 600;
}
.hero-title span { display: block; }
.hero-title span::first-letter { }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; max-width: 930px; }
.hero-copy { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 24px;
  border-radius: 999px; padding: 17px 22px;
  font-size: 13px; font-weight: 700;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.button span { font-size: 17px; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #292929; }
.text-link { font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.text-link span { color: var(--lavender); margin-left: 7px; }
.hero-mark {
  position: absolute; width: 43vw; height: 43vw; min-width: 420px; min-height: 420px;
  right: -18vw; top: 24%; border: 1px solid rgba(183,166,255,.3); border-radius: 50%;
}
.hero-mark::before, .hero-mark::after, .hero-mark span {
  content: ""; position: absolute; inset: 15%; border: 1px solid rgba(17,17,17,.07); border-radius: 50%;
}
.hero-mark::after { inset: 32%; border-color: rgba(183,166,255,.35); }
.hero-mark span { inset: 49%; background: var(--lavender); border: 0; }

.statement { background: var(--white); }
.statement-grid { display: grid; grid-template-columns: 28% 1fr; gap: 8%; }
.statement-title, .section-heading h2, .approach-intro h2, .about-content h2, .contact h2 {
  margin: 0; font-size: clamp(46px, 6vw, 86px); line-height: .96; letter-spacing: -.065em; font-weight: 600;
}
.statement-title em, .section-heading h2 em, .approach-intro h2 em, .about-content h2 em, .contact h2 em { font-style: normal; color: var(--muted); }
.statement-copy { max-width: 520px; margin: 38px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 150px; border-top: 1px solid var(--line); }
.principle { padding: 28px 35px 0 0; border-right: 1px solid var(--line); }
.principle:not(:first-child) { padding-left: 35px; }
.principle:last-child { border-right: 0; }
.principle span { color: var(--lavender); font-size: 12px; font-weight: 700; }
.principle h3 { margin: 55px 0 12px; font-size: 25px; letter-spacing: -.035em; }
.principle p { margin: 0; max-width: 310px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 28% 1fr; gap: 8%; align-items: start; }
.service-list { margin-top: 105px; border-top: 1px solid var(--line); }
.service-card {
  display: grid; grid-template-columns: 12% 1fr auto; gap: 30px; align-items: start;
  padding: 42px 0 48px; border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease);
}
.service-card:hover { padding-left: 15px; padding-right: 15px; }
.service-number { color: var(--lavender); font-size: 12px; font-weight: 700; }
.service-main { max-width: 760px; }
.service-title-row { display: flex; justify-content: space-between; align-items: center; }
.service-title-row h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.service-arrow { font-size: 26px; opacity: 0; transform: translate(-10px, 10px); transition: .3s var(--ease); }
.service-card:hover .service-arrow { opacity: 1; transform: none; color: var(--lavender); }
.service-main h4 { margin: 25px 0 18px; font-size: clamp(32px, 4vw, 55px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.service-main p { max-width: 580px; margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.service-tag { align-self: end; font-size: 9px; letter-spacing: .15em; color: #888; white-space: nowrap; }

.approach { background: var(--white); }
.approach-intro { display: grid; grid-template-columns: 28% 1fr; gap: 8%; }
.approach-intro h2 { max-width: 880px; }
.approach-intro > p:last-child { grid-column: 2; max-width: 540px; color: var(--muted); line-height: 1.6; font-size: 16px; margin: 35px 0 0; }
.timeline { position: relative; max-width: 900px; margin: 130px 0 0 28%; padding-left: 70px; }
.timeline-line { position: absolute; top: 0; bottom: 0; left: 9px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 30px; padding: 0 0 80px; }
.timeline-dot { position: absolute; left: -66px; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); transition: .3s; }
.timeline-item.is-visible .timeline-dot { background: var(--lavender); border-color: var(--lavender); box-shadow: 0 0 0 7px rgba(183,166,255,.12); }
.timeline-index { font-size: 11px; color: var(--lavender); font-weight: 700; }
.timeline-item h3 { margin: -5px 0 12px; font-size: 30px; letter-spacing: -.04em; }
.timeline-item p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 520px; }

.ai-section { background: var(--ink); color: var(--white); overflow: hidden; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.eyebrow-light { color: #aaa; }
.ai-copy h2 { margin: 35px 0; font-size: clamp(50px, 6vw, 86px); line-height: .94; letter-spacing: -.065em; font-weight: 500; }
.ai-copy h2 em { font-style: normal; color: var(--lavender); }
.ai-copy > p:not(.eyebrow) { max-width: 530px; color: #a4a4a4; line-height: 1.65; font-size: 16px; }
.button-light { margin-top: 25px; background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--lavender-light); }
.ai-visual { position: relative; min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flow-label { font-size: 9px; letter-spacing: .2em; color: #777; }
.label-input { margin-bottom: 25px; }
.flow-line { width: 1px; height: 70px; background: linear-gradient(to bottom, #555, var(--lavender)); }
.ai-node {
  width: 145px; height: 145px; border: 1px solid #555; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; box-shadow: 0 0 70px rgba(183,166,255,.08);
}
.node-dot { color: var(--lavender); font-size: 50px; line-height: .6; }
.ai-node strong { font-size: 14px; letter-spacing: .12em; margin-top: 13px; }
.ai-node small { color: #777; font-size: 9px; margin-top: 5px; letter-spacing: .1em; }
.flow-outputs { display: flex; gap: 90px; margin-top: 25px; }
.flow-outputs > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.output-dot { width: 9px; height: 9px; background: var(--lavender); border-radius: 50%; }
.flow-outputs small { font-size: 8px; color: #777; letter-spacing: .16em; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 28% 1fr; gap: 8%; }
.about-content { max-width: 850px; }
.about-content h2 { margin-bottom: 55px; }
.about-content p { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.about-content .lead { color: var(--ink); font-size: 21px; line-height: 1.5; }
.about-content blockquote { margin: 65px 0 0; padding-left: 24px; border-left: 2px solid var(--lavender); font-size: 25px; line-height: 1.35; letter-spacing: -.035em; max-width: 650px; }

.contact { background: var(--white); min-height: 75vh; display: flex; align-items: center; }
.contact-inner { text-align: center; }
.contact h2 { margin: 38px auto 65px; max-width: 1000px; }
.contact-link { display: inline-flex; align-items: center; gap: 25px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 600; }
.contact-link span { color: var(--lavender); font-size: 25px; transition: transform .25s; }
.contact-link:hover span { transform: translate(5px,-5px); }

.site-footer { background: var(--ink); color: var(--white); padding: 55px 0 25px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 90px; }
.footer-logo { font-size: 27px; }
.footer-top p { color: #777; font-size: 12px; }
.footer-bottom { padding-top: 22px; border-top: 1px solid #2c2c2c; display: flex; justify-content: space-between; color: #777; font-size: 10px; }
.footer-bottom div { display: flex; gap: 25px; }
.footer-bottom a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }


/* Opening sequence */
.intro-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  pointer-events: auto;
  opacity: 1;
  transition: opacity .85s .15s var(--ease), visibility 0s 1s;
}
.intro-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 1;
  letter-spacing: -.07em;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.intro-logo .intro-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(14px);
  animation: intro-char-in .65s var(--ease) forwards;
  animation-delay: var(--char-delay);
}
.intro-logo .intro-char-dot {
  display: inline-block;
  color: var(--lavender);
  opacity: 0;
  transform: translateY(5px) scale(.65);
  animation: intro-dot-in .45s var(--ease) forwards;
  animation-delay: var(--dot-delay);
}
.intro-logo::after {
  content: "Défiler pour entrer";
  position: absolute;
  left: 50%;
  top: calc(100% + 34px);
  transform: translateX(-50%);
  color: #888;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  animation: intro-hint-in .6s 1.65s var(--ease) forwards;
}
@keyframes intro-char-in {
  0% { opacity: 0; transform: translateX(14px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes intro-dot-in {
  0% { opacity: 0; transform: translateY(5px) scale(.65); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes intro-hint-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: .8; transform: translate(-50%, 0); }
}
.intro-screen.entering .intro-logo {
  left: max(16px, calc((100vw - var(--container)) / 2));
  top: 41px;
  transform: translate(0, -50%);
  font-size: 21px;
  transition:
    top .85s var(--ease),
    left .85s var(--ease),
    transform .85s var(--ease),
    font-size .85s var(--ease);
}
.intro-screen.entering .intro-logo::after {
  opacity: 0;
}
.intro-screen.entering {
  opacity: 0;
  visibility: hidden;
}
.intro-screen.entering + .site-header .logo {
  opacity: 1;
}
body.intro-active {
  overflow: hidden;
}
body.intro-active .site-header .logo {
  opacity: 0;
}
body.intro-active main {
  opacity: 0;
  transform: translateY(18px);
}
body:not(.intro-active) main {
  opacity: 1;
  transform: none;
  transition: opacity .8s .25s var(--ease), transform .8s .25s var(--ease);
}
.site-header .logo {
  transition: opacity .4s var(--ease);
}
@media (max-width: 680px) {
  .intro-logo {
    font-size: 45px;
  }
  .intro-screen.entering .intro-logo {
    left: 16px;
    top: 36px;
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-screen { display: none; }
  body.intro-active { overflow: auto; }
  body.intro-active main { opacity: 1; transform: none; }
  .site-header .logo { opacity: 1; }
}

/* Expanded PME automation explanation */
.automation-copy {
  margin-top: 125px;
  padding-top: 42px;
  border-top: 1px solid #2c2c2c;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.automation-intro h3 {
  max-width: 520px;
  margin: 30px 0 0;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 500;
}
.automation-text { max-width: 650px; }
.automation-text p {
  margin: 0 0 22px;
  color: #a4a4a4;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding: 95px 0; }
  .site-nav { gap: 20px; }
  .nav-cta { margin-left: 0; }
  .hero { min-height: 850px; padding-top: 130px; }
  .hero-title { margin: 25px 0 55px; font-size: clamp(50px, 9vw, 78px); }
  .hero-bottom, .ai-grid, .automation-copy { grid-template-columns: 1fr; }
  .hero-actions { margin-top: 10px; }
  .hero-mark { right: -35vw; top: 38%; opacity: .6; }
  .statement-grid, .section-heading, .approach-intro, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .principles { margin-top: 90px; }
  .approach-intro > p:last-child { grid-column: auto; }
  .timeline { margin-left: 0; }
  .ai-visual { min-height: 420px; margin-top: -30px; }
  .automation-copy { gap: 45px; margin-top: 85px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-wrap { height: 72px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; }
  .menu-toggle span { width: 23px; height: 1px; background: var(--ink); transition: .25s; }
  .site-nav {
    position: absolute; top: 72px; left: 16px; right: 16px;
    padding: 22px; background: var(--white); border: 1px solid var(--line);
    border-radius: 16px; flex-direction: column; align-items: stretch; gap: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a { padding: 14px 4px; }
  .nav-cta { justify-content: center; margin-top: 10px; }
  .hero { min-height: 800px; padding-top: 110px; align-items: flex-start; }
  .hero-title { margin: 25px 0 50px; font-size: clamp(49px, 14vw, 72px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { gap: 20px; }
  .hero-actions .text-link { margin-top: 0; }
  .hero-mark { width: 100vw; height: 100vw; min-width: 300px; min-height: 300px; right: -62vw; top: 51%; }
  .principles { grid-template-columns: 1fr; margin-top: 70px; }
  .principle, .principle:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle h3 { margin-top: 35px; }
  .service-list { margin-top: 65px; }
  .service-card { grid-template-columns: 40px 1fr; gap: 12px; padding: 32px 0; }
  .service-tag { grid-column: 2; margin-top: 5px; white-space: normal; line-height: 1.5; }
  .service-card:hover { padding-left: 0; padding-right: 0; }
  .service-main h4 { font-size: 34px; }
  .service-arrow { opacity: 1; transform: none; color: var(--lavender); }
  .timeline { padding-left: 45px; margin-top: 75px; }
  .timeline-line { left: 5px; }
  .timeline-dot { left: -49px; }
  .timeline-item { grid-template-columns: 40px 1fr; gap: 15px; padding-bottom: 60px; }
  .timeline-item h3 { font-size: 27px; }
  .ai-copy h2 { font-size: 48px; }
  .ai-visual { min-height: 350px; }
  .about-content h2, .contact h2 { font-size: 48px; }
  .about-content blockquote { font-size: 21px; }
  .contact { min-height: 65vh; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 20px; padding-bottom: 60px; }
  .footer-bottom { flex-direction: column; gap: 15px; }
  .footer-bottom div { flex-direction: column; gap: 10px; }
}
