/* Tempo sales site: same art direction as the application (style.css): colours,
   type, soft gradient background, frosted panels and buttons. */
:root {
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, Arial, sans-serif;
  font-synthesis: none;
  color-scheme: light;
  color: #172449;
  background: #dce7fa;
  --ink: #172449;
  --ink-strong: #101d44;
  --muted: #59698e;
  --accent: #235ee8;
  --line: rgba(91, 113, 168, .14);
  --shadow: 0 5px 18px rgba(61, 85, 149, .06), 0 1px 3px rgba(61, 85, 149, .04);
  --panel: linear-gradient(145deg, #ffffff94, #e9efffb8);
  /* Spring of the source navbar (Motion: stiffness 200, damping 50, mass 1), sampled. */
  --spring: linear(0, 0.1436, 0.3251, 0.4721, 0.5875, 0.6776, 0.7481, 0.8032, 0.8462, 0.8798, 0.9061, 0.9266, 0.9426, 0.9552, 0.965, 0.9726, 0.9786, 0.9833, 0.9869, 0.9898, 0.992, 0.9938, 0.9951, 0.9962, 1);
  --spring-duration: 1.35s;
  --nav-shadow: 0 0 24px rgba(34, 42, 53, .06), 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 1px rgba(34, 42, 53, .04), 0 0 4px rgba(34, 42, 53, .08), 0 16px 68px rgba(47, 48, 55, .05), 0 1px 0 rgba(255, 255, 255, .1) inset;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  background: #dce7fa;
  -webkit-font-smoothing: antialiased;
}
/* The application's background, on a fixed layer: scrolling never repaints it. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 4%, #fff0f8 0, transparent 34%),
    radial-gradient(ellipse at 100% 85%, #d0dcff 0, transparent 49%),
    radial-gradient(ellipse at 41% 107%, #efeafa 0, transparent 44%),
    linear-gradient(120deg, #c3d5f2, #e4ecfa 54%, #ceddf7);
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #376cf0; outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .65; }
.ambient-one { width: 520px; height: 520px; background: #aec7ff; top: -290px; left: 24%; }
.ambient-two { width: 420px; height: 420px; background: #ffe6f1; bottom: -200px; left: 5%; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: 12px; letter-spacing: 1.6px; font-weight: 650; text-transform: uppercase; color: #617499; margin-bottom: 10px; }
.accent { color: var(--accent); }

/* Buttons: the application's primary and subtle buttons, at landing-page size. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 9px 16px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .16s, box-shadow .16s, border-color .16s, transform .16s; }
.button.large { min-height: 48px; padding: 12px 22px; border-radius: 12px; font-size: 15px; }
.button:active { transform: translateY(1px); }
.primary { color: #fff; background: linear-gradient(160deg, #2869ef, #2155df); border-color: #2e67e5; box-shadow: 0 4px 10px #3166e629, inset 0 1px 0 #ffffff29; }
.primary:hover { background: linear-gradient(160deg, #2562e5, #1948c7); box-shadow: 0 5px 14px #3166e63b; }
.subtle { background: #ffffffa6; border-color: #ffffffed; color: #405883; box-shadow: var(--shadow); }
.subtle:hover { background: #fff; border-color: #cad8f1; }

/* ---- Resizable navbar (Aceternity UI), same geometry and spring ---- */
.site-nav { position: fixed; inset: 0 0 auto; z-index: 40; width: 100%; padding: 12px 16px 0; pointer-events: none; }
.nav-body, .nav-mobile { pointer-events: auto; }
.nav-body {
  position: relative; z-index: 60; display: none; flex-direction: row; align-items: center; justify-content: space-between; align-self: flex-start;
  width: 100%; max-width: 1280px; min-width: 920px; margin: 0 auto; padding: 8px 16px; border-radius: 9999px; background: transparent;
  transition: width var(--spring-duration) var(--spring), transform var(--spring-duration) var(--spring), box-shadow var(--spring-duration) var(--spring),
    backdrop-filter var(--spring-duration) var(--spring), background-color .3s;
}
.site-nav.is-scrolled .nav-body { width: 40%; transform: translateY(20px); background-color: rgba(255, 255, 255, .8); box-shadow: var(--nav-shadow); backdrop-filter: blur(10px) saturate(125%); -webkit-backdrop-filter: blur(10px) saturate(125%); }
.nav-logo { position: relative; z-index: 20; display: flex; align-items: center; gap: 8px; margin-right: 16px; padding: 4px 8px; color: var(--ink-strong); font-size: 18px; font-weight: 700; letter-spacing: -.5px; line-height: 1; }
.nav-logo img { width: 30px; height: 30px; }
.nav-items { position: absolute; inset: 0; display: flex; flex: 1; flex-direction: row; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; pointer-events: none; }
.nav-items a { position: relative; z-index: 1; padding: 8px 16px; color: #405883; pointer-events: auto; transition: color .2s; }
.nav-items a:hover { color: var(--ink-strong); }
.nav-pill { position: absolute; left: 0; top: 50%; z-index: 0; height: 38px; width: 0; border-radius: 9999px; background: #e7eeff; opacity: 0; transform: translate(0, -50%); pointer-events: none; transition: transform .45s var(--spring), width .45s var(--spring), opacity .2s; }
.nav-pill.no-transition { transition: opacity .2s; }
.nav-actions { position: relative; z-index: 20; display: flex; align-items: center; gap: 16px; }
.nav-button { position: relative; display: inline-block; padding: 8px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.nav-button:hover { transform: translateY(-2px); }
.nav-button.secondary { background: transparent; color: var(--ink-strong); }
.nav-button.primary { background: #fff; color: var(--ink-strong); box-shadow: var(--nav-shadow); }
.nav-button.gradient { background: linear-gradient(160deg, #2869ef, #2155df); color: #fff; box-shadow: 0 2px 0 0 rgba(255, 255, 255, .3) inset, 0 4px 10px #3166e629; }
.nav-mobile {
  position: relative; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 100%; max-width: calc(100vw - 2rem); margin: 0 auto; padding: 8px 0; border-radius: 2rem; background: transparent;
  transition: width var(--spring-duration) var(--spring), transform var(--spring-duration) var(--spring), padding var(--spring-duration) var(--spring),
    border-radius var(--spring-duration) var(--spring), box-shadow var(--spring-duration) var(--spring), background-color .3s;
}
.site-nav.is-scrolled .nav-mobile { width: 90%; padding: 8px 12px; border-radius: 18px; transform: translateY(20px); background-color: rgba(255, 255, 255, .8); box-shadow: var(--nav-shadow); backdrop-filter: blur(10px) saturate(125%); -webkit-backdrop-filter: blur(10px) saturate(125%); }
.nav-mobile-header { display: flex; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink-strong); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded=true] .icon-menu { display: none; }
.nav-toggle[aria-expanded=true] .icon-close { display: block; }
.nav-mobile-menu {
  position: absolute; inset: 64px 0 auto; z-index: 50; display: flex; width: 100%; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px;
  padding: 32px 16px; border: 1px solid #ffffffe6; border-radius: 18px; background: linear-gradient(145deg, #ffffff, #f2f6ff); box-shadow: var(--nav-shadow);
  opacity: 0; transition: opacity .2s;
}
/* Five links do not fit centred over the floating bar (920 px) nor over a full-width bar
   under 1280 px: there they flow between the logo and the actions, with tighter padding,
   so they can never slide under "Connexion". */
.site-nav.is-scrolled .nav-items { position: relative; inset: auto; gap: 2px; margin: 0 8px; }
.site-nav.is-scrolled .nav-items a { padding: 8px 10px; }
.site-nav.is-scrolled .nav-logo { margin-right: 0; }
.site-nav.is-scrolled .nav-actions { gap: 8px; }
@media (max-width: 1279px) {
  .nav-items { position: relative; inset: auto; gap: 2px; margin: 0 8px; }
  .nav-items a { padding: 8px 10px; }
  .nav-logo { margin-right: 0; }
  .nav-actions { gap: 8px; }
}
.nav-mobile-menu.is-open { opacity: 1; }
.nav-mobile-menu > a { color: #405883; font-weight: 500; }
.nav-mobile-actions { display: flex; width: 100%; flex-direction: column; gap: 16px; }
.nav-mobile-actions .nav-button { width: 100%; }
@media (min-width: 1024px) {
  .nav-body { display: flex; }
  .nav-mobile { display: none; }
}

/* ---- Page sections ----
   Rhythm: sections 88 px apart (64 px on phones), heads 40 px above their content,
   one content width (1120 px) and one text width (760 px). */
main { display: block; overflow-x: clip; }
.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
/* Background rhythm, derived from the palette: light bands for detail, lavender for
   stories, the brand blue-lavender for pricing. Full-bleed painted layer that fades in
   and out at the edges, so bands follow each other without hard lines. */
.band-light, .band-lavender, .band-blue { position: relative; isolation: isolate; }
.band-light::before, .band-lavender::before, .band-blue::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--band) 72px, var(--band) calc(100% - 72px), transparent);
}
.band-light { --band: #f8fafecc; }
.band-lavender { --band: #efeafbcc; }
.band-blue { --band: #cbdaf6a6; }
/* Anchors without top padding of their own stay clear of the floating navbar (about 90 px high). */
.integrations, #tout-inclus { scroll-margin-top: 100px; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2, .final-cta h2, .demo h2 { color: var(--ink-strong); font-size: clamp(27px, 3.4vw, 38px); font-weight: 700; letter-spacing: -1.1px; line-height: 1.15; text-wrap: balance; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.card { border: 1px solid #ffffffe6; border-radius: 22px; background: var(--panel); box-shadow: 0 18px 50px #4267a814, inset 0 1px 0 #fff; }
.card h3 { color: var(--ink-strong); font-size: 19px; font-weight: 650; letter-spacing: -.4px; line-height: 1.3; }
.card p { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-row.start { justify-content: flex-start; }
.reassurance { margin-top: 16px; color: #4d5f86; font-size: 14px; font-weight: 500; }

/* Hero: words and actions first, then the product; more of the capture in the first screen. */
.hero { padding-top: 120px; padding-bottom: 64px; text-align: center; }
.hero h1 { max-width: 1120px; margin: 0 auto; color: var(--ink-strong); font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.08; text-wrap: balance; }
/* From tablets up, each sentence stays whole, so the title breaks between sentences only. */
@media (min-width: 600px) { .hero h1 .phrase { white-space: nowrap; } }
.hero h1 .eyebrow { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: 1.6px; line-height: 1.4; }
.lead { max-width: 640px; margin: 18px auto 0; color: #4d5f86; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; text-wrap: pretty; }
.hero .cta-row { margin-top: 28px; }
.hero .reassurance { margin-top: 14px; }
.vsl { margin: 36px auto 0; max-width: 1040px; }
.vsl-frame { overflow: hidden; border: 1px solid #ffffffe6; border-radius: 22px; background: var(--panel); box-shadow: 0 30px 90px #2a4a8f26, 0 8px 24px #2a4a8f14, inset 0 1px 0 #fff; }
.vsl-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #ffffff8c; color: var(--muted); font-size: 12px; }
.vsl-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3ddf0; }
.vsl-bar span { margin-left: 8px; }
.vsl-zoom { display: block; }
.vsl-zoom:focus-visible { outline-offset: -4px; border-radius: 0 0 20px 20px; }
.vsl img { width: 100%; aspect-ratio: 16 / 10; }
.vsl figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Compatibility strip: one line per tool, no card, no logo. */
.integrations { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 8px 0 56px; text-align: center; }
.integrations h2 { margin-bottom: 20px; color: #4d5f86; font-size: 14px; font-weight: 650; letter-spacing: .3px; }
.integrations ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; text-align: left; }
.integrations li { display: flex; align-items: flex-start; gap: 12px; }
.integrations svg { margin-top: 2px; color: var(--accent); }
.integrations strong { display: block; color: var(--ink-strong); font-size: 15px; line-height: 1.35; }
.integrations span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.integrations-note { margin-top: 18px; color: var(--muted); font-size: 12.5px; }

/* Three problems, side by side: name, situation, answer. Typography only. */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.problems li { display: grid; align-content: start; gap: 8px; padding: 4px 32px; }
.problems li + li { border-left: 1px solid var(--line); }
.problems h3 { color: var(--ink-strong); font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.problem { color: var(--muted); }
.answer { margin-top: 4px; color: #2b3d68; }
.answer strong { color: var(--accent); font-weight: 650; }

/* Feature blocks: text and real screenshot side by side, alternating. */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; padding: 36px 0; }
.feature.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.reverse .feature-text { order: 2; }
.feature-kicker { margin-bottom: 8px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.feature h3 { color: var(--ink-strong); font-size: clamp(23px, 2.4vw, 29px); font-weight: 700; letter-spacing: -.7px; line-height: 1.2; text-wrap: balance; }
.feature-text > p:not(.feature-kicker) { margin-top: 14px; color: #4d5f86; }
.feature-points { display: grid; gap: 8px; margin-top: 18px; }
.feature-points li, .included-groups li, .offer-benefits li { position: relative; padding-left: 30px; color: #2b3d68; font-size: 15px; line-height: 1.5; }
.feature-points li::before, .offer-benefits li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: #e0f3ed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f50' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.feature-text > .feature-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.feature-shot { min-width: 0; }
.feature-shot a { display: block; overflow: hidden; border: 1px solid #ffffffe6; border-radius: 18px; background: var(--panel); box-shadow: 0 24px 60px #2a4a8f1f, 0 4px 14px #2a4a8f12; transition: box-shadow .2s, transform .2s; }
.feature-shot a:hover { box-shadow: 0 28px 70px #2a4a8f2b, 0 6px 18px #2a4a8f17; transform: translateY(-2px); }
.feature-shot a:focus-visible { outline-offset: 4px; border-radius: 18px; }
.feature-shot img { width: 100%; }
.feature-shot.narrow { justify-self: center; width: min(100%, 470px); }
.feature-shot.phone { justify-self: center; width: min(100%, 250px); }
.feature-shot.phone a { border-radius: 26px; }
.feature-shot figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }

/* Complete feature list, folded under one native, keyboard-accessible summary. */
.included { margin-top: 28px; border: 1px solid #ffffffd9; border-radius: 18px; background: #ffffff80; }
.included summary { position: relative; padding: 18px 52px 18px 24px; color: var(--accent); font-size: 16px; font-weight: 650; text-align: center; cursor: pointer; list-style: none; }
.included summary::-webkit-details-marker { display: none; }
.included summary::after, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid #5b6e94; border-bottom: 2px solid #5b6e94; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.included[open] summary::after, .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.included-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 32px; padding: 8px 28px 28px; }
.included-groups h3 { margin-bottom: 10px; color: var(--ink-strong); font-size: 15px; font-weight: 700; }
.included-groups ul { display: grid; gap: 6px; }
.included-groups li { padding-left: 16px; font-size: 14.5px; }
.included-groups li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #8fb0f5; }

/* Demonstration story, three steps. */
.demo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 56px; }
.demo .section-lead { font-size: 16px; }
.demo-steps { display: grid; gap: 14px; margin-top: 24px; counter-reset: demo; }
.demo-steps li { position: relative; padding-left: 44px; color: #4d5f86; counter-increment: demo; }
.demo-steps li::before { content: counter(demo); position: absolute; left: 0; top: -1px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--accent); font-size: 14px; font-weight: 700; box-shadow: var(--shadow); }
.demo-steps strong { display: block; color: var(--ink-strong); font-weight: 650; }
.demo .cta-row { margin-top: 28px; }

/* Target customers: five short entries separated by hairlines, no panel. */
.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sectors article { padding: 6px 22px; }
.sectors article + article { border-left: 1px solid var(--line); }
.sectors h3 { color: var(--ink-strong); font-size: 16.5px; font-weight: 650; letter-spacing: -.2px; line-height: 1.3; }
.sectors p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Getting started: three numbered steps, no cards. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 980px; margin: 0 auto; }
.steps h3 { color: var(--ink-strong); font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.steps p { margin-top: 6px; color: var(--muted); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(160deg, #2869ef, #2155df); color: #fff; font-weight: 700; box-shadow: 0 4px 10px #3166e629; }

/* Files vs Tempo: three needs, a plain and fair table. */
.compare { max-width: 920px; margin: 48px auto 0; }
.compare h3 { margin-bottom: 16px; color: var(--ink-strong); font-size: 20px; font-weight: 700; letter-spacing: -.4px; text-align: center; }
.compare-scroll { overflow-x: auto; border: 1px solid #ffffffe6; border-radius: 18px; background: #ffffffa6; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { color: #4d5f86; font-size: 13px; font-weight: 650; letter-spacing: .2px; }
.compare tbody th { color: var(--ink-strong); font-weight: 650; }
.compare td { color: var(--muted); }
.compare td:last-child { color: #1f3f86; font-weight: 600; }

/* Trust: three plain-language guarantees on light, sober surfaces. */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust li { padding: 24px 24px 22px; border: 1px solid #ffffffe6; border-radius: 18px; background: #ffffffb3; }
.trust h3 { position: relative; padding-left: 30px; color: var(--ink-strong); font-size: 17px; font-weight: 650; }
.trust h3::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background: center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23235ee8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.trust p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Pricing: one card in two columns. The monthly/annual switch is pure CSS (works
   without JavaScript); site.js adjusts the amounts to the team size. */
.pricing .section-head { max-width: 860px; margin-bottom: 32px; }
.pricing .section-head h2 { text-wrap: balance; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-color: #c4d4fa; background: linear-gradient(145deg, #ffffffd9, #e7eeffe6); box-shadow: 0 24px 60px #2f5fd81f, inset 0 1px 0 #fff; }
.offer-main { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 36px 40px 32px; }
.billing-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; min-inline-size: 0; margin: 0; padding: 4px; border: 1px solid #ffffffd9; border-radius: 999px; background: #ffffffa6; box-shadow: var(--shadow); }
.billing-switch::before { content: ""; position: absolute; inset: 4px auto 4px 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(160deg, #2869ef, #2155df); box-shadow: 0 4px 10px #3166e629; transition: translate .5s var(--spring); }
.billing-switch:has(input[value="annuelle"]:checked)::before { translate: 100% 0; }
.billing-switch label { position: relative; z-index: 1; display: block; cursor: pointer; }
.billing-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.billing-switch span { display: block; padding: 10px 20px; border-radius: 999px; color: #405883; font-size: 14px; font-weight: 650; text-align: center; white-space: nowrap; transition: color .25s; }
.billing-switch em { font-style: normal; color: #1f7a5c; transition: color .25s; }
.billing-switch input:checked + span, .billing-switch input:checked + span em { color: #fff; }
.billing-switch label:has(input:focus-visible) span { outline: 3px solid #376cf0; outline-offset: 2px; }
/* Both variants share one grid cell: the block keeps the height of the taller one,
   so switching billing never moves what follows. */
.offer-price { display: grid; align-self: stretch; margin-top: 24px; }
.price-variant { grid-area: 1 / 1; transition: opacity .2s, visibility .2s; }
.offer .when-annual, .offer:has(input[value="annuelle"]:checked) .when-monthly { visibility: hidden; opacity: 0; }
.offer:has(input[value="annuelle"]:checked) .when-annual { visibility: visible; opacity: 1; }
.offer .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.offer .price strong { color: var(--ink-strong); font-size: 56px; font-weight: 700; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer .price span { color: var(--muted); font-size: 16px; font-weight: 600; }
.offer .price-meta { margin-top: 10px; color: #2b3d68; font-size: 15px; line-height: 1.5; }
.offer .price-meta + .price-meta { margin-top: 2px; }
.offer .price-meta strong { color: var(--ink-strong); font-weight: 650; font-variant-numeric: tabular-nums; }
.offer .price-saving { margin-top: 6px; color: #1f7a5c; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Simulator. */
.estimate { align-self: stretch; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.estimate label { display: block; color: var(--ink-strong); font-size: 15px; font-weight: 650; }
.estimate-inputs { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.estimate input[type="range"] { --fill: 4.5%; flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.estimate input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill), #d3def4 var(--fill)); }
.estimate input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: #d3def4; }
.estimate input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--accent); }
.estimate input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -9px; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(160deg, #2869ef, #2155df); box-shadow: 0 2px 8px #2f5fd866, 0 0 0 1px #2155df40; -webkit-appearance: none; appearance: none; transition: scale .15s; }
.estimate input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid #fff; border-radius: 50%; background: #2155df; box-shadow: 0 2px 8px #2f5fd866, 0 0 0 1px #2155df40; }
.estimate input[type="range"]:active::-webkit-slider-thumb { scale: 1.1; }
.estimate input[type="range"]:focus-visible { outline: none; }
.estimate input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #376cf0; }
.estimate input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #376cf0; }
.estimate .estimate-count { width: 92px; height: 44px; padding: 0 12px; border: 1px solid #c3d2ef; border-radius: 12px; background: #fff; color: var(--ink-strong); font: inherit; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; text-align: center; }
.estimate .estimate-count:focus-visible { outline: 3px solid #376cf0; outline-offset: 2px; }
.estimate-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.estimate-examples button { display: grid; align-content: center; gap: 1px; min-height: 48px; padding: 7px 9px; border: 1px solid #ffffffe6; border-radius: 12px; background: #ffffff99; color: var(--muted); font: inherit; font-size: 12.5px; line-height: 1.35; text-align: left; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .16s, background-color .16s; }
.estimate-examples button > span:first-child { color: var(--ink-strong); font-size: 14px; font-weight: 700; white-space: nowrap; }
.estimate-examples .example-unit { color: #2b3d68; font-size: 12.5px; font-weight: 500; }
.estimate-examples button:hover { border-color: #cad8f1; background: #fff; }
.estimate-examples button[aria-pressed="true"] { border-color: #8fb0f5; background: #eef3ff; }
.estimate-examples button:focus-visible { outline: 3px solid #376cf0; outline-offset: 2px; }
.offer-main .button { align-self: stretch; min-height: 54px; margin-top: 24px; font-size: 16px; text-align: center; white-space: normal; }
.offer .offer-note { align-self: center; margin-top: 10px; color: var(--muted); font-size: 13.5px; text-align: center; }

/* What the subscription gives. */
.offer-included { min-width: 0; padding: 36px 40px 32px; border-left: 1px solid var(--line); }
.offer-included h3 { margin-bottom: 18px; font-size: 18px; line-height: 1.35; }
.offer-benefits { display: grid; gap: 11px; }
.offer-link { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 14px; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.offer-link:hover { text-decoration-thickness: 2px; }
.offer-terms { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.offer-terms li { position: relative; padding-left: 12px; color: var(--muted); font-size: 13.5px; }
.offer-terms li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: #8fb0f5; }

/* FAQ: native, keyboard-accessible <details>, one short list. */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid #ffffffe6; border-radius: 16px; background: #ffffffb3; }
.faq summary { position: relative; padding: 18px 52px 18px 22px; color: var(--ink-strong); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
.faq details a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Final call to action: the page's one strongly coloured band, in the buttons' blue. */
.final { padding: 80px 16px 84px; background: linear-gradient(140deg, #1f50d8, #1b44c2 60%, #2446b4); color: #fff; text-align: center; }
.final-cta { max-width: 720px; margin: 0 auto; }
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 620px; margin: 12px auto 0; color: #e8eeff; font-size: 17px; }
.final-cta .cta-row { margin-top: 28px; }
.final-cta .reassurance { margin-top: 16px; color: #e8eeff; font-size: 14px; }
.button.light { background: #fff; border-color: #fff; color: #1d4cd0; box-shadow: 0 8px 24px #0f2d8040; }
.button.light:hover { background: #f1f5ff; }
.final a:focus-visible { outline-color: #fff; }

/* Footer in columns: brand, then product, resources and account links. */
.site-footer { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 24px 48px; width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.footer-brand p { max-width: 320px; margin-top: 12px; }
.site-footer .nav-logo { display: inline-flex; margin: 0; padding: 4px 0; font-size: 17px; }
.site-footer .nav-logo img { width: 26px; height: 26px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-columns div { display: grid; align-content: start; justify-items: start; gap: 2px; }
.footer-title { margin-bottom: 6px; color: var(--ink-strong); font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.footer-columns a, .site-footer .footer-button { padding: 5px 0; border-radius: 6px; }
.footer-columns a:hover, .site-footer .footer-button:hover { color: var(--ink-strong); }
.footer-button { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-button:focus-visible { outline: 3px solid #376cf0; outline-offset: 2px; }
.copyright { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* Audience measurement consent (only when an Analytics ID is configured; see site-analytics.js).
   Non-blocking panel; accepting and refusing look the same. */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: min(440px, calc(100% - 32px)); padding: 20px 20px 18px; border: 1px solid #c4d4fa; border-radius: 18px; background: linear-gradient(145deg, #ffffff, #f1f5ff); box-shadow: 0 24px 60px #2a4a8f33, 0 2px 8px #2a4a8f1a; color: var(--ink); font-size: 14px; line-height: 1.55; }
.consent h2 { color: var(--ink-strong); font-size: 16px; font-weight: 700; }
.consent p { margin-top: 8px; color: #4d5f86; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent-actions .button { width: 100%; }
.consent:focus { outline: none; }

/* Sign-up page */
.signup { width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 150px 0 80px; }
.signup .card { padding: 40px 36px; text-align: center; }
.signup h1 { color: var(--ink-strong); font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -1.1px; line-height: 1.15; }
.signup p { margin-top: 14px; }
.signup .chosen-plan { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: #e7eeff; color: var(--accent); font-weight: 650; }
.signup .signup-status { padding: 14px 16px; border-radius: 14px; background: #fff7e6; color: #6b4a12; font-size: 15px; text-align: left; }

/* Medium screens: the full-width pricing card keeps balanced columns. */
@media (max-width: 1180px) {
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .offer-main, .offer-included { padding-inline: 32px; }
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .sectors article:nth-child(3n+1) { border-left: 0; }
}
@media (max-width: 1023px) {
  .integrations ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
  .trust { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; }
}
/* Tablets and phones: text then picture, one column, in reading order. */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 22px; max-width: 560px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-main, .offer-included { padding: 30px 28px 28px; }
  .offer-included { border-top: 1px solid var(--line); border-left: 0; }
  .feature, .feature.reverse, .demo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.reverse .feature-text { order: 0; }
  .problems { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
  .problems li { padding: 22px 0; }
  .problems li + li { border-left: 0; border-top: 1px solid var(--line); }
  .problems li:first-child { padding-top: 0; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors article:nth-child(n) { border-left: 0; }
  .sectors article:nth-child(2n) { border-left: 1px solid var(--line); }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* The comparison table becomes one block per need. */
  .compare-scroll { overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare tr { display: grid; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { padding: 2px 0; border: 0; }
  .compare td::before { display: block; color: #6a7ba0; font-size: 12px; font-weight: 650; letter-spacing: .2px; }
  .compare td:nth-of-type(1)::before { content: "Organisation par fichiers"; margin-top: 6px; }
  .compare td:nth-of-type(2)::before { content: "Avec Tempo"; margin-top: 6px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .band-light::before, .band-lavender::before, .band-blue::before { background: linear-gradient(180deg, transparent, var(--band) 40px, var(--band) calc(100% - 40px), transparent); }
  .hero { padding-top: 108px; padding-bottom: 48px; }
  .hero h1 { letter-spacing: -1.1px; }
  .hero h1 .eyebrow { margin-bottom: 12px; font-size: 12px; }
  /* Phones show an authentic two-day crop, readable at this width (see site.html). */
  .vsl img { aspect-ratio: 624 / 900; }
  .integrations { padding-bottom: 48px; }
  .integrations ul, .sectors { grid-template-columns: minmax(0, 1fr); }
  .sectors { row-gap: 0; }
  .sectors article:nth-child(n) { padding: 16px 0; border-left: 0; }
  .sectors article + article { border-top: 1px solid var(--line); }
  .feature { padding: 28px 0; }
  .included-groups { padding: 4px 20px 24px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final { padding: 64px 16px; }
  .pricing .section-head { margin-bottom: 24px; }
  .offer-main, .offer-included { padding: 24px 20px; }
  .billing-switch { align-self: stretch; }
  .billing-switch span { padding: 10px 12px; }
  .offer .price strong { font-size: 46px; letter-spacing: -1.6px; }
  .estimate-inputs { gap: 12px; }
  .estimate .estimate-count { width: 80px; }
  .estimate-examples button { padding: 7px 8px; text-align: center; }
  .offer-main .button { padding-inline: 12px; font-size: 15px; }
  .estimate-examples .example-unit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .vsl { margin-top: 32px; }
  .vsl-frame { border-radius: 16px; }
  .cta-row .button { width: 100%; }
  .consent-actions { grid-template-columns: 1fr; }
}
/* ---- Animations ----
   Only transform, translate, scale and opacity are animated (handled by the
   compositor). Scroll-linked ones are pure CSS: where the browser lacks scroll
   timelines, or without JavaScript, content simply stays visible. Everything stops
   with prefers-reduced-motion (end of this file). The title and its lead are not
   animated: they are readable, and measured as painted, from the first frame. */

/* Hero: actions and preview arrive just after the words. */
@keyframes rise-in { from { opacity: 0; translate: 0 14px; } }
.hero > .cta-row, .hero > .reassurance, .hero > .vsl { animation: rise-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero > .cta-row { animation-delay: .08s; }
.hero > .reassurance { animation-delay: .14s; }
.hero > .vsl { animation-delay: .2s; animation-duration: .8s; }
/* A light sweeps once across « Un seul planning. », then the words stay plain blue. */
.hero .accent {
  background: linear-gradient(100deg, #235ee8 0%, #235ee8 40%, #8db0ff 50%, #235ee8 60%, #235ee8 100%) 100% 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 1.8s ease-in-out .6s 1 both;
}
@keyframes shimmer { to { background-position: 0 0; } }

/* Soft coloured halos drifting slowly behind the page. */
.ambient { will-change: transform; }
.ambient-one { animation: drift-one 24s ease-in-out infinite alternate; }
.ambient-two { animation: drift-two 28s ease-in-out infinite alternate; }
@keyframes drift-one { to { transform: translate(140px, 70px) scale(1.12); } }
@keyframes drift-two { to { transform: translate(-90px, -80px) scale(1.15); } }

/* Buttons and cards lift under the pointer; a light crosses the blue buttons. */
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.primary, .nav-button.gradient { position: relative; isolation: isolate; overflow: hidden; }
.primary::before, .nav-button.gradient::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  translate: -110% 0; transition: translate .75s cubic-bezier(.2, .7, .2, 1);
}
.primary:hover::before, .nav-button.gradient:hover::before { translate: 110% 0; }
.primary:not(:hover)::before, .nav-button.gradient:not(:hover)::before { transition: none; }
.faq summary, .included summary { transition: color .2s; }
.faq summary:hover, .included summary:hover { color: var(--accent); }
.included summary:hover { color: #1948c7; }

/* Questions open and close smoothly where the browser animates <details>. */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content, .included::details-content { block-size: 0; overflow: hidden; transition: block-size .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content, .included[open]::details-content { block-size: auto; }
}

/* Scroll-linked effects. */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  /* Reading progress, under the navbar. */
  .scroll-progress {
    position: fixed; inset: 0 0 auto; z-index: 70; display: block; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, #2869ef, #8db0ff); transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root);
  }
}
@keyframes progress { to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  /* Product screenshots rise gently into place as they enter the screen. */
  .feature-shot { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 55%; }
}
@keyframes reveal { from { opacity: .25; translate: 0 28px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
