/* Percepco — site vitrine. Design tokens, puis sections dans l'ordre de la page. */
:root {
  --navy-950: #041225;
  --navy-900: #061a34;
  --navy-800: #0a2748;
  --navy-700: #123a68;
  --blue-600: #0b66d4;
  --blue-500: #1c82ee;
  --blue-100: #e5f1ff;
  --teal-500: #12b3c7;
  --teal-300: #5fd8e6;
  --green-600: #0a8f63;
  --green-100: #e3f7ef;
  --amber-700: #8a5200;
  --amber-100: #fff1d6;
  --ink: #0c2240;
  --text: #425870;
  --muted: #5d7188;
  --line: #e1e9f2;
  --tint: #f3f7fc;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(8, 36, 70, 0.07);
  --shadow: 0 24px 60px rgba(8, 36, 70, 0.14);
  --font: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- typographie & boutons ---------- */
.eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow.on-dark, .on-dark .eyebrow { color: var(--teal-300); }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); font-weight: 800; }
h1 span { color: var(--blue-600); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); font-weight: 800; }
h3 { font-size: 1.2rem; line-height: 1.25; color: var(--ink); font-weight: 750; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.7; color: var(--text); max-width: 62ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; padding: 12px 20px; font-weight: 750; font-size: 0.95rem; line-height: 1.2; text-align: center; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: var(--white); box-shadow: 0 10px 24px rgba(11, 102, 212, 0.28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(11, 102, 212, 0.36); }
.btn-ghost { background: var(--white); border-color: #cddae8; color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-outline { background: transparent; border-color: #bcd0e6; color: var(--ink); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-100); }
.btn-white { background: var(--white); color: var(--navy-800); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; color: var(--blue-600); font-size: 0.95rem; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; text-align: left; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-compact { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .lead { margin: 16px auto 0; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text); }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--green-100); color: var(--green-600); }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(220, 231, 242, 0.9); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { font-size: 0.88rem; font-weight: 650; color: #2d4560; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.main-nav a:hover { color: var(--blue-600); border-color: var(--blue-500); }
.nav-actions-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d2deea; border-radius: 10px; padding: 8px 11px; font-size: 0.8rem; font-weight: 800; color: #6a7f95; background: var(--white); }
.lang-switch .is-current { color: var(--blue-600); }
.lang-switch .sep { color: #b6c4d3; }
.lang-switch:hover { border-color: var(--blue-500); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #d2deea; border-radius: 12px; background: var(--white); align-items: center; justify-content: center; margin-left: auto; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero : photo du médecin + interface réelle qui la chevauche ---------- */
:root { --hero-pull: clamp(90px, 11vw, 160px); }
.hero { position: relative; padding: 0 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, #fff 55%, var(--tint)); }
.hero-stage { position: relative; padding-bottom: var(--hero-pull); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; background: var(--navy-900); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 30%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 21, 42, 0.04) 0%, rgba(4, 21, 42, 0.22) 34%, rgba(4, 21, 42, 0.86) 60%, rgba(4, 21, 42, 0.95) 100%); }
.hero-top { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; min-height: 520px; padding: clamp(40px, 5vw, 64px) 0; }
.hero-copy { width: min(580px, 100%); }
.hero h1 { color: var(--white); }
.hero h1 span { color: #6cc4ff; }
.hero-copy .lead { margin-top: 22px; color: #d3e3f4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); color: var(--white); backdrop-filter: blur(8px); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; }
.chip-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 650; color: #d3e3f4; }
.chip-row svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(95, 216, 230, 0.2); color: var(--teal-300); }
.hero-visual { position: relative; z-index: 3; width: min(940px, 100%); margin: calc(-1 * var(--hero-pull)) auto 0; padding: 0; }
.device-desk { border-radius: 18px; overflow: hidden; border: 1px solid #1a3d68; box-shadow: 0 34px 80px rgba(4, 18, 37, 0.35); background: var(--navy-900); }
.device-desk img { width: 100%; }
.device-phone { position: absolute; right: -3%; bottom: 40px; width: 25%; border-radius: 26px; overflow: hidden; border: 1px solid #1a3d68; box-shadow: 0 28px 60px rgba(4, 18, 37, 0.5); background: var(--navy-950); }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--ink); font-size: 0.8rem; font-weight: 750; padding: 9px 14px 9px 10px; border-radius: 999px; box-shadow: 0 12px 30px rgba(8, 36, 70, 0.22); border: 1px solid var(--line); white-space: nowrap; }
.float svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); }
.float-1 { top: -14px; left: 2%; }
.float-2 { top: 42%; left: -3%; }
.float-3 { bottom: 12%; left: 6%; }
.float-2 svg, .float-3 svg { background: var(--green-100); color: var(--green-600); }
.hero-visual figcaption { margin-top: 14px; text-align: center; font-size: 0.75rem; color: var(--muted); }

/* ---------- recadrage de captures (zoom sur une zone réelle de l'interface) ---------- */
.crop { position: relative; overflow: hidden; background: var(--navy-900); }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: var(--x, 50%) var(--y, 50%); transform: scale(var(--s, 1)); transform-origin: var(--x, 50%) var(--y, 50%); }
.crop-tag { position: absolute; left: 12px; top: 12px; font-size: 0.7rem; font-weight: 750; color: #d9ebff; background: rgba(4, 18, 37, 0.72); border: 1px solid rgba(255, 255, 255, 0.18); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* ---------- pourquoi Percepco ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.why-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card .crop { aspect-ratio: 16 / 8; margin: 4px 22px 22px; border-radius: 14px; }
.why-body { position: relative; padding: 30px 30px 18px; display: grid; gap: 10px; justify-items: start; }
.why-icon { width: 64px; height: 64px; margin-bottom: 8px; color: var(--navy-800); }
.why-icon svg { width: 100%; height: 100%; }
.why-icon .acc { stroke: var(--teal-500); }
.why-card h3 { font-size: 1.45rem; letter-spacing: -0.02em; }
.why-num { position: absolute; right: 28px; top: 24px; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: #e6eef7; }
.why-body p { max-width: 46ch; font-size: 1.02rem; }
.why-body .link-arrow { margin-top: 6px; }

/* ---------- comment ça marche ---------- */
.how { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.how-steps { position: relative; display: grid; gap: 10px; }
.how-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.how-step:hover { border-color: #b9d3ee; }
.how-num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--muted); font-weight: 800; transition: background-color .2s, color .2s; }
.how-copy { display: grid; gap: 4px; }
.how-copy strong { color: var(--ink); font-size: 1.02rem; padding-top: 8px; transition: padding .2s; }
.how-text { display: none; font-size: 0.93rem; line-height: 1.55; }
.how-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px; background: transparent; overflow: hidden; }
.how-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); }
.how-step[aria-selected="true"] { border-color: #8fc0f4; box-shadow: var(--shadow-sm); }
.how-step[aria-selected="true"] .how-num { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: var(--white); }
.how-step[aria-selected="true"] .how-text { display: block; }
.how-step[aria-selected="true"] .how-copy strong { padding-top: 0; }
.how-step[aria-selected="true"] .how-bar { background: #e6eef7; }
.how.is-auto .how-step[aria-selected="true"] .how-bar i { animation: howfill var(--how-ms, 6500ms) linear forwards; }
.how.is-paused .how-bar i { animation-play-state: paused; }
@keyframes howfill { from { width: 0; } to { width: 100%; } }
.how-toggle { justify-self: start; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cddae8; background: var(--white); color: var(--navy-700); font-size: 0.7rem; }
.how-stage { position: sticky; top: calc(var(--header-h) + 24px); }
.how-panel { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #1a3d68; background: var(--navy-900); animation: fadein .45s ease; }
.crop-stage { aspect-ratio: 4 / 3.1; }
.callout { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: max-content; display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); font-weight: 750; font-size: 0.92rem; padding: 12px 16px; border-radius: 14px; box-shadow: 0 14px 34px rgba(4, 18, 37, 0.4); }
.callout svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); }
.stage-note { margin-top: 12px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.guard { display: flex; align-items: flex-start; gap: 12px; max-width: 820px; margin: 36px auto 0; padding: 16px 20px; background: var(--white); border: 1px solid #cfe5db; border-left: 4px solid var(--green-600); border-radius: 14px; font-size: 0.95rem; color: #2e4a43; }
.guard svg { flex: none; width: 22px; height: 22px; color: var(--green-600); margin-top: 1px; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- intelligence artificielle (section sombre) ---------- */
.section-dark { background: radial-gradient(900px 420px at 90% -10%, rgba(18, 179, 199, 0.18), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #b9cde2; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: #b9cde2; }
.flow { margin: 0 0 40px; padding: 26px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px; background: rgba(255, 255, 255, 0.04); }
.flow-row { display: flex; align-items: stretch; justify-content: space-between; gap: 8px; }
.flow-node { flex: 1 1 0; min-width: 0; display: grid; align-content: center; gap: 2px; text-align: center; padding: 14px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: #d9e8f7; font-size: 0.82rem; }
.flow-node b { color: var(--white); font-size: 0.95rem; }
.flow-node i { font-style: normal; justify-self: center; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--teal-500)); color: var(--white); font-size: 0.78rem; font-weight: 800; margin-bottom: 4px; }
.flow-agent { background: rgba(28, 130, 238, 0.16); border-color: rgba(95, 216, 230, 0.4); }
.flow-human { background: rgba(255, 207, 122, 0.1); border-color: rgba(255, 207, 122, 0.4); }
.flow-out { background: rgba(10, 143, 99, 0.16); border-color: rgba(90, 220, 170, 0.4); }
.flow-arrow { flex: none; align-self: center; width: 22px; height: 2px; background: linear-gradient(90deg, rgba(95, 216, 230, 0.2), var(--teal-300)); position: relative; overflow: visible; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--teal-300); }
.flow-arrow::before { content: ""; position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--white); opacity: 0; animation: travel 2.8s ease-in-out infinite; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(16px); opacity: 0; } }
.flow-loop { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.flow-loop .flow-node { flex: none; width: 150px; }
.flow-loop p { font-size: 0.88rem; color: #b9cde2; }
.agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.agent { display: grid; align-content: start; gap: 14px; padding: 26px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.045); }
.agent header { display: flex; align-items: center; gap: 14px; }
.agent header > div { flex: 1; min-width: 0; }
.agent-num { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--blue-500), var(--teal-500)); color: var(--white); font-weight: 800; }
.agent-kind { font-size: 0.82rem; color: var(--teal-300); font-weight: 650; }
.badge { flex: none; font-size: 0.72rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; letter-spacing: 0.02em; }
.badge-live { background: rgba(10, 143, 99, 0.2); color: #7ff0c3; border: 1px solid rgba(127, 240, 195, 0.35); }
.badge-dev { background: rgba(255, 207, 122, 0.14); color: #ffd98f; border: 1px solid rgba(255, 207, 122, 0.4); }
.agent-benefit { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(95, 216, 230, 0.08); color: #dff6fa; font-size: 0.92rem; }
.agent-benefit svg { flex: none; width: 18px; height: 18px; color: var(--teal-300); margin-top: 3px; }
.agent-scope { font-size: 0.82rem; color: #ffd98f; }
.ai-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ai-benefits div { display: grid; gap: 4px; padding: 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); }
.ai-benefits strong { color: var(--white); font-size: 1.05rem; }
.ai-benefits span { font-size: 0.9rem; }
.ai-note { margin-top: 18px; font-size: 0.82rem; color: #8fa9c4; max-width: 90ch; }

/* ---------- votre pratique ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.practice-card { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.practice-card .check-list { flex: 1; margin: 8px 0 14px; }
.practice-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--blue-100), #d5f3f7); color: var(--blue-600); }
.practice-icon svg { width: 26px; height: 26px; }
.practice-tag { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- interfaces ---------- */
.ui-tabs { background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(16px, 2.4vw, 28px); }
.tablist { display: flex; gap: 6px; padding: 5px; background: var(--tint); border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; border: 0; background: transparent; border-radius: 12px; padding: 12px 18px; font-weight: 750; font-size: 0.92rem; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--white); color: var(--blue-600); box-shadow: 0 4px 14px rgba(8, 36, 70, 0.1); }
.ui-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 52px); align-items: center; margin-top: 28px; animation: fadein .4s ease; }
.ui-copy { display: grid; gap: 14px; justify-items: start; }
.kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue-600); }
.ui-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -0.025em; }
.ui-copy .check-list { margin: 6px 0 10px; }
.views { background: radial-gradient(circle at 50% 0%, var(--navy-700), var(--navy-900) 70%); border-radius: 18px; padding: clamp(10px, 1.6vw, 18px); }
.frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 18px 44px rgba(2, 10, 22, 0.5); background: var(--navy-950); }
.frame img { width: 100%; }
.frame.crop-frame { aspect-ratio: 16 / 9; }
.frame img:not([src]) { visibility: hidden; aspect-ratio: 16 / 9; }
.view { margin: 0; }
.view-portrait .frame { max-width: 300px; margin-inline: auto; border-radius: 28px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.thumb { border: 1px solid #d2deea; background: var(--white); border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 700; color: #46607a; transition: all .18s; }
.thumb:hover { border-color: var(--blue-500); color: var(--blue-600); }
.thumb[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.viewer-note { margin-top: 10px; font-size: 0.78rem; color: var(--muted); }

/* ---------- tarification ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.price-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--blue-500), var(--teal-500)); }
.price-card-custom { background: linear-gradient(180deg, #f7fbff, #fff); border-color: #b7d6f3; }
.price-label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue-600); }
.price { display: grid; gap: 2px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.price-amount { font-size: clamp(2.3rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.05; }
.price-unit { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.price-included { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-card .check-list { flex: 1; }
.price-limit { font-size: 0.82rem; line-height: 1.55; color: var(--muted); padding: 12px 14px; background: var(--tint); border-radius: 12px; }
.price-note { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ---------- provinces ---------- */
.flag-ca { display: block; width: clamp(104px, 14vw, 148px); margin: 0 auto 22px; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 34px rgba(8, 36, 70, 0.22), 0 0 0 1px rgba(8, 36, 70, 0.12); transform-origin: left center; animation: flagwave 7s ease-in-out infinite; }
.flag-ca svg { display: block; width: 100%; height: auto; }
@keyframes flagwave { 0%, 100% { transform: perspective(500px) rotateY(0deg); } 50% { transform: perspective(500px) rotateY(-7deg); } }
.prov-all { display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 3vw, 32px); margin-bottom: 28px; border: 1px solid #bfe5d6; border-radius: var(--radius); background: linear-gradient(135deg, #f1fbf6, #fff); box-shadow: var(--shadow-sm); }
.prov-all-icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--green-600); color: var(--white); }
.prov-all-icon svg { width: 24px; height: 24px; }
.prov-all h3 { font-size: 1.3rem; margin-bottom: 8px; }
.map-wrap { margin: 8px auto 28px; max-width: 1040px; padding: clamp(10px, 2vw, 24px); border-radius: 26px; background: radial-gradient(900px 400px at 50% 0%, #fff, #eaf3fc); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.canada-map { display: block; width: 100%; height: auto; }
.canada-map .terr { fill: #dfe8f3; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.canada-map .prov { fill: #bcd6f0; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.canada-map .prov-QC, .canada-map .prov-ON { fill: #a9cbee; }
.canada-map .leader { fill: none; stroke: #6f9acb; stroke-width: 2; stroke-dasharray: 5 5; }
.canada-map .leader-dot { fill: #1c82ee; stroke: #fff; stroke-width: 2; }
.canada-map .map-flag { filter: drop-shadow(0 4px 6px rgba(8, 36, 70, 0.28)); }
.canada-map text { font: 700 17px var(--font); fill: #0c2240; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 4px; stroke-linejoin: round; }
.flag-grid { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.flag-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 0.86rem; color: var(--ink); }
.flag-item span { display: grid; line-height: 1.25; }
.flag-item b { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--blue-600); }
.flag { flex: none; width: 54px; height: 36px; border-radius: 4px; box-shadow: 0 3px 8px rgba(8, 36, 70, 0.25); }
.diff-band { margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #c3d6ea; }
.diff-head { max-width: 720px; margin-bottom: 26px; }
.diff-head h3 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.diff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.diff-item { display: grid; align-content: start; gap: 6px; padding-top: 18px; border-top: 2px solid rgba(95, 216, 230, 0.45); }
.diff-item svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(95, 216, 230, 0.14); color: var(--teal-300); margin-bottom: 6px; }
.diff-item strong { color: var(--white); font-size: 1.02rem; }
.diff-item span { font-size: 0.9rem; }
.prov-note { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 28px auto 0; font-size: 0.88rem; color: #4d6179; }
.prov-note svg { flex: none; width: 20px; height: 20px; color: var(--blue-600); margin-top: 2px; }
.prov-cta { text-align: center; margin-top: 18px; }

/* ---------- confiance ---------- */
.trust-title { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: var(--muted); margin-bottom: 28px; font-weight: 800; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-item { display: grid; gap: 4px; justify-items: start; }
.trust-item svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); margin-bottom: 6px; }
.trust-item strong { color: var(--ink); }
.trust-item span { font-size: 0.88rem; }
.proof-slot { text-align: center; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-head { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { position: relative; list-style: none; cursor: pointer; font-weight: 750; color: var(--ink); padding-right: 36px; font-size: 1.02rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: -3px; font-size: 1.6rem; font-weight: 400; color: var(--blue-600); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 12px; max-width: 64ch; }

/* ---------- appel final & pied de page ---------- */
.final-cta { background: radial-gradient(700px 300px at 85% 0%, rgba(95, 216, 230, 0.25), transparent 60%), linear-gradient(135deg, var(--blue-600), var(--navy-800) 78%); color: #d4e6fa; padding: clamp(48px, 7vw, 80px) 0; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.final-cta h2 { color: var(--white); max-width: 22ch; margin-bottom: 12px; }
.site-footer { background: var(--navy-950); color: #9db3ca; padding: 56px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 14px; padding: 8px 14px; }
.footer-logo img { width: 130px; }
.footer-brand p { margin-top: 16px; max-width: 38ch; font-size: 0.9rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col strong { color: var(--white); font-size: 0.9rem; margin-bottom: 4px; }
.footer-col a, .footer-col .link-button { font-size: 0.88rem; color: #9db3ca; }
.footer-col a:hover, .footer-col .link-button:hover { color: var(--white); }
.footer-col a[aria-current="true"] { color: var(--white); font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #15304f; font-size: 0.8rem; color: #6f88a3; }

/* ---------- formulaire de démonstration ---------- */
dialog { border: 0; padding: 0; border-radius: 24px; width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 28px); box-shadow: 0 40px 100px rgba(3, 20, 42, 0.45); color: var(--text); }
dialog::backdrop { background: rgba(4, 17, 35, 0.68); backdrop-filter: blur(5px); }
.demo-form { position: relative; padding: clamp(24px, 4vw, 36px); display: grid; gap: 14px; }
.demo-form h2 { font-size: 1.8rem; }
.modal-text { margin-bottom: 4px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 1.5rem; line-height: 1; color: #46607a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 700; color: #2d4560; }
.demo-form input:not([type="checkbox"]), .demo-form select, .demo-form textarea { width: 100%; border: 1.5px solid #cfdbe8; background: var(--white); border-radius: 11px; padding: 11px 12px; font-weight: 500; color: var(--ink); }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(28, 130, 238, 0.18); }
.demo-form .invalid { border-color: #d33a3a !important; }
.field-error { color: #b42323; font-size: 0.78rem; font-weight: 650; }
.demo-form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.demo-form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-600); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 0.9rem; font-weight: 650; }
.form-status.is-success { color: var(--green-600); }
.form-status.is-error { color: #b42323; }
.form-privacy { font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------- animations discrètes ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.float { animation: bob 6s ease-in-out infinite; }
.float-2 { animation-delay: -2s; }
.float-3 { animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: 0; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 20px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-actions-mobile { display: block; padding-top: 16px; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .how, .ui-panel, .faq-grid { grid-template-columns: 1fr; }
  .hero-overlay { background: linear-gradient(180deg, rgba(4, 21, 42, 0.3) 0%, rgba(4, 21, 42, 0.78) 45%, rgba(4, 21, 42, 0.95) 100%); }
  .hero-photo img { object-position: 22% 20%; }
  .hero-top { align-items: flex-end; }
  .float-2 { left: 0; }
  .how-stage, .faq-head { position: static; }
  .how-stage { order: -1; }
  .why-grid, .agents { grid-template-columns: 1fr; }
  .practice-grid, .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-benefits { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .final-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .flow-row { flex-direction: column; align-items: stretch; }
  .flow-arrow { width: 2px; height: 18px; align-self: center; background: linear-gradient(180deg, rgba(95, 216, 230, 0.2), var(--teal-300)); }
  .flow-arrow::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid var(--teal-300); border-left-color: transparent; }
  .flow-arrow::before { display: none; }
  .flow-loop { flex-direction: column; align-items: stretch; }
  .flow-loop .flow-node { width: auto; }
}
@media (max-width: 760px) {
  .map-wrap { display: none; }
  .flag-grid { display: grid; }
}
@media (max-width: 600px) {
  .prov-all { flex-direction: column; }
  .diff-grid { grid-template-columns: 1fr; }
  .container { width: calc(100% - 32px); }
  .brand img { width: 128px; }
  .lang-switch { padding: 8px 9px; }
  .hero-actions .btn { width: 100%; }
  :root { --hero-pull: 64px; }
  .device-phone { width: 32%; right: -2%; }
  .float-1 { left: 0; top: -22px; }
  .float { font-size: 0.72rem; padding: 7px 11px 7px 8px; }
  .float-3 { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .callout { font-size: 0.82rem; padding: 10px 12px; }
  .crop-stage { aspect-ratio: 4 / 3.4; }
  .tab { padding: 11px 14px; }
}
