/*
 * Page Trame (/trame) : présentation produit et demande de démo.
 * Complète site.css (polices, en-tête, boutons, formulaires) ; toutes les classes propres à la page commencent par « t- ».
 * Repères de style : héros sombre à halo, captures réelles du produit, visite par onglets, grille « bento »,
 * chiffres mesurés, formulaire de démo court à côté de ce que le prospect obtient, CTA collant sur téléphone.
 */
.t-page {
  --t-ink: #081419;
  --t-ink-2: #0d2029;
  --t-grad: linear-gradient(92deg, #3cc6d8 0%, #8be6f0 45%, #a98bf0 100%);
  --t-ring: 0 0 0 1px rgba(12, 24, 32, .07);
  --t-card-shadow: 0 1px 2px rgba(12, 24, 32, .04), 0 12px 32px -18px rgba(12, 24, 32, .28);
  --t-radius: 18px;
  background: var(--surface);
}
.t-page figure { margin: 0; }
.t-page b { font-weight: 600; }

/* Lien d'évitement : visible seulement au clavier. */
.t-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--trame); color: #062129; font-weight: 600; text-decoration: none; }
.t-skip:focus { top: 12px; }

/* ---------- En-tête ---------- */
.t-top { background: rgba(8, 20, 25, .72); transition: background-color .2s ease, box-shadow .2s ease; }
.t-top.t-scrolled { background: rgba(8, 20, 25, .92); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.t-signin { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 6px; white-space: nowrap; }
.t-signin:hover { color: #fff; }
.t-top .wrap { gap: 18px; }
.t-top .nav a { padding: 8px 10px; white-space: nowrap; }
@media (max-width: 1500px) { .t-top .brand small { display: none; } }
/* Sept liens dans l'en-tête : plus serrés tant qu'ils tiennent sur une ligne, pour garder le nom « Trame » lisible. */
@media (max-width: 1500px) { .t-top .nav { gap: 0; margin-left: 4px; } .t-top .nav a { padding: 8px 8px; font-size: 14.5px; } }
@media (max-width: 1100px) { .t-top .nav a { padding: 8px 6px; font-size: 14px; } .t-top .nav a.t-nav-opt { display: none; } }
.t-signin:focus-visible { outline: 3px solid var(--trame); outline-offset: 2px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.t-btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 12px; }
.t-page .btn.primary { background: linear-gradient(180deg, #4fd2e2 0%, #34bccf 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 26px -12px rgba(60, 198, 216, .8); }
.t-page .btn.primary:hover { background: linear-gradient(180deg, #6ddbe8 0%, #45c7d8 100%); }
.t-play svg { opacity: .9; }

/* ---------- Héros ---------- */
.t-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0; color: var(--on-dark);
  background: linear-gradient(180deg, var(--t-ink) 0%, #0a1c23 70%, #0c2029 100%);
}
/* Quadrillage discret, effacé vers les bords. */
.t-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.t-hero-glow {
  position: absolute; z-index: -1; inset: -20% -10% auto; height: 90%;
  background:
    radial-gradient(40% 50% at 22% 30%, rgba(60, 198, 216, .30), transparent 70%),
    radial-gradient(36% 46% at 82% 40%, rgba(169, 139, 240, .26), transparent 70%);
  filter: blur(10px);
  animation: t-drift 18s ease-in-out infinite alternate;
}
@keyframes t-drift { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, 3%, 0); } }
.t-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 88px 0 104px; }
.t-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 5px 12px 5px 5px; border-radius: 999px; text-decoration: none;
  font-size: 14px; color: var(--on-dark); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .15s ease, border-color .15s ease;
}
.t-pill:hover { background: rgba(255, 255, 255, .1); border-color: rgba(60, 198, 216, .5); }
.t-pill:focus-visible { outline: 3px solid var(--trame); outline-offset: 2px; }
.t-pill-tag { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--t-grad); color: #062129; }
.t-pill > span:not(.t-pill-tag) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-pill svg { flex: none; color: var(--trame); }
.t-hero h1 { font-size: clamp(36px, 3.9vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; color: #fff; margin: 22px 0 22px; }
/* Accroche : les trois points de départ, au-dessus des deux lignes principales. */
.t-kick { display: block; max-width: 560px; margin-bottom: 18px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.4; letter-spacing: -.005em; color: var(--on-dark); }
.t-grad { background: var(--t-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-lead { font-size: 19px; line-height: 1.6; color: var(--on-dark-muted); max-width: 600px; }
.t-lead b { color: #fff; }
.t-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.t-cta.center { justify-content: center; }
.t-trust { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; font-size: 14px; color: var(--on-dark-muted); }
.t-trust li { padding-right: 24px; line-height: 1.35; }
.t-trust li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.t-trust b { display: block; margin-bottom: 2px; font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -.01em; }

.t-hero-visual { position: relative; }
@media (min-width: 1320px) { .t-hero-visual { margin-right: -64px; } }
.t-browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(60, 198, 216, .35);
  transform: perspective(1800px) rotateY(-7deg) rotateX(3deg);
  transform-origin: 30% 50%;
}
.t-browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef2f5; border-bottom: 1px solid #dfe5ea; }
.t-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dae1; }
.t-browser-bar i:first-child { background: #f2766b; }
.t-browser-bar i:nth-child(2) { background: #f4c25b; }
.t-browser-bar i:nth-child(3) { background: #5fcb7c; }
.t-browser-bar span { margin-left: 12px; flex: 1; max-width: 260px; font-size: 12px; color: #5f6c78; background: #fff; border-radius: 6px; padding: 3px 10px; border: 1px solid #e1e6eb; }
.t-browser img { width: 100%; height: auto; }
.t-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; font-size: 13px; line-height: 1.35;
  color: var(--fg); background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(12, 24, 32, .06);
  animation: t-float 6s ease-in-out infinite;
}
.t-float b { display: block; font-size: 14px; }
.t-float span:not(.t-dot) { color: var(--muted); }
.t-float-a { left: -28px; bottom: 16%; }
.t-float-b { right: -18px; top: -22px; animation-delay: -3s; }
@keyframes t-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.t-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 5px rgba(229, 72, 77, .16); }
.t-ico-ok { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #2fbf86, #13996a); box-shadow: 0 6px 14px -6px rgba(19, 153, 106, .8); }
.t-ico-ok.big { width: 56px; height: 56px; margin: 0 auto 18px; }

/* ---------- Sections ---------- */
.t-section { padding: 112px 0; background: var(--surface); }
.t-section.t-soft { background: var(--bg); }
.t-section.tight { padding: 72px 0; }
.t-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.t-head.left { margin: 0; text-align: left; }
.t-head h2 { font-size: clamp(30px, 3.9vw, 48px); line-height: 1.1; letter-spacing: -.025em; margin: 14px 0 0; }
.t-head > p:not(.t-eyebrow) { margin-top: 18px; color: var(--muted); font-size: 18px; }
.t-head a { color: var(--accent); font-weight: 600; }
.t-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--trame-deep);
}
.t-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }

.t-dark { color: var(--on-dark); background: radial-gradient(900px 480px at 15% 0%, rgba(60, 198, 216, .16), transparent 60%), radial-gradient(800px 480px at 95% 100%, rgba(169, 139, 240, .14), transparent 60%), var(--t-ink); }
.t-section.t-dark { background: radial-gradient(900px 480px at 15% 0%, rgba(60, 198, 216, .16), transparent 60%), radial-gradient(800px 480px at 95% 100%, rgba(169, 139, 240, .14), transparent 60%), var(--t-ink); }
.t-dark .t-head h2, .t-dark h3 { color: #fff; }
.t-dark .t-head > p:not(.t-eyebrow) { color: var(--on-dark-muted); }
.t-dark .t-eyebrow { color: var(--trame); }

/* ---------- Entrées → Trame → livrables ---------- */
.t-flow { display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 56px; align-items: center; }
.t-flow-col { display: grid; gap: 12px; position: relative; }
.t-flow-h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.t-chip {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--t-card-shadow);
  font-size: 14px; line-height: 1.35; color: var(--muted);
  transition: transform .2s ease, border-color .2s ease;
}
.t-chip:hover { transform: translateY(-2px); border-color: #bfe9ef; }
.t-chip b { display: block; font-size: 15.5px; color: var(--fg); }
.t-chip-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: #eef2f5; color: #3d4a57; }
.t-chip.out .t-chip-ico { background: var(--trame-soft); color: var(--trame-deep); }
.t-flow-core {
  position: relative; display: grid; justify-items: center; gap: 10px; padding: 30px 20px 24px; border-radius: 22px; text-align: center;
  color: #fff; background: radial-gradient(120% 90% at 50% 0%, rgba(60, 198, 216, .35), transparent 60%), var(--t-ink);
  box-shadow: 0 30px 60px -30px rgba(8, 20, 25, .8), 0 0 0 1px rgba(60, 198, 216, .25);
}
.t-flow-core img { border-radius: 14px; box-shadow: 0 0 40px rgba(60, 198, 216, .5); }
.t-flow-core > b { font-size: 22px; font-weight: 700; }
.t-flow-core ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; width: 100%; }
.t-flow-core li { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--on-dark); }
/* Liaisons animées de part et d'autre du cœur. */
.t-flow-core::before, .t-flow-core::after {
  content: ""; position: absolute; top: 50%; width: 56px; height: 2px;
  background: linear-gradient(90deg, rgba(60, 198, 216, .15), var(--trame), rgba(60, 198, 216, .15));
  background-size: 200% 100%; animation: t-flowline 2.4s linear infinite;
}
.t-flow-core::before { right: 100%; }
.t-flow-core::after { left: 100%; }
@keyframes t-flowline { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Cartes ---------- */
.t-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.t-card {
  padding: 30px; border-radius: var(--t-radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--t-card-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(12, 24, 32, .04), 0 24px 48px -24px rgba(12, 24, 32, .35); border-color: #cfe6eb; }
.t-card h3 { font-size: 20px; margin: 18px 0 10px; }
.t-card p { color: var(--muted); font-size: 16px; }
.t-card-ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--trame-deep);
  background: linear-gradient(180deg, #ecfafc, #d6f2f6); box-shadow: inset 0 0 0 1px rgba(15, 127, 143, .12);
}
.t-ico-text { width: auto; padding: 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }

/* ---------- Cinq étapes ---------- */
.t-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: none; }
.t-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--trame), #a98bf0); opacity: .35; }
.t-steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.t-steps b { display: block; margin-top: 12px; font-size: 18px; color: var(--fg); }
.t-step-n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-size: 20px; font-weight: 700; color: #062129; background: var(--t-grad);
  box-shadow: 0 0 0 7px var(--surface), 0 14px 28px -12px rgba(60, 198, 216, .9);
}
.t-note {
  display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin: 56px auto 0; padding: 16px 20px;
  border-radius: 14px; font-size: 15.5px; color: #24414a; background: var(--trame-soft); border: 1px solid #c8edf2;
}
.t-note svg { flex: none; margin-top: 3px; color: var(--trame-deep); }

/* ---------- Visite du produit : onglets ---------- */
.t-tabs {
  display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 48px; padding: 6px;
  border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  overflow-x: auto; scrollbar-width: none;
}
.t-tabs::-webkit-scrollbar { display: none; }
.t-tabs button {
  flex: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--on-dark-muted);
  padding: 10px 18px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.t-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.t-tabs button[aria-selected="true"] { color: #062129; background: var(--t-grad); box-shadow: 0 8px 22px -10px rgba(60, 198, 216, .9); }
.t-tabs button:focus-visible { outline: 3px solid var(--trame); outline-offset: 2px; }
.t-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.t-panel[hidden] { display: none; }
.t-panel:focus-visible { outline: 2px dashed rgba(60, 198, 216, .6); outline-offset: 12px; border-radius: 12px; }
.t-js .t-panel.t-enter { animation: t-panel .45s ease both; }
@keyframes t-panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.t-panel-text h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 24px; }
.t-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.t-list li { position: relative; padding-left: 34px; color: var(--on-dark-muted); font-size: 16px; line-height: 1.55; }
.t-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(60, 198, 216, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%233cc6d8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.t-list b { color: #fff; }
.t-panel-visual { position: relative; padding-bottom: 14%; }
.t-panel-visual .t-shot:first-child { width: 94%; margin-left: auto; }
.t-panel-visual:not(:has(.t-shot-sm)) { padding-bottom: 0; }
.t-panel-visual:not(:has(.t-shot-sm)) .t-shot:first-child { width: 100%; }
.t-shot { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(12, 24, 32, .08), 0 30px 70px -32px rgba(12, 24, 32, .55); }
.t-dark .t-shot { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .85); }
.t-shot img { width: 100%; height: auto; }
.t-shot-sm { position: absolute; left: 0; bottom: 0; width: 50%; border-radius: 12px; }
.t-dark .t-shot-sm { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 24px 50px -16px rgba(0, 0, 0, .9); }

/* ---------- Chiffres ---------- */
.t-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.t-stat {
  position: relative; overflow: hidden; padding: 28px 24px 26px; border-radius: var(--t-radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--t-card-shadow);
  color: var(--muted); font-size: 15px; line-height: 1.45;
}
.t-stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--t-grad); }
.t-stat b {
  display: block; margin-bottom: 8px; font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(92deg, #0f7f8f, #3cc6d8 55%, #6b4fc4); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-honest {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center; margin-top: 28px; padding: 36px;
  border-radius: 22px; background: linear-gradient(180deg, #f7fbfc, #eef7f9); border: 1px solid #d7ebef;
}
.t-honest h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; margin-bottom: 14px; }
.t-honest p { color: var(--muted); }
.t-honest p b { color: var(--fg); }
.t-fine { margin-top: 14px !important; font-size: 13.5px; color: #6c7884 !important; line-height: 1.5; }

/* ---------- Bento : travailler à plusieurs ---------- */
.t-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.t-tile {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--t-radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--t-card-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.t-tile:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(12, 24, 32, .04), 0 24px 48px -24px rgba(12, 24, 32, .35); }
.t-tile h3 { font-size: 19px; margin: 16px 0 6px; }
.t-tile p { color: var(--muted); font-size: 15.5px; }
.t-tile-wide { grid-column: span 2; grid-row: span 2; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #e9f7fa 100%); }
.t-tile-wide h3 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 0; }
.t-tile-wide .t-shot { margin: 26px -28px -28px 0; border-radius: 12px 0 0 0; }

/* ---------- Sécurité ---------- */
.t-sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.t-sec-item {
  position: relative; padding: 24px 24px 24px 76px; border-radius: 16px; font-size: 15px; line-height: 1.5; color: var(--on-dark-muted);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .2s ease, border-color .2s ease;
}
.t-sec-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(60, 198, 216, .35); }
.t-sec-item::before {
  content: ""; position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(60, 198, 216, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5c0 4.6-3 8.6-7 10-4-1.4-7-5.4-7-10V6z' fill='none' stroke='%233cc6d8' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' fill='none' stroke='%233cc6d8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.t-sec-item b { display: block; margin-bottom: 4px; font-size: 16.5px; color: #fff; }

/* ---------- Pour qui ---------- */
.t-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: var(--trame-soft); color: var(--trame-deep); }
.t-tag.ink { background: #e9edf2; color: #2d3a48; }
.t-tag.violet { background: var(--atelio-soft); color: var(--atelio-deep); }
.t-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.t-checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.t-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--trame-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230f7f8f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.t-persona:nth-child(2) .t-checks li::before { background-color: #e9edf2; }
.t-persona:nth-child(3) .t-checks li::before { background-color: var(--atelio-soft); }

/* ---------- Vidéos ---------- */
.t-videos .video { border-radius: var(--t-radius); transition: transform .25s ease; }
.t-videos .video:hover { transform: translateY(-3px); }
/* Vidéo de présentation : toute la largeur, au-dessus des autres. */
.t-videos .video.wide { grid-column: 1 / -1; max-width: 960px; width: 100%; justify-self: center; }

/* ---------- Demande de démo ---------- */
.t-section.t-demo-s {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background:
    radial-gradient(700px 420px at 0% 10%, rgba(60, 198, 216, .22), transparent 60%),
    radial-gradient(700px 420px at 100% 90%, rgba(169, 139, 240, .2), transparent 60%),
    var(--t-ink);
}
.t-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.t-demo-text { padding-top: 12px; }
.t-demo-text .t-eyebrow { color: var(--trame); }
.t-demo-text h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.025em; color: #fff; margin: 14px 0 18px; }
.t-demo-lead { font-size: 18px; color: var(--on-dark-muted); }
.t-agenda { list-style: none; counter-reset: t-agenda; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.t-agenda li { counter-increment: t-agenda; position: relative; padding: 0 0 24px 56px; color: var(--on-dark-muted); font-size: 15.5px; line-height: 1.5; }
.t-agenda li::before {
  content: counter(t-agenda); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--trame);
  background: rgba(60, 198, 216, .12); border: 1px solid rgba(60, 198, 216, .4);
}
.t-agenda li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 1px; background: rgba(60, 198, 216, .3); }
.t-agenda b { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; padding-top: 5px; }
.t-demo-alt { margin-top: 6px; font-size: 15px; color: var(--on-dark-muted); }
.t-demo-alt a { color: var(--trame); font-weight: 600; }
.t-demo-card {
  position: relative; padding: 34px; border-radius: 24px; background: #fff; color: var(--fg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 100px -30px rgba(0, 0, 0, .8);
}
/* Liseré lumineux autour de la carte. */
.t-demo-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 25px;
  background: var(--t-grad); filter: blur(18px); opacity: .45;
}
.t-form { display: grid; gap: 16px; }
.t-form[hidden], .t-done[hidden] { display: none; }
.t-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.t-form .lbl b { color: #c0392b; font-weight: 600; }
.t-form .lbl i { font-style: normal; font-weight: 400; color: var(--muted); }
.t-form input, .t-form select, .t-form textarea { background: #fbfcfd; transition: border-color .15s ease, background-color .15s ease; }
.t-form input:hover, .t-form select:hover, .t-form textarea:hover { border-color: #aab7c4; }
.t-form textarea { min-height: 92px; }
.t-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.t-choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.t-choice legend { width: 100%; padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.t-choice label { display: block; position: relative; font-weight: 500; }
.t-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t-choice label > span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid #c9d2dc; background: #fbfcfd; font-size: 14px; cursor: pointer; transition: all .15s ease; }
.t-choice label:hover > span { border-color: #8fa0b0; }
.t-choice input:checked + span { border-color: var(--trame-deep); background: var(--trame-soft); color: var(--trame-deep); font-weight: 600; box-shadow: inset 0 0 0 1px var(--trame-deep); }
.t-choice input:focus-visible + span { outline: 3px solid var(--trame); outline-offset: 2px; }
.t-submit { width: 100%; margin-top: 4px; }
.t-demo-card .form-status:empty { display: none; }
.t-demo-card .t-fine { margin-top: 0 !important; text-align: center; }
.t-done { text-align: center; padding: 18px 6px 6px; }
.t-done:focus { outline: none; }
.t-done h3 { font-size: 26px; margin-bottom: 18px; }
.t-done ol { text-align: left; margin: 0 auto 24px; padding-left: 22px; max-width: 420px; display: grid; gap: 10px; color: var(--muted); }
.t-done ol li::marker { color: var(--trame-deep); font-weight: 700; }

/* ---------- Partenaires (revente) : même mise en page que la démo, sur fond clair, accent violet ---------- */
.t-section.t-partner-s {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(640px 380px at 100% 0%, rgba(169, 139, 240, .16), transparent 62%),
    radial-gradient(560px 360px at 0% 100%, rgba(60, 198, 216, .12), transparent 60%),
    var(--surface);
}
.t-partner-s .t-demo-text .t-eyebrow { color: var(--atelio-deep); }
.t-partner-s .t-demo-text h2 { color: var(--t-ink); }
.t-partner-s .t-demo-lead { color: var(--muted); }
.t-partner-gets { margin: 26px 0 0; }
.t-partner-gets li { font-size: 15.5px; color: var(--fg); }
.t-partner-gets li::before { background-color: var(--atelio-soft); }
.t-partner-s .t-agenda li { color: var(--muted); }
.t-partner-s .t-agenda b { color: var(--fg); }
.t-partner-s .t-agenda li::before { color: var(--atelio-deep); background: var(--atelio-soft); border-color: rgba(107, 79, 196, .35); }
.t-partner-s .t-agenda li:not(:last-child)::after { background: rgba(107, 79, 196, .25); }
.t-partner-s .t-demo-card { box-shadow: 0 0 0 1px var(--line), 0 30px 80px -36px rgba(12, 24, 32, .35); }
.t-partner-s .t-demo-card::before { opacity: .22; }
.t-more { display: inline-flex; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 15px; color: var(--atelio-deep); text-decoration: none; }
.t-more:hover { text-decoration: underline; }
.t-more:focus-visible { outline: 3px solid var(--atelio); outline-offset: 3px; border-radius: 6px; }

/* ---------- Feuille de route ---------- */
.t-road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.t-road-item {
  position: relative; padding: 46px 24px 24px; border-radius: var(--t-radius); font-size: 15px; line-height: 1.5; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--t-card-shadow);
}
.t-road-item::before { content: ""; position: absolute; left: 24px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--trame); box-shadow: 0 0 0 5px rgba(60, 198, 216, .18); }
.t-road-item:nth-child(n+3)::before { background: var(--atelio); box-shadow: 0 0 0 5px rgba(169, 139, 240, .2); }
.t-road-item b { display: block; margin-bottom: 6px; font-size: 16.5px; color: var(--fg); }

/* ---------- FAQ ---------- */
.t-faq-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.t-faq-wrap .t-head { position: sticky; top: 100px; }
.t-faq { border-top: 1px solid var(--line); }
.t-faq details { border-bottom: 1px solid var(--line); }
.t-faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0;
  font-size: 17.5px; font-weight: 600; line-height: 1.4;
}
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23586473' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
.t-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--trame-soft); }
.t-faq summary:hover { color: var(--trame-deep); }
.t-faq summary:focus-visible { outline: 3px solid var(--trame); outline-offset: 2px; border-radius: 6px; }
.t-faq details p { padding: 0 48px 24px 0; color: var(--muted); }
.t-faq details[open] p { animation: t-panel .3s ease both; }

/* ---------- Appel final ---------- */
.t-final {
  position: relative; overflow: hidden; text-align: center; color: var(--on-dark); padding: 120px 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(60, 198, 216, .28), transparent 70%),
    radial-gradient(500px 300px at 85% 100%, rgba(169, 139, 240, .22), transparent 70%),
    var(--t-ink);
}
.t-final::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
}
.t-final .wrap { position: relative; }
.t-final h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; color: #fff; max-width: 860px; margin: 0 auto 18px; }
.t-final p { color: var(--on-dark-muted); font-size: 19px; max-width: 620px; margin: 0 auto; }

/* ---------- CTA collant (téléphone) ---------- */
.t-sticky { display: none; }

/* ---------- Apparition au défilement (seulement avec JavaScript) ---------- */
.t-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.t-js .reveal.in { opacity: 1; transform: none; }
.t-cards3 .reveal:nth-child(2), .t-bento .reveal:nth-child(2), .t-road .reveal:nth-child(2), .t-sec .reveal:nth-child(2) { transition-delay: .08s; }
.t-cards3 .reveal:nth-child(3), .t-bento .reveal:nth-child(3), .t-road .reveal:nth-child(3), .t-sec .reveal:nth-child(3) { transition-delay: .16s; }
.t-bento .reveal:nth-child(4), .t-road .reveal:nth-child(4), .t-sec .reveal:nth-child(4) { transition-delay: .24s; }
.t-bento .reveal:nth-child(5), .t-sec .reveal:nth-child(5) { transition-delay: .32s; }
.t-sec .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1200px) {
  .t-signin { display: none; }
}
@media (max-width: 1100px) {
  .t-float-a { left: -10px; }
  .t-float-b { right: -6px; }
}
@media (max-width: 980px) {
  .t-section { padding: 84px 0; }
  .t-hero-in { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 80px; }
  .t-browser { transform: none; }
  .t-hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .t-flow { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .t-flow-core { max-width: 320px; width: 100%; margin: 0 auto; }
  .t-flow-core::before, .t-flow-core::after { left: 50%; right: auto; top: auto; width: 2px; height: 40px; margin-left: -1px; background: linear-gradient(180deg, rgba(60, 198, 216, .15), var(--trame), rgba(60, 198, 216, .15)); background-size: 100% 200%; animation-name: t-flowline-v; }
  .t-flow-core::before { bottom: 100%; }
  .t-flow-core::after { top: 100%; }
  .t-cards3 { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .t-steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .t-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--trame), #a98bf0); }
  .t-steps li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 18px; row-gap: 0; padding: 0 0 26px; }
  .t-steps li .t-step-n { grid-row: span 3; }
  .t-steps b { margin-top: 4px; }
  .t-panel { grid-template-columns: 1fr; gap: 36px; }
  .t-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-honest { grid-template-columns: 1fr; gap: 28px; }
  .t-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-tile-wide { grid-column: span 2; grid-row: auto; }
  .t-sec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-demo { grid-template-columns: 1fr; gap: 44px; }
  .t-road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .t-faq-wrap .t-head { position: static; }
}
@keyframes t-flowline-v { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- Téléphones ---------- */
@media (max-width: 760px) {
  .t-section { padding: 68px 0; }
  .t-top .btn.primary { display: none; }
  .t-section.tight { padding: 48px 0; }
  .t-head { margin-bottom: 36px; }
  .t-head > p:not(.t-eyebrow) { font-size: 16.5px; }
  .t-hero-in { padding: 44px 0 64px; gap: 40px; }
  .t-hero h1 { font-size: clamp(34px, 10vw, 44px); margin: 18px 0 16px; }
  .t-lead { font-size: 17px; }
  .t-cta { margin-top: 26px; }
  .t-cta .btn { flex: 1 1 100%; }
  .t-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
  .t-trust li { font-size: 12.5px; padding-right: 12px; }
  .t-trust li + li { padding-left: 12px; }
  .t-trust b { font-size: 18px; }
  .t-pill { font-size: 13px; }
  .t-float { padding: 9px 12px; font-size: 12px; border-radius: 12px; }
  .t-float b { font-size: 13px; }
  .t-float-a { left: -6px; bottom: -22px; }
  .t-float-b { right: -6px; top: -26px; }
  .t-ico-ok { width: 26px; height: 26px; }
  .t-browser-bar { height: 26px; padding: 0 10px; gap: 5px; }
  .t-browser-bar i { width: 8px; height: 8px; }
  .t-browser-bar span { display: none; }
  .t-tabs { width: auto; margin: 0 -16px 32px; padding: 6px 16px; border-radius: 0; border-left: 0; border-right: 0; background: transparent; }
  .t-tabs button { padding: 9px 14px; font-size: 14px; background: rgba(255, 255, 255, .06); }
  .t-panel-text h3 { margin-bottom: 18px; }
  .t-list li { font-size: 15.5px; }
  .t-panel-visual { padding-bottom: 18%; }
  .t-panel-visual .t-shot:first-child { width: 100%; }
  .t-shot-sm { width: 58%; left: -6px; }
  .t-stats { gap: 12px; }
  .t-stat { padding: 22px 18px 20px; font-size: 14px; }
  .t-honest { padding: 24px; }
  .t-bento { grid-template-columns: 1fr; }
  .t-tile-wide { grid-column: auto; }
  .t-tile { padding: 24px; }
  .t-tile-wide .t-shot { margin: 22px -24px -24px 0; }
  .t-sec { grid-template-columns: 1fr; }
  .t-card { padding: 24px; }
  .t-demo-card { padding: 22px; border-radius: 20px; }
  .t-row2 { grid-template-columns: 1fr; }
  .t-road { grid-template-columns: 1fr; }
  .t-faq summary { font-size: 16.5px; padding: 18px 44px 18px 0; }
  .t-faq details p { padding-right: 0; }
  .t-final { padding: 84px 0 96px; }
  .t-final p { font-size: 17px; }
  .t-cta.center .btn { flex: 1 1 100%; }
  /* CTA collant : apparaît après le héros, disparaît sur le formulaire. */
  .t-sticky {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    transform: translateY(140%); transition: transform .3s ease;
  }
  .t-sticky.show { transform: none; }
  .t-sticky .btn { width: 100%; padding: 15px 20px; font-size: 16px; border-radius: 14px; box-shadow: 0 16px 36px -12px rgba(8, 20, 25, .7), 0 0 0 1px rgba(255, 255, 255, .25) inset; }
  footer { padding-bottom: 96px; }
}
@media (max-width: 420px) {
  .t-stat b { font-size: 36px; }
  .t-float-a { bottom: -28px; }
  .t-pill > span:not(.t-pill-tag) { max-width: 230px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .t-hero-glow, .t-float, .t-flow-core::before, .t-flow-core::after { animation: none; }
  .t-js .reveal { opacity: 1; transform: none; transition: none; }
  .t-js .t-panel.t-enter, .t-faq details[open] p { animation: none; }
  .t-card, .t-tile, .t-chip, .t-videos .video, .t-sticky { transition: none; }
  .t-card:hover, .t-tile:hover, .t-chip:hover, .t-videos .video:hover { transform: none; }
}
