/* =========================================================
   Amaury AC'H — site styles
   ========================================================= */

/* FONTS:start (auto-hébergées, variables, sous-ensemble latin) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-var.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-var-italic.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-var.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-var-italic.woff2') format('woff2'); }
/* FONTS:end */

:root {
  --ink: #10231B;
  --ink-soft: #0C1A14;
  --forest: #1B3A2D;
  --forest-dark: #0F241B;
  --yellow: #F5C518;
  --yellow-deep: #C9A200;
  --cream: #F7F5EF;
  --white: #FFFFFF;
  --sand: #EDEBE3;
  --paper: #FAFAF8;
  --paper-alt: #F2F1EE;
  --line: #E6E4DF;
  --body-text: #2C2C2C;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', Helvetica, Arial, sans-serif;
  --font-grotesk: 'Inter', Helvetica, Arial, sans-serif;
  --font-mono: 'Inter', Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- shared bits ---------- */
.accent-script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 600;
}
.accent-script--yellow { color: var(--yellow); font-family: var(--font-sans); font-style: italic; }
.accent-script--forest { color: var(--forest); }

.eyebrow-script {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 21px;
  color: var(--forest);
  opacity: .65;
}

.placeholder-copy { color: inherit; opacity: .8; }
.placeholder-tag {
  font-family: var(--font-grotesk);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  padding: 7px 12px;
}
.placeholder-inline {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: .55;
}

.link-underline { color: var(--ink); border-bottom: 1px solid var(--yellow); }
.link-underline-yellow { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--yellow); padding-bottom: 3px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--sand); color: var(--ink); box-shadow: 0 12px 26px rgba(0,0,0,.28); }

.btn--ghost-dark { background: rgba(237,235,227,.08); color: var(--sand); font-weight: 500; }
.btn--ghost-dark:hover { background: rgba(237,235,227,.16); color: var(--sand); box-shadow: 0 12px 26px rgba(0,0,0,.24); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-soft); color: var(--yellow); box-shadow: 0 12px 26px rgba(16,35,27,.18); }

.btn--dark-on-yellow { background: var(--ink); color: var(--yellow); padding: 18px 30px; }
.btn--dark-on-yellow:hover { background: var(--cream); color: var(--ink); box-shadow: 0 12px 26px rgba(16,35,27,.18); }

.btn--diag-hero {
  position: relative; gap: 12px;
  background: rgba(245,197,24,.06); color: var(--cream);
  border: 1px solid rgba(245,197,24,.5);
  padding: 17px 20px 17px 22px;
}
.btn--diag-hero:hover { background: rgba(245,197,24,.14); border-color: var(--yellow); color: var(--white); box-shadow: 0 12px 30px rgba(245,197,24,.18); }
.btn__pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; }
.btn__pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--yellow); animation: btnPulse 1.8s ease-out infinite; }
@keyframes btnPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.btn__chip { white-space: nowrap; flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 4px 9px; }
@media (prefers-reduced-motion: reduce) { .btn__pulse::after { animation: none; } }
@media (max-width: 520px) { .hero__actions .btn { width: 100%; justify-content: center; white-space: normal; } }
@media (max-width: 980px) { .hero__diag { display: none; } }

.btn--lg { padding: 21px 40px; border-radius: 14px; font-size: 16px; }

.btn--forest { background: var(--forest); color: var(--paper); padding: 12px 20px; border-radius: 10px; font-size: 14px; }
.btn--forest:hover { background: var(--forest-dark); color: var(--yellow); }

.btn--yellow-on-forest { display: inline-block; background: var(--yellow); color: var(--forest); padding: 18px 32px; border-radius: 10px; font-size: 16px; }
.btn--yellow-on-forest:hover { background: var(--paper); }

/* =========================================================
   HOME PAGE
   ========================================================= */
.page-home { background: var(--cream); }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16,35,27,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237,235,227,.14);
}
.site-header__inner {
  padding: 15px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header__logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--sand);
}
.site-header__logo .dot { color: var(--yellow); }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-header__nav a { color: var(--sand); opacity: .75; transition: opacity .2s ease, color .2s ease; }
.site-header__nav a:hover { color: var(--yellow); opacity: 1; }
.site-header__cta { padding: 11px 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle--light span { background: var(--forest); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* keyframes */
@keyframes slideX { from { transform: translateX(0); } to { transform: translateX(-16.6667%); } }
@keyframes bloom { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.12); opacity: .9; } }
@keyframes drift { 0% { transform: translateY(0); } 50% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: none; } }
@keyframes build { 0% { opacity: 0; transform: translateY(14px); } 100% { opacity: 1; transform: none; } }
/* hero */
.hero {
  background: var(--ink);
  color: var(--sand);
  position: relative;
  overflow: clip;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cpath d='M0 220 L60 220 L60 160 L120 160 L120 100 L180 100 L180 40 L260 40' fill='none' stroke='%23EDEBE3' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px;
  opacity: .035;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  right: 6%;
  top: 12%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.22), transparent 70%);
  animation: bloom 9s ease-in-out infinite;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 56px 44px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__tagline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--sand);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  opacity: .75;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--white);
  margin-bottom: 26px;
  text-wrap: pretty;
}
.hero__title-highlight { color: var(--yellow); font-family: var(--font-sans); font-style: italic; }
.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 34px;
  max-width: 660px;
  text-wrap: pretty;
}
.hero__highlight { color: var(--yellow); font-weight: 600; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* marquee */
.marquee {
  background: var(--ink);
  color: var(--sand);
  border-top: 1px solid rgba(237,235,227,.14);
  overflow: clip;
  padding: 22px 0;
}
.marquee__track { display: flex; width: max-content; animation: slideX 34s linear infinite; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 77px;
  padding-right: 77px;
  opacity: .8;
}
.marquee__logo { height: 38px; width: auto; display: block; }

/* shared eyebrow pill (light backgrounds) */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-grotesk);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  background: rgba(27,58,45,.08);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.accent-word { color: var(--yellow-deep); font-family: var(--font-sans); font-style: italic; }

/* stats-intro */
.stats-intro { background: var(--white); color: var(--ink); }
.stats-intro .wrap { padding: 140px 44px; }
.stats-intro__headline {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.18;
  letter-spacing: -.02em;
  text-align: center;
  color: var(--ink);
  max-width: 920px;
  margin: 0 auto 64px;
}
.stats-intro__headline .accent-word { color: var(--yellow-deep); }

/* stats-intro bento grid */
.stats-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 20px; }
.stats-bento__cell--4, .stats-bento__cell--reviews { align-self: start; }
.stats-bento__cell {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  min-width: 0;
  box-shadow: 0 18px 34px rgba(16,35,27,.06);
  display: flex;
  flex-direction: column;
}
.stats-bento__cell--1 { grid-column: 1; grid-row: 1; }
.stats-bento__cell--2 { grid-column: 2; grid-row: 1; }
.stats-bento__cell--4 { grid-column: 1; grid-row: 2; }
.stats-bento__cell--reviews {
  grid-column: 2 / span 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.stats-bento__reviews-main { display: flex; flex-direction: column; }
.stats-bento__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(27,58,45,.07);
  border: 1px solid rgba(27,58,45,.12);
  color: var(--forest);
  margin-bottom: 14px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.stats-bento__icon svg { width: 21px; height: 21px; }
.stats-bento__cell:not(.stats-bento__cell--cta) { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.stats-bento__cell:not(.stats-bento__cell--cta)::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(245,197,24,0));
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) {
  .stats-bento__cell:not(.stats-bento__cell--cta):hover { transform: translateY(-4px); border-color: rgba(201,162,0,.35); box-shadow: 0 26px 48px rgba(16,35,27,.1); }
  .stats-bento__cell:not(.stats-bento__cell--cta):hover::after { transform: scaleX(1); }
  .stats-bento__cell:hover .stats-bento__icon { background: var(--forest); border-color: var(--forest); color: var(--yellow); transform: rotate(-6deg); }
}
.stats-bento__num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.stats-bento__num .accent-word { font-family: var(--font-sans); font-style: normal; font-weight: 400; color: var(--yellow-deep); }
.stats-bento__label { font-family: var(--font-sans); font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -.005em; }
.stats-bento__cell p { font-size: 13.5px; line-height: 1.55; color: var(--body-text); opacity: .72; max-width: 300px; }
.stats-bento__clients { font-size: 13px; line-height: 1.6; color: var(--body-text); opacity: .72; max-width: 620px; margin: 10px 0 14px !important; }
.stats-bento__quote {
  background: var(--paper-alt);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 560px;
  margin-bottom: 4px;
}
.stats-bento__quote p { font-family: var(--font-sans); font-style: italic; font-size: 13.5px; line-height: 1.55; color: var(--ink); opacity: .85; max-width: none; margin-bottom: 8px; }
.stats-bento__quote-who { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; }
.stats-bento__quote-who strong { font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
.stats-bento__quote-who span { color: var(--body-text); opacity: .65; }
.stats-bento__cell--reviews .link-underline-yellow { color: var(--ink); }

.stats-bento__cell--cta {
  grid-column: 3;
  grid-row: 1;
  background: var(--forest);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.stats-bento__cell--cta > * { position: relative; }
.stats-bento__cell--cta h3 { font-family: var(--font-sans); font-weight: 800; font-size: 27px; letter-spacing: -.02em; line-height: 1.15; color: var(--white); }
.stats-bento__cell--cta p { font-size: 14.5px; line-height: 1.55; color: var(--cream); opacity: .82; max-width: 260px; }

.stats-bento__orb {
  position: absolute;
  right: -70px;
  bottom: -60px;
  width: 300px;
  height: 330px;
  perspective: 900px;
  pointer-events: none;
}
.stats-bento__orb-tilt {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: orbWobble 8s ease-in-out infinite;
}
.stats-bento__orb-spin {
  width: 100%;
  height: 100%;
  animation: orbSpin 26s linear infinite;
  transform-origin: 50% 50%;
}
.stats-bento__orb-spin svg { width: 100%; height: 100%; display: block; }
@keyframes orbWobble { 0%, 100% { transform: rotateY(-18deg) rotateX(5deg); } 50% { transform: rotateY(18deg) rotateX(-5deg); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .stats-bento__orb-tilt, .stats-bento__orb-spin { animation: none; }
}
.stats-bento__cell--cta .btn { white-space: normal; text-align: left; }

/* problem */
.problem { background: var(--white); color: var(--ink); position: relative; overflow: clip; }
.problem__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cpath d='M0 220 L60 220 L60 160 L120 160 L120 100 L180 100 L180 40 L260 40' fill='none' stroke='%2310231B' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px;
  opacity: .035;
  pointer-events: none;
}
.problem__head { position: relative; padding: 104px 44px 64px; text-align: center; }
.problem__head h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 54px);
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto;
}
.problem__cards {
  position: relative;
  max-width: var(--wrap);
  padding: 0 44px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.problem__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 28px 30px;
  min-width: 0;
  transform: rotate(var(--r, 0deg)) translateY(var(--ty, 0));
  box-shadow: 0 18px 34px rgba(16,35,27,.1);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.problem__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent var(--sand) transparent transparent;
  border-radius: 0 16px 0 0;
}
.problem__card:nth-child(1) { --r: -3deg; }
.problem__card:nth-child(2) { --r: 2.2deg; --ty: 20px; }
.problem__card:nth-child(3) { --r: -1.4deg; --ty: 6px; }
.problem__card:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.03);
  box-shadow: 0 26px 48px rgba(16,35,27,.16);
  z-index: 2;
}
.problem__icon { display: block; font-size: 38px; line-height: 1; margin-bottom: 16px; }
.problem__logos { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.problem__logo { height: 28px; width: auto; display: block; }
.problem__card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em; }
.problem__card p { font-size: 15px; line-height: 1.6; color: var(--body-text); opacity: .75; }
.problem__foot {
  position: relative;
  padding: 32px 44px 104px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.problem__transition {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 640px;
}
.problem__accent { color: var(--yellow-deep); font-style: italic; }

/* expertises */
.expertises { background: var(--white); }
.expertises__head {
  padding: 96px 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.expertises__head h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 640px;
}
.expertises__cta { flex: none; }
.expertises__foot { display: none; }
.expertises__body {
  padding: 0 44px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.expertises__list { display: flex; flex-direction: column; gap: 16px; }
.expertises__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  transition: background .2s ease, box-shadow .2s ease;
}
.expertises__item[open] { background: var(--white); box-shadow: 0 18px 34px rgba(16,35,27,.07); }
.expertises__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
}
.expertises__item summary::-webkit-details-marker { display: none; }
.expertises__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.expertises__icon svg { width: 19px; height: 19px; }
.expertises__title { flex: 1; font-family: var(--font-sans); font-weight: 700; font-size: 18.5px; color: var(--ink); letter-spacing: -.005em; }
.expertises__chevron { flex: none; font-size: 15px; color: var(--body-text); opacity: .5; transition: transform .25s ease; }
.expertises__item[open] .expertises__chevron { transform: rotate(180deg); }
.expertises__content { padding: 0 26px 26px 82px; }
.expertises__content > p { font-size: 15px; line-height: 1.6; color: var(--body-text); opacity: .82; margin-bottom: 14px; max-width: 460px; }
.expertises__content ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.expertises__content li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.55; color: var(--body-text); opacity: .82; }
.expertises__content li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-deep); }

.expertises__visual {
  position: sticky;
  top: 100px;
  aspect-ratio: 4 / 3.4;
  min-height: 460px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
}
.expertises__panel {
  position: absolute;
  inset: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--sand);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
}
.expertises__panel.is-active { opacity: 1; visibility: visible; }

/* expertises visuals (vx) — animations run only while the panel is active */
.expertises__panel { padding: 32px; }
.vx-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); opacity: .55; margin-bottom: 8px; }
.vx-pill { flex: none; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 6px 12px; }

.vx-window { background: rgba(237,235,227,.04); border: 1px solid rgba(237,235,227,.1); border-radius: 16px; overflow: hidden; }
.vx-window__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(237,235,227,.08); }
.vx-dots { display: flex; gap: 5px; }
.vx-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(237,235,227,.18); }
.vx-url { flex: 1; min-width: 0; font-size: 12px; color: var(--sand); opacity: .5; background: rgba(237,235,227,.06); border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-status { display: grid; justify-items: end; font-size: 11px; font-weight: 600; color: var(--yellow); white-space: nowrap; }
.vx-status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; }
.vx-status__spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(245,197,24,.25); border-top-color: var(--yellow); animation: vxSpin .8s linear infinite; }
.vx-status__done { opacity: 0; }
.is-active .vx-status__run { animation: vxOut .3s 2.2s forwards; }
.is-active .vx-status__done { animation: vxFade .4s 2.3s forwards; }
.vx-audit { position: relative; padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.vx-audit__scan { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(180deg, rgba(245,197,24,0), rgba(245,197,24,.14), rgba(245,197,24,0)); border-bottom: 1px solid rgba(245,197,24,.5); pointer-events: none; opacity: 0; }
.is-active .vx-audit__scan { animation: vxScan 2.6s ease-in-out .2s infinite; }
.vx-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 40px; align-items: center; gap: 14px; }
.vx-row__label { font-size: 13px; color: var(--sand); opacity: .7; }
.vx-row__track { height: 6px; border-radius: 99px; background: rgba(237,235,227,.1); overflow: hidden; }
.vx-row__fill { display: block; height: 100%; width: var(--w); border-radius: 99px; background: rgba(245,197,24,.45); transform: scaleX(0); transform-origin: left; }
.is-active .vx-row__fill { animation: vxGrow 1.1s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
.vx-row__val { font-size: 13px; font-weight: 700; text-align: right; color: var(--cream); font-variant-numeric: tabular-nums; }
.vx-row--hot .vx-row__label, .vx-row--hot .vx-row__val { color: var(--yellow); opacity: 1; }
.vx-row--hot .vx-row__fill { background: var(--yellow); box-shadow: 0 0 14px rgba(245,197,24,.55); }
.vx-callout { display: flex; align-items: center; gap: 12px; margin: 0 20px 20px; padding: 12px 16px; border-radius: 12px; background: rgba(245,197,24,.1); border: 1px solid rgba(245,197,24,.35); font-size: 13px; color: var(--cream); opacity: 0; transform: translateY(10px); }
.vx-callout strong { color: var(--yellow); }
.vx-callout svg { width: 20px; height: 20px; flex: none; color: var(--yellow); }
.is-active .vx-callout { animation: vxPop .5s cubic-bezier(.2,.8,.2,1) 2.3s forwards; }

.vx-growth { display: flex; flex-direction: column; gap: 18px; }
.vx-growth__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vx-growth__num { font-family: var(--font-serif); font-size: 44px; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.vx-growth__num em { font-style: normal; color: var(--yellow); font-size: 30px; }
.vx-chart { width: 100%; height: 190px; overflow: visible; }
.vx-chart__grid line { stroke: rgba(237,235,227,.07); stroke-width: 1; }
.vx-chart__split { stroke: rgba(245,197,24,.35); stroke-width: 1; stroke-dasharray: 3 4; }
.vx-chart__before, .vx-chart__after { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }
.vx-chart__before { stroke: rgba(237,235,227,.35); }
.vx-chart__after { stroke: var(--yellow); filter: drop-shadow(0 0 6px rgba(245,197,24,.5)); }
.vx-chart__area { fill: url(#vxArea); opacity: 0; }
.vx-chart__dot { fill: var(--yellow); opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-active .vx-chart__before { animation: vxDraw .8s ease-out .1s forwards; }
.is-active .vx-chart__after { animation: vxDraw 1.3s cubic-bezier(.4,0,.2,1) .8s forwards; }
.is-active .vx-chart__area { animation: vxFade .8s ease 1.6s forwards; }
.is-active .vx-chart__dot { animation: vxFade .2s 2.1s forwards, vxPulse 1.6s ease-in-out 2.3s infinite; }
.vx-growth__legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--sand); opacity: .55; }
.vx-growth__legend .is-after { color: var(--yellow); opacity: 1; font-weight: 600; }

.vx-report { display: flex; flex-direction: column; gap: 20px; }
.vx-report__head { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sand); opacity: .75; }
.vx-live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: vxLive 1.6s ease-out infinite; }
.vx-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 0 2px; border-bottom: 1px solid rgba(237,235,227,.1); }
.vx-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(245,197,24,.8), rgba(245,197,24,.15)); transform: scaleY(0); transform-origin: bottom; }
.vx-bars i:last-child { background: var(--yellow); box-shadow: 0 0 18px rgba(245,197,24,.45); }
.is-active .vx-bars i { animation: vxGrowY .7s cubic-bezier(.2,.8,.2,1) var(--d) forwards, vxBreath 3.2s ease-in-out calc(var(--d) + 1s) infinite; }
.vx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vx-kpi { background: rgba(237,235,227,.05); border: 1px solid rgba(237,235,227,.1); border-radius: 12px; padding: 12px 14px; }
.vx-kpi__val { display: block; font-size: 22px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.vx-kpi__label { font-size: 11.5px; color: var(--sand); opacity: .6; }
.vx-toast { align-self: flex-end; display: flex; align-items: center; gap: 12px; background: var(--cream); color: var(--ink); border-radius: 14px; padding: 10px 16px 10px 10px; font-size: 12.5px; line-height: 1.35; box-shadow: 0 18px 34px rgba(0,0,0,.35); opacity: 0; transform: translateY(14px) scale(.96); }
.vx-toast strong { font-weight: 700; }
.vx-toast__ico { width: 32px; height: 32px; border-radius: 10px; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.vx-toast__ico svg { width: 17px; height: 17px; }
.is-active .vx-toast { animation: vxPop .5s cubic-bezier(.2,.8,.2,1) 1.4s forwards; }

@keyframes vxSpin { to { transform: rotate(360deg); } }
@keyframes vxOut { to { opacity: 0; } }
@keyframes vxFade { to { opacity: 1; } }
@keyframes vxGrow { to { transform: scaleX(1); } }
@keyframes vxGrowY { to { transform: scaleY(1); } }
@keyframes vxScan { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 36px); opacity: 0; } }
@keyframes vxPop { to { opacity: 1; transform: none; } }
@keyframes vxDraw { to { stroke-dashoffset: 0; } }
@keyframes vxPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }
@keyframes vxBreath { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.9); } }
@keyframes vxLive { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (max-width: 640px) {
  .expertises__visual { height: auto !important; }
  .expertises__panel { position: relative; inset: auto; display: none; padding: 20px; }
  .expertises__panel.is-active { display: flex; }
  .vx-row { grid-template-columns: 96px minmax(0, 1fr) 36px; gap: 10px; }
  .vx-row__label { font-size: 12px; }
  .vx-growth__num { font-size: 34px; }
  .vx-chart { height: 150px; }
  .vx-kpi__val { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .expertises__panel *, .expertises__panel *::before { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* compare (les autres vs moi) */
.compare { background: var(--paper); }
.compare__head { padding: 96px 44px 56px; text-align: center; }
.compare__head h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -.02em;
  max-width: 680px;
  margin: 0 auto;
}
.compare__grid {
  max-width: 980px;
  padding: 0 44px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare__col { padding: 48px 40px; border-radius: var(--radius-lg); min-width: 0; }
.compare__col--others { background: var(--white); border: 1px solid var(--line); color: var(--body-text); }
.compare__col--me { background: var(--forest); color: var(--cream); }
.compare__col h2 { font-family: var(--font-sans); font-weight: 800; font-size: 30px; margin-bottom: 34px; }
.compare__col--me h2 .dot { color: var(--yellow); }
.compare__col ul { display: flex; flex-direction: column; gap: 20px; }
.compare__col li { display: flex; align-items: center; gap: 14px; font-family: var(--font-sans); font-size: 16px; }
.compare__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.compare__col--others .compare__icon { background: rgba(16,35,27,.08); color: var(--body-text); opacity: .55; }
.compare__col--me .compare__icon { background: var(--yellow); color: var(--ink); }

/* method */
.method { background: var(--ink); color: var(--sand); }
.method__head { padding: 104px 44px 32px; text-align: center; }
.method__head h2 { font-family: var(--font-sans); font-weight: 800; font-size: 62px; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 14px; }
.method__head p { font-size: 17px; opacity: .68; }

.method__ribbon {
  overflow: hidden;
  transition: opacity .4s ease, max-height .5s ease, padding .45s ease;
  opacity: 1;
  max-height: 200px;
  padding: 26px 0;
}
.method__ribbon.is-compact { opacity: 0; max-height: 0; padding: 0; }
.method__ribbon-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 44px; }
.method__ribbon-line { position: absolute; left: 10%; right: 10%; top: 26px; height: 1px; background: rgba(237,235,227,.16); }
.method__ribbon-dots { position: relative; display: flex; justify-content: center; gap: clamp(8px, 1.4vw, 22px); }
.method__ribbon-dots a { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.method__body { padding: 24px 44px 104px; display: grid; grid-template-columns: 210px 1fr; gap: 52px; align-items: start; }

.method__rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateX(-14px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.method__rail.is-compact { opacity: 1; transform: translateX(0); pointer-events: auto; }
.method__rail-line { position: absolute; left: 25px; top: 10%; bottom: 10%; width: 1px; background: rgba(237,235,227,.16); }
.method__rail-dots a { position: relative; display: flex; align-items: center; gap: 16px; }

.method-dot {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  background: rgba(237,235,227,.07);
  color: rgba(237,235,227,.5);
  transition: all .35s ease;
}
.method-label {
  font-size: 13px;
  white-space: nowrap;
  font-weight: 400;
  color: var(--sand);
  opacity: .5;
  transition: all .35s ease;
}
[data-step-link].is-active .method-dot {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 0 40px 8px rgba(245,197,24,.28);
  transform: scale(1.06);
}
[data-step-link].is-active .method-label { color: var(--yellow); opacity: 1; font-weight: 600; }

.method__steps { display: flex; flex-direction: column; }
.method-step {
  min-height: 74vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 40px 0;
}
.method-step__eyebrow {
  font-family: var(--font-grotesk);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.method-step__text h3 { font-family: var(--font-serif); font-weight: 800; font-size: 46px; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 20px; }
.method-step__text p { font-size: 17px; line-height: 1.7; opacity: .78; max-width: 480px; text-wrap: pretty; }

.method-step__visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(237,235,227,.04);
  aspect-ratio: 16 / 11;
}

/* step 1 — scan */
.visual-scan__grid { position: absolute; inset: 40px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 8px; }
.visual-scan__grid span { border-radius: 3px; background: rgba(237,235,227,.12); }
.visual-scan__grid span.on { background: var(--yellow); }
.visual-scan__line { position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: var(--yellow); box-shadow: 0 0 22px 5px rgba(245,197,24,.4); animation: drift 4.5s ease-in-out infinite; }
.visual-scan__label { position: absolute; bottom: 18px; right: 22px; font-family: var(--font-grotesk); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }

/* step 2 — roadmap */
.visual-roadmap { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 44px; }
.visual-roadmap__row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; }
.visual-roadmap__row span { font-size: 13px; opacity: .65; }
.visual-roadmap .bar { height: 2px; border-radius: 2px; background: rgba(237,235,227,.4); transform-origin: left; animation: lineGrow 1.4s ease-out both; width: var(--w, 60%); }
.visual-roadmap .bar--yellow { background: var(--yellow); }
.visual-roadmap__label { font-family: var(--font-grotesk); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-top: 8px; }

/* step 3 — board */
.visual-board__grid {
  position: absolute; inset: 40px;
  display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr;
  gap: 2px; border-radius: 8px; overflow: hidden;
}
.visual-board__cell { position: relative; }
.visual-board__pawn {
  position: absolute; inset: 22%;
  border-radius: 50% 50% 40% 40%;
  background: rgba(245,197,24,.45);
  animation: build .6s ease-out both;
}
.visual-board__pawn.is-lead { background: var(--yellow); box-shadow: 0 0 18px 4px rgba(245,197,24,.4); }
.visual-board__label { position: absolute; bottom: 16px; right: 22px; font-family: var(--font-grotesk); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }

/* step 4 — bricks */
.visual-bricks__grid {
  position: absolute; inset: 44px;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr);
  gap: 8px; align-content: end;
}
.visual-bricks__grid span { border-radius: 6px; animation: build .5s ease-out both; }
.visual-bricks__grid span.lvl1 { grid-row: 1; background: rgba(245,197,24,.16); }
.visual-bricks__grid span.lvl2 { grid-row: 2; background: rgba(245,197,24,.29); }
.visual-bricks__grid span.lvl3 { grid-row: 3; background: rgba(245,197,24,.42); }
.visual-bricks__grid span.lvl4 { grid-row: 4; background: var(--yellow); }
.visual-bricks__pending {
  grid-column: 5 / span 2; grid-row: 1 / span 4;
  border-radius: 10px; border: 1px dashed rgba(237,235,227,.28);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-script); font-style: italic; font-size: 20px;
  color: rgba(237,235,227,.55); text-align: center; padding: 10px;
}
.visual-bricks__label { position: absolute; bottom: 16px; left: 44px; font-family: var(--font-grotesk); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }

/* step 5 — metrics */
.visual-metrics { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 0 44px; }
.metric__row { display: flex; justify-content: space-between; font-size: 13px; opacity: .7; margin-bottom: 8px; }
.metric__val { color: var(--yellow); opacity: 1; }
.metric__track { height: 4px; border-radius: 99px; background: rgba(237,235,227,.14); }
.metric__fill { height: 100%; border-radius: 99px; background: var(--yellow); transform-origin: left; animation: lineGrow 1.4s ease-out both; width: var(--w, 50%); }

/* step 6 — classroom */
.visual-classroom { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px; }
.visual-classroom__board {
  width: 62%; flex: none; height: 28%;
  border-radius: 10px; background: rgba(245,197,24,.14); border: 1px solid rgba(245,197,24,.45);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 18px;
}
.visual-classroom__board .bar { height: 4px; border-radius: 99px; background: var(--yellow); transform-origin: left; animation: lineGrow 1.4s ease-out both; width: var(--w, 50%); }
.visual-classroom__teacher { width: 34px; height: 34px; flex: none; border-radius: 50% 50% 45% 45%; background: var(--yellow); box-shadow: 0 0 22px 6px rgba(245,197,24,.3); }
.visual-classroom__students { display: grid; flex: none; grid-template-columns: repeat(6, auto); gap: 10px 18px; justify-content: center; }
.visual-classroom__students span { width: 22px; height: 22px; border-radius: 50% 50% 45% 45%; background: rgba(237,235,227,.28); animation: build .5s ease-out both; }
.visual-classroom__label { position: absolute; bottom: 16px; right: 22px; font-family: var(--font-grotesk); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }

/* cta banner */
/* diagnostic */
.diag { background: var(--white); position: relative; overflow: clip; }
.diag__inner { padding: 120px 44px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.diag__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest); background: rgba(27,58,45,.08); padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.diag__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-deep); animation: diagPulse 1.8s ease-in-out infinite; }
@keyframes diagPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.diag__intro h2 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin-bottom: 20px; }
.diag__intro h2 em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--forest); }
.diag__intro > p { font-size: 17px; line-height: 1.65; color: var(--body-text); opacity: .8; max-width: 440px; margin-bottom: 28px; }
.diag__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.diag__perks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.diag__perks li span { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }

.diag__console {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  border-radius: 28px; padding: 36px 40px 28px;
  min-height: 540px; display: flex; flex-direction: column;
  box-shadow: 0 40px 80px rgba(16,35,27,.28), inset 0 0 0 1px rgba(237,235,227,.08);
}
.diag__orb {
  position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background-image: radial-gradient(rgba(245,197,24,.55) 1.4px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle at 35% 65%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 35% 65%, #000 0%, transparent 62%);
  opacity: .35; pointer-events: none;
  animation: orbSpin 60s linear infinite;
}
.diag__top { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.diag__progress { flex: 1; height: 4px; border-radius: 99px; background: rgba(237,235,227,.12); overflow: hidden; }
.diag__progress span { display: block; height: 100%; width: 25%; background: var(--yellow); border-radius: 99px; transition: width .5s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 14px rgba(245,197,24,.6); }
.diag__count { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); opacity: .6; white-space: nowrap; }

.diag__step { position: relative; display: none; flex: 1; flex-direction: column; }
.diag__step.is-active { display: flex; animation: diagIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes diagIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.diag__step h3 { font-family: var(--font-sans); font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -.01em; color: var(--white); margin-bottom: 26px; max-width: 520px; }

.diag__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diag__options--stack { grid-template-columns: 1fr; }
.diag__opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--cream);
  background: rgba(237,235,227,.05); border: 1px solid rgba(237,235,227,.14); border-radius: 14px;
  padding: 16px 18px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
@media (hover: hover) {
  .diag__opt:hover { background: rgba(245,197,24,.1); border-color: rgba(245,197,24,.6); transform: translateY(-2px); }
}
.diag__opt:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.diag__opt.is-picked { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 600; }
.diag__opt-ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(237,235,227,.08); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.diag__opt.is-picked .diag__opt-ico { background: rgba(16,35,27,.12); }

.diag__range { padding: 8px 0 28px; }
.diag__range-val { display: block; font-family: var(--font-serif); font-size: 64px; font-weight: 700; line-height: 1; color: var(--yellow); margin-bottom: 26px; }
.diag__range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--yellow) var(--fill, 30%), rgba(237,235,227,.14) var(--fill, 30%)); outline: none; }
.diag__range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 5px solid var(--yellow); cursor: pointer; box-shadow: 0 0 0 6px rgba(245,197,24,.18); }
.diag__range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 5px solid var(--yellow); cursor: pointer; }
.diag__range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(245,197,24,.35); }
.diag__range-scale { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--sand); opacity: .5; }
.diag__next { align-self: flex-start; }

.diag__result-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.diag__result h3 { font-family: var(--font-serif); font-weight: 700; font-size: 34px; line-height: 1.15; margin-bottom: 12px; }
.diag__result-intro { font-size: 15px; line-height: 1.6; color: var(--sand); opacity: .78; margin-bottom: 24px; max-width: 540px; }
.diag__result-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.diag__metric--score { display: flex; align-items: center; gap: 14px; }
.diag__ring { width: 58px; height: 58px; flex: none; transform: rotate(-90deg); }
.diag__ring circle { fill: none; stroke-width: 6; }
.diag__ring-bg { stroke: rgba(237,235,227,.12); }
.diag__ring-fg { stroke: var(--yellow); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 6px rgba(245,197,24,.45)); }
.diag__metric-num small { font-size: 15px; font-weight: 600; opacity: .5; margin-left: 2px; }
.diag__timing { font-size: 14px; line-height: 1.6; color: var(--cream); opacity: .85; border-left: 2px solid var(--yellow); padding-left: 14px; margin-bottom: 24px; max-width: 560px; }
.diag__metric { background: rgba(237,235,227,.05); border: 1px solid rgba(237,235,227,.12); border-radius: 16px; padding: 18px 20px; }
.diag__metric-num { display: block; font-family: var(--font-sans); font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--white); margin-bottom: 6px; }
.diag__metric-label { font-size: 13px; color: var(--sand); opacity: .65; }
.diag__actions { list-style: none; counter-reset: da; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.diag__actions li { counter-increment: da; position: relative; padding-left: 38px; font-size: 15px; line-height: 1.5; color: var(--cream); opacity: 0; animation: diagIn .5s ease both; }
.diag__actions li::before { content: counter(da, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--yellow); }
.diag__impact { display: flex; gap: 8px; margin-bottom: 26px; }
.diag__impact span { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 17px; background: rgba(237,235,227,.06); color: rgba(237,235,227,.35); transition: all .4s ease; }
.diag__impact span.is-on { background: var(--yellow); color: var(--ink); box-shadow: 0 0 22px rgba(245,197,24,.45); }
.diag__result-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.diag__result-ctas .btn { white-space: normal; }
.diag__link { font-size: 14px; font-weight: 600; color: var(--cream); border-bottom: 1px solid rgba(245,197,24,.6); padding-bottom: 3px; }
.diag__link:hover { color: var(--yellow); }
.diag__note { margin-top: 16px; font-size: 12px; color: var(--sand); opacity: .45; }

.diag__bottom { position: relative; display: flex; justify-content: space-between; margin-top: 22px; min-height: 22px; }
.diag__back { background: none; border: none; padding: 0; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--sand); opacity: .6; cursor: pointer; }
.diag__back:hover { opacity: 1; color: var(--yellow); }
@media (prefers-reduced-motion: reduce) {
  .diag__step.is-active, .diag__actions li, .diag__orb, .diag__eyebrow::before { animation: none; opacity: 1; }
}

/* cases */
.cases { background: var(--cream); }
.cases .wrap { padding: 104px 44px; }
.cases__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.cases__head h2 { font-family: var(--font-sans); font-weight: 800; font-size: 56px; line-height: 1.02; letter-spacing: -.035em; }
.cases__count { font-family: var(--font-script); font-style: italic; font-size: 22px; opacity: .6; }
.cases__list { border-top: 1px solid rgba(16,35,27,.16); }
.case-row {
  display: grid;
  grid-template-columns: 70px 1fr 300px 140px;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid rgba(16,35,27,.16);
  padding: 32px 16px;
  border-radius: 0;
  transition: background .2s ease;
}
.case-row:hover { background: rgba(16,35,27,.05); }
.case-row__index { font-family: var(--font-script); font-style: italic; font-size: 26px; color: var(--forest); }
.case-row__title h3 { font-family: var(--font-serif); font-weight: 700; font-size: 32px; letter-spacing: -.02em; margin-bottom: 6px; }
.case-row__title span { font-size: 14px; opacity: .62; }
.case-row__result { font-size: 15px; opacity: .78; line-height: 1.5; }
.case-row__stat { font-family: var(--font-serif); font-weight: 800; font-size: 40px; color: var(--forest); text-align: right; letter-spacing: -.03em; }

/* testimonials */
.testimonials { background: var(--cream); }
.testimonials .wrap { padding: 72px 44px 104px; }
.testimonials h2 { font-family: var(--font-sans); font-weight: 800; font-size: 48px; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 44px; max-width: 640px; }
.testimonials__grid { columns: 3; column-gap: 16px; }
.testimonial-card {
  background: var(--white); color: var(--ink);
  border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background .25s ease, color .25s ease;
  break-inside: avoid;
  margin-bottom: 16px;
}
.testimonial-card:hover { background: var(--ink); color: var(--cream); }
.testimonial-card .stars { color: var(--forest); letter-spacing: 3px; font-size: 13px; transition: color .25s ease; }
.testimonial-card:hover .stars { color: var(--yellow); }
.testimonial-card p { font-family: var(--font-sans); font-style: italic; font-size: 14px; line-height: 1.6; opacity: .8; }
.testimonial-card__brand { font-family: var(--font-grotesk); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.testimonial-card__who { display: flex; flex-direction: column; gap: 3px; }
.testimonial-card__name { font-family: var(--font-sans); font-size: 15px; font-weight: 600; }
.testimonial-card__role { font-family: var(--font-sans); font-size: 12px; letter-spacing: .01em; opacity: .65; }
.testimonial-card--yellow { background: var(--yellow); }
.testimonial-card--yellow .stars { color: inherit; }
.testimonial-card--yellow p { opacity: .7; }
.testimonial-card--yellow:hover { background: var(--ink); color: var(--cream); }

/* faq */
.faq { background: var(--white); }
.faq .wrap { padding: 104px 44px; }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.faq__head h2 { font-family: var(--font-sans); font-weight: 800; font-size: 52px; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.faq__head p { font-size: 15px; line-height: 1.6; opacity: .68; }
.faq__list { border-top: 1px solid rgba(16,35,27,.16); }
.faq-item { border-bottom: 1px solid rgba(16,35,27,.16); padding: 26px 0; }
.faq-item summary {
  display: grid; grid-template-columns: 52px 1fr 28px; gap: 16px; align-items: start;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__idx { font-family: var(--font-script); font-style: italic; font-size: 22px; opacity: .6; padding-top: 2px; transition: color .2s ease; }
.faq-item__q { font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }
.faq-item__sign { color: var(--forest); font-size: 20px; transition: transform .25s ease; text-align: right; }
.faq-item[open] .faq-item__sign { transform: rotate(90deg); }
.faq-item p { margin: 16px 0 0 68px; font-size: 16px; line-height: 1.7; opacity: .8; max-width: 620px; }

/* about */
.about { background: var(--cream); }
.about .wrap { padding: 104px 44px; }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about__photo {
  border-radius: var(--radius-lg); aspect-ratio: 1 / 1.2;
  overflow: hidden;
  background-color: var(--white);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__eyebrow { font-family: var(--font-script); font-style: italic; font-size: 22px; color: var(--forest); margin-bottom: 14px; }
.about h2 { font-family: var(--font-sans); font-weight: 800; font-size: 56px; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 26px; }
.about__lede { font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 1.6; letter-spacing: -.005em; margin-bottom: 18px; max-width: 620px; }
.about p:not(.about__lede) { font-size: 16px; line-height: 1.75; opacity: .8; margin-bottom: 18px; max-width: 620px; }
.about__footer { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; padding-top: 30px; }
.about__stat-num { font-family: var(--font-serif); font-weight: 800; font-size: 46px; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.about__stat-label { font-size: 14px; opacity: .68; margin-top: 6px; }

/* cta final */
.cta-final { background: var(--ink); color: var(--cream); position: relative; overflow: clip; }
.cta-final__blob {
  position: absolute; left: 50%; top: 36%;
  width: 620px; height: 620px; margin-left: -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,.22), transparent 70%);
  animation: bloom 11s ease-in-out infinite;
}
.cta-final__inner { position: relative; max-width: 1000px; padding: 128px 44px; text-align: center; margin: 0 auto; }
.cta-final__inner h2 { font-family: var(--font-sans); font-weight: 900; font-size: 82px; line-height: .98; letter-spacing: -.045em; margin-bottom: 24px; }
.cta-final__inner p { font-size: 18px; line-height: 1.6; opacity: .75; margin: 0 auto 40px; max-width: 520px; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid rgba(237,235,227,.14); }
.site-footer__grid { padding: 64px 44px 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.site-footer__logo { font-family: var(--font-serif); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.site-footer__logo .dot { color: var(--yellow); }
.site-footer__tagline { font-family: var(--font-script); font-style: italic; font-size: 21px; line-height: 1.3; opacity: .75; max-width: 300px; }
.site-footer__label { font-family: var(--font-grotesk); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; opacity: .85; }
.site-footer__links a:hover { opacity: .8; }
.site-footer__bottom {
  padding: 24px 44px 40px; border-top: 1px solid rgba(237,235,227,.14);
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .55;
}

/* =========================================================
   PROJET & MENTIONS LÉGALES (shared "paper" theme)
   ========================================================= */
.page-projet, .page-legal { background: var(--paper); color: var(--body-text); }

.page-projet a:not(.btn), .page-legal a:not(.btn):not(.legal-callout__link) { color: var(--forest); }
.page-projet a:not(.btn):hover, .page-legal a:not(.btn):hover:not(.legal-callout__link) { color: var(--forest-dark); }
.page-legal .legal-content a,
.page-legal .legal-callout a { border-bottom: 1px solid var(--yellow); }

.site-header--light {
  background: rgba(250,250,248,.92);
  border-bottom: 1px solid var(--line);
}
.site-header--light .site-header__logo { color: var(--forest); font-size: 20px; }
.site-header--light .site-header__nav { text-transform: none; letter-spacing: 0; gap: 28px; }
.site-header--light .site-header__nav a { color: var(--body-text); opacity: 1; font-size: 14px; font-weight: 500; }
.site-header--light .site-header__nav a:hover { color: var(--forest); }

.link-back { font-family: var(--font-script); font-style: italic; font-size: 21px; color: var(--forest); opacity: .65; }

.meta-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-bottom: 5px; }
.meta-value { font-size: 16px; font-weight: 500; }

/* projet-gf3e.html */
.project-back .wrap { padding: 48px 44px 0; }
.project-hero .wrap { padding: 40px 44px 72px; }
.project-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; }
.project-hero h1 { font-family: var(--font-sans); font-weight: 500; font-size: 68px; line-height: 1.05; letter-spacing: -.02em; color: var(--forest); margin: 24px 0 28px; }
.project-hero__pitch { font-size: 21px; line-height: 1.5; color: var(--forest); font-weight: 500; text-wrap: pretty; max-width: 620px; }
.project-hero__meta { display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--line); padding-left: 32px; }

.project-visual-wrap .wrap { padding: 0 44px; }
.project-visual {
  position: relative;
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius-md);
  display: flex; align-items: flex-end; padding: 16px;
  background-image: repeating-linear-gradient(135deg, rgba(27,58,45,.05) 0 8px, transparent 8px 16px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-visual--wide { aspect-ratio: 21 / 9; padding: 24px; }

.project-stats .wrap { padding: 72px 44px; }
.project-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.project-stat { background: var(--paper); padding: 44px 36px; }
.project-stat--dark { background: var(--forest); }
.project-stat__num { font-family: var(--font-serif); font-size: 58px; line-height: 1; color: var(--forest); margin-bottom: 12px; }
.project-stat--dark .project-stat__num { color: var(--yellow); }
.project-stat__label { font-size: 15px; color: var(--body-text); opacity: .8; }
.project-stat--dark .project-stat__label { color: var(--paper); }

.project-block .wrap { padding: 96px 44px 40px; }
.project-block--alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-block--alt .wrap { padding: 96px 44px; }
.project-block__grid { display: grid; grid-template-columns: .5fr 1fr; gap: 64px; }
.project-block__grid h2 { font-family: var(--font-sans); font-weight: 700; font-size: 36px; line-height: 1.18; color: var(--forest); letter-spacing: -.01em; margin-bottom: 24px; }
.project-block__grid p { font-size: 17px; line-height: 1.7; opacity: .85; margin-bottom: 18px; max-width: 680px; }
.project-block__lede { margin-bottom: 40px !important; }

.project-actions { display: flex; flex-direction: column; gap: 20px; }
.project-action { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; }
.project-action__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.project-action__head span { font-family: var(--font-serif); font-size: 30px; color: var(--yellow); line-height: 1; }
.project-action__head h3 { font-family: var(--font-serif); font-weight: 500; font-size: 23px; color: var(--forest); }
.project-action p { margin: 0; max-width: none; }

.project-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }

.project-testimonial-wrap .wrap { padding: 72px 44px 96px; }
.project-testimonial { background: var(--forest); border-radius: var(--radius-lg); padding: 64px 56px; }
.project-testimonial .stars { color: var(--yellow); font-size: 15px; letter-spacing: 3px; }
.project-testimonial p { font-family: var(--font-sans); font-size: 16px; line-height: 1.8; color: var(--white); margin: 24px 0 0; max-width: 720px; }
.project-testimonial__brand { margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--paper); }
.project-testimonial__brand span { font-weight: 400; opacity: .6; }

.project-others { background: var(--paper-alt); border-top: 1px solid var(--line); }
.project-others .wrap { padding: 88px 44px; }
.project-others__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.project-others__head h2 { font-family: var(--font-sans); font-weight: 700; font-size: 34px; line-height: 1.15; color: var(--forest); }
.project-others__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-other-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px;
  transition: background .2s ease;
}
.project-other-card:hover { background: var(--white); }
.project-other-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; color: var(--forest); margin-bottom: 6px; }
.project-other-card__meta { font-size: 14px; color: var(--body-text); opacity: .7; }
.project-other-card .arrow { font-size: 20px; color: var(--yellow); }

.project-cta { background: var(--forest); }
.project-cta__inner { max-width: 900px; margin: 0 auto; padding: 112px 44px; text-align: center; }
.project-cta__inner h2 { font-family: var(--font-sans); font-weight: 700; font-size: 48px; line-height: 1.1; color: var(--paper); letter-spacing: -.015em; margin-bottom: 20px; }
.project-cta__inner p { font-size: 17px; line-height: 1.6; color: var(--paper); opacity: .78; margin: 0 auto 36px; max-width: 520px; }

/* mentions-legales.html */
.legal-hero { border-bottom: 1px solid var(--line); }
.legal-hero .wrap { padding: 88px 44px 64px; }
.legal-hero h1 { font-family: var(--font-sans); font-weight: 500; font-size: 60px; line-height: 1.05; letter-spacing: -.02em; color: var(--forest); margin: 20px 0; }
.legal-hero__date { font-family: var(--font-mono); font-size: 12px; opacity: .6; }

.legal-layout { padding: 72px 44px 112px; display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 12px; }
.legal-toc__title { margin-bottom: 8px; }
.legal-toc__link { font-size: 15px; border-left: 2px solid var(--line); padding-left: 12px; transition: border-color .2s ease; }
.legal-toc__link:hover, .legal-toc__link.is-active { border-left-color: var(--yellow); }

.legal-content { max-width: 720px; display: flex; flex-direction: column; gap: 56px; }
.legal-content h2 { font-family: var(--font-sans); font-weight: 700; font-size: 30px; color: var(--forest); margin-bottom: 24px; letter-spacing: -.01em; }
.legal-content section:not(#editeur) h2 { margin-bottom: 20px; }
.legal-content p { font-size: 17px; line-height: 1.7; opacity: .85; margin-bottom: 16px; }
.legal-content p:last-child { margin-bottom: 0; }

.legal-card {
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px;
}

.legal-callout { background: var(--forest); border-radius: var(--radius-md); padding: 32px; margin-top: 8px; }
.legal-callout__title { font-family: var(--font-script); font-style: italic; font-size: 19px; color: var(--yellow); margin-bottom: 14px; }
.legal-callout p { color: var(--paper); opacity: .88; margin: 0; }
.legal-callout__link { color: var(--yellow); border-bottom-color: var(--yellow); }

.legal-subfooter { border-top: 1px solid var(--line); padding-top: 32px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; margin-top: 16px; }

/* light/alt footer variants for projet + mentions */
.site-footer--light, .site-footer--alt { background: var(--paper); color: var(--body-text); border-top: 1px solid var(--line); }
.site-footer--alt { background: var(--paper-alt); }
.site-footer__row { padding: 56px 44px 32px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: center; }
.site-footer--light .site-footer__logo, .site-footer--alt .site-footer__logo { font-family: var(--font-serif); font-size: 22px; color: var(--forest); margin: 0; }
.site-footer__links--row { display: flex; flex-direction: row; gap: 24px; font-size: 15px; flex-wrap: wrap; }
.site-footer__bottom--light { font-family: var(--font-sans); font-size: 11px; letter-spacing: .06em; color: var(--body-text); opacity: .6; border-top: 1px solid var(--line); padding: 24px 44px 40px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .faq__grid,
  .about__grid,
  .project-hero__grid,
  .project-block__grid,
  .legal-layout { grid-template-columns: minmax(0, 1fr); }

  .method__body { grid-template-columns: minmax(0, 1fr); }
  .method__rail { display: none; }

  .stats-bento { grid-template-columns: 1fr 1fr; }
  .stats-bento__cell--cta { grid-column: 1 / span 2; grid-row: auto; }
  .stats-bento__cell--reviews { grid-column: 1 / span 2; grid-row: auto; }
  .stats-bento__cell--1, .stats-bento__cell--2, .stats-bento__cell--4 { grid-column: auto; grid-row: auto; }
  .problem__cards { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .problem__card { --r: 0deg; --ty: 0px; }
  .expertises__body { grid-template-columns: minmax(0, 1fr); }
  .expertises__visual { position: relative; top: auto; order: 1; min-height: 0; aspect-ratio: auto; height: 440px; }
  .expertises__item > .expertises__visual { margin: 0 16px 16px; }
  .expertises__head .expertises__cta { display: none; }
  .expertises__body { padding-bottom: 0; }
  .expertises__foot { display: flex; padding: 28px 44px 72px; }
  .expertises__foot .btn { white-space: normal; }
  .expertises__cta { white-space: normal; }
  .expertises__content { padding-left: 26px; }
  .compare__grid { grid-template-columns: minmax(0, 1fr); }

  .case-row { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .case-row__result, .case-row__stat { grid-column: 2; text-align: left; }

  .testimonials__grid { columns: 2; }

  .about__photo { max-width: 420px; }

  .project-hero__meta { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .project-stats__grid { grid-template-columns: minmax(0, 1fr); }
  .project-visual-grid, .project-others__grid { grid-template-columns: minmax(0, 1fr); }

  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; }

  .diag__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 88px 44px; }
}

@media (max-width: 760px) {
  .site-header__nav { display: none; }
  .site-header.is-open .site-header__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px 24px 28px;
    background: var(--ink);
    border-bottom: 1px solid rgba(237,235,227,.14);
  }
  .site-header--light.is-open .site-header__nav { background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .site-header__cta { display: none; }
  .site-header.is-open .site-header__cta { display: inline-flex; }
  .site-header.is-open .site-header__inner { flex-wrap: wrap; }

  .hero__title { font-size: clamp(32px, 10vw, 44px); }
  .cta-final__inner h2 { font-size: clamp(42px, 12vw, 60px); }
  .cases__head h2, .method__head h2 { font-size: clamp(32px, 9vw, 44px); }
  .stats-intro__headline, .expertises__head h2, .compare__head h2, .problem__head h2 { font-size: clamp(28px, 8vw, 38px); }
  .stats-bento { grid-template-columns: minmax(0, 1fr); }
  .stats-bento__cell--cta, .stats-bento__cell--reviews, .stats-bento__cell--1, .stats-bento__cell--2, .stats-bento__cell--4 { grid-column: 1; }
  .stats-bento__cell--cta { order: 1; }
  .compare__col ul { list-style: none; margin: 0; padding: 0; }

  .testimonials__grid { columns: 1; display: flex; flex-direction: column; }
  .testimonial-card { order: var(--mo, 0); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cases__head { flex-direction: column; align-items: flex-start; }

  .site-footer__row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .method-step { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- contact widget ---------- */
.contact-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
}
.contact-widget__toggle { pointer-events: auto; }
.contact-widget__card {
  width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16,35,27,.2);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(.94);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.contact-widget.is-open .contact-widget__card { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.contact-widget__label {
  font-family: var(--font-grotesk);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body-text);
  opacity: .5;
  padding: 4px 10px 12px;
}
.contact-widget__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background .2s ease;
}
.contact-widget__row:hover { background: var(--paper-alt); }
.contact-widget__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-widget__icon svg { width: 19px; height: 19px; }
.contact-widget__icon--whatsapp { background: #25D366; color: #fff; }
.contact-widget__icon--email { background: var(--forest); color: var(--cream); }
.contact-widget__icon--phone { background: var(--ink); color: var(--yellow); }
.contact-widget__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-widget__title { font-family: var(--font-sans); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.contact-widget__sub { font-family: var(--font-sans); font-size: 12.5px; color: var(--body-text); opacity: .6; }
.contact-widget__toggle {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(16,35,27,.28);
  cursor: pointer;
  transition: transform .2s ease;
}
.contact-widget__toggle:hover { transform: scale(1.06); }
.contact-widget__toggle svg { width: 28px; height: 28px; }
.contact-widget__ping {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: contactPing 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes contactPing {
  0% { transform: scale(.85); opacity: .75; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 520px) {
  .contact-widget { right: 16px; bottom: 16px; }
  .contact-widget__card { width: min(300px, calc(100vw - 32px)); }
  .contact-widget__toggle { width: 52px; height: 52px; }
  .contact-widget__toggle svg { width: 25px; height: 25px; }
}

@media (max-width: 640px) {
  .diag__inner { padding: 72px 24px; }
  .diag__console { padding: 26px 20px 22px; border-radius: 22px; min-height: 0; }
  .diag__options { grid-template-columns: minmax(0, 1fr); }
  .diag__step h3 { font-size: 20px; margin-bottom: 20px; }
  .diag__result h3 { font-size: 27px; }
  .diag__metric-num { font-size: 30px; }
  .diag__result-grid { grid-template-columns: 1fr 1fr; }
  .diag__metric--score { grid-column: 1 / -1; }
  .diag__range-val { font-size: 52px; }
}

/* ---------- mobile hardening ---------- */
@media (max-width: 760px) {
  .stats-bento__cell--reviews { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .stats-bento__quote { max-width: none; }
  .expertises__cta { flex: 1 1 auto; max-width: 100%; }
  .legal-card { grid-template-columns: minmax(0, 1fr); }
  .meta-value, .legal-content p, .stats-bento__clients { overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
  .site-header__inner, .hero__inner, .stats-intro .wrap, .problem__head, .problem__cards, .problem__foot,
  .expertises__head, .expertises__body, .expertises__foot, .compare__head, .compare__grid, .method__head, .method__ribbon-inner,
  .method__body, .cases .wrap, .testimonials .wrap, .faq .wrap, .about .wrap, .cta-final__inner,
  .site-footer__grid, .site-footer__bottom, .site-footer__row, .site-footer__bottom--light,
  .project-back .wrap, .project-hero .wrap, .project-visual-wrap .wrap, .project-stats .wrap,
  .project-block .wrap, .project-block--alt .wrap, .project-testimonial-wrap .wrap, .project-others .wrap,
  .project-cta__inner, .legal-hero .wrap, .legal-layout, .diag__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .stats-intro .wrap { padding-top: 88px; padding-bottom: 88px; }
  .compare__col { padding: 32px 24px; }
  .faq-item p { margin-left: 0; }
  .faq-item summary { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; }
}
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; justify-content: center; }
}
@media (max-width: 520px) {
  .method__ribbon-inner { padding: 0 16px; }
  .method__ribbon-line { left: 8%; right: 8%; top: 21px; }
  .method__ribbon-dots { gap: 10px; }
  .method__ribbon .method-dot { width: 42px; height: 42px; font-size: 19px; }
  .method__ribbon .method-label { display: none; }
  .method-step { min-height: 0; padding: 36px 0; gap: 28px; }
  .method__head { padding-top: 80px; }
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 1100;
  width: min(400px, calc(100vw - 48px));
  background: var(--ink); color: var(--cream);
  border: 1px solid rgba(237,235,227,.12); border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.cookie-banner__title { font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.cookie-banner__title::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); margin-right: 9px; vertical-align: 2px; }
.cookie-banner__text { font-size: 13.5px; line-height: 1.55; color: var(--sand); opacity: .8; margin-bottom: 16px; }
.cookie-banner__text a { color: var(--yellow); border-bottom: 1px solid rgba(245,197,24,.5); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-banner__btn {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  padding: 11px 14px; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--cream); border: 1px solid rgba(237,235,227,.28);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.cookie-banner__btn:hover { border-color: var(--cream); background: rgba(237,235,227,.06); }
.cookie-banner__btn--accept { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.cookie-banner__btn--accept:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.cookie-banner__btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.legal-cookie-reset { background: none; border: none; padding: 0; font: inherit; color: var(--forest); border-bottom: 1px solid var(--yellow); cursor: pointer; }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  body.has-cookie-banner .contact-widget { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }
.vx-kicker__note { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .85; }

/* ===== 404 ===== */
.notfound { min-height: calc(100vh - 62px); }
.notfound__code {
  display: flex; align-items: baseline; justify-content: center; gap: .06em;
  font-family: var(--font-serif); font-weight: 800; line-height: 1;
  font-size: clamp(110px, 17vw, 200px); color: var(--white); letter-spacing: -.02em;
  margin-bottom: 26px;
}
.notfound__zero { width: .7em; height: .7em; color: var(--yellow); overflow: visible; animation: nfSpin 6s linear infinite; }
.notfound__orbit { fill: var(--white); }
@keyframes nfSpin { to { transform: rotate(360deg); } }
.notfound__title {
  font-family: var(--font-sans); font-weight: 800; color: var(--white);
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.03em;
  margin-bottom: 20px; text-wrap: balance;
}
.notfound .hero__subtitle { max-width: 560px; margin-bottom: 32px; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 40px; font-size: 14px; color: rgba(237,235,227,.6); }
.notfound__links a { color: var(--sand); text-decoration: underline; text-decoration-color: rgba(245,197,24,.5); text-underline-offset: 4px; transition: color .2s; }
.notfound__links a:hover { color: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .notfound__zero { animation: none; } }
@media (max-width: 640px) {
  .notfound__links { flex-direction: column; gap: 10px; }
}
