/* ============================================================
   GKR Soluções em TI — Premium Tech Landing
   ============================================================ */

:root {
  --bg: #050914;
  --bg-soft: #08111f;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-bright: rgba(255, 255, 255, 0.18);
  --text: #eff7ff;
  --muted: #9fb0c7;
  --dim: #6f8098;
  --green: #19f2b4;
  --cyan: #36c7ff;
  --violet: #8e6bff;
  --amber: #ffd166;
  --danger: #ff6578;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 10px;
  --card-radius: 18px;
  --glow-green: rgba(25, 242, 180, 0.22);
  --glow-cyan: rgba(54, 199, 255, 0.22);
  --glow-violet: rgba(142, 107, 255, 0.22);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: #050914;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet));
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(25, 242, 180, 0.6);
}

/* ============================================================
   ANIMATED BACKGROUND ORBS
   ============================================================ */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: -1;
  will-change: transform;
}

.bg-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(54, 199, 255, 0.18), transparent 70%);
  top: -250px;
  left: -200px;
  animation: orbDrift1 18s ease-in-out infinite;
}

.bg-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(25, 242, 180, 0.15), transparent 70%);
  top: 10%;
  right: -180px;
  animation: orbDrift2 22s ease-in-out infinite;
}

.bg-orb-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(142, 107, 255, 0.14), transparent 70%);
  bottom: 30%;
  left: 5%;
  animation: orbDrift3 16s ease-in-out infinite;
}

.bg-orb-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(54, 199, 255, 0.1), transparent 70%);
  bottom: 5%;
  right: 10%;
  animation: orbDrift1 20s ease-in-out infinite reverse;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(40px, -35px) scale(1.06); }
  65%       { transform: translate(-25px, 28px) scale(0.94); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-50px, 30px) scale(1.08); }
  70%       { transform: translate(30px, -20px) scale(0.96); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%       { transform: translate(35px, 40px) scale(1.04); }
  70%       { transform: translate(-20px, -30px) scale(0.97); }
}

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
.site-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.text-gradient {
  background: linear-gradient(130deg, var(--green) 0%, var(--cyan) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SECTION ORBIT (glow blobs per section)
   ============================================================ */
.section-orbit {
  position: relative;
  overflow: hidden;
}

.section-orbit::before,
.section-orbit::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(32px);
}

.section-orbit::before {
  top: -18rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(54, 199, 255, 0.2), transparent 65%);
}

.section-orbit::after {
  bottom: -18rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(25, 242, 180, 0.16), transparent 65%);
}

/* ============================================================
   BRAND LOGO
   ============================================================ */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  transition: box-shadow 0.25s ease;
}

.brand-logo-wrap:hover {
  box-shadow: 0 0 20px rgba(25, 242, 180, 0.4);
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  padding: 1rem 0;
  background: rgba(5, 9, 20, 0.7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px) saturate(180%);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.navbar.navbar-scrolled {
  padding: 0.65rem 0;
  background: rgba(5, 9, 20, 0.92);
  border-bottom-color: var(--stroke);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(25, 242, 180, 0.45);
  border-radius: var(--radius);
  color: #061119;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 34px rgba(25, 242, 180, 0.3);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-link {
  color: rgba(239, 247, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus { color: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: var(--radius);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover,
.btn:focus { transform: translateY(-3px); }

.btn-glow {
  border: 1px solid rgba(25, 242, 180, 0.55);
  color: #031017;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 12px 36px rgba(25, 242, 180, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-glow:hover {
  box-shadow: 0 18px 52px rgba(25, 242, 180, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: transform 0.55s ease;
}

.btn-glow:hover::after { transform: translateX(120%); }

.btn-ghost {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.btn-ghost:hover {
  border-color: rgba(54, 199, 255, 0.55);
  color: #fff;
  box-shadow: 0 16px 40px rgba(54, 199, 255, 0.12);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  padding-top: 92px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(to bottom, rgba(5, 9, 20, 0.1), #050914 96%),
    repeating-linear-gradient(90deg, rgba(54, 199, 255, 0.07) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(25, 242, 180, 0.045) 0 1px, transparent 1px 110px);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.hero-copy { padding: 3rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.impact-copy h2,
.authority-panel h2,
.final-cta h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 900;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
}

.hero-copy p {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  backdrop-filter: blur(12px);
}

.trust-row i { color: var(--green); }

/* ============================================================
   HERO VISUALS — wrapper for floating cards + dashboard
   ============================================================ */
.hero-visuals {
  position: relative;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
}

/* ============================================================
   FLOATING CARDS
   ============================================================ */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--stroke-bright);
  border-radius: 14px;
  background: rgba(8, 16, 34, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 10;
  white-space: nowrap;
}

.fc-1 {
  top: 0.5rem;
  right: -0.5rem;
  animation: floatCard 3.6s ease-in-out infinite;
}

.fc-2 {
  bottom: 3.5rem;
  left: -0.5rem;
  animation: floatCard 4.2s ease-in-out infinite;
  animation-delay: -1.8s;
}

.fc-3 {
  bottom: 0;
  right: 2rem;
  animation: floatCard 3.2s ease-in-out infinite;
  animation-delay: -3.2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.floating-card small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.floating-card strong {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 800;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #061119;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fc-icon.cyan {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%  { box-shadow: 0 0 0 0 rgba(25, 242, 180, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(25, 242, 180, 0); }
  100%{ box-shadow: 0 0 0 0 rgba(25, 242, 180, 0); }
}

/* ============================================================
   DASHBOARD SHELL
   ============================================================ */
.dashboard-shell {
  position: relative;
  padding: 0.8rem;
  border: 1px solid rgba(54, 199, 255, 0.22);
  border-radius: var(--card-radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow), 0 0 90px rgba(54, 199, 255, 0.12);
  backdrop-filter: blur(24px) saturate(160%);
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, rgba(25, 242, 180, 0.5), transparent 30%, rgba(54, 199, 255, 0.45));
  opacity: 0.4;
}

/* shine at top */
.dashboard-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.dashboard-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
  border-bottom: 1px solid var(--stroke);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dim);
}

.window-dots span:first-child  { background: var(--danger); }
.window-dots span:nth-child(2) { background: var(--amber); }
.window-dots span:nth-child(3) { background: var(--green); }

.topbar-search,
.topbar-status {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(5, 9, 20, 0.44);
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar-search { padding: 0.5rem 0.8rem; }
.topbar-status { padding: 0.45rem 0.65rem; color: var(--green); }

.dashboard-body {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 520px;
}

.dash-sidebar {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem 0.6rem;
  border-right: 1px solid var(--stroke);
}

.dash-sidebar span {
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.dash-sidebar .active {
  background: linear-gradient(135deg, rgba(25, 242, 180, 0.85), rgba(54, 199, 255, 0.85));
  box-shadow: 0 0 28px rgba(25, 242, 180, 0.24);
}

.dash-content {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.dash-header small,
.kpi-card small,
.project-list small { display: block; color: var(--dim); }

.dash-header strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
}

.pulse-badge {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(25, 242, 180, 0.32);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(25, 242, 180, 0.08);
  font-size: 0.78rem;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { border-color: rgba(25, 242, 180, 0.32); box-shadow: none; }
  50%       { border-color: rgba(25, 242, 180, 0.65); box-shadow: 0 0 18px rgba(25, 242, 180, 0.2); }
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.kpi-card,
.chart-panel,
.project-list {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(5, 9, 20, 0.5);
}

.kpi-card {
  position: relative;
  min-height: 112px;
  padding: 1rem;
  overflow: hidden;
  transition: border-color 0.25s;
}

.kpi-card:hover { border-color: rgba(25, 242, 180, 0.3); }

.kpi-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 2rem;
  line-height: 1;
}

.kpi-card span {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(25, 242, 180, 0.18);
}

.kpi-card.cyan span { background: rgba(54, 199, 255, 0.18); }
.kpi-card.violet span { background: rgba(142, 107, 255, 0.2); }

.chart-panel {
  position: relative;
  min-height: 190px;
  padding: 1rem;
  overflow: hidden;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  height: 100%;
}

.chart-bars span {
  flex: 1;
  min-height: 34px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(54, 199, 255, 0.08));
  transition: height 0.8s ease;
}

.chart-line {
  position: absolute;
  inset: 30% 8% auto 8%;
  height: 3px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 24px rgba(25, 242, 180, 0.75);
}

.project-list {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem;
}

.project-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.project-list div:hover { background: rgba(255, 255, 255, 0.07); }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.blue  { background: var(--cyan);  box-shadow: 0 0 8px var(--cyan); }
.status-dot.amber { background: var(--amber); }

/* ============================================================
   TECH TICKER
   ============================================================ */
.tech-ticker-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}

.ticker-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-item i { color: var(--dim); font-size: 1.1rem; }

.ticker-sep {
  color: var(--dim);
  font-size: 1.1rem;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section-padding { padding: 7rem 0; }

.section-heading {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.section-heading.text-center {
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2,
.impact-copy h2,
.authority-panel h2,
.final-cta h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.section-heading p,
.impact-copy p,
.authority-panel p,
.final-cta p,
.contact-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-deep {
  background:
    radial-gradient(circle at 88% 18%, rgba(142, 107, 255, 0.12), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

/* ============================================================
   GLASS CARDS — shared base
   ============================================================ */
.value-card,
.solution-card,
.compare-card,
.metric-card,
.timeline-item,
.product-card,
.authority-panel,
.contact-form {
  border: 1px solid var(--stroke-bright);
  border-radius: var(--card-radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(160%);
}

/* ============================================================
   VALUE CARDS
   ============================================================ */
.value-card,
.solution-card,
.product-card {
  position: relative;
  min-height: 100%;
  padding: 1.65rem;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* top shine */
.value-card::after,
.solution-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

/* glow blob on hover */
.value-card::before,
.solution-card::before,
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(25, 242, 180, 0.14), transparent 40%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.value-card:hover,
.solution-card:hover,
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(25, 242, 180, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(25, 242, 180, 0.1);
}

.value-card:hover::before,
.solution-card:hover::before,
.product-card:hover::before { opacity: 1; }

.value-card i,
.solution-card i {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  color: #061119;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 1.35rem;
  box-shadow: 0 6px 24px rgba(25, 242, 180, 0.3);
}

.value-card h3,
.solution-card h3,
.compare-card h3,
.timeline-item h3,
.product-card h3 {
  position: relative;
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 850;
}

.value-card p,
.solution-card p,
.compare-card li,
.timeline-item p,
.product-card p {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
}

/* ============================================================
   SOLUTIONS GRID
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.solution-card { min-height: 260px; }

.solution-wide {
  grid-column: span 3;
  min-height: 190px;
}

/* ============================================================
   COMPARISON — ANTES E DEPOIS
   ============================================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.compare-card { padding: 1.75rem; }

.compare-card.after {
  border-color: rgba(25, 242, 180, 0.3);
  background:
    radial-gradient(circle at 85% 12%, rgba(25, 242, 180, 0.15), transparent 18rem),
    linear-gradient(145deg, rgba(25, 242, 180, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 70px rgba(25, 242, 180, 0.1);
}

.compare-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.after .compare-label {
  color: var(--green);
  border-color: rgba(25, 242, 180, 0.35);
  background: rgba(25, 242, 180, 0.07);
}

.compare-card ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.compare-card li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.before i { color: var(--danger); }
.after i  { color: var(--green); }

.compare-divider {
  display: grid;
  place-items: center;
}

.compare-divider i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(54, 199, 255, 0.35);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(54, 199, 255, 0.08);
  box-shadow: 0 0 40px rgba(54, 199, 255, 0.18);
  font-size: 1.5rem;
  animation: arrowPulse 2.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(54, 199, 255, 0.18); }
  50%       { box-shadow: 0 0 55px rgba(54, 199, 255, 0.35); }
}

/* — Compare Screen Visuals — */
.compare-screen {
  margin: 1rem 0;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(5, 9, 20, 0.6);
}

/* Spreadsheet chaos */
.screen-chaos {
  padding: 0.6rem;
  display: grid;
  gap: 4px;
}

.cs-row {
  display: flex;
  gap: 4px;
}

.cs-cell {
  height: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
}

.cs-cell.wide   { flex: 3; }
.cs-cell.medium { flex: 2; }
.cs-cell.narrow { flex: 1; }
.cs-cell.chaos-red   { background: rgba(255, 101, 120, 0.22); }
.cs-cell.chaos-amber { background: rgba(255, 209, 102, 0.2); }

/* Organized dashboard */
.screen-organized {
  padding: 0.7rem;
  display: grid;
  gap: 6px;
}

.cs-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.cs-dash-header span:first-child {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  max-width: 55%;
}

.cs-badge-live {
  width: 42px;
  height: 14px;
  border-radius: 20px;
  background: rgba(25, 242, 180, 0.35);
}

.cs-kpis {
  display: flex;
  gap: 6px;
}

.cs-kpi {
  flex: 1;
  height: 30px;
  border-radius: 6px;
}

.cs-kpi.green  { background: rgba(25, 242, 180, 0.25); }
.cs-kpi.cyan   { background: rgba(54, 199, 255, 0.2); }
.cs-kpi.violet { background: rgba(142, 107, 255, 0.2); }

.cs-chart-area {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 50px;
}

.cs-chart-area span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(54, 199, 255, 0.1));
}

/* ============================================================
   IMPACT SECTION
   ============================================================ */
.impact-section {
  background:
    radial-gradient(circle at 10% 50%, rgba(25, 242, 180, 0.07), transparent 30rem),
    linear-gradient(135deg, rgba(25, 242, 180, 0.06), rgba(54, 199, 255, 0.03));
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 1.2rem;
}

.impact-copy {
  grid-row: span 2;
  padding-right: 2rem;
}

.metric-card {
  padding: 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 242, 180, 0.3);
}

.metric-card strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1;
  font-weight: 900;
}

.metric-card span {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(25, 242, 180, 0.5) 20%, rgba(54, 199, 255, 0.5) 80%, transparent);
  box-shadow: 0 0 16px rgba(25, 242, 180, 0.2);
}

.timeline-item {
  position: relative;
  padding: 1.35rem 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline-item:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 242, 180, 0.35);
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #061119;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 0 28px rgba(25, 242, 180, 0.3), 0 0 0 5px rgba(25, 242, 180, 0.1);
}

/* ============================================================
   PORTFOLIO — PRODUCT CARDS
   ============================================================ */
.product-card::after {
  content: none;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.card-tags span {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   MINI SCREENS — Portfolio Thumbnails
   ============================================================ */
.mini-screen {
  position: relative;
  height: 200px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(54, 199, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: #07101f;
  transition: border-color 0.25s ease;
}

.product-card:hover .mini-screen {
  border-color: rgba(25, 242, 180, 0.35);
}

/* SVG-powered screens: suppress all pseudo-elements */
.mini-screen.ms-svg {
  background: transparent;
  padding: 0;
}

.mini-screen.ms-svg::before,
.mini-screen.ms-svg::after { content: none; }

.mini-screen.ms-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* ============================================================
   AUTHORITY SECTION
   ============================================================ */
.authority-section,
.contact-section {
  background: rgba(255, 255, 255, 0.018);
}

.authority-panel {
  padding: clamp(1.6rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 86% 18%, rgba(25, 242, 180, 0.15), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.authority-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.authority-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--stroke-bright);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, color 0.2s;
}

.authority-badges span:hover {
  border-color: rgba(25, 242, 180, 0.4);
  color: var(--text);
}

.authority-badges i { color: var(--green); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 7rem 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .btn { margin-top: 1.5rem; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-copy {
  position: sticky;
  top: 110px;
}

.whatsapp-line,
.contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.whatsapp-line {
  margin-top: 1.2rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(25, 242, 180, 0.35);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(25, 242, 180, 0.07);
  font-weight: 850;
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.whatsapp-line:hover {
  background: rgba(25, 242, 180, 0.12);
  border-color: rgba(25, 242, 180, 0.55);
  box-shadow: 0 0 30px rgba(25, 242, 180, 0.15);
}

.contact-meta {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-meta i { color: var(--cyan); }

.contact-form { padding: clamp(1rem, 4vw, 2.25rem); }

.form-label { color: var(--text); font-weight: 750; }

.form-control,
.form-select {
  min-height: 54px;
  border: 1px solid var(--stroke-bright);
  border-radius: var(--radius);
  color: var(--text);
  background-color: rgba(5, 9, 20, 0.58);
  transition: border-color 0.22s, box-shadow 0.22s;
}

.form-control::placeholder { color: var(--dim); }

.form-control:focus,
.form-select:focus {
  color: var(--text);
  border-color: rgba(25, 242, 180, 0.58);
  background-color: rgba(5, 9, 20, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(25, 242, 180, 0.13);
}

.form-select option { color: #111827; }

textarea.form-control { min-height: 146px; }

.form-feedback {
  min-height: 24px;
  margin: 1rem 0 0;
  color: var(--green);
  text-align: center;
  font-weight: 750;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 1.4rem 0;
  border-top: 1px solid var(--stroke);
  color: var(--dim);
  text-align: center;
  background: #030610;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .solutions-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-wide { grid-column: span 2; }

  .timeline::before { display: none; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 0.4rem;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 0.8rem;
  }

  .hero-section { padding-top: 110px; }
  .hero-copy    { padding: 1rem 0 0; }

  .hero-visuals {
    padding: 1rem 0;
  }

  .floating-card { display: none; }

  .comparison-grid { grid-template-columns: 1fr; }

  .compare-divider { transform: rotate(90deg); }

  .impact-grid { grid-template-columns: repeat(2, 1fr); }

  .impact-copy {
    grid-column: span 2;
    grid-row: auto;
    padding-right: 0;
  }

  .contact-copy { position: static; }
}

@media (max-width: 767.98px) {
  .section-padding,
  .final-cta { padding: 4.5rem 0; }

  .brand-symbol { width: 42px; height: 42px; }

  .brand-copy small { max-width: 130px; }

  .hero-actions,
  .hero-actions .btn,
  .final-cta .btn { width: 100%; }

  .dashboard-topbar { grid-template-columns: auto 1fr; }
  .topbar-status { display: none; }

  .dashboard-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dash-sidebar { display: none; }

  .kpi-grid,
  .solutions-grid,
  .timeline,
  .impact-grid { grid-template-columns: 1fr; }

  .solution-wide,
  .impact-copy { grid-column: span 1; }

  .chart-panel { min-height: 160px; }

  .project-list div { grid-template-columns: auto 1fr; }
  .project-list small { grid-column: 2; }

  .authority-badges { gap: 0.5rem; }
}
