/* ============================================================
   SOLLISE — style.css
   Dark tech professional landing page
   Ordem: variáveis → reset → utils → componentes → animações → responsivo
   ============================================================ */

/* === VARIÁVEIS CUSTOM ===================================================== */
:root {
  /* Cores de fundo */
  --bg-primary:     #07080f;
  --bg-secondary:   #0c0e1a;
  --bg-card:        #0f1220;
  --bg-card-hover:  #141828;

  /* Acentos */
  --accent-blue:    #3b82f6;
  --accent-cyan:    #06b6d4;
  --accent-green:   #10b981;
  --accent-purple:  #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #3b82f6, #06b6d4);

  /* Textos */
  --text-primary:   #f1f5f9;
  --text-secondary: #8892a4;
  --text-muted:     #4b5563;

  /* Bordas */
  --border-subtle:  rgba(59, 130, 246, 0.10);
  --border-card:    rgba(59, 130, 246, 0.18);

  /* Glows */
  --glow-blue:  0 0 30px rgba(59, 130, 246, 0.25);
  --glow-cyan:  0 0 30px rgba(6, 182, 212, 0.25);
  --glow-green: 0 0 30px rgba(16, 185, 129, 0.25);
  --glow-purple:0 0 30px rgba(139, 92, 246, 0.25);

  /* Tipografia */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Espaçamentos */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --section-pad: 4.5rem 0;

  /* Bordas arredondadas */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-card: 16px;
  --radius-btn:  8px;

  /* Nav */
  --nav-height: 72px;

  /* Sombras */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue:  0 0 40px rgba(59, 130, 246, 0.2);
  --shadow-glow-cyan:  0 0 40px rgba(6, 182, 212, 0.2);
  --shadow-glow-purple:0 0 40px rgba(139, 92, 246, 0.2);

  /* Transições */
  --ease-fast:  150ms ease;
  --ease-base:  300ms ease;
  --ease-slow:  500ms ease;
}

/* === SCROLL PROGRESS BAR ================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-purple));
  z-index: 150;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.55);
  transition: width 80ms linear;
}

/* === RESET & BASE ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: transparent; font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* === TIPOGRAFIA =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* Gradient text utilitário */
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LAYOUT UTILS ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

/* Decorative horizontal rules flanking the label */
.section__label::before,
.section__label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
  border-radius: 1px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === BOTÕES =============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--ease-base), box-shadow var(--ease-base), background var(--ease-base), opacity var(--ease-base);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.28);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #4f94ff 0%, #3b82f6 100%);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.42);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.btn--outline-cyan:hover {
  background: rgba(6, 182, 212, 0.08);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(241, 245, 249, 0.2);
}
.btn--outline:hover {
  border-color: rgba(241, 245, 249, 0.45);
  background: rgba(241, 245, 249, 0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover { color: var(--text-primary); }

.btn--block { width: 100%; }

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* === NAV ================================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--ease-base), border-color var(--ease-base), backdrop-filter var(--ease-base);
}

.nav.scrolled {
  background: rgba(7, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__logo-icon {
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Links desktop */
.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  transition: color var(--ease-base);
  position: relative;
}

/* Underline that expands outward from center on hover */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: var(--accent-cyan);
  border-radius: 100px;
  transition: left var(--ease-base), right var(--ease-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}
.nav__link:hover::after,
.nav__link--active::after {
  left: 0.85rem;
  right: 0.85rem;
}
.nav__link--active { color: var(--accent-cyan); }
.nav__link--active::after { background: var(--accent-cyan); }

/* CTA desktop */
.nav__cta {
  display: none;
  flex-shrink: 0;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: opacity var(--ease-base);
}

/* Mobile overlay */
.nav__mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 15, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-base);
}

.nav__mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-logo {
  height: 30px;
  width: auto;
  display: block;
  opacity: 0.88;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.nav__mobile-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 1.5rem;
  transition: color var(--ease-base);
  text-align: center;
}
.nav__mobile-link:hover { color: var(--text-primary); }

.nav__mobile-cta {
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
}

/* === HERO ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-height) 1.5rem 6rem;
  background-image: radial-gradient(rgba(59,130,246,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Gradient blobs */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 10% 45%, rgba(59,130,246,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 90% 15%, rgba(139,92,246,0.11) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 75% 80%, rgba(6,182,212,0.08) 0%, transparent 50%);
}

/* Layout 2 colunas */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Coluna esquerda */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* H1 */
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.hero__title .word { display: inline-block; }

/* Palavra em destaque com gradiente */
.hero__title-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

/* Trust strip */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.hero__trust-sep { opacity: 0.4; }

/* Coluna direita — terminal */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Terminal card */
.hero-terminal {
  background: #070a14;
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.04);
  font-family: var(--font-mono);
}

.hero-terminal__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(59,130,246,0.1);
}
.hero-terminal__dots {
  display: flex;
  gap: 5px;
}
.hero-terminal__dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-terminal__dots span:nth-child(1) { background: #ff5f57; }
.hero-terminal__dots span:nth-child(2) { background: #febc2e; }
.hero-terminal__dots span:nth-child(3) { background: #28c840; }
.hero-terminal__title {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}

.hero-terminal__body {
  padding: 1.25rem 1.5rem 1.5rem;
  font-size: 0.78rem;
  line-height: 1.9;
}
.hero-terminal__body p { margin: 0; }
.hero-terminal__body br { line-height: 0.5; }

/* Tokens do terminal */
.t-prompt { color: #3b82f6; font-weight: 700; }
.t-cmd    { color: #e2e8f0; }
.t-flag   { color: #94a3b8; }
.t-item   { color: #64748b; padding-left: 0.25rem; }
.t-dots   { color: #374151; }
.t-ok     { color: #10b981; float: right; }
.t-result { color: #94a3b8; margin-top: 0.25rem; }
.t-highlight { color: #06b6d4; font-weight: 500; }
.t-cursor {
  color: #3b82f6;
  animation: cursor-blink 1.1s ease-in-out infinite;
  display: inline-block;
  font-weight: 700;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: scroll-bounce 1.4s ease-in-out infinite;
  animation-delay: 1.8s;
  animation-fill-mode: both;
}

/* === SERVICES ============================================================= */
.services-section {
  background-color: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Service card */
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 4px solid var(--card-accent, var(--accent-blue));
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform var(--ease-base), box-shadow var(--ease-base), border-color var(--ease-base);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Shimmer border no hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--card-accent, var(--accent-blue)) 50%,
    transparent 100%
  );
  transition: left 0.55s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent, var(--accent-blue));
  box-shadow: var(--shadow-card),
    0 0 40px color-mix(in srgb, var(--card-accent, var(--accent-blue)) 18%, transparent);
}

.service-card:hover::before {
  left: 100%;
}

.service-card__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--card-accent, var(--accent-blue));
  opacity: 0.18;
  margin-bottom: 0.25rem;
  transition: opacity var(--ease-base);
}
.service-card:hover .service-card__num { opacity: 0.32; }

.service-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-card__desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

/* Tags */
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  transition: color var(--ease-base), border-color var(--ease-base);
}

.service-card:hover .tag {
  color: var(--text-secondary);
  border-color: var(--border-card);
}

/* CTA do card */
.service-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--card-accent, var(--accent-blue));
  transition: opacity var(--ease-base);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}
.service-card__cta:hover { opacity: 0.75; }

/* === GPS SECTION ========================================================= */
.gps-section {
  background-color: var(--bg-secondary);
  background-image: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.055) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
}

.gps-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Conteúdo lado esquerdo */
.gps-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.77rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gps-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.gps-section__desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1.75rem;
}

.gps-section__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gps-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.gps-feature__icon {
  color: var(--accent-green);
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 0.1rem;
}

.gps-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Wrapper do mockup */
.gps-section__mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

/* Ambient glow halo around phone */
.gps-section__mockup-wrapper::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(
    ellipse 65% 55% at 50% 50%,
    rgba(59, 130, 246, 0.16) 0%,
    rgba(6, 182, 212, 0.07)  40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Phone mockup CSS puro */
.phone-mockup {
  width: 230px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.12));
}

.phone-mockup__shell {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #0c0e1a 0%, #080a14 100%);
  border-radius: 40px;
  border: 2px solid rgba(59, 130, 246, 0.22);
  position: relative;
  overflow: visible;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(59, 130, 246, 0.06);
}

.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 24px;
  background: #050709;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-mockup__screen {
  position: absolute;
  top: 12px;
  left: 9px;
  right: 9px;
  bottom: 9px;
  border-radius: 30px;
  overflow: hidden;
  background: #08111e;
  display: flex;
  flex-direction: column;
}

/* Status bar da tela */
.phone-mockup__screen-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem 0.4rem;
  background: rgba(10, 22, 40, 0.95);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  flex-shrink: 0;
  z-index: 5;
}

.phone-mockup__screen-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.phone-mockup__status-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.phone-mockup__live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Área do mapa */
.phone-mockup__map {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.phone-mockup__map svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Rodapé da tela */
.phone-mockup__screen-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: rgba(8, 17, 30, 0.97);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-secondary);
  gap: 0.4rem;
}
.phone-mockup__screen-footer span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.phone-mockup__screen-footer i {
  color: var(--accent-cyan);
  font-size: 0.6rem;
}

/* Botões laterais CSS */
.phone-mockup__btn {
  position: absolute;
  background: #131d2e;
  border-radius: 2px;
}
.phone-mockup__btn--power {
  right: -4px;
  top: 80px;
  width: 4px;
  height: 52px;
  border-radius: 0 2px 2px 0;
}
.phone-mockup__btn--vol-up {
  left: -4px;
  top: 85px;
  width: 4px;
  height: 32px;
  border-radius: 2px 0 0 2px;
}
.phone-mockup__btn--vol-down {
  left: -4px;
  top: 125px;
  width: 4px;
  height: 32px;
  border-radius: 2px 0 0 2px;
}

/* SVG pulse do destino no mapa */
.map-pulse-outer {
  animation: map-pulse 2.5s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

/* === STATS ================================================================ */
.stats-section {
  background: linear-gradient(135deg, #080b1a 0%, #0b0d1f 50%, #07080f 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-item:nth-child(2),
.stat-item:nth-child(4) {
  border-right: none;
}

.stat-item:nth-child(3),
.stat-item:nth-child(4) {
  border-bottom: none;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-item__number--text {
  background: linear-gradient(135deg, #a78bfa 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
}

.stat-item__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-item__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* === DIFERENCIAIS ========================================================= */
.diferenciais-section {
  background-color: var(--bg-primary);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.diferencial-card {
  background: rgba(15, 18, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--ease-base), border-color var(--ease-base), box-shadow var(--ease-base);
}

.diferencial-card:hover {
  transform: translateY(-4px);
}

.diferencial-card:nth-child(1):hover {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(59, 130, 246, 0.12);
}
.diferencial-card:nth-child(2):hover {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(6, 182, 212, 0.12);
}
.diferencial-card:nth-child(3):hover {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(139, 92, 246, 0.12);
}
.diferencial-card:nth-child(4):hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(16, 185, 129, 0.12);
}

.diferencial-card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
  opacity: 0.65;
  color: var(--accent-blue);
}

/* Borda-acento lateral — cor diferente por card */
.diferencial-card:nth-child(1) { border-left: 3px solid rgba(59,130,246,0.5); }
.diferencial-card:nth-child(2) { border-left: 3px solid rgba(6,182,212,0.5); }
.diferencial-card:nth-child(3) { border-left: 3px solid rgba(139,92,246,0.5); }
.diferencial-card:nth-child(4) { border-left: 3px solid rgba(16,185,129,0.5); }

/* Número herda a cor do acento */
.diferencial-card:nth-child(1) .diferencial-card__num { color: var(--accent-blue); }
.diferencial-card:nth-child(2) .diferencial-card__num { color: var(--accent-cyan); }
.diferencial-card:nth-child(3) .diferencial-card__num { color: var(--accent-purple); }
.diferencial-card:nth-child(4) .diferencial-card__num { color: var(--accent-green); }

.diferencial-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.diferencial-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === TECH STACK =========================================================== */
.tech-section {
  background-color: var(--bg-secondary);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

/* Tech — layout 2 colunas */
.tech-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.tech-section__intro {
  text-align: left;
}

.tech-section__intro .section__label::before { display: none; }

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--ease-base);
  cursor: default;
  user-select: none;
}

.tech-badge:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* Cores por categoria */
.tech-badge--backend  { color: rgba(96, 165, 250, 0.9);  border-color: rgba(59, 130, 246, 0.22); }
.tech-badge--backend:hover  { background: rgba(59, 130, 246, 0.08); }
.tech-badge--frontend { color: rgba(167, 139, 250, 0.9); border-color: rgba(139, 92, 246, 0.22); }
.tech-badge--frontend:hover { background: rgba(139, 92, 246, 0.08); }
.tech-badge--mobile   { color: rgba(52, 211, 153, 0.9);  border-color: rgba(16, 185, 129, 0.22); }
.tech-badge--mobile:hover   { background: rgba(16, 185, 129, 0.08); }
.tech-badge--data     { color: rgba(251, 191, 36, 0.9);  border-color: rgba(245, 158, 11, 0.22); }
.tech-badge--data:hover     { background: rgba(245, 158, 11, 0.08); }
.tech-badge--infra    { color: rgba(148, 163, 184, 0.9); border-color: rgba(100, 116, 139, 0.22); }
.tech-badge--infra:hover    { background: rgba(100, 116, 139, 0.08); }
.tech-badge--security { color: rgba(34, 211, 238, 0.9);  border-color: rgba(6, 182, 212, 0.22); }
.tech-badge--security:hover { background: rgba(6, 182, 212, 0.08); }

/* === CONTATO ============================================================== */
.contact-section {
  background: linear-gradient(145deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

/* Header do contato alinhado à esquerda */
.contact-section__header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 2.5rem;
}

/* Formulário */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-label-optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892a4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option { background: var(--bg-card); }

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #f87171;
  min-height: 1.1rem;
}

.form-input--error,
.form-select--error,
.form-textarea--error {
  border-color: rgba(248, 113, 113, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.08) !important;
}

/* Submit button states */
#submit-btn {
  margin-top: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
}
#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Contact success */
.contact-success {
  text-align: center;
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-success__icon {
  font-size: 3.5rem;
  color: var(--accent-green);
  animation: success-pop 0.4s ease backwards;
}

.contact-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Decoração (código + info) */
.contact-section__decoration {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Code block */
.code-block {
  background: #070a16;
  border: 1px solid rgba(59, 130, 246, 0.14);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-mono);
  position: relative;
}

.code-block__header {
  background: rgba(10, 13, 26, 0.9);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.code-block__dots {
  display: flex;
  gap: 6px;
}

.code-block__dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.code-block__dots span:nth-child(1) { background: #ff5f57; }
.code-block__dots span:nth-child(2) { background: #febc2e; }
.code-block__dots span:nth-child(3) { background: #28c840; }

.code-block__filename {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.code-block__body {
  padding: 1.5rem;
  font-size: 0.83rem;
  line-height: 1.75;
  overflow-x: auto;
  margin: 0;
}

.code-block__body code {
  font-family: var(--font-mono);
}

/* Syntax tokens */
.token-keyword { color: #c084fc; font-weight: 500; }
.token-name    { color: #60a5fa; }
.token-prop    { color: #34d399; }
.token-string  { color: #fbbf24; }
.token-punct   { color: #94a3b8; }
.token-func    { color: #38bdf8; }
.token-comment { color: #4b5569; font-style: italic; }

/* Cursor piscante */
.code-block__cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--accent-blue);
  border-radius: 1px;
  vertical-align: text-bottom;
  animation: cursor-blink 1.1s ease-in-out infinite;
  margin-left: 2px;
  opacity: 0.8;
}

/* Info cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.87rem;
  transition: border-color var(--ease-base);
}

.contact-info-card:hover {
  border-color: var(--border-card);
}

.contact-info-card i {
  color: var(--accent-blue);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.contact-info-card a {
  color: var(--accent-blue);
  transition: opacity var(--ease-base);
}
.contact-info-card a:hover { opacity: 0.75; }

/* === FOOTER =============================================================== */
.footer {
  background: #040508;
  padding-bottom: 2rem;
}

.footer__top-line {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-blue) 25%,
    var(--accent-cyan) 60%,
    transparent 100%
  );
  margin-bottom: 4rem;
}

.footer__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0.75rem;
  transition: opacity var(--ease-base);
}
.footer__logo:hover { opacity: 0.75; }

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 240px;
}

.footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: all var(--ease-base);
}

.footer__social-link:hover {
  color: var(--accent-blue);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

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

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: color var(--ease-base);
}
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__heart {
  color: #ef4444;
  font-size: 0.7rem;
}

/* === ANIMAÇÕES CSS (@keyframes) =========================================== */

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

@keyframes map-pulse {
  0%   { transform: scale(1);   opacity: 0.35; }
  70%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes cursor-blink {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0; }
}

@keyframes success-pop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

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

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

@keyframes stat-glow {
  0%   { filter: brightness(1) drop-shadow(0 0 0px transparent); }
  35%  { filter: brightness(1.35) drop-shadow(0 0 10px rgba(59, 130, 246, 0.7)); }
  100% { filter: brightness(1) drop-shadow(0 0 0px transparent); }
}

.stat-item__number--glow {
  animation: stat-glow 1s ease forwards;
}

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

/* --- Tablet: 768px --- */
@media (min-width: 768px) {
  .container { padding-inline: 2rem; }

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

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

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-item {
    border-bottom: none;
  }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-item:nth-child(2) { border-right: 1px solid var(--border-subtle); }

  .footer__layout { grid-template-columns: 1fr 2fr; }

  .phone-mockup { width: 260px; }
}

/* --- Desktop: 1024px --- */
@media (min-width: 1024px) {
  /* Nav: mostrar links e CTA, esconder hamburger */
  .nav__links    { display: flex; }
  .nav__cta      { display: inline-flex; }
  .nav__hamburger { display: none; }

  .hero__content { grid-template-columns: 55fr 45fr; gap: 4rem; }
  .hero-terminal { max-width: 100%; }

  .tech-section__layout { grid-template-columns: 260px 1fr; gap: 4rem; }
  .tech-section .tech-grid { justify-content: flex-start; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .gps-section__layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .contact-section__layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .contact-section__header { margin-bottom: 2.5rem; }

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

  .phone-mockup { width: 240px; }
}

/* --- Desktop grande: 1280px --- */
@media (min-width: 1280px) {
  .container { padding-inline: 2rem; }

  .hero__title { font-size: 4.5rem; }

  .gps-section__layout { gap: 6rem; }

  .phone-mockup { width: 260px; }

  .stats-grid {
    max-width: 900px;
    margin-inline: auto;
  }
}

/* --- Apenas mobile pequeno (max 480px) --- */
@media (max-width: 480px) {
  .hero__visual { display: none; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero__actions .btn { text-align: center; }

  .gps-section__actions {
    flex-direction: column;
  }

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

  .contact-section__decoration { display: none; }
}

/* ============================================================
   LIGHT MODE — @media (prefers-color-scheme: light)
   Paleta: fundo slate-azulado suave · texto quase-preto azulado
   Acentos (blue/cyan/purple/green) idênticos ao dark mode
   ============================================================ */
@media (prefers-color-scheme: light) {

  /* --- Logo: white-on-transparent → dark-on-light via filter ---
       invert(1)         : branco vira preto, azul vira laranja
       hue-rotate(180deg): laranja +180° volta a ser azul (preserva a marca)
       saturate(1.15)    : leve boost para compensar a suavização do filtro  */
  .nav__logo img,
  .nav__mobile-logo,
  .footer__logo img {
    filter: invert(1) hue-rotate(180deg) saturate(1.15);
  }

  /* --- Variáveis: todos os tokens re-mapeados para luz --- */
  :root {
    --bg-primary:      #f4f6fb;
    --bg-secondary:    #ebeff8;
    --bg-card:         #ffffff;
    --bg-card-hover:   #f8faff;

    --text-primary:    #0d1526;
    --text-secondary:  #49566e;
    --text-muted:      #8c97ac;

    --border-subtle:   rgba(59, 130, 246, 0.11);
    --border-card:     rgba(59, 130, 246, 0.17);

    --glow-blue:   0 0 30px rgba(59, 130, 246, 0.16);
    --glow-cyan:   0 0 30px rgba(6, 182, 212, 0.16);
    --glow-green:  0 0 30px rgba(16, 185, 129, 0.16);
    --glow-purple: 0 0 30px rgba(139, 92, 246, 0.16);

    --shadow-card:        0 4px 24px rgba(12, 24, 64, 0.07);
    --shadow-glow-blue:   0 0 40px rgba(59, 130, 246, 0.14);
    --shadow-glow-cyan:   0 0 40px rgba(6, 182, 212, 0.14);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.14);
  }

  /* --- Nav scrolled --- */
  .nav.scrolled {
    background: rgba(244, 246, 251, 0.92);
    border-bottom-color: rgba(59, 130, 246, 0.13);
  }

  /* --- Hero: dot grid e blobs mais suaves em fundo claro --- */
  .hero {
    background-image: radial-gradient(rgba(59,130,246,0.04) 1px, transparent 1px);
  }
  .hero::before {
    background:
      radial-gradient(ellipse 65% 55% at 10% 45%, rgba(59,130,246,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 45% 40% at 90% 15%, rgba(139,92,246,0.06) 0%, transparent 55%),
      radial-gradient(ellipse 40% 30% at 75% 80%, rgba(6,182,212,0.05) 0%, transparent 50%);
  }

  /* Terminal card sempre dark independente do tema */
  .hero-terminal {
    background: #070a14;
    border-color: rgba(59,130,246,0.22);
  }

  /* Botão primário — sombra mais discreta em fundo claro */
  .btn--primary {
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.20);
  }
  .btn--primary:hover {
    box-shadow: 0 4px 22px rgba(59, 130, 246, 0.30);
  }

  /* --- Cards de serviço --- */
  .service-card {
    box-shadow: 0 2px 18px rgba(12, 24, 64, 0.06);
  }
  .service-card:hover {
    box-shadow: var(--shadow-card),
      0 0 32px color-mix(in srgb, var(--card-accent, var(--accent-blue)) 11%, transparent);
  }

  .tag {
    background: rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.12);
    color: var(--text-secondary);
  }
  .service-card:hover .tag {
    color: var(--text-secondary);
    border-color: rgba(59, 130, 246, 0.20);
  }

  /* --- GPS section --- */
  .gps-section {
    background-color: var(--bg-secondary);
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  }

  /* Halo do mockup — mais suave em fundo claro */
  .gps-section__mockup-wrapper::before {
    background: radial-gradient(
      ellipse 65% 55% at 50% 50%,
      rgba(59, 130, 246, 0.10) 0%,
      rgba(6, 182, 212, 0.04) 40%,
      transparent 70%
    );
  }

  /* --- Stats --- */
  .stats-section {
    background: linear-gradient(135deg, #ebeff8 0%, #edf2fb 50%, #f4f6fb 100%);
    border-top-color:    rgba(59, 130, 246, 0.10);
    border-bottom-color: rgba(59, 130, 246, 0.10);
  }

  .stat-item {
    border-right-color:  rgba(59, 130, 246, 0.10);
    border-bottom-color: rgba(59, 130, 246, 0.10);
  }

  /* --- Diferenciais --- */
  .diferencial-card {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.12);
    box-shadow: 0 2px 16px rgba(12, 24, 64, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .diferencial-card:hover {
    border-color: rgba(59, 130, 246, 0.26);
    box-shadow: 0 6px 28px rgba(12, 24, 64, 0.09), 0 0 16px rgba(59, 130, 246, 0.06);
  }
  .diferencial-card__icon {
    background: rgba(59, 130, 246, 0.07);
    border-color: rgba(59, 130, 246, 0.16);
  }
  .diferencial-card:hover .diferencial-card__icon {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.28);
  }

  /* --- Tech badges --- */
  .tech-badge {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.13);
    box-shadow: 0 1px 6px rgba(12, 24, 64, 0.05);
  }
  .tech-badge:hover { background: #f4f7ff; }

  /* --- Contato --- */
  .contact-section {
    background: linear-gradient(145deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  }

  /* Formulário */
  .form-input,
  .form-select,
  .form-textarea {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.24);
  }

  /* Code block — tema light (inspirado VS Code Light+) */
  .code-block {
    background: #f8faff;
    border-color: rgba(59, 130, 246, 0.15);
  }
  .code-block__header {
    background: #edf0f8;
    border-bottom-color: rgba(59, 130, 246, 0.10);
  }
  .code-block__filename { color: var(--text-secondary); }
  .code-block__body     { color: var(--text-primary); }

  /* Tokens de sintaxe — light */
  .token-keyword { color: #6d28d9; }
  .token-name    { color: #1d4ed8; }
  .token-prop    { color: #047857; }
  .token-string  { color: #b45309; }
  .token-punct   { color: #64748b; }
  .token-func    { color: #0369a1; }
  .token-comment { color: #94a3b8; }

  .code-block__cursor { background: var(--accent-blue); opacity: 0.65; }

  /* Info cards contato */
  .contact-info-card {
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(12, 24, 64, 0.05);
  }

  /* --- Footer --- */
  .footer { background: #e4e9f5; }

  .footer__top-line {
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--accent-blue) 25%,
      var(--accent-cyan) 60%,
      transparent 100%
    );
    opacity: 0.42;
  }

  .footer__social-link {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.15);
  }
  .footer__social-link:hover {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.28);
    color: var(--accent-blue);
  }

  .footer__col a { color: var(--text-muted); }
  .footer__col a:hover { color: var(--text-primary); }

  .footer__bottom { color: var(--text-muted); }

  /* --- GPS section badge --- */
  .gps-section__badge {
    background: rgba(139, 92, 246, 0.07);
    border-color: rgba(139, 92, 246, 0.18);
  }

  /* --- Gradient text utilitário --- */
  .gradient-text {
    background: linear-gradient(135deg, #0d1526 0%, var(--accent-blue) 60%, var(--accent-cyan) 100%);
  }

  /* --- Section label decorativa --- */
  .section__label {
    color: var(--accent-blue);
  }
  .section__label::before,
  .section__label::after {
    opacity: 0.32;
  }

  /* --- Scroll indicator --- */
  .hero__scroll { color: var(--text-muted); }

  /* --- Cursor blink no code block --- */
  @keyframes cursor-blink-light {
    0%, 100% { opacity: 0.65; }
    50%       { opacity: 0; }
  }
}

/* ============================================================
   SECURITY HARDENING — classes que substituem inline styles
   ============================================================ */

.nav__logo-img   { display: block; height: 36px; width: auto; }
.footer__logo-img { display: block; height: 30px; width: auto; opacity: 0.92; }

.service-card--blue   { --card-accent: #3b82f6; }
.service-card--cyan   { --card-accent: #06b6d4; }
.service-card--purple { --card-accent: #8b5cf6; }

.botcheck-field { display: none; }

.form__submit-error {
  color: #f87171;
  font-size: .85rem;
  margin-top: .5rem;
}
