@font-face { font-family: 'Irene Florentina'; src: url('assets/fonts/IreneFlorentina-Regular.woff2') format('woff2'); font-display: swap; }

:root {
  --cream: #FDF8EC;
  --ink: #2B2A57;
  --violet: #6A55C8;
  --orchid: #C77DDB;
  --lavender: #C0C4F3;
  --lilac: #E4CFF2;
  --pink: #F3C9DF;
  --stripe-a: #BEC5F6;
  --stripe-b: #D6DAFA;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ink);
  background: repeating-linear-gradient(90deg, var(--stripe-a) 0 28px, var(--stripe-b) 28px 56px);
}
a { color: var(--ink); }
a:hover { color: var(--violet); }
img { max-width: 100%; display: block; }

.page { padding: clamp(16px, 5vw, 80px) clamp(12px, 5vw, 72px); }
.sheet { max-width: 1280px; margin: 0 auto; background: var(--cream); border-radius: clamp(28px, 4vw, 56px); overflow: hidden; }
.pad { padding-left: clamp(24px, 6vw, 80px); padding-right: clamp(24px, 6vw, 80px); }

.hand { font-family: 'Irene Florentina', Poppins, sans-serif; font-weight: 400; }
.eyebrow { margin: 0 0 6px; font-size: 14px; letter-spacing: 4px; color: var(--violet); }
.h2 { margin: 0 0 16px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; font-weight: 800; }
.orchid { color: var(--orchid); }
.violet { color: var(--violet); }

.bg-lavender { background: var(--lavender); }
.bg-lilac { background: var(--lilac); }
.bg-pink { background: var(--pink); }
.bg-orchid { background: var(--orchid); }
.bg-white { background: var(--white); }

.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { color: var(--cream); opacity: .9; }
.pill { display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* header */
.topbar { padding-top: 32px; padding-bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-size: 34px; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid var(--lavender); border-radius: 14px; background: var(--white); padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.topbar.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.open .menu-btn span:nth-child(2) { opacity: 0; }
.topbar.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang { background: none; border: 1.5px solid var(--lavender); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; color: var(--violet); cursor: pointer; }

/* hero */
.hero { padding-top: 56px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-name { margin: 2px 0 18px; font-family: Poppins, sans-serif; font-weight: 800; font-size: clamp(46px, 6.4vw, 78px); line-height: 1; letter-spacing: -2px; }
.name-font { font-family: Poppins, sans-serif; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 { margin: 22px 0 0; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -1.2px; }
.hero-promise { margin: 26px 0 0; font-size: 19px; line-height: 1.6; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-photo { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; position: relative; }
.frame { position: relative; width: 100%; max-width: 380px; aspect-ratio: 686 / 1000; }
.frame-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.frame-photo { position: absolute; left: 17.8%; top: 12.8%; width: 63.6%; height: 70.6%; max-width: none; object-fit: cover; object-position: center top; border-radius: 4px; background: linear-gradient(160deg, var(--lilac) 0%, var(--lavender) 55%, var(--stripe-a) 100%); }
.sticker { position: absolute; top: -18px; right: -6px; max-width: 190px; background: var(--orchid); color: var(--ink); padding: 26px 26px; border-radius: 50%; font-size: 20px; font-weight: 800; line-height: 1.1; text-align: center; transform: rotate(12deg); border: 3px solid var(--pink); }

/* bento */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border-radius: 28px; padding: 36px; }
.stat-value { font-size: 46px; font-weight: 800; line-height: 1; }
.stat-label { margin-top: 10px; font-size: 17px; }

/* about */
.about { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about-photo { flex: 1 1 300px; display: flex; justify-content: center; }
.about-photo img { width: 100%; max-width: 360px; height: auto; filter: drop-shadow(0 10px 22px rgba(43, 42, 87, .16)); }
.about-text { flex: 1 1 520px; min-width: 0; }
.about-text p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* method / BPMN pool */
.method { padding-top: 112px; padding-bottom: 112px; }
.method-head { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-bottom: 44px; }
.method-head > div { flex: 1 1 520px; }
.method-head img { flex: 0 1 280px; width: 280px; }
.method-intro { margin: 0; font-size: 18px; line-height: 1.6; max-width: 640px; }
.pool { background: var(--white); border: 2px solid var(--lavender); border-radius: 28px; overflow: hidden; }
.lane { display: flex; }
.lane + .lane { border-top: 2px solid var(--lavender); }
.lane-label { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; }
.lane-label span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.lane-body { flex: 1 1 auto; min-width: 0; padding: 36px 28px; display: grid; grid-template-columns: 34px 28px repeat(var(--n, 3), minmax(0, 1fr) 28px) 34px; align-items: center; column-gap: 12px; position: relative; }
.lane-body > .task { align-self: stretch; }
.lane-body > .arrow, .lane-body > .event { justify-self: center; }
.lane-1 .lane-label { background: var(--lavender); }
.lane-1 .lane-body { background: #F6F6FE; }
.lane-2 .lane-label { background: var(--orchid); }
.lane-2 .lane-body { background: #FCF2F8; padding-top: 48px; }
.event { flex: 0 0 34px; width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); }
.event.end { border-width: 5px; }
.arrow { width: 28px; height: 12px; flex: 0 0 28px; display: block; }
.task { min-width: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 18px; }
.task.hot { background: var(--pink); }
.task-num { font-size: 12px; font-weight: 700; color: var(--violet); }
.task h3 { margin: 2px 0 6px; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1; }
.task p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--lilac); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.marker { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--ink); color: var(--cream); padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* cases */
.cases { padding-top: 104px; padding-bottom: 104px; }
.case { background: var(--white); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.case-img { height: 200px; margin: 14px 14px 0; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: contain; }
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-label { font-size: 12px; letter-spacing: 3px; color: var(--violet); }
.case h3 { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 700; }
.case p { margin: 0; font-size: 14px; line-height: 1.55; }
.case .btn { margin-top: auto; align-self: flex-start; padding: 11px 22px; font-size: 14px; }

/* brands marquee */
.brands { padding-top: 96px; padding-bottom: 24px; }
.marquee { overflow: hidden; padding: 22px 0; background: #F6F0FB; }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; color: #6E6C86; white-space: nowrap; }
.brand img { height: 40px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; }
.brand img[src*="french-tech"] { height: 64px; }
.brand small { font-size: 12px; font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

.certs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 28px; font-size: 14px; }
.certs a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.certs img { height: 72px; width: auto; }

/* lab, words */
.lab { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.lab > div:first-child { flex: 1 1 240px; }
.lab-grid { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.lab-item { border-radius: 20px; padding: 20px; text-decoration: none; display: block; }
.words { padding-top: 104px; padding-bottom: 112px; }
.quote { margin: 0; background: var(--white); border-radius: 24px; padding: 26px; border: 2px solid var(--lavender); }
.quote blockquote { margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.quote figcaption { font-size: 14px; display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* contact */
.contact { padding-top: 104px; padding-bottom: 96px; }
.steps-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.step-cta { border-radius: 22px; padding: 22px 26px; display: flex; align-items: center; gap: 18px; text-decoration: none; }
.step-cta strong { font-size: 20px; font-weight: 800; }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.facts { margin: 28px 0 0; font-size: 14px; }

.footer { padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.footer .links { display: flex; flex-wrap: wrap; gap: 22px; }

@media (max-width: 860px) {
  .topbar { position: relative; flex-wrap: nowrap; }
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; top: calc(100% + 4px); left: clamp(24px, 6vw, 80px); right: clamp(24px, 6vw, 80px); z-index: 20; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; background: var(--white); border: 1.5px solid var(--lavender); border-radius: 20px; box-shadow: 0 16px 40px rgba(43, 42, 87, .14); font-size: 17px; }
  .topbar.open .nav { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .nav a:not(.btn):hover { background: #F6F0FB; }
  .nav .lang { align-self: flex-start; margin: 6px 14px; }
  .nav .btn { text-align: center; margin-top: 6px; }
}
@media (max-width: 1180px) {
  .lane { flex-direction: column; }
  .lane-label { flex: 0 0 auto; padding: 10px; }
  .lane-label span { writing-mode: horizontal-tb; transform: none; }
  .lane-body { grid-template-columns: 1fr; row-gap: 10px; justify-items: center; }
  .lane-body > .task { width: 100%; }
  .lane-body > .ph { display: none; }
  .lane-2 .lane-body { padding-top: 28px; }
  .marker { position: static; transform: rotate(-2deg); margin-bottom: 8px; }
  .arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .lane { flex-direction: column; }
  .lane-label { flex: 0 0 auto; padding: 10px; }
  .lane-label span { writing-mode: horizontal-tb; transform: none; }
  .arrow { transform: rotate(90deg); }
  .sticker { font-size: 15px; padding: 18px; }
}
