/* WE LABS — v2, Apple-style redesign: white, restrained, typography-led.
   No global animated background, no scroll-jacking, no custom cursor — the
   old site's "wow gadgets" are deliberately dropped here in favour of
   whitespace and calm motion, per the new direction. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  /* No accent color at all now — pure black/white/gray. Interactive
     "black" elements (buttons, focus rings) get a lighter near-black on
     hover/press to still show feedback without introducing hue. */
  --ink-hover: #3a3a3c;
  --container: 1360px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
/* No color to lean on for emphasis inside a headline anymore — a lighter
   weight against the surrounding bold text does the same job. */
.text-accent { font-weight: 400; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-hover); }
.btn--ghost { border-color: var(--border); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: rgba(0, 0, 0, 0.2); }
.btn--lg { padding: 14px 30px; font-size: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  /* Scrolls away with the page (like coca-cola.com/ch/fr's own header) —
     normal flow, not fixed/sticky, on every interior page. */
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
/* The homepage is the one exception: #intro sits before <header> in the
   DOM at 100vh tall, so a normal-flow header would start below it — which
   is exactly what happened (the Flip-migrated logo landed at y≈1545
   instead of the viewport top) before this was fixed. Pinning it at y:0
   from the very first frame is what the intro's Flip math depends on. */
body.is-home .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
}
/* The blur/tint lives on a SIBLING of .container, not on .site-header
   itself: backdrop-filter on an ancestor creates a containing block for
   position:fixed descendants, which traps the full-screen mobile nav
   (.main-nav.is-open, itself fixed) inside the header's own small box
   instead of the viewport — the exact bug hit on the old site. Keeping it
   off .site-header avoids re-triggering that. */
.site-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__bg { background: rgba(255, 255, 255, 0.98); }
}
/* Header chrome (bg, nav, actions) stays invisible until the intro gate
   reveals it — see .is-revealed / .is-visible toggles in main-v2.js, same
   pattern as the intro on the archived v1 site. */
.site-header.is-revealed .site-header__bg { opacity: 1; }
.site-header.is-scrolled { border-color: var(--border); }
.site-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

/* flex-shrink:0 on both levels matters here specifically: introLogo lives
   permanently inside this flex chain (.container > .brand > img) from page
   load onward — Flip just fakes its full intro size via inline width/
   height + transform. Without this, once that inline width briefly asks
   for ~700-800px (its intro size) while the header row also has to fit
   nav links, language switch and the CTA button, flexbox's default
   shrink-to-fit silently overrides Flip's inline width and squashes the
   image — visible specifically when scrolling back up to the very start,
   where the logo should be at its full, correctly-proportioned intro size. */
/* introLogo's real visual position/size during the intro transition is
   entirely driven by Flip's own `transform`, not by document flow — it
   only needs to sit in this flex row at all for its *settled* (header)
   state. Letting it stay a normal flex child made the flex row's sizing
   fight with Flip's transient inline width/height: a fixed width on
   .brand (previous attempt) stopped it stealing space from the nav/CTA
   button on slow scrolls, but under fast or animated (Lenis) scroll-
   position jumps the same fixed width intermittently clipped the logo
   itself instead. Taking it out of flow with position:absolute removes
   the fight completely — .brand keeps a fixed reserved box for layout
   purposes (so nav/CTA never move), and the logo, positioned absolutely
   within it, can be any size Flip wants without touching flex sizing at
   all, in either direction. */
.brand { display: flex; align-items: center; width: 64px; height: 26px; flex-shrink: 0; position: relative; }
.brand-logo { display: block; height: 26px; width: auto; flex-shrink: 0; }
/* max-width:none overrides the global `img { max-width:100% }` reset —
   with this element now position:absolute, .brand (64px wide) is its
   containing block, so that 100% resolved to 64px and silently clamped
   every width Flip tried to set above that, regardless of its actual
   inline value. */
.brand-logo--header { position: absolute; top: 0; left: 0; max-width: none; }
.brand-logo--footer { height: 28px; }
/* Sized by width, not height: the logo mark is wide/flat (roughly 2.3:1),
   so a height-based clamp like the header/footer variants would make it
   far too wide on large screens. */
.brand-logo--intro { width: clamp(240px, 48vw, 840px); height: auto; }

.main-nav, .header-actions {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.main-nav.is-visible, .header-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.main-nav__list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.main-nav__list a:hover { opacity: 1; }
.main-nav > .lang-switch { display: none; }

/* Every top-level item (plain links and the Entreprise trigger alike)
   spans the full header height, same reasoning as .nav-dropdown below:
   .main-nav__list only centers its items, none of it is actually 64px
   tall, so bottom:0 on the underline needs an explicit full-height box
   to land on the header's real bottom edge. */
.main-nav__list > li {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
}
.main-nav__list > li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.main-nav__list > li:hover::after {
  transform: scaleX(1);
}

/* ---- "Entreprise" dropdown ----
   Flush against the trigger (no margin-gap) so a diagonal mouse path from
   trigger to menu never leaves both boxes at once — a gap there is the
   classic way CSS hover-dropdowns close themselves before the pointer
   arrives. The click/.is-open toggle (main-v2.js / page.js) exists
   alongside :hover for touch and keyboard use, where hover never fires.
   Sizing/position/underline box all come from the generic
   .main-nav__list > li rules above — this li is no different from its
   siblings there, it just also needs the is-open trigger below for
   touch/keyboard, since it has no :hover equivalent. */
.nav-dropdown__trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.82;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-dropdown__trigger:hover { opacity: 1; }
/* Closed: pointing right. Open (hover on desktop, .is-open on
   touch/keyboard): rotated back to the svg's own drawn orientation,
   pointing down — like coca-cola.com/ch/fr's own chevron. */
.nav-dropdown__trigger svg { width: 12px; height: 12px; transform: rotate(-90deg); transition: transform 0.2s var(--ease); }
.nav-dropdown:hover .nav-dropdown__trigger svg,
.nav-dropdown.is-open .nav-dropdown__trigger svg {
  transform: rotate(0deg);
}

/* Touch/keyboard equivalent of the :hover underline above — .is-open is
   the click-toggled state main-v2.js/page.js apply when hover never
   fires (see the dropdown comment above). */
.nav-dropdown.is-open::after {
  transform: scaleX(1);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: -32px;
  min-width: 220px;
  margin: 0;
  padding: 32px;
  list-style: none;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), visibility 0.18s;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown__menu a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.nav-dropdown__menu a:hover { font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  border: none; background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Intro gate
   ========================================================================== */
#intro {
  position: relative;
  height: 100vh;
  width: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 500;
}
.intro__hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.intro__hint p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.intro__hint-mouse {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.intro__hint-mouse span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--ink);
  animation: intro-scroll-dot 1.8s ease-in-out infinite;
}
@keyframes intro-scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(10px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .intro__hint-mouse span { animation: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 130px 0 90px;
  text-align: center;
}
.hero .container { max-width: 860px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin: 18px 0 26px;
}
.hero__sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

/* ==========================================================================
   Value strip
   ========================================================================== */

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: 16px; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.section-intro { font-size: 18px; color: var(--ink-soft); }


/* ---- Values ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.value-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 10px; }
.value-card__quote { font-size: 19px; font-weight: 700; line-height: 1.35; margin-bottom: 14px; }
.value-card__text { color: var(--ink-soft); font-size: 15.5px; }

/* ---- Values / Solutions / Services / Approach / Groupe (offset split cards) ----
   Static layout, no scroll-jacking. Modeled on coca-cola.com/ch/fr's
   "Responsabilité" teasers: the image and the text card are two
   independent, differently-sized boxes that genuinely overlap by ~60px
   (negative margin pulling the panel into the media's column), with the
   panel sitting above the media (higher z-index) and shifted upward. */
.stack-section { padding-bottom: 40px; }
.stack-row { margin-bottom: 120px; }
.stack-row:last-child { margin-bottom: 0; }

.stack-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
}
.stack-card--reverse { grid-template-columns: 1fr 1.15fr; }
.stack-card--reverse .stack-card__media { order: 2; }
.stack-card--reverse .stack-card__panel { order: 1; }

.stack-card__media {
  /* coca-cola.com/ch/fr's own teaser images aren't a fixed size either —
     each one keeps its photo's natural height, so the cards read as a
     mix of sizes rather than a uniform grid. --media-h (set per card
     inline) approximates that until real photos take over and do it
     for real. */
  position: relative;
  z-index: 1;
  min-height: var(--media-h, 420px);
  margin-top: 64px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}
.stack-card__placeholder svg { width: 44px; height: 44px; opacity: 0.4; }
.stack-card__placeholder span { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.55; }
.stack-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* For a media box whose height now comes from a real photo's own aspect
   ratio (no --media-h crop/letterbox), the normal 64px offset alone can
   land its bottom edge flush with the panel's — extra margin-top keeps
   the signature staggered overlap visible. Desktop only: mobile already
   resets margin-top to 0 for the stacked single-column layout. */
@media (min-width: 781px) {
  .stack-card__media--offset { margin-top: 170px; }
}

/* ---- AI agent illustration (original mockup, no stock photo) ----
   The one deliberate spot of color on an otherwise monochrome site — a
   single indigo accent for the AI's own "voice" (its chat replies and
   its call screen), requested to keep this demo from reading as flat. */
.ai-mock { --ai-accent: #4f5fe8; --ai-accent-soft: #eef0fd; }
.ai-mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: radial-gradient(circle at 28% 22%, #3c3c40 0%, #1c1c1f 55%, #0a0a0b 100%);
}
.ai-mock__phone {
  width: 100%;
  max-width: 280px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-mock__bar { display: flex; gap: 5px; flex-shrink: 0; }
.ai-mock__bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }

/* Two views (chat / call) cross-fade in the same phone frame — page.js
   drives an async loop that types out the conversation, then switches to
   a live-call screen with a running timer, then repeats. */
.ai-mock__views { position: relative; height: 320px; }
.ai-mock__view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.ai-mock__view.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.ai-mock__chat { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; overflow: hidden; }
.ai-mock__bubble { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; }
.ai-mock__bubble--in { align-self: flex-start; background: var(--bg-alt); color: var(--ink); border-bottom-left-radius: 3px; }
.ai-mock__bubble--out { align-self: flex-end; background: var(--ai-accent); color: #fff; border-bottom-right-radius: 3px; }
.ai-mock__typing { align-self: flex-start; display: flex; align-items: center; gap: 4px; padding: 11px 14px; border-radius: 14px; border-bottom-left-radius: 3px; background: var(--bg-alt); }
.ai-mock__typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-soft); display: block; animation: ai-typing 1.1s ease-in-out infinite; }
.ai-mock__typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-mock__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-3px); opacity: 1; } }

/* -- call screen -- */
.ai-call { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.ai-call__avatar { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--ai-accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ai-call__avatar svg { width: 26px; height: 26px; }
.ai-call__ring { position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid var(--ai-accent); opacity: 0; animation: ai-call-ring 2.4s ease-out infinite; }
.ai-call__ring--2 { animation-delay: 1.2s; }
@keyframes ai-call-ring { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }
.ai-call__name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ai-call__status { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ai-call__timer { font-variant-numeric: tabular-nums; }
.ai-call__wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-top: 18px; }
.ai-call__wave i { width: 3px; border-radius: 2px; background: var(--ai-accent); opacity: 0.55; display: block; animation: ai-wave 1s ease-in-out infinite; }
.ai-call__wave i:nth-child(odd) { animation-duration: 0.8s; }
.ai-call__wave i:nth-child(1) { height: 8px; animation-delay: 0s; }
.ai-call__wave i:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.ai-call__wave i:nth-child(3) { height: 11px; animation-delay: 0.2s; }
.ai-call__wave i:nth-child(4) { height: 24px; animation-delay: 0.3s; }
.ai-call__wave i:nth-child(5) { height: 14px; animation-delay: 0.4s; }
.ai-call__wave i:nth-child(6) { height: 22px; animation-delay: 0.5s; }
.ai-call__wave i:nth-child(7) { height: 9px; animation-delay: 0.6s; }
.ai-call__actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.ai-call__btn { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-alt); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ai-call__btn svg { width: 16px; height: 16px; }
.ai-call__btn--end { width: 44px; height: 44px; background: var(--ai-accent); color: #fff; }
.ai-call__btn-end-icon { transform: rotate(135deg); }

@keyframes ai-wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .ai-mock__view { transition: none; }
  .ai-call__ring { animation: none; }
  .ai-call__wave i { animation: none; }
}

/* ---- Service orbit illustration (third offer) — a central hub with 6
   services orbiting it, each lighting up in turn. A second accent color
   (violet, distinct from the AI demo's indigo) so the three offer
   illustrations don't all read the same. ---- */
.service-orbit {
  --service-accent: #8654e0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 30% 25%, #3c3c40 0%, #1c1c1f 55%, #0a0a0b 100%);
}
.service-orbit__stage { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; }
.service-orbit__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--service-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-orbit__hub svg { width: 26px; height: 26px; }
.service-orbit__hub-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid var(--service-accent);
  opacity: 0;
  animation: orbit-hub-ring 2.6s ease-out infinite;
}
.service-orbit__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.service-orbit__links path { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.4; stroke-dasharray: 3 5; animation: orbit-line-flow 2.4s linear infinite; }
.service-orbit__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 76px;
}
.service-orbit__node--1 { top: 6%; left: 50%; }
.service-orbit__node--2 { top: 25%; left: 89%; }
.service-orbit__node--3 { top: 75%; left: 89%; }
.service-orbit__node--4 { top: 94%; left: 50%; }
.service-orbit__node--5 { top: 75%; left: 11%; }
.service-orbit__node--6 { top: 25%; left: 11%; }
.service-orbit__node-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  animation: orbit-icon-pulse 4.8s ease-in-out infinite;
}
.service-orbit__node-icon svg { width: 19px; height: 19px; }
.service-orbit__node em { font-style: normal; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.85); white-space: nowrap; }
.service-orbit__node--1 .service-orbit__node-icon { animation-delay: 0s; }
.service-orbit__node--2 .service-orbit__node-icon { animation-delay: 0.6s; }
.service-orbit__node--3 .service-orbit__node-icon { animation-delay: 1.2s; }
.service-orbit__node--4 .service-orbit__node-icon { animation-delay: 1.8s; }
.service-orbit__node--5 .service-orbit__node-icon { animation-delay: 2.4s; }
.service-orbit__node--6 .service-orbit__node-icon { animation-delay: 3s; }

@keyframes orbit-hub-ring { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes orbit-line-flow { to { stroke-dashoffset: -16; } }
@keyframes orbit-icon-pulse {
  0%, 100% { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); transform: scale(0.94); }
  12% { background: var(--service-accent); color: #fff; transform: scale(1.1); }
  30% { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); transform: scale(0.94); }
}
@media (max-width: 780px) {
  .service-orbit__node { width: 62px; }
  .service-orbit__node-icon { width: 38px; height: 38px; }
  .service-orbit__node em { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-orbit__hub-ring { animation: none; }
  .service-orbit__links path { animation: none; }
  .service-orbit__node-icon { animation: none; }
}

/* ---- CRM dashboard illustration (original mockup, no stock photo) ---- */
.crm-mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: radial-gradient(circle at 25% 20%, #3c3c40 0%, #1c1c1f 55%, #0a0a0b 100%);
}
.crm-mock__window {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.crm-mock__topbar { display: flex; align-items: center; gap: 5px; }
.crm-mock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.crm-mock__title { margin-left: 8px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em; }
.crm-mock__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }
.crm-mock__live i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: block; }
.crm-mock__live i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  opacity: 0.45;
  animation: badge-ping 2s ease-out infinite;
}
.crm-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.crm-mock__stat { background: var(--bg-alt); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.crm-mock__stat-label { font-size: 10px; color: var(--ink-soft); font-weight: 600; }
.crm-mock__stat-value { font-size: 19px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.crm-mock__stat-trend { font-size: 10.5px; font-weight: 700; color: var(--ink); opacity: 0.55; }

/* Chart draws in once on scroll (dasharray/offset measured precisely in
   JS via getTotalLength, then page.js flips .is-live to trigger these
   transitions) rather than looping — a single deliberate reveal reads as
   more premium than an endless repeat. The end-point ring keeps a subtle
   continuous pulse afterwards so the graphic still feels alive at rest. */
.crm-mock__graph { position: relative; height: 84px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--ink); }
.crm-mock__graph-tag {
  position: absolute;
  top: -4px;
  right: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: var(--bg-alt);
  padding: 3px 9px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.6s ease 1.5s, transform 0.6s ease 1.5s;
}
.crm-mock__svg { width: 100%; height: 100%; overflow: visible; display: block; }
.crm-mock__line { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: stroke-dashoffset 1.7s cubic-bezier(0.65, 0, 0.35, 1); }
.crm-mock__area { opacity: 0; transition: opacity 1s ease 0.5s; }
.crm-mock__dotend { fill: var(--ink); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); transition: opacity 0.4s ease 1.5s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s; }
.crm-mock__dotring { fill: none; stroke: var(--ink); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.crm-mock__graph.is-live .crm-mock__area { opacity: 1; }
.crm-mock__graph.is-live .crm-mock__dotend { opacity: 1; transform: scale(1); }
.crm-mock__graph.is-live .crm-mock__graph-tag { opacity: 1; transform: translateY(0); }
.crm-mock__graph.is-live .crm-mock__dotring { animation: crm-ring-pulse 2.4s ease-out 1.7s infinite; }
@keyframes crm-ring-pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes badge-ping { 0% { transform: scale(1); opacity: 0.45; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .crm-mock__line, .crm-mock__area, .crm-mock__dotend, .crm-mock__graph-tag, .crm-mock__live i::after { transition: none; }
  .crm-mock__graph.is-live .crm-mock__dotring { animation: none; }
  .crm-mock__area, .crm-mock__dotend, .crm-mock__graph-tag { opacity: 1; transform: none; }
}

/* ---- Laptop demo: a computer screen cycling through 4 software views
   (SaaS dashboard, cloud hosting, centralized data, daily activity) —
   a "video" built as a live animation instead of a rendered video file,
   so it stays crisp at any size and needs no encoding/codec support. ---- */
.laptop-demo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 30px 32px 24px;
  background: radial-gradient(circle at 25% 20%, #3c3c40 0%, #1c1c1f 55%, #0a0a0b 100%);
}
.laptop-demo__frame {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #4a4a4d, #232325);
  border-radius: 14px 14px 3px 3px;
  padding: 9px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.laptop-demo__views {
  position: relative;
  background: #fff;
  border-radius: 6px;
  aspect-ratio: 8 / 5;
  overflow: hidden;
}
.laptop-demo__view {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
/* contain, not cover: the screenshots have slightly different aspect
   ratios from one another, so covering the frame would crop a different
   edge of each one — contain always shows the whole screenshot, exactly
   as provided, just scaled to fit. */
.laptop-demo__shot { width: 100%; height: 100%; object-fit: contain; display: block; }
.laptop-demo__view.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.laptop-demo__base {
  width: 128%;
  max-width: 614px;
  height: 13px;
  background: linear-gradient(180deg, #4a4a4d, #232325);
  border-radius: 0 0 9px 9px;
  position: relative;
  flex-shrink: 0;
}
.laptop-demo__base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 15%;
  height: 5px;
  background: #0a0a0b;
  border-radius: 0 0 7px 7px;
}
.laptop-demo__caption { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.laptop-demo__sub { display: block; font-size: 10.5px; color: var(--ink-soft); font-weight: 500; margin-top: 2px; }

/* -- view 1: reuses the .crm-mock__* dashboard styles verbatim -- */
.laptop-demo__view--1 .crm-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.laptop-demo__view--1 .crm-mock__stat { background: var(--bg-alt); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 3px; }

/* -- view 2: cloud hosting -- */
.laptop-demo__cloud { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; }
.laptop-demo__cloud-icon { width: 30%; height: 30%; color: var(--ink); }
.laptop-demo__node {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.laptop-demo__node svg { width: 16px; height: 16px; }
.laptop-demo__node--a { top: 8%; left: 10%; }
.laptop-demo__node--b { top: 8%; right: 10%; }
.laptop-demo__node--c { bottom: 10%; left: 18%; }
.laptop-demo__node--d { bottom: 10%; right: 18%; }
.laptop-demo__link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.laptop-demo__link path { fill: none; stroke: var(--border); stroke-width: 1.5; stroke-dasharray: 3 4; }

/* -- view 3: centralized data -- */
.laptop-demo__data { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 22px; }
.laptop-demo__data-src { display: flex; flex-direction: column; gap: 10px; }
.laptop-demo__chip {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-demo__chip svg { width: 18px; height: 18px; }
.laptop-demo__hub {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.laptop-demo__hub svg { width: 26px; height: 26px; }

/* -- view 4: daily activity list -- */
.laptop-demo__tasks { display: flex; flex-direction: column; gap: 9px; flex: 1; justify-content: center; }
.laptop-demo__task { display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border-radius: 9px; padding: 9px 12px; }
.laptop-demo__task-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.6px solid var(--ink-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.laptop-demo__task--done .laptop-demo__task-check { background: var(--ink); border-color: var(--ink); }
.laptop-demo__task-check svg { width: 10px; height: 10px; }
.laptop-demo__task-label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.laptop-demo__task--done .laptop-demo__task-label { color: var(--ink-soft); text-decoration: line-through; }

@media (prefers-reduced-motion: reduce) {
  .laptop-demo__view { transition: none; }
}

.stack-card__logo { height: 36px; width: auto; margin-bottom: 20px; }
.stack-card__logo--group { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.stack-card__logo--group img { height: 32px; width: auto; }
.stack-card__logo--group span { font-size: 22px; font-weight: 800; letter-spacing: 0.03em; color: var(--ink); }

.stack-card__panel {
  position: relative;
  z-index: 2;
  margin-left: -64px;
  padding: 48px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stack-card--reverse .stack-card__panel { margin-left: 0; margin-right: -64px; }
.stack-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 12px; }
.stack-card__panel h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.stack-card__panel p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin-bottom: 28px; }

/* ---- About ---- */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__text h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.about__text p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.about__tagline { display: flex; gap: 18px; margin-top: 24px; }
.about__tagline span { font-size: 15px; font-weight: 700; color: var(--ink); }
.about__visual {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__mark { width: 100%; max-width: 220px; opacity: 0.92; }

/* ---- Team page ---- */
/* One full-width row per person, stacked vertically: bio text on the
   left (empty for now — reserved for text to be added later, same idea
   as the photo placeholder), photo + name + contact on the right. */
.team-list {
  display: flex;
  flex-direction: column;
}
.team-row {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.team-list > .team-row:first-child { padding-top: 0; }
.team-list > .team-row:last-child { border-bottom: none; padding-bottom: 0; }

.team-row__text { color: var(--ink-soft); order: 1; }
.team-row__quote { font-size: 20px; font-weight: 700; font-style: italic; color: var(--ink); line-height: 1.4; margin-bottom: 14px; }
.team-row__bio { font-size: 15.5px; line-height: 1.6; }

.team-row__photo { order: 2; max-width: 340px; }
.team-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  /* White, not --bg-alt's light gray: every source photo already has a
     white backdrop, so a white letterbox here reads as one continuous
     background instead of a visible gray band around the photo. */
  background: #fff;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain, not cover: shows the source photo in full — no cropped
     shoulders — so every portrait reads consistently regardless of its
     own width/height ratio. */
  object-fit: contain;
  object-position: center top;
}
/* Yanik's source photo has more empty space around him than the others,
   so he reads smaller at the same "show everything" scale — cropping in
   (cover) rather than shrinking (contain) brings his head to a matching
   size. */
.team-card__photo--zoom img {
  object-fit: cover;
  object-position: center 15%;
}
.team-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}
.team-card__placeholder svg { width: 34%; height: 34%; opacity: 0.4; }
.team-card__placeholder span { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.55; }
/* position:relative here isn't for layout — it's so these stack by DOM
   order against .team-card__photo (also position:relative). Without it,
   any positioned element paints above any non-positioned one regardless
   of source order, so pulling this text up with a negative margin to sit
   closer to the photo would tuck it silently behind the photo box instead
   of over its empty letterboxed space. */
.team-row__photo h3, .team-row__photo p, .team-row__photo .team-card__contact {
  position: relative;
}
.team-row__photo h3 { font-size: 19px; margin-bottom: 4px; }
.team-row__photo p { font-size: 14.5px; color: var(--ink-soft); font-weight: 600; }
.team-card__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.team-card__contact a {
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.team-card__contact a:hover { color: var(--ink); }

.page-hero {
  padding: 72px 0 0;
  text-align: center;
}
.page-hero .container { max-width: 820px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 0; }
.page-hero p { font-size: 18px; color: var(--ink-soft); }
.page-hero--tight { padding: 110px 0 12px; }

/* The section right after a page-hero controls the "below title" gap —
   page-hero itself has no bottom padding so this is the only source of
   it. Target: match page-hero's 72px top padding exactly. Also covers
   .stack-section rows: .stack-card__panel (the topmost element in the
   row, since only .stack-card__media carries the 64px overlap offset)
   sits flush with the row's own top, so no extra compensation needed. */
.section--hero-gap { padding-top: 72px; }

.content-pending {
  padding: 70px 40px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
  font-style: italic;
}

/* ---- History page: editorial numbered chapters ---- */
.history-chapter {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding-top: 64px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}
.history-chapter:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }
.history-chapter__num { font-size: 60px; font-weight: 800; color: var(--border); line-height: 1; letter-spacing: -0.01em; }
.history-chapter__body { max-width: 720px; }
.history-chapter__body h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 22px; line-height: 1.25; }
.history-chapter__body p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
.history-chapter__body p:last-child { margin-bottom: 0; }

.history-quote {
  margin: 30px 0;
  padding: 2px 0 2px 26px;
  border-left: 3px solid var(--ink);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 780px) {
  .history-chapter { grid-template-columns: 1fr; gap: 14px; padding-top: 48px; margin-top: 48px; }
  .history-chapter__num { font-size: 44px; }
}

.site-location {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.site-location__map {
  position: relative;
  margin-bottom: 32px;
}
.site-location__map img { display: block; width: 100%; height: auto; }
.site-location__pin {
  position: absolute;
  left: 16.3%;
  top: 62.4%;
  width: 22px;
  height: 30px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 3px 5px rgba(20, 30, 60, 0.3));
}
.site-location__pin svg { display: block; width: 100%; height: 100%; }
.site-location__pin path { fill: var(--ink); }
.site-location__pin circle { fill: #fff; }
.site-location__addr h4 { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.site-location__addr p { font-size: 17px; }
.site-location__addr .is-placeholder { color: var(--ink-soft); }

/* ---- Contact ----
   Single centered column now that contact-info (address/email/phone) has
   been dropped from this page — .contact-grid keeps its name (still
   referenced for spacing/reveal) but its job now is just centering. */
.contact-grid {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 52px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; font-size: 14px; color: var(--ink); margin-top: 14px; font-weight: 600; }
.form-success.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
/* Black, like coca-cola.com/ch/fr's own footer — the logo is a flat black
   mark everywhere else on the site, so it's flipped to white here with a
   filter rather than needing a second logo asset. */
.site-footer { background: #000; padding: 80px 0 30px; }
.footer-brand .brand-logo--footer { filter: brightness(0) invert(1); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 14.5px; margin-top: 16px; max-width: 260px; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social__link svg { width: 17px; height: 17px; }
.footer-social__link:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 14.5px; color: #fff; }
.footer-col a { transition: opacity 0.15s; }
.footer-col a:hover { opacity: 0.7; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .team-row__photo { order: 1; max-width: none; }
  .team-row__text { order: 2; }
  .stack-row { margin-bottom: 32px; }
  .stack-card, .stack-card--reverse { grid-template-columns: 1fr; gap: 20px; }
  .stack-card--reverse .stack-card__media { order: -1; }
  .stack-card__media { min-height: 220px; margin-top: 0; }
  .stack-card__media--tall { min-height: 460px; }
  /* Narrower width on mobile makes the 16:11 aspect-ratio box too short
     for the stats + graph + caption inside — let height follow content
     instead of a fixed ratio here. */
  .laptop-demo__views { aspect-ratio: auto; min-height: 300px; }
  .stack-card__panel, .stack-card--reverse .stack-card__panel { margin: 0; padding: 32px; }
  .about { grid-template-columns: 1fr; }
  .about__visual { order: -1; padding: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .main-nav, .header-actions .lang-switch, .header-actions .btn--primary { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    top: 64px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 32px;
    gap: 32px;
    overflow-y: auto;
  }
  .main-nav.is-open .main-nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .main-nav.is-open .main-nav__list a { font-size: 20px; }
  .main-nav.is-open > .lang-switch { display: flex; }

  /* The header-height trick (and its underline) is a desktop-only detail
     — the mobile menu is a full-screen stacked list, not a single-row
     header, so every item just goes back to plain block stacking. Without
     this, .main-nav__list > li's own display:flex (needed on desktop to
     center each label in its 64px-tall box) outranks the plainer
     .nav-dropdown { display:block } below on specificity alone (a class
     beats a class only when combined with an element selector), and the
     accordion's submenu ends up sitting beside "Entreprise" instead of
     under it. */
  .main-nav__list > li { height: auto; display: block; }
  .main-nav__list > li::after { display: none; }

  /* Dropdown becomes an inline accordion in the full-screen mobile menu —
     a floating absolute panel would make no sense over a full-screen
     overlay that's already scrollable. */
  .nav-dropdown { width: 100%; }
  .nav-dropdown__trigger { font-size: 20px; opacity: 1; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 14px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
  }
  .nav-dropdown.is-open .nav-dropdown__menu { max-height: 260px; }
  .nav-dropdown__menu a { font-size: 17px; padding: 10px 0 10px 4px; color: var(--ink); }

  .hero { padding: 100px 0 60px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .section { padding: 80px 0; }
  .section--tight { padding-top: 16px; }
  .page-hero { padding: 64px 0 0; }
  .page-hero--tight { padding: 90px 0 12px; }
  .section--hero-gap { padding-top: 64px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
