/* ==========================================================================
   AUTOKEY DESIGN SYSTEM — HOME NOVA (PORTAL AUTOKEY)
   Tokens: Manrope · #d9040a · #191d20 · #f5f5f3 · pílulas · sombras suaves
   ========================================================================== */

:root {
  --brand-red: #d9040a;
  --brand-red-hover: #b80309;
  --brand-red-press: #9c0208;
  --brand-red-subtle: rgba(217, 4, 10, 0.08);

  --brand-dark: #191d20;
  --brand-dark-hover: #2b3136;
  --brand-black: #101214;
  --brand-white: #ffffff;

  --surface: #f5f5f3;
  --text: var(--brand-dark);
  --text-muted: #6b6b68;
  --text-on-dark-muted: #a9adb1;

  --border: rgba(25, 29, 32, 0.1);
  --border-strong: rgba(25, 29, 32, 0.22);
  --border-on-dark: rgba(255, 255, 255, 0.12);
  --border-on-dark-strong: rgba(255, 255, 255, 0.28);

  --shadow-nav: 0 1px 2px rgba(25, 29, 32, 0.04), 0 10px 30px -12px rgba(25, 29, 32, 0.16);
  --shadow-float: 0 1px 3px rgba(25, 29, 32, 0.06), 0 20px 40px -18px rgba(25, 29, 32, 0.2);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 12px 24px -12px rgba(25, 29, 32, 0.18);
  --shadow-card-hover: 0 14px 34px -10px rgba(217, 4, 10, 0.28), 0 18px 36px -14px rgba(25, 29, 32, 0.3);
  --shadow-btn-red: 0 4px 14px rgba(217, 4, 10, 0.32);
  --shadow-dock: 0 12px 35px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.28s;

  --page-gutter: 1.25rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* overflow-x: clip (e não hidden) evita que o navegador mobile crie um
   "viewport maior que a tela", que é o que faz elementos fixed se mexerem. */
body.autokey-body {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  color: var(--text);
  overflow-x: clip;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }

/* Background */
.autokey-bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.bg-glow-1 { top: -10vw; right: -5vw; width: 45vw; height: 45vw; background: radial-gradient(circle, rgba(217, 4, 10, 0.12) 0%, transparent 70%); }
.bg-glow-2 { top: 35vh; left: -15vw; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(25, 29, 32, 0.05) 0%, transparent 70%); }
.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(25, 29, 32, 0.025) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(25, 29, 32, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 25%, transparent 95%);
}

/* Tipografia */
.type-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
}
.type-eyebrow:empty { display: none; }
.type-eyebrow .tick { display: inline-block; width: 1.25rem; height: 2px; background-color: var(--brand-red); flex-shrink: 0; border-radius: 2px; }
.text-accent { color: var(--brand-red); }
.text-white { color: #fff; }
.tabular { font-variant-numeric: tabular-nums; }

/* Botão padrão km100-btn-primary */
.km100-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  height: 42px;
  background: var(--brand-red) !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: var(--shadow-btn-red);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-soft);
  white-space: nowrap;
}
.km100-btn-primary:hover { background: var(--brand-red-hover) !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217, 4, 10, 0.4); }
.km100-btn-primary:active { background: var(--brand-red-press) !important; transform: scale(0.98); }
.km100-btn-icon { width: 15px; height: 15px; stroke: #ffffff; flex-shrink: 0; }

/* ==========================================================================
   HEADER EM PÍLULA
   ========================================================================== */
.autokey-nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 1rem 0.5rem;
}
.nav-container { max-width: 1200px; margin: 0 auto; }

.nav-pill-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-nav);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.nav-brand-logo { height: 52px; width: auto; object-fit: contain; }

.nav-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
}

.live-dot { width: 6px; height: 6px; background-color: #10b981; border-radius: 50%; box-shadow: 0 0 6px #10b981; animation: pulse-dot 2s infinite ease-in-out; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

.nav-links-menu { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease-soft);
}
.nav-link:hover { color: var(--brand-dark); background-color: var(--surface); }
.nav-link-suporte { color: var(--brand-red); background: var(--brand-red-subtle); }
.nav-link-suporte:hover { color: #ffffff; background: var(--brand-red); }

/* ==========================================================================
   MODAL ADMIN SECRETO
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeInModal 0.25s var(--ease-soft);
}
.admin-modal-overlay[hidden] { display: none; }
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }

.admin-modal-card {
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  background: var(--brand-dark);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(217, 4, 10, 0.2);
  display: flex;
  flex-direction: column;
  animation: scaleInModal 0.28s var(--ease-soft);
}
@keyframes scaleInModal { from { opacity: 0; transform: scale(0.94) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.admin-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.25rem; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--border-on-dark); }
.admin-modal-title { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff; }
.admin-modal-close { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-on-dark); background: rgba(255, 255, 255, 0.06); color: var(--text-on-dark-muted); font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast); }
.admin-modal-close:hover { background: var(--brand-red); color: #ffffff; border-color: var(--brand-red); }
.admin-modal-links { padding: 1rem 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
.admin-modal-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 0.9rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-on-dark); border-radius: var(--radius-sm); text-decoration: none; color: #ffffff; transition: all var(--dur-fast) var(--ease-soft); }
.admin-modal-item:hover { background: rgba(217, 4, 10, 0.15); border-color: var(--brand-red); transform: translateX(4px); }
.item-icon { font-size: 1.25rem; line-height: 1; }
.item-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.item-text strong { font-size: 0.875rem; font-weight: 700; color: #ffffff; }
.item-text small { font-size: 0.72rem; color: var(--text-on-dark-muted); }
.admin-modal-footer { padding: 0.85rem 1.25rem 1.15rem; border-top: 1px solid var(--border-on-dark); background: rgba(0, 0, 0, 0.2); display: flex; justify-content: center; }
.admin-btn-login { font-size: 0.78rem; font-weight: 600; color: var(--text-on-dark-muted); text-decoration: none; transition: color var(--dur-fast); }
.admin-btn-login:hover { color: var(--brand-red); }

/* ==========================================================================
   ESTRUTURA PRINCIPAL
   ========================================================================== */
.autokey-main {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 4rem;
}
.section-container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* Hero */
.autokey-hero { padding: 2.25rem var(--page-gutter) 0; }
.hero-container { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-header-block { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero-title { font-size: clamp(1.75rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; color: var(--brand-dark); overflow-wrap: anywhere; }
.hero-subtitle { font-size: clamp(0.9rem, 1.5vw, 1.0625rem); line-height: 1.55; color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* Banner de campanha (sem cortes) */
.autokey-section-banner { padding: 0 var(--page-gutter); }
.campaign-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.banner-carousel-track { display: flex; transition: transform var(--dur-base) var(--ease-soft); width: 100%; }
.banner-slide-item { min-width: 100%; flex: 0 0 100%; display: flex; align-items: center; justify-content: center; background: #ffffff; padding: 0.5rem; }
.banner-slide-item img { width: 100%; height: auto; max-height: 240px; object-fit: contain; border-radius: var(--radius-md); }
.banner-indicators { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 5; }
.banner-dot-btn { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(25, 29, 32, 0.25); cursor: pointer; transition: all var(--dur-fast); }
.banner-dot-btn.active { width: 18px; border-radius: 4px; background: var(--brand-red); }

/* ==========================================================================
   FAIXA DE MARCAS REPRESENTADAS (TICKER MARQUEE INFINITO DE PONTA A PONTA)
   ========================================================================== */
.autokey-brands-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  background: linear-gradient(180deg, #15181b 0%, #101214 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.brands-marquee-strip {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: clamp(0.75rem, 1.2vw, 1.15rem) 0;
}

/* Sombras suaves de fade nas pontas com gradiente escuro */
.brands-marquee-strip::before,
.brands-marquee-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 4vw, 70px);
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-strip::before {
  left: 0;
  background: linear-gradient(to right, #101214 20%, transparent);
}
.brands-marquee-strip::after {
  right: 0;
  background: linear-gradient(to left, #101214 20%, transparent);
}

.brands-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: brands-marquee-scroll 30s linear infinite;
}

.brands-marquee-strip:hover .brands-marquee-track {
  animation-play-state: paused;
}

@keyframes brands-marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.brands-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(2.8rem, 4.5vw, 6rem);
  padding-right: clamp(2.8rem, 4.5vw, 6rem);
  flex-shrink: 0;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(28px, 3.2vw, 44px);
  flex-shrink: 0;
}

.brand-logo-img {
  height: clamp(20px, 2.4vw, 32px);
  max-height: clamp(22px, 2.6vw, 34px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.brand-item:hover .brand-logo-img {
  opacity: 1;
  filter: brightness(1.15);
  transform: scale(1.06);
}

/* ==========================================================================
   MÓDULOS — TILES COM ARTE PREENCHENDO O CARD INTEIRO
   ========================================================================== */
.autokey-section-modules { padding: 0 var(--page-gutter); }
.section-heading { margin-bottom: 1.5rem; text-align: left; }
.section-title { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--brand-dark); margin-top: 0.35rem; margin-bottom: 0.25rem; }
.section-desc { font-size: 0.875rem; color: var(--text-muted); }

.bento-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.bento-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 3 / 4.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #ffffff;
  border: 1px solid rgba(25, 29, 32, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft);
  cursor: pointer;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.bento-card:active { transform: translateY(-1px) scale(0.99); }

/* A arte ocupa 100% do card preenchendo de borda a borda sem sobras pretas */
.bento-card-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  pointer-events: none;
  transition: transform 0.6s var(--ease-soft);
}
.bento-card:hover .bento-card-img { transform: scale(1.04); }

/* Sombra suave apenas na base para legibilidade dos botões e títulos */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(16, 18, 20, 0.8) 0%, rgba(16, 18, 20, 0.35) 24%, rgba(16, 18, 20, 0) 46%);
  pointer-events: none;
}

.bento-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.badge-blue { background: rgba(37, 99, 235, 0.92); }
.badge-green { background: rgba(22, 163, 74, 0.92); }
.badge-red { background: rgba(217, 4, 10, 0.92); }
.badge-yellow { background: rgba(202, 138, 4, 0.95); }

.bento-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.1rem;
  min-width: 0;
  pointer-events: none;
}

.meta-stat {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.bento-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.bento-card-text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
}

.bento-card-btn {
  width: 100%;
  height: 38px;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  padding: 0 0.9rem;
  min-width: 0;
  pointer-events: auto;
  cursor: pointer;
}
.bento-card-btn span { overflow: hidden; text-overflow: ellipsis; }

/* Remove transform do botão que causava jitter/recalculo no containing block da seta */
.bento-card .km100-btn-primary,
.bento-card .km100-btn-primary:hover,
.bento-card .km100-btn-primary:active {
  transform: none !important;
}

.bento-card:hover .bento-card-btn {
  background: var(--brand-red-hover) !important;
  box-shadow: 0 6px 18px rgba(217, 4, 10, 0.4);
}
.bento-card:active .bento-card-btn {
  background: var(--brand-red-press) !important;
}

/* O botão cobre o card inteiro de forma estável com cursor clicável constante */
.bento-card-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

/* ==========================================================================
   SUPORTE TÉCNICO
   ========================================================================== */
.autokey-section-suporte { padding: 0 var(--page-gutter); }
.suporte-banner-card {
  position: relative;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #101214 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-float);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
}
.suporte-banner-card::before { content: ''; position: absolute; top: -40%; right: -15%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(217, 4, 10, 0.16) 0%, transparent 70%); pointer-events: none; }
.suporte-banner-content { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.suporte-banner-title { font-size: clamp(1.4rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.03em; color: #ffffff; line-height: 1.15; }
.suporte-banner-desc { font-size: 0.9rem; line-height: 1.55; color: var(--text-on-dark-muted); max-width: 500px; }
.suporte-banner-actions { margin-top: 0.35rem; }
.btn-suporte-whats { height: 44px; padding: 0 1.6rem; font-size: 0.875rem; background: #25d366 !important; border-color: rgba(255, 255, 255, 0.25) !important; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32); }
.btn-suporte-whats:hover { background: #20ba5a !important; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45); }

.suporte-banner-visual { position: relative; z-index: 2; display: flex; justify-content: center; min-width: 0; }
.suporte-partners-frame {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.partners-photo-wrap { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-md); background: radial-gradient(circle, rgba(217, 4, 10, 0.18) 0%, rgba(25, 29, 32, 0.6) 100%); border: 1px solid rgba(255, 255, 255, 0.1); }
.partners-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform var(--dur-base) var(--ease-soft); }
.partners-photo:hover { transform: scale(1.03); }
.partners-photo.fallback-logo { object-fit: contain; filter: invert(1) brightness(2); opacity: 0.85; padding: 25%; }
.partners-badge-floating { margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.65rem; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border-on-dark); border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 700; color: #ffffff; }

/* ==========================================================================
   RODAPÉ — CENTRALIZADO E ESTRUTURADO
   ========================================================================== */
.autokey-footer {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 3rem var(--page-gutter) 2rem;
}
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }

.footer-top {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem 5rem;
}
.footer-brand-col { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.footer-logo { height: 52px; width: auto; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); max-width: 460px; }

.footer-nav-col { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; min-width: 180px; }
.footer-nav-title { position: relative; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-dark); padding-bottom: 0.6rem; }
.footer-nav-title::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 1.5rem; height: 2px; margin-left: -0.75rem; background: var(--brand-red); border-radius: 2px; }
.footer-links { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--brand-red); }

.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-badge-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; color: var(--brand-dark); user-select: none; -webkit-user-select: none; }
.badge-dot-green { width: 6px; height: 6px; background-color: #10b981; border-radius: 50%; box-shadow: 0 0 6px #10b981; }

/* Dock mobile (escondido no desktop) */
.mobile-bottom-dock { display: none; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1100px) {
  .bento-modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .bento-card { aspect-ratio: 3 / 4.6; }
}

@media (max-width: 1024px) {
  .nav-links-menu { display: none; }
  .suporte-banner-card { grid-template-columns: minmax(0, 1fr); padding: 1.75rem; gap: 1.75rem; }
}

@media (max-width: 768px) {
  :root { --page-gutter: 0.75rem; }

  .autokey-main { gap: 1.5rem; padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }

  .autokey-brands-marquee {
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
  }
  .brands-marquee-strip {
    padding: 0.65rem 0;
  }
  .brands-marquee-strip::before,
  .brands-marquee-strip::after {
    width: 20px;
    display: block;
  }
  .brands-marquee-group { gap: 2.2rem; padding-right: 2.2rem; }
  .brand-item { height: 26px; }
  .brand-logo-img { height: 18px; max-height: 20px; max-width: 110px; }

  .autokey-nav-header { padding: 0.5rem 0.75rem 0; }
  .nav-pill-wrapper { height: 64px; padding: 0 1rem; justify-content: center; }
  .nav-brand-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; margin: 0 auto; display: block; }
  .nav-brand-logo[src$="/images/logos/Logo-Autokey-Preto.png"] { width: 116px; object-fit: cover; object-position: center 54%; }
  .nav-brand-badge { display: none; }

  .autokey-hero { padding-top: 1rem; }
  .hero-header-block { gap: 0.5rem; }
  .type-eyebrow { font-size: 0.65rem; letter-spacing: 0.12em; text-align: left; }
  .type-eyebrow .tick { width: 0.9rem; }
  .hero-title { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.03em; }
  .hero-subtitle { font-size: 0.82rem; line-height: 1.45; }

  .section-heading { margin-bottom: 0.85rem; }
  .section-title { font-size: 1.25rem; }
  .section-desc { font-size: 0.78rem; }

  /* Tiles em 2 colunas, sempre dentro da tela */
  .bento-modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .bento-card { aspect-ratio: 3 / 4.6; border-radius: var(--radius-md); }
  .bento-card-badge { top: 8px; left: 8px; font-size: 0.54rem; padding: 0.2rem 0.5rem; letter-spacing: 0.05em; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bento-card-body { padding: 0.65rem; gap: 0.3rem; }
  .meta-stat { font-size: 0.62rem; padding: 0.15rem 0.5rem; }
  .bento-card-title { font-size: 0.88rem; }
  .bento-card-text { display: none; }
  .bento-card-btn { height: 32px; font-size: 0.68rem; padding: 0 0.6rem; gap: 0.3rem; margin-top: 0.2rem; }
  .bento-card-btn .km100-btn-icon { width: 12px; height: 12px; }

  /* Suporte */
  .suporte-banner-card { padding: 1.25rem; border-radius: var(--radius-md); gap: 1.25rem; }
  .suporte-banner-title { font-size: 1.3rem; line-height: 1.2; }
  .suporte-banner-desc { font-size: 0.82rem; line-height: 1.45; }
  .btn-suporte-whats { width: 100%; height: 44px; font-size: 0.85rem; padding: 0 1rem; }
  .suporte-partners-frame { padding: 0.75rem; max-width: 260px; margin: 0 auto; border-radius: var(--radius-md); }

  /* Rodapé */
  .autokey-footer { padding: 2rem var(--page-gutter) calc(6rem + env(safe-area-inset-bottom)); }
  .footer-container { gap: 1.5rem; }
  .footer-top { gap: 1.5rem 2rem; }
  .footer-nav-col { min-width: 140px; }
  .footer-logo { height: 46px; }

  /* ==========================================================================
     FLOATING CARD GLASS DOCK (MENU MOBILE COM BORDAS ARREDONDADAS)
     ========================================================================== */
  .autokey-main,
  .autokey-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 20px)) !important;
  }

  .mobile-bottom-dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    left: 12px;
    right: 12px;
    max-width: 440px;
    margin: 0 auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    height: 58px;
    padding: 0 0.4rem;
    background: rgba(22, 26, 30, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.45), 0 4px 12px -2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10000;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    -webkit-user-select: none;
    user-select: none;
  }

  .mobile-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--dur-fast) var(--ease-soft), transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .mobile-dock-item svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 2.2;
    transition: transform 0.15s ease, stroke 0.15s ease;
  }

  /* Micro-interação de toque elástico */
  .mobile-dock-item:active {
    transform: scale(0.9);
  }

  .mobile-dock-item.active {
    color: #ffffff;
  }

  .mobile-dock-item.active svg {
    stroke: var(--brand-red);
    filter: drop-shadow(0 0 6px rgba(217, 4, 10, 0.6));
  }

  .mobile-dock-item-suporte {
    color: #86efac;
  }

  .mobile-dock-item-suporte svg {
    stroke: #22c55e;
  }

  .mobile-dock-item-suporte.active svg {
    filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.6));
  }

}
@media (max-width: 360px) {
  .bento-card-badge { display: none; }
  .bento-card-title { font-size: 0.82rem; }
}
