/* ========== TRAKOUT LANDING — styles spécifiques ========== */
/* Charge après system.css. Couvre nav, hero, marquee, sections, pricing, footer, cookie. */

body { overflow-x: hidden; }

/* ============ NAV ============ */
.tk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding .3s, background .3s;
}
.tk-nav.is-scrolled { padding: 14px 48px; }
.tk-nav-links { display: flex; gap: 32px; }
.tk-nav-links a { text-decoration: none; font-size: 14px; color: var(--text-2); transition: color .15s; }
.tk-nav-links a:hover { color: var(--text); }
.tk-nav-cta { display: flex; gap: 12px; align-items: center; }

/* Pages secondaires — nav menu desktop */
.tk-nav-menu { display: flex; align-items: center; gap: 32px; }
.tk-nav-menu a:not(.btn) { text-decoration: none; font-size: 14px; color: var(--text-2); transition: color .15s; }
.tk-nav-menu a:not(.btn):hover { color: var(--text); }

/* Mobile hamburger (géré par landing.js) */
.tk-nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.tk-nav-toggle span { display: block; width: 20px; height: 1px; background: var(--text); }

@media (max-width: 860px) {
  .tk-nav { padding: 16px 24px; }
  .tk-nav.is-scrolled { padding: 12px 24px; }
  .tk-nav-toggle { display: flex; }
  .tk-nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
  }
  .tk-nav-menu.open { display: flex; }
  .tk-nav-links { flex-direction: column; gap: 16px; }
  .tk-nav-cta { flex-direction: column; align-items: stretch; }
}

/* ============ CURSOR SPOTLIGHT ============ */
.cursor-spot {
  position: fixed;
  width: 400px; height: 400px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 12%, transparent), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .3s;
  mix-blend-mode: plus-lighter;
}

/* ============ HERO ============ */
.tk-hero {
  min-height: 100vh;
  position: relative;
  padding: 140px 48px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  overflow: hidden;
}
.tk-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
  opacity: 0.4;
}
.hero-eyebrow { animation: tkFadeUp .9s .2s both; }
.hero-title {
  font-size: clamp(56px, 7.5vw, 100px);
  line-height: 0.93;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 28px 0 0;
  text-wrap: balance;
}
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(40px); animation: tkFadeUp .9s both; }
.hero-title .word:nth-child(1) { animation-delay: .3s; }
.hero-title .word:nth-child(2) { animation-delay: .4s; }
.hero-title .word:nth-child(3) { animation-delay: .5s; }
.hero-title .word:nth-child(4) { animation-delay: .6s; }
.hero-title .word:nth-child(5) { animation-delay: .7s; }
.hero-title .word:nth-child(6) { animation-delay: .8s; }
.hero-title .word:nth-child(7) { animation-delay: .9s; }
.hero-title .word.accent { color: var(--accent); }

.hero-lede { font-size: 20px; line-height: 1.45; color: var(--text-2); max-width: 520px; margin-top: 32px; animation: tkFadeUp .9s 1s both; }
.hero-cta  { display: flex; gap: 12px; margin-top: 40px; animation: tkFadeUp .9s 1.15s both; flex-wrap: wrap; }

.hero-stats {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 680px;
  animation: tkFadeUp .9s 1.3s both;
}
.stat { border-top: 1px solid var(--line); padding-top: 14px; }
.stat-v { font-family: var(--font-mono); font-size: 30px; font-weight: 500; line-height: 1; }
.stat-v .unit { color: var(--accent); margin-left: 2px; }
.stat-l { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-top: 6px; }

/* ============ HERO LIVE PANEL ============ */
.hero-live {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: tkScaleIn 1s .5s both;
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / .35);
}
.live-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.live-dots { display: flex; gap: 6px; }
.live-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line);
}
.live-pulse {
  margin-left: auto; color: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
}
.live-pulse::before {
  content: ""; width: 8px; height: 8px;
  background: var(--ok); border-radius: 50%;
  animation: tkPulse 1.6s ease-in-out infinite;
}

/* Tabs pour filtrer le feed */
.live-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  align-items: center;
}
.live-tabs .chip {
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); cursor: pointer;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.live-tabs .chip.active { color: var(--accent); border-bottom-color: var(--accent); }
.live-tabs .chip:hover { color: var(--text-2); }
.preview-flash {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); opacity: 0;
  transition: opacity .3s;
}
.preview-flash.show { opacity: 1; }

/* Feed rows (rendus par landing.js) */
.live-feed-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.live-feed-wrap::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg-2));
  pointer-events: none;
}
.live-feed { display: flex; flex-direction: column; }
.preview-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  transition: background .2s;
}
.preview-row.fresh { animation: tkSlideIn .5s both; }
.preview-row:hover { background: var(--bg-3); }
.preview-left { display: flex; flex-direction: column; gap: 3px; }
.preview-label {
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent);
}
.preview-label.green  { color: var(--ok); }
.preview-label.info   { color: var(--accent-2); }
.preview-label.danger { color: var(--danger); }
.preview-left strong { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text); }
.preview-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.preview-meta b { color: var(--text-2); font-weight: 500; }
.preview-status {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-align: right;
  white-space: nowrap; margin-top: 2px;
  color: var(--text-3);
}
.preview-status.warn { color: var(--accent); }
.preview-status.ok   { color: var(--ok); }
.preview-status.muted { color: var(--text-3); }

/* Footer du live panel */
.live-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.live-summary > div { background: var(--bg-2); padding: 16px 18px; }
.live-summary .v { font-family: var(--font-mono); font-size: 22px; }
.live-summary .l { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-top: 4px; }
.live-summary .warn { color: var(--accent); }
.live-summary .ok   { color: var(--ok); }

/* ============ MARQUEE ============ */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg-2);
  margin-top: 80px;
}
.marquee-track {
  display: flex; gap: 80px;
  white-space: nowrap;
  animation: tkMarquee 50s linear infinite;
  font-family: var(--font-mono); font-size: 14px; color: var(--text-3);
}

/* ============ SECTIONS GÉNÉRIQUES ============ */
.tk-section {
  padding: 140px 48px;
  position: relative;
}
.tk-section-head { max-width: 1200px; margin: 0 auto 80px; }
.tk-section-title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 24px 0 0;
  text-wrap: balance;
}

/* ============ REVEAL AU SCROLL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ============ PROBLEM PILE ============ */
.pile {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.pile-cell {
  background: var(--bg); padding: 36px;
  position: relative; transition: background .3s;
}
.pile-cell:hover { background: var(--bg-2); }
.pile-cell:hover .pile-num { color: var(--accent); }
.pile-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.12em; transition: color .3s; }
.pile-cell h3 { font-size: 24px; line-height: 1.1; margin: 16px 0 12px; font-weight: 500; }
.pile-cell p { color: var(--text-2); font-size: 15px; line-height: 1.5; margin: 0; }

/* ============ SCROLLYTELLING ============ */
.scrolly {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start; position: relative;
}
.scrolly-text { display: flex; flex-direction: column; gap: 100vh; }
.scrolly-step { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.scrolly-step h3 { font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; margin: 16px 0 20px; text-wrap: balance; }
.scrolly-step p { font-size: 18px; line-height: 1.5; color: var(--text-2); max-width: 480px; }
.scrolly-step ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.scrolly-step li { display: flex; gap: 12px; font-size: 15px; color: var(--text-2); }
.scrolly-step li::before { content: "→"; color: var(--accent); font-family: var(--font-mono); }

.scrolly-stage {
  position: sticky; top: 15vh;
  height: 70vh; display: flex; align-items: center; justify-content: center;
}
.scrolly-canvas {
  width: 100%; height: 100%;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.scrolly-canvas::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .4;
}
.scrolly-scene {
  position: absolute; inset: 0; padding: 24px;
  opacity: 0; transform: scale(0.96);
  transition: opacity .8s, transform .8s;
  pointer-events: none; overflow: hidden;
}
.scrolly-scene.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.scrolly-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ============ FEATURE GRID ============ */
.fgrid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.fcell {
  background: var(--bg); padding: 40px 32px; transition: background .3s;
}
.fcell:hover { background: var(--bg-2); }
.fcell .ic {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: var(--accent);
  margin-bottom: 24px;
}
.fcell h4 { font-size: 20px; margin: 0 0 10px; font-weight: 500; }
.fcell p { color: var(--text-2); font-size: 15px; line-height: 1.5; margin: 0; }

/* ============ TÉMOIGNAGES ============ */
.testi-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  transition: border-color .2s;
}
.testi:hover { border-color: var(--line); }
.testi-quote { font-size: 16px; line-height: 1.5; flex: 1; color: var(--text); }
.testi-author { display: flex; gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-avatar {
  width: 40px; height: 40px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  flex-shrink: 0;
}
.testi-meta { font-size: 13px; }
.testi-meta b { display: block; color: var(--text); }
.testi-meta span { color: var(--text-3); }

/* ============ DEPLOY STEPS ============ */
.deploy {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.dstep {
  padding: 40px 28px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; transition: background .3s;
}
.dstep:last-child { border-right: none; background: var(--bg-2); }
.dstep:hover { background: var(--bg-2); }
.dstep .h { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.dstep h4 { font-size: 22px; margin: 4px 0 8px; font-weight: 500; }
.dstep p { color: var(--text-2); font-size: 14px; line-height: 1.5; margin: 0; }

/* ============ PRICING ============ */
.pricing { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--accent); }
.plan.featured { background: var(--bg-3); border-color: var(--accent); position: relative; }
.plan.featured::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px; background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.plan-h { display: flex; flex-direction: column; gap: 10px; }
.plan-p {
  font-family: var(--font-mono); font-size: 44px; font-weight: 500;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.plan-p .u { font-size: 11px; color: var(--text-3); display: block; margin-top: 4px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.plan-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-2); flex: 1; }
.plan-list li { padding-left: 18px; position: relative; }
.plan-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono); }

/* Pricing toggle */
.pricing-toggle-row { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; justify-content: flex-end; }
.pricing-toggle-label { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
#pricing-toggle {
  width: 44px; height: 24px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 12px; position: relative; cursor: pointer;
  transition: background .2s; padding: 0;
}
#pricing-toggle[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.pricing-toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-2); transition: transform .2s, background .2s;
}
#pricing-toggle[aria-checked="true"] .pricing-toggle-knob { transform: translateX(20px); background: var(--accent-ink); }
.pricing-save-badge {
  font-size: 11px; color: var(--ok);
  background: oklch(0.78 0.14 155 / 0.12);
  padding: 2px 6px; border-radius: 4px;
}

/* show/hide prices for toggle — géré via l'attribut hidden par landing-trakout.js */
[hidden] { display: none !important; }

/* ============ FAQ (mini, section landing) ============ */
.faq-mini { max-width: 900px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line); padding: 24px 0; cursor: pointer;
}
.faq-q { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.faq-q h4 { font-size: 20px; margin: 0; font-weight: 500; }
.faq-q .toggle { font-family: var(--font-mono); color: var(--accent); transition: transform .3s; flex-shrink: 0; font-size: 20px; }
.faq-item.open .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, margin .4s;
  color: var(--text-2); font-size: 16px; line-height: 1.5; max-width: 720px;
}
.faq-item.open .faq-a { max-height: 240px; margin-top: 16px; }

/* ============ CONTACT ============ */
.contact-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}
.contact-copy h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; margin: 24px 0 0; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); }
.contact-list a { color: var(--accent); text-decoration: none; }

.contact-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-card h3 { font-size: 24px; font-weight: 500; margin: 0 0 28px; }

/* Champs formulaire */
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 8px;
}
.field input, .field select, .field textarea,
#contact-name, #contact-email, #contact-message {
  width: 100%; padding: 14px 16px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-sans); font-size: 15px;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus,
#contact-name:focus, #contact-email:focus, #contact-message:focus {
  outline: none; border-color: var(--accent);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-actions { display: flex; align-items: center; gap: 16px; }
.contact-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }

/* ============ FINAL CTA ============ */
.tk-final {
  text-align: center; padding: 160px 48px;
  position: relative;
}
.tk-final h2 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95; letter-spacing: -0.035em;
  font-weight: 500; margin: 0; text-wrap: balance;
}
.final-cta { display: inline-flex; gap: 16px; margin-top: 56px; flex-wrap: wrap; justify-content: center; }

/* ============ FOOTER ============ */
.tk-footer {
  padding: 48px; border-top: 1px solid var(--line); background: var(--bg-2);
}
.tk-footer-row {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.tk-footer h5 {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-3); margin: 0 0 16px;
}
.tk-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tk-footer ul a { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color .15s; }
.tk-footer ul a:hover { color: var(--accent); }
.tk-footer p { color: var(--text-2); font-size: 14px; line-height: 1.5; margin: 16px 0 0; max-width: 320px; }
.tk-footer-meta {
  padding-top: 32px; margin-top: 48px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-3);
  display: flex; justify-content: space-between;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 480px; z-index: 9000;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: 0 24px 48px -16px oklch(0 0 0 / .5);
}
.cookie-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.cookie-icon { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.cookie-icon svg { width: 100%; height: 100%; }
.cookie-eyebrow { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin: 0; }
.cookie-title { font-size: 15px; font-weight: 500; margin: 4px 0 0; }
.cookie-lead { font-size: 14px; color: var(--text-2); line-height: 1.5; margin: 0 0 16px; }
.cookie-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.cookie-chip { display: flex; align-items: flex-start; gap: 12px; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.chip-dot.success { background: var(--ok); }
.chip-dot.info    { background: var(--accent-2); }
.chip-title { font-size: 13px; font-weight: 500; margin: 0; }
.chip-desc  { font-size: 12px; color: var(--text-3); margin: 2px 0 0; }
.cookie-footer { display: flex; flex-direction: column; gap: 10px; }
.cookie-meta { font-size: 12px; color: var(--text-3); margin: 0 0 8px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { font-size: 13px; padding: 10px 16px; }

/* ============ ANIMATIONS ============ */
@keyframes tkFadeUp  { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tkScaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes tkSlideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes tkPulse   { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(0.85); } }
@keyframes tkMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tkScan    { 0%, 100% { top: 8%; } 50% { top: 88%; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .tk-hero { grid-template-columns: 1fr; gap: 48px; padding: 120px 32px 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pile { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .deploy { grid-template-columns: repeat(2, 1fr); }
  .dstep { border-right: none; border-bottom: 1px solid var(--line); }
  .dstep:nth-child(2n) { border-right: none; }
  .scrolly { grid-template-columns: 1fr; }
  .scrolly-stage { position: relative; top: auto; transform: none; height: 400px; }
  .scrolly-text { gap: 48px; }
  .scrolly-step { min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .tk-footer-row { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .tk-section { padding: 80px 24px; }
  .tk-hero { padding: 100px 24px 48px; }
  .pile { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .deploy { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-form-grid { grid-template-columns: 1fr; }
  .tk-final { padding: 80px 24px; }
  .tk-footer { padding: 32px 24px; }
  .tk-footer-row { grid-template-columns: 1fr; gap: 24px; }
  .tk-footer-meta { flex-direction: column; gap: 8px; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; }
}

/* ============ BOUTON RETOUR EN HAUT ============ */
.app-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: transform .2s, opacity .2s, bottom .2s, background .2s;
  z-index: 90;
  cursor: pointer;
  white-space: nowrap;
}
.app-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.app-to-top:hover {
  background: color-mix(in oklch, var(--accent) 85%, black);
}
