@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg-canvas: #0a0c0e;
  --bg-surface-default: #fcfdf7;
  --bg-surface-light: #111418;

  --fill-default: #232c33;
  --fill-neutral-default: #fcfdf7;
  --fill-warning: #ff9f63;

  --border-default: #232c33;
  --border-light: #3e4a5b;
  --border-accent: #fcfdf7;

  --content-default: #fcfdf7;
  --content-on-surface: #0a0c0e;
  --content-subtle: #b0bec9;
  --content-subtler: #6b8599;
  --content-subtlest: #535f68;
  --content-warning: #ff9f63;
  --content-primary: #ffd167;
  --content-tertiary: #dee7b2;

  --color-brand-yellow-50: #ffd167;
  --color-brand-blue-50: #bcfeff;

  --gradient-brand: linear-gradient(90deg, var(--color-brand-blue-50) 0%, var(--color-brand-yellow-50) 100%);

  --font-family-default: 'Plus Jakarta Sans', sans-serif;
  --font-family-secondary: 'Inter', sans-serif;

  --max-width: 1400px;
  --shadow-xs: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-canvas);
  color: var(--content-default);
  font-family: var(--font-family-default);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  --header-height: 128px;
  padding-top: var(--header-height);
}

#hero {
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

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

ul {
  list-style: disc;
  padding-left: 20px;
}

/* ═══════════════════════════════════════════════
   UTILITY — GRADIENT TEXT
═══════════════════════════════════════════════ */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 45px;
  line-height: 1.2;
  letter-spacing: -0.45px;
  padding-bottom: 0.1em;
}

.gradient-text-inline {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-bottom: 0.05em;
}

/* ═══════════════════════════════════════════════
   SECTION HEADER (shared)
═══════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  padding: 0 24px;
}

.section-subtitle {
  font-family: var(--font-family-default);
  font-weight: 400;
  font-size: 32px;
  color: var(--content-default);
  line-height: 1.1;
  letter-spacing: -0.32px;
  text-align: center;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 1092px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/hero-img.jpg') center center / cover no-repeat;
  z-index: 0;
}

/* Right-side darkening so the form sits on a clean dark area */

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 72px;
  width: 100%;
  background: transparent;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    transform 0.35s ease,
    opacity 0.3s ease;
}

body.past-hero header {
  background: rgba(10, 12, 14, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.on-contact header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body.past-hero .cta-header {
  background: linear-gradient(90deg, var(--color-brand-blue-50) 0%, var(--color-brand-yellow-50) 100%);
  color: var(--content-on-surface);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 24px rgba(255, 209, 103, 0.25),
    0 0 36px rgba(188, 254, 255, 0.18);
  animation: cta-header-pulse 2.6s ease-in-out infinite;
}

body.past-hero .cta-header:hover {
  background: linear-gradient(135deg, var(--color-brand-blue-50) 0%, var(--color-brand-yellow-50) 100%);
  filter: brightness(1.05);
  animation: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 12px 32px rgba(255, 209, 103, 0.35),
    0 0 48px rgba(188, 254, 255, 0.28);
  transform: translateY(-1px);
}

@keyframes cta-header-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.18),
      0 8px 24px rgba(255, 209, 103, 0.22),
      0 0 28px rgba(188, 254, 255, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.28),
      0 10px 32px rgba(255, 209, 103, 0.4),
      0 0 48px rgba(188, 254, 255, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.past-hero .cta-header {
    animation: none;
  }
}

.logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-partner {
  height: 58px;
  width: auto;
  /* Worldchefs lockup carries a globe icon + 4-line wordmark, needs more
     height than a flat wordmark logo to stay legible. Worldchefs logo
     asset is already white, no filter needed on dark header. */
}

.logo-memento {
  height: 38px;
  width: auto;
}

.header-sep {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.7);
}

.cta-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 10px 28px 10px 32px;
  background: var(--fill-neutral-default);
  color: var(--content-on-surface);
  border-radius: 16px;
  font-family: var(--font-family-secondary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, transform 0.15s, box-shadow 0.3s;
}

.cta-header .cta-arrow {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-header:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-header:hover {
  background: #e0e0d8;
  color: var(--content-on-surface);
}

.cta-header:active {
  transform: scale(0.97);
  background: #d0d0d0;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 104px 72px 88px;
  display: flex;
  align-items: center;
}

.hero-content .left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 700px;
}

h1 {
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.07;
  letter-spacing: -1.28px;
  color: var(--content-default);
}

.gradient-text-hero {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  padding-bottom: 0.05em;
}

.subtitle {
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 24px;
  color: var(--content-subtler);
  line-height: 1.4;
}

.no-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--content-default);
}

/* CTA gradient with hover rotation */
.cta-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  border-radius: 16px;
  font-family: var(--font-family-secondary);
  font-size: 23px;
  font-weight: 600;
  color: var(--content-on-surface);
  text-decoration: none;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(90deg, var(--color-brand-blue-50) 0%, var(--color-brand-yellow-50) 100%);
}

.cta-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-brand-blue-50) 0%, var(--color-brand-yellow-50) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: inherit;
  z-index: -1;
}

.cta-gradient:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(188, 254, 255, 0.25);
}

.cta-gradient:hover::before {
  opacity: 1;
}

.cta-gradient:active {
  transform: scale(0.98);
  filter: saturate(0.85);
}

.cta-gradient:active {
  transform: scale(0.98);
  filter: saturate(0.85);
}

/* References + carousel */
.references {
  position: relative;
  z-index: 5;
  padding: 56px 72px 72px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  animation: heroFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ref-text {
  font-family: var(--font-family-secondary);
  font-weight: 200;
  font-size: 26px;
  color: var(--content-default);
  text-align: center;
}

.ref-brand {
  color: var(--content-tertiary);
}

/* Logos statiques — masqués sur desktop, visibles sur mobile */
.references-logos-static {
  display: none;
}

.hero-img-mobile {
  display: none;
}

/* Carousel */
.carousel-wrapper {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 38s linear infinite;
}

.carousel-logos {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 0 36px;
}

.carousel-logos img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.carousel-logos img[src*="FIA"] {
  height: 44px;
}

.why-carousel-logos img[src*="FIA"] {
  height: 32px;
}

.references-logos-static img[src*="FIA"] {
  height: 28px;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   SECTION 2 — WHAT
═══════════════════════════════════════════════ */
#what {
  background: linear-gradient(to bottom, #000000 0%, transparent 32%);
  padding-top: 124px;
  padding-bottom: 80px;
}

.what-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

#what h2 {
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.45px;
  color: var(--content-default);
  text-align: center;
}

.what-schema {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 24px;
}

/* ═══════════════════════════════════════════════
   SECTION 3 — HOW
═══════════════════════════════════════════════ */
#how {
  padding: 100px 0;
}

.bloc-3-steps {
  background: var(--bg-surface-default);
  border-radius: 56px;
  padding: 72px 104px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.for-attendees {
  font-family: var(--font-family-default);
  font-weight: 400;
  font-size: 32px;
  color: var(--content-subtler);
  padding-top: 56px;
  padding-bottom: 40px;
  text-align: center;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 24px;
  row-gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 0;
  background: #ffffff;
  border: 1px solid rgba(35, 44, 51, 0.06);
  border-radius: 20px;
  padding: 24px 24px 32px;
  box-shadow: 0 6px 24px -12px rgba(35, 44, 51, 0.12);
}

.step-img {
  display: block;
  width: 100%;
  height: 208px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 24px;
  background: #000000;
}

.step-number {
  font-family: var(--font-family-default);
  font-weight: 600;
  font-size: 51px;
  line-height: 1;
  background: linear-gradient(180deg, #1e88e5 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.step h3 {
  font-family: var(--font-family-secondary);
  font-weight: 600;
  font-size: 24px;
  color: var(--content-on-surface);
  line-height: 1.3;
  min-height: calc(24px * 1.3 * 2);
  max-width: 22ch;
  text-wrap: balance;
  margin-bottom: 8px;
}

.step p {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 16px;
  color: var(--content-subtlest);
  line-height: 1.5;
  max-width: 310px;
}

.no-app-note {
  list-style: none;
  margin: 64px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(35, 44, 51, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-app-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.no-app-icon {
  filter: brightness(0);
  flex-shrink: 0;
  margin-top: 1px;
}

.no-app-item p {
  font-family: var(--font-family-secondary);
  font-size: 14px;
  line-height: 1.5;
  color: var(--content-subtlest);
  margin: 0;
}

.no-app-item strong {
  font-weight: 500;
  color: var(--content-on-surface);
}

.no-app-sep {
  color: var(--content-on-surface);
  margin: 0 4px;
}

.no-app-detail {
  color: var(--content-subtlest);
}

/* ═══════════════════════════════════════════════
   SECTION 4 — WAY
═══════════════════════════════════════════════ */
#way {
  padding: 96px 0 120px;
}

.way-interactive {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
  align-items: start;
}

.way-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.way-card {
  appearance: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  color: inherit;
  position: relative;
  isolation: isolate;
}

.way-card:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.way-card.is-active {
  background: var(--bg-surface-light);
  border-color: rgba(255, 209, 103, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 209, 103, 0.4),
    0 12px 32px -16px rgba(0, 0, 0, 0.6);
}

.way-card-num {
  font-family: var(--font-family-default);
  font-weight: 200;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  align-self: start;
  margin-top: 2px;
}

.way-card.is-active .way-card-num {
  opacity: 1;
}

.way-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.way-card-title {
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: var(--content-default);
  letter-spacing: -0.005em;
}

.way-card-desc {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--content-subtle);
}

.way-display {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.way-visual {
  position: relative;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.way-visual-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}

.way-visual-frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.way-visual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* State 1 — Live experience: notification + gallery phones */
.live-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-phone {
  position: absolute;
  top: 50%;
  height: 92%;
  width: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.live-phone--notif {
  left: 35%;
  transform: translate(-50%, -50%) rotate(-9deg);
  z-index: 1;
}

.live-phone--gallery {
  left: 65%;
  transform: translate(-50%, -50%) rotate(9deg);
  z-index: 2;
}

.way-visual-frame[data-state="1"].is-active .live-phone--notif {
  animation:
    live-phone-enter-left 0.8s cubic-bezier(0.22, 1, 0.36, 1) both,
    live-phone-float-left 7s ease-in-out 0.8s infinite;
}

.way-visual-frame[data-state="1"].is-active .live-phone--gallery {
  animation:
    live-phone-enter-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both,
    live-phone-float-right 7s ease-in-out 1s infinite;
}

@keyframes live-phone-enter-left {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-20deg) translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-9deg) translateX(0);
  }
}

@keyframes live-phone-enter-right {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(20deg) translateX(20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(9deg) translateX(0);
  }
}

@keyframes live-phone-float-left {
  0%, 100% { transform: translate(-50%, -50%) rotate(-9deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(-9deg) translateY(-6px); }
}

@keyframes live-phone-float-right {
  0%, 100% { transform: translate(-50%, -50%) rotate(9deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(9deg) translateY(6px); }
}

/* State 3 — phones bigger + gently floating */
.way-visual-frame[data-state="3"] .way-visual-img {
  transform: scale(1.12);
  transform-origin: center;
}

.way-visual-frame[data-state="3"].is-active .way-visual-img {
  animation: way-phones-float 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes way-phones-float {
  0%, 100% {
    transform: scale(1.12) translateY(0) rotate(0deg);
  }
  33% {
    transform: scale(1.12) translateY(-6px) rotate(-0.4deg);
  }
  66% {
    transform: scale(1.12) translateY(4px) rotate(0.3deg);
  }
}

.way-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: wayBulletsFade 0.45s ease-out both;
}

.way-bullets.is-active {
  display: flex;
}

@keyframes wayBulletsFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.way-bullets li {
  font-family: var(--font-family-secondary);
  font-size: 17px;
  line-height: 1.55;
  color: var(--content-default);
  padding-left: 30px;
  position: relative;
}

.way-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

/* ── Personalize scene (state 2) ──────────── */
.personalize-scene {
  position: absolute;
  inset: 0;
  background: var(--bg-canvas);
  overflow: hidden;
}

.personalize-orb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.personalize-orb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 209, 103, 0.22) 0%,
    rgba(188, 254, 255, 0.16) 35%,
    rgba(255, 209, 103, 0.05) 60%,
    transparent 75%
  );
  filter: blur(28px);
  animation: personalize-glow 4.5s ease-in-out infinite;
  will-change: transform, opacity;
}

.personalize-orb img {
  position: relative;
  width: 64%;
  max-width: 380px;
  height: auto;
  animation: personalize-pulse 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes personalize-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes personalize-glow {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.personalize-avatar {
  position: absolute;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: personalize-pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.personalize-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(0, 0, 0, 0.4);
  transition: filter 0.4s ease;
}

/* Inactive avatars (Justine, Clara) are slightly dimmed */
.personalize-avatar:not(.personalize-avatar--nicolas) img {
  filter: brightness(0.85) saturate(0.9);
}

/* Active avatar (Nicolas) — highlighted, slightly bigger, with glow */
.personalize-avatar--nicolas img {
  width: 68px;
  height: 68px;
  border: 2.5px solid var(--content-primary);
  box-shadow:
    0 0 0 4px rgba(255, 209, 103, 0.18),
    0 0 28px rgba(255, 209, 103, 0.45),
    0 8px 32px rgba(0, 0, 0, 0.55);
}

.personalize-avatar--nicolas .personalize-avatar-label {
  background: rgba(255, 209, 103, 0.18);
  border-color: rgba(255, 209, 103, 0.4);
  color: var(--content-primary);
  font-weight: 600;
}

@keyframes personalize-active-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(255, 209, 103, 0.18),
      0 0 28px rgba(255, 209, 103, 0.45),
      0 8px 32px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(255, 209, 103, 0.24),
      0 0 40px rgba(255, 209, 103, 0.6),
      0 8px 32px rgba(0, 0, 0, 0.55);
  }
}

.personalize-avatar--clara img {
  object-position: center center;
}

.personalize-avatar--justine img {
  object-position: center 18%;
}

.personalize-avatar--nicolas img {
  object-position: center 50%;
}

.personalize-avatar-label {
  padding: 3px 9px;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  font-family: var(--font-family-secondary);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.personalize-avatar--justine {
  top: 75%;
  left: 28%;
  --delay: 0.1s;
  --tilt: -4deg;
}

.personalize-avatar--justine .personalize-avatar-label {
  color: var(--content-primary);
}

.personalize-avatar--nicolas {
  top: 14%;
  left: 50%;
  --delay: 0.25s;
  --tilt: 0deg;
}

.personalize-avatar--nicolas .personalize-avatar-label {
  color: var(--color-brand-blue-50);
}

.personalize-avatar--clara {
  top: 75%;
  left: 72%;
  --delay: 0.4s;
  --tilt: -2deg;
}

.personalize-avatar--clara .personalize-avatar-label {
  color: var(--content-warning);
}

@keyframes personalize-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--tilt, 0deg));
  }
}

.personalize-avatar img {
  animation: personalize-float 5s ease-in-out infinite;
  animation-delay: calc(var(--delay, 0s) + 0.5s);
}

.personalize-avatar--nicolas img {
  animation:
    personalize-float 6s ease-in-out infinite,
    personalize-active-pulse 2.6s ease-in-out infinite;
}

.personalize-avatar--clara img {
  animation-duration: 5.5s;
  animation-delay: 1.2s;
}

@keyframes personalize-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.personalize-notification {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  width: min(82%, 380px);
  background: #fcfdf7;
  color: var(--content-on-surface);
  border-radius: 18px;
  padding: 16px 18px;
  font-family: var(--font-family-secondary);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translate(-50%, -30%) scale(0.95);
  animation: personalize-notify 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
  will-change: transform, opacity;
  z-index: 2;
}

.personalize-notification::before,
.personalize-notification::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fcfdf7;
  border-radius: 18px;
  z-index: -1;
}

.personalize-notification::before {
  transform: translateY(-7px) scale(0.94);
  opacity: 0.7;
  background: #e3e4e7;
}

.personalize-notification::after {
  transform: translateY(-14px) scale(0.88);
  opacity: 0.45;
  background: #c4c5c9;
  box-shadow: 0 -10px 16px rgba(0, 0, 0, 0.25);
}

.personalize-notification-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.personalize-notification-text strong {
  font-weight: 600;
  font-size: 15px;
  color: var(--content-on-surface);
}

.personalize-notification-text span {
  font-size: 13.5px;
  line-height: 1.4;
  color: #4a5560;
}

.personalize-notification-time {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #e8e9ec;
  color: #6b7280;
  align-self: start;
  font-weight: 500;
}

.personalize-notification-stack {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.personalize-notification-stack::before,
.personalize-notification-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #d6d8dc;
  border-radius: 8px;
}

.personalize-notification-stack::before {
  transform: translate(2px, -2px) rotate(2deg);
  background: #c5c7cb;
}

.personalize-notification-stack::after {
  transform: translate(4px, -4px) rotate(4deg);
  background: #b6b8bc;
}

.personalize-notification-stack img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.personalize-notification-count {
  position: absolute;
  z-index: 2;
  bottom: 4px;
  right: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

@keyframes personalize-notify {
  0% {
    opacity: 0;
    transform: translate(-50%, -30%) scale(0.92) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-1.2deg);
  }
}

/* ── Floating particles ─────────────────── */
.personalize-particle {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255, 209, 103, 0.85);
  box-shadow:
    0 0 8px rgba(255, 209, 103, 0.5),
    0 0 16px rgba(188, 254, 255, 0.25);
  pointer-events: none;
  opacity: 0;
  animation:
    personalize-particle-fade 1s ease-out var(--delay) forwards,
    personalize-particle-float var(--duration, 10s) ease-in-out infinite;
  animation-delay: calc(var(--delay) + 1s), calc(var(--delay) + 1s);
  will-change: transform, opacity;
}

@keyframes personalize-particle-fade {
  to { opacity: 0.7; }
}

@keyframes personalize-particle-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-6px, -10px) scale(1.15);
    opacity: 1;
  }
}

/* Replay animations on tab activation */
.way-visual-frame:not(.is-active) .personalize-scene .personalize-avatar,
.way-visual-frame:not(.is-active) .personalize-scene .personalize-notification {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .personalize-orb img,
  .personalize-avatar img,
  .personalize-notification,
  .personalize-particle {
    animation: none !important;
  }
  .personalize-avatar {
    opacity: 1;
    animation: none;
  }
  .personalize-notification {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-1.2deg);
  }
  .personalize-particle {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════
   SECTION 5.5 — FAQ
═══════════════════════════════════════════════ */
#faq {
  padding: 96px 0 120px;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--content-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  user-select: none;
}

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

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--content-subtle);
  border-bottom: 2px solid var(--content-subtle);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--content-default);
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  padding: 0 28px 24px;
}

.faq-answer p {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--content-subtle);
  margin: 0;
  max-width: 65ch;
}

@media (max-width: 1200px) {
  #faq {
    padding: 80px 0 96px;
  }
  .faq-list {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  #faq {
    padding: 64px 0 80px;
  }
  .faq-list {
    padding: 0 16px;
  }
  .faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
  }
  .faq-answer {
    padding: 0 20px 20px;
  }
  .faq-answer p {
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════════
   STICKY MOBILE CTA
═══════════════════════════════════════════════ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: var(--font-family-secondary);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--content-on-surface);
  background: linear-gradient(90deg, var(--color-brand-blue-50) 0%, var(--color-brand-yellow-50) 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: block;
  }

  body.past-hero:not(.on-contact) .sticky-mobile-cta {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.sticky-mobile-cta:active {
  transform: scale(0.98);
}

/* ═══════════════════════════════════════════════
   SECTION 4.5 — CUSTOMIZABLE
═══════════════════════════════════════════════ */
#customizable {
  padding: 40px 0 96px;
}

.midpage-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  padding: 0 64px;
}

.midpage-cta .cta-gradient {
  align-self: center;
}

@media (max-width: 768px) {
  .midpage-cta {
    margin-top: 40px;
    padding: 0 24px;
  }
  .midpage-cta .cta-gradient {
    width: 100%;
    align-self: stretch;
  }
}

.customizable-visual {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  justify-content: center;
}

.customizable-visual img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  border-radius: 24px;
}

@media (max-width: 1200px) {
  #customizable {
    padding: 32px 0 80px;
  }
  .customizable-visual {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  #customizable {
    padding: 24px 0 64px;
  }
  .customizable-visual {
    padding: 0 16px;
  }
  .customizable-visual img {
    border-radius: 16px;
  }
}

/* ═══════════════════════════════════════════════
   SECTION 5 — WHY
═══════════════════════════════════════════════ */
#why {
  padding: 96px 0 120px;
}

.why-blocks {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-block {
  position: relative;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 80px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 64px;
  row-gap: 0;
  align-items: start;
  overflow: hidden;
}

.why-block-expertise {
  grid-template-columns: minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(10, 12, 14, 0.45) 0%, rgba(10, 12, 14, 0.72) 50%, rgba(10, 12, 14, 0.85) 100%),
    url('img/expertise-bg.jpg') center center / cover no-repeat;
}

.why-eyebrow {
  grid-column: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-family-secondary);
  font-size: 13px;
  font-weight: 600;
  color: var(--content-tertiary);
  margin-bottom: 20px;
}

.why-headline {
  grid-column: 1;
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  color: var(--content-default);
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: balance;
}

.why-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
}

.why-visual-shield {
  width: 180px;
  height: auto;
}

.why-visual-expertise {
  width: 240px;
  height: auto;
  border-radius: 16px;
}

.why-body {
  grid-column: 1;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 62ch;
}

.why-lede {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--content-default);
}

.why-lede-strong {
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.why-body p:not(.why-lede) {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--content-subtle);
}

.why-inline-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-inline-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--content-default);
}

.why-inline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--content-subtle);
}

.why-trust {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--content-subtler);
  letter-spacing: 0.02em;
}

.why-carousel-wrapper {
  grid-column: 1 / -1;
  margin-top: 32px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.why-carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite;
}

.why-carousel-logos {
  display: flex;
  align-items: center;
  gap: 104px;
  padding: 0 52px;
  flex-shrink: 0;
}

.why-carousel-logos img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.3s;
}

.why-carousel-logos img:hover {
  opacity: 0.85;
}

.why-pillars,
.why-proofs {
  list-style: none;
  grid-column: 1 / -1;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--border-light);
  display: grid;
  column-gap: 80px;
  row-gap: 0;
}

.why-pillars {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
}

.why-pillars li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 0;
}

.why-pillars .why-pillar-title {
  min-height: calc(17px * 1.35 * 2);
  margin-bottom: 12px;
}

.why-proofs {
  grid-template-columns: repeat(2, 1fr);
  row-gap: 40px;
}

.why-proofs li {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.why-proofs li img {
  flex-shrink: 0;
  margin-top: 4px;
}

.why-proofs li > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-pillar-title,
.why-proof-title {
  font-family: var(--font-family-default);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.35;
  color: var(--content-default);
}

.why-pillar-title {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.why-pillar-detail,
.why-proof-detail {
  font-family: var(--font-family-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--content-subtle);
}

/* ═══════════════════════════════════════════════
   SECTION 6 — CONTACT
═══════════════════════════════════════════════ */
#contact {
  padding: 80px 24px;
  position: relative;
  background: url('img/contact-bg.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  width: 100%;
  max-width: 680px;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-default);
  border-radius: 40px;
  padding: 64px 78px;
  box-shadow: 0px 0px 64px 0px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-title {
  font-size: 40px;
  text-align: center;
  line-height: 1.1;
}

/* Form layout */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-row .form-field {
  flex: 1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.full-width {
  width: 100%;
}

/* Hidden fields */
.hidden-field {
  display: none !important;
}

/* Labels */
label {
  font-family: var(--font-family-secondary);
  font-size: 14px;
  font-weight: 400;
  color: var(--content-default);
  line-height: 1.6;
  display: block;
}

/* Inputs & selects */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  height: 48px;
  background: var(--fill-default);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 9.5px 16px;
  color: var(--content-default);
  font-family: var(--font-family-secondary);
  font-size: 14px;
  font-weight: 400;
  box-shadow: var(--shadow-xs);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder {
  color: var(--content-subtle);
}

input:focus,
select:focus {
  border-color: var(--color-brand-blue-50);
  box-shadow: 0px 0px 8px 1px rgba(188, 254, 255, 0.3);
}

input.warning {
  border-color: var(--fill-warning);
  box-shadow: 0px 0px 8px 1px var(--fill-warning);
}

/* Email warning */
.email-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.warning-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--content-warning);
  flex-shrink: 0;
}

.email-warning span:last-child {
  font-family: var(--font-family-secondary);
  font-size: 12px;
  color: var(--content-subtler);
  line-height: 1.4;
}

/* Phone input */
.phone-input-wrapper {
  display: flex;
  height: 48px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  background: var(--fill-default);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrapper:focus-within {
  border-color: var(--color-brand-blue-50);
  box-shadow: 0px 0px 8px 1px rgba(188, 254, 255, 0.3);
}

.phone-code-select {
  width: 132px;
  flex-shrink: 0;
  height: 100%;
  background: var(--fill-default);
  border: none;
  border-right: 1px solid var(--border-light);
  border-radius: 0;
  padding: 0 8px;
  color: var(--content-default);
  font-size: 13px;
  box-shadow: none;
  cursor: pointer;
}

.phone-code-select:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

#phone-number {
  flex: 1;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#phone-number:focus {
  border-color: transparent;
  box-shadow: none;
}

/* Submit button */
.form-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 8px;
}

#submit-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 16px;
  padding: 10px 40px;
  font-family: var(--font-family-secondary);
  font-size: 16px;
  font-weight: 600;
  cursor: not-allowed;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  background: var(--border-light);
  color: var(--content-subtler);
  opacity: 0.6;
}

#submit-btn:not(:disabled) {
  background: var(--fill-neutral-default);
  color: var(--content-on-surface);
  cursor: pointer;
  opacity: 1;
}

#submit-btn:not(:disabled):hover {
  background: #e0e0d8;
}

#submit-btn:not(:disabled):active {
  transform: scale(0.97);
}

.form-disclaimer {
  font-family: var(--font-family-secondary);
  font-size: 12px;
  color: var(--content-subtler);
  text-align: center;
  line-height: 1.5;
}

.form-status {
  min-height: 18px;
  margin: 0;
  font-family: var(--font-family-secondary);
  font-size: 13px;
  line-height: 1.4;
  color: var(--content-subtler);
  text-align: center;
}

.form-status.loading {
  color: var(--content-default);
}

.form-status.error {
  color: var(--content-warning);
}

.success-page {
  text-align: center;
}

.success-page[hidden] {
  display: none;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fill-neutral-default);
  color: var(--content-on-surface);
  font-family: var(--font-family-secondary);
  font-size: 34px;
  font-weight: 600;
}

.success-page h3 {
  margin: 0 0 14px;
  color: var(--content-default);
  font-size: 30px;
  line-height: 1.15;
}

.success-page p {
  margin: 0;
  color: var(--content-subtler);
  font-family: var(--font-family-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.success-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  padding: 0 28px;
  border-radius: 14px;
  background: var(--fill-neutral-default);
  color: var(--content-on-surface);
  font-family: var(--font-family-secondary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — XL DESKTOP (≥1600px) — scale up hero
═══════════════════════════════════════════════ */
@media (min-width: 1600px) {
  body {
    --header-height: 144px;
  }

  header {
    padding: 44px 96px;
  }

  .hero-content {
    max-width: 1680px;
    padding: 128px 96px 112px;
  }

  .hero-content .left {
    max-width: 820px;
    gap: 48px;
  }

  h1 {
    font-size: 76px;
    letter-spacing: -1.5px;
  }

  .subtitle {
    font-size: 26px;
  }

  .cta-gradient {
    font-size: 24px;
    padding: 26px 44px;
  }

  .references {
    padding: 72px 96px 88px;
    gap: 40px;
  }

  .ref-text {
    font-size: 28px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (768–1200px)
═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  h1 {
    font-size: 48px;
  }

  .subtitle {
    font-size: 20px;
  }

  .cta-gradient {
    font-size: 18px;
    padding: 20px 32px;
  }

  body {
    --header-height: 112px;
  }

  header {
    padding: 28px 48px;
  }

  .hero-content {
    padding: 80px 48px 72px;
    gap: 36px;
  }

  .hero-content .left {
    gap: 32px;
  }

  .references {
    padding: 48px 48px 56px;
    gap: 32px;
  }

  .what-inner {
    padding: 0 40px;
  }

  .bloc-3-steps {
    padding: 56px 40px 56px;
    border-radius: 40px;
    margin: 0 24px;
  }

  .step-img {
    height: auto;
    object-fit: contain;
  }

  .steps-container {
    gap: 24px;
  }

  .way-interactive {
    padding: 0 40px;
    gap: 40px;
  }

  .why-blocks {
    padding: 0 40px;
    gap: 24px;
  }

  .why-block {
    padding: 64px 56px;
    column-gap: 48px;
  }

  .why-headline {
    font-size: 36px;
  }

  .why-visual-shield {
    width: 140px;
  }

  .why-visual-expertise {
    width: 200px;
  }

  .why-pillars {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 56px;
    row-gap: 0;
  }

  .why-proofs {
    gap: 32px 40px;
  }

  .section-subtitle {
    font-size: 24px;
  }

  .gradient-text {
    font-size: 36px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — STEPS: stack to single column when 3-col gets too tight
═══════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .steps-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .step {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
  }

  .step-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
  }

  .step h3 {
    max-width: none;
  }

  /* Why blocks: stack to single column when 2-col gets too tight */
  .why-block {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .why-visual {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 24px;
    margin-bottom: 8px;
  }

  /* Why pillars/proofs: stack to single column when grid gets too tight */
  .why-pillars,
  .why-proofs {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 32px;
  }

  .why-pillars li {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
  }

  .why-pillars .why-pillar-title {
    min-height: 0;
  }

  .why-pillars .why-pillar-title br {
    display: none;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE (<768px)
═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── HERO ── */
  #hero {
    min-height: auto;
  }

  body {
    --header-height: 76px;
  }

  /* Header : logos centrés, CTA masqué (remplacé par le CTA dans le hero) */
  header {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px 24px 16px;
    height: auto;
  }

  .logos {
    justify-content: center;
    width: 85%;
    margin: 0 auto;
  }

  .logo-partner {
    height: auto;
    max-height: 42px;
    width: auto;
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-memento {
    height: auto;
    max-height: 28px;
    width: auto;
    flex-shrink: 1;
    min-width: 0;
  }

  .cta-header {
    display: none;
  }

  /* Masquer le background hero sur mobile */
  .hero-bg {
    display: none;
  }

  /* Afficher l'image hero mobile sous le header */
  .hero-img-mobile {
    display: block;
    width: 100%;
    max-width: 364px;
    height: auto;
    aspect-ratio: 364 / 205;
    object-fit: cover;
    margin: 0 auto 8px;
    border-radius: 12px;
  }

  .hero-content {
    padding: 20px 24px 40px;
  }

  .hero-content .left {
    gap: 28px;
    max-width: 100%;
  }

  h1 {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .subtitle {
    font-size: 19px;
    white-space: normal;
  }

  /* CTA gradient pleine largeur */
  .cta-gradient {
    font-size: 13.8px;
    padding: 16px 24px;
    align-self: stretch;
    text-align: center;
    border-radius: 9.6px;
  }

  .references {
    padding: 48px 24px 32px;
    gap: 48px;
  }

  .ref-text {
    font-size: 18px;
    white-space: normal;
    line-height: 1.5;
  }

  /* Carousel masqué sur mobile, remplacé par logos statiques */
  .carousel-wrapper {
    display: none;
  }

  .references-logos-static {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 0 8px;
  }

  .references-logos-static img {
    height: 18px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
  }

  /* ── WHAT ── */
  #what {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .what-inner {
    padding: 0 24px;
    gap: 40px;
  }

  .what-schema {
    border-radius: 16px;
  }

  #what h2 {
    font-size: 32px;
  }

  /* ── HOW ── */
  #how {
    padding: 60px 0;
  }

  .bloc-3-steps {
    margin: 0 16px;
    padding: 48px 24px 48px;
    border-radius: 32px;
  }

  .for-attendees {
    font-size: 24px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .steps-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .step {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
  }

  .step-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 24px;
  }

  .step h3 {
    max-width: none;
  }

  /* ── WAY ── */
  #way {
    padding: 60px 0;
  }

  .way-interactive {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 32px;
  }

  .way-card {
    padding: 20px 22px;
    border-radius: 16px;
  }

  .way-card-num {
    font-size: 24px;
  }

  .way-card-title {
    font-size: 17px;
  }

  .way-bullets li {
    font-size: 16px;
  }

  /* ── WHY ── */
  #why {
    padding: 60px 0 80px;
  }

  .why-blocks {
    padding: 0 16px;
    gap: 20px;
  }

  .why-block {
    padding: 40px 24px;
    grid-template-columns: 1fr;
    column-gap: 0;
    border-radius: 24px;
  }

  .why-eyebrow {
    margin-bottom: 16px;
  }

  .why-headline {
    font-size: 28px;
    max-width: none;
  }

  .why-headline br {
    display: none;
  }

  .why-visual {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 32px;
  }

  .why-visual-shield {
    width: 120px;
  }

  .why-visual-expertise {
    width: 100%;
    max-width: 260px;
  }

  .why-body {
    margin-top: 28px;
    gap: 16px;
  }

  .why-lede {
    font-size: 17px;
  }

  .why-body p:not(.why-lede) {
    font-size: 16px;
  }

  .why-pillars,
  .why-proofs {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 40px;
    padding-top: 32px;
    gap: 24px;
  }

  .why-pillars li {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
  }

  .why-pillars .why-pillar-title {
    margin-bottom: 0;
  }

  .why-carousel-logos {
    gap: 48px;
    padding: 0 24px;
  }

  .why-carousel-logos img {
    height: 20px;
  }

  /* ── SECTION HEADERS ── */
  .section-header {
    padding: 0 24px;
    margin-bottom: 40px;
  }

  .gradient-text {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  /* ── CONTACT FORM ── */
  .form-container {
    padding: 40px 24px;
    border-radius: 32px;
  }

  .form-title {
    font-size: 28px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .references {
    animation: none;
  }

  .carousel-track {
    animation: none;
  }
}

.cta-hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-fine-print {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  max-width: 340px;
}

@media (max-width: 768px) {
  .cta-hero-wrap {
    align-self: stretch;
  }
  .cta-fine-print {
    max-width: 100%;
    text-align: center;
  }
}
