/* ==========================================================
   Design tokens
   ========================================================== */
:root {
  --bg: #111111;
  --bg-deep: #0d0d0d;
  --surface: #1c1c1c;
  --surface-2: #222222;
  --line: #2a2a2a;
  --text: #ffffff;
  --text-soft: #d9d9d9;
  --muted: #8c8c8c;
  --dim: #3a3a3a;
  --purple: #7655f2;
  --purple-deep: #6248d6;
  --purple-ink: #2d1f6e;
  --lime: #eef6b3;
  --navy: #020c3e;
  --gold: #f6b42c;

  --font: "Satoshi", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 68px);
  --container: 1230px;
  --inset: clamp(0px, 2.4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.inset { padding-inline: var(--inset); }
.section { padding-block: var(--section); }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow--muted { color: var(--muted); }

.display-xl { font-size: clamp(48px, 7vw, 96px); line-height: 1.18; font-weight: 500; letter-spacing: -.02em; }
.display-l  { font-size: clamp(40px, 5.3vw, 72px); line-height: 1.16; font-weight: 400; letter-spacing: -.02em; }
.display-m  { font-size: clamp(34px, 4.7vw, 64px); line-height: 1.25; font-weight: 400; letter-spacing: -.015em; }
.heading    { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22; font-weight: 400; letter-spacing: -.01em; }
.accent     { color: var(--purple); }
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--text-soft); }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  border: 0; cursor: pointer;
  background: var(--purple); color: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 28px;
  font-size: 16px; font-weight: 500;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--purple-deep); }
.btn__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: #111;
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(3px) rotate(-45deg); }
.btn--plain { padding: 13px 28px; background: var(--purple-deep); }
.btn--plain:hover { background: var(--purple); }

.circle-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  border: 1px solid #fff; color: #fff; background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.circle-arrow--solid { width: 36px; height: 36px; background: #fff; color: #111; border: 0; }
.circle-arrow svg { width: 18px; height: 18px; }

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease);
}
.header.is-scrolled { background: rgba(17, 17, 17, .82); backdrop-filter: blur(14px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.brand svg { width: 36px; height: 36px; --mark-dot: var(--lime); }
/* ==========================================================
   Liquid NEX mark (.lmark): the N jumps and spins while it empties to white, lands with two small bounces,
   then two violet waves rise inside it until it is full; the lime dot pops at the end.
   - Header (.lmark--loop): loops forever, slow fluid fill.
   - Every other mark: plays once, faster, each time it scrolls into view (script.js adds .is-play).
   Without animation (reduced motion, or before it plays) the mark shows full violet.
   ========================================================== */
.lmark { overflow: visible; transform-origin: 50% 60%; }
.lmark__rise { transform: translateY(-11px); }
.lmark__dot { transform-box: fill-box; transform-origin: center; }
/* Header: a 50 s cycle — the jump keeps its normal speed (~2 s), then the N fills very slowly (~45 s) */
.lmark--loop { animation: lmarkJumpSlow 50s linear infinite; }
.lmark--loop .lmark__rise { animation: lmarkRiseSlow 50s linear infinite; }
.lmark--loop .lmark__dot { animation: lmarkDotSlow 50s linear infinite; }
.lmark.is-play { animation: lmarkJump 3.2s linear both; }
.lmark.is-play .lmark__rise { animation: lmarkRise 3.2s linear both; }
.lmark.is-play .lmark__dot { animation: lmarkDot 3.2s linear both; }
.lmark--loop .lmark__wave, .lmark.is-play .lmark__wave { animation: lmarkWave 1.7s linear infinite; }
.lmark--loop .lmark__back, .lmark.is-play .lmark__back { animation: lmarkWave 2.4s linear infinite reverse; }
@keyframes lmarkJump {
  0%       { transform: perspective(400px) translateY(0) rotateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  9%       { transform: perspective(400px) translateY(-16px) rotateY(180deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  17%      { transform: perspective(400px) translateY(0) rotateY(360deg); animation-timing-function: ease-out; }
  21%      { transform: perspective(400px) translateY(-6px) rotateY(360deg); animation-timing-function: ease-in; }
  25%      { transform: perspective(400px) translateY(0) rotateY(360deg); animation-timing-function: ease-out; }
  28%      { transform: perspective(400px) translateY(-2px) rotateY(360deg); animation-timing-function: ease-in; }
  31%, to  { transform: perspective(400px) translateY(0) rotateY(360deg); }
}
/* Liquid level: drains while the N is in the air, rises slowly and smoothly once it has landed, then stays full */
@keyframes lmarkRise {
  0%       { transform: translateY(-11px); animation-timing-function: ease-in; }
  14%, 27% { transform: translateY(40px); animation-timing-function: cubic-bezier(.3, .15, .5, .95); }
  80%, to  { transform: translateY(-11px); }
}
@keyframes lmarkWave { from { transform: translateX(-40px); } to { transform: translateX(0); } }
/* Same moves as lmarkJump / lmarkRise / lmarkDot, re-timed for the 50 s header cycle */
@keyframes lmarkJumpSlow {
  0%         { transform: perspective(400px) translateY(0) rotateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  1.1%       { transform: perspective(400px) translateY(-16px) rotateY(180deg); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  2.05%      { transform: perspective(400px) translateY(0) rotateY(360deg); animation-timing-function: ease-out; }
  2.5%       { transform: perspective(400px) translateY(-6px) rotateY(360deg); animation-timing-function: ease-in; }
  3%         { transform: perspective(400px) translateY(0) rotateY(360deg); animation-timing-function: ease-out; }
  3.35%      { transform: perspective(400px) translateY(-2px) rotateY(360deg); animation-timing-function: ease-in; }
  3.7%, to   { transform: perspective(400px) translateY(0) rotateY(360deg); }
}
@keyframes lmarkRiseSlow {
  0%           { transform: translateY(-11px); animation-timing-function: ease-in; }
  1.7%, 3.3%   { transform: translateY(40px); animation-timing-function: cubic-bezier(.4, .1, .6, .95); }
  93.5%, to    { transform: translateY(-11px); }
}
@keyframes lmarkDotSlow {
  0%, 93.5%  { transform: none; }
  95%        { transform: translateY(-3px) scale(1.3); animation-timing-function: ease-in; }
  96.5%      { transform: scale(.92); animation-timing-function: ease-out; }
  98%, to    { transform: none; }
}
@keyframes lmarkDot {
  0%, 78%  { transform: none; }
  84%      { transform: translateY(-3px) scale(1.3); animation-timing-function: ease-in; }
  90%      { transform: scale(.92); animation-timing-function: ease-out; }
  96%, to  { transform: none; }
}
.brand__name { font-size: 26px; font-weight: 700; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; opacity: .92; transition: opacity .2s; }
.nav__link:hover { opacity: 1; color: var(--lime); }
.nav__link svg { width: 12px; height: 12px; }
/* Services dropdown (click to open; also opens on hover with a mouse on desktop) */
.nav__item { position: relative; }
.nav__drop-toggle { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.nav__drop-toggle svg { transition: transform .25s var(--ease); }
.nav__item.is-open .nav__drop-toggle svg { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 16px); left: -18px; z-index: 60; min-width: 220px; padding: 8px;
  display: flex; flex-direction: column; background: #141414; border: 1px solid #2a2a2a; border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.nav__dropdown a { padding: 14px 16px; border-radius: 6px; font-size: 16px; color: #e6e6e6; white-space: nowrap; transition: background .2s, color .2s; }
.nav__dropdown a:hover, .nav__dropdown a:focus-visible { background: #1f1f1f; color: var(--lime); }
.nav__item.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1181px) {
  .nav__item--drop:hover .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav__item--drop:hover .nav__drop-toggle svg { transform: rotate(180deg); }
}.nav__phone { color: #8e74ff; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; min-height: min(100vh, 1000px); display: flex; align-items: center; overflow: hidden; padding-top: 96px; }
.hero__content { position: relative; z-index: 2; max-width: min(62vw, 860px); }
.hero__title { max-width: none; font-size: clamp(36px, 5.4vw, 76px); line-height: 1.14; text-wrap: balance; }
/* Hero highlight: violet marker bar that draws in after the title reveals */
.hl {
  background: linear-gradient(var(--purple), var(--purple)) no-repeat 0 100% / 0% .15em;
  padding-bottom: .02em;
  transition: background-size .9s var(--ease) .6s;
}
.hero__title.is-visible .hl { background-size: 100% .15em; }
.hero__sub { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; color: var(--text-soft); }
.hero__cta { margin-top: 40px; font-size: 17px; padding-left: 30px; }
.hero__shapes { position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2)); top: calc(50% + 48px); width: min(40vw, 540px, calc((100vh - 120px) * 0.699)); aspect-ratio: 510 / 730; height: auto; transform: translateY(-50%); z-index: 1; }
.hero__shapes .shape { transform-box: fill-box; transform-origin: center; }
.hero__shapes .parallax { transform-box: fill-box; transform-origin: center; will-change: transform; transition: transform .25s ease-out; }
/* Bottom fade: as the shapes drift down on scroll they dissolve into the background instead of being cut by the hero's edge.
   Sits above the shapes (z 1, later in paint order) but below the text (z 2); script.js fades it in with --fade as you scroll. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 72px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0), var(--bg) 92%);
  opacity: var(--fade, 0);
}
.hero__shapes .s1 { animation: drift 9s var(--ease) infinite alternate; }
.hero__shapes .s2 { animation: drift 11s var(--ease) infinite alternate-reverse; }
.hero__shapes .s3 { animation: pulse 7s var(--ease) infinite alternate; }
@keyframes drift { to { transform: translate(-10px, 14px) rotate(-4deg); } }
@keyframes pulse { to { transform: translate(-8px, -10px) scale(.94); } }

/* ==========================================================
   Welcome
   ========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 120px); }
.welcome .eyebrow { margin-bottom: 28px; }
/* Heading and body share one top line: the text starts level with the heading's first line */
.welcome__grid { align-items: start; }
.welcome__text { padding-top: .55em; }
.welcome__text p:first-child { margin-top: 0; }

/* ==========================================================
   Partners
   ========================================================== */
.partners { border-bottom: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.partners .eyebrow { margin-bottom: clamp(48px, 6vw, 88px); }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 34px; column-gap: 24px; align-items: center; }
.logo-grid img { width: 100%; max-width: 220px; margin-inline: auto; mix-blend-mode: lighten; opacity: .92; transition: opacity .3s; }
.logo-grid img:hover { opacity: 1; }

/* Placeholder partner wordmarks (monochrome, swap for real client logos). Sizes are in em so one font-size scales the whole mark. */
.pl { display: flex; align-items: center; justify-content: center; gap: .42em; min-height: 104px; font-size: 24px; color: #e6e6e6; opacity: .85; transition: opacity .3s, color .3s; }
.pl:hover { opacity: 1; color: #fff; }
/* Partner logos appear row by row as the grid scrolls into view (script.js adds .is-in, one row after the other) */
.logo-grid .pl { opacity: 0; transform: translateY(28px) scale(.96); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), color .3s; }
.logo-grid .pl.is-in { opacity: .85; transform: none; filter: none; }
.logo-grid .pl.is-in:hover { opacity: 1; }
.pl__icon { width: 1.17em; height: 1.17em; flex: none; }
.pl__stack { display: flex; flex-direction: column; line-height: 1; gap: .17em; }
.pl__name { font-size: 1em; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.pl__name b { font-weight: 700; }
.pl__tag { font-size: .42em; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #a8a8a8; }
.pl--bold { font-weight: 700; letter-spacing: -.03em; }
.pl--medium { font-weight: 500; font-size: 1.08em; }
.pl--light { font-weight: 300; }
.pl--serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.08em; letter-spacing: 0; }
.pl--serif em { font-style: normal; color: #a8a8a8; }
.pl--caps { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8em; }
.pl--wide { font-weight: 300; letter-spacing: .42em; font-size: 1.08em; padding-left: .42em; }
.pl--mono { font-family: "Consolas", "SFMono-Regular", Menlo, monospace; font-size: .84em; letter-spacing: -.02em; }
.pl--clash { font-family: "Clash Display", var(--font); }
.pl--cabinet { font-family: "Cabinet Grotesk", var(--font); }
.pl--gambetta { font-family: "Gambetta", Georgia, "Times New Roman", serif; letter-spacing: 0; }
.pl__stack--center { align-items: center; }
.pl__stack > .pl__name { width: fit-content; }
.pl__tag { white-space: nowrap; }
.pl__rule { width: 2.2em; height: 1px; background: currentColor; opacity: .6; margin-bottom: .25em; }
.pl__spark { position: absolute; top: -.15em; right: -.55em; width: .38em; height: .38em; }
.pl__sep { width: 1px; height: 1.3em; background: currentColor; opacity: .35; flex: none; }
.pl__dot { display: inline-block; width: .2em; height: .2em; margin-left: .06em; border-radius: 50%; background: currentColor; vertical-align: baseline; }

/* ==========================================================
   Work
   ========================================================== */
.work__title { text-align: center; max-width: 25ch; margin: 0 auto clamp(48px, 6vw, 80px); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: clamp(16px, 5.5vw, 75px); }
.work-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 400 / 518; background: var(--surface); isolation: isolate; }
.work-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent); z-index: 1; }
.work-card:hover img { transform: scale(1.05); }
.work-card__bar { position: absolute; inset: auto 24px 22px 24px; display: flex; align-items: center; justify-content: space-between; z-index: 2; font-size: 20px; font-weight: 500; }
.work-card:hover .circle-arrow--solid { background: var(--lime); }

/* ==========================================================
   Services
   ========================================================== */
.services__head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.services__head .display-l { font-weight: 500; }
.services__sub { margin-top: 28px; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); max-width: 64ch; margin-inline: auto; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
  position: relative; isolation: isolate;
  background: var(--surface); border-radius: 10px;
  padding: 32px 24px 24px; min-height: 380px;
  display: flex; flex-direction: column;
}
/* Hover: violet fill fades in (deeper violet toward the bottom), icon flips to lime, arrow becomes a lime ↗ button that rises */
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple) 48%, #3d2a9e 100%);
  opacity: 0; transition: opacity .55s var(--ease);
}
.service-card:hover::before, .service-card:focus-within::before, .service-card.is-active::before { opacity: 1; }
.service-card:hover .service-card__icon, .service-card:focus-within .service-card__icon, .service-card.is-active .service-card__icon { color: var(--lime); }
.service-card:hover p, .service-card:focus-within p, .service-card.is-active p { color: #fff; }
.service-card .circle-arrow { transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease); }
.service-card .circle-arrow svg { transition: transform .45s var(--ease); }
.service-card:hover .circle-arrow, .service-card:focus-within .circle-arrow, .service-card.is-active .circle-arrow { background: var(--lime); border-color: var(--lime); color: #111; transform: translateY(-14px); }
.service-card:hover .circle-arrow svg, .service-card:focus-within .circle-arrow svg, .service-card.is-active .circle-arrow svg { transform: rotate(-45deg); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
/* Square cards: at least as tall as they are wide (they only grow if the text needs it) */
.service-card { container-type: inline-size; --icon: 56px; min-height: 0; min-width: 0; aspect-ratio: 1; }
/* Bold title scales with the card so the longest one ("Référencement IA", ~8em wide in bold) stays on one line beside the icon */
.service-card h3 { font-size: clamp(30px, 3vw, 42px); font-size: clamp(20px, calc((100cqi - var(--icon) - 16px) / 8.2), 42px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; white-space: nowrap; }
.service-card__icon { width: var(--icon); height: var(--icon); flex: none; color: var(--purple); transition: color .2s ease; }
.service-card p { color: #d4d4d4; font-size: 18.5px; line-height: 1.45; transition: color .45s var(--ease); }
.service-card__body { flex: 1; display: flex; flex-direction: column; gap: 28px; }
.service-card__body .circle-arrow { margin-top: auto; }

/* ==========================================================
   Statement rows (one agency / one funnel / awards)
   ========================================================== */
.statement { display: grid; grid-template-columns: minmax(0, 336px) 1fr; gap: 0 32px; align-items: start; }
.statement .eyebrow { padding-top: 14px; }
.statement__title { max-width: 26ch; }
/* Wide variant: narrower label column and a longer heading line, so the heading runs wider and takes fewer lines */
.statement--wide { grid-template-columns: minmax(0, 220px) 1fr; }
.statement--wide .statement__title { max-width: 40ch; text-wrap: pretty; }
.ws-approach__title { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.18; }

.agency__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 9vw, 140px); align-items: center; margin-top: clamp(80px, 10vw, 145px); }
.team-photo { border-radius: 50% 10px 10px 50% / 100% 10px 10px 100%; overflow: hidden; aspect-ratio: 511 / 349; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.funnel-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 48px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.funnel { width: 100%; max-width: 580px; overflow: visible; }
.funnel text { font-family: var(--font); }
.funnel .tier { transform-box: fill-box; transform-origin: center; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.funnel.is-visible .tier { opacity: 1; transform: none; }
.funnel.is-visible .tier:nth-of-type(2) { transition-delay: .12s; }
.funnel.is-visible .tier:nth-of-type(3) { transition-delay: .24s; }
.funnel.is-visible .tier:nth-of-type(4) { transition-delay: .36s; }
.funnel.is-visible .tier:nth-of-type(5) { transition-delay: .48s; }
.funnel-wrap .prose { color: #fff; font-size: 18px; line-height: 1.6; text-wrap: pretty; }

.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; margin-top: clamp(56px, 7vw, 96px); }
.award { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 120px; }
.award svg.laurel { width: 54px; height: 116px; flex: none; color: #fff; }
.award svg.laurel--r { transform: scaleX(-1); }
.award__text { text-align: center; line-height: 1.08; text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.award__text .q { display: block; font-weight: 500; font-size: 11px; margin-bottom: 6px; color: var(--text-soft); }
.award__text .brand-line { display: block; font-size: 18px; color: var(--gold); letter-spacing: 0; }
.award__text .win { display: block; font-size: 18px; color: #f7d33b; letter-spacing: 0; }
.award__text .cat { display: block; margin-top: 7px; padding-top: 6px; border-top: 1px solid #555; font-size: 12px; }
.award__text sup { font-size: .6em; vertical-align: .55em; line-height: 0; text-transform: none; }
.award__text .yr { color: #f7d33b; }
/* Badges + CTA form one block as wide as the badges, so the CTA sits centered beneath them */
.awards__block { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; }
.awards__block .award-grid { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 56px; }
.awards .btn { margin-top: 72px; }
.awards { padding-bottom: calc(var(--section) * .55); }

/* ==========================================================
   Testimonials
   ========================================================== */
.testimonials__title { text-align: center; max-width: 44ch; margin: 0 auto clamp(80px, 12vw, 200px); }
/* Testimonials carousel: 3 cards visible, slides one card at a time (see script.js). The row never scrolls vertically. */
.quotes {
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  overflow: hidden; container-type: inline-size;
}
.quote-track { display: flex; gap: 24px; width: max-content; transition: transform .8s var(--ease); }
.quote-nav { display: flex; gap: 8px; margin-top: 32px; }
.quote-nav button { cursor: pointer; }
.quote-nav button:hover { background: #fff; color: #111; }
.quote-card { flex: 0 0 calc((100cqi - 48px) / 3); background: var(--surface); border-radius: var(--radius-sm); padding: 32px 30px 30px; display: flex; flex-direction: column; min-height: 560px; }
.quote-card blockquote { margin: 0; font-size: clamp(19px, 1.75vw, 24px); line-height: 1.5; }
/* Round photo slot: shows the client's initials until a photo file exists (the img removes itself on error) */
.avatar { position: relative; display: grid; place-items: center; width: 124px; height: 124px; flex: none; margin-bottom: 28px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--purple), #3d2a9e); }
.avatar::before { content: attr(data-initials); font-size: 30px; font-weight: 500; letter-spacing: .02em; color: #fff; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-card footer { margin-top: auto; padding-top: 48px; font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.quote-card footer strong { font-size: 16.5px; }
.quote-card footer strong { display: block; color: #c4c4c4; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }

/* ==========================================================
   FAQ (two independent accordion columns)
   ========================================================== */
.faq__title { margin-bottom: clamp(40px, 5vw, 72px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: start; }
.faq__col { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid #333; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-size: 17px; line-height: 1.45; color: #cfcfcf; transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: #fff; }
.faq-item summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
/* Thin "+" that turns into "×" when the item is open */
.faq-item__icon { position: relative; width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.4px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 48px 36px 0; color: #a3a3a3; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.faq-item__body p + p { margin-top: 16px; }
.faq-item[open] .faq-item__body { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
/* ==========================================================
   Contact
   ========================================================== */
.contact__title { text-align: center; color: #3f3f3f; font-weight: 400; margin-bottom: clamp(48px, 6vw, 72px); }
.contact-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px) clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.contact-card__left .heading { max-width: 14ch; margin-bottom: 48px; }
.office-photo { width: min(385px, 100%); aspect-ratio: 385 / 257; border-radius: 10px; overflow: hidden; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.contact-card__mark { width: 64px; margin-top: 48px; color: var(--purple); --mark-dot: var(--lime); }
/* Left column runs the full height of the form: the mark sits at the bottom, level with the "Envoyer" button */
.contact-card__left { display: flex; flex-direction: column; }
.contact-card__left .contact-card__mark { margin-top: auto; margin-bottom: -8px; padding-top: 40px; box-sizing: content-box; }
/* Between the heading and the mark: service chips (pre-fill the message) and the three next steps */
.cc-extra { display: grid; gap: 40px; max-width: 500px; }
.cc-need__label { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border: 1px solid #3a3a3a; border-radius: 999px; background: transparent; font-size: 16px; color: #e6e6e6; cursor: pointer; transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.cc-chip svg { width: 16px; height: 16px; flex: none; color: var(--purple); transition: color .35s var(--ease), transform .5s var(--ease); }
.cc-chip:hover { border-color: var(--purple); transform: translateY(-2px); }
.cc-chip:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.cc-chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.cc-chip[aria-pressed="true"] svg { color: var(--lime); transform: rotate(90deg); }
.cc-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
/* Track behind the numbers, with a lime fill that follows the active step */
.cc-steps::before, .cc-steps::after { content: ""; position: absolute; left: 17px; top: 18px; width: 1px; }
.cc-steps::before { bottom: 18px; background: #333; }
.cc-steps::after { height: calc((100% - 36px) * var(--p, 0)); background: var(--lime); transition: height .8s var(--ease); }
.cc-steps li { display: flex; align-items: center; gap: 16px; font-size: 16px; line-height: 1.4; color: #8f8f8f; transition: color .5s var(--ease); }
.cc-steps li span { position: relative; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; flex: none; border: 1px solid #444; border-radius: 50%; background: var(--surface); font-size: 13px; font-weight: 600; color: #bdbdbd; transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease); }
.cc-steps li.is-on { color: #fff; }
.cc-steps li.is-on span { background: var(--purple); border-color: var(--purple); color: #fff; transform: scale(1.08); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 18px; }
.field input, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid #555; border-radius: 0;
  padding: 12px 16px; font-size: 14px; outline: none; transition: border-color .25s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9d9d9d; }
.field input:focus, .field textarea:focus { border-color: var(--purple); }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.form__status { color: var(--lime); font-size: 15px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
/* Anti-spam field: off screen for people, filled in only by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--bg-deep); padding-block: 72px 40px; font-size: 15px; color: var(--muted); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer h4 { margin: 0 0 16px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; flex-wrap: wrap; }

/* ==========================================================
   Motion
   ========================================================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.scrub .w { color: var(--dim); transition: color .25s linear; }
.sp-contact .scrub .w:not(.on) { color: #3d3d3d; }
.scrub .w.on { color: inherit; }
.contact__title.scrub .w.on { color: #fff; }
.services__head .scrub .w.on { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .scrub .w { color: inherit; }
  .funnel .tier { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header.menu-open .nav {
    display: flex; position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 22px; padding: 28px var(--gutter) 36px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 20px;
  }
  .nav__dropdown { position: static; display: none; min-width: 0; margin-top: 10px; padding: 0 0 0 14px; background: none; border: 0; border-left: 1px solid #2a2a2a; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a { padding: 10px 12px; font-size: 18px; }
  .nav__item.is-open .nav__dropdown { display: flex; }  .header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header__inner { height: 80px; }
  .pl { font-size: 19px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .split, .agency__media, .funnel-wrap, .contact-card, .statement { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq-item__body { padding-right: 0; }
  .statement .eyebrow { margin-bottom: 20px; padding-top: 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .pl { font-size: 22px; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-card { flex-basis: 78cqi; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .hero__shapes { position: relative; top: auto; right: auto; width: min(44vw, 240px); align-self: flex-end; margin-top: 40px; transform: none; }
  .hero__content { margin-top: min(10vh, 72px); max-width: none; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .work-grid, .award-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .awards__block { width: 100%; }
  .awards__block .award-grid { grid-template-columns: 1fr; }
  .service-card:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 1; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .pl { font-size: 16px; min-height: 76px; }
  .form { grid-template-columns: 1fr; }
  .quote-card { flex-basis: 88cqi; min-height: 480px; padding: 26px 24px 24px; }
  .service-card { --icon: 40px; }

  .footer__top { grid-template-columns: 1fr; }
  .hero__shapes { width: 48vw; }
  /* CTA stays on one line: the text (~18.1em wide) shrinks just enough to fit beside the icon */
  .hero__content { container-type: inline-size; }
  .hero__cta { white-space: nowrap; font-size: min(15px, calc((100cqi - 70px) / 18.3)); padding-left: 18px; gap: 8px; }
}

@media (max-width: 380px) {
  .pl { font-size: 14px; }
}

/* ==========================================================
   Service page (seo-local.html)
   ========================================================== */
.sp-divider { border-top: 1px solid var(--line); }
.sp-hero { padding: 200px 0 clamp(80px, 10vw, 140px); }
.sp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sp-hero__title { font-size: clamp(76px, 12vw, 168px); line-height: .92; font-weight: 500; letter-spacing: -.035em; color: var(--purple); }
.sp-hero__cta { margin-top: 48px; }
.sp-hero__title--line { white-space: nowrap; font-size: clamp(54px, 8vw, 116px); line-height: 1; }
.ai-orbit .sp-orbit__center { top: 63%; }
.ai-orbit .sp-orbit__center strong { font-size: clamp(42px, 4.4vw, 60px); }
.sp-hero__lead { font-size: 17px; line-height: 1.5; text-transform: uppercase; color: #e6e6e6; max-width: 46ch; }

.sp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 64px); }
.sp-split--center { align-items: center; }
.sp-prose { color: #ececec; font-size: 18px; line-height: 1.5; }
.sp-prose p + p { margin-top: 1.4em; }
.sp-big { margin-bottom: clamp(40px, 5vw, 64px); max-width: 24ch; }
.sp-center { text-align: center; max-width: 28ch; margin: 0 auto clamp(48px, 6vw, 80px); }

.sp-intro .statement { margin-bottom: clamp(48px, 6vw, 96px); }
.sp-intro__body { align-items: center; }
.sp-orb svg { width: 100%; max-width: 560px; display: block; }

.sp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sp-pillar { position: relative; overflow: hidden; isolation: isolate; background: var(--purple); border-radius: 6px; padding: 32px 24px 40px; color: #fff; }
/* Hover (mirror of the home "Nos services" cards): the site's dark surface fades in over the violet card */
.sp-pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1f1f1f 0%, #1c1c1c 52%, #141414 100%); opacity: 0; transition: opacity .55s var(--ease); }
.sp-pillar p { transition: color .45s var(--ease); }
.sp-pillar:hover::before, .sp-pillar:focus-within::before, .sp-pillar.is-active::before { opacity: 1; }
.sp-pillar:hover p, .sp-pillar:focus-within p, .sp-pillar.is-active p { color: var(--text-soft); }
.sp-pillar__icon { width: 80px; height: 80px; margin-bottom: 36px; }
.sp-pillar h3 { font-size: 28px; font-weight: 400; margin-bottom: 28px; }
.sp-pillars--bold .sp-pillar h3 { font-size: 31px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.sp-pillar p { font-size: 17px; line-height: 1.6; }

.sp-stats svg { width: 100%; max-width: 560px; display: block; margin-left: auto; font-family: var(--font); }
.sp-source { margin-top: 12px; text-align: right; font-size: 13px; color: var(--muted); }
.sp-gbp { margin-top: clamp(64px, 8vw, 120px); }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 18px; color: #ececec; }
.sp-list li { position: relative; padding-left: 20px; }
.sp-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.sp-sub h3 { font-size: 28px; font-weight: 400; margin-bottom: 24px; }
.sp-sub p { font-size: 18px; line-height: 1.5; color: #ececec; }
.sp-sub p + p { margin-top: 1.3em; }
.sp-split .sp-sub { margin-top: clamp(40px, 6vw, 96px); }

.sp-process .container { display: flex; flex-direction: column; }
.sp-mark { display: block; width: 84px; height: 84px; color: var(--purple); margin: 0 auto 24px; --mark-dot: var(--lime); }
.sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sp-steps--3 { grid-template-columns: repeat(3, 1fr); }
.sp-step { background: var(--surface-2); border-radius: 8px; padding: 32px 24px 40px; display: flex; flex-direction: column; }
.sp-step__num { font-size: clamp(74px, 8vw, 120px); line-height: .9; font-weight: 900; color: var(--purple); letter-spacing: -.035em; margin-bottom: 32px; }
.sp-step h3 { font-size: 26px; font-weight: 500; margin-bottom: 28px; }
/* Four-column steps: titles shrink just enough for "Lancer & faire grandir" to stay on one line */
.sp-steps:not(.sp-steps--3) .sp-step { container-type: inline-size; }
.sp-steps:not(.sp-steps--3) .sp-step h3 { font-size: min(26px, calc(100cqi / 10.6)); }
.sp-step__title--line { white-space: nowrap; }
.sp-step p { font-size: 17px; line-height: 1.6; color: #ececec; }
.sp-step__more { margin-top: auto; padding-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--lime); font-size: 15px; }
.sp-step__more-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--lime); color: #111; display: grid; place-items: center; }
.sp-journey { margin-top: 16px; background: #3d3d3d; border-radius: 8px; padding: 36px 24px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 40px; align-items: center; }
.sp-journey h3 { font-size: 26px; font-weight: 500; margin-bottom: 24px; }
.sp-journey p { font-size: 17px; line-height: 1.6; color: #ececec; }
.sp-journey__arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: #111; display: grid; place-items: center; }

.sp-tools__title { margin-bottom: 32px; }
.sp-tools__lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.6; color: #ececec; }
.sp-tools { background: #f2f2f2; color: #2a2a2a; border-radius: 8px; padding: 40px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; align-items: center; font-size: 20px; }
.sp-tools span:nth-child(even) { text-align: right; }

.sp-services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 64px); }

.sp-contact { grid-template-columns: 1fr 1.25fr; padding: clamp(32px, 5vw, 64px) clamp(20px, 2.4vw, 32px); }
.sp-contact__title { grid-column: 1 / -1; font-size: clamp(48px, 7vw, 104px); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.sp-contact .contact-card__left .heading { max-width: 16ch; }
.sp-contact .office-photo { margin-bottom: 8px; }

.sp-footer { margin-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.sp-footer .sp-footer__word { font-size: clamp(120px, 30vw, 420px); line-height: .8; font-weight: 500; letter-spacing: -.05em; color: var(--purple); text-align: center; margin-bottom: -.08em; }
.sp-footer__panel { position: relative; background: var(--surface); border-radius: 50% 50% 0 0 / clamp(60px, 12vw, 200px) clamp(60px, 12vw, 200px) 0 0; padding: clamp(72px, 9vw, 120px) 0 40px; }
.sp-footer__badge { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.sp-footer__badge svg { width: 44px; height: 44px; color: var(--purple); --mark-dot: var(--lime); }
.sp-footer__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.sp-footer h4 { margin: 0 0 28px; font-size: 20px; font-weight: 500; color: #fff; }
.sp-footer p, .sp-footer li { font-size: 16px; color: #a8a8a8; line-height: 1.55; }
.sp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-footer a:hover { color: #fff; }
.sp-footer__label { margin-top: 22px; color: #fff !important; }
.sp-footer__strong { color: #fff; font-weight: 700; }
.sp-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; font-size: 15px; color: #a8a8a8; }

/* Whole service card opens its detail page */
.service-card--link { cursor: pointer; }

@media (max-width: 1000px) {
  .sp-pillars { grid-template-columns: repeat(2, 1fr); }
  .sp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sp-hero { padding-top: 150px; }
  .sp-hero__grid, .sp-split, .sp-services, .sp-contact, .sp-footer__cols { grid-template-columns: 1fr; }
  .sp-split .sp-sub { margin-top: 24px; }
  .sp-journey { grid-template-columns: 1fr; gap: 20px; }
  .sp-journey__arrow { transform: rotate(90deg); }
  .sp-stats svg { margin: 0 auto; }
}
@media (max-width: 560px) {
  .sp-pillars, .sp-steps { grid-template-columns: 1fr; }
  .sp-tools { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .sp-tools span:nth-child(even) { text-align: center; }
  .sp-prose, .sp-sub p, .sp-list { font-size: 16px; }
}

/* ==========================================================
   AI SEO page (referencement-ia.html)
   ========================================================== */
.btn--outline { background: transparent; border: 1px solid #555; }
.btn--outline:hover { background: rgba(255,255,255,.06); }
.ai-hero { padding: 190px 0 clamp(72px, 9vw, 120px); }
.ai-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.ai-hero__title { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; color: var(--purple); }
.ai-hero__title em { font-style: italic; }
.ai-hero__lead { margin-top: 32px; max-width: 58ch; font-size: 16px; line-height: 1.55; text-transform: uppercase; color: #e6e6e6; }
.ai-hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.ai-orbit { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; margin-left: auto; }
.ai-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-orbit__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62%; text-align: center; }
.ai-orbit__center strong { display: block; font-size: clamp(56px, 6vw, 84px); line-height: 1; font-weight: 600; color: #6e8cff; background: linear-gradient(90deg, #7f8dff, #7655f2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ai-orbit__center span { display: block; margin-top: 12px; font-size: 15px; color: #8c8c8c; line-height: 1.5; }
.ai-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 12px; font-size: 13px; font-weight: 500; color: #d9d9d9; background: #17171d; border: 1px solid #2c2c38; border-radius: 6px; }
.ai-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.ai-chip--lime::before { background: var(--lime); }
.ai-stats { margin-top: clamp(72px, 9vw, 140px); display: grid; grid-template-columns: repeat(4, 1fr); }
.ai-stats > div { padding: 12px 32px 20px; border-left: 1px solid #3a3a3a; }
.ai-stats > div:last-child { border-right: 1px solid #3a3a3a; }
.ai-stats strong { display: block; font-size: clamp(36px, 3.4vw, 46px); line-height: 1.1; font-weight: 600; color: var(--purple); margin-bottom: 8px; }
.ai-stats strong.ai-lime { color: var(--lime); }
.ai-stats span { font-size: 15px; color: #8c8c8c; line-height: 1.5; }
.ai-note { margin-top: 20px; font-size: 13px; color: #6f6f6f; }

.ai-why { margin-top: clamp(48px, 6vw, 96px); align-items: center; }
.ai-callout { margin-top: 40px; padding: 22px 22px 24px; border: 1px solid #3b2f8a; border-radius: 6px; background: #1a1630; color: #ececec; font-size: 18px; line-height: 1.5; }
.ai-journey__label { font-size: 13px; text-transform: uppercase; color: #8c8c8c; margin-bottom: 10px; }
.ai-step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; margin-bottom: 10px; border-radius: 6px; border: 1px solid #3b2f8a; background: #16142a; }
.ai-step svg { width: 36px; height: 36px; flex: none; }
.ai-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.ai-step p { font-size: 14px; color: #bdbdbd; line-height: 1.5; }
.ai-step--old { border-color: #262626; background: transparent; opacity: .45; }
.ai-step--old svg { color: #9a8cf0; }
.ai-step--old h3 { font-weight: 400; }
.ai-journey__divider { display: flex; align-items: center; gap: 16px; margin: 18px 0 16px; font-size: 13px; text-transform: uppercase; color: #bdbdbd; }
.ai-journey__divider::before, .ai-journey__divider::after { content: ""; flex: 1; height: 1px; background: #3a3a3a; }

.ai-disciplines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ai-disc { background: #18181d; border: 1px solid #2a2a30; border-radius: 6px; padding: 40px; }
/* Title first, logo right after it on the same line */
.ai-disc__head { display: flex; align-items: center; gap: 22px; margin-bottom: 6px; }
.ai-disc__icon { width: 60px; height: 60px; flex: none; }
.ai-disc h3 { font-size: clamp(52px, 5.4vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.ai-disc__sub { margin: 4px 0 24px; font-size: 14px; color: #8c8c8c; }
.ai-disc > p:not(.ai-disc__sub) { font-size: 17px; line-height: 1.6; color: #ececec; }
.ai-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; font-size: 17px; color: #ececec; }
.ai-checks li { position: relative; padding-left: 22px; }
.ai-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }

.ai-adv-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 88px); }
.ai-adv-head .heading { margin-bottom: 28px; }
.ai-adv-head p { font-size: 17px; line-height: 1.6; color: #a8a8a8; }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ai-card { position: relative; overflow: hidden; isolation: isolate; background: var(--purple); border-radius: 6px; padding: 32px 24px 44px; color: #fff; }
.ai-card__num { display: block; font-size: clamp(76px, 7.8vw, 118px); line-height: .95; font-weight: 900; letter-spacing: -.035em; margin-bottom: 28px; }
.ai-card h3 { font-size: 26px; font-weight: 600; line-height: 1.3; margin-bottom: 24px; }
.ai-card p { font-size: 17px; line-height: 1.6; color: #f1eeff; }
/* Hover: same as the pillar cards, the site's dark surface fades in over the violet */
.ai-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1f1f1f 0%, #1c1c1c 52%, #141414 100%); opacity: 0; transition: opacity .55s var(--ease); }
.ai-card p { transition: color .45s var(--ease); }
.ai-card:hover::before, .ai-card:focus-within::before, .ai-card.is-active::before { opacity: 1; }
.ai-card:hover p, .ai-card:focus-within p, .ai-card.is-active p { color: var(--text-soft); }

.ai-platforms__title { max-width: 26ch; }
.ai-marquee { margin-top: clamp(48px, 6vw, 88px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ai-marquee__track { display: flex; gap: 20px; width: max-content; animation: aiMarquee 40s linear infinite; }
.ai-marquee__track span { flex: none; padding: 22px 34px; border: 1px solid #2c2c38; border-radius: 999px; background: #16161c; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; color: #f2f2f2; }
.ai-marquee__track span:nth-child(3n+1) { color: var(--lime); }
.ai-marquee__track span:nth-child(3n+2) { color: #9b84f5; }
@keyframes aiMarquee { to { transform: translateX(calc(-50% - 10px)); } }
.ai-contact__title { font-size: clamp(32px, 3.6vw, 48px); max-width: 15ch; }

@media (max-width: 1000px) {
  .ai-cards { grid-template-columns: repeat(2, 1fr); }
  .ai-stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .ai-stats > div:nth-child(2) { border-right: 1px solid #3a3a3a; }
}
@media (max-width: 860px) {
  .ai-hero { padding-top: 150px; }
  .ai-hero__grid, .ai-disciplines { grid-template-columns: 1fr; }
  .ai-orbit { margin: 24px auto 0; max-width: 380px; }
}
@media (max-width: 560px) {
  .ai-cards, .ai-stats { grid-template-columns: 1fr; }
  .ai-stats > div { border-right: 1px solid #3a3a3a; }
  .ai-disc { padding: 28px 22px; }
  .ai-chip { font-size: 11px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) { .ai-marquee__track { animation: none; flex-wrap: wrap; width: auto; } }

/* ==========================================================
   Websites page (sites-web.html)
   ========================================================== */
.ws-hero__lead { margin-top: 36px; }
.ws-gap { margin-top: clamp(48px, 6vw, 96px); }
.ws-mock { position: relative; width: 100%; max-width: 560px; aspect-ratio: 560 / 440; margin-left: auto; }
.ws-browser { position: absolute; left: 0; top: 4%; width: 84%; height: 78%; background: #1a1a1f; border: 1px solid #2c2c38; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.ws-browser__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #222229; border-bottom: 1px solid #2c2c38; }
.ws-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #444; }
.ws-browser__bar i:first-child { background: var(--purple); }
.ws-browser__bar i:nth-child(2) { background: var(--lime); }
.ws-browser__bar span { margin-left: 14px; padding: 4px 14px; border-radius: 999px; background: #17171c; font-size: 11px; color: #8c8c8c; }
.ws-browser__body { padding: 28px 28px; }
.ws-line { height: 9px; border-radius: 5px; background: #2e2e36; margin-bottom: 10px; width: 78%; }
.ws-line--title { height: 18px; width: 70%; background: var(--purple); margin-bottom: 12px; }
.ws-line--short { width: 46%; }
.ws-line--mid { width: 58%; }
.ws-pill { width: 120px; height: 28px; border-radius: 999px; background: var(--lime); margin: 18px 0 22px; }
.ws-pill--full { width: 100%; height: 24px; margin: 14px 0; }
.ws-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ws-tiles span { height: 70px; border-radius: 8px; background: #26262d; }
.ws-tiles span:nth-child(2) { background: #2f2654; }
.ws-phone { position: absolute; right: 0; bottom: 0; width: 34%; height: 76%; padding: 26px 14px 14px; background: #131317; border: 2px solid #34343f; border-radius: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.ws-phone__notch { position: absolute; left: 50%; top: 8px; width: 34%; height: 8px; transform: translateX(-50%); border-radius: 999px; background: #2a2a33; }
.ws-phone .ws-line { width: 90%; }
.ws-phone .ws-line--title { width: 80%; height: 14px; }
.ws-phone__card { height: 34%; border-radius: 10px; background: linear-gradient(135deg, var(--purple), #3d2a9e); }
.ws-badge { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: #17171d; border: 1px solid #2c2c38; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.ws-badge strong { font-size: 14px; color: #fff; }
.ws-badge span { font-size: 12px; color: #8c8c8c; }
.ws-badge::before { content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translateY(-50%); background: var(--lime); }
.ws-badge--a { left: 54%; top: 0; }
.ws-badge--b { left: -4%; bottom: 8%; }
.ws-badge--b::before { background: var(--purple); }
.sp-tools span:last-child:nth-child(odd) { grid-column: 1 / -1; text-align: center; }

@media (max-width: 860px) {
  .ws-mock { margin: 32px auto 0; max-width: 460px; }
}
@media (max-width: 560px) {
  .ws-badge--a { left: 40%; }
  .ws-badge--b { left: 0; }
  .ws-browser__body { padding: 18px; }
  .ws-tiles span { height: 44px; }
}

/* SEO local hero: text sits higher; local-search map illustration on the right */
.sp-hero--map { padding-top: 150px; }
.sp-hero--map .ai-hero__grid { align-items: start; }
/* Hero titles of the service pages: each line stays on one line, the size follows the text column.
   --fit = widest line in em ("Au-delà du classement." 10.26em, "Devant vos concurrents." 10.2em, "Un moteur à clients." 8.8em) + a margin */
.ai-hero__grid > :first-child { container-type: inline-size; }
.ai-hero__title { white-space: nowrap; font-size: min(62px, calc(100cqi / var(--fit, 10.6))); }
.ws-hero--center .ai-hero__title { --fit: 9.1; }
.sp-hero--map .ai-hero__grid > .reveal:first-child { padding-top: 56px; }
.lm { position: relative; width: 100%; max-width: 500px; margin-left: auto; background: #141418; border: 1px solid #2a2a33; border-radius: 16px; padding: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.lm__search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: #1e1e25; border: 1px solid #2c2c36; color: #d9d9d9; font-size: 15px; }
.lm__search svg { width: 18px; height: 18px; color: #8c8c8c; flex: none; }
.lm__search span { flex: 1; }
.lm__search i { width: 2px; height: 18px; background: var(--lime); animation: lmBlink 1s steps(1) infinite; }
@keyframes lmBlink { 50% { opacity: 0; } }
.lm__map { margin-top: 14px; border-radius: 10px; overflow: hidden; height: 190px; }
.lm__map svg { width: 100%; height: 100%; display: block; }
.lm__pulse { transform-box: fill-box; transform-origin: center; animation: lmPulse 2.4s ease-out infinite; }
@keyframes lmPulse { from { transform: scale(.4); opacity: .55; } to { transform: scale(1.6); opacity: 0; } }
.lm__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.lm__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: #1a1a20; border: 1px solid #24242c; opacity: .5; }
.lm__item div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lm__item strong { font-size: 15px; font-weight: 600; color: #fff; }
.lm__rank { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #2a2a33; font-size: 13px; font-weight: 600; }
.lm__stars { font-size: 13px; color: #8c8c8c; letter-spacing: .02em; }
.lm__stars b { color: #fff; font-weight: 600; }
.lm__meta { font-size: 12px; color: var(--lime); }
.lm__item--you { opacity: 1; background: #1b1830; border-color: var(--purple); animation: lmBuzz 3.8s ease-in-out 1.2s infinite; }
/* "Votre entreprise" buzzes like an incoming notification, rests, then buzzes again */
@keyframes lmBuzz {
  0%, 24%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(118, 85, 242, 0); }
  2%  { transform: translateX(-4px) rotate(-1.2deg); }
  4%  { transform: translateX(4px) rotate(1.2deg); box-shadow: 0 0 0 5px rgba(118, 85, 242, .28); }
  6%  { transform: translateX(-4px) rotate(-1deg); }
  8%  { transform: translateX(3px) rotate(.8deg); }
  10% { transform: translateX(-3px) rotate(-.6deg); }
  12% { transform: translateX(2px) rotate(.4deg); box-shadow: 0 0 0 9px rgba(118, 85, 242, .12); }
  14% { transform: translateX(-1px); }
  16% { transform: none; box-shadow: 0 0 0 12px rgba(118, 85, 242, 0); }
}
.lm__item--you .lm__rank { background: var(--purple); color: #fff; }
.lm__item--you .lm__stars { color: #f6c64a; }
.lm__call { padding: 8px 14px; border-radius: 999px; background: var(--lime); color: #111; font-size: 13px; font-weight: 600; }
.lm__badge { position: absolute; left: -48px; top: 96px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: #17171d; border: 1px solid #2c2c38; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.lm__badge strong { font-size: 15px; color: var(--lime); }
.lm__badge span { font-size: 12px; color: #8c8c8c; }
@media (max-width: 860px) {
  .sp-hero--map .ai-hero__grid > .reveal:first-child { padding-top: 0; }
  .lm { margin: 40px auto 0; }
  .lm__badge { left: auto; right: 12px; top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .lm__pulse, .lm__search i { animation: none; } }

/* Référencement IA hero: shorter title, text and orbit vertically centred together, sitting higher */
.ai-hero--ia { padding-top: 150px; }
.ai-hero--ia .ai-hero__grid { align-items: center; }
.ai-hero--ia .ai-orbit { margin-top: 0; max-width: 440px; }
@media (max-width: 860px) { .ai-hero--ia .ai-orbit { margin-top: 24px; } }
.ai-orbit__center strong.ai-rank sup { font-size: .38em; vertical-align: 1.35em; margin-left: .04em; letter-spacing: 0; }
.ai-hero--ia .ai-orbit__center span { color: #bdbdbd; font-size: 16px; }
/* AI hero ecosystem: the four platform chips circle slowly around the fixed "1er" centre, always staying upright.
   Each chip sits at its own start angle (--a); --spin turns them all together. */
@property --spin { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.ai-hero--ia .ai-orbit { container-type: inline-size; animation: aiSpin 48s linear infinite; --r: 46cqw; }
.ai-hero--ia .ai-orbit__center { width: 50%; z-index: 1; }
.ai-hero--ia .ai-chip {
  left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--spin))) translateX(var(--r)) rotate(calc(-1 * (var(--a) + var(--spin))));
}
@keyframes aiSpin { to { --spin: 360deg; } }
@media (max-width: 560px) { .ai-hero--ia .ai-orbit { --r: 39cqw; } }
/* Larger section headings on the AI page */
.heading.ai-big { font-size: clamp(32px, 4vw, 56px); line-height: 1.15; }
.ai-adv-head { max-width: 900px; }
/* Sites web hero: one-line title, text and mock-up vertically centred, sitting higher */
.ws-hero--center { padding-top: 150px; }
.ws-hero--center .sp-hero__grid { align-items: center; }
.ws-hero--center .ws-hero__lead { margin-top: 28px; }

/* ==========================================================
   FAQ page (faq.html)
   ========================================================== */
.faqp-hero { padding: 170px 0 clamp(40px, 5vw, 64px); }
.faqp-hero .eyebrow { margin-bottom: 20px; }
.faqp-hero__title { font-size: clamp(54px, 8vw, 116px); line-height: 1; font-weight: 500; letter-spacing: -.035em; color: var(--purple); }
.faqp-hero__lead { margin-top: 28px; max-width: 60ch; font-size: 17px; line-height: 1.55; text-transform: uppercase; color: #e6e6e6; }
.faqp-tabs { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.faqp-tabs a { padding: 12px 22px; border: 1px solid #333; border-radius: 999px; font-size: 15px; color: #e6e6e6; transition: background .25s, color .25s, border-color .25s; }
.faqp-tabs a:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.faqp { padding-top: 0; }
.faqp-group { padding-top: clamp(56px, 7vw, 96px); scroll-margin-top: 90px; }
.faqp-group + .faqp-group { border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.faqp-group__title { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.faqp-count { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: var(--surface); color: var(--lime); font-size: 16px; font-weight: 600; }
.nav__link[aria-current="page"] { color: var(--lime); }