/* NEXA MIND — Brand System v2 */
/* Palette: #004059 · #006c9b · #fe8300 · #ffa300 */
/* Font: Barlow Condensed (display) + Nunito Sans (body) */

:root {
  --bg: #ffffff;
  --bg-alt: #f0f6fa;
  --bg-elev: #ffffff;
  --ink: #004059;
  --ink-2: #004d6e;
  --ink-3: #006c9b;
  --ink-4: #5a8fa3;
  --line: rgba(0,64,89,0.10);
  --line-2: rgba(0,64,89,0.18);
  --accent: #fe8300;
  --accent-2: #ffa300;
  --accent-ink: #ffffff;
  --brand-deep: #004059;
  --brand-blue: #006c9b;
  --grid: rgba(0,64,89,0.04);
  --radius: 14px;
  --radius-lg: 22px;
}

[data-theme="dark"] {
  --bg: #002233;
  --bg-alt: #002d42;
  --bg-elev: #003352;
  --ink: #ffffff;
  --ink-2: rgba(255,255,255,0.88);
  --ink-3: #7ecae0;
  --ink-4: rgba(255,255,255,0.45);
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.16);
  --accent: #ffa300;
  --accent-2: #fe8300;
  --grid: rgba(255,255,255,0.04);
  --brand-blue: #006c9b;
  --brand-deep: #001825;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  font-family: 'Nunito Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: "ss02" on;
}

/* Page shell */
.page { min-height: 100vh; position: relative; isolation: isolate; }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 20%, black 30%, transparent 85%);
}

.container {
  width: 100%; max-width: 1320px;
  margin: 0 auto; padding: 0 32px;
  position: relative; z-index: 1;
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand-blue) 100%);
  padding: 12px 0;
  position: relative;
  z-index: 200;
  overflow: hidden;
}
.promo-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px,
    transparent 1px, transparent 12px
  );
  pointer-events: none;
}
.promo-banner-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  text-align: center;
  position: relative;
}
.promo-banner-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px; font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}
.promo-banner-text strong { color: var(--accent-2); }
.promo-banner-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px; font-weight: 800;
  padding: 7px 16px; border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .12s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.promo-banner-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.promo-banner-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: rgba(255,255,255,0.5);
  font-size: 18px; cursor: pointer; line-height: 1; padding: 4px;
  transition: color .15s;
}
.promo-banner-close:hover { color: #fff; }

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 0;
  text-decoration: none; flex-shrink: 0;
}
/* Horizontal logo (default in nav) */
.brand-logo-h {
  height: 40px; width: auto; display: block;
  object-fit: contain;
}
/* Vertical / icon logo (footer, small breakpoints) */
.brand-logo-v {
  height: 48px; width: auto; display: block;
  object-fit: contain;
}
.brand-logo-icon {
  height: 36px; width: 36px; display: block;
  object-fit: contain; border-radius: 8px;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-link {
  font-size: 14px; color: var(--ink-2);
  text-decoration: none; padding: 8px 14px;
  border-radius: 999px;
  transition: background .15s, color .15s;
  font-weight: 600; white-space: nowrap;
}
.nav-link:hover { background: var(--line); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 3px; background: transparent;
  font-family: 'JetBrains Mono', monospace;
}
.lang-btn {
  background: transparent; border: 0; color: var(--ink-3);
  font: inherit; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; padding: 5px 9px;
  border-radius: 999px; cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: var(--bg); }

.icon-btn { padding: 8px 12px !important; min-width: 36px; justify-content: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s, box-shadow .2s, border-color .15s;
  letter-spacing: 0.01em; white-space: nowrap;
  text-transform: uppercase; font-size: 13px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 4px 18px -4px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover {
  background: var(--accent-2); border-color: var(--accent-2);
  box-shadow: 0 8px 22px -4px color-mix(in srgb, var(--accent) 65%, transparent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--line); border-color: var(--line); }
.btn-blue {
  background: var(--brand-blue); color: #fff;
  border-color: var(--brand-blue);
}
.btn-blue:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ========== HERO ========== */
.hero { position: relative; padding: 72px 0 96px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--ink-3); padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg-elev); text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.hero-headline {
  font-size: clamp(38px, 5.5vw, 80px);
  margin: 24px 0 20px; max-width: 16ch;
  color: var(--ink);
}
.hero-headline .accent { color: var(--accent); }
.hero-headline .blue { color: var(--brand-blue); }
.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--ink-3);
  max-width: 56ch; margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 16px; display: flex; align-items: center;
  gap: 12px; color: var(--ink-4); font-size: 12.5px; flex-wrap: wrap;
}
.hero-meta .dot { width: 3px; height: 3px; background: var(--ink-4); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-centered { text-align: center; }
.hero-centered .hero-headline { margin-left: auto; margin-right: auto; }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .hero-ctas { justify-content: center; }
.hero-centered .hero-meta { justify-content: center; }
.hero-editorial .hero-headline { font-size: clamp(60px, 10vw, 144px); max-width: 100%; }
.hero-editorial .editorial-foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-editorial .editorial-foot p { color: var(--ink-3); line-height: 1.55; margin: 0 0 20px; }

/* ========== DASHBOARD CARD ========== */
.dash {
  position: relative; background: var(--bg-elev);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 2px 0 rgba(255,255,255,0.7) inset, 0 28px 56px -24px rgba(0,64,89,0.22), 0 6px 16px -8px rgba(0,64,89,0.10);
  overflow: hidden;
}
[data-theme="dark"] .dash { box-shadow: 0 28px 56px -24px rgba(0,0,0,0.5); }
.dash-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-title { font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.dash-title-dot { width: 8px; height: 8px; border-radius: 50%; background: #1aa971; box-shadow: 0 0 0 3px rgba(26,169,113,0.18); }
.dash-pill { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3); padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; letter-spacing: 0.06em; }
.dash-stat-label { font-size: 10.5px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* Dashboard chart */
.dash-chart-pro { border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--ink) 2%, transparent); padding: 16px; margin-bottom: 14px; overflow: hidden; }
.dash-chart-hd { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.dash-chart-value { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.dash-chart-trend { font-size: 12px; font-weight: 700; color: #1aa971; letter-spacing: 0; font-family: 'Nunito Sans', sans-serif; }
.dash-chart-legend { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--ink-4); flex-wrap: wrap; white-space: nowrap; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 3px; }
.legend-dot-muted { background: color-mix(in srgb, var(--ink) 25%, transparent); }
.dash-svg { width: 100%; height: 140px; display: block; color: var(--ink); }
.dash-chart-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-4); letter-spacing: 0.06em; margin-top: 6px; }

/* Chart animations */
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 1.6s cubic-bezier(.25,.7,.2,1) .3s forwards; }
.chart-area { opacity: 0; animation: fadeArea .8s ease-out 1.4s forwards; }
.chart-bar { transform-origin: bottom; transform: scaleY(0); animation: growBar .55s cubic-bezier(.3,.7,.2,1) forwards; }
.chart-end { opacity: 0; animation: popDot .3s ease-out 1.7s forwards; }
.chart-end-pulse { opacity: 0; transform-origin: 400px 10px; animation: pulseDot 2.2s ease-out 1.9s infinite; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeArea { to { opacity: 1; } }
@keyframes growBar { to { transform: scaleY(1); } }
@keyframes popDot { to { opacity: 1; } }
@keyframes pulseDot { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }

/* Reps */
.reps-list { border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--ink) 2%, transparent); padding: 12px 14px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.reps-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.reps-count { font-size: 11px; color: var(--ink-3); }
.rep-row { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; }
.rep-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; }
.rep-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rep-top { display: flex; justify-content: space-between; align-items: baseline; }
.rep-name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.rep-meta { font-size: 11px; }
.rep-bar { position: relative; height: 6px; background: color-mix(in srgb, var(--ink) 8%, transparent); border-radius: 999px; overflow: visible; }
.rep-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; width: 0; animation: fillBar 1s cubic-bezier(.3,.7,.2,1) forwards; }
.rep-bar-goal { position: absolute; top: -3px; bottom: -3px; left: 71.4%; width: 1.5px; background: color-mix(in srgb, var(--ink) 35%, transparent); }
@keyframes fillBar { from { width: 0; } }

.dash-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--ink-4); }

/* Float chips */
.float-chip { position: absolute; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; box-shadow: 0 12px 28px -14px rgba(0,64,89,0.22); font-weight: 600; animation: chipFloat 6s ease-in-out infinite; }
.float-chip.tl { top: -22px; left: -28px; animation-delay: -2s; }
.float-chip.br { bottom: -18px; right: -22px; animation-delay: -4s; }
.float-chip-icon { width: 28px; height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.float-chip-icon.green { background: rgba(26,169,113,0.14); color: #1aa971; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ========== STATS BAR ========== */
.stats { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(36px, 4.5vw, 54px); letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; }
.stat-num .unit { color: var(--accent); }
.stat-lbl { color: var(--ink-3); font-size: 13px; margin-top: 8px; max-width: 24ch; line-height: 1.4; }

/* ========== LOGOS ROW ========== */
.logos { margin-top: 56px; padding: 24px 0; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); justify-content: space-between; }
.logos-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.logos-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; flex: 1; justify-content: flex-end; }
.logo-item { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink-3); opacity: 0.6; transition: opacity .15s, color .15s; letter-spacing: 0.02em; text-transform: uppercase; }
.logo-item:hover { opacity: 1; color: var(--ink); }

/* ========== SECTIONS ========== */
.section { padding: 112px 0; position: relative; scroll-margin-top: 80px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-hd { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; padding: 6px 14px; border: 1px solid color-mix(in srgb, var(--brand-blue) 30%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand-blue) 6%, transparent); }
.section-title { font-size: clamp(38px, 5.5vw, 68px); margin: 0 0 16px; }
.section-title .accent { color: var(--accent); }
.section-sub { font-size: 16.5px; line-height: 1.6; color: var(--ink-3); max-width: 56ch; margin: 0 auto; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .18s, border-color .18s, box-shadow .25s; }
.service-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 22px 56px -24px rgba(0,64,89,0.18); }
.service-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 16px; }
.service-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.01em; margin: 0 0 10px; text-transform: uppercase; }
.service-desc { color: var(--ink-3); line-height: 1.55; margin: 0 0 18px; font-size: 14.5px; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.service-list li { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.service-list .check { color: var(--accent); font-weight: 800; }

/* Method */
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; position: relative; }
@media (max-width: 900px) { .method-grid { grid-template-columns: repeat(2,1fr); } }
.method-step { position: relative; padding-top: 22px; }
.method-line { position: absolute; top: 11px; left: 0; right: -22px; height: 1px; background: var(--line); }
.method-step::before { content: ""; position: absolute; top: 7px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.method-num { color: var(--ink-4); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; margin-bottom: 12px; }
.method-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 10px; text-transform: uppercase; }
.method-desc { color: var(--ink-3); line-height: 1.55; font-size: 14px; }

/* Video testimonials */
.videos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px) { .videos-grid { grid-template-columns: 1fr; } }
.video-card { position: relative; aspect-ratio: 9/16; max-height: 520px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); cursor: pointer; border: 1px solid var(--line); transition: transform .2s, box-shadow .25s; }
.video-card:hover { transform: translateY(-3px); box-shadow: 0 22px 56px -24px rgba(0,64,89,0.3); }
.video-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, filter .25s; }
.video-card:hover .video-thumb { transform: scale(1.04); filter: brightness(0.82); }
.video-iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: linear-gradient(180deg, rgba(0,0,0,0.04) 40%, rgba(0,0,0,0.72) 100%); pointer-events: none; }
.video-play { align-self: flex-end; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; pointer-events: auto; box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .15s; }
.video-card:hover .video-play { transform: scale(1.08); }
.video-play svg { margin-left: 3px; }
.video-foot { color: #fff; pointer-events: none; }
.video-client { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; }
.video-segment { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 3px; }
.video-yt-link { display: inline-block; margin-top: 9px; font-size: 10.5px; color: rgba(255,255,255,0.85); text-decoration: none; padding: 5px 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; pointer-events: auto; background: rgba(0,0,0,0.25); backdrop-filter: blur(6px); letter-spacing: 0.04em; transition: background .15s, border-color .15s; }
.video-yt-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-copy p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.about-copy p:first-child { font-size: 18px; color: var(--ink); font-weight: 600; }

/* Contact CTA */
.section-cta { padding: 72px 0 112px; }
.cta-card { background: var(--brand-deep); color: #fff; border-radius: 28px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 0% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%), radial-gradient(ellipse 60% 80% at 100% 0%, color-mix(in srgb, var(--brand-blue) 35%, transparent), transparent 60%); pointer-events: none; }
.cta-card .section-eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); }
.cta-title { font-size: clamp(42px, 7vw, 88px); margin: 12px 0 18px; color: #fff; }
.cta-title .accent { color: var(--accent); }
.cta-sub { color: rgba(255,255,255,0.65); max-width: 50ch; margin: 0 auto 32px; font-size: 16.5px; line-height: 1.55; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.22); }
.cta-actions .btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Footer */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-h { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-4); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--ink-2); font-size: 14px; padding: 4px 0; text-decoration: none; transition: color .15s; font-weight: 600; }
.footer-cols a:hover { color: var(--accent); }
.footer-base { margin-top: 22px; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.08em; flex-wrap: wrap; gap: 8px; }

/* Mobile nav */
.nav-burger { display: none; background: transparent; border: 1px solid var(--line-2); width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.nav-cta-talk { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
    z-index: 999;
  }
  .nav-links--open .nav-link { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-burger { display: inline-flex; }
  .nav-cta-talk { display: none; }
}
@media (max-width: 800px) {
  .nav-cta .btn-ghost:not(.icon-btn) { display: none; }
  .lang-switch { display: none; }
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { gap: 36px; }
  .stats { margin-top: 48px; }
  .float-chip.tl { left: 6px; top: -14px; }
  .float-chip.br { right: 6px; bottom: -10px; }
  .cta-card { padding: 48px 24px; }
  .promo-banner-close { display: none; }
}

/* ── H1 page title entrance (todas as páginas) ─────────────── */
h1 {
  animation: titleIn .9s cubic-bezier(.2,.7,.2,1) .05s both;
}
@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(22px);
    letter-spacing: 0.04em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: inherit;
  }
}

/* subtítulo/parágrafo logo após h1 */
h1 + p, h1 + .meta, h1 ~ p:first-of-type {
  animation: titleIn .8s cubic-bezier(.2,.7,.2,1) .18s both;
}

/* Fade-in animations */
.fade-up { animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.fade-up.d1 { animation-delay: .05s; }
.fade-up.d2 { animation-delay: .15s; }
.fade-up.d3 { animation-delay: .25s; }
.fade-up.d4 { animation-delay: .35s; }
.fade-up.d5 { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }

/* ── Enhanced hover: service cards ────────────────────────── */
.service-card {
  transition: transform .22s cubic-bezier(.2,.7,.2,1), border-color .22s, box-shadow .3s !important;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent) !important;
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ── Stat numbers pop on scroll ────────────────────────────── */
.stat-num {
  transition: color .4s ease;
}
.reveal.in-view .stat-num {
  color: var(--accent);
}

/* ── Nav link underline slide ──────────────────────────────── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .2s ease, left .2s ease;
}
.nav-link:hover::after {
  width: 100%; left: 0;
}

/* ── Section eyebrow slide-in ──────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  overflow: hidden;
}

/* ── Smooth accent gradient pulse ─────────────────────────── */
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── Button hover lift ─────────────────────────────────────── */
.btn-primary {
  transition: transform .18s ease, box-shadow .2s ease, background .15s !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -6px color-mix(in srgb, var(--accent) 50%, transparent);
}

/* ── Logo row fade hover ───────────────────────────────────── */
.logo-item {
  transition: opacity .2s, color .2s, transform .2s !important;
}
.logo-item:hover {
  opacity: 1 !important;
  color: var(--accent) !important;
  transform: scale(1.06);
}

/* ── Testimonial card subtle hover ────────────────────────── */
.testimonial-card {
  transition: transform .22s ease, box-shadow .3s ease !important;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(0,64,89,0.18);
}

/* ══ HOME — seção por seção ════════════════════════════════════ */

/* Hero: título entra da esquerda */
.hero-grid .fade-up { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }

/* Stats bar: números contam do zero */
@keyframes countUp { from { opacity:0; transform:translateY(10px) scale(.92); } to { opacity:1; transform:none; } }
.stat-num { animation: countUp .6s cubic-bezier(.2,.8,.2,1) both; }
.stats > div:nth-child(1) .stat-num { animation-delay:.1s; }
.stats > div:nth-child(2) .stat-num { animation-delay:.22s; }
.stats > div:nth-child(3) .stat-num { animation-delay:.34s; }
.stats > div:nth-child(4) .stat-num { animation-delay:.46s; }

/* Serviços: cards entram em cascata */
.services-grid .service-card:nth-child(1) { transition-delay:.05s; }
.services-grid .service-card:nth-child(2) { transition-delay:.13s; }
.services-grid .service-card:nth-child(3) { transition-delay:.21s; }
.services-grid .service-card:nth-child(4) { transition-delay:.29s; }

/* Método: linha conectora cresce da esquerda */
@keyframes growLine { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.method-line { transform-origin: left; }
.method-step.reveal.in-view .method-line {
  animation: growLine .7s cubic-bezier(.2,.7,.2,1) .1s both;
}

/* Método: dot pop-in */
@keyframes dotPop {
  0%   { transform: scale(0) translateY(0); opacity:0; }
  60%  { transform: scale(1.4); opacity:1; }
  100% { transform: scale(1); opacity:1; }
}
.method-step.reveal.in-view::before {
  animation: dotPop .5s cubic-bezier(.2,.8,.2,1) both;
}

/* Método: número sobe */
@keyframes numIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.method-step.reveal.in-view .method-num {
  animation: numIn .4s ease both;
}

/* Método: título sobe */
.method-step.reveal.in-view .method-title {
  animation: fadeUp .5s cubic-bezier(.2,.7,.2,1) .1s both;
}

/* Método: descrição sobe */
.method-step.reveal.in-view .method-desc {
  animation: fadeUp .5s cubic-bezier(.2,.7,.2,1) .18s both;
}

/* Método: steps entram em cascata */
.method-grid .method-step:nth-child(1) { transition-delay:.0s; }
.method-grid .method-step:nth-child(1)::before { animation-delay:.05s !important; }
.method-grid .method-step:nth-child(2) { transition-delay:.14s; }
.method-grid .method-step:nth-child(2)::before { animation-delay:.18s !important; }
.method-grid .method-step:nth-child(3) { transition-delay:.28s; }
.method-grid .method-step:nth-child(3)::before { animation-delay:.31s !important; }
.method-grid .method-step:nth-child(4) { transition-delay:.42s; }
.method-grid .method-step:nth-child(4)::before { animation-delay:.45s !important; }

/* Vídeos depoimentos: entrada em ondas */
.videos-grid .video-card:nth-child(1) { transition-delay:.04s; }
.videos-grid .video-card:nth-child(2) { transition-delay:.12s; }
.videos-grid .video-card:nth-child(3) { transition-delay:.20s; }
.videos-grid .video-card:nth-child(4) { transition-delay:.28s; }

/* CTA section: brilho de entrada */
@keyframes ctaGlow { from { box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 0%,transparent); } to { box-shadow:0 24px 72px -24px color-mix(in srgb,var(--accent) 28%,transparent); } }
.cta-card.reveal.in-view { animation: ctaGlow .9s ease .2s both; }

/* ══ TRAFEGO — seção por seção ════════════════════════════════ */

/* Hero preço: pulsa ao aparecer */
@keyframes priceIn { from { opacity:0; transform:scale(.85) translateY(8px); } to { opacity:1; transform:none; } }
.price-hero-val { animation: priceIn .6s cubic-bezier(.2,.8,.2,1) .3s both; }

/* Client cards: cascata */
.client-cards .client-card:nth-child(1) { transition-delay:.04s; }
.client-cards .client-card:nth-child(2) { transition-delay:.14s; }
.client-cards .client-card:nth-child(3) { transition-delay:.24s; }

/* Price card: zoom sutil de entrada */
@keyframes cardIn { from { opacity:0; transform:translateY(24px) scale(.97); } to { opacity:1; transform:none; } }
.price-card.reveal.in-view { animation: cardIn .65s cubic-bezier(.2,.8,.2,1) both; }

/* FAQ: acordeão com suave expansão */
.faq-item { transition: background .2s; }
.faq-item:hover { background: var(--bg-alt); border-radius: 8px; }

/* Seção eyebrow: slide da esquerda */
@keyframes slideRight { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:none; } }
.section-eyebrow.reveal.in-view { animation: slideRight .5s ease both; }
.section-hd h2.reveal.in-view { animation: fadeUp .65s cubic-bezier(.2,.7,.2,1) .1s both; }

/* Separador animado */
@keyframes lineGrow { from { width:0; } to { width:100%; } }
.section-hd::after {
  content:'';
  display:block;
  height:2px;
  width:0;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius:2px;
  margin-top:16px;
  transition: width .8s cubic-bezier(.2,.7,.2,1) .3s;
}
.section-hd.in-view::after { width: 60px; }

/* ══ BLOG — animações por elemento ════════════════════════════ */

/* h2 nos posts: slide up com linha laranja embaixo */
.blog-wrap h2.reveal.in-view {
  animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) both;
}
.blog-wrap h2 {
  position: relative;
  padding-bottom: 8px;
}
.blog-wrap h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width .7s cubic-bezier(.2,.7,.2,1) .2s;
}
.blog-wrap h2.in-view::after { width: 40px; }

/* h3 nos posts */
.blog-wrap h3.reveal.in-view {
  animation: fadeUp .5s cubic-bezier(.2,.7,.2,1) both;
}

/* Parágrafos: entrada suave */
.blog-wrap p.reveal { transition-duration: .55s; }

/* Channel cards: cascata */
.blog-wrap .channel-card:nth-child(odd)  { transition-delay: .05s; }
.blog-wrap .channel-card:nth-child(even) { transition-delay: .15s; }

/* FAQ blog: pop lateral */
.blog-wrap .faq-item.reveal.in-view {
  animation: fadeUp .5s cubic-bezier(.2,.7,.2,1) both;
}

/* CTA box: brilho de entrada */
.blog-wrap .cta-box.reveal.in-view {
  animation: cardIn .6s cubic-bezier(.2,.8,.2,1) both;
  border-left-color: var(--accent);
}

/* ══ PORTFOLIO — grid de imagens ══════════════════════════════ */

.img-thumb.reveal { transition-duration: .45s; }
.img-thumb:nth-child(3n+1) { transition-delay: .0s; }
.img-thumb:nth-child(3n+2) { transition-delay: .08s; }
.img-thumb:nth-child(3n+3) { transition-delay: .16s; }

/* ══ PÁGINAS ESTÁTICAS (termos, privacidade) ══════════════════ */

main h2.reveal.in-view, article h2.reveal.in-view {
  animation: fadeUp .55s cubic-bezier(.2,.7,.2,1) both;
}
