/* === Page-specific styles === */

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6rem 1rem 4rem;
}
.hero-inner { position: relative; z-index: 10; text-align: center; max-width: 64rem; margin: 0 auto; }
.hero-title {
  font-size: clamp(1.55rem, 5vw, 3rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 1.5rem auto 0; max-width: 56rem;
}
.hero-title span.gold {
  background: linear-gradient(to right, hsl(var(--foreground)), hsl(var(--primary)), hsl(var(--foreground)));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin: 1.5rem auto 0; max-width: 48rem;
  font-size: clamp(.875rem, 1.5vw, 1.125rem);
  color: hsl(var(--muted-foreground)); line-height: 1.6;
}
.hero-sub-2 {
  margin: 1rem auto 0; max-width: 42rem;
  font-size: .875rem;
  color: hsl(var(--muted-foreground) / 0.7); line-height: 1.6;
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 20px; height: 32px; border-radius: 9999px;
  border: 2px solid hsl(var(--muted-foreground) / 0.3);
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-indicator::before {
  content: ''; width: 4px; height: 8px; border-radius: 9999px;
  background: hsl(var(--primary));
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* ---------- About / Lamp ---------- */
.lamp {
  position: relative; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
}
.lamp::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center top, hsl(56 18% 51% / 0.25), transparent 50%);
  z-index: -1;
}
.lamp h2 {
  position: relative; z-index: 2;
  text-align: center; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700;
  max-width: 48rem; padding: 0 1rem; line-height: 1.2;
  background: linear-gradient(to bottom, hsl(var(--foreground)), hsl(var(--muted-foreground)));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text {
  display: flex; flex-direction: column; gap: 1.25rem;
  color: hsl(var(--muted-foreground)); line-height: 1.7;
  font-size: .95rem;
}
.about-text blockquote {
  font-style: italic; font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  border-left: 2px solid hsl(var(--primary));
  padding: .5rem 0 .5rem 1rem;
}
/* ---------- Pilares — redesign visual ---------- */
.pillars-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  overflow: hidden;
}
.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: background .3s;
}
.pillar-card:last-child { border-right: none; }
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, hsl(var(--primary) / .7), hsl(var(--primary) / .1));
  opacity: 0;
  transition: opacity .35s;
}
.pillar-card:hover::before { opacity: 1; }
.pillar-card:hover { background: hsl(var(--primary) / .03); }
.pillar-card::after {
  content: attr(data-n);
  position: absolute;
  bottom: -.75rem;
  right: .75rem;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: hsl(var(--primary) / .055);
  pointer-events: none;
  user-select: none;
}
.pillar-num {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: hsl(var(--primary) / .65);
  margin-bottom: 1.25rem;
}
.pillar-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: hsl(var(--primary) / .1);
  border: 1px solid hsl(var(--primary) / .25);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary));
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background .3s, box-shadow .3s;
}
.pillar-card:hover .pillar-icon-wrap {
  background: hsl(var(--primary) / .16);
  box-shadow: 0 0 16px hsl(var(--primary) / .18);
}
.pillar-card h4 { font-size: .95rem; font-weight: 700; line-height: 1.3; margin-bottom: .65rem; }
.pillar-text { font-size: .82rem; color: hsl(var(--muted-foreground)); line-height: 1.65; margin: 0; }

@media (max-width: 1023px) {
  .pillars-new { grid-template-columns: 1fr 1fr; }
  .pillar-card:nth-child(2) { border-right: none; }
  .pillar-card:nth-child(3),
  .pillar-card:nth-child(4) { border-top: 1px solid hsl(var(--border)); }
  .pillar-card:nth-child(4) { border-right: none; }
}
@media (max-width: 599px) {
  .pillars-new { grid-template-columns: 1fr; border-radius: 12px; }
  .pillar-card { border-right: none; border-top: 1px solid hsl(var(--border)); }
  .pillar-card:first-child { border-top: none; }
  .pillar-card::after { font-size: 4rem; }
}

/* ---------- Flow Commerce ---------- */
.fc-list { display: flex; flex-direction: column; gap: 1rem; }
.fc-list li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; }
.fc-bullet {
  width: 28px; height: 28px; border-radius: 9999px;
  background: hsl(56 18% 51% / 0.15); color: hsl(var(--primary));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; flex-shrink: 0;
}
.fc-demo {
  position: relative;
}
.fc-demo::before {
  content: ''; position: absolute; inset: -1rem;
  background: linear-gradient(135deg, hsl(56 18% 51% / 0.2), transparent);
  border-radius: 24px; filter: blur(40px);
}
.fc-demo img {
  position: relative; border-radius: 16px;
  max-height: 500px; width: auto; margin: 0 auto;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.fc-backoffice {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .fc-backoffice { grid-template-columns: repeat(4, 1fr); } }
.fc-tile {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 8px; padding: 1rem; text-align: center;
  transition: border-color .2s, transform .2s;
}
.fc-tile:hover { border-color: hsl(56 18% 51% / 0.3); transform: translateY(-4px); }
.fc-tile svg { margin: 0 auto .5rem; color: hsl(var(--muted-foreground)); transition: color .2s; }
.fc-tile:hover svg { color: hsl(var(--primary)); }
.fc-tile p { font-size: .75rem; font-weight: 500; }

/* ---------- Stats / Cases ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  text-align: center; padding: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
}
.stat-value {
  font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700;
  background: linear-gradient(135deg, hsl(56 18% 51%), hsl(56 18% 70%));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; }

.case-carousel { position: relative; margin-top: 3rem; }
.case-track {
  display: flex; gap: 1rem; overflow-x: auto;
  padding: 0 1rem; scroll-snap-type: x mandatory;
}
@media (min-width: 1024px) { .case-track { padding: 0 2rem; } }
.case-track::-webkit-scrollbar { display: none; }
.case-slide {
  flex-shrink: 0; scroll-snap-align: center;
  width: min(80vw, 700px); height: 400px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid hsl(var(--border));
  opacity: .6; transition: opacity .3s, border-color .3s, box-shadow .3s;
  cursor: pointer;
}
.case-slide.is-active {
  opacity: 1; border-color: hsl(56 18% 51% / 0.5);
  box-shadow: 0 0 30px hsl(56 18% 51% / 0.15);
}
.case-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.case-dots button {
  width: 8px; height: 8px; border-radius: 9999px;
  background: hsl(var(--muted-foreground) / 0.3); transition: all .3s;
}
.case-dots button.is-active { background: hsl(var(--primary)); width: 24px; }

/* ---------- Módulos (Software House) ---------- */
.module-carousel { position: relative; margin-top: 3rem; user-select: none; }
.module-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / .92);
  color: hsl(var(--foreground));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  backdrop-filter: blur(6px);
}
.module-arrow:hover {
  background: hsl(var(--primary) / .12);
  border-color: hsl(var(--primary) / .5);
  color: hsl(var(--primary));
  box-shadow: 0 0 16px hsl(var(--primary) / .2);
}
.module-arrow-prev { left: .75rem; }
.module-arrow-next { right: .75rem; }
@media (min-width: 768px) {
  .module-arrow-prev { left: 1.25rem; }
  .module-arrow-next { right: 1.25rem; }
}
.module-track {
  display: flex; gap: 1.5rem; overflow-x: auto;
  padding: 2.5rem 1rem 3rem; scroll-snap-type: x mandatory;
  scrollbar-width: none; align-items: center;
}
@media (min-width: 1024px) { .module-track { padding: 2.5rem 2rem 3rem; } }
.module-track::-webkit-scrollbar { display: none; }
.module-slide {
  flex-shrink: 0; scroll-snap-align: center;
  width: min(82vw, 880px);
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  transform: scale(0.80);
  transform-origin: center center;
  opacity: 0.38;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4,0,.2,1),
              opacity  0.45s ease,
              border-color 0.3s,
              box-shadow 0.5s ease;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.module-slide.is-prev,
.module-slide.is-next {
  transform: scale(0.89);
  opacity: 0.62;
}
.module-slide.is-active {
  transform: scale(1);
  opacity: 1;
  border-color: hsl(56 18% 51% / 0.5);
  box-shadow: 0 6px 48px hsl(56 18% 51% / 0.18), 0 0 0 1px hsl(56 18% 51% / 0.15);
}
.module-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.module-dots button {
  width: 8px; height: 8px; border-radius: 9999px;
  background: hsl(var(--muted-foreground) / 0.3); transition: all .3s;
}
.module-dots button.is-active { background: hsl(var(--primary)); width: 24px; }

.module-caption { display: flex; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
.module-caption h3 { font-size: 1.05rem; font-weight: 700; }
.module-caption p { font-size: .8rem; color: hsl(var(--muted-foreground)); margin-top: .35rem; max-width: 26rem; line-height: 1.55; }
.module-chips { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; max-width: 18rem; }
.module-chip {
  font-size: .65rem; padding: .3rem .6rem; border-radius: 9999px;
  border: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground));
  background: hsl(var(--surface-elevated)); white-space: nowrap;
}
.module-badge {
  font-size: .65rem; font-weight: 700; padding: .3rem .6rem; border-radius: 9999px;
  border: 1px solid hsl(56 18% 51% / 0.45); color: hsl(var(--primary));
  background: hsl(56 18% 51% / 0.1); white-space: nowrap;
}

/* Browser-window frame */
.mock-window {
  border: 1px solid hsl(var(--border)); border-radius: 12px; overflow: hidden;
  background: hsl(var(--background));
}
.mock-bar {
  display: flex; align-items: center; gap: .35rem;
  padding: .5rem .75rem; border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--surface-elevated));
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--muted-foreground) / 0.35); }
.mock-url {
  margin-left: .75rem; font-size: .62rem; color: hsl(var(--muted-foreground));
  background: hsl(var(--background)); border: 1px solid hsl(var(--border));
  border-radius: 6px; padding: .15rem .6rem;
}
.mock-screen { height: 320px; font-size: .62rem; color: hsl(var(--foreground)); }

/* Skeleton primitives */
.mock-line { display: block; height: 5px; border-radius: 3px; background: hsl(var(--muted-foreground) / 0.45); margin: 4px 0; }
.mock-line.dim { background: hsl(var(--muted-foreground) / 0.2); }
.mock-line.w40 { width: 40%; } .mock-line.w45 { width: 45%; } .mock-line.w50 { width: 50%; }
.mock-line.w55 { width: 55%; } .mock-line.w60 { width: 60%; } .mock-line.w65 { width: 65%; }
.mock-line.w70 { width: 70%; } .mock-line.w75 { width: 75%; } .mock-line.w80 { width: 80%; }
.mock-avatar {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(56 18% 51% / 0.55), hsl(56 18% 35% / 0.55));
}
.mock-avatar.sm { width: 20px; height: 20px; }
.mock-avatar.lg { width: 44px; height: 44px; }
.mock-meta-badge {
  font-size: .56rem; font-weight: 700; color: hsl(var(--primary));
  border: 1px solid hsl(56 18% 51% / 0.4); background: hsl(56 18% 51% / 0.1);
  border-radius: 9999px; padding: .1rem .45rem; white-space: nowrap;
}
.mock-panel {
  border: 1px solid hsl(var(--border)); border-radius: 8px;
  background: hsl(var(--card)); padding: .6rem .7rem; min-width: 0;
}
.mock-panel > small { display: block; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: hsl(var(--muted-foreground)); margin-bottom: .45rem; }
.mock-progress { height: 5px; border-radius: 3px; background: hsl(var(--muted-foreground) / 0.15); overflow: hidden; flex: 1; }
.mock-progress i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, hsl(var(--gold-dark)), hsl(var(--gold-light)));
  transform: scaleX(0); transform-origin: left; transition: transform 1s ease .3s;
}
.module-slide.is-active .mock-progress i { transform: scaleX(1); }

/* --- Conversas --- */
.mock-chat { display: grid; grid-template-columns: 170px 1fr 160px; }
.mock-chat-list { border-right: 1px solid hsl(var(--border)); padding: .5rem; overflow: hidden; }
.mock-chat-item {
  display: flex; gap: .5rem; align-items: center;
  padding: .45rem .5rem; border-radius: 8px; margin-bottom: .25rem;
}
.mock-chat-item > div { flex: 1; min-width: 0; }
.mock-chat-item.is-active { background: hsl(56 18% 51% / 0.12); border: 1px solid hsl(56 18% 51% / 0.3); }
.mock-chat-main { display: flex; flex-direction: column; min-width: 0; }
.mock-chat-head {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem; border-bottom: 1px solid hsl(var(--border));
  font-size: .68rem;
}
.mock-chat-head strong { flex: 1; }
.mock-chat-msgs { flex: 1; padding: .75rem; display: flex; flex-direction: column; gap: .45rem; overflow: hidden; }
.mock-bubble {
  max-width: 75%; padding: .4rem .6rem; border-radius: 10px;
  font-size: .62rem; line-height: 1.4;
}
.mock-bubble.in { align-self: flex-start; background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-bottom-left-radius: 2px; }
.mock-bubble.out { align-self: flex-end; background: hsl(56 18% 51% / 0.18); border: 1px solid hsl(56 18% 51% / 0.35); border-bottom-right-radius: 2px; }
.mock-chat-input {
  display: flex; align-items: center; gap: .5rem;
  border-top: 1px solid hsl(var(--border)); padding: .5rem .75rem;
}
.mock-chat-input .mock-line { flex: none; width: 40%; margin: 0; }
.mock-send { width: 22px; height: 22px; border-radius: 50%; background: hsl(var(--primary)); margin-left: auto; }
.mock-chat-profile {
  border-left: 1px solid hsl(var(--border)); padding: 1rem .75rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center;
}
.mock-chat-profile strong { font-size: .68rem; }
.mock-chat-profile .mock-line { width: 70%; }
.mock-tags { display: flex; flex-wrap: wrap; gap: .25rem; justify-content: center; margin: .25rem 0; }
.mock-tags span {
  font-size: .54rem; padding: .12rem .4rem; border-radius: 9999px;
  background: hsl(56 18% 51% / 0.12); border: 1px solid hsl(56 18% 51% / 0.3); color: hsl(var(--primary));
}

/* --- CRM --- */
.mock-crm { display: flex; flex-direction: column; padding: .65rem; gap: .6rem; }
.mock-tabs { display: flex; gap: .25rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: .45rem; }
.mock-tabs span { font-size: .62rem; padding: .25rem .6rem; border-radius: 6px; color: hsl(var(--muted-foreground)); }
.mock-tabs span.is-on { background: hsl(56 18% 51% / 0.14); color: hsl(var(--primary)); font-weight: 700; }
.mock-kanban { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; min-height: 0; }
.mock-kan-col { border: 1px solid hsl(var(--border)); border-radius: 8px; background: hsl(var(--surface)); padding: .45rem; min-width: 0; }
.mock-kan-col h5 { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: hsl(var(--muted-foreground)); margin-bottom: .4rem; display: flex; justify-content: space-between; }
.mock-kan-col h5 em { font-style: normal; color: hsl(var(--primary)); }
.mock-kan-card {
  border: 1px solid hsl(var(--border)); border-radius: 6px; background: hsl(var(--card));
  padding: .4rem .45rem; margin-bottom: .4rem;
}
.mock-kan-card b { display: block; font-size: .6rem; margin-top: .15rem; }
.mock-kan-card.gold { border-color: hsl(56 18% 51% / 0.5); background: hsl(56 18% 51% / 0.08); }
.mock-kan-card.gold b { color: hsl(var(--primary)); }
.mock-kan-card.win { border-color: hsl(150 50% 40% / 0.5); background: hsl(150 50% 40% / 0.08); }
.mock-kan-card.win b { color: hsl(150 50% 42%); }
.mock-campaign {
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid hsl(var(--border)); border-radius: 8px;
  background: hsl(var(--card)); padding: .5rem .7rem; font-size: .6rem;
  color: hsl(var(--muted-foreground));
}
.mock-campaign b { color: hsl(var(--primary)); white-space: nowrap; }
.mock-campaign span { white-space: nowrap; }

/* --- Dashboard --- */
.mock-dash { display: flex; flex-direction: column; padding: .65rem; gap: .6rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.mock-kpi { border: 1px solid hsl(var(--border)); border-radius: 8px; background: hsl(var(--card)); padding: .5rem .6rem; min-width: 0; }
.mock-kpi small { display: block; font-size: .56rem; color: hsl(var(--muted-foreground)); }
.mock-kpi b { display: block; font-size: .8rem; margin-top: .1rem; }
.mock-kpi em { font-style: normal; font-size: .54rem; color: hsl(150 50% 42%); }
.mock-dash-grid { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; min-height: 0; }
.mock-dash-grid .mock-panel { display: flex; flex-direction: column; }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: .45rem; padding-top: .25rem; min-height: 90px; }
.mock-chart i {
  flex: 1; height: 8%; border-radius: 3px 3px 0 0;
  background: hsl(56 18% 51% / 0.3);
  transition: height .9s cubic-bezier(.2,.7,.3,1) .25s;
}
.mock-chart i.hot { background: linear-gradient(180deg, hsl(var(--gold-light)), hsl(var(--gold-dark))); }
.module-slide.is-active .mock-chart i { height: var(--h); }
.mock-rank { display: flex; flex-direction: column; gap: .45rem; }
.mock-rank > div { display: flex; align-items: center; gap: .5rem; }
.mock-rank span { font-size: .58rem; color: hsl(var(--muted-foreground)); width: 4.2rem; flex-shrink: 0; }
.mock-ring {
  --p: 0;
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(hsl(var(--primary)) calc(var(--p) * 1%), hsl(var(--muted-foreground) / 0.15) 0);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: .6rem auto 0;
}
.mock-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: hsl(var(--card)); }
.mock-ring b { position: relative; font-size: .72rem; }
.mock-ring small { position: relative; font-size: .5rem; color: hsl(var(--muted-foreground)); }

/* --- Financeiro --- */
.mock-fin { display: grid; grid-template-columns: 1.25fr 1fr; gap: .6rem; padding: .65rem; }
.mock-fin-side { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .6rem; color: hsl(var(--muted-foreground));
  padding: .4rem 0; border-bottom: 1px solid hsl(var(--border) / 0.6);
}
.mock-row:last-child { border-bottom: none; }
.mock-row b { font-size: .62rem; white-space: nowrap; }
.mock-row .pos { color: hsl(150 50% 42%); }
.mock-row .neg { color: hsl(0 55% 55%); }
.mock-status { font-size: .54rem; font-weight: 700; padding: .12rem .45rem; border-radius: 9999px; white-space: nowrap; }
.mock-status.ok { color: hsl(150 50% 42%); background: hsl(150 50% 40% / 0.12); border: 1px solid hsl(150 50% 40% / 0.35); }
.mock-status.wait { color: hsl(var(--primary)); background: hsl(56 18% 51% / 0.12); border: 1px solid hsl(56 18% 51% / 0.35); }
.mock-nfe {
  flex: 1; border: 1px dashed hsl(56 18% 51% / 0.5); border-radius: 8px;
  background: hsl(56 18% 51% / 0.06); padding: .6rem .7rem;
  display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; justify-content: center;
}
.mock-nfe b { font-size: .66rem; color: hsl(var(--primary)); }
.mock-nfe > span { font-size: .56rem; color: hsl(var(--muted-foreground)); line-height: 1.4; }

/* --- Módulos: responsivo --- */
@media (max-width: 767px) {
  .module-slide { width: 88vw; padding: .9rem; }
  .mock-screen { height: 300px; }
  .mock-chat { grid-template-columns: 64px 1fr; }
  .mock-chat-item > div { display: none; }
  .mock-chat-item { justify-content: center; }
  .mock-chat-profile { display: none; }
  .mock-kanban { grid-template-columns: repeat(2, 1fr); }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-dash-grid { grid-template-columns: 1fr; }
  .mock-dash .mock-rank + .mock-ring { display: none; }
  .mock-fin { grid-template-columns: 1fr; }
  .module-caption { flex-direction: column; gap: .75rem; }
  .module-chips { justify-content: flex-start; max-width: none; }
}

/* =====================================================================
   LOJA ONLINE mock — e-commerce UI
   ===================================================================== */
.mock-store { display: flex; flex-direction: column; overflow: hidden; height: 340px; }

/* topbar */
.mock-ec-topbar { display: flex; align-items: center; gap: .5rem; padding: .4rem .65rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-ec-logo { flex-shrink: 0; }
.mock-ec-search { flex: 1; display: flex; align-items: center; gap: .3rem; background: hsl(var(--border) / .35); border-radius: 99px; padding: .2rem .5rem; font-size: .58rem; color: hsl(var(--muted-foreground)); }
.mock-ec-cart { position: relative; flex-shrink: 0; font-size: .85rem; line-height: 1; }
.mock-ec-count { position: absolute; top: -4px; right: -5px; background: hsl(var(--primary)); color: #000; font-size: .5rem; font-weight: 700; border-radius: 99px; padding: .05rem .25rem; line-height: 1.4; }

/* category strip */
.mock-ec-cats { display: flex; gap: .35rem; padding: .3rem .65rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; overflow: hidden; }
.mock-ec-cats span { font-size: .58rem; color: hsl(var(--muted-foreground)); padding: .15rem .4rem; border-radius: 99px; white-space: nowrap; cursor: default; }
.mock-ec-cats span.on { background: hsl(var(--primary) / .15); color: hsl(var(--primary)); font-weight: 600; }

/* featured banner */
.mock-ec-banner { display: flex; gap: .5rem; padding: .45rem .65rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; align-items: center; background: hsl(var(--surface-elevated) / .25); }
.mock-ec-banner-img { width: 70px; height: 62px; border-radius: 8px; flex-shrink: 0; background: linear-gradient(135deg, hsl(220 25% 22%), hsl(220 20% 15%)); border: 1px solid hsl(var(--border)); position: relative; overflow: hidden; }
.mock-ec-banner-img::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, hsl(var(--primary)/.06) 0, hsl(var(--primary)/.06) 2px, transparent 2px, transparent 10px); }
.mock-ec-banner-info { flex: 1; display: flex; flex-direction: column; gap: .18rem; }
.mock-ec-badge { display: inline-block; font-size: .56rem; font-weight: 700; background: hsl(0 72% 50%); color: #fff; border-radius: 4px; padding: .1rem .3rem; align-self: flex-start; }
.mock-ec-badge.sm { font-size: .5rem; padding: .08rem .25rem; }
.mock-ec-prices { display: flex; align-items: baseline; gap: .4rem; }
.mock-ec-prices b { font-size: .78rem; color: hsl(var(--primary)); font-weight: 700; }
.mock-ec-prices s { font-size: .6rem; color: hsl(var(--muted-foreground)); text-decoration: line-through; }

/* product grid (3 cols) */
.mock-ec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: .45rem .65rem; flex: 1; overflow: hidden; align-content: start; }
.mock-ec-product { background: hsl(var(--surface-elevated) / .4); border: 1px solid hsl(var(--border)); border-radius: 6px; padding: .35rem; display: flex; flex-direction: column; gap: .18rem; }
.mock-ec-thumb { height: 52px; border-radius: 5px; margin-bottom: .15rem; flex-shrink: 0; }
.mock-ec-thumb.a { background: linear-gradient(135deg, hsl(200 35% 28%), hsl(200 30% 18%)); }
.mock-ec-thumb.b { background: linear-gradient(135deg, hsl(var(--primary) / .35), hsl(var(--primary) / .12)); }
.mock-ec-thumb.c { background: linear-gradient(135deg, hsl(270 25% 28%), hsl(270 20% 18%)); }
.mock-ec-rating { font-size: .52rem; color: hsl(45 80% 55%); letter-spacing: .02em; }
.mock-ec-rating .dim { color: hsl(var(--muted-foreground)); font-style: normal; }
.mock-ec-price-row { display: flex; align-items: center; gap: .25rem; }
.mock-ec-price-row b { font-size: .66rem; color: hsl(var(--primary)); font-weight: 700; }
.mock-btn-mini { display: inline-block; font-size: .58rem; background: hsl(var(--primary) / .15); color: hsl(var(--primary)); border-radius: 4px; padding: .15rem .4rem; font-weight: 600; cursor: pointer; align-self: flex-start; }
.mock-btn-mini.full { align-self: auto; text-align: center; padding: .3rem .4rem; font-size: .6rem; display: block; width: 100%; box-sizing: border-box; }

/* keep .mock-product-img for app slides that still use it */
.mock-product-img { display: block; height: 44px; border-radius: 4px; background: hsl(var(--border) / .6); flex-shrink: 0; }
.mock-product-img.hot { background: linear-gradient(135deg, hsl(var(--primary) / .35), hsl(var(--primary) / .12)); }
.mock-product-img.sm { width: 34px; height: 34px; border-radius: 5px; }

/* =====================================================================
   AGENDA & RESERVAS mock
   ===================================================================== */
.mock-agenda { display: flex; flex-direction: column; overflow: hidden; }
.mock-agenda-head { padding: .4rem .6rem .3rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-agenda-head b { font-size: .7rem; }
.mock-agenda-week { display: flex; gap: .3rem; margin-top: .3rem; }
.mock-agenda-week span { font-size: .58rem; color: hsl(var(--muted-foreground)); background: hsl(var(--border) / .4); border-radius: 4px; padding: .15rem .35rem; }
.mock-agenda-week span.on { background: hsl(var(--primary) / .2); color: hsl(var(--primary)); font-weight: 600; }
.mock-agenda-slots { flex: 1; padding: .4rem .5rem; display: flex; flex-direction: column; gap: .3rem; overflow: hidden; }
.mock-slot { display: flex; align-items: center; gap: .4rem; padding: .3rem .4rem; border-radius: 5px; border: 1px solid hsl(var(--border) / .5); }
.mock-slot > span:first-child { font-size: .6rem; color: hsl(var(--muted-foreground)); width: 30px; flex-shrink: 0; }
.mock-slot > div { flex: 1; display: flex; flex-direction: column; gap: .12rem; }
.mock-slot strong { font-size: .63rem; }
.mock-slot.taken { background: hsl(var(--surface-elevated) / .35); }
.mock-slot.free { opacity: .55; border-style: dashed; }
.mock-agenda-stat { display: flex; justify-content: space-between; align-items: center; padding: .35rem .6rem; border-top: 1px solid hsl(var(--border)); font-size: .6rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }

/* =====================================================================
   GESTÃO DE ESTOQUE mock
   ===================================================================== */
.mock-stock { display: flex; flex-direction: column; overflow: hidden; }
.mock-stock-table { flex: 1; overflow: hidden; padding: 0 .3rem; }
.mock-stock-row { display: grid; grid-template-columns: .55fr 1.2fr .4fr .55fr; gap: .2rem; align-items: center; padding: .28rem .3rem; font-size: .6rem; border-bottom: 1px solid hsl(var(--border) / .35); }
.mock-stock-row.head { font-size: .56rem; color: hsl(var(--muted-foreground)); border-bottom: 1px solid hsl(var(--border)); font-weight: 600; }
.mock-stock-row .dim { color: hsl(var(--muted-foreground)); font-size: .56rem; }
.mock-stock-row.alert { background: hsl(0 65% 50% / .07); }
.mock-stock-row b { font-size: .63rem; }
.stock-low { color: hsl(0 60% 55%); }
.mock-status.neg-s { background: hsl(0 65% 50% / .12); color: hsl(0 60% 50%); border: 1px solid hsl(0 65% 50% / .3); font-size: .52rem; padding: .1rem .35rem; border-radius: 9999px; font-weight: 700; white-space: nowrap; }
.mock-stock-alert { display: flex; justify-content: space-between; align-items: center; padding: .35rem .5rem; background: hsl(0 65% 50% / .07); border-top: 1px solid hsl(0 65% 50% / .18); font-size: .6rem; color: hsl(0 60% 50%); flex-shrink: 0; }

/* =====================================================================
   ÁREA DE MEMBROS mock
   ===================================================================== */
.mock-members { display: grid; grid-template-columns: 148px 1fr; overflow: hidden; }
.mock-mb-sidebar { border-right: 1px solid hsl(var(--border)); display: flex; flex-direction: column; gap: 0; background: hsl(var(--surface-elevated) / .3); }
.mock-mb-profile { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .75rem .5rem .6rem; border-bottom: 1px solid hsl(var(--border)); text-align: center; }
.mock-mb-nav { display: flex; flex-direction: column; padding: .35rem 0; flex: 1; }
.mock-mb-item { font-size: .62rem; padding: .35rem .75rem; color: hsl(var(--muted-foreground)); cursor: default; border-left: 2px solid transparent; }
.mock-mb-item.active { color: hsl(var(--primary)); border-left-color: hsl(var(--primary)); background: hsl(var(--primary) / .07); font-weight: 600; }
.mock-mb-main { display: flex; flex-direction: column; gap: .4rem; padding: .6rem .65rem; overflow: hidden; }
.mock-mb-welcome { display: flex; flex-direction: column; gap: .1rem; }
.mock-mb-welcome b { font-size: .7rem; }
.mock-mb-welcome .dim { font-size: .58rem; }
.mock-mb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.mock-mb-progress { display: flex; flex-direction: column; gap: .4rem; }
.mock-mb-course { display: flex; align-items: flex-start; gap: .4rem; }
.mock-mb-course > div { flex: 1; display: flex; flex-direction: column; gap: .08rem; }
.mock-mb-course .dim { font-size: .55rem; color: hsl(var(--muted-foreground)); }

/* =====================================================================
   PLATAFORMA DE ENSINO (LMS) mock
   ===================================================================== */
.mock-lms { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.mock-lms-player { display: flex; flex-direction: column; border-right: 1px solid hsl(var(--border)); }
.mock-player { position: relative; background: hsl(0 0% 0% / .7); flex-shrink: 0; height: 148px; overflow: hidden; }
.mock-player-thumb { position: absolute; inset: 0; background: linear-gradient(160deg, hsl(220 20% 12%), hsl(220 15% 8%)); }
.mock-player-thumb::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, hsl(0 0% 0% / .08) 0, hsl(0 0% 0% / .08) 1px, transparent 1px, transparent 6px); }
.mock-player-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%); width: 32px; height: 32px; border-radius: 50%; background: hsl(var(--primary) / .9); color: #000; display: flex; align-items: center; justify-content: center; font-size: .7rem; padding-left: 2px; }
.mock-player-controls { position: absolute; bottom: 0; left: 0; right: 0; padding: .3rem .5rem .35rem; background: linear-gradient(to top, hsl(0 0% 0% / .7), transparent); display: flex; flex-direction: column; gap: .25rem; }
.mock-player-bar { height: 3px; border-radius: 9999px; background: hsl(var(--border) / .5); overflow: visible; position: relative; }
.mock-player-bar i { display: block; height: 100%; border-radius: 9999px; background: hsl(var(--primary)); position: relative; }
.mock-player-bar i::after { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--primary)); }
.mock-player-time { font-size: .52rem; color: hsl(0 0% 100% / .6); letter-spacing: .04em; }
.mock-lms-meta { padding: .5rem .6rem; display: flex; flex-direction: column; gap: .2rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-lesson-list { padding: .45rem .5rem; display: flex; flex-direction: column; gap: .1rem; overflow: hidden; }
.mock-lesson { display: flex; align-items: center; gap: .35rem; padding: .28rem .35rem; border-radius: 4px; font-size: .6rem; }
.mock-lesson span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-icon { width: 14px; flex-shrink: 0; text-align: center; font-size: .6rem; }
.ls-dur { font-size: .55rem; color: hsl(var(--muted-foreground)); white-space: nowrap; flex-shrink: 0; }
.mock-lesson.done { color: hsl(var(--muted-foreground)); }
.mock-lesson.done .ls-icon { color: hsl(150 50% 42%); }
.mock-lesson.active { background: hsl(var(--primary) / .12); color: hsl(var(--foreground)); font-weight: 600; }
.mock-lesson.active .ls-icon { color: hsl(var(--primary)); }
.mock-lesson.locked { opacity: .45; }

/* =====================================================================
   BPM — Automação de Processos
   ===================================================================== */
.mock-bpm { display: flex; flex-direction: column; gap: .5rem; padding: .65rem .75rem; height: 340px; overflow: hidden; }
.mock-bpm-header { display: flex; align-items: center; gap: .5rem; padding-bottom: .4rem; border-bottom: 1px solid hsl(var(--border)); }
.mock-bpm-title { font-size: .7rem; font-weight: 600; flex: 1; }
.mock-bpm-flow { display: flex; align-items: center; gap: 0; padding: .5rem 0; }
.mock-bpm-step { display: flex; flex-direction: column; align-items: center; gap: .18rem; font-size: .56rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.mock-bpm-step.done .mock-bpm-icon { background: hsl(150 50% 38%); color: #fff; border-color: hsl(150 50% 38%); }
.mock-bpm-step.active .mock-bpm-icon { background: hsl(var(--primary) / .15); color: hsl(var(--primary)); border-color: hsl(var(--primary) / .6); }
.mock-bpm-step.done, .mock-bpm-step.active { color: hsl(var(--foreground)); font-weight: 600; }
.mock-bpm-icon { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid hsl(var(--border)); display: flex; align-items: center; justify-content: center; font-size: .6rem; background: hsl(var(--card)); }
.mock-bpm-connector { flex: 1; height: 1.5px; background: hsl(var(--border)); margin-bottom: .9rem; }
.mock-bpm-connector.done { background: hsl(150 50% 38%); }
.mock-bpm-tasks { display: flex; flex-direction: column; gap: .35rem; flex: 1; overflow: hidden; }
.mock-bpm-task { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem; border-radius: 8px; background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); }
.mock-bpm-task.done-row { opacity: .6; }
.mock-bpm-task-left { display: flex; align-items: center; gap: .4rem; flex: 1; }
.mock-bpm-actions { display: flex; gap: .3rem; flex-shrink: 0; }
.mock-bpm-btn { font-size: .56rem; padding: .2rem .45rem; border-radius: 5px; border: 1px solid; cursor: pointer; font-weight: 600; }
.mock-bpm-btn.approve { background: hsl(150 50% 38% / .12); color: hsl(150 50% 42%); border-color: hsl(150 50% 38% / .3); }
.mock-bpm-btn.reject { background: hsl(0 65% 50% / .1); color: hsl(0 60% 50%); border-color: hsl(0 65% 50% / .25); }
.mock-bpm-footer { display: flex; justify-content: space-between; font-size: .58rem; color: hsl(var(--muted-foreground)); padding-top: .3rem; border-top: 1px solid hsl(var(--border)); flex-shrink: 0; }

/* =====================================================================
   AI ASSISTANT — Assistente com IA
   ===================================================================== */
.mock-ai { display: flex; flex-direction: column; height: 340px; overflow: hidden; }
.mock-ai-header { display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-ai-avatar { width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--primary) / .15); border: 1px solid hsl(var(--primary) / .35); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: hsl(var(--primary)); flex-shrink: 0; }
.mock-ai-badge { margin-left: auto; font-size: .52rem; background: hsl(150 50% 38% / .15); color: hsl(150 50% 42%); border: 1px solid hsl(150 50% 38% / .3); border-radius: 99px; padding: .1rem .45rem; font-weight: 600; }
.mock-ai-chat { flex: 1; display: flex; flex-direction: column; gap: .45rem; padding: .6rem .65rem; overflow: hidden; }
.mock-ai-bubble { font-size: .64rem; padding: .4rem .6rem; border-radius: 10px; max-width: 88%; line-height: 1.45; }
.mock-ai-bubble.system { background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-bottom-left-radius: 3px; align-self: flex-start; }
.mock-ai-bubble.user { background: hsl(var(--primary) / .15); border: 1px solid hsl(var(--primary) / .3); border-bottom-right-radius: 3px; align-self: flex-end; color: hsl(var(--foreground)); }
.mock-ai-label { display: block; font-size: .55rem; font-weight: 700; color: hsl(var(--muted-foreground)); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .03em; }
.mock-ai-result { display: flex; align-items: center; gap: .35rem; padding: .2rem 0; border-bottom: 1px solid hsl(var(--border) / .5); }
.mock-ai-result:last-child { border-bottom: none; }
.mock-ai-dot { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--primary) / .5); flex-shrink: 0; }
.mock-ai-input { display: flex; align-items: center; gap: .4rem; padding: .45rem .65rem; border-top: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-ai-input-box { flex: 1; font-size: .62rem; color: hsl(var(--muted-foreground)); background: hsl(var(--border) / .3); border-radius: 99px; padding: .28rem .7rem; }
.mock-ai-send { width: 26px; height: 26px; border-radius: 50%; background: hsl(var(--primary)); color: #000; border: none; font-size: .7rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* =====================================================================
   APP CAROUSEL
   ===================================================================== */
.app-carousel { position: relative; margin-top: 2.5rem; user-select: none; }
.app-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / .92);
  color: hsl(var(--foreground));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  backdrop-filter: blur(6px);
}
.app-arrow:hover {
  background: hsl(var(--primary) / .12);
  border-color: hsl(var(--primary) / .5);
  color: hsl(var(--primary));
  box-shadow: 0 0 16px hsl(var(--primary) / .2);
}
.app-arrow-prev { left: .75rem; }
.app-arrow-next { right: .75rem; }
@media (min-width: 768px) {
  .app-arrow-prev { left: 1.25rem; }
  .app-arrow-next { right: 1.25rem; }
}
.app-track {
  display: flex; gap: 2rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2.5rem 2rem 3rem; align-items: center;
  justify-content: safe center;
}
.app-track::-webkit-scrollbar { display: none; }
.app-slide {
  scroll-snap-align: center; flex-shrink: 0;
  width: 240px; display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  transform: scale(0.80); transform-origin: center center;
  opacity: 0.38; cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4,0,.2,1), opacity 0.45s ease;
}
.app-slide.is-active {
  transform: scale(1); opacity: 1;
}
.app-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.app-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: hsl(var(--border)); cursor: pointer; transition: all .25s; padding: 0; }
.app-dots button.is-active { background: hsl(var(--primary)); width: 24px; border-radius: 4px; }
.app-caption { text-align: center; }
.app-caption h3 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.app-caption p { font-size: .8rem; color: hsl(var(--muted-foreground)); line-height: 1.55; margin-bottom: .65rem; }

/* =====================================================================
   MARKETPLACE MOCK
   ===================================================================== */
.mock-app-market { display: flex; flex-direction: column; gap: .3rem; padding: .5rem .55rem .3rem; }
.mock-mkt-search { display: flex; align-items: center; gap: .35rem; background: hsl(var(--border)/.35); border-radius: 99px; padding: .28rem .6rem; font-size: .6rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.mock-mkt-cats { display: flex; gap: .3rem; overflow: hidden; flex-shrink: 0; }
.mock-mkt-cats span { font-size: .55rem; padding: .18rem .45rem; border-radius: 99px; background: hsl(var(--border)/.4); color: hsl(var(--muted-foreground)); white-space: nowrap; }
.mock-mkt-cats span.on { background: hsl(var(--primary)/.15); color: hsl(var(--primary)); border: 1px solid hsl(var(--primary)/.3); }
.mock-mkt-card { display: flex; align-items: center; gap: .45rem; padding: .35rem .4rem; background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-radius: 8px; }
.mock-mkt-img { width: 44px; height: 44px; border-radius: 6px; flex-shrink: 0; }
.mock-mkt-img.a { background: linear-gradient(135deg, hsl(200 35% 28%), hsl(200 28% 18%)); }
.mock-mkt-img.b { background: linear-gradient(135deg, hsl(var(--primary)/.4), hsl(var(--primary)/.15)); }
.mock-mkt-img.c { background: linear-gradient(135deg, hsl(270 28% 28%), hsl(270 22% 18%)); }
.mock-mkt-info { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.mock-mkt-row { display: flex; align-items: center; gap: .3rem; }
.mock-mkt-stars { font-size: .55rem; color: hsl(45 80% 55%); letter-spacing: -.02em; }
.mock-mkt-cta { font-size: .55rem; padding: .22rem .5rem; border-radius: 6px; background: hsl(var(--primary)/.12); color: hsl(var(--primary)); border: 1px solid hsl(var(--primary)/.3); font-weight: 600; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.mock-mkt-nav { display: flex; justify-content: space-around; padding: .4rem .3rem .2rem; border-top: 1px solid hsl(var(--border)); font-size: .85rem; flex-shrink: 0; margin-top: auto; }
.mock-mkt-nav span.on { filter: none; opacity: 1; }
.mock-mkt-nav span { opacity: .45; }

/* =====================================================================
   AI MOBILE MOCK
   ===================================================================== */
.mock-app-ai-mob { display: flex; flex-direction: column; height: 100%; }
.mock-ai-mob-header { display: flex; align-items: center; gap: .45rem; padding: .45rem .6rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-ai-mob-avatar { width: 26px; height: 26px; border-radius: 50%; background: hsl(var(--primary)/.15); border: 1px solid hsl(var(--primary)/.35); display: flex; align-items: center; justify-content: center; font-size: .72rem; color: hsl(var(--primary)); flex-shrink: 0; }
.mock-ai-mob-chat { flex: 1; display: flex; flex-direction: column; gap: .35rem; padding: .5rem .6rem; overflow: hidden; }
.mock-ai-mob-msg { font-size: .6rem; padding: .35rem .5rem; border-radius: 10px; max-width: 90%; line-height: 1.45; }
.mock-ai-mob-msg.sys { background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-bottom-left-radius: 3px; align-self: flex-start; }
.mock-ai-mob-msg.usr { background: hsl(var(--primary)/.14); border: 1px solid hsl(var(--primary)/.3); border-bottom-right-radius: 3px; align-self: flex-end; }
.mock-ai-mob-input { display: flex; align-items: center; justify-content: space-between; padding: .38rem .55rem; border-top: 1px solid hsl(var(--border)); flex-shrink: 0; gap: .4rem; }
.mock-ai-mob-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); font-size: .65rem; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-ai-mob-btn.send { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #000; font-weight: 700; }

/* =====================================================================
   CLÍNICAS & SAÚDE MOCK
   ===================================================================== */
.mock-app-health { display: flex; flex-direction: column; gap: .35rem; padding: .5rem .6rem .4rem; }
.mock-health-card { display: flex; align-items: center; gap: .5rem; padding: .4rem .45rem; background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-radius: 10px; flex-shrink: 0; }
.mock-health-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .3rem; flex-shrink: 0; }
.mock-health-kpi { background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-radius: 8px; padding: .3rem .35rem; text-align: center; }
.mock-health-kpi small { display: block; font-size: .5rem; color: hsl(var(--muted-foreground)); }
.mock-health-kpi b { font-size: .65rem; }
.mock-health-kpi.ok b { color: hsl(150 50% 42%); }
.mock-health-appt { display: flex; align-items: center; gap: .4rem; padding: .28rem .35rem; background: hsl(var(--surface-elevated)); border: 1px solid hsl(var(--border)); border-radius: 7px; }
.mock-health-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--primary)); flex-shrink: 0; }
.mock-health-dot.warn { background: hsl(40 80% 50%); }

/* =====================================================================
   IMOBILIÁRIO MOCK
   ===================================================================== */
.mock-app-realty { display: flex; flex-direction: column; gap: .35rem; padding: .5rem .55rem .3rem; }
.mock-realty-search { display: flex; align-items: center; gap: .35rem; background: hsl(var(--border)/.35); border-radius: 99px; padding: .28rem .6rem; font-size: .6rem; color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.mock-realty-card { border: 1px solid hsl(var(--border)); border-radius: 10px; overflow: hidden; background: hsl(var(--surface-elevated)); flex-shrink: 0; }
.mock-realty-img { height: 58px; position: relative; }
.mock-realty-img.a { background: linear-gradient(135deg, hsl(210 30% 25%), hsl(210 25% 15%)); }
.mock-realty-img.b { background: linear-gradient(135deg, hsl(var(--primary)/.35), hsl(var(--primary)/.12)); }
.mock-realty-badge { position: absolute; top: 5px; left: 6px; font-size: .52rem; font-weight: 700; background: hsl(150 50% 38%); color: #fff; border-radius: 4px; padding: .05rem .3rem; }
.mock-realty-badge.deal { background: hsl(0 65% 50%); }
.mock-realty-info { padding: .3rem .45rem .35rem; }
.mock-realty-tags { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .2rem; }
.mock-realty-tags span { font-size: .5rem; color: hsl(var(--muted-foreground)); }

/* =====================================================================
   PHONE FRAME
   ===================================================================== */
.mock-phone { width: 220px; height: 430px; border-radius: 32px; border: 2px solid hsl(var(--border)); background: hsl(var(--card)); overflow: hidden; box-shadow: 0 14px 40px hsl(0 0% 0% / .22); flex-shrink: 0; }
.mock-phone-notch { height: 26px; background: hsl(var(--background) / .95); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-phone-notch::after { content: ''; width: 56px; height: 10px; border-radius: 8px; background: hsl(var(--border) / .7); }
.mock-phone-screen { padding: .5rem .6rem .6rem; overflow: hidden; height: calc(100% - 26px); display: flex; flex-direction: column; gap: .35rem; font-size: .65rem; color: hsl(var(--foreground)); box-sizing: border-box; }

/* =====================================================================
   APP — shared helpers
   ===================================================================== */
.mock-app-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .3rem; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-app-head b { font-size: .7rem; }
.mock-section-label { font-size: .56rem; color: hsl(var(--muted-foreground)); opacity: .8; display: block; margin: .1rem 0; flex-shrink: 0; }

/* =====================================================================
   APP — Delivery
   ===================================================================== */
.mock-app-banner { background: linear-gradient(120deg, hsl(var(--primary) / .2), hsl(var(--primary) / .05)); border-radius: 6px; padding: .45rem .55rem; display: flex; flex-direction: column; gap: .2rem; flex-shrink: 0; }
.mock-app-cats { display: flex; gap: .35rem; overflow: hidden; flex-shrink: 0; }
.mock-app-cat { display: flex; flex-direction: column; align-items: center; gap: .08rem; padding: .3rem .35rem; border-radius: 6px; font-size: .52rem; color: hsl(var(--muted-foreground)); background: hsl(var(--border) / .3); flex-shrink: 0; }
.mock-app-cat.active { background: hsl(var(--primary) / .15); color: hsl(var(--primary)); }
.mock-cat-icon { font-style: normal; font-size: .85rem; line-height: 1; }
.mock-app-item { display: flex; align-items: center; gap: .4rem; padding: .28rem; background: hsl(var(--surface-elevated) / .25); border-radius: 5px; border: 1px solid hsl(var(--border) / .5); flex-shrink: 0; }
.mock-app-item b { font-size: .6rem; color: hsl(var(--primary)); }
.mock-app-item > div { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.mock-app-status { background: hsl(var(--primary) / .12); color: hsl(var(--primary)); border-radius: 5px; padding: .3rem .5rem; font-size: .6rem; font-weight: 600; text-align: center; margin-top: auto; flex-shrink: 0; }

/* =====================================================================
   APP — Agendamento
   ===================================================================== */
.mock-app-next { background: hsl(var(--surface-elevated) / .35); border-radius: 6px; padding: .4rem .5rem; flex-shrink: 0; }
.mock-app-next small { font-size: .54rem; color: hsl(var(--muted-foreground)); display: block; margin-bottom: .2rem; }
.mock-app-card { display: flex; flex-direction: column; gap: .15rem; }
.mock-app-card b { font-size: .65rem; }
.mock-app-card span { font-size: .57rem; color: hsl(var(--muted-foreground)); }
.mock-mini-cal { background: hsl(var(--border) / .18); border-radius: 5px; padding: .3rem .4rem; display: flex; flex-direction: column; gap: .2rem; flex-shrink: 0; }
.mock-cal-row { display: flex; gap: .2rem; justify-content: space-around; font-size: .58rem; }
.mock-cal-row .sel { background: hsl(var(--primary)); color: #000; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .52rem; }
.mock-cal-row .dim { color: hsl(var(--muted-foreground)); }
.mock-time-slots { display: flex; gap: .3rem; flex-wrap: wrap; flex-shrink: 0; }
.mock-time-slots span { font-size: .57rem; padding: .2rem .38rem; border-radius: 4px; background: hsl(var(--border) / .4); color: hsl(var(--muted-foreground)); }
.mock-time-slots .ts-on { background: hsl(var(--primary) / .18); color: hsl(var(--primary)); font-weight: 600; }
.mock-app-cta { margin-top: auto; flex-shrink: 0; }

/* =====================================================================
   APP — Fidelidade
   ===================================================================== */
.mock-loyalty-card { background: linear-gradient(130deg, hsl(var(--primary) / .18), hsl(var(--primary) / .04)); border-radius: 8px; padding: .5rem .6rem; border: 1px solid hsl(var(--primary) / .22); display: flex; flex-direction: column; gap: .2rem; flex-shrink: 0; }
.mock-loyalty-card small { font-size: .57rem; color: hsl(var(--muted-foreground)); }
.mock-loyalty-card .dim { font-size: .55rem; color: hsl(var(--muted-foreground)); }
.mock-pts { font-size: 1.1rem; color: hsl(var(--primary)); font-weight: 700; line-height: 1.1; }
.mock-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: .38rem; flex-shrink: 0; }
.mock-reward { background: hsl(var(--surface-elevated) / .3); border: 1px solid hsl(var(--border)); border-radius: 6px; padding: .38rem; display: flex; flex-direction: column; align-items: center; gap: .12rem; text-align: center; }
.mock-reward b { font-size: .57rem; color: hsl(var(--primary)); }
.mock-reward > span { font-size: .57rem; color: hsl(var(--muted-foreground)); }
.mock-reward-icon { font-style: normal; font-size: .95rem; line-height: 1; }
.mock-reward.locked { opacity: .42; }
.mock-loyalty-hist { margin-top: auto; display: flex; flex-direction: column; gap: .12rem; }

/* =====================================================================
   APP — Representante de Vendas
   ===================================================================== */
.mock-sales-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .28rem; flex-shrink: 0; }
.mock-kpi.sm { padding: .3rem .35rem; }
.mock-kpi.sm small { font-size: .53rem; }
.mock-kpi.sm b { font-size: .72rem; }
.kpi-pos { color: hsl(150 50% 42%); }
.mock-client-list { display: flex; flex-direction: column; gap: .28rem; flex: 1; }
.mock-client-row { display: flex; align-items: center; gap: .38rem; padding: .28rem .38rem; border-radius: 5px; background: hsl(var(--surface-elevated) / .2); border: 1px solid hsl(var(--border) / .5); }
.mock-client-row > div { flex: 1; display: flex; flex-direction: column; gap: .12rem; }
.mock-client-row.done { opacity: .6; }

/* =====================================================================
   APP — Rastreamento de Entrega
   ===================================================================== */
.mock-map-placeholder { height: 115px; border-radius: 8px; background: hsl(var(--border) / .3); position: relative; overflow: hidden; flex-shrink: 0; }
.mock-map-grid { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, hsl(var(--border) / .22) 0, hsl(var(--border) / .22) 1px, transparent 1px, transparent 18px), repeating-linear-gradient(90deg, hsl(var(--border) / .22) 0, hsl(var(--border) / .22) 1px, transparent 1px, transparent 18px); }
.mock-map-pin { position: absolute; top: 48%; left: 55%; transform: translate(-50%, -50%); font-size: 1.35rem; filter: drop-shadow(0 2px 4px hsl(0 0% 0% / .4)); }
.mock-map-eta { position: absolute; top: .4rem; left: .4rem; background: hsl(var(--primary)); color: #000; font-size: .57rem; font-weight: 700; padding: .2rem .4rem; border-radius: 4px; }
.mock-track-steps { display: flex; flex-direction: column; gap: .3rem; flex: 1; justify-content: center; }
.mock-step { display: flex; align-items: center; gap: .5rem; font-size: .62rem; color: hsl(var(--muted-foreground)); }
.mock-step::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--border)); flex-shrink: 0; }
.mock-step.done { color: hsl(var(--primary)); }
.mock-step.done::before { background: hsl(var(--primary)); }
.mock-step.active { color: hsl(var(--foreground)); font-weight: 600; }
.mock-step.active::before { background: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .2); }

/* =====================================================================
   APP — Banco Digital
   ===================================================================== */
.mock-app-bank { gap: .4rem; }
.mock-bank-header { background: linear-gradient(135deg, hsl(var(--primary) / .18), hsl(var(--primary) / .06)); border-radius: 8px; padding: .5rem .6rem; display: flex; justify-content: space-between; align-items: flex-start; flex-shrink: 0; border: 1px solid hsl(var(--primary) / .2); }
.mock-bank-header small { font-size: .55rem; color: hsl(var(--muted-foreground)); display: block; margin-bottom: .15rem; }
.mock-bank-balance { font-size: 1rem; font-weight: 700; color: hsl(var(--foreground)); line-height: 1; }
.mock-bank-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; flex-shrink: 0; }
.mock-bank-action { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem .2rem; background: hsl(var(--surface-elevated) / .3); border: 1px solid hsl(var(--border)); border-radius: 6px; cursor: default; }
.mock-bank-action span { font-size: .54rem; color: hsl(var(--muted-foreground)); }
.mock-bank-icon { font-style: normal; font-size: .85rem; color: hsl(var(--primary)); line-height: 1; }
.mock-bank-list { display: flex; flex-direction: column; gap: .25rem; flex-shrink: 0; }
.mock-bank-row { display: flex; align-items: center; gap: .38rem; font-size: .6rem; }
.mock-bank-row > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: .1rem; }
.mock-bank-row .dim { font-size: .54rem; color: hsl(var(--muted-foreground)); }
.mock-bank-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-bank-dot.in { background: hsl(150 50% 42% / .8); }
.mock-bank-dot.out { background: hsl(0 60% 55% / .7); }
.mock-bank-row .pos { color: hsl(150 50% 42%); font-size: .62rem; white-space: nowrap; }
.neg-b { color: hsl(0 60% 55%); font-size: .62rem; white-space: nowrap; }
.mock-bank-card { background: hsl(var(--surface-elevated) / .25); border: 1px solid hsl(var(--border)); border-radius: 6px; padding: .4rem .5rem; display: flex; justify-content: space-between; align-items: center; margin-top: auto; flex-shrink: 0; }
.mock-bank-card small { font-size: .54rem; color: hsl(var(--muted-foreground)); display: block; margin-bottom: .15rem; }

/* ---------- App Conversas WhatsApp ---------- */
.mock-app-wachat { display: flex; flex-direction: column; gap: 0; padding: 0; }
.mock-wachat-header { display: flex; align-items: center; gap: .35rem; padding: .4rem .55rem; background: hsl(var(--surface-elevated)/.6); border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-wachat-list { display: flex; flex-direction: column; border-bottom: 1px solid hsl(var(--border)); flex-shrink: 0; }
.mock-wachat-item { display: flex; align-items: center; gap: .35rem; padding: .3rem .5rem; border-bottom: 1px solid hsl(var(--border)/.4); }
.mock-wachat-item.active { background: hsl(var(--primary)/.06); }
.mock-wachat-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.mock-wachat-row { display: flex; justify-content: space-between; align-items: center; }
.mock-wachat-badge { background: hsl(150 50% 40%); color: #fff; border-radius: 9999px; font-size: .5rem; min-width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; padding: 0 .25rem; font-weight: 700; flex-shrink: 0; }
.mock-wachat-msgs { display: flex; flex-direction: column; gap: .3rem; padding: .4rem .5rem; flex: 1; }
.mock-wachat-input { display: flex; align-items: center; gap: .35rem; padding: .3rem .5rem; background: hsl(var(--surface-elevated)/.4); border-top: 1px solid hsl(var(--border)); flex-shrink: 0; }

/* ---------- Web carousel CTA slide ---------- */
.module-slide-cta { cursor: default; }
.mock-browser-cta .mock-browser-body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; min-height: 320px; padding: 2rem 1.5rem; background: linear-gradient(145deg, hsl(var(--card)), hsl(var(--surface-elevated))); }

/* ---------- App slide CTA ---------- */
.app-slide-cta { }
.app-slide-cta .mock-phone { width: 220px !important; height: 430px !important; }
.mock-app-cta-screen {
  background: linear-gradient(145deg, hsl(var(--card)), hsl(var(--surface-elevated)));
  align-items: center; justify-content: center; text-align: center;
  gap: .9rem; padding: 1.5rem .85rem;
}
.mock-cta-icon { font-size: 2.2rem; line-height: 1; }
.mock-cta-title { font-size: .8rem; font-weight: 700; color: hsl(var(--foreground)); line-height: 1.25; }
.mock-cta-desc { font-size: .6rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }
.mock-cta-btn { display: inline-block; background: #25D366; color: #fff; font-size: .62rem; font-weight: 700; padding: .45rem .9rem; border-radius: 9999px; text-decoration: none; margin-top: .25rem; }
.mock-cta-btn:hover { background: #1ebe5d; }

/* =====================================================================
   App & new mocks — responsive
   ===================================================================== */
@media (max-width: 767px) {
  .app-track { padding: .75rem 1.25rem 1.25rem; gap: 1.5rem; justify-content: safe center; }
  .mock-agenda-week span { font-size: .54rem; padding: .12rem .28rem; }
  .mock-stock-row { grid-template-columns: .5fr 1.1fr .38fr .5fr; font-size: .56rem; }
}

/* ---------- Pablo ---------- */
.pablo-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .pablo-grid { grid-template-columns: 1fr 1fr; } }
.pablo-img-wrap { position: relative; }
.pablo-img-wrap::before {
  content: ''; position: absolute; inset: -4px;
  background: linear-gradient(to top right, hsl(56 18% 51% / 0.3), transparent);
  border-radius: 18px; filter: blur(20px); opacity: .5;
  transition: opacity .5s;
}
.pablo-img-wrap:hover::before { opacity: .8; }
.pablo-img {
  position: relative; border-radius: 16px;
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border: 1px solid hsl(var(--border));
  transition: transform .3s;
}
.pablo-img-wrap:hover .pablo-img { transform: scale(1.02); }
.pablo-quote {
  border-left: 2px solid hsl(var(--primary));
  padding: 1rem 0 1rem 1.25rem;
  background: hsl(var(--surface-elevated));
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
}
.pablo-quote p { font-style: italic; font-weight: 600; font-size: 1rem; }
.pablo-quote cite {
  display: block; margin-top: .5rem; font-style: normal;
  color: hsl(var(--primary)); font-size: .75rem; font-weight: 500;
}
.social-icons { display: flex; gap: .75rem; margin-top: .75rem; }
.social-icons a { color: hsl(var(--muted-foreground)); transition: color .2s; }
.social-icons a:hover { color: hsl(var(--primary)); }

/* ---------- Timeline ---------- */
.tl-scroll {
  overflow-x: auto; overflow-y: hidden; padding-bottom: 1.5rem;
}
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-track {
  display: flex; gap: 1.5rem; align-items: stretch;
  padding: 0 max(1rem, calc((100vw - 72rem) / 2 + 1rem));
}
.tl-card {
  flex-shrink: 0; width: 280px;
  display: flex; flex-direction: column;
}
@media (min-width: 768px) { .tl-card { width: 320px; } }
.tl-connector { display: flex; align-items: center; gap: 0; margin-bottom: 1.5rem; }
.tl-dot {
  width: 12px; height: 12px; border-radius: 9999px;
  border: 2px solid hsl(var(--muted-foreground) / 0.4);
  background: transparent; flex-shrink: 0;
  transition: all .3s;
}
.tl-card.highlight .tl-dot {
  border-color: hsl(var(--primary)); background: hsl(var(--primary));
  animation: pulse-dot 2s ease-in-out infinite;
}
.tl-line { height: 1px; flex: 1; background: hsl(var(--border)); }
.tl-year {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); margin-bottom: .5rem;
}
.tl-card.highlight .tl-year { color: hsl(var(--primary)); }
.tl-body {
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--surface-elevated) / 0.5);
  border-radius: 12px; padding: 1.25rem; flex: 1;
}
.tl-card.highlight .tl-body {
  border-color: hsl(56 18% 51% / 0.3);
  background: hsl(56 18% 51% / 0.05);
}
.tl-body h3 { font-size: .875rem; font-weight: 700; margin-bottom: .5rem; }
.tl-card.highlight .tl-body h3 { color: hsl(var(--primary)); }
.tl-body p { font-size: .75rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }

/* ---------- Team ---------- */
.team-track {
  display: flex; gap: 1.5rem; overflow-x: auto;
  padding-left: max(1rem, calc((100vw - 72rem) / 2 + 2rem));
  padding-bottom: 1rem;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card {
  flex-shrink: 0; width: 220px;
  transition: transform .3s;
}
@media (min-width: 768px) { .team-card { width: 260px; } }
.team-card:hover { transform: scale(1.03); }
.team-img-wrap {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  border-radius: 12px; background: hsl(var(--surface-elevated));
  border: 1px solid hsl(var(--border)); margin-bottom: 1rem;
}
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-card h3 { font-size: .95rem; font-weight: 600; }
.team-card p { font-size: .875rem; color: hsl(var(--primary)); }

/* ---------- Press ---------- */
.press-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .press-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .press-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .press-grid { grid-template-columns: repeat(5, 1fr); } }
.press-item {
  display: flex; align-items: center; justify-content: center;
  height: 80px; padding: 0 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  transition: all .3s;
}
.press-item:hover {
  border-color: hsl(56 18% 51% / 0.4);
  box-shadow: 0 0 20px hsl(56 18% 51% / 0.12);
  transform: scale(1.05);
}
.press-item img {
  max-height: 32px; width: auto; object-fit: contain;
  filter: brightness(0) invert(0) opacity(.6);
  transition: filter .3s, opacity .3s;
}
:root.dark .press-item img { filter: brightness(0) invert(1) opacity(.6); }
.press-item:hover img { filter: none; opacity: 1; }
.press-item.skip-brightness img { filter: grayscale(1) opacity(.6); }
.press-item.skip-brightness:hover img { filter: none; opacity: 1; }
.press-text {
  font-size: .875rem; font-weight: 700; color: hsl(var(--foreground) / 0.6);
  white-space: nowrap; transition: color .3s;
}
.press-item:hover .press-text { color: hsl(var(--foreground)); }

/* ---------- Latest Posts ---------- */
.posts-track {
  display: flex; gap: 1.5rem; overflow-x: auto;
  padding: 0 1rem;
}
@media (min-width: 1024px) { .posts-track { padding: 0 2rem; } }
.posts-track::-webkit-scrollbar { display: none; }
.post-card {
  flex-shrink: 0; width: 320px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; overflow: hidden;
  transition: border-color .3s;
}
.post-card:hover { border-color: hsl(56 18% 51% / 0.4); }
.post-card .cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--surface-elevated)));
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary)); font-weight: 700; padding: 1rem; text-align: center;
  font-size: .875rem;
}
.post-card .body { padding: 1rem; }
.post-meta { display: flex; gap: .75rem; font-size: .75rem; color: hsl(var(--muted-foreground)); margin-bottom: .5rem; }
.post-card h3 {
  font-size: .875rem; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; transition: color .2s;
}
.post-card:hover h3 { color: hsl(var(--primary)); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 16px; padding: 2rem; }
.contact-form h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; }
.success-banner {
  background: hsl(56 18% 51% / 0.1);
  border: 1px solid hsl(56 18% 51% / 0.3);
  color: hsl(var(--primary));
  border-radius: 8px; padding: 1rem;
  text-align: center; font-weight: 500; font-size: .875rem;
  margin-bottom: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative; padding: 6rem 0; overflow: hidden; text-align: center;
}
.cta-section .container { position: relative; z-index: 10; max-width: 48rem; }
.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.15;
}
.cta-section p {
  margin-top: 1.5rem; color: hsl(var(--muted-foreground));
  max-width: 36rem; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* ---------- Blog page ---------- */
.blog-hero { padding: 8rem 0 3rem; text-align: center; }
.blog-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: 12px; overflow: hidden; transition: border-color .3s, transform .3s;
}
.blog-card:hover { border-color: hsl(56 18% 51% / 0.4); transform: translateY(-4px); }
.blog-card .cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--surface-elevated)));
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem;
  color: hsl(var(--primary)); font-weight: 700; font-size: 1rem;
}
.blog-card .body { padding: 1.25rem; }
.blog-card .meta { display: flex; gap: .75rem; font-size: .75rem; color: hsl(var(--muted-foreground)); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: .5rem; }
.blog-card p { font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Post page ---------- */
.post-hero { padding: 8rem 0 2rem; }
.post-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: hsl(var(--muted-foreground));
  transition: color .2s;
}
.post-back:hover { color: hsl(var(--primary)); }
.post-cover {
  aspect-ratio: 16/9; width: 100%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.25), hsl(var(--surface-elevated)));
  border-radius: 16px; margin: 2rem 0;
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary)); font-weight: 700; font-size: 1.5rem; text-align: center; padding: 2rem;
}
.post-meta-line {
  display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem;
  color: hsl(var(--muted-foreground)); margin: 1rem 0;
}
.post-title { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.15; }
.post-content { font-size: 1rem; line-height: 1.8; color: hsl(var(--foreground) / 0.9); }
.post-content > * + * { margin-top: 1.25rem; }
.post-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; }
.post-content h3 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; }
.post-content blockquote {
  border-left: 3px solid hsl(var(--primary));
  padding: .5rem 0 .5rem 1.25rem;
  font-style: italic; color: hsl(var(--foreground));
  background: hsl(var(--surface-elevated));
  border-radius: 0 8px 8px 0;
}
.post-content ul { margin-left: 1.5rem; list-style: disc; }
.post-content ul li { margin-top: .5rem; color: hsl(var(--muted-foreground)); }
.post-content strong { color: hsl(var(--foreground)); }
.post-content a { color: hsl(var(--primary)); text-decoration: underline; }

/* ---------- WhatsApp Phone Mockup ---------- */
.wa-phone-wrap { display: flex; justify-content: center; }
.wa-phone {
  width: min(300px, calc(100vw - 2rem)); height: 580px;
  border-radius: 2.5rem;
  border: 6px solid #d1d5db;
  background: white;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  flex-shrink: 0;
}
.dark .wa-phone { border-color: #2a2a2e; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
@media (min-width: 768px) { .wa-phone { width: 340px; height: 680px; max-width: none; } }

.wa-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: white; border-radius: 0 0 1rem 1rem; z-index: 20;
}
.dark .wa-notch { background: #000; }

.wa-status {
  height: 44px; background: #008069; flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 24px 6px; font-size: 11px; color: rgba(255,255,255,.8); font-weight: 500;
  position: relative; z-index: 10;
}
.dark .wa-status { background: #202c33; }

.wa-chat-header {
  background: #008069; padding: 6px 8px;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.dark .wa-chat-header { background: #202c33; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-online-status { color: rgba(255,255,255,.8); }
.dark .wa-online-status { color: #00a884; }

.wa-chat-body {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column;
  padding: 10px;
  background-color: #efeae2;
  background-image: url('../images/wa-chat-bg-light.png');
  background-size: cover; background-position: center;
  min-height: 0;
}
.dark .wa-chat-body {
  background-color: transparent;
  background-image: url('../images/wa-chat-bg.png');
}
.wa-chat-body::-webkit-scrollbar { display: none; }

.wa-encrypt-notice { display: flex; justify-content: center; margin-bottom: 12px; }
.wa-encrypt-inner {
  background: rgba(255,243,196,.9); border-radius: 7px; padding: 6px 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #54656f; line-height: 1.4; text-align: center;
}
.dark .wa-encrypt-inner { background: rgba(24,34,41,.9); color: #8696a0; }

.wa-today { display: flex; justify-content: center; margin-bottom: 12px; }
.wa-today span {
  background: #e2f7cb; color: #54656f; font-size: 11.5px; font-weight: 500;
  padding: 5px 12px; border-radius: 7px;
}
.dark .wa-today span { background: rgba(24,34,41,.9); color: #8696a0; }

.wa-bubble-out { max-width: 88%; align-self: flex-start; margin-bottom: 4px; }
.wa-bubble-inner {
  background: white; border-radius: 7.5px 7.5px 7.5px 0;
  overflow: hidden; box-shadow: 0 1px .5px rgba(0,0,0,.13); position: relative;
}
.dark .wa-bubble-inner { background: #202c33; }
.wa-tail-fill { fill: white; }
.dark .wa-tail-fill { fill: #202c33; }
.wa-bubble-tail { position: absolute; left: -9px; top: 0; }
.wa-robot-cover { background: #f0f2f5; overflow: hidden; }
.dark .wa-robot-cover { background: #111b21; }
.wa-robot-cover img { width: 100%; height: 120px; object-fit: cover; }
.wa-bubble-content { padding: 10px; }
.wa-bubble-content p { color: #111b21; font-size: 14.2px; line-height: 19px; }
.dark .wa-bubble-content p { color: #e9edef; }
.wa-bubble-hint { font-size: 13px !important; color: #667781 !important; }
.dark .wa-bubble-hint { color: #8696a0 !important; }
.wa-bubble-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 2px; }
.wa-bubble-meta span { font-size: 11px; color: #667781; }
.dark .wa-bubble-meta span { color: rgba(255,255,255,.6); }
.wa-fill-btn-wrap { border-top: 1px solid #e9edef; }
.dark .wa-fill-btn-wrap { border-top-color: rgba(134,150,160,.2); }
.wa-fill-btn {
  width: 100%; padding: 8px 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #00a884; font-size: 14px; font-weight: 400; transition: background .15s;
}
.dark .wa-fill-btn { color: #53bdeb; }
.wa-fill-btn:hover { background: rgba(0,0,0,.03); }
.wa-fill-icon-stroke { stroke: #00a884; }
.dark .wa-fill-icon-stroke { stroke: #53bdeb; }

.wa-user-msg { max-width: 75%; align-self: flex-end; margin-bottom: 4px; }
.wa-user-bubble {
  background: #d9fdd3; border-radius: 7.5px 7.5px 0 7.5px;
  padding: 6px 10px; box-shadow: 0 1px .5px rgba(0,0,0,.13);
}
.dark .wa-user-bubble { background: #005c4b; }
.wa-user-bubble p { color: #111b21; font-size: 14.2px; line-height: 19px; padding-right: 48px; }
.dark .wa-user-bubble p { color: #e9edef; }

.wa-emoji-picker {
  position: absolute; bottom: 100%; left: 0; right: 0;
  background: #f0f2f5; border-top: 1px solid #e9edef;
  padding: 8px; display: none;
  grid-template-columns: repeat(5,1fr); gap: 4px;
  max-height: 140px; overflow-y: auto; z-index: 30;
}
.wa-emoji-picker.is-open { display: grid; }
.dark .wa-emoji-picker { background: #0b141a; border-top-color: #2a3942; }
.wa-emoji-picker button { font-size: 22px; padding: 4px; border-radius: 4px; transition: background .15s; }
.wa-emoji-picker button:hover { background: rgba(0,0,0,.1); }
.dark .wa-emoji-picker button:hover { background: rgba(255,255,255,.1); }

.wa-input-bar {
  background: #f0f2f5; padding: 5px 6px 20px;
  display: flex; align-items: flex-end; gap: 4px;
  position: relative; flex-shrink: 0;
}
.dark .wa-input-bar { background: #0b141a; }
.wa-input-inner {
  flex: 1; background: white; border-radius: 21px; padding: 6px 10px;
  display: flex; align-items: center; gap: 6px; min-height: 36px;
}
.dark .wa-input-inner { background: #2a3942; }
.wa-input-inner input {
  flex: 1; background: transparent; color: #111b21;
  font-size: 14px; font-family: inherit;
  border: none; outline: none;
}
.dark .wa-input-inner input { color: #e9edef; }
.wa-input-inner input::placeholder { color: #667781; }
.dark .wa-input-inner input::placeholder { color: #8696a0; }
.wa-send-btn {
  width: 36px; height: 36px; border-radius: 50%; background: #00a884;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s;
}
.wa-send-btn:hover { background: #06cf9c; }
.wa-icon-btn-muted { color: #54656f; }
.dark .wa-icon-btn-muted { color: #8696a0; }

/* Flow panel */
.wa-flow-panel {
  position: absolute; bottom: 0; left: 0; right: 0; top: 60px;
  z-index: 30; display: flex; flex-direction: column;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.wa-flow-panel.is-open { transform: translateY(0); }
.wa-flow-handle { background: #f0f2f5; padding: 8px 0 4px; display: flex; justify-content: center; flex-shrink: 0; }
.dark .wa-flow-handle { background: #111b21; }
.wa-flow-handle div { width: 36px; height: 4px; border-radius: 9999px; background: rgba(102,119,129,.4); }
.wa-flow-header {
  background: #008069; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0;
}
.dark .wa-flow-header { background: #1f2c34; }
.wa-flow-header p { flex: 1; color: white; font-size: 15px; font-weight: 600; text-align: center; }
.dark .wa-flow-header p { color: #e9edef; }
.wa-flow-body { background: white; padding: 20px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.dark .wa-flow-body { background: #111b21; }
.wa-flow-title { color: #111b21; }
.dark .wa-flow-title { color: #e9edef; }
.wa-flow-desc { color: #667781; }
.dark .wa-flow-desc { color: #8696a0; }
.wa-flow-protected { color: #667781; }
.dark .wa-flow-protected { color: #8696a0; }
.wa-flow-footer { background: white; padding: 8px 20px 16px; border-top: 1px solid #e9edef; flex-shrink: 0; }
.dark .wa-flow-footer { background: #111b21; border-top-color: rgba(42,57,66,.4); }
.wa-privacy-text { color: #667781; }
.dark .wa-privacy-text { color: #8696a0; }
.wa-privacy-link { color: #00a884; }
.dark .wa-privacy-link { color: #53bdeb; }

.wa-phone-input-wrap {
  border-radius: 8px; border: 1px solid #d1d7db; padding: 12px 12px 10px;
  position: relative; transition: border-color .2s;
}
.wa-phone-input-wrap:focus-within { border-color: #00a884; }
.wa-phone-input-wrap.has-error { border-color: #ea4335 !important; }
.dark .wa-phone-input-wrap { border-color: #3b4a54; }
.wa-phone-input-wrap label {
  position: absolute; top: -10px; left: 10px;
  background: white; padding: 0 4px; font-size: 12px; color: #667781;
  font-weight: 400; text-transform: none; letter-spacing: 0;
}
.dark .wa-phone-input-wrap label { background: #111b21; color: #8696a0; }
.wa-phone-input-wrap input {
  width: 100%; background: transparent; color: #111b21;
  font-size: 15px; font-family: inherit; border: none; outline: none;
}
.dark .wa-phone-input-wrap input { color: #e9edef; }
.wa-field-error { color: #ea4335; font-size: 11px; margin-top: 4px; margin-left: 4px; }
.wa-submit-btn {
  width: 100%; padding: 14px; border-radius: 9999px;
  background: #00a884; color: white; font-weight: 700; font-size: 15px;
  font-family: inherit; transition: background .2s, transform .1s;
}
.wa-submit-btn:hover { background: #06cf9c; }
.wa-submit-btn:active { transform: scale(.98); }

/* Done state */
.wa-done {
  background: white; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 20px;
}
.dark .wa-done { background: #111b21; }
.wa-done-title { color: #111b21; }
.dark .wa-done-title { color: #e9edef; }
.wa-done-desc { color: #667781; }
.dark .wa-done-desc { color: #8696a0; }

/* === Animated Blog Covers === */
.post-card .cover,
.blog-card .cover,
.post-cover {
  background: hsl(var(--background)) !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}
.bc-grad {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  transition: background .2s;
}
.bc-text {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; pointer-events: none;
}
.bc-cat {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .3em;
  color: hsl(var(--primary)); font-weight: 600; margin-bottom: 8px;
}
.bc-title {
  font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); line-height: 1.2;
}
.bc-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2; overflow: visible;
}

/* Float animation (for bubble, rect elements) */
@keyframes bc-float { 0%,100%{transform:translateY(0);opacity:.3;} 50%{transform:translateY(-8px);opacity:.7;} }
/* Expanding ring from center */
@keyframes bc-expand { 0%{width:20px;height:20px;opacity:.5;} 100%{width:200px;height:200px;opacity:0;} }
/* Pulse center dot */
@keyframes bc-pulse-dot { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.8;} 50%{transform:translate(-50%,-50%) scale(1.3);opacity:1;} }
/* Scanning line */
@keyframes bc-scan { 0%,100%{top:10%;} 50%{top:90%;} }
/* Orbit rotation */
@keyframes bc-orbit-cw { to{transform:translate(-50%,-50%) rotate(360deg);} }
@keyframes bc-orbit-ccw { to{transform:translate(-50%,-50%) rotate(-360deg);} }
/* Fade in/out for lines/rays */
@keyframes bc-fade { 0%,100%{opacity:0;} 50%{opacity:1;} }
/* Wave path draw */
@keyframes bc-wave { 0%{stroke-dashoffset:400;} 100%{stroke-dashoffset:0;} }
/* Node pulse */
@keyframes bc-node { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.4;} 50%{transform:translate(-50%,-50%) scale(1.5);opacity:.8;} }

/* Floating circle (Flow Commerce - green) */
.bc-float-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,168,132,.2); background: rgba(0,168,132,.05);
  animation: bc-float 2s ease-in-out infinite; z-index: 2;
}
/* Floating rect (Ecommerce) */
.bc-rect {
  position: absolute;
  border: 1px solid hsl(var(--primary) / .2); background: hsl(var(--primary) / .05);
  animation: bc-float 2s ease-in-out infinite; z-index: 2;
}
/* Dot grid background (Tese) */
.bc-dots {
  position: absolute; inset: 0; z-index: 2;
  background-image: radial-gradient(circle, hsl(var(--primary) / .25) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .35;
}
/* Wave SVG paths (Tese) */
.bc-wave-1 {
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: bc-wave 2s ease-in-out infinite alternate;
}
.bc-wave-2 {
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: bc-wave 3s ease-in-out .5s infinite alternate;
}
/* Expanding ring */
.bc-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid hsl(var(--primary) / .2);
  left: 50%; top: 50%;
  animation: bc-expand 3s ease-out infinite; z-index: 2; pointer-events: none;
}
.bc-ring-green { border-color: rgba(0,168,132,.2) !important; }
/* Center pulsing dot */
.bc-center-dot {
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 12px; border-radius: 50%; z-index: 5;
  animation: bc-pulse-dot 2s ease-in-out infinite;
}
/* Scanning line (IA) */
.bc-scan-line {
  position: absolute; left: 0; right: 0; height: 1px; z-index: 3;
  background: linear-gradient(to right, transparent, hsl(var(--primary) / .4), transparent);
  animation: bc-scan 4s ease-in-out infinite;
}
/* Orbiting circle (Automação) */
.bc-orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid hsl(var(--primary) / .2);
  left: 50%; top: 50%; z-index: 2;
}
.bc-orbit-dot {
  position: absolute; top: -4px; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%; background: hsl(var(--primary) / .3); z-index: 3;
}
/* SVG dashed line animation */
.bc-dline { animation: bc-fade 3s ease-in-out infinite; }
/* SVG ray animation */
.bc-ray { animation: bc-fade 4s ease-in-out infinite; }
/* Network node */
.bc-node {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: hsl(var(--primary) / .4); transform: translate(-50%,-50%);
  z-index: 3; animation: bc-node 2s ease-in-out infinite;
}
/* Network line */
.bc-net-line { animation: bc-fade 4s ease-in-out infinite; }

/* ===============================
   RESPONSIVE
   =============================== */

/* --- Hero --- */
@media (max-width: 639px) {
  .hero { padding: 5rem 1rem 3rem; }
  .hero-spotlight { width: 250%; top: -4rem; left: -50%; }
  .scroll-indicator { display: none; }
}

/* --- Tech logo marquee --- */
@media (max-width: 767px) {
  .marquee { gap: 2.5rem; }
}

/* --- About section --- */
@media (max-width: 767px) {
  .lamp { min-height: 380px; }
  .lamp h2 { font-size: clamp(1.25rem, 5vw, 2rem); }
}

/* --- Flow Commerce --- */
@media (max-width: 1023px) {
  .fc-demo img { max-height: 360px; }
}
@media (max-width: 639px) {
  .fc-backoffice { grid-template-columns: repeat(2, 1fr); }
}

/* --- Cases carousel --- */
@media (max-width: 639px) {
  .case-slide { height: 240px; width: min(85vw, 700px); }
}
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Pablo section --- */
@media (max-width: 1023px) {
  .pablo-img { max-width: 320px; margin: 0 auto; display: block; }
}
@media (max-width: 639px) {
  .pablo-img { max-width: 260px; }
  .pablo-quote { padding: .75rem 0 .75rem 1rem; }
}

/* --- Timeline --- */
@media (max-width: 639px) {
  .tl-card { width: 260px; }
}

/* --- Team --- */
@media (max-width: 639px) {
  .team-card { width: 180px; }
}

/* --- Press grid --- */
@media (max-width: 479px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .press-item { height: 64px; }
}

/* --- Blog latest section header --- */
.posts-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; padding: 0 1rem;
}
@media (min-width: 1024px) { .posts-section-head { padding: 0 2rem; } }
@media (max-width: 639px) {
  .posts-section-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* --- Post cards: width on mobile --- */
@media (max-width: 639px) {
  .post-card { width: min(300px, calc(100vw - 3rem)); }
  .posts-track { padding: 0 1rem; }
}

/* --- Contact section: phone wrap --- */
@media (max-width: 1023px) {
  .wa-phone-wrap { justify-content: center; }
  .contact-grid { gap: 2rem; }
}

/* --- Blog page hero --- */
@media (max-width: 767px) {
  .blog-hero { padding: 6rem 0 2rem; }
}

/* --- Blog post page --- */
@media (max-width: 767px) {
  .post-hero { padding: 5rem 0 1.5rem; }
  .post-title { font-size: clamp(1.35rem, 5vw, 2rem); }
  .post-cover { margin: 1.25rem 0; border-radius: 10px; }
}

/* --- CTA section --- */
@media (max-width: 639px) {
  .cta-section { padding: 4rem 0; }
  .cta-section .hero-ctas { flex-direction: column; align-items: center; }
  .cta-section h2 { font-size: clamp(1.35rem, 5vw, 2rem); }
}

/* --- Nuvem page: plans grid --- */
@media (max-width: 479px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --- General sections on very small screens --- */
@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .section-tight { padding: 2rem 0; }
  .section-title { font-size: clamp(1.25rem, 5vw, 2rem); }
  .btn { padding: .75rem 1.5rem; font-size: .8125rem; }
  .container { padding: 0 1rem; }
}

/* =====================================================================
   MOBILE RESPONSIVE — new sections & mocks (≤767px)
   ===================================================================== */
@media (max-width: 767px) {

  /* --- Module carousel arrows --- */
  .module-arrow { width: 36px; height: 36px; }
  .module-arrow-prev { left: .25rem; }
  .module-arrow-next { right: .25rem; }

  /* --- BPM mock --- */
  .mock-bpm { padding: .5rem .55rem; }
  .mock-bpm-flow { gap: 0; overflow: hidden; }
  .mock-bpm-step { font-size: .48rem; }
  .mock-bpm-step span:last-child { display: none; }
  .mock-bpm-icon { width: 20px; height: 20px; font-size: .55rem; }
  .mock-bpm-connector { flex: 1; min-width: 8px; }
  .mock-bpm-task { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .mock-bpm-actions { width: 100%; justify-content: flex-end; }
  .mock-bpm-footer { font-size: .52rem; flex-direction: column; gap: .15rem; }

  /* --- AI mock (web) --- */
  .mock-ai { font-size: .6rem; }
  .mock-ai-chat { gap: .3rem; padding: .45rem .55rem; }
  .mock-ai-bubble { font-size: .58rem; padding: .3rem .45rem; }

  /* --- Module caption --- */
  .module-caption p { max-width: none; }

  /* --- App carousel arrows --- */
  .app-arrow { width: 36px; height: 36px; }
  .app-arrow-prev { left: .25rem; }
  .app-arrow-next { right: .25rem; }

  /* --- Marketplace mock --- */
  .mock-mkt-card { gap: .35rem; padding: .3rem .35rem; }
  .mock-mkt-img { width: 38px; height: 38px; }
  .mock-mkt-cta { font-size: .5rem; padding: .18rem .4rem; }

  /* --- Health mock --- */
  .mock-health-kpis { grid-template-columns: repeat(3, 1fr); gap: .2rem; }
  .mock-health-kpi { padding: .22rem .28rem; }
  .mock-health-kpi b { font-size: .58rem; }

  /* --- Realty mock --- */
  .mock-realty-img { height: 50px; }
  .mock-realty-info { padding: .25rem .4rem .3rem; }
  .mock-realty-tags span { font-size: .46rem; }

  /* --- AI mobile mock --- */
  .mock-ai-mob-chat { gap: .28rem; padding: .4rem .5rem; }
  .mock-ai-mob-msg { font-size: .56rem; padding: .28rem .42rem; }

  /* --- Deed Hunter stats --- */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }

  /* --- Deed Hunter feature tiles (fc-tile inside stats-grid) --- */
  .stats-grid .fc-tile { padding: .75rem; }
  .stats-grid .fc-tile p:last-child { font-size: .62rem; }
}

/* =====================================================================
   MOBILE RESPONSIVE — small phones (≤479px)
   ===================================================================== */
@media (max-width: 479px) {

  /* --- Module slide --- */
  .module-slide { width: 92vw; padding: .75rem; }
  .mock-screen { height: 280px; }
  .mock-window { border-radius: 10px; }

  /* --- BPM mock: hide middle steps to avoid overflow --- */
  .mock-bpm-step:nth-child(7),
  .mock-bpm-connector:nth-child(8) { display: none; }

  /* --- App phone frame --- */
  .mock-phone { width: 200px; }
  .mock-phone-screen { border-radius: 24px; }

  /* --- Module arrows: smaller on very small screens --- */
  .module-arrow { width: 32px; height: 32px; font-size: .75rem; }
  .module-arrow-prev { left: .15rem; }
  .module-arrow-next { right: .15rem; }

  /* --- Deed Hunter case section --- */
  #deed-hunter .spotlight-card { padding: 1.25rem; }
  #deed-hunter .spotlight-card h3 { font-size: 1rem; }

  /* --- Pillars single column (already at 599px but reinforce) --- */
  .pillars-new { grid-template-columns: 1fr; }

  /* --- Stats grid single column on tiny screens --- */
  .stat-card .stat-value { font-size: clamp(1.5rem, 7vw, 2.5rem); }

  /* --- WhatsApp FAB + scroll-top spacing --- */
  .whatsapp-fab { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
  .scroll-top { right: 1rem; bottom: 4.5rem; }
}
