/* WELL v2-preview — shared layout & components. Vanilla CSS, no framework. */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--well-bg);
  color: var(--well-graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3.1vw, 37px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); }

p { margin: 0; }

a { color: inherit; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ── Skip link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -60px;
  background: var(--well-graphite);
  color: var(--well-white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-button);
  z-index: 200;
  transition: top var(--duration-fast) var(--ease-enter);
}
.skip-link:focus {
  top: var(--space-2);
}

/* ── Focus ─────────────────────────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--well-graphite);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.98);
  border-bottom: 1px solid var(--well-border);
}
@media (prefers-reduced-transparency: reduce) {
  .site-nav { background: var(--well-bg); backdrop-filter: none; }
}
.site-nav__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-3);
  max-width: var(--container-max);
  margin: 0 auto;
}
.site-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
  background: var(--well-graphite);
  -webkit-mask: url('../images/logo_well_wordmark.png') center / contain no-repeat;
  mask: url('../images/logo_well_wordmark.png') center / contain no-repeat;
}
.site-nav__logo img {
  height: 24px;
  width: auto;
  /* Preserve the official silhouette and use it as a mask above so every
     instance is rendered in the exact D1 graphite token. */
  visibility: hidden;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.site-nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--well-graphite);
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
}
.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  border-bottom-color: var(--well-graphite);
}
.site-nav__pros { position: relative; }
.site-nav__pros-trigger { display: flex; align-items: center; }
.site-nav__pros-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  color: var(--well-text-secondary);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.site-nav__pros-toggle span { font-size: 17px; transition: transform var(--duration-fast) var(--ease-enter); }
.site-nav__pros.is-expanded .site-nav__pros-toggle span { transform: rotate(180deg); }
.site-nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--well-surface-raised);
  border: 1px solid var(--well-border);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17, 18, 22, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity var(--duration-fast) var(--ease-enter), transform var(--duration-fast) var(--ease-enter), visibility 0s linear var(--duration-fast);
}
.site-nav__submenu a {
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
}
.site-nav__submenu a:hover,
.site-nav__submenu a[aria-current="page"] { background: var(--well-surface-secondary); border-bottom-color: transparent; }
.site-nav__pros:hover .site-nav__submenu,
.site-nav__pros:focus-within .site-nav__submenu,
.site-nav__pros.is-expanded .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--well-border);
  border-radius: var(--radius-button);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 1120px) {
  body.nav-open { overflow: hidden; }
  .site-nav.is-open::after {
    content: "";
    position: fixed;
    inset: 61px 0 0;
    z-index: 1;
    background: rgba(247, 248, 250, 0.96);
  }
  .site-nav__links {
    position: fixed;
    inset: 68px var(--space-2) auto;
    z-index: 3;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    background: var(--well-surface-raised);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--well-border);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(17, 18, 22, 0.16);
    transform: translateY(-6px) scale(.99);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-fast) var(--ease-enter), transform var(--duration-fast) var(--ease-enter), visibility 0s linear var(--duration-fast);
  }
  .site-nav__links li { width: 100%; }
  .site-nav__links a {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
  }
  .site-nav__links a:hover,
  .site-nav__links a[aria-current="page"] {
    background: var(--well-surface-secondary);
    border-bottom-color: transparent;
  }
  .site-nav__pros-trigger { width: 100%; }
  .site-nav__pros-trigger > a { flex: 1; }
  .site-nav__pros-toggle {
    width: 44px;
    height: 44px;
    margin-right: 2px;
    border: 1px solid var(--well-border);
  }
  .site-nav__submenu {
    position: static;
    display: none;
    width: auto;
    margin: 2px 8px 8px 18px;
    padding: 4px 0 4px 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--well-border);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__pros:hover .site-nav__submenu,
  .site-nav__pros:focus-within .site-nav__submenu { display: none; }
  .site-nav__pros.is-expanded .site-nav__submenu { display: block; }
  .site-nav__submenu a { padding: 10px 12px; font-family: var(--font-body); font-size: 14px; font-weight: 500; }
  .site-nav.is-open .site-nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .site-nav__toggle { display: inline-flex; align-items: center; gap: 6px; }
  .site-nav__actions .btn-secondary { display: none; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius-button);
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-enter), background var(--duration-fast) var(--ease-enter), box-shadow var(--duration-fast) var(--ease-enter);
  min-height: 44px;
}
.btn-primary {
  background: var(--well-graphite);
  color: var(--well-white);
}
.btn-primary:hover { box-shadow: var(--shadow-card-hover); }
.btn-secondary {
  background: var(--well-surface-raised);
  color: var(--well-graphite);
  border-color: var(--well-border);
}
.btn-secondary:hover { background: var(--well-surface-secondary); }
.btn-ghost {
  background: transparent;
  color: var(--well-graphite);
  padding-left: 4px;
  padding-right: 4px;
}
.btn-ghost:hover { text-decoration: underline; }
.btn-on-graphite {
  background: var(--well-white);
  color: var(--well-graphite);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Pills / badges ────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--well-text-secondary);
  background: var(--well-surface-secondary);
  border: 1px solid var(--well-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--well-success); }
.pill--soon .pill-dot { background: var(--well-warning); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  background: var(--well-surface-secondary);
  color: var(--well-text-secondary);
  border: 1px solid var(--well-border);
}
.status-badge--soon::before { content: "●"; color: var(--well-warning); font-size: 8px; }
.status-badge--live::before { content: "●"; color: var(--well-success); font-size: 8px; }

/* Professional audience architecture */
.pro-index-hero .container { max-width: 920px; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--well-border);
  border-left: 1px solid var(--well-border);
}
.audience-card {
  min-height: 300px;
  padding: var(--space-4);
  color: inherit;
  text-decoration: none;
  background: var(--well-surface-raised);
  border-right: 1px solid var(--well-border);
  border-bottom: 1px solid var(--well-border);
  transition: background var(--duration-standard) var(--ease-enter), transform var(--duration-standard) var(--ease-enter);
}
.audience-card:hover { background: var(--well-surface-secondary); }
.audience-card__number {
  display: block;
  margin-bottom: var(--space-6);
  color: var(--well-text-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.audience-card h3 { font-size: 24px; }
.audience-card p { margin-top: var(--space-2); color: var(--well-text-secondary); }
.audience-card__link { display: inline-block; margin-top: var(--space-4); font-size: 14px; font-weight: 700; }
.pro-foundation { padding: var(--space-8) var(--space-4); }
.foundation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-6); }
.foundation-grid strong { display: block; margin-bottom: var(--space-2); color: var(--well-text-on-graphite-muted); }
.foundation-grid h3 { color: var(--well-white); font-size: 20px; }
.foundation-grid p { margin-top: var(--space-2); color: var(--well-text-on-graphite-muted); }
.pro-hero__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr); gap: var(--space-8); align-items: end; }
.pro-proof { padding: var(--space-4); border-left: 1px solid var(--well-border); }
.pro-proof p { margin-top: var(--space-3); color: var(--well-text-secondary); }
.back-link { display: inline-block; margin-bottom: var(--space-6); color: var(--well-text-secondary); font-size: 14px; font-weight: 600; }
.pro-promise { padding: var(--space-6) var(--space-4); }
.pro-promise .lead { color: var(--well-text-on-graphite-muted); }
.pro-next { max-width: 820px; }
.pro-manifesto { padding: var(--space-8) var(--space-4); }
.pro-manifesto .lead { color: var(--well-text-on-graphite-muted); }
.pro-family { padding: var(--space-12) 0; }
.pro-family--soft { background: var(--well-surface-secondary); }
.pro-family__intro { max-width: 780px; margin-bottom: var(--space-6); }
.pro-family__number { display: block; margin-bottom: var(--space-6); font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--well-text-secondary); }
.pro-family__grid { display: grid; border-top: 1px solid var(--well-border); border-left: 1px solid var(--well-border); }
.pro-family__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pro-family__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience-card--large { min-height: 360px; }
.audience-card--large h3 { max-width: 420px; font-size: clamp(25px, 3vw, 34px); }
.audience-card--wide { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-8); min-height: 260px; border: 1px solid var(--well-border); }
.audience-card--wide h3 { max-width: 560px; font-size: clamp(25px, 3vw, 34px); }
.pro-family__status { max-width: 620px; }

/* Long-form product storytelling */
.welly-hero { padding-top: var(--space-6); }
.welly-hero__inner { padding: var(--space-8) var(--space-4); }
.welly-mark { width: min(236px, 62vw); height: auto; margin-bottom: var(--space-6); }
.welly-hero h1 { max-width: 840px; }
.welly-hero .lead { color: var(--well-text-on-graphite-muted); max-width: 760px; }
.journey { border-top: 1px solid var(--well-border); }
.journey__step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--well-border); }
.journey__step > span { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--well-text-secondary); }
.journey__step h3 { font-size: 22px; }
.journey__step p { max-width: 760px; margin-top: var(--space-1); color: var(--well-text-secondary); }
.welly-dialogue { padding: var(--space-8) var(--space-4); }
.welly-dialogue blockquote { max-width: 900px; margin: var(--space-3) 0 0; font-family: var(--font-display); font-size: clamp(26px, 4vw, 46px); font-weight: 700; line-height: 1.18; }
.work-principle { padding: var(--space-8) var(--space-4); }
.work-principle .lead { color: var(--well-text-on-graphite-muted); max-width: 760px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--well-border); border-left: 1px solid var(--well-border); }
.scenario-grid--2 { grid-template-columns: repeat(2, 1fr); }
.scenario-grid article { padding: var(--space-4); border-right: 1px solid var(--well-border); border-bottom: 1px solid var(--well-border); }
.scenario-grid article > span { font-size: 13px; font-weight: 700; color: var(--well-text-secondary); }
.scenario-grid h3 { margin-top: var(--space-6); font-size: 22px; }
.scenario-grid p { margin-top: var(--space-2); color: var(--well-text-secondary); }
.split-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-8); align-items: start; }
.split-story p { padding: var(--space-3) 0; border-bottom: 1px solid var(--well-border); color: var(--well-text-secondary); }
.split-story p:first-child { padding-top: 0; }
.welly-demo-section { background: var(--well-surface-secondary); }
.welly-demo { max-width: 860px; overflow: hidden; background: var(--well-surface-raised); border: 1px solid var(--well-border); border-radius: 28px; box-shadow: var(--shadow-card); }
.welly-demo__top { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--well-border); }
.welly-demo__top img { width: 112px; height: auto; }
.welly-demo__top > span { font-size: 13px; font-weight: 600; color: var(--well-text-secondary); }
.welly-demo__conversation { display: flex; flex-direction: column; gap: var(--space-2); min-height: 260px; padding: var(--space-4); }
.demo-message { max-width: min(78%, 620px); padding: 14px 18px; border-radius: 20px; }
.demo-message > span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.demo-message p { line-height: 1.5; }
.demo-message--user { align-self: flex-end; background: var(--well-graphite); color: var(--well-white); border-bottom-right-radius: 6px; }
.demo-message--user > span { color: rgba(255,255,255,.62); }
.demo-message--welly { align-self: flex-start; background: var(--well-surface-secondary); border-bottom-left-radius: 6px; }
.demo-message--welly > span { color: var(--well-text-secondary); }
.demo-message--result { align-self: stretch; max-width: none; border: 1px solid var(--well-border); background: var(--well-white); }
.demo-message--result > span { color: var(--well-success); }
.welly-demo__controls { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--well-border); }
.welly-demo__controls .text-muted { font-size: 13px; }

@media (max-width: 860px) {
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foundation-grid, .pro-hero__grid { grid-template-columns: 1fr; }
  .pro-proof { border-left: 0; border-top: 1px solid var(--well-border); padding-left: 0; }
  .pro-family__grid--3 { grid-template-columns: 1fr; }
  .audience-card--wide { grid-template-columns: 1fr; gap: var(--space-3); }
  .scenario-grid, .scenario-grid--2, .split-story { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 240px; }
  .pro-family__grid--2 { grid-template-columns: 1fr; }
  .demo-message { max-width: 92%; }
  .welly-demo__conversation { padding: var(--space-3); }
  .welly-demo__controls { align-items: stretch; flex-direction: column; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
section { padding: var(--space-12) 0; }
.section-tight { padding: var(--space-8) 0; }
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--well-text-secondary);
  margin-bottom: var(--space-2);
}
.lead {
  font-size: 18px;
  color: var(--well-text-secondary);
  max-width: 640px;
}
.section-head {
  max-width: 720px;
  margin-bottom: var(--space-6);
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Editorial graphite block (single dominant zone per page) ────────────── */
.editorial {
  background: var(--well-graphite);
  color: var(--well-text-on-graphite);
  border-radius: var(--radius-card);
}
.editorial h2, .editorial h3 { color: var(--well-white); }
.editorial p { color: var(--well-text-on-graphite-muted); }
.editorial .eyebrow { color: rgba(255,255,255,0.55); }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--well-surface-raised);
  border: 1px solid var(--well-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
}
.card-grid {
  display: grid;
  gap: var(--space-3);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
}

/* ── Stat strip ────────────────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  text-align: center;
  padding: var(--space-3) var(--space-1);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--well-text-secondary);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: var(--space-8) 0 var(--space-6);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.hero h1 { margin: var(--space-2) 0 var(--space-3); }
.hero .cta-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

/* ── App preview mock (composition fidèle, pas un faux screenshot) ───────── */
.app-mock {
  background: var(--well-surface-raised);
  border: 1px solid var(--well-border);
  border-radius: 28px;
  box-shadow: var(--shadow-card-hover);
  padding: var(--space-3);
  max-width: 380px;
  margin: 0 auto;
}
.app-mock__status {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--well-text-secondary);
  margin-bottom: var(--space-2);
}
.app-mock__weather {
  background: var(--well-graphite);
  color: var(--well-white);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}
.app-mock__weather .eyebrow { color: rgba(255,255,255,0.55); }
.app-mock__scores {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.app-mock__score {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 12px;
}
.app-mock__score strong { display: block; font-family: var(--font-display); font-size: 22px; }
.app-mock__score span { font-size: 12px; color: rgba(255,255,255,0.6); }
.app-mock__quest {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--well-surface-secondary);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 14px;
}
.app-mock__quest:last-child { margin-bottom: 0; }
.app-mock__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--well-border);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.app-mock__check--done {
  background: var(--well-graphite);
  border-color: var(--well-graphite);
  color: var(--well-white);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--well-border);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-12);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--well-text-secondary);
  margin-bottom: var(--space-2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; font-size: 14px; color: var(--well-graphite); }
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid var(--well-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--well-text-secondary);
}

/* ── Feature list rows (Fonctionnalités page) ─────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--well-border);
}
.feature-row:first-of-type { border-top: none; }
.feature-row__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--well-disabled);
}
.feature-row__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row__index { display: none; }
}

/* ── Waitlist / contact modal & forms ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 18, 22, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-standard) var(--ease-enter);
  z-index: 300;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--well-surface-raised);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-card-hover);
}
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-2); }
.modal__close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--well-text-secondary); }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--well-border);
  background: var(--well-white);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-msg { font-size: 14px; margin-top: 8px; min-height: 20px; }
.form-msg.err { color: var(--well-danger); }
.form-success { text-align: center; padding: var(--space-2) 0; }
.form-success .check-mark {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--well-graphite); color: var(--well-white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-2); font-size: 22px;
}
.hp-field { position: absolute; left: -9999px; }

/* ── Inline contact form (non-modal, e.g. WELL Work page) ─────────────── */
.inline-form {
  max-width: 480px;
}

/* ── Reveal-on-scroll ──────────────────────────────────────────────────── */
.reveal-pending, .reveal-pending.is-visible { opacity: 1; transform: none; }

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.text-muted { color: var(--well-text-secondary); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
