/* OPAL — landing page publique
   Crème / bleu nuit / bleu électrique · Bricolage Grotesque + IBM Plex Mono (auto-hébergées, licence OFL). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-var.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext-var.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --cream: #F2EDE3;
  --cream-2: #EDE6D8;
  --paper: #FBF8F1;
  --ticket: #FAF7F0;
  --ink: #0B1B3F;
  --ink-2: #33405F;
  --muted: #4B5675;
  --blue: #2446E8;
  --blue-dark: #1631B8;
  --blue-pale: #DCE3FF;
  --blue-hl: #C9D3FF;
  --line: #CFC6B3;
  --line-soft: #E3DCCD;
  --night-line: #2A3A63;
  --night-muted: #A9B4D6;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.micro { font-size: 11px; color: var(--muted); }
.accent { color: var(--blue); }
.hl { background: linear-gradient(transparent 60%, var(--blue-hl) 60%, var(--blue-hl) 94%, transparent 94%); }
.h2 { font-weight: 700; font-size: clamp(36px, 5.2vw, 68px); line-height: 1; letter-spacing: -.035em; }
.link { font-weight: 600; font-size: 14px; text-decoration: none; padding: 6px 0; display: inline-block; }

/* ---------- Page + vagues ---------- */
.page { position: relative; isolation: isolate; overflow: hidden; }
.waves { position: absolute; top: 0; height: 100%; z-index: -1; pointer-events: none; overflow: visible;
  /* Jamais sous le texte : la largeur suit la marge réellement libre de chaque côté du contenu. */
  width: min(120px, max(calc(var(--gutter) - 6px), calc((100vw - var(--container)) / 2 - 10px))); }
.waves--left { left: 0; }
.waves--right { right: 0; transform: scaleX(-1); }
@media (max-width: 767px) { .waves .w1, .waves .w2, .waves .w3 { display: none; } }
.waves .w { fill: none; stroke: var(--blue); vector-effect: non-scaling-stroke; stroke-linecap: round; }
.waves .w0 { fill: var(--blue-hl); fill-opacity: .45; stroke: none; }
.waves .w1 { stroke-width: 2; stroke-opacity: .5; }
.waves .w2 { stroke-width: 1.2; stroke-opacity: .32; }
.waves .w3 { stroke-width: 1; stroke-opacity: .25; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 14px 22px; border: 0; border-radius: 999px; background: var(--blue); color: var(--paper); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--blue-dark); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); flex-shrink: 0; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--lg { font-size: 18px; padding: 20px 30px; }
.btn--glow { box-shadow: 0 18px 40px -18px rgba(36, 70, 232, .6); }
.btn--block { width: 100%; justify-content: space-between; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--blue-pale); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 5px 0; text-align: left; cursor: pointer; }

/* ---------- Header ---------- */
.site-header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .site-header__inner { height: 88px; } }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo--sm { font-size: 20px; }
@media (max-width: 480px) { .site-header .btn--sm .arrow { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 56px; text-align: center; }
@media (min-width: 768px) { .hero { padding: 72px 0 72px; } }
.hero__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero__grid span { border-inline: 1px solid rgba(11, 27, 63, .06); }
.hero__grid span:nth-child(n+5) { display: none; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .hero__grid span:nth-child(n+5) { display: block; } }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 500; color: var(--ink-2); }
@media (min-width: 768px) { .pill { font-size: 14px; } }
.pill__dot { width: 8px; height: 8px; border-radius: 99px; background: var(--blue); box-shadow: 0 0 0 0 rgba(36, 70, 232, .45); animation: pulse 2.6s infinite; }
.hero__title { margin-top: 24px; max-width: 1140px; font-weight: 700; font-size: clamp(40px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.underline { position: relative; display: inline-block; white-space: nowrap; }
.underline svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .24em; overflow: visible; }
.underline path { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (max-width: 767px) { .underline path { stroke-width: 4; } }
.robot { display: inline-block; width: .95em; height: .95em; vertical-align: middle; margin: 0 .04em .14em; }
.robot__bg { fill: var(--blue); }
.robot__part, .robot__light { fill: var(--cream); }
.robot__antenna { stroke: var(--cream); stroke-width: 3; stroke-linecap: round; }
.robot__screen { fill: var(--ink); }
.robot__eyes { fill: var(--blue-hl); transform-box: fill-box; transform-origin: center; }
.robot__smile { fill: none; stroke: var(--blue-hl); stroke-width: 2; stroke-linecap: round; }
.robot__neck { fill: var(--cream); opacity: .55; }
.hero__sub { margin-top: 24px; max-width: 660px; font-size: clamp(16.5px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
@media (max-width: 480px) { .hero__cta .btn { width: 100%; } }

/* ---------- Bandeau outils ---------- */
.tools { padding-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
@media (min-width: 768px) { .tools { gap: 26px; } }
.tools__caption { font-size: 14px; color: var(--muted); text-align: center; padding-inline: 28px; }
@media (min-width: 768px) { .tools__caption { font-size: 15px; } }
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--cream), rgba(242, 237, 227, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--cream), rgba(242, 237, 227, 0)); }
@media (min-width: 1024px) { .marquee::before, .marquee::after { width: 160px; } }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* Le padding de fin reprend l'écart : chaque liste mesure exactement la moitié du rail, la boucle ne saute pas. */
.marquee__list { display: flex; align-items: center; flex-shrink: 0; gap: 36px; padding-right: 36px; }
.marquee__list li { display: flex; align-items: center; flex-shrink: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
/* Logos officiels, non modifiés : --h (hauteur desktop) est fixé par logo pour un poids visuel homogène. */
.marquee__list img { width: auto; max-width: none; height: calc(var(--h) * .786); }
@media (min-width: 768px) { .marquee__list { gap: 56px; padding-right: 56px; } .marquee__list li { font-size: 24px; } .marquee__list img { height: var(--h); } }

/* ---------- Vidéo de présentation (remplace l'aperçu des Systems) ---------- */
.preview { padding: 40px 0 72px; text-align: center; }
@media (min-width: 768px) { .preview { padding: 64px 0 136px; } }
.hero-video { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -36px rgba(11, 27, 63, .55); container-type: inline-size; isolation: isolate; }
@media (min-width: 768px) { .hero-video { border-radius: 28px; } }
.hero-video__poster, .hero-video__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video__media { background: transparent; }
.hero-video.is-error .hero-video__media, .hero-video.is-error .hero-video__controls, .hero-video.is-error .hero-video__captions { display: none; }
.hero-video__captions { position: absolute; left: 5%; right: 5%; bottom: 10%; transform: translateY(50%); text-align: center; font-weight: 600; font-size: clamp(12px, 2.2cqi, 26px); line-height: 1.32; letter-spacing: -.01em; pointer-events: none; z-index: 1; }
.hero-video__captions span { background: rgba(11, 27, 63, .9); color: var(--paper); padding: .08em .42em; border-radius: .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-video__controls { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; z-index: 2; }
/* Mobile : les boutons passent sous la vidéo pour ne rien masquer de l'image (hauteur réservée : aucun décalage). */
@media (max-width: 767px) {
  .hero-video { overflow: visible; margin-bottom: 52px; box-shadow: none; }
  .hero-video__poster, .hero-video__media { border-radius: 18px; }
  .hero-video__poster { box-shadow: 0 30px 60px -30px rgba(11, 27, 63, .55); }
  .hero-video__controls { top: calc(100% + 10px); right: 0; }
  .hero-video__btn { background: var(--ink); border-color: var(--ink); }
}
.hero-video__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(242, 237, 227, .28); border-radius: 999px; background: rgba(11, 27, 63, .72); color: var(--paper); font-size: 14px; font-weight: 600; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s var(--ease); }
.hero-video__btn:hover { background: rgba(11, 27, 63, .92); }
.hero-video__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-video__btn[aria-pressed="false"] .hero-video__waves { opacity: .35; }
.hero-video__btn--icon { width: 40px; padding: 0; justify-content: center; }
@media (min-width: 768px) { .hero-video__btn { min-height: 36px; font-size: 13px; } .hero-video__btn--icon { width: 36px; } }
.hero-video__btn--icon path { display: none; }
.hero-video__btn--icon[data-state="play"] .i-play, .hero-video__btn--icon[data-state="pause"] .i-pause, .hero-video__btn--icon[data-state="replay"] .i-replay { display: block; }
.hero-video__btn--icon[data-state="play"] .i-play { fill: currentColor; }
.hero-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--blue); color: var(--paper); font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(36, 70, 232, .7); }
.hero-video__play:hover { background: var(--blue-dark); }
.hero-video__play svg { width: 18px; height: 18px; fill: currentColor; }
.hero-video__play[hidden] { display: none; }
.hero-video:not(.is-started) .hero-video__controls .hero-video__btn--icon { display: none; }
.preview__title { margin: 48px auto 0; max-width: 900px; font-size: clamp(32px, 4.4vw, 56px); }
.preview__text { margin: 16px auto 0; max-width: 620px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--ink-2); }

/* ---------- Sections numérotées ---------- */
.section { border-top: 1px solid var(--ink); padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 136px 0; } }
.section__grid { display: grid; grid-template-columns: 1fr; row-gap: 20px; }
@media (min-width: 1024px) { .section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .section__label { grid-column: span 3; padding-top: 14px; } .section__content, .section__grid > .founder { grid-column: span 3; } .section__content { grid-column: 4 / span 9; } }
.section__label { color: var(--muted); line-height: 1.7; }
.section__label--inline { padding: 0 0 18px; }
.section__content { display: flex; flex-direction: column; min-width: 0; }
.section__content > .h2 { max-width: 880px; }

/* ---------- Sections resserrées (01, 02, 03) ---------- */
.section--tight { padding: 64px 0; }
.section--tight .section__label { padding-top: 0; margin-bottom: 16px; }
@media (min-width: 1024px) {
  .section--tight { padding: 104px 0; }
  .section--tight .h2 { font-size: 60px; line-height: 1.05; }
  .section--tight .section__label { margin-bottom: 22px; }
}

/* Section 01 : Constat */
.constat__grid { display: flex; flex-direction: column; }
.constat__header { order: 1; }
.constat__header .section__label { margin-bottom: 16px; }
.constat__grid .frictions { order: 2; margin-top: 32px; }
.constat__grid .punchline { order: 3; margin-top: 36px; max-width: 900px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 600; line-height: 1.16; letter-spacing: -.03em; }

.frictions li { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(19px, 2.2vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.frictions li:last-child { border-bottom: 1px solid var(--line); }
.frictions .mono { color: var(--blue); flex-shrink: 0; width: 28px; }

@media (min-width: 1024px) {
  .constat__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .constat__header {
    grid-column: 1 / span 5;
    grid-row: 1;
    order: unset;
  }
  .constat__header .section__label {
    margin-bottom: 22px;
  }
  .constat__grid .punchline {
    grid-column: 1 / span 5;
    grid-row: 2;
    margin-top: 18px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.03em;
    max-width: none;
    order: unset;
  }
  .constat__grid .frictions {
    grid-column: 7 / span 6;
    grid-row: 1 / span 3;
    margin-top: 0;
    order: unset;
  }
  .constat__grid .frictions li {
    font-size: 24px;
    padding: 20px 0;
    gap: 20px;
    line-height: 1.3;
  }
  .constat__grid .frictions .mono {
    width: 28px;
    font-size: 13px;
  }
}

/* Section 02 : Méthode */
.section--methode .section__header { width: 100%; }
.section--methode .section__header .section__label { margin-bottom: 16px; }
.steps { margin-top: 32px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.step { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step__num { font-size: clamp(72px, 9vw, 132px); font-weight: 700; line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .8s var(--ease), -webkit-text-stroke-color .8s var(--ease); }
.step--last .step__num { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.step h3 { margin-top: 8px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.step p { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }

@media (min-width: 768px) and (max-width: 1023px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
  .step { padding: 24px 20px 0; border-bottom: 0; border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; border-left: 0; }
  .step:last-child { padding-right: 0; }
  .step__num { font-size: 80px; }
  .step h3 { font-size: 24px; }
}

@media (min-width: 1024px) {
  .section--methode .section__header { max-width: 900px; }
  .section--methode .section__header .section__label { margin-bottom: 22px; }
  .section--methode .steps {
    margin-top: 52px;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .section--methode .step {
    padding: 32px 32px 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .section--methode .step:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .section--methode .step:last-child {
    padding-right: 0;
  }
  .section--methode .step__num {
    font-size: 96px;
    line-height: .85;
  }
  .section--methode .step h3 {
    font-size: 30px;
    margin-top: 10px;
  }
  .section--methode .step p {
    font-size: 16px;
    line-height: 1.55;
    max-width: 320px;
  }
}

/* Section 03 : Cartography (Ticket à 3 bandes) */
.section--carto .section__header .section__label { margin-bottom: 16px; }
@media (min-width: 1024px) {
  .section--carto .section__header .section__label { margin-bottom: 22px; }
}

.ticket {
  margin-top: 32px;
  border: 1.5px solid var(--ink);
  background: #FAF7F0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  width: 100%;
}
@media (min-width: 1024px) {
  .ticket { margin-top: 44px; }
}

/* Bande 1 : En-tête bleu nuit */
.ticket__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10.5px;
}
.ticket__head span + span { color: var(--night-muted); text-align: right; }
@media (max-width: 600px) { .ticket__head span + span { display: none; } }
@media (min-width: 1024px) { .ticket__head { padding: 16px 40px; font-size: 11.5px; } }

/* Bande 2 : Contenu crème */
.ticket__body {
  background: #FAF7F0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .ticket__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 32px 32px;
  }
}
@media (min-width: 1024px) {
  .ticket__body {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 0;
    padding: 36px 40px;
  }
}

.ticket__label { font-size: 11px; color: var(--blue); margin-bottom: 10px; }
.ticket__label--muted { color: var(--muted); }
.plain li { font-size: 16px; line-height: 1.7; }
.plain--muted li { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
@media (min-width: 1024px) {
  .plain li { font-size: 17px; }
  .plain--muted li { font-size: 15.5px; }
}

/* Bande 3 : Offre bleu pâle */
.ticket__offer {
  position: relative;
  background: #DCE3FF;
  border-top: 2px dashed var(--ink);
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (min-width: 768px) {
  .ticket__offer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 32px 32px;
  }
}
@media (min-width: 1024px) {
  .ticket__offer {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
    padding: 36px 40px;
  }
}

.ticket__col { font-size: 15px; line-height: 1.55; color: var(--ink); }
.ticket__col p { font-size: 15px; line-height: 1.55; }
@media (min-width: 1024px) {
  .ticket__col { grid-column: span 3; }
  .ticket__col--wide { grid-column: span 6; }
}

.ticket__col--price .price { display: flex; flex-direction: column; gap: 6px; }
.ticket__col--price .price__value { font-size: clamp(52px, 6vw, 72px); font-weight: 700; line-height: .95; letter-spacing: -.045em; }
.ticket__col--price .price__meta { font-size: 11.5px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .ticket__col--price .price__value { font-size: 72px; }
}

.ticket__col--cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ticket__col--cta .btn { width: 100%; }
.ticket__col--cta .link { font-size: 13.5px; line-height: 1.4; padding: 2px 0; }

/* Encoches rondes aux deux extrémités de la ligne pointillée */
.ticket__notch {
  position: absolute;
  width: 15px;
  height: 30px;
  top: -15px;
  background: var(--cream);
  z-index: 2;
  box-sizing: border-box;
}
.ticket__notch--left {
  left: -1.5px;
  border-radius: 0 15px 15px 0;
  border: 1.5px solid var(--ink);
  border-left: none;
}
.ticket__notch--right {
  right: -1.5px;
  border-radius: 15px 0 0 15px;
  border: 1.5px solid var(--ink);
  border-right: none;
}

/* Fondateur + FAQ */
.founder { display: flex; flex-direction: column; gap: 22px; }
.founder img { width: 150px; height: 150px; object-fit: cover; box-shadow: 8px 8px 0 var(--blue); }
@media (min-width: 1024px) { .founder { grid-column: span 3; gap: 30px; } .founder img { width: 260px; height: 260px; box-shadow: 14px 14px 0 var(--blue); } }
.founder__id { display: flex; flex-direction: column; gap: 4px; }
.founder__id strong { font-size: 19px; letter-spacing: -.02em; }
.founder__id .mono { font-size: 11px; color: var(--muted); }
.founder__id a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 0; }
.founder__id svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.quote { font-size: clamp(26px, 3.4vw, 46px); font-weight: 500; line-height: 1.14; letter-spacing: -.03em; max-width: 900px; }
.faq { margin-top: 48px; }
@media (min-width: 1024px) { .faq { margin-top: 88px; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 8px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) { .faq summary { grid-template-columns: 64px 1fr 24px; padding: 26px 0; } }
.faq summary .mono { color: var(--blue); }
.faq summary i { position: relative; width: 20px; height: 20px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.8px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 24px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }
@media (min-width: 1024px) { .faq details p { padding-left: 72px; } }

/* ---------- CTA final + footer ---------- */
.final { background: var(--ink); color: var(--cream); padding: 72px 0 0; overflow: hidden; }
@media (min-width: 1024px) { .final { padding-top: 128px; } }
.final__title { font-size: clamp(40px, 6.2vw, 88px); font-weight: 700; line-height: .98; letter-spacing: -.045em; max-width: 1180px; text-wrap: balance; }
.final__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.final__cta .micro { color: var(--night-muted); }
@media (max-width: 480px) { .final__cta .btn { width: 100%; justify-content: space-between; } }
.wordmark { margin-top: 48px; font-size: clamp(140px, 30vw, 420px); font-weight: 800; line-height: .74; letter-spacing: -.06em; color: rgba(242, 237, 227, .07); white-space: nowrap; user-select: none; }
.site-footer { background: var(--ink); color: var(--cream); padding: 40px 0 32px; }
.site-footer .container { border-top: 1px solid var(--night-line); padding-top: 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 5fr 3fr 3fr; gap: 24px; } }
.site-footer__brand strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.site-footer__brand p { margin-top: 10px; max-width: 360px; font-size: 14.5px; line-height: 1.55; color: var(--night-muted); }
.site-footer nav { display: flex; flex-direction: column; }
.site-footer nav .mono { font-size: 10.5px; color: var(--night-muted); padding-bottom: 8px; }
.site-footer nav a, .site-footer .linklike { color: var(--cream); text-decoration: none; font-size: 15px; padding: 7px 0; }
.site-footer nav a:hover, .site-footer .linklike:hover { color: var(--blue-hl); }
.site-footer__legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 12px; }
.site-footer__legal .mono { font-size: 10px; line-height: 1.7; color: var(--night-muted); }
.site-footer__legal p:last-child { font-size: 12px; line-height: 1.6; color: #8793B8; max-width: 460px; }
@media (min-width: 1024px) { .site-footer__legal { flex-direction: row; justify-content: space-between; gap: 48px; } .site-footer__legal p:last-child { text-align: right; } }

/* ---------- Barre CTA mobile ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(242, 237, 227, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .step:not(.step--last) .step__num { -webkit-text-stroke-color: var(--line); }
.js .step.is-in:not(.step--last) .step__num { -webkit-text-stroke-color: var(--ink); }
.js .underline path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.js .underline.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s .5s var(--ease); }

/* ---------- Animations ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 70, 232, .45); } 70% { box-shadow: 0 0 0 9px rgba(36, 70, 232, 0); } 100% { box-shadow: 0 0 0 0 rgba(36, 70, 232, 0); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sway { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
@keyframes sway2 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.robot__eyes { animation: blink 5.5s infinite; }
.waves .w1 { animation: sway 14s ease-in-out infinite; }
.waves .w2 { animation: sway2 18s ease-in-out infinite; }
.waves .w3 { animation: sway 22s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .underline path { stroke-dashoffset: 0; }
  .window { transform: perspective(2400px) rotateX(10deg) rotateZ(-3deg); }
}

/* ---------- Formulaire (dialog) ---------- */
.qf { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--cream); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.qf::backdrop { background: rgba(11, 27, 63, .5); }
.qf[open] { display: flex; animation: qfIn .35s var(--ease); }
@keyframes qfIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qf__shell { width: 100%; max-width: 720px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); }
.qf__top { height: 64px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.qf__close { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-right: -10px; }
.qf__close:hover { background: var(--cream-2); }
.qf__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.qf__progress { display: flex; flex-direction: column; gap: 10px; }
.qf__progress[hidden] { display: none; }
.qf__bars { display: flex; gap: 6px; }
.qf__bars span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.qf__bars span::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .4s var(--ease); }
.qf__progress .mono { font-size: 11px; color: var(--muted); }
.qf__body { flex: 1; display: flex; flex-direction: column; padding-top: 32px; }
@media (min-width: 768px) { .qf__body { padding-top: 56px; } }
.qf__screen { flex: 1; display: flex; flex-direction: column; gap: 18px; animation: qfIn .3s var(--ease); }
.qf__kicker { font-size: 11px; color: var(--blue); }
.qf__title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.qf__title:focus { outline: none; }
.qf__help { font-size: 15px; color: var(--muted); line-height: 1.5; }
.qf__options { display: grid; gap: 10px; margin-top: 6px; }
@media (min-width: 640px) { .qf__options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qf__opt { position: relative; }
.qf__opt input { position: absolute; opacity: 0; pointer-events: none; }
.qf__opt span { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; font-size: 16px; line-height: 1.35; cursor: pointer; transition: border-color .15s, background-color .15s; }
.qf__opt span::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; border: 1.5px solid #9A9180; border-radius: 999px; transition: all .15s; }
.qf__opt--multi span::before { border-radius: 6px; }
.qf__opt span:hover { border-color: var(--ink-2); }
.qf__opt input:checked + span { border-color: var(--blue); background: #EEF1FC; }
.qf__opt input:checked + span::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3.5px #EEF1FC; }
.qf__opt--multi input:checked + span::before { box-shadow: none; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.qf__opt input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.qf__nav { margin-top: 14px; padding-top: 0; display: flex; gap: 12px; align-items: center; }
.qf__nav .btn { flex: 1; }
@media (min-width: 768px) { .qf__nav { margin-top: 18px; } .qf__nav .btn { flex: 0 1 auto; margin-left: auto; min-width: 220px; } }
.qf__back { width: 56px; height: 56px; flex-shrink: 0; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qf__back:hover { border-color: var(--ink-2); }
.qf__back svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qf__fields { display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 640px) { .qf__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qf__field--wide { grid-column: 1 / -1; } }
.qf__field { display: flex; flex-direction: column; gap: 7px; }
.qf__field label { font-weight: 600; font-size: 15px; }
.qf__field input { height: 56px; padding: 0 18px; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; }
.qf__field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 70, 232, .18); }
.qf__field input[aria-invalid="true"] { border-color: #B42318; }
.qf__err { font-size: 13.5px; color: #B42318; }
.qf__err:empty { display: none; }
.qf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf__notice { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.qf__alert { padding: 14px 16px; border-radius: 12px; background: #FDECEA; color: #7A1A12; font-size: 14.5px; line-height: 1.5; }
.qf__badge { align-self: flex-start; font-size: 11px; color: var(--blue); background: var(--blue-pale); padding: 7px 12px; border-radius: 999px; }
.qf__badge--neutral { color: var(--ink); background: var(--cream-2); }
.qf__lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.qf__person { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-block: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.qf__person img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.qf__calendly { margin-top: 8px; min-height: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line-soft); }
.qf__calendly.is-loaded { min-height: 700px; }
.qf__spinner { width: 28px; height: 28px; border-radius: 999px; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin 1s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
body.qf-open { overflow: hidden; }

/* ---------- Pages légales ---------- */
.legal { padding: 48px 0 96px; }
.legal .container { max-width: calc(760px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.legal h2 { margin-top: 40px; font-size: 22px; letter-spacing: -.02em; }
.legal p, .legal li { margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .todo { background: #FFF4D6; padding: 2px 6px; border-radius: 4px; color: #6B4E00; }
.legal__meta { margin-top: 14px; color: var(--muted); }

/* ---------- Guide (ressources) ---------- */
/* ---------- Lead magnets (formulaire court /ressources/<sujet>) ---------- */
.lm { margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.lm h2 { margin-top: 0; }
.lm p.lm__intro { margin-top: 8px; color: var(--ink-2); }
.lm form { margin-top: 20px; }
.lm .qf__fields { margin-top: 0; }
.lm__hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.lm__consent { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.lm__consent a { color: inherit; text-decoration: underline; }
.lm .btn { margin-top: 18px; }
.lm__error { margin-top: 14px; color: #B42318; font-size: 14.5px; }
.lm__result { margin-top: 20px; padding: 20px; border-radius: 12px; background: var(--blue-pale); }
.lm__result p { margin-top: 8px; }
.lm__result .btn { margin-top: 16px; }

.guide__kicker { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.guide h1 { margin-top: 12px; }
.guide .guide__lead { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--ink); }
.guide h2 { display: flex; align-items: baseline; gap: 12px; }
.guide__num { font-size: 13px; color: var(--blue); flex-shrink: 0; }
.guide__box { margin-top: 18px; padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--paper); border-radius: 0 8px 8px 0; }
.guide__box p { margin-top: 4px; }
.guide__box .mono { margin-top: 0; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.guide__cta { margin-top: 56px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; }
.guide__cta h2 { margin-top: 0; }
.guide__cta .btn { margin-top: 20px; }

/* Formulaire — écran « feuille de route » (leads RED) */
.qf__plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.qf__plan li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qf__plan-num { font-size: 12px; color: var(--blue); padding-top: 3px; }
.qf__plan strong { display: block; font-size: 16.5px; line-height: 1.35; color: var(--ink); }
.qf__plan p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.qf__calc { background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.qf__calc-kicker { margin: 0; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.qf__calc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.qf__calc-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.25; }
.qf__calc-fields input { width: 100%; height: 46px; padding: 0 12px; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; }
.qf__calc-fields input { -moz-appearance: textfield; appearance: textfield; }
.qf__calc-fields input::-webkit-inner-spin-button, .qf__calc-fields input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qf__calc-fields input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 70, 232, .18); }
.qf__calc-result { margin: 0; font-size: 15px; color: var(--ink-2); }
.qf__calc-result [data-total] { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.qf__calc-sub { color: var(--muted); font-size: 13px; }
.qf__calc-next { margin: 0; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.qf__link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qf__btn-outline { border: 1.5px solid var(--line); }
.qf__nav--split { flex-wrap: wrap; }
@media (min-width: 768px) { .qf__nav--split .btn { margin-left: 0; } .qf__nav--split .btn:last-child { margin-left: auto; } }
@media (max-width: 767px) { .qf__nav--split { flex-direction: column-reverse; align-items: stretch; } }
