/* néomarché landing page. Light and quiet: white pages, warm off-white bands, near-black type,
   the one-colour black logo, and the brand lime kept for calls to action and small accents. */
/* Poppins, served from this site (SIL Open Font License, assets/fonts/OFL.txt): no request to Google. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ffffff;
  --tint: #f7f6f2;
  --card: #f4f4f2;
  --ink: #161616;
  --logo: #262626;
  --ink-soft: #4a4a4a;
  --muted: #6b6b6b;
  --line: rgba(22, 22, 22, 0.09);
  --line-strong: rgba(22, 22, 22, 0.16);
  --accent: #beff78;
  --accent-deep: #2f7a12;
  --radius: 22px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 12px; }

/* ── Type ─────────────────────────────────────────── */
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); margin: 0 0 18px; }
.eyebrow::before, .kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(190, 255, 120, 0.35); }
/* A filled label, not an outline, so it does not read as a third button next to the hero's two. */
.eyebrow { background: var(--card); border-radius: 999px; padding: 4px 12px; font-size: 0.76rem; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ink-soft); max-width: 36em; margin: 22px 0 0; }
.body { font-size: 1.02rem; color: var(--ink-soft); max-width: 36em; margin: 0 0 14px; }
.body strong { color: var(--ink); font-weight: 600; }
.dim { color: var(--muted); }
.punch { font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.45; letter-spacing: -0.01em; margin: 24px 0 0; padding-left: 16px; border-left: 4px solid var(--accent); }

/* ── Sections ─────────────────────────────────────── */
section { padding: clamp(72px, 9vw, 120px) 0; }
.tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
/* Picture on the left, so two picture sections in a row do not read as one repeated layout. Text stays first on phones. */
@media (min-width: 981px) {
  .split.flip { grid-template-columns: 0.95fr 1.05fr; }
  .split.flip > :first-child { order: 2; }
}

/* ── Buttons, pills ───────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--accent); transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-1px); background: #b2f866; box-shadow: 0 8px 22px rgba(120, 190, 60, 0.28); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-ghost { background: var(--bg); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg); border-color: var(--ink); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions.center { justify-content: center; }
.pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; font-weight: 500; }

/* ── Nav ──────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; color: var(--logo); }
.wordmark { height: 32px; width: auto; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 0.88rem; color: var(--ink-soft); white-space: nowrap; }
.nav .btn-sm { white-space: nowrap; }
.nav nav a:hover { color: var(--ink); }
.nav nav a.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 1180px) { .nav nav { gap: 20px; } .nav-in { gap: 20px; } }
/* Logo, the French menu and the call button need about 1010px on one line; below that the menu hides. */
@media (max-width: 1040px) { .nav nav { display: none; } .nav-actions { margin-left: auto; } }
.nav-actions { display: flex; align-items: center; gap: 12px; }
/* Pages without the link menu (privacy, 404): the actions still sit at the right. */
.brand + .nav-actions { margin-left: auto; }
.lang { text-decoration: none; font-weight: 500; font-size: 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; }
.lang:hover { border-color: var(--ink); }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lead { margin-inline: auto; }
/* The hero is never zoomed or moved: at its size it is already drawn near the render's full resolution. */
.hero-media { margin-top: clamp(40px, 6vw, 64px); aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--radius); }
/* Desktops always get the 2400px render (picture/source in build.mjs), whatever their pixel density. */
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 0; }
.stats div { background: var(--card); border-radius: 18px; padding: 24px 22px; }
.stats dt { font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; }
.stats dt::after { content: ''; display: block; width: 26px; height: 4px; border-radius: 4px; background: var(--accent); margin-top: 14px; }
.stats dd { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.4; }

/* ── Partners ─────────────────────────────────────── */
.partners { padding: clamp(24px, 4vw, 40px) 0 clamp(56px, 7vw, 88px); }
.partners-title { text-align: center; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 26px; }
/* A fixed number of logos per row (--per), each in an equal cell, so 11 logos fall as 6 + 5 on desktop,
   4 + 4 + 3 on tablets and 3 + 3 + 3 + 2 on phones, every row centred. */
.wordmarks { --per: 6; --col: 28px; list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px var(--col); }
.wordmarks li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--col)) / var(--per)); justify-content: center; font-weight: 600; font-size: clamp(1rem, 1.7vw, 1.25rem); letter-spacing: 0.06em; text-transform: uppercase; color: #9b9b9b; display: flex; align-items: center; min-height: 58px; }
/* Logos are drawn black, then greyed to sit together; full strength on hover. */
.wordmarks img { width: auto; max-width: min(160px, 100%); object-fit: contain; filter: brightness(0); opacity: 0.42; transition: opacity 0.2s ease; }
@media (max-width: 980px) { .wordmarks { --per: 4; } }
@media (max-width: 560px) { .wordmarks { --per: 3; --col: 18px; } }
.wordmarks img:hover { opacity: 0.8; }
.soon { position: relative; margin-top: 22px; }
.wordmarks.shown { --per: 7; }
.soon .wordmarks { --per: 5; }
@media (max-width: 980px) { .wordmarks.shown { --per: 4; } }
.ghost { --k: 1; display: flex; align-items: center; gap: calc(var(--m) * var(--k) * 0.4); filter: blur(3.5px); opacity: 0.32; }
.ghost::before, .ghost::after { content: ''; background: #555; border-radius: 3px; }
.ghost::before { width: calc(var(--m) * var(--k)); height: calc(var(--m) * var(--k)); border-radius: var(--r, 4px); }
.ghost::after { width: calc(var(--w) * var(--k)); height: calc(20px * var(--k)); box-shadow: 0 14px 0 -6px #555; margin-bottom: 8px; }
.soon-label { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07); }

/* ── Why ──────────────────────────────────────────── */
.wide-photo { margin: clamp(44px, 6vw, 72px) 0 0; }
.wide-photo img, .wide-photo video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #1b1b1b; }

/* ── Steps ────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 28px; }
.step-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--ink); align-items: center; justify-content: center; margin-bottom: 22px; }
.step-icon svg { width: 21px; height: 21px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.note { margin: 20px 0 0; padding: 18px 22px; border: 1px solid var(--line-strong); border-radius: 18px; font-size: 0.98rem; color: var(--ink-soft); }
.note strong { color: var(--ink); font-weight: 600; }

/* ── Products ─────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
.cat { background: var(--bg); border-radius: 18px; padding: 22px 20px; }
.cat h3 { font-size: 0.98rem; margin-bottom: 10px; }
.cat ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; line-height: 1.85; color: var(--ink-soft); }
.cat li { display: flex; gap: 9px; }
.cat li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #b8b8b8; flex: none; margin-top: calc(0.925em - 2.5px); } /* centred on the first line */
.local { padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
/* Follows the product grid on the same band, so it needs no top padding of its own. */
#products + .local { padding-top: 0; }
.local-head { text-align: center; margin-bottom: clamp(26px, 3vw, 36px); }
.local-head h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; }
.local-head p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Endless logo strip. Each run carries its own trailing gap, so sliding by exactly one run is seamless. */
.marquee { --gap: clamp(40px, 6vw, 72px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-run { list-style: none; margin: 0; padding: 0 var(--gap) 0 0; display: flex; align-items: center; gap: var(--gap); }
.marquee-run li { flex: none; display: flex; align-items: center; height: 64px; }
.marquee-run img { width: auto; max-width: 180px; }
.marquee-text { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink-soft); }
@keyframes marquee { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; width: min(1160px, 100% - 40px); margin-inline: auto; }
  .marquee-track { animation: none; width: auto; }
  .marquee-run { flex-wrap: wrap; justify-content: center; padding: 0; row-gap: 18px; }
  .marquee-run[aria-hidden] { display: none; }
}

/* ── Proof ────────────────────────────────────────── */
.quotes { margin: 0; background: var(--card); border-radius: var(--radius); padding: 24px; }
.quotes figcaption { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
/* Each answer looks like a response card in Typeform's results: white, a thin light border, a grey
   quotation mark on its own line, then the answer as written. */
.quotes blockquote { margin: 0 0 10px; padding: 14px 18px 16px; background: var(--bg); border: 1px solid #e2e2df; border-radius: 12px; font-size: 0.95rem; line-height: 1.45; color: #262627;
  transition: opacity 0.38s ease, transform 0.38s ease; }
.quotes blockquote::before { content: ''; display: block; width: 19px; height: 14px; margin: 2px 0 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath fill='%23a6a6a3' d='M5 0a5 5 0 0 1 5 5c0 6-3 10-8 13l-1-2c3-2 4.5-4 4.9-6.1A5 5 0 1 1 5 0zm13 0a5 5 0 0 1 5 5c0 6-3 10-8 13l-1-2c3-2 4.5-4 4.9-6.1A5 5 0 1 1 18 0z'/%3E%3C/svg%3E") no-repeat left center / contain; }
.quotes blockquote:nth-of-type(4) { margin-bottom: 0; }
/* Only four on show; the script rotates the rest through them. */
.quotes blockquote:nth-of-type(n + 5) { display: none; }
.quotes blockquote.swap { opacity: 0; transform: translateY(6px); }

/* ── The unit, labelled ───────────────────────────── */
.unit-card { margin: 0; background: var(--bg); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); align-items: center; box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(22, 22, 22, 0.06); }
.unit-shot { position: relative; }
.unit-shot img { width: 100%; height: auto; }
.hotspot { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 0.74rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 4px 10px rgba(0, 0, 0, 0.25); }
/* A soft ping, one dot after another, so the numbers read as points of interest. */
.hotspot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.6s ease-out infinite; }
.hotspot:nth-of-type(2)::after { animation-delay: 0.65s; }
.hotspot:nth-of-type(3)::after { animation-delay: 1.3s; }
.hotspot:nth-of-type(4)::after { animation-delay: 1.95s; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.unit-parts { list-style: none; counter-reset: part; margin: 0; padding: 0; display: grid; gap: 18px; }
.unit-parts li { counter-increment: part; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; }
.unit-parts li::before { content: counter(part); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 0.74rem; font-weight: 600; }
.unit-parts b { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.unit-parts span { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.4; }

/* ── Photos, spec ─────────────────────────────────── */
/* Landscape: the three doors are wider than a portrait crop of this render. */
/* Square beside the text on desktop, so it matches the text column's height; 3:2 when stacked on phones. */
.fit-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
/* A frame that crops its photo, so the photo can drift inside it (--drift, set while scrolling). */
.drift { overflow: hidden; border-radius: var(--radius); }
/* Photos only: a video carries text near its edges that the zoom would crop. */
/* No will-change: it makes Chrome rasterise the photo once and scale the bitmap, which blurs it. */
.drift img { border-radius: 0; transform: translateY(var(--drift, 0px)) scale(var(--zoom, 1.1)); }
.fit-photo { object-position: 50% 50%; }
/* Standard / your colours: the 'before' layer is clipped to the left of the divider (--pos). */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; touch-action: pan-y; }
.compare .fit-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none; }
.compare-handle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat; }
/* Each label sits centred over its own side of the divider and fades out as that side gets too narrow
   to show anything (--pos is set by the script and the markup; the script also toggles .hide-*). */
.compare-tag { position: absolute; top: 14px; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, 0.92); color: var(--ink); pointer-events: none; transition: opacity 0.25s ease; }
.compare-tag.is-before { left: calc(var(--pos) / 2); }
.compare-tag.is-after { left: calc(var(--pos) + (100% - var(--pos)) / 2); background: var(--accent); }
.compare.hide-before .is-before, .compare.hide-after .is-after { opacity: 0; }
/* The range input sits over the whole photo, invisible: drag anywhere, or use the arrow keys. */
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.spec { margin-top: 26px; padding: 18px 22px; background: var(--card); border-radius: 18px; max-width: 30em; }
.spec-label { font-size: 0.78rem; color: var(--muted); margin: 0; }
.spec-main { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; margin: 4px 0 2px; }
.spec-sub { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ── 90-day trial card ─────────────────────────────── */
.trial-card { background: var(--bg); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px); display: grid; gap: 34px; justify-items: center; box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(22, 22, 22, 0.06); }
.trial-ring { position: relative; width: min(230px, 58vw); aspect-ratio: 1; }
.trial-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.trial-ring circle { fill: none; stroke-width: 10; }
.trial-ring .track { stroke: #ecece8; }
/* Circumference of r=52: 2 x pi x 52 = 326.73. */
.trial-ring .bar { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 0; }
.trial-num { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; }
.trial-num b { font-size: clamp(3.4rem, 7vw, 4.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.trial-num span { color: var(--ink-soft); font-size: 0.92rem; margin-top: 6px; }
.trial-steps { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; --halo: 0 0 0 4px rgba(190, 255, 120, 0.4); }
/* The track (grey) and its lime fill run between the first and last dots: the centres of columns 1 and 3. */
.trial-steps::before, .trial-steps::after { content: ''; position: absolute; top: 5.5px; left: 16.667%; right: 16.667%; height: 3px; border-radius: 3px; background: var(--line-strong); }
.trial-steps::after { background: var(--accent); transform-origin: left center; }
.trial-steps li { position: relative; text-align: center; padding: 26px 4px 0; display: grid; gap: 2px; align-content: start; font-size: 0.9rem; line-height: 1.35; }
/* Dots as the section labels' dot: lime with a soft halo (all reached, unless the script plays them in). */
.trial-steps li::before { content: ''; position: absolute; z-index: 1; top: 1px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: var(--halo); }
.trial-steps span { color: var(--muted); font-size: 0.8rem; }
.trial-steps b { font-weight: 600; }
/* The ring draws itself in when the card scrolls into view. */
@media (prefers-reduced-motion: no-preference) {
  .trial-ring .bar { transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
  .js .trial-card.rv:not(.in) .bar { stroke-dashoffset: 326.73; }
  /* After the ring: the line runs Day 1 to 'After that', lighting each dot it reaches, then Day 90 pulses. */
  .seq .trial-steps::after { transform: scaleX(0); transition: transform 1.2s linear; }
  .seq .trial-steps.fill::after { transform: scaleX(1); }
  .seq .trial-steps li::before { background: #d3d3cf; box-shadow: 0 0 0 4px transparent; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
  .seq .trial-steps li.lit::before { background: var(--accent); box-shadow: var(--halo); }
  .trial-steps li.ping::after { content: ''; position: absolute; top: -5px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; border: 2px solid var(--accent); box-sizing: border-box; opacity: 0; animation: ping 2.6s ease-out infinite; }
}

/* ── Timeline ─────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 30px 30px 30px 62px; background: var(--card); border-radius: var(--radius); position: relative; }
.timeline li { position: relative; padding: 10px 0 16px; }
/* One dot per step, centred on its title line (10px padding + half of a 21.6px line = 21px); the line runs
   from this dot's centre to the next one's, behind the dots. Reached dots are the section labels' dot:
   lime with a soft lime halo. The line is 3px so the lime still reads on the grey card. */
.timeline { --tl-dot: var(--accent); --tl-halo: 0 0 0 4px rgba(190, 255, 120, 0.4); }
.timeline li::before { content: ''; position: absolute; z-index: 1; left: -28px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--tl-dot); box-shadow: var(--tl-halo); }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: -23.5px; top: 21px; bottom: -21px; width: 3px; border-radius: 3px; background: var(--accent); }
/* With the script: steps start as plain grey dots and take the lime as the reader reaches them. */
.timeline.live li::before { background: #d3d3cf; box-shadow: 0 0 0 4px transparent; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.timeline.live li.lit::before { background: var(--tl-dot); box-shadow: var(--tl-halo); }
.timeline.live li:not(:last-child)::after { background: linear-gradient(to bottom, var(--accent) var(--seg, 0%), var(--line-strong) var(--seg, 0%)); }
.timeline h3 { font-size: 1rem; }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.start .btn { margin-top: 10px; }

/* ── FAQ ──────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line-strong); }
.qa summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 500; font-size: 1.02rem; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
/* The plus is drawn with two centred bars, not a text glyph, so it sits dead centre in its disc whatever the font. */
.qa summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 28px; height: 28px; border-radius: 50%; background-color: var(--card); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transform: translateY(-50%); transition: transform 0.2s ease, background-color 0.2s ease; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); background-color: var(--accent); }
.qa p { margin: -6px 0 22px; max-width: 40em; color: var(--ink-soft); }

/* ── Contact ──────────────────────────────────────── */
.contact-split { align-items: start; }
.contact-or { margin: 26px 0 4px; color: var(--muted); font-size: 0.9rem; }
.contact { margin: 0; display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.contact a { text-decoration: none; color: var(--ink); font-weight: 500; }
.contact a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.form { background: var(--bg); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(22, 22, 22, 0.06); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.f { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 500; }
.f em { font-style: normal; color: var(--muted); font-weight: 400; }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 0.98rem; font-weight: 400; color: var(--ink); background: #fafafa; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; background: var(--bg); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(190, 255, 120, 0.55); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 2px 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 500; }
.form .btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.92rem; }
.form-status.ok { color: var(--accent-deep); }
.form-status.err { color: #b42318; }

/* ── Sticky call button (phones) ──────────────────── */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: inline-flex; position: fixed; z-index: 6; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 180%); box-shadow: 0 10px 30px rgba(22, 22, 22, 0.22); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); white-space: nowrap; }
  .sticky-cta:hover { transform: translate(-50%, 180%); }
  /* One call button at a time: the nav's fades while the docked one shows. */
  /* The header button folds away (width and gap included) while the docked one shows, so EN moves to the edge. */
  .nav .btn-sm { max-width: 260px; overflow: hidden; transition: opacity 0.25s ease, max-width 0.3s ease, padding 0.3s ease, margin 0.3s ease, border-width 0.3s ease; }
  .cta-docked .nav .btn-sm { opacity: 0; pointer-events: none; max-width: 0; padding-left: 0; padding-right: 0; border-width: 0; margin-left: -12px; }
  .sticky-cta.show, .sticky-cta.show:hover { transform: translate(-50%, 0); }
}

/* ── Footer ───────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; padding: 26px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── Help page (/help/) ───────────────────────────── */
.help { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.help-split { align-items: start; }
.help h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.help-en { margin: 8px 0 22px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); letter-spacing: -0.01em; }
.help-en-body { color: var(--muted); font-size: 0.95rem; }
.help-contact { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; max-width: 30em; }
.help-contact a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--card); border-radius: 18px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.05rem; transition: background-color 0.2s ease; }
.help-contact a:hover { background: #ecece8; }
.help-contact small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 400; margin-bottom: 2px; }
.help-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; }
.help-icon svg { width: 21px; height: 21px; }
.help-survey { background: var(--bg); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(22, 22, 22, 0.06); border: 1px solid var(--line); }
.help-survey h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.help-survey p { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.93rem; }
/* Typeform draws its widget 500px tall; the frame takes its height from it (500px reserved while it loads). */
.help-typeform { min-height: 500px; border-radius: 14px; overflow: hidden; background: var(--bg); }
.help-typeform .tf-v1-widget { height: 500px; }

/* ── Legal page ───────────────────────────────────── */
.legal { padding: clamp(56px, 8vw, 96px) 0; min-height: 70vh; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 6px; }
.legal p { max-width: 40em; color: var(--ink-soft); }
.legal .updated { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 980px) {
  .nav nav { display: none; }
  .nav-actions { margin-left: auto; }
  .split { grid-template-columns: 1fr; }
  .hero-media, .fit-photo { aspect-ratio: 3 / 2; }
  /* The unit sits at 46.5% across the render; this crop puts it in the middle of a 3:2 frame. */
  .hero-photo { object-position: 27.5% 55%; }
  /* The comparison stays square on phones: both renders are square, so nothing of the unit is cropped. */
  .compare { aspect-ratio: 1 / 1; }
  .compare .fit-photo { aspect-ratio: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .cat:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .wordmark { height: 25px; }
  .nav-in { gap: 10px; height: 62px; }
  .btn-sm { padding: 7px 14px; font-size: 0.84rem; }
  .ghost { --k: 0.5; }
  .soon .wordmarks { --col: 10px; }
  .eyebrow { font-size: 0.72rem; padding: 4px 10px; } /* keeps "... · Grand Montréal" on one line at 360px */
  .hero-media { aspect-ratio: 4 / 3; }
  /* Phones get their own 4:3 crop, about 1.4x closer on the unit (lobby-phone-1200.jpg), so no offset is needed. */
  .hero-photo { object-position: 50% 50%; }
  .stats div { padding: 20px 18px; }
  /* Phones: the five categories become a swipeable row, edge to edge, with the next card peeking in. */
  .cats { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px; padding: 2px 20px 8px; gap: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cats::-webkit-scrollbar { display: none; }
  /* Inside the row the cards only fade in: the usual rise would make them taller than the row and let it scroll vertically. */
  .js .cats > .rv { transform: none; }
  .cat, .cat:last-child { flex: 0 0 72%; scroll-snap-align: start; grid-column: auto; }
  .cat { padding: 18px 16px; }
  .timeline { padding: 24px 22px 24px 52px; }
  .timeline li::before { left: -26px; }
  .timeline li:not(:last-child)::after { left: -21.5px; }
  .form .row { grid-template-columns: 1fr; }
  .unit-card { grid-template-columns: 1fr; }
  .unit-shot { width: min(200px, 60%); margin-inline: auto; }
}
/* ── Scroll animation (classes added by the page script) ── */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
  .js .rv-photo { transform: translateY(32px) scale(0.97); transition-duration: 1.1s; }
  .js .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hotspot::after { animation: none; } html { scroll-behavior: auto; } .btn, .qa summary::after, .sticky-cta { transition: none; } .drift img { transform: none; } }
