@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Charte Reflets, usages resserrés: cream carries the page, navy the text,
   blue only for the home opening and the closing block, orange only where one clicks or reads a key figure. */
:root {
  --cream: #fcf8f8;
  --navy: #12283d;
  --blue: #03319e;
  --orange: #fd6706;
  /* Button fill: #fd6706 gives white text only 2.95:1; this one gives 3.3:1 with bold 19px text (WCAG AA, large text). */
  --orange-button: #f06000;
  /* Secondary text: 5.9:1 on cream, 5.7:1 on the tint band. */
  --muted: rgb(18 40 61 / 0.72);
  --line: rgb(18 40 61 / 0.1);
  /* Alternate band: a warmer cream, same family as the page; secondary text keeps 5.7:1 on it. */
  --tint: #f5f0ec;
  --error: #b42318;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale: H1 36 to 56px, H2 26 to 32px, text 17 to 18px. */
  --t-h1: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --t-h2: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  --t-h3: 1.25rem;
  --t-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --t-text: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);
  --t-legend: 0.9375rem;
  --t-kicker: 0.8125rem;
  --t-figure: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  /* Kept for the chart and form components. */
  --t-chapeau: var(--t-h3);
  --ls-chapeau: 0;
  --t-l: var(--t-figure);
  --ls-legend: 0.01em;

  --gutter: 1.25rem;
  --gap: 1.5rem;
  --header: 4.5rem;
  --max: 80rem;
  --measure: 42.5rem;
  --section: 3.5rem;
  --radius: 8px;
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --gap: 2rem; }
}

@media (min-width: 64rem) {
  :root { --section: 5rem; }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  font-size: var(--t-text);
  line-height: 1.6;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover { text-decoration-thickness: 2px; }

[id] { scroll-margin-top: calc(var(--header) + 1rem); }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus { outline: none; }

::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.02em; }

h2 { font-size: var(--t-h2); line-height: 1.15; letter-spacing: -0.01em; }

h3, h4 { font-size: var(--t-h3); line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* Layout */

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.section + .section { border-top: 1px solid var(--line); }

/* Every other band on a light tint, so white cards stand out and the page has a rhythm. */
.section.tint { background: var(--tint); border-top-color: transparent; }

.section.tint + .section { border-top-color: transparent; }

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: var(--measure);
  margin-bottom: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
}

.section-head p { color: var(--muted); }

.section-head .kicker { color: var(--blue); }

/* Kicker above a title: small capitals in brand blue after a small square. Blue on cream: 10:1. */
.kicker {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--blue);
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: currentColor;
}

.lead { max-width: var(--measure); font-size: var(--t-lead); line-height: 1.5; }

.prose { max-width: var(--measure); display: grid; gap: 1rem; }


.muted { color: var(--muted); }

.note { color: var(--muted); font-size: var(--t-legend); }

.more { margin-top: clamp(1.5rem, 1rem + 1vw, 2.5rem); }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  list-style: none;
}

@media (min-width: 40rem) {
  .grid-2,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Cards: white, a hairline, rounded, no shadow. */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card p { color: var(--muted); }

.card .figure { color: var(--orange-button); }

.card .price-name,
.card .roadmap-title { color: var(--navy); }

.card .figure + h3 { margin-top: 0.25rem; }

/* Key figure: the one place orange sets text. #f06000 at 32px or more: 3.1:1 on cream and white (large text). */
.figure {
  color: var(--orange-button);
  font-size: var(--t-figure);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.figure small {
  display: block;
  margin-top: 0.375rem;
  color: var(--muted);
  font-size: var(--t-legend);
  font-weight: 500;
  letter-spacing: 0;
}

/* "À partir de" above a price. */
.figure .figure-from { margin: 0 0 0.375rem; }

/* Buttons: one primary (orange), one secondary (outline). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--orange-button);
  color: #fff;
  font: inherit;
  /* White on orange needs bold 19px (WCAG large text). */
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}

/* Hover: navy on light grounds, white on blue grounds. */
.btn:hover { background: var(--navy); }

.hero .btn:not(.btn-secondary):hover,
.closing .btn:hover { background: #fff; color: var(--navy); }

.btn-secondary {
  border-color: currentColor;
  background: transparent;
  color: inherit;
  font-size: var(--t-text);
  font-weight: 600;
}

.btn-secondary:hover { background: #fff; color: var(--blue); border-color: #fff; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  text-decoration: underline;
}

.text-link::after { content: "→" / ""; transition: transform 150ms var(--ease); }

.text-link:hover::after { transform: translateX(0.2em); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header);
  padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand { display: block; margin-right: auto; }

/* The wordmark has no descender: lifted slightly so it centres on the menu text. */
.logo { width: 8rem; transform: translateY(-0.125rem); }

.header-cta { display: none; }

.menu-toggle {
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  inset: 100% 0 auto;
  display: none;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.is-menu-open .site-nav { display: block; }

.site-nav ul { list-style: none; }

.site-nav a {
  display: block;
  padding-block: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.nav-cta { margin-top: 0.75rem; }

.site-nav .nav-cta a { display: inline-flex; padding-block: 0; text-decoration: none; }

@media (min-width: 40rem) {
  .header-cta { display: inline-flex; min-height: 2.75rem; padding: 0 1.25rem; }

  .nav-cta { display: none; }
}

@media (min-width: 64rem) {
  .menu-toggle { display: none; }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: none;
  }

  .site-nav ul { display: flex; gap: 2rem; }

  .site-nav a { padding-block: 0.5rem; }

  .header-cta { margin-left: 1rem; }
}

/* Page openings */

main { display: block; }

.hero {
  padding-block: calc(var(--header) + clamp(2.5rem, 1.75rem + 3vw, 4.5rem)) clamp(2.5rem, 1.75rem + 3vw, 4.5rem);
  background: var(--blue);
  color: #fff;
}

/* The home kicker is a full phrase: sentence case, easier to read. */
.hero .kicker { color: #fff; font-size: var(--t-legend); font-weight: 600; letter-spacing: 0; text-transform: none; }

.hero-inner { display: grid; }

.hero-text { display: grid; gap: 1.5rem; }

/* Cover photo behind the hero, under a blue veil: white text keeps at least 5:1 everywhere. */
.hero {
  background:
    linear-gradient(180deg, var(--blue) 55%, rgb(3 49 158 / 0.85) 100%),
    var(--blue) url("/assets/img/cover-wide.webp") center bottom / cover no-repeat;
}

@media (min-width: 64rem) {
  .hero {
    background:
      linear-gradient(90deg, var(--blue) 35%, rgb(3 49 158 / 0.78) 100%),
      var(--blue) url("/assets/img/cover-wide.webp") right center / cover no-repeat;
  }
}

/* The title uses the full width; the lead stays at a readable length. */
.hero h1,
.page-head h1 { max-width: none; text-wrap: pretty; }

.page-head .lead { max-width: 60rem; }

.hero .lead { max-width: none; }

.hero h1 span { display: block; font-weight: 400; }

.hero .lead { color: rgb(255 255 255 / 0.9); }

.hero .actions { margin-top: 0.5rem; }

/* Phones: the baseline holds in six lines, the buttons take the full width. */
@media (max-width: 39.99rem) {
  .hero h1 { font-size: 1.75rem; line-height: 1.2; }

  .hero .actions .btn { flex: 1 1 100%; }
}

.hero .btn:focus-visible,
.closing .btn:focus-visible { outline-color: #fff; }

.page-head {
  padding-block: calc(var(--header) + clamp(2rem, 1.5rem + 2vw, 3.5rem)) clamp(2rem, 1.5rem + 1.5vw, 3rem);
}

.page-head .wrap { display: grid; gap: 1rem; }


.page-head .lead { color: var(--muted); }

.page-head .lead-strong { color: var(--navy); }

/* The first band after a page title starts closer to it. */
.page-head + .section { padding-top: 0; }

/* Méthode: its title on the brand blue, like the home opening. */
.page-head.is-blue { background: var(--blue); color: #fff; }

.page-head.is-blue .kicker,
.page-head.is-blue .lead-strong { color: #fff; }

.page-head.is-blue .lead { color: rgb(255 255 255 / 0.9); }


.page-head.is-blue + .section { padding-top: var(--section); }

/* Diagnostic capture, straddling the end of the hero. */
.hero:has(+ .capture) { padding-bottom: clamp(5rem, 3rem + 8vw, 9rem); }

.capture { margin-top: clamp(-7rem, -1rem - 6vw, -3.5rem); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

.browser {
  margin: 0 auto;
  max-width: 62.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 3rem -1.5rem rgb(18 40 61 / 0.35);
}

.browser-bar { display: flex; gap: 0.375rem; padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--line); }

.browser-bar span { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--line); }

.browser img { display: block; width: 100%; height: auto; }

/* Proof strip under the hero. */
.proof { padding-block: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); border-bottom: 1px solid var(--line); }

.proof .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2.5rem;
}

.proof .kicker { margin: 0; }

.proof-line { color: var(--navy); }

.proof ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  list-style: none;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
}

.proof li { display: inline-flex; align-items: center; gap: 0.5rem; }

.proof svg { flex: none; opacity: 0.85; }

/* Before / Reflets / After */
.shift { counter-reset: none; }

.shift li { display: grid; gap: 0.75rem; align-content: start; }

/* The blue rule sits between the moment and what it brings. */
.shift h3,
.steps h3 { padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue); }

.shift p { color: var(--muted); }

.steps p { color: var(--navy); }

/* Steps: numbered, each with its capped price. */
.steps { counter-reset: step; list-style: none; }

.steps > li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* The duration is the headline, at the size of the verdicts; the step's name sits above it. */
.steps h3 { color: var(--blue); font-size: var(--t-figure); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

.steps .step-label::before { content: counter(step, decimal-leading-zero) " · "; }

.steps .step-label {
  color: var(--muted);
  font-size: var(--t-kicker);
  font-weight: 600;
  letter-spacing: 0.08em;
}


.steps .price-tag { margin-top: auto; padding-top: 0.75rem; color: var(--navy); font-weight: 600; }

/* Links at the foot of a card. */
.card-link { margin-top: auto; padding-top: 0.75rem; }

/* One key figure, with its sentence. */
.stat-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-top: var(--gap);
  padding-top: var(--gap);
  border-top: 1px solid var(--line);
  font-size: var(--t-lead);
}

/* Home partners: both portraits and one sentence of theirs, on one card. */
.partners { margin: 0; display: grid; gap: 1.5rem 2rem; align-items: center; }

.partners .people { display: grid; gap: 1.25rem; }

.partners-quote { margin: 0; display: grid; gap: 1rem; justify-items: start; }

.partners-quote p { color: var(--navy); font-size: var(--t-h2); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }

/* The partners' sentence on top, the two partners side by side below it. */
.partners-quote { order: -1; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }

@media (min-width: 48rem) {
  .partners .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .partners { padding: 2.5rem; }
}

/* People */
.people { list-style: none; }

.person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.person .portrait { width: 6rem; }

.person h3 { font-size: var(--t-h3); }

.person p { color: var(--muted); }

.person .person-role { margin-bottom: 0.25rem; color: var(--blue); font-size: var(--t-kicker); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.portrait {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
}

.people-lg .person { grid-template-columns: minmax(0, 1fr); align-items: start; }

.people-lg .portrait { width: min(100%, 15rem); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }

.faq details { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+" / ""; flex-shrink: 0; font-weight: 400; }

.faq details[open] summary::after { content: "−" / ""; }

.faq details p { padding-bottom: 1.25rem; max-width: 52rem; color: var(--muted); }

/* Closing block */
.closing {
  padding-block: clamp(3rem, 2.25rem + 3vw, 5rem);
  background: var(--blue);
  color: #fff;
}

/* The cover photo shows on the right; the text side stays solid blue, so contrast is unchanged. */
@media (min-width: 64rem) {
  .closing {
    background:
      linear-gradient(90deg, var(--blue) 45%, rgb(3 49 158 / 0.55) 100%),
      var(--blue) url("/assets/img/fin-futur-2.webp") right center / cover no-repeat;
  }
}

.closing .wrap { display: grid; justify-items: start; gap: 1.25rem; }

.closing p { max-width: var(--measure); color: rgb(255 255 255 / 0.9); font-size: var(--t-lead); }

/* Callout: one boxed note, a blue rule on the left. */
.callout {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--blue);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout h2 { font-size: var(--t-h3); margin-bottom: 0.375rem; }

/* Lists with a hairline between items. */
.lines {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--gap);
}

.lines li { padding-block: 1rem; border-top: 1px solid var(--line); }

@media (min-width: 40rem) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .lines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Prices: three columns of the same height. */
.price-card .price-name { font-size: var(--t-h3); font-weight: 600; }

.price-card .figure { margin-top: 0.75rem; }

.price-card .figure-sub { color: var(--muted); }

.price-card ul {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.price-card li { padding-left: 1.25rem; position: relative; }

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 1px;
  background: var(--blue);
}

/* Mission blocks on Exemples. */
.mission { display: grid; gap: 1rem; }

.mission + .mission { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid var(--line); }

.facts { display: grid; gap: 1.25rem var(--gap); margin: 0; }

.facts div { display: grid; gap: 0.375rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }

.facts dt { font-weight: 600; }

.facts dd { margin: 0; color: var(--muted); }

@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The partners' word: a quote set large, across the page. */
.quote {
  gap: 1.25rem calc(var(--gap) * 2);
  font-size: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.signature { margin-top: 1.5rem; font-weight: 600; }

/* Booking page */
.booking-layout { display: grid; gap: calc(var(--gap) * 1.5); align-items: start; }

@media (min-width: 64rem) {
  .booking-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.next-steps { list-style: none; counter-reset: next; display: grid; gap: 1rem; }

.next-steps li {
  counter-increment: next;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
}

.next-steps li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: var(--t-legend);
  font-weight: 600;
}

/* Templates: client case and publication. */
.page-head .kicker a { color: inherit; text-decoration: none; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }

.tags li {
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  font-size: var(--t-legend);
}

.case-body { display: grid; gap: var(--gap); align-items: start; }

@media (min-width: 64rem) {
  .case-body { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.case-figure .figure { font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); }

.case-quote { margin: 0; display: grid; gap: 1.25rem; max-width: var(--measure); }

.case-quote p { font-size: var(--t-h2); font-weight: 500; line-height: 1.3; }

.case-quote figcaption { display: flex; align-items: center; gap: 1rem; color: var(--muted); }

.case-quote figcaption strong { display: block; color: var(--navy); }

.case-quote .portrait,
.byline .portrait { width: 3.5rem; }

.cover {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--blue) var(--cover, none) center / cover no-repeat;
}

.cover-lg { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }

.byline { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); }

.article { max-width: var(--measure); margin-inline: auto; display: grid; gap: 1.25rem; padding-bottom: var(--section); }

.article h2 { margin-top: 1.25rem; font-size: var(--t-h3); }

.pub-list { display: grid; gap: var(--gap); list-style: none; }

@media (min-width: 48rem) {
  .pub-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pub-card-lg { grid-column: 1 / -1; }
}

.pub-card a { display: grid; gap: 0.5rem; color: inherit; text-decoration: none; }

.pub-card .cover { margin-bottom: 0.5rem; }

.pub-meta { color: var(--muted); font-size: var(--t-legend); }

.pub-title { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }

.pub-card-lg .pub-title { font-size: var(--t-h2); }

.pub-card a:hover .pub-title { text-decoration: underline; }

/* Footer */
.site-footer { padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem; border-top: 1px solid var(--line); }

.footer-grid { display: grid; gap: 2rem var(--gap); }

.footer-brand { display: grid; gap: 1rem; max-width: 22rem; }

.footer-brand p { color: var(--muted); }

/* The orange R on brand blue, small, as in the favicon. */
.mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: var(--blue);
}

.mark img { width: 1.25rem; }

.footer-col h2 {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: var(--t-kicker);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; display: grid; gap: 0.5rem; }

.footer-col a { text-decoration: none; }

.footer-col a:hover,
.footer-col a[aria-current="page"] { text-decoration: underline; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--t-legend);
}

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

/* Legal pages */
.legal-text { max-width: 52rem; }

.legal-block {
  display: grid;
  gap: 0.75rem var(--gap);
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.legal-block[hidden] { display: none; }

.legal-block:first-child { border-top: 0; padding-top: 0; }

.legal h2 { font-size: var(--t-h3); line-height: 1.3; }

.legal-text { display: grid; gap: 0.75rem; min-width: 0; overflow-wrap: anywhere; }

.legal-text ul { padding-left: 1.25em; }

@media (min-width: 48rem) {
  .legal-block { grid-template-columns: 14rem minmax(0, 1fr); }
}

/* Shared components: charts, booking form, roadmap template. */

/* Small label used inside charts and cards. */
.eyebrow,
.card-trade {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-kicker);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Dot plot: one row per object, a dot at the measured affinity, a light range up to what
   the undetermined segments could add, a hollow dot when at least one segment rejects it. */
.dotplot {
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
}

.dotplot-head {
  display: grid;
  gap: 1rem;
}

.dotplot-title { font-weight: 600; }

.dotplot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: var(--t-text);
  opacity: 0.8;
}

.dotplot-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dp-key {
  display: inline-block;
  flex-shrink: 0;
}

.dp-key-dot,
.dp-key-ring {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--navy);
}

.dp-key-ring {
  background: var(--cream);
  box-shadow: inset 0 0 0 2px var(--navy);
}

.dp-key-range {
  width: 1.5rem;
  height: 0.375rem;
  border-radius: 999px;
  background: rgb(240 96 0 / 0.25);
}

.dotplot-groups {
  display: grid;
  gap: 2.5rem var(--gap);
}

.dotplot-group {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.dotplot-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.dotplot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name value" "track track";
  gap: 0.375rem 1rem;
  padding: 0.75rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: 2px;
  transition: background-color 150ms var(--ease);
}

.dotplot-row:hover { background: rgb(18 40 61 / 0.04); }

.dp-name {
  grid-area: name;
  font-weight: 600;
  line-height: 1.3;
}

.dp-type,
.dp-reject {
  font-size: var(--t-text);
  font-weight: 400;
  opacity: 0.7;
}

.dp-reject {
  display: block;
  margin-top: 0.125rem;
}

.dp-value {
  grid-area: value;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dp-track {
  grid-area: track;
  position: relative;
  height: 0.75rem;
  margin-inline: 0.375rem;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
}

.dp-range {
  position: absolute;
  top: 50%;
  left: calc(var(--a) * 1%);
  width: calc(var(--u) * 1%);
  height: 0.375rem;
  border-radius: 999px;
  background: rgb(240 96 0 / 0.25);
  transform: translateY(-50%);
}

.dp-dot {
  position: absolute;
  top: 50%;
  left: calc(var(--a) * 1%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 2px #fff;
  transform: translate(-50%, -50%);
}

.is-rejected .dp-dot {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--navy), 0 0 0 2px #fff;
}

.dotplot-note {
  font-size: var(--t-text);
  opacity: 0.7;
}

/* Measure panels: thin horizontal bars, the measured film in brand blue, the rest in grey. */

.measure {
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
}

.measure-panels {
  display: grid;
  gap: 2.5rem var(--gap);
}

.measure-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.bars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name value" "track track";
  gap: 0.375rem 1rem;
  padding-block: 0.625rem;
}

.bar-name { grid-area: name; }

.is-target .bar-name { font-weight: 600; }

.bar-value {
  grid-area: value;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bar-track {
  grid-area: track;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.bar-fill {
  display: block;
  width: calc(var(--v) * 1%);
  height: 100%;
  border-radius: 999px;
  background: rgb(18 40 61 / 0.35);
}

/* Charts in navy and orange: the measured item in orange (#f06000 on white: 3.3:1, WCAG 1.4.11). */
.is-target .bar-fill { background: var(--orange-button); }



@media (min-width: 64rem) {
  .dotplot-groups,
  .measure-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.chart {
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chart > figure { margin-top: 0; }

/* Booking form: two steps, on a white card. */
.booking {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.25rem, 0.5rem + 3vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
}

.booking-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.avatars { display: flex; flex-shrink: 0; }

.avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.avatar + .avatar { margin-left: -0.75rem; }

img.avatar { width: 3.5rem; height: 3.5rem; background: none; }

.booking-title { font-weight: 600; line-height: 1.3; }

.booking-step {
  display: grid;
  gap: 1.5rem;
}

.booking-step[hidden] { display: none; }

.booking-step h3:focus { outline: none; }

.field {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field > label,
.field > legend {
  padding: 0;
  font-weight: 600;
  line-height: 1.35;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}

.field input:focus-visible,
.field textarea:focus-visible { outline-color: var(--blue); }

.field textarea { resize: vertical; }

.field [aria-invalid="true"],
.field-error {
  color: var(--error);
  font-weight: 600;
}

.field-hint,
.optional {
  opacity: 0.7;
  font-weight: 400;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking .cta:disabled { opacity: 0.6; cursor: wait; }

.booking-sign { font-weight: 600; }

.booking-next { font-size: var(--t-text); }

.booking-legal { opacity: 0.7; }


.booking-where { color: var(--muted); }

/* Form buttons: navy, the same shape as the main button. */
.booking .cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.booking .cta:hover { background: var(--blue); }

.booking .cta:focus-visible { outline-color: var(--navy); }

/* Booking slots (demo availability). */
.slots-days,
.slots-times { margin: 0; padding: 0; border: 0; display: grid; gap: 0.625rem; }

.slots-days legend,
.slots-times legend { padding: 0; margin-bottom: 0.625rem; font-weight: 600; }

.slots-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.slot { position: relative; }

.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.slot span {
  display: block;
  min-width: 5.5rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(2, 26, 84, 0.35);
  background: #fff;
  text-align: center;
  font-size: var(--t-text);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}

.slot input:hover:not(:disabled) + span { border-color: var(--navy); }

.slot input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }

.slot input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.slot input:disabled { cursor: not-allowed; }

.slot input:disabled + span { opacity: 0.5; text-decoration: line-through; }

.booking-back {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: var(--t-text);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

/* The textarea grows with its text instead of scrolling inside. */
.field textarea { field-sizing: content; min-height: 7.5rem; max-height: 20rem; }

/* Email typo hint (booking.js). */
.email-hint { font-size: var(--t-text); }

.email-hint button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

input, textarea { caret-color: var(--navy); accent-color: var(--navy); }

/* Prix: the roadmap template, smaller, on a white card. */
.roadmap { margin-top: 0.5rem; }

.roadmap-title { font-size: var(--t-chapeau); font-weight: 600; letter-spacing: var(--ls-chapeau); }

.roadmap-parts { margin: 0; display: grid; gap: 1rem; }

@media (min-width: 48rem) {
  .roadmap-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--gap); }
}

.roadmap-parts dt { font-weight: 600; }

.roadmap-parts dd { margin: 0.25rem 0 0; }

.roadmap-parts ul { margin: 0.25rem 0 0; padding-left: 1.25em; display: grid; gap: 0.25rem; }

.roadmap .roadmap-title { margin-top: 0.25rem; color: var(--navy); }

.roadmap-parts dd { color: var(--muted); }

/* No animation on entry; hover states only. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Exemples: share of answers per AI, with its margin (dot = value, band = range). */
.ranges-chart { margin-top: 1.5rem; }

.ranges-chart figcaption { font-weight: 600; margin-bottom: 1rem; }

.ranges { list-style: none; display: grid; gap: 0.875rem; }

.ranges li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name value" "track track"; align-items: center; gap: 0.25rem 1rem; }

.r-name { grid-area: name; }

.r-track { grid-area: track; }

.r-value { grid-area: value; }

@media (min-width: 48rem) {
  .ranges li { grid-template-columns: 6.5rem minmax(0, 1fr) 6.5rem; grid-template-areas: "name track value"; }
}

.r-track { position: relative; height: 1rem; }

.r-track::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--line); }

.r-band {
  position: absolute;
  top: calc(50% - 1px);
  left: calc(var(--lo) * 1%);
  width: calc((var(--hi) - var(--lo)) * 1%);
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  opacity: 0.35;
}

.r-dot {
  position: absolute;
  top: 50%;
  left: calc(var(--v) * 1%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--orange-button);
  transform: translate(-50%, -50%);
}

.r-value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.r-value small { display: block; color: var(--muted); font-size: var(--t-legend); font-weight: 400; }

/* Méthode: the protocol in three steps, each with a small schematic. */
.method { list-style: none; display: grid; gap: var(--gap); }

@media (min-width: 64rem) {
  .method { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.method > li { display: grid; gap: 0.75rem; align-content: start; }

.method h3 { padding-bottom: 0.75rem; border-bottom: 2px solid var(--blue); }

.m-visual {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.625rem;
  height: 12rem;
  margin-bottom: 0.5rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.m-box { padding: 0.375rem 0.875rem; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 600; }

.m-link { color: var(--blue); font-size: var(--t-legend); font-weight: 600; }

.m-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; }

.m-row span { padding: 0.25rem 0.625rem; border: 1px solid var(--line); border-radius: 4px; background: var(--cream); font-size: var(--t-legend); }

.m-big { color: var(--orange-button); font-size: var(--t-figure); font-weight: 600; line-height: 1; }

.m-range { position: relative; width: 70%; height: 0.75rem; }

.m-range::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--line); }

.m-range span { position: absolute; top: calc(50% - 1.5px); left: 25%; width: 19%; height: 3px; border-radius: 2px; background: rgb(18 40 61 / 0.35); }

.m-range span::after { content: ""; position: absolute; top: 50%; left: 47%; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--orange-button); transform: translate(-50%, -50%); }

.m-small { color: var(--muted); font-size: var(--t-legend); }

/* Home usages: the title and the three verdicts on the left, the four usages as a list on the right. */
.usages { display: grid; gap: calc(var(--gap) * 1.5); align-items: start; }

@media (min-width: 64rem) {
  .usages { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* The three verdicts carry the offer: each verb at headline size, its sentence under it. */
.verdicts { list-style: none; display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }

.verdicts li { padding-block: 1.25rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--t-lead); }

.verdicts strong { display: block; margin-bottom: 0.25rem; color: var(--blue); font-size: var(--t-figure); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

.usage-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

.usage-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1.5rem clamp(1.25rem, 1rem + 1vw, 2rem); }

/* The brand square, as on the kickers. */
.usage-list li::before { content: ""; width: 0.625rem; height: 0.625rem; border-radius: 1px; background: var(--blue); transform: translateY(-0.125rem); }

.usage-list p { color: var(--muted); }

.usage-list .usage-more::before { background: transparent; border: 2px solid var(--blue); }

.usage-list li + li { border-top: 1px solid var(--line); }


.usage-list h3 { margin-bottom: 0.25rem; color: var(--navy); font-size: var(--t-h3); font-weight: 600; }

/* Home missions: a small version of each mission's chart. */
.mini-ranges { gap: 0.375rem; margin-top: 0.75rem; }

.mini-ranges li { grid-template-columns: 5.5rem minmax(0, 1fr); grid-template-areas: "name track"; gap: 0.75rem; font-size: var(--t-legend); }

.mini-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 0.75rem; }

.mini-map > div { display: grid; gap: 0.625rem; align-content: start; }

.mini-col { color: var(--muted); font-size: var(--t-legend); }

.mini-dot { position: relative; height: 0.75rem; }

.mini-dot::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--line); }

.mini-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(0.3125rem + var(--v) * (100% - 0.625rem) / 100);
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
}

.mini-dot.is-rejected::after { background: #fff; border: 2px solid var(--navy); }

.mini-legend { color: var(--muted); font-size: var(--t-legend); }

/* Page titles with a photo: faded in from the right, light, the text side stays plain. */
.page-head.has-bg {
  background:
    linear-gradient(180deg, var(--cream) 55%, rgb(252 248 248 / 0.8) 100%),
    var(--cream) var(--bg) center bottom / cover no-repeat;
}

.page-head.is-blue.has-bg {
  background:
    linear-gradient(180deg, var(--blue) 55%, rgb(3 49 158 / 0.85) 100%),
    var(--blue) var(--bg) center bottom / cover no-repeat;
}

@media (min-width: 64rem) {
  .page-head.has-bg {
    background:
      linear-gradient(90deg, var(--cream) 45%, rgb(252 248 248 / 0.7) 100%),
      var(--cream) var(--bg) right center / cover no-repeat;
  }

  .page-head.is-blue.has-bg {
    background:
      linear-gradient(90deg, var(--blue) 40%, rgb(3 49 158 / 0.6) 100%),
      var(--blue) var(--bg) right center / cover no-repeat;
  }
}

.page-head.has-bg + .section { padding-top: var(--section); }

/* Contact: blue title band with its photo; the form card keeps navy text. */
.contact-head .booking { color: var(--navy); }

.contact-head .next-steps li::before { color: var(--navy); }

/* Contact: the sticker as a faint texture behind the band; a strong veil keeps the title and steps easy to read (desktop only). */
@media (min-width: 64rem) {
  .page-head.is-blue.has-bg.contact-head {
    background:
      linear-gradient(rgb(3 49 158 / 0.9), rgb(3 49 158 / 0.9)),
      var(--blue) url("/assets/img/contact-futur.webp") left bottom / cover no-repeat;
  }
}

/* Qui sommes-nous: the one orange title band. A deeper orange than the buttons, so white text reads at 4.5:1. */
.page-head.is-orange { --head-orange: #cc4e00; color: #fff; }

.page-head.is-orange .kicker,
.page-head.is-orange .lead { color: #fff; }

.page-head.is-orange.has-bg {
  background:
    linear-gradient(180deg, var(--head-orange) 55%, rgb(204 78 0 / 0.8) 100%),
    var(--head-orange) var(--bg) center bottom / cover no-repeat;
}

@media (min-width: 64rem) {
  .page-head.is-orange.has-bg {
    background:
      linear-gradient(90deg, var(--head-orange) 40%, rgb(204 78 0 / 0.55) 100%),
      var(--head-orange) var(--bg) right center / 60% auto no-repeat;
  }
}

/* Exemples: the small affinity map, at a readable size. */
.mini-figure { display: grid; gap: 0.75rem; max-width: 40rem; margin-top: 1.5rem; }

.mini-figure figcaption { font-weight: 600; }

/* Mentions légales: the button that reveals the publisher's details. */
.btn-small { min-height: 2.75rem; padding: 0 1rem; font-size: var(--t-legend); }

.legal-private { display: grid; gap: 0.75rem; }

/* Contact: the booking card, which opens Yvan's Google Calendar appointment page. */
.booking-facts { list-style: none; display: grid; gap: 0.75rem; }

.booking-facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }

.booking-facts li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 1px; background: var(--blue); transform: translateY(-0.125rem); }

.booking-cta { justify-self: start; }
