/* Theme 1 Tekanayo — partagé portal, vendeur, shop, livreur, admin */
@import url('tk-logo-shell.css');

:root {
  --cn-navy: #0a1628;
  --cn-blue: #1d4ed8;
  --cn-orange: #f97316;
  --cn-orange-dark: #ea580c;
  --cn-surface: #ffffff;
  --cn-muted: #64748b;
  --cn-border: #e2e8f0;
  --cn-radius: 1rem;
  --cn-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --cn-display: "Outfit", "Plus Jakarta Sans", sans-serif;
}

.tk-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--cn-navy);
}
.tk-brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--cn-blue), var(--cn-navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cn-display);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}
.tk-brand-name {
  font-family: var(--cn-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tk-brand-accent { color: var(--cn-orange); }
.tk-nav-fixed .tk-brand-name { font-size: 1.15rem; }
.tk-nav-fixed .tk-brand-icon { width: 2.15rem; height: 2.15rem; font-size: 1rem; }
.tk-brand > img,
.tk-nav-fixed .tk-brand > img {
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  background: #fff;
  padding: 0;
}
.tk-nav-fixed .tk-brand > img { height: 2.15rem; width: 2.15rem; }

.tk-logo-mark {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.tk-logo-mark--sm { height: 2.15rem; width: 2.15rem; padding: 0.125rem; border-radius: 0.75rem; }
.tk-logo-mark--md { height: 2.5rem; width: 2.5rem; padding: 0.125rem; border-radius: 0.75rem; }
.tk-logo-mark--auth { height: 3rem; width: 3rem; padding: 0.25rem; border-radius: 0.75rem; }
.tk-logo-mark--nav,
.tk-logo-mark--shop-nav { height: 3rem; width: 3rem; padding: 0; border-radius: 999px; object-fit: cover; }
.tk-logo-mark--sidebar {
  height: 3rem;
  width: 3rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}
.tk-logo-mark--shop-visual {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.2rem;
  border-radius: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.tk-logo-mark--shop-header {
  display: inline-block;
  height: 2.625rem !important;
  width: auto;
  max-height: 2.625rem !important;
  max-width: 7rem;
  padding: 0.125rem;
  border-radius: 0.5rem;
  vertical-align: middle;
  object-fit: contain !important;
}
.tk-logo-mark--preview {
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 4.5rem;
  margin-inline: auto;
  padding: 0.125rem;
  border-radius: 0.375rem;
}
.tk-media-upload--compact .tk-logo-mark--preview {
  max-height: 3.75rem;
}

img.logo-round,
.tk-logo-mark--sidebar {
  object-fit: cover !important;
  object-position: center;
  background: #fff;
  padding: 0;
  flex-shrink: 0;
}
img.logo-round {
  height: 3rem;
  width: 3rem;
  border-radius: 999px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .tk-nav-brand-link,
  .tk-shop-nav .tk-nav-inner > .flex.items-center > a,
  .app-nav .flex.items-center > a {
    min-width: 0;
    max-width: calc(100vw - 5.5rem);
    gap: 0.5rem !important;
  }

  .tk-logo-mark--shop-nav,
  img.tk-logo-mark--shop-nav,
  .tk-nav-brand-link img,
  .tk-logo-mark--auth {
    height: 2.35rem !important;
    width: 2.35rem !important;
    max-height: 2.35rem !important;
    max-width: 2.35rem !important;
    padding: 0;
    flex-shrink: 0;
    object-fit: cover !important;
  }

  .tk-shop-hero .tk-deco-layer {
    display: none;
  }

  .tk-shop-hero--home {
    padding-top: 0.5rem;
  }

  .tk-nav-brand-link .font-bold,
  .tk-nav-brand-link .truncate,
  .app-nav .flex.items-center > a > span.font-bold {
    font-size: 0.95rem !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 10.5rem;
  }

  .cn-auth-top-brand.tk-brand {
    max-width: 100%;
    min-width: 0;
  }

  .cn-auth-top-brand.tk-brand .tk-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 5rem);
  }

  .tk-logo-mark--shop-header {
    max-width: 5.5rem !important;
    max-height: 2.125rem !important;
    height: 2.125rem !important;
  }

  .cn-auth-top-brand.tk-brand img,
  .tk-logo-mark--auth {
    height: 2.65rem;
    width: 2.65rem;
  }
}

.cn-auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .cn-auth-wrap { grid-template-columns: 1fr 1fr; min-height: calc(100vh - 5rem); }
}
.cn-auth-visual {
  display: none;
  background: linear-gradient(145deg, var(--cn-navy) 0%, #1e3a5f 50%, var(--cn-blue) 100%);
  color: #fff;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .cn-auth-visual { display: flex; flex-direction: column; justify-content: flex-start; }
}
.cn-auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 280px at 20% 10%, rgba(249,115,22,.3), transparent 55%),
              radial-gradient(400px 240px at 90% 80%, rgba(59,130,246,.25), transparent 50%);
  pointer-events: none;
}
.cn-auth-visual-inner { position: relative; z-index: 1; max-width: 28rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cn-auth-with-nav .cn-auth-visual .cn-auth-visual-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.5rem 0 0;
  width: 100%;
}
.cn-auth-with-nav .cn-auth-visual .cn-auth-visual-footer .cn-auth-credit {
  margin: 0;
  padding-top: 0;
  border-top: none;
  text-align: left;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.7rem;
}
.cn-auth-with-nav .cn-auth-visual .cn-auth-visual-footer .cn-auth-credit a {
  color: rgba(226, 232, 240, 0.82);
}
.cn-auth-with-nav .cn-auth-visual .cn-portal-visual-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: #fff;
}
.cn-auth-with-nav .cn-auth-visual .cn-portal-visual-brand img,
.cn-auth-with-nav .cn-auth-visual .cn-portal-visual-brand-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cn-auth-with-nav .cn-auth-visual .cn-portal-visual-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cn-blue), var(--cn-orange));
  font-size: 1.1rem;
  font-weight: 800;
}
.cn-auth-with-nav .cn-auth-visual .cn-portal-visual-brand-name {
  font-family: var(--cn-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.cn-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: #f8fafc;
}
.cn-auth-form-flat.cn-auth-panel {
  align-items: stretch;
  justify-content: flex-start;
}
.cn-auth-card {
  width: 100%;
  max-width: 28rem;
  background: var(--cn-surface);
  border: 1px solid var(--cn-border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.08);
}
.cn-auth-card h1 {
  font-family: var(--cn-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cn-navy);
  margin-bottom: 0.35rem;
}
.cn-auth-card .cn-subtitle { color: var(--cn-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.cn-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}
.cn-input-wrap { position: relative; margin-bottom: 1rem; }
.cn-input-wrap > i.field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.cn-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.75rem;
  border: 1.5px solid var(--cn-border);
  border-radius: var(--cn-radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.cn-input:focus {
  outline: none;
  border-color: var(--cn-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.cn-input.no-icon { padding-left: 1rem; }
.cn-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cn-orange), var(--cn-orange-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cn-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(249, 115, 22, 0.4); }
.cn-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--cn-border);
  background: #fff;
  color: var(--cn-navy);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.cn-btn-outline:hover { border-color: var(--cn-blue); background: #eff6ff; }

.cn-alert {
  border-radius: var(--cn-radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.cn-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.cn-alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.cn-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.cn-pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.cn-pay-option {
  border: 2px solid var(--cn-border);
  border-radius: var(--cn-radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  background: #fff;
  position: relative;
}
.cn-pay-option:hover { border-color: var(--cn-blue); background: #f8fafc; transform: translateY(-2px); }
.cn-pay-option.selected { border-color: var(--cn-orange); background: #fff7ed; box-shadow: 0 8px 24px rgba(249,115,22,.15); }

.theme1-sidebar {
  background: linear-gradient(180deg, var(--cn-navy) 0%, #132238 100%) !important;
}

/* Navbar fixe Tekanayo — reste visible au scroll */
body.tk-has-fixed-nav {
  padding-top: 72px;
  font-family: var(--cn-font);
}
.tk-nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 72px;
  max-height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: visible;
}
.tk-nav-fixed.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--cn-border);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
}
.tk-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
  height: 72px;
  max-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  overflow: visible;
  min-width: 0;
}
.tk-nav-extra {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.tk-nav-auth-actions {
  flex-shrink: 0;
  white-space: nowrap;
}

.tk-nav-brand-link img,
img.tk-logo-mark--shop-nav {
  width: 2.75rem !important;
  height: 2.75rem !important;
  max-width: 2.75rem !important;
  max-height: 2.75rem !important;
  min-width: 0;
  min-height: 0;
  object-fit: cover !important;
  object-position: center;
  display: block;
  flex-shrink: 0;
  padding: 0 !important;
}
.tk-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.tk-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.tk-nav-link:hover { color: var(--cn-blue); }
.tk-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cn-orange), var(--cn-orange-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.tk-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(249, 115, 22, 0.38); }
.tk-nav-cta-ghost {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.tk-nav-cta-ghost:hover { color: var(--cn-blue); }

/* Évite que les liens du milieu poussent / coupent « S'inscrire » */
@media (max-width: 1279.98px) {
  .tk-nav-links { gap: 0.65rem; }
  .tk-nav-link { font-size: 0.8125rem; }
  .tk-nav-cta { padding: 0.5rem 0.95rem; }
  .tk-nav-extra { gap: 0.5rem; }
}
@media (max-width: 1199.98px) {
  .tk-nav-link--secondary {
    display: none;
  }
}
@media (max-width: 1023.98px) {
  .tk-nav-link--compact,
  .tk-nav-link--apk {
    display: none;
  }
  .tk-nav-inner { padding: 0 1rem; }
}

/* Animations scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

@keyframes tkHeroFade {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.tk-hero-animate > * {
  animation: tkHeroFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tk-hero-animate > *:nth-child(1) { animation-delay: 0.05s; }
.tk-hero-animate > *:nth-child(2) { animation-delay: 0.15s; }
.tk-hero-animate > *:nth-child(3) { animation-delay: 0.25s; }
.tk-hero-animate > *:nth-child(4) { animation-delay: 0.35s; }

/* Page inscription vendeur — style /register Tekanayo */
.cn-register-page {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .cn-register-page { grid-template-columns: minmax(280px, 380px) 1fr; }
}
.cn-register-aside {
  background: linear-gradient(165deg, var(--cn-navy) 0%, #1e3a5f 45%, var(--cn-blue) 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cn-register-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 240px at 0% 0%, rgba(249,115,22,.28), transparent 55%);
  pointer-events: none;
}
.cn-register-aside-inner { position: relative; z-index: 1; }
.cn-register-step-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.cn-register-step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.cn-register-step-item.active {
  background: rgba(255,255,255,.14);
  border-color: rgba(249,115,22,.45);
  transform: translateX(4px);
}
.cn-register-step-item.done { border-color: rgba(16,185,129,.4); }
.cn-register-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.cn-register-step-item.active .cn-register-step-num {
  background: var(--cn-orange);
}
.cn-register-main {
  padding: 2rem 1.25rem 3rem;
  background: #f8fafc;
}
@media (min-width: 768px) {
  .cn-register-main { padding: 2.5rem 3rem 3rem; }
}
.cn-register-card {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--cn-border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.06);
}
.cn-register-progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.cn-register-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cn-blue), var(--cn-orange));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.cn-field { margin-bottom: 1rem; }
.cn-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cn-border);
  border-radius: var(--cn-radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}
.cn-select:focus {
  outline: none;
  border-color: var(--cn-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .tk-hero-animate > * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Pages auth sous navbar fixe (72px) */
.cn-auth-with-nav {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .cn-auth-with-nav { grid-template-columns: 1fr 1fr; }
}
body.seller-register-page .hidden-on-seller-register { display: none !important; }
body.seller-register-page .tk-nav-extra { display: none !important; }
body.seller-register-page #mobileMenuBtn { display: none !important; }

body.staff-auth-page .hidden-on-staff-auth { display: none !important; }
body.staff-auth-page #mobileAppNav { display: none !important; }
body.staff-auth-page .tk-ai-chat-toggle,
body.staff-auth-page .tk-ai-chat-panel { display: none !important; }
.cn-auth-with-nav .cn-auth-form-flat,
.cn-auth-with-nav .cn-auth-visual {
  min-height: calc(100vh - 72px);
}

body.cn-auth-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f8fafc;
  font-family: var(--cn-font);
  overflow-x: hidden;
}
.cn-auth-fullpage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .cn-auth-fullpage { grid-template-columns: 1fr 1fr; }
}
.cn-auth-fullpage .cn-auth-form-flat,
.cn-auth-fullpage .cn-auth-visual {
  min-height: 100vh;
}
.cn-auth-visual.has-bg-image {
  background-size: cover;
  background-position: center;
}
.cn-auth-visual.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(10,22,40,.88) 0%, rgba(30,58,95,.82) 50%, rgba(29,78,216,.75) 100%);
  z-index: 0;
}
.cn-auth-visual.has-bg-image {
  background-image: var(--cn-auth-bg-image);
}
.cn-auth-form-flat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 2rem 1.5rem 3rem;
  background: #fff;
  position: relative;
  overflow-y: auto;
  min-height: 100vh;
}
@media (min-width: 768px) {
  .cn-auth-form-flat { padding: 2.5rem 3.5rem 3rem; }
}
.cn-auth-top-brand {
  margin-bottom: 2rem;
  align-self: flex-start;
}
.cn-auth-top-brand.tk-brand img {
  height: 3rem;
  width: 3rem;
  min-width: 3rem;
  object-fit: cover;
  object-position: center;
  background: #fff;
  flex-shrink: 0;
}
.cn-auth-top-brand.tk-brand img.rounded-full {
  border-radius: 999px;
}
.cn-auth-top-brand.tk-brand .tk-brand-icon {
  width: 2.15rem;
  height: 2.15rem;
  font-size: 1rem;
}
.cn-auth-top-brand.tk-brand .tk-brand-name {
  font-size: 1.15rem;
}
.cn-auth-title {
  font-family: var(--cn-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cn-navy);
  margin: 0 0 0.35rem;
}
.cn-auth-lead {
  color: var(--cn-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.cn-auth-form-flat .cn-auth-form { max-width: 26rem; width: 100%; }
.cn-auth-form-flat .cn-btn-primary { width: 100%; font-size: 0.9375rem; padding: 0.85rem 1.25rem; }
.cn-auth-form-flat .cn-btn-outline { width: auto; font-size: 0.875rem; padding: 0.65rem 1.15rem; }
.cn-auth-form-flat .cn-label { font-size: 0.8125rem; margin-bottom: 0.3rem; }
.cn-auth-form-flat .cn-input,
.cn-auth-form-flat .cn-select {
  font-size: 0.9375rem;
  padding: 0.75rem 1rem 0.75rem 2.65rem;
  margin-bottom: 0.15rem;
}
.cn-auth-form-flat .cn-input.no-icon,
.cn-auth-form-flat .cn-select { padding-left: 1rem; }
.cn-auth-form-flat .cn-input-wrap { margin-bottom: 1rem; }
.cn-auth-footer-link {
  text-align: center;
  font-size: 0.875rem;
  color: var(--cn-muted);
  margin-top: 1.5rem;
}
.cn-auth-steps-inline {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.cn-auth-step-pill {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background 0.3s;
}
.cn-auth-step-pill.active,
.cn-auth-step-pill.done { background: linear-gradient(90deg, var(--cn-blue), var(--cn-orange)); }
.cn-auth-step-pill.done { opacity: 0.55; }

/* Images décoratives flottantes (portail & formulaires) */
.tk-deco-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.tk-deco-float {
  position: absolute;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.15);
  opacity: 0.85;
  animation: cnDecoFloat 8s ease-in-out infinite;
}
.tk-deco-slot-1 { width: 140px; height: 140px; top: 12%; right: 8%; animation-delay: 0s; }
.tk-deco-slot-2 { width: 110px; height: 110px; bottom: 18%; left: 6%; animation-delay: 1.5s; border-radius: 999px; }
.tk-deco-slot-3 { width: 120px; height: 120px; top: 55%; right: 18%; animation-delay: 3s; }
.tk-deco-auth .tk-deco-slot-1 { width: 100px; height: 100px; top: 8%; right: 10%; }
.tk-deco-auth .tk-deco-slot-2 { width: 80px; height: 80px; bottom: 22%; left: 8%; }
.tk-deco-auth .tk-deco-slot-3 { width: 90px; height: 90px; top: 48%; right: 6%; }
.tk-deco-portal .tk-deco-float { opacity: 0.35; filter: blur(0.5px); }
.tk-deco-portal .tk-deco-slot-1 { width: 180px; height: 180px; top: 8%; left: 4%; }
.tk-deco-portal .tk-deco-slot-2 { width: 140px; height: 140px; top: 42%; right: 3%; border-radius: 999px; }
.tk-deco-portal .tk-deco-slot-3 { width: 160px; height: 160px; bottom: 10%; left: 12%; animation-delay: 2s; }
.tk-deco-shop .tk-deco-float { opacity: 0.32; filter: blur(0.5px); }
.tk-deco-shop .tk-deco-slot-1 { width: 88px; height: 88px; top: -18%; left: 6%; }
.tk-deco-shop .tk-deco-slot-2 { width: 72px; height: 72px; top: 8%; right: 10%; border-radius: 999px; animation-delay: 1.2s; }
.tk-deco-shop .tk-deco-slot-3 { width: 80px; height: 80px; bottom: -28%; left: 42%; animation-delay: 2.4s; }
.tk-hero-zone {
  position: relative;
  overflow: hidden;
}
.tk-hero-zone > .tk-deco-layer {
  z-index: 1;
}
.tk-hero-zone > .relative,
.tk-hero-zone > [class*="max-w-"] {
  position: relative;
  z-index: 2;
}
@keyframes cnDecoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.tk-hero.has-hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.tk-hero.has-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(29,78,216,.78) 55%, rgba(30,58,95,.88) 100%);
  z-index: 0;
}
.app-hero.has-hero-bg,
.tk-shop-hero.has-hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.app-hero.has-hero-bg::before,
.tk-shop-hero.has-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.88) 0%, rgba(5,150,105,.75) 100%);
  z-index: 0;
}
.tk-shop-hero--banner.has-hero-bg::before {
  background: linear-gradient(90deg, rgba(10,22,40,.35) 0%, rgba(5,150,105,.22) 50%, rgba(10,22,40,.3) 100%);
}
.tk-shop-hero--home.has-hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.app-hero.has-hero-bg > *,
.tk-shop-hero.has-hero-bg > * { position: relative; z-index: 1; }
body.tk-body .app-frame { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .tk-deco-float { animation: none !important; }
}

/* Footer Tekanayo — compact */
.tk-site-footer {
  position: relative;
  background: #fff;
  color: var(--cn-navy);
  padding: 2.25rem 0 1.5rem;
  overflow: hidden;
  border-top: 1px solid var(--cn-border);
  margin-top: 0;
}
.tk-site-footer__gradient-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cn-blue), #3b82f6, #38bdf8);
  opacity: 0.25;
}
.tk-site-footer__glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.tk-site-footer__glow--tr {
  top: -6rem;
  right: -6rem;
  background: rgba(29, 78, 216, 0.05);
}
.tk-site-footer__glow--bl {
  bottom: -6rem;
  left: -6rem;
  background: rgba(37, 99, 235, 0.05);
}
.tk-site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 640px) {
  .tk-site-footer__inner { padding: 0 2rem; }
}
@media (min-width: 1024px) {
  .tk-site-footer__inner { padding: 0 3rem; }
}
.tk-site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .tk-site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tk-site-footer__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
  .tk-site-footer__brand-col { grid-column: span 4; }
  .tk-site-footer__col { grid-column: span 2; }
  .tk-site-footer__cta-col { grid-column: span 4; }
}
.tk-site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}
.tk-site-footer__brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 1rem;
  transition: transform 0.3s;
}
.tk-site-footer__brand:hover .tk-site-footer__brand-logo { transform: scale(1.05); }
.tk-site-footer__brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--cn-blue), var(--cn-navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cn-display);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}
.tk-site-footer__brand-text {
  display: flex;
  flex-direction: column;
}
.tk-site-footer__brand-name {
  font-family: var(--cn-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cn-navy);
}
.tk-site-footer__brand-tag {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--cn-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}
.tk-site-footer__desc {
  color: var(--cn-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: 22rem;
  margin: 0 0 1rem;
}
.tk-site-footer__social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.tk-site-footer__social-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--cn-border);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
}
.tk-site-footer__social-btn:hover {
  background: var(--cn-blue);
  border-color: var(--cn-blue);
  color: #fff;
}
.tk-site-footer__heading {
  position: relative;
  display: inline-block;
  font-family: var(--cn-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cn-navy);
  margin: 0 0 1rem;
}
.tk-site-footer__heading-line {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 4px;
  border-radius: 999px;
}
.tk-site-footer__heading-line--primary { background: var(--cn-blue); }
.tk-site-footer__heading-line--blue { background: #3b82f6; }
.tk-site-footer__heading-line--sky { background: #38bdf8; }
.tk-site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tk-site-footer__links a {
  color: var(--cn-muted);
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s;
}
.tk-site-footer__links a:hover {
  color: var(--cn-blue);
  transform: translateX(4px);
}
.tk-site-footer__cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .tk-site-footer__cta-btns { flex-direction: row; flex-wrap: wrap; }
}
.tk-site-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  min-width: 10rem;
}
.tk-site-footer__cta-btn--dark {
  background: var(--cn-navy);
  border: 1px solid #1e293b;
  color: #fff;
}
.tk-site-footer__cta-btn--dark:hover {
  background: #1e293b;
  transform: translateY(-1px);
}
.tk-site-footer__cta-btn--light {
  background: #fff;
  border: 1px solid var(--cn-border);
  color: var(--cn-navy);
}
.tk-site-footer__cta-btn--light:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
.tk-site-footer__cta-icon { font-size: 1.25rem; }
.tk-site-footer__cta-text { display: flex; flex-direction: column; text-align: left; }
.tk-site-footer__cta-label {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.65;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tk-site-footer__cta-title {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.tk-site-footer__contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--cn-border);
  border-bottom: 1px solid var(--cn-border);
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .tk-site-footer__contact-row { grid-template-columns: repeat(3, 1fr); }
}
.tk-site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tk-site-footer__contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s;
}
.tk-site-footer__contact-icon--primary {
  background: rgba(29, 78, 216, 0.05);
  border: 1px solid rgba(29, 78, 216, 0.1);
  color: var(--cn-blue);
}
.tk-site-footer__contact-icon--blue {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.tk-site-footer__contact-icon--sky {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.1);
  color: #38bdf8;
}
.tk-site-footer__contact-item:hover .tk-site-footer__contact-icon--primary {
  background: var(--cn-blue);
  border-color: var(--cn-blue);
  color: #fff;
}
.tk-site-footer__contact-item:hover .tk-site-footer__contact-icon--blue {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}
.tk-site-footer__contact-item:hover .tk-site-footer__contact-icon--sky {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #fff;
}
.tk-site-footer__contact-label {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin: 0 0 0.125rem;
}
.tk-site-footer__contact-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
}
.tk-site-footer__contact-value a {
  color: inherit;
  text-decoration: none;
}
.tk-site-footer__contact-value a:hover { color: var(--cn-blue); }
.tk-site-footer__bottom {
  padding-top: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .tk-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}
.tk-site-footer__copyright {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
  margin: 0;
}
.tk-site-footer__copyright strong { color: var(--cn-navy); font-weight: 700; }
.tk-site-footer__copyright a {
  color: var(--cn-blue);
  text-decoration: none;
}
.tk-site-footer__copyright a:hover { text-decoration: underline; }
.tk-site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .tk-site-footer__bottom-links { margin-top: 0; justify-content: flex-end; }
}
.tk-site-footer__bottom-links a {
  font-size: 0.625rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.2s;
}
.tk-site-footer__bottom-links a:hover { color: var(--cn-blue); }
