/* Quip : site de présentation (quickles.fr/quip). Aucune ressource externe. */
:root {
  --green: #0f6b66;
  --green-dark: #0a4f4b;
  --green-ink: #083b38;
  --green-soft: #e8f3f1;
  --green-line: #cfe5e1;
  --mint: #7fd8cb;
  --ink: #0e1726;
  --text: #1c2531;
  --text-2: #4a5566;
  --text-3: #7a8494;
  --line: #e6e9ee;
  --bg: #fbfcfc;
  --bg-2: #f4f6f7;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06);
  --shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 12px 32px -8px rgba(14, 23, 38, .12);
  --shadow-xl: 0 2px 4px rgba(14, 23, 38, .04), 0 40px 80px -20px rgba(8, 59, 56, .28);
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; padding-top: 68px; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- En-tête ---------- */
/* En-tête fixe : transparent en haut de page ; au défilement, il se resserre (68 → 60 px) sur
   un fond givré, avec une ombre légère. Fixe plutôt que collant : le resserrement ne décale pas
   la page. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(255, 255, 255, 0); border-bottom: 1px solid transparent; transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.site-header.scrolled, .site-header.menu-open { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: rgba(14, 23, 38, .06); box-shadow: 0 8px 28px -18px rgba(14, 23, 38, .28); }
.site-header .container { display: flex; align-items: center; gap: 32px; height: 68px; transition: height .35s var(--ease); }
.site-header.scrolled .container { height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { position: relative; display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; }
.nav a { position: relative; padding: 6px 0; color: var(--text-2); text-decoration: none; font-weight: 500; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"], .nav a.active { color: var(--ink); }
/* Section en cours : un fin trait qui glisse d'un lien à l'autre (site.js) */
.nav-indicator { position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; border-radius: 2px; background: var(--green); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-indicator.on { opacity: 1; }
/* Bouton du menu (petits écrans) : deux traits qui se croisent à l'ouverture */
.menu-toggle { display: none; position: relative; width: 40px; height: 40px; margin-left: 4px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 15px; } .menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 14px -4px rgba(15, 107, 102, .5); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-white { background: #fff; color: var(--green-ink); }
.btn-white:hover { color: var(--green-ink); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--green); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Apparitions au défilement ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Bandeau d'accueil ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: 0; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 30%; height: 90%; background: radial-gradient(closest-side, rgba(127, 216, 203, .35), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 60%); opacity: .55; pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 56px; align-items: center; padding: 56px 0 72px; }
@media (min-width: 981px) { .hero .container { min-height: calc(100vh - 68px); max-height: 860px; } }
.hero h1 { margin: 0 0 22px; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { margin: 0 0 32px; font-size: 19px; color: var(--text-2); max-width: 30em; }
.hero .actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: 14px; color: var(--text-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Maquette du produit (HTML, nette à toutes les tailles) ----------
   Reprend le vrai bouton et le vrai panneau de l'extension (extension/content/panel.css),
   à l'échelle de la maquette. */
.window { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-xl); overflow: hidden; font-size: 13px; color: #1c2531; text-align: left; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f8f9fa; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3e8; }
.window-bar .url { margin-left: 14px; flex: 1; max-width: 300px; height: 24px; border-radius: 7px; background: #eef0f3; color: var(--text-3); font-size: 11.5px; display: flex; align-items: center; padding: 0 10px; }
.app { position: relative; height: 460px; }
.mail { padding: 22px 26px; max-width: 470px; }
.mail h4 { margin: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--ink); }
.who { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; background: #7b5ea7; flex-shrink: 0; }
.who b { display: block; font-size: 13px; } .who small { color: var(--text-3); font-size: 11.5px; }
.mail p { margin: 0 0 10px; color: var(--text-2); line-height: 1.55; }
.mail .msg { margin-left: 42px; padding: 6px 10px; border-radius: 8px; transition: background .6s; }
.compose { position: relative; margin: 14px 0 0 42px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; height: 150px; overflow: hidden; color: var(--text-3); transition: border-color .6s, box-shadow .6s, height .6s var(--ease); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.compose .placeholder { position: absolute; left: 14px; top: 12px; transition: opacity .3s; }
.compose .typed { color: var(--text); white-space: pre-line; }
.demo[data-state="idle"] .msg, .demo[data-state="click"] .msg { background: rgba(127, 216, 203, .16); }
.demo[data-state="inserted"] .compose, .demo[data-state="done"] .compose { border-color: #056E6A; box-shadow: 0 0 0 3px rgba(5, 110, 106, .15); }
.demo[data-state="inserted"] .placeholder, .demo[data-state="done"] .placeholder { opacity: 0; }
.demo[data-state="done"] .compose { height: 210px; }

/* Le bouton de l'extension */
.qx-launcher { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #056E6A; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; box-shadow: 0 6px 20px rgba(5, 110, 106, .35), 0 2px 6px rgba(16, 24, 40, .15); transition: transform .2s var(--ease), background .2s; animation: qx-pop .35s var(--ease); }
.qx-launcher img { width: 24px; height: 24px; border-radius: 7px; }
.demo[data-state="click"] .qx-launcher { background: #045c58; transform: scale(.95); }

/* Le panneau de l'extension, ancré là où était le bouton */
.qx-panel { position: absolute; right: 14px; bottom: 14px; width: 318px; max-height: calc(100% - 28px); display: flex; flex-direction: column; background: #fff; color: #1c2531; border-radius: 14px; box-shadow: 0 20px 48px rgba(16, 24, 40, .22), 0 0 0 1px rgba(16, 24, 40, .06); font-size: 12.5px; line-height: 1.5; transform-origin: bottom right; animation: qx-open .35s var(--ease); }
.qx-head { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid #e3e7ec; }
.qx-head img { width: 28px; height: 28px; border-radius: 8px; }
.qx-title { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.qx-title b { font-size: 13.5px; } .qx-title span { font-size: 11px; color: #6b7687; }
.qx-close { width: 26px; height: 26px; display: grid; place-items: center; color: #6b7687; }
.qx-close svg { width: 15px; height: 15px; }
.qx-body { padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.qx-loading-label { margin: 0 0 4px; color: #475263; font-weight: 500; }
.qx-skeleton { display: flex; flex-direction: column; gap: 9px; }
.qx-skeleton i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #f2f4f7 25%, #e7ebf0 50%, #f2f4f7 75%); background-size: 200% 100%; animation: qx-shimmer 1.4s ease-in-out infinite; }
.qx-skeleton i:nth-child(2) { width: 92%; } .qx-skeleton i:nth-child(4) { width: 85%; } .qx-skeleton i:nth-child(5) { width: 60%; } .qx-skeleton i:nth-child(6) { width: 35%; }
.qx-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.qx-badge { padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #e6f4ec; color: #157a47; }
.qx-info { font-size: 11px; color: #6b7687; }
.qx-info b { color: #056E6A; font-weight: 600; }
.qx-reply { height: 158px; overflow: hidden; padding: 9px 11px; border: 1px solid #cfd6de; border-radius: 9px; background: #fcfcfd; white-space: pre-line; font-size: 12px; line-height: 1.55; }
.qx-reply .caret { display: inline-block; width: 2px; height: 1em; background: #056E6A; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.qx-context { display: inline-flex; align-items: center; gap: 5px; color: #056E6A; font-size: 11.5px; font-weight: 600; }
.qx-context svg { width: 13px; height: 13px; }
.qx-primary { padding: 9px; border-radius: 8px; background: #056E6A; color: #fff; text-align: center; font-weight: 600; font-size: 12.5px; transition: background .3s, transform .2s var(--ease); }
.demo[data-state="press"] .qx-primary { background: #045c58; transform: scale(.97); }
.demo[data-state="inserted"] .qx-primary { background: #157a47; }
.qx-secondary { display: flex; gap: 5px; }
.qx-secondary span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 4px; border: 1px solid #cfd6de; border-radius: 8px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.qx-secondary svg { width: 12px; height: 12px; }
.qx-status { margin: 0; font-size: 12px; color: #157a47; font-weight: 500; }

/* Pointeur de souris */
.pointer { position: absolute; z-index: 5; width: 22px; height: 22px; left: 0; top: 0; pointer-events: none; transform: translate(var(--x, 300px), var(--y, 120px)); transition: transform 1.1s var(--ease), opacity .4s; opacity: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.pointer svg { width: 22px; height: 22px; display: block; }
.pointer.on { opacity: 1; }
.pointer.tap::after { content: ""; position: absolute; left: -10px; top: -10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(5, 110, 106, .6); animation: tap .5s ease-out; }
@keyframes tap { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Légende de la maquette */
.caption { display: flex; align-items: center; gap: 14px; margin-top: 18px; min-height: 28px; }
.caption .dots { display: flex; gap: 6px; }
/* Un point par étape, cliquable : la zone de clic déborde le point (::after) */
.caption .dots button { position: relative; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: var(--green-line); cursor: pointer; transition: background .4s, width .4s; }
.caption .dots button::after { content: ""; position: absolute; inset: -10px -3px; }
.caption .dots button:hover { background: #9fcfc7; }
.caption .dots button.on { width: 20px; background: var(--green); }
.caption .dots button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.caption span { font-size: 15px; font-weight: 600; color: var(--ink); transition: opacity .35s; }
.caption span.fade { opacity: 0; }

.demo [hidden] { display: none !important; }
.demo { transition: opacity .5s var(--ease); }
.demo.fading { opacity: 0; }
@keyframes qx-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes qx-open { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes qx-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 216, 203, .7); } 100% { box-shadow: 0 0 0 10px rgba(127, 216, 203, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 14px; }
h1, h2, h3 { text-wrap: balance; }
h2 { margin: 0 0 16px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: var(--ink); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin: 0; font-size: 18px; color: var(--text-2); }

/* Outils : bandeau de logos qui défile */
.tools { overflow: hidden; }
.marquee { position: relative; overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.logo img { width: 26px; height: 26px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.marquee.static { -webkit-mask-image: none; mask-image: none; }
.marquee.static .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 20px; }
.tools-note { margin: 34px auto 0; max-width: 46em; text-align: center; color: var(--text-2); font-size: 15.5px; }
.tools-note b { color: var(--ink); font-weight: 600; }

/* Fonctionnalités : grille irrégulière */
.features { background: var(--bg-2); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.cell h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.015em; color: var(--ink); }
.cell p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
.cell { transition: opacity .8s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.cell:hover { transform: translateY(-3px); border-color: var(--green-line); box-shadow: var(--shadow); }
.cell > .viz, .cell > .doc-list, .cell > .levels, .cell > .team-row, .cell > .timeline { margin-top: auto; }
/* « Il dit quand il ne sait pas » */
.viz-warn { display: grid; gap: 12px; }
.warn-line { display: flex; gap: 8px; align-items: flex-start; margin: 0 !important; font-size: 12.5px !important; color: #9a5a00 !important; line-height: 1.45; }
.warn-line svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; }
/* « Ce que Quip ne sait pas encore » */
.gaps { display: grid; gap: 8px; }
.gap-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.gap-n { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #fff3df; color: #9a5a00; font-weight: 700; font-size: 13px; }
.gap-main { min-width: 0; display: flex; flex-direction: column; }
.gap-main b { font-size: 13.5px; color: var(--ink); }
.gap-main small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gap-btn { padding: 5px 12px; border-radius: 8px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; }
/* « Des rendez-vous vraiment libres », « Les clients à prévenir » */
.slot-day { min-width: 40px; height: 42px; flex-direction: column; gap: 0; line-height: 1.05; background: #e6f2f1; color: var(--green); font-size: 10px; letter-spacing: .04em; }
.slot-day b { font-size: 16px; letter-spacing: 0; }
.wait-n { background: #e6f2f1; color: var(--green); }
.gap-pill { padding: 4px 10px; border-radius: 99px; background: #e6f4ec; color: #157a47; font-size: 12px; font-weight: 600; white-space: nowrap; }
.gap-pill.muted { background: var(--bg); color: var(--text-3); }
/* « Vos consignes du moment » */
.viz-context { display: grid; gap: 10px; justify-items: start; }
.ctx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 12.5px; font-weight: 600; }
.ctx-chip svg { width: 13px; height: 13px; color: var(--green); }
.ctx-out { font-size: 12.5px; color: var(--text-2); font-style: italic; }
.ctx-out + .ctx-chip { margin-top: 4px; }
/* « Pas de réponse pour rien » */
.viz-noreply { display: grid; gap: 10px; justify-items: start; }
.noreply-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.noreply-note svg { width: 14px; height: 14px; }
/* « Rédigée sous vos yeux » : une ligne qui s'écrit */
.viz-live { display: grid; gap: 9px; padding: 18px 16px; }
.viz-live i { display: block; height: 8px; border-radius: 5px; background: var(--green-line); }
.viz-live i.typing { position: relative; background: linear-gradient(90deg, var(--green-line) 0 100%) no-repeat; background-size: 0 100%; animation: write 2.6s var(--ease) infinite; }
.viz-live i.typing::after { content: ""; position: absolute; top: -3px; width: 2px; height: 14px; border-radius: 1px; background: var(--green); left: var(--caret, 0%); animation: caret 2.6s var(--ease) infinite; }
@keyframes write { 0% { background-size: 0 100%; } 70%, 100% { background-size: 100% 100%; } }
@keyframes caret { 0% { left: 0%; } 70%, 100% { left: 100%; } }
/* « Le RGPD, sans casse-tête » */
.rgpd-list { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.rgpd-list li { display: flex; gap: 10px; align-items: flex-start; }
.rgpd-ck { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; display: grid; place-items: center; border-radius: 6px; background: var(--green-soft); color: var(--green); }
.rgpd-ck svg { width: 12px; height: 12px; }
.rgpd-list b { display: block; font-size: 13.5px; color: var(--ink); }
.rgpd-list small { display: block; font-size: 12px; color: var(--text-3); line-height: 1.4; }
@media (max-width: 560px) { .rgpd-list { grid-template-columns: minmax(0, 1fr); } }
.viz { border-radius: 12px; background: var(--bg); border: 1px solid var(--line); padding: 16px; font-size: 13px; }
.viz-tone { display: grid; gap: 8px; }
.bubble { padding: 9px 12px; border-radius: 12px; max-width: 88%; line-height: 1.45; }
.bubble.client { background: #fff; border: 1px solid var(--line); }
.bubble.team { justify-self: end; background: var(--green-soft); color: var(--green-ink); }
.bubble small { display: block; margin-top: 6px; color: var(--green); font-weight: 600; font-size: 11.5px; }
.doc-list { display: grid; gap: 8px; }
.doc { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.doc svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.doc span { flex: 1; } .doc em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--green); }
.diff { display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; }
.diff .del { color: #b4321f; text-decoration: line-through; opacity: .75; }
.diff .add { color: #137a46; }
.diff .sep { height: 1px; margin: 6px 0; background: var(--line); }
.levels { display: flex; flex-wrap: wrap; gap: 8px; }
.levels span { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.lv-high { background: #e3f5ea; color: #137a46; } .lv-mid { background: #fff3df; color: #9a5a00; } .lv-low { background: #fdece9; color: #b4321f; }
.team-row { display: flex; align-items: center; }
.team-row .avatar { width: 36px; height: 36px; border: 3px solid #fff; margin-left: -8px; font-size: 12px; }
.team-row .avatar:first-child { margin-left: 0; }
.team-row small { margin-left: 12px; color: var(--text-2); }
.timeline { display: flex; gap: 6px; align-items: flex-end; height: 46px; }
.timeline i { flex: 1; border-radius: 4px; background: var(--green-line); }
.timeline i:last-child { background: var(--green); }

/* Vos données : schéma */
.privacy { background: var(--green-ink); color: #fff; position: relative; overflow: hidden; }
.privacy .container { position: relative; }
.privacy h2 { color: #fff; }
.privacy .section-head p { color: rgba(255, 255, 255, .72); }
.privacy .eyebrow { color: var(--mint); }
/* Schéma : trois encarts de même taille sur une grille ; le cadre « Réseau de votre entreprise »
   passe derrière les deux premiers. Lignes fines, sans lueur ; seul un trait discret circule
   entre l'équipe et le PC de l'entreprise. */
.flow { display: grid; grid-template-columns: 22px minmax(0, 1fr) 80px minmax(0, 1fr) 22px 104px minmax(0, 1fr); align-items: stretch; margin: 118px 0 78px; }
.flow > * { grid-row: 1; }
.flow > .zone { grid-column: 1 / 6; }
.flow > :nth-child(2) { grid-column: 2; } .flow > :nth-child(3) { grid-column: 3; } .flow > :nth-child(4) { grid-column: 4; }
.flow > :nth-child(5) { grid-column: 5 / 7; } .flow > :nth-child(6) { grid-column: 7; }
.flow > .zone { margin: -54px 0 -22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .025); position: relative; }
.zone-label { position: absolute; top: 18px; left: 22px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 196px; padding: 26px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: #0b4441; }
.node-icon { width: 44px; height: 44px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--mint); }
.node-icon svg { width: 22px; height: 22px; }
.node b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.node small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.node small.with-logos { display: inline-flex; align-items: center; gap: 6px; }
.with-logos img { width: 16px; height: 16px; padding: 2px; border-radius: 4px; background: #fff; }
.with-logos img + img { margin-left: -2px; }
.with-logos img:last-of-type { margin-right: 2px; }
.node.core { border-color: rgba(127, 216, 203, .55); background: #0d4b47; }
.node.core .node-icon { background: var(--mint); color: var(--green-ink); }
.node.off { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .18); }
.node.off .node-icon { background: transparent; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .45); }
.node.off b { color: rgba(255, 255, 255, .6); }
.node.off small { color: rgba(255, 255, 255, .42); }
.link {
  position: relative; z-index: 1; align-self: center; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(127, 216, 203, .22), rgba(127, 216, 203, .45), rgba(127, 216, 203, .22));
  --arrow-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  --arrow-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
}
/* Deux flèches fines, de part et d'autre du rail : la demande part vers le PC, la réponse revient
   (décalée d'une demi-période). Allers-retours lents, en fondu aux extrémités. */
.link::before, .link::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -16px 0 0 -6px;
  background: var(--mint); -webkit-mask: var(--arrow-out) center / contain no-repeat; mask: var(--arrow-out) center / contain no-repeat;
  animation: packet-out 2.8s cubic-bezier(.45, 0, .55, 1) infinite backwards;
}
.link::after { margin-top: 4px; -webkit-mask-image: var(--arrow-back); mask-image: var(--arrow-back); animation-name: packet-back; animation-delay: 1.4s; }
.link.cut { height: 1px; border-radius: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 4px, transparent 4px 8px); }
.link.cut::before, .link.cut::after { content: none; }
.block { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--green-ink); border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .7); }
.block svg { width: 12px; height: 12px; }
@keyframes packet-out { 0% { left: 0; opacity: 0; } 20%, 80% { opacity: .85; } 100% { left: 100%; opacity: 0; } }
@keyframes packet-back { 0% { left: 100%; opacity: 0; } 20%, 80% { opacity: .85; } 100% { left: 0; opacity: 0; } }

/* Les engagements : un bloc, quatre cases séparées par un filet */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); }
.fact { padding: 28px 26px 30px; background: var(--green-ink); }
.fact-icon { width: 38px; height: 38px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 10px; background: rgba(127, 216, 203, .1); color: var(--mint); }
.fact-icon svg { width: 19px; height: 19px; }
.fact b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.fact p { margin: 0; color: rgba(255, 255, 255, .66); font-size: 14.5px; line-height: 1.55; }
.privacy a.link-arrow { color: #fff; }

/* Prérequis */
.reqs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.req { padding: 30px; border-right: 1px solid var(--line); }
.req:last-child { border-right: none; }
.req .num { font-family: var(--mono); font-size: 12.5px; color: var(--green); }
.req-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.req-logos { display: inline-flex; gap: 8px; }
.req-logos img { width: 34px; height: 34px; padding: 7px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); object-fit: contain; }
.req h3 { margin: 10px 0 6px; font-size: 18px; color: var(--ink); }
.req p { margin: 0; color: var(--text-2); font-size: 15px; }

/* Appel à l'action */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 80px 40px; text-align: center; color: #fff; background: var(--green-ink); }
/* Halo et liseré lumineux : suivent la souris (site.js règle --mx et --my), au centre en haut sinon */
.cta { --mx: 50%; --my: 0%; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px circle at var(--mx) var(--my), rgba(127, 216, 203, .34), transparent 70%); }
.cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(127, 216, 203, .75), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.cta p { color: rgba(255, 255, 255, .78); font-size: 18px; margin: 0 auto 32px; max-width: 34em; }

/* ---------- Pages de texte (assistance, confidentialité, mentions) ---------- */
.page-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 72px 0 48px; }
.page-hero .kicker { font-size: 13px; font-weight: 600; color: var(--green); }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
.page-hero p { margin: 0; font-size: 18px; color: var(--text-2); max-width: 42em; }
.prose { max-width: 760px; margin: 0 auto; padding: 48px 0 104px; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin: 48px 0 12px; letter-spacing: -.02em; }
.prose h3 { font-size: 19px; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--text-2); text-wrap: pretty; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); background: var(--bg-2); }
.prose td { color: var(--text-2); }
.prose code { font-family: var(--mono); font-size: 13.5px; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.updated { font-size: 14px; color: var(--text-3); }
.callout { padding: 18px 22px; border-radius: 14px; background: var(--green-soft); border: 1px solid var(--green-line); margin: 24px 0; }
.callout p { margin: 0; color: var(--green-ink); }
.todo { background: #fff3df; color: #9a5a00; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.contact-card { display: flex; gap: 22px; align-items: center; padding: 26px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 8px 0 12px; }
.contact-card .icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; }
.contact-card .icon svg { width: 26px; height: 26px; }
.contact-card h2 { margin: 0 0 4px; font-size: 20px; }
.contact-card p { margin: 0; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); margin: 10px 0; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { text-wrap: pretty; cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; }
.faq details > div p:first-child { margin-top: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.faq-nav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.faq-nav a:hover { border-color: var(--green-line); color: var(--green); background: var(--green-soft); }
.prose h3.faq-group { margin: 40px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); scroll-margin-top: 8px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--text-3); }
.site-footer .container { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
/* Logo Quickles, l'éditeur de Quip */
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text-3); font-size: 13px; font-weight: 500; }
/* Les lettres du logo sont dans le bas de l'image (l'étoile dépasse au-dessus) : on remonte l'image
   de 2 px pour que le mot « Quickles » soit centré sur la ligne, comme le texte voisin */
.site-footer .footer-brand img { position: relative; top: -2px; height: 20px; width: auto; transition: opacity .2s; }
.site-footer .footer-brand:hover { color: var(--text-2); }
.site-footer .footer-brand:hover img { opacity: .8; }

/* ---------- Petits écrans ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero .container { padding: 40px 0 64px; gap: 40px; }
  .link-arrow { min-height: 44px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: auto; }
  .flow { grid-template-columns: minmax(0, 1fr); margin: 114px 0 64px; }
  .flow > * { grid-column: 1 !important; }
  .flow > .node:not(.off) { margin-inline: 14px; }
  .flow > :nth-child(2) { grid-row: 1; } .flow > :nth-child(3) { grid-row: 2; } .flow > :nth-child(4) { grid-row: 3; }
  .flow > :nth-child(5) { grid-row: 4; } .flow > :nth-child(6) { grid-row: 5; }
  .flow > .zone { grid-row: 1 / 4; margin: -50px 0 -14px; }
  .node { min-height: 0; }
  .link {
    width: 2px; height: 56px; justify-self: center; align-self: auto;
    background: linear-gradient(180deg, rgba(127, 216, 203, .22), rgba(127, 216, 203, .45), rgba(127, 216, 203, .22));
    --arrow-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
    --arrow-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15l7-7 7 7'/%3E%3C/svg%3E");
  }
  /* Vertical : la demande descend à gauche du rail, la réponse remonte à droite. */
  .link::before, .link::after { top: 0; left: 50%; margin: -6px 0 0 -16px; animation-name: packet-out-v; }
  .link::after { margin: -6px 0 0 4px; animation-name: packet-back-v; }
  .link.cut { width: 1px; height: 72px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .22) 0 4px, transparent 4px 8px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reqs { grid-template-columns: minmax(0, 1fr); }
  .req { border-right: none; border-bottom: 1px solid var(--line); }
  .req:last-child { border-bottom: none; }
  section { padding: 80px 0; }
  .site-header .btn { margin-left: auto; }
  .js .menu-toggle { display: block; }
  .nav { display: none; }
  .nav-indicator { display: none; }
  /* Menu déroulant sous l'en-tête */
  .js .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(14, 23, 38, .3); font-size: 16px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .js .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .js .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .js .nav a:last-of-type { border-bottom: none; }
  .js .nav a.active { color: var(--green); }
}
@media (max-width: 640px) {
  .site-header .container { gap: 12px; }
  .site-header .btn { white-space: nowrap; }
  .contact-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer nav { margin-left: 0; gap: 4px 18px; order: -1; }
  /* « Un logiciel Quickles » tout en bas */
  .site-footer .footer-brand { order: 2; margin-top: 8px; }
  .site-footer nav a { display: inline-block; padding: 10px 0; }
  .prose { font-size: 16px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 10px 8px; }
  .app { height: 470px; }
  .mail { padding: 18px; }
  .mail .msg, .compose { margin-left: 0; }
  .qx-panel { width: calc(100% - 20px); right: 10px; bottom: 10px; }
  .cta { padding: 56px 22px; border-radius: 20px; }
}
@keyframes packet-out-v { 0% { top: 0; opacity: 0; } 20%, 80% { opacity: .85; } 100% { top: 100%; opacity: 0; } }
@keyframes packet-back-v { 0% { top: 100%; opacity: 0; } 20%, 80% { opacity: .85; } 100% { top: 0; opacity: 0; } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
